/* Compact creator catalogues and watch controls. Photos retain their original colours. */
.vp-create-row,.pd-toolbar{display:flex;align-items:center;margin:8px 0!important;gap:8px}.vp-create-row button,.pd-toolbar>button{padding:7px 15px!important;min-height:34px!important;width:auto!important;font-size:13px!important}.vp-storage{margin:5px 0 16px;width:100%}.vp-storage-label{display:flex;align-items:center;justify-content:space-between;margin-bottom:5px;font-size:11px!important}.vp-storage-label small{font-size:11px!important}.vp-storage-label button{padding:0!important;border:0!important;background:transparent!important;color:var(--br-text)!important;font-size:11px!important;min-height:24px!important}.vp-storage-track{height:3px;border-radius:4px;background:var(--br-border,#aaa);overflow:hidden}.vp-storage-track>span{display:block;height:100%;background:#159b55;transition:width .2s}.creator-page .bc-studio{padding:8px 0!important}.bs-chips,.creator-tabs,.bi-picker-tabs,.bs-actions{display:flex!important;flex-wrap:nowrap!important;overflow-x:auto!important;max-width:100%;scrollbar-width:none;gap:8px}.bs-chips>*,.creator-tabs>*,.bi-picker-tabs>*,.bs-actions>*{flex:0 0 auto!important;white-space:nowrap}.vp-profile-actions{display:flex!important;flex-direction:row!important;gap:10px;justify-content:center;width:min(360px,100%);margin:12px auto}.vp-profile-actions>button{flex:1!important;width:auto!important;margin:0!important;min-width:0}.sg-person-avatar,.sg-story-row .sg-person-avatar{width:60px!important;height:60px!important;min-width:60px;min-height:60px;flex:0 0 60px!important;aspect-ratio:1;align-self:center}.sg-person-avatar .explore-avatar{width:100%!important;height:100%!important;max-width:100%!important;aspect-ratio:1!important;border-radius:50%!important;object-fit:cover!important}.bs-conversation>.sg-person-avatar{width:48px!important;height:48px!important;min-width:48px;min-height:48px;flex-basis:48px!important}.bs-conversation .sg-notice-circle{width:52px!important;height:52px!important;min-width:52px!important;max-width:52px!important;min-height:52px!important;flex:0 0 52px!important;aspect-ratio:1!important;display:grid!important;place-items:center!important;border-radius:50%!important;align-self:center}.sg-inbox-top h1{font-size:18px!important}.bs-conversation{align-items:center!important}.bs-conversation>span:not(.sg-person-avatar):not(.sg-notice-circle):not(.explore-avatar){min-width:0;flex:1}
html[data-babloo-theme] .vp-watch{padding:0!important;overflow:hidden!important;max-height:96dvh!important;width:min(1100px,100vw)!important;background:var(--br-bg)!important;color:var(--br-text)!important}.vp-watch .bs-watch-grid{display:block!important;height:90dvh;overflow:hidden}.vp-watch-main{position:relative;display:flex;flex-direction:column;height:100%;min-height:0}.vp-watch .vp-player{position:relative;flex:0 0 auto;max-height:52dvh;background:#000;aspect-ratio:16/9;width:100%;z-index:2}.vp-watch .vp-player video,.vp-watch .vp-player .babloo-ad-player{max-height:52dvh!important;height:100%!important;object-fit:contain}.vp-watch .vp-watch-content{overflow-y:auto;overscroll-behavior:contain;min-height:0;padding:12px 16px 24px;flex:1}.vp-watch .bs-related{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:12px}.vp-watch .bs-related>h2{grid-column:1/-1}.vp-title{display:block!important;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:19px!important;font-weight:700;text-align:left;width:100%;padding:0!important;border:0!important;background:transparent!important;color:var(--br-text)!important}.vp-meta{display:flex;gap:12px;align-items:center;color:var(--br-muted);font-size:12px;margin:7px 0}.vp-meta button{background:transparent!important;color:var(--br-text)!important;font-size:12px;padding:3px!important}.vp-watch .bs-watch-meta{display:flex;align-items:center;justify-content:space-between;margin:8px 0}.vp-watch .bs-watch-meta>button:first-child{display:flex;align-items:center;gap:10px;min-width:0}.vp-watch .bs-watch-meta .explore-avatar{width:36px!important;height:36px!important;flex:0 0 36px;border-radius:50%}.vp-comment-preview{display:block;width:100%;text-align:left;border-radius:10px;padding:12px!important;background:var(--br-raised)!important;color:var(--br-text)!important;margin:12px 0}.vp-sheet{position:absolute;z-index:5;bottom:0;left:0;right:0;height:calc(100% - min(56.25vw,52dvh));max-height:70dvh;display:flex;flex-direction:column;overflow:hidden;border-radius:16px 16px 0 0;background:var(--br-surface)!important;color:var(--br-text)!important;box-shadow:0 -6px 25px #0003;border:1px solid var(--br-border)}.vp-sheet>header{flex:0 0 auto;display:flex;align-items:center;justify-content:space-between;padding:10px 16px;border-bottom:1px solid var(--br-border)}.vp-sheet>header h2{font-size:17px;margin:0}.vp-sheet>header button{padding:3px 12px!important;font-size:25px!important;background:transparent!important;color:var(--br-text)!important}.vp-sheet-body{padding:14px 16px;overflow-y:auto;overscroll-behavior:contain;min-height:0;flex:1}.vp-player .vp-sheet{position:fixed;top:auto;height:48dvh;max-height:65dvh;z-index:20}.vp-description h2{font-size:20px;overflow-wrap:anywhere}.vp-description p{white-space:pre-wrap;overflow-wrap:anywhere}.vp-description-clamp{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.vp-video-stats{display:flex;justify-content:space-around;gap:10px;margin:14px 0}.vp-settings-button{position:absolute;top:8px;right:48px;z-index:9;width:36px;height:36px;border-radius:50%;background:#000a!important;color:#fff!important;font-size:24px!important;padding:0!important}.vp-lock-shield{position:absolute;inset:0;z-index:12;display:flex;align-items:flex-end;justify-content:center;padding-bottom:24px;touch-action:none}.vp-lock-shield button{background:#000b!important;color:#fff!important;padding:8px 16px!important;border-radius:20px}.vp-captions{position:absolute;bottom:52px;left:8%;right:8%;text-align:center;z-index:10;background:#000c!important;color:white!important;font-size:clamp(13px,2vw,19px);padding:5px 10px;border-radius:5px;pointer-events:none}.vp-settings-list{display:flex;flex-direction:column;gap:16px}.vp-setting-row{display:flex;justify-content:space-between;align-items:center;gap:10px}.vp-setting-row select{width:auto!important;max-width:50%;background:var(--br-raised)!important;color:var(--br-text)!important;padding:8px;border:1px solid var(--br-border);border-radius:8px}.vp-settings-list>button{text-align:left;padding:10px!important}.vp-ambient{box-shadow:0 14px 38px 8px #7775}.vp-vr{position:absolute;inset:0;background:#000;z-index:15;display:flex;align-items:center}.vp-vr canvas{width:100%;height:100%;object-fit:contain}.vp-vr button{position:absolute;top:8px;left:8px;background:#222!important;color:#fff!important}.vp-transcript{margin:18px 0;padding:14px;border:1px solid var(--br-border);border-radius:12px}.vp-transcript p{max-height:260px;overflow:auto;user-select:text}.vp-sheet .bi-comment-list{max-height:none!important;overflow:visible!important}.vp-sheet .bi-comment-compose{position:sticky;bottom:-14px;background:var(--br-surface);padding:8px 0}.bi-comment-dislike{align-self:start;background:transparent!important;color:var(--br-muted)!important;padding:5px!important;min-width:30px}.bi-comment-dislike[aria-pressed=true]{color:var(--br-text)!important;font-weight:800}.vp-sheet .bi-comment{grid-template-columns:34px minmax(0,1fr) 30px 30px!important}.vp-sheet .bs-chips{margin-bottom:12px}
html[data-babloo-theme=dark] :is(.bc-studio,.shop-catalog,.sg-inbox,.vp-watch,.creator-page) :is(h1,h2,h3,h4,label,strong,summary){color:var(--br-text)!important}html[data-babloo-theme] :is(.bc-studio,.shop-catalog,.vp-sheet,.sg-inbox) :is(input,textarea,select){color:var(--br-text)!important;background-color:var(--br-surface)!important}html[data-babloo-theme] :is(.vp-watch,.sg-inbox,.creator-page) svg:not(.sg-qr svg){color:inherit}html[data-babloo-theme=dark] :is(.bc-secondary,.explore-secondary,.bs-chips button){color:var(--br-text)!important;background:var(--br-raised)!important}html[data-babloo-theme=light] :is(.bc-secondary,.explore-secondary,.bs-chips button){color:#171717!important;background:#f1f1f1!important}.vp-watch .vp-player button.vp-settings-button,.vp-watch .vp-player .vp-lock-shield button{color:#fff!important}
@media(max-width:640px){html[data-babloo-theme] .vp-watch{width:100vw!important;max-width:100vw!important;height:100dvh!important;max-height:100dvh!important;border-radius:0!important;top:0!important;left:0!important;transform:none!important}.vp-watch .bs-watch-grid{height:100dvh}.vp-watch .vp-player{width:100%;max-height:40dvh}.vp-watch .vp-watch-content{padding:10px 12px 18px}.vp-watch .bs-related{grid-template-columns:1fr}.vp-sheet{height:calc(100% - min(56.25vw,40dvh));max-height:none}.vp-watch .vp-player .vp-sheet{height:calc(100dvh - min(56.25vw,40dvh));max-height:none}.vp-title{font-size:16px!important}.vp-sheet-body{padding:12px}.vp-setting-row{font-size:14px}.vp-watch .bs-actions button{font-size:13px}.vp-watch>button[data-state]{z-index:25}.vp-watch .vp-player video{max-height:40dvh!important}}
/* One foreground/background contract for app surfaces, including legacy profile and toolbar. */
html[data-babloo-theme] body :is(.creator-page,.creator-identity,.creator-stats,.creator-page-toolbar,.workspace-header,.studio-header,.studio-topbar,.workspace-topbar,.bs-header,.topbar,.creator-tabs,.creator-activity,.bc-studio,.shop-catalog,.fs-page,.panel,.member-section){background-color:var(--br-bg)!important;color:var(--br-text)!important;border-color:var(--br-border)!important}
html[data-babloo-theme] body :is(.creator-page,.creator-identity,.creator-stats,.workspace-header,.studio-header,.studio-topbar,.workspace-topbar,.topbar,.bs-header,.owner-workspace,.panel,.member-section,.fs-page) :is(h1,h2,h3,h4,h5,p,a,label,span,strong,b,small,summary,svg){color:inherit!important}
html[data-babloo-theme] body :is(.workspace,.studio-main,.owner-workspace,.creator-page,.fs-page) :is(button,input,select,textarea){color:var(--br-text)!important}
html[data-babloo-theme] body :is(.workspace,.studio-main,.owner-workspace,.creator-page,.fs-page) :is(button,input,select,textarea) :is(span,svg,strong,small){color:inherit!important}
html[data-babloo-theme] body :is(.bc-primary,.explore-primary,.primary-btn){background:#7046cd!important;color:#fff!important}
html[data-babloo-theme] body :is(.creator-tabs,.creator-page-toolbar,.creator-identity,.creator-stats){background-image:none!important}
html[data-babloo-theme] .vp-watch{position:fixed!important;z-index:80;inset:0!important;margin:auto!important;transform:none!important;width:min(1100px,100vw)!important;height:96dvh!important;border:1px solid var(--br-border);border-radius:12px;box-shadow:0 0 0 100vmax #0008;display:block!important}
.vp-watch .bs-watch-grid{height:100%!important}.vp-window-buttons{position:absolute;left:5px;top:5px;z-index:22;display:flex;gap:5px}.vp-window-buttons button,.vp-watch .vp-settings-button{display:grid;place-items:center;width:34px!important;height:34px!important;min-height:34px!important;padding:0!important;border:0!important;border-radius:50%;background:#000b!important;color:#fff!important}.vp-watch .vp-settings-button{top:5px!important;right:5px!important}.vp-watch .bs-actions button{display:flex!important;align-items:center;justify-content:center;gap:5px;min-width:44px;min-height:44px;padding:8px 14px!important;border-radius:24px}.vp-watch .bs-actions button[aria-pressed=true]{background:var(--br-text)!important;color:var(--br-bg)!important}.vp-watch .bs-actions button[aria-pressed=true] svg{fill:currentColor}.vp-followers{display:block;font-size:11px;line-height:1.5;color:var(--br-muted)!important}.vp-watch .bs-watch-meta>button:first-child span{text-align:left}.vp-watch .vp-player{touch-action:pan-x}
html[data-babloo-theme] .vp-watch.vp-mini{inset:auto 12px 140px auto!important;margin:0!important;width:280px!important;max-width:75vw!important;height:auto!important;max-height:none!important;border-radius:10px!important;box-shadow:0 6px 25px #0007!important;overflow:hidden!important}
html[data-babloo-theme] .vp-watch.vp-mini[style]{left:var(--mini-left,auto)!important;top:var(--mini-top,auto)!important;right:auto!important;bottom:auto!important}
.vp-mini .bs-watch-grid,.vp-mini .vp-watch-main{height:auto!important}.vp-mini .vp-watch-content,.vp-mini .vp-sheet,.vp-mini .vp-settings-button,.vp-mini .vp-captions{display:none!important}.vp-mini .vp-player{max-height:none!important;touch-action:none;cursor:move}.vp-mini .vp-player video,.vp-mini .vp-player .babloo-ad-player{max-height:none!important}.vp-mini .vp-window-buttons{left:4px;right:4px;justify-content:space-between}.vp-drag-handle{position:absolute;top:5px;left:calc(50% - 18px);z-index:20;width:36px;text-align:center;color:#fff;background:#0009;border-radius:8px;touch-action:none}.vp-mini .vp-lock-shield{display:none}.vp-watch .vp-captions{max-height:34%;overflow:hidden;line-height:1.35;text-shadow:0 1px 2px #000}
@media(max-width:640px){html[data-babloo-theme] .vp-watch:not(.vp-mini){height:100dvh!important;border:0;border-radius:0!important}.vp-watch .vp-player{max-height:40dvh}.vp-watch.vp-mini .vp-player{max-height:none}}
.vp-watch .vp-window-buttons{width:max-content!important;right:auto!important;pointer-events:none}.vp-window-buttons button{pointer-events:auto}.vp-mini .vp-window-buttons{width:calc(100% - 8px)!important;right:4px!important}.vp-watch .vp-player>.vp-window-buttons{height:34px!important}

/* Override legacy bs-player > div sizing: overlays must not occupy a video-sized box. */
.vp-watch .bs-player>div.vp-captions{width:auto!important;height:auto!important;max-height:38%!important;top:auto!important;bottom:50px!important;left:6%!important;right:6%!important;box-sizing:border-box;z-index:30!important;white-space:normal}
.vp-watch .bs-player>div.vp-lock-shield{width:100%!important;height:100%!important;padding:0!important;align-items:center!important;justify-content:flex-end!important;box-sizing:border-box}
.vp-watch .vp-lock-shield button{width:40px!important;height:40px!important;padding:9px!important;margin-right:8px;border-radius:50%!important;display:grid;place-items:center}
.vp-watch .vp-download-sheet{height:52dvh!important;max-height:65dvh!important;z-index:40!important;position:fixed!important;bottom:0!important}
.vp-download-options{display:grid;gap:16px}.vp-download-options label{display:flex;align-items:center;justify-content:space-between;gap:12px}.vp-download-options select{padding:10px;border-radius:10px;max-width:60%}.vp-download-options progress{width:100%}.vp-download-options .vp-primary{padding:13px;border-radius:12px;background:#7647df!important;color:#fff!important}.vp-download-options small{color:var(--br-muted)}
