/* Mobile balance, private purchases and seller reporting. */
html[data-babloo-theme] .cash-page .cash-cards{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:12px!important;margin:0 0 22px!important}
html[data-babloo-theme] .cash-page .cash-cards>button{display:flex!important;flex-direction:column!important;align-items:flex-start!important;justify-content:space-between!important;gap:12px!important;min-width:0!important;min-height:112px!important;padding:16px!important;border:1px solid var(--br-border)!important;border-radius:14px!important;background:var(--br-surface)!important;color:var(--br-text)!important;text-align:left!important}
html[data-babloo-theme] .cash-cards small{white-space:normal!important;font-size:13px!important;line-height:1.4!important;color:var(--br-text)!important}
html[data-babloo-theme] .cash-cards h2{margin:0!important;font-size:clamp(18px,4vw,27px)!important;line-height:1.2!important;overflow-wrap:anywhere!important;color:var(--br-text)!important}
html[data-babloo-theme] .bs-profile-feed .bs-chips{display:flex!important;flex-wrap:nowrap!important;overflow-x:auto!important;max-width:100%!important;justify-content:flex-start!important;gap:8px!important;padding:5px 2px 12px!important;scrollbar-width:thin;-webkit-overflow-scrolling:touch}
html[data-babloo-theme] .bs-profile-feed .bs-chips>button{flex:0 0 auto!important;white-space:nowrap!important;width:auto!important}
.bu-summary-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:22px 0}.bu-summary-card,.bu-chart-panel,.bu-order-card,.bu-library-card{border:1px solid var(--br-border)!important;background:var(--br-surface)!important;border-radius:16px;color:var(--br-text)!important;min-width:0}
.bu-summary-card{display:flex;flex-direction:column;gap:12px;text-align:left;padding:20px!important}.bu-summary-card strong{font-size:27px}.bu-summary-card small,.bu-library-copy small,.bu-order-card time{color:var(--br-muted)!important;font-size:12px}.bu-chart-panel{padding:20px}.bu-chart{display:flex;align-items:flex-end;gap:15px;min-height:190px;overflow-x:auto;padding:20px 0}.bu-chart-column{min-width:60px;display:flex;align-items:center;flex-direction:column;gap:8px;font-size:12px}.bu-chart-bar{background:#8256db;width:32px;border-radius:7px 7px 0 0}.bu-order-card{display:flex;gap:16px;padding:16px;margin:14px 0}.bu-order-card img{width:110px;height:75px;object-fit:cover;border-radius:9px}.bu-order-card h3{margin:0 0 8px}.bu-order-card p{margin:7px 0}.bu-order-card small,.bu-order-card time{display:block;overflow-wrap:anywhere}.bu-status{font-weight:650}.bu-library-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.bu-library-card{overflow:hidden}.bu-library-cover{display:block!important;width:100%;padding:0!important;aspect-ratio:16/9;background:var(--br-raised)!important}.bu-library-cover img{width:100%;height:100%;object-fit:cover}.bu-library-copy{padding:16px;display:flex;flex-direction:column;gap:10px}.bu-library-copy h3,.bu-library-copy p{margin:0;overflow-wrap:anywhere}.bu-library-copy h3{font-size:17px}.bu-load-more{text-align:center;padding:15px;min-height:60px}.bu-load-more button{padding:12px 24px!important;border-radius:22px;background:var(--br-raised)!important;color:var(--br-text)!important}
/* Video overlays use white text regardless of the page theme. */
html[data-babloo-theme] .bs-short{--br-text:#fff;--br-muted:#f4f4f5;color:#fff!important}
html[data-babloo-theme] .bs-short :is(.bs-short-actions,.bs-short-caption,.bs-short-actions small,.bs-short-caption p,.bs-short-caption small,.bs-short-caption button){color:#fff!important;text-shadow:0 1px 4px #000,0 1px 8px #000!important}
html[data-babloo-theme] .bs-short-actions{bottom:48px!important;gap:12px!important;right:10px!important}
html[data-babloo-theme] .bs-short-actions>button{background:transparent!important;padding:4px!important;color:#fff!important;min-width:44px}
html[data-babloo-theme] .bs-short-actions svg{color:#fff!important;stroke:currentColor!important;filter:drop-shadow(0 1px 2px #000)}
html[data-babloo-theme] .bs-short-caption{bottom:48px!important;right:76px!important;left:14px!important;background:linear-gradient(transparent,#0008)!important;padding:12px 5px!important}
html[data-babloo-theme] .bs-short-caption p{margin:6px 0!important;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.bu-short-top{position:absolute;top:12px;left:50%;transform:translateX(-50%);width:min(100%,600px);z-index:65;display:flex;align-items:center;gap:7px;padding:8px 12px;background:linear-gradient(#0009,transparent);color:white!important}
.bu-short-top nav{display:flex;flex:1;min-width:0;gap:12px;overflow-x:auto;scrollbar-width:none}.bu-short-top button{color:white!important;background:transparent!important;white-space:nowrap;padding:9px 0!important;text-shadow:0 1px 4px black;font-size:14px!important;font-weight:600}
.bu-short-top nav button[aria-pressed=true]{border-bottom:3px solid white!important}.bu-short-search{position:absolute;top:100%;left:12px;right:12px;display:flex;gap:8px;background:#fff;padding:8px;border-radius:12px}.bu-short-search input{min-width:0;flex:1;color:#182230!important;background:white!important}.bu-short-search button{color:#182230!important;text-shadow:none!important}
.bu-shorts-shell .bs-content{position:relative;padding-top:0!important}.bu-shorts-shell .bs-shorts-feed{height:calc(100dvh - 20px)!important}.bu-shorts-shell .bs-content>.bu-short-top~.bs-video-grid{padding-top:75px}
@media(max-width:1024px){.bu-short-top{position:fixed;top:0;left:0;transform:none;width:100%;padding-top:calc(7px + env(safe-area-inset-top))}.bu-shorts-shell .bs-content{padding:0 0 calc(70px + env(safe-area-inset-bottom))!important}.bu-shorts-shell .bs-shorts-feed{height:calc(100dvh - 70px - env(safe-area-inset-bottom))!important;max-width:none}.bu-shorts-shell .bs-short{height:100%;min-height:100%}.bu-shorts-shell~#babloo-theme-toggle,body:has(.bu-shorts-shell) #babloo-theme-toggle{display:none!important}.bu-library-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){html[data-babloo-theme] .cash-page .cash-cards{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}.cash-page{padding:12px 0!important}.bu-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.bu-summary-card:first-child{grid-column:1/-1}.bu-summary-card{padding:16px!important}.bu-summary-card strong{font-size:24px}.bu-order-card{gap:12px;padding:12px}.bu-order-card img{width:82px;height:62px}.bu-order-card h3{font-size:15px}.bu-library-grid{gap:10px}.bu-library-copy{padding:12px}.bu-library-copy h3{font-size:14px}.bu-library-copy .bc-primary{padding:10px 8px!important;font-size:13px!important}.bu-chart-panel{padding:14px}.bu-short-top nav{gap:13px}.bu-short-top button{font-size:13px!important}.bs-short-actions .explore-avatar{width:40px!important;height:40px!important}}
