:root{color-scheme:light;--bg:#f5f7fb;--surface:#fff;--muted:#5f7187;--border:#dbe3ed;--accent:#146b79}html,body{background:#f5f7fb!important;color:#172a40!important}body{font-family:Inter,Arial,sans-serif}a{color:#146b79}header,.sidebar,aside,#navigation,.topbar,.bottom-nav{background:#fff!important;color:#172a40!important;border-color:#dbe3ed!important}.panel,.card,.stat,.profile-hero,.profile-stats>div,.profile-offer,.profile-video-info,.profile-tabs,.short-upload,.short-online-panel,.ads-banner,.ads-card,dialog,details,.announcement,.notification,.market-card{background:#fff!important;color:#172a40!important;border-color:#dbe3ed!important;box-shadow:0 8px 28px #2035500b}.profile-secondary,.profile-tabs a,.nav-link{color:#34516d!important;background:#f1f5f9!important;border-color:#dbe3ed!important}.nav-link.active{color:#08697a!important;background:#e0f2f3!important}button,.button{background:linear-gradient(145deg,#fff,#e4eef3);color:#174b60;border:1px solid #bfd0dc;box-shadow:0 4px 0 #bdcdd8,0 7px 14px #1c405212;border-radius:13px}button:hover,.button:hover{filter:brightness(.98)}input,textarea,select{background:#fff!important;color:#172a40!important;border-color:#c4d2df!important}h1,h2,h3,h4,.profile-stats strong,.stat strong{color:#18334b}.muted,small,label,.eyebrow,.profile-bio,.profile-offer p{color:#607488}.short-reel{background:#101820!important;color:#fff!important}.short-reel .short-caption,.short-reel .short-caption small,.short-reel .short-caption a{color:#fff!important}.short-reel .short-actions button,.short-reel .video-profile{background:#172a40e8!important;color:#fff!important;border-color:#ffffff45!important;box-shadow:0 3px 0 #0006}.short-actions{overflow-y:auto;max-height:calc(100% - 150px);scrollbar-width:thin}.video-total{font-size:12px;text-align:center;padding:6px;border-radius:10px;background:#172a40e8;color:white}.video-profile{padding:8px;border-radius:10px;font-size:12px;text-align:center;text-decoration:none}.video-sound{font-size:12px;padding:8px}.short-video-ad{background:#fff!important;color:#172a40!important;border-color:#dbe3ed!important}.short-video-ad small,.short-video-ad strong,.short-ad-description{color:#36536c!important}.short-author a{pointer-events:auto}.profile-choice-dialog{background:#fff!important;color:#172a40!important}footer{color:#607488;border-color:#dbe3ed}.message{color:#146b79}.profile-earnings{background:#e8f5f3!important}.profile-earnings strong{color:#12685e!important}
:root{--navy:#174b60;--navy2:#286678;--paper:#f5f7fb;--white:#fff;--line:#dbe3ed;--muted:#607488;--gold:#146b79;--text:#172a40}.workspace,main,.fixed-reader-header{background:#f5f7fb!important}.home-hero,.hero,.home-note,.home-reading-note,.editorial-note,.archive-banner,.document-caution,.reading-info,.reader-source-foot,.pdf-note,.missing-text,.archive-reader,.reader-body,.reader-panel,.archive-item,.archive-controls,.archive-filters,.archive-summary,.reading-note,.timeline-card,.source-card,.source-list a,.reader-page,.reader-text,.archive-document,.reader-toolbar,.reader-status,.archive-results,.reader-content,.short-form,.reader-messages,.chat-bubble{background:#fff!important;color:#233e56!important;border-color:#dbe3ed!important}.home-hero h1,.home-hero h1 em,.home-reading-note strong,.editorial-note strong,.reading-info strong,.section-heading,.section-title{color:#174b60!important}.prose p,dialog p,.document-explanation,.document-body,.archive-source,.reader-page p,.home-hero-copy p{color:#3d566b!important}.admin-notifications{background:#e3f1f2!important;color:#215765!important;border-color:#bcd8dd!important}.ads-banner,.ad-slide,.ad-copy,.ad-content{background:#fff!important;color:#18334b!important}.nav3d{background:linear-gradient(145deg,#fff,#e3edf4)!important;border-color:#c6d5e1!important;box-shadow:0 6px 0 #bcccda,0 12px 24px #284c6012!important}.nav3d-title,.nav3d-desc,.nav3d-number,.nav3d-bottom small{color:#234d65!important}.short-online{background:#e1f3ec!important;color:#22634e!important}.short-reel .short-actions{right:8px;max-width:95px}.short-reel .short-actions button{padding:7px;font-size:11px}.short-reel .short-caption{right:110px}.profile-video-info .video-total{background:transparent;color:#36536c}
/* All six primary actions sit above the picture, in reading order. */
.short-reel[data-short-id]{display:grid;grid-template-rows:auto minmax(0,1fr) auto;grid-template-columns:minmax(0,1fr);overflow:hidden}.short-reel[data-short-id]>video,.short-reel[data-short-id][data-short-ads="1"]>video{grid-row:2;min-height:0;width:100%;object-fit:contain}.video-engagement-bar{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;padding:10px;background:#f8fbfd;border-bottom:1px solid #d5e1e9;position:relative;z-index:3;color:#174b60}.short-reel .video-engagement-bar{grid-row:1;grid-column:1}.video-engagement-bar>*{display:flex!important;align-items:center;justify-content:center;gap:4px;min-width:0;min-height:42px;margin:0!important;padding:7px 3px!important;white-space:normal;overflow-wrap:anywhere;text-align:center;font:600 11px/1.2 Arial,sans-serif!important;border-radius:9px!important;border:1px solid #c9d9e3!important;background:linear-gradient(145deg,#fff,#e8f1f6)!important;color:#174b60!important;box-shadow:0 2px 0 #c3d2dd!important;text-decoration:none}.video-engagement-bar .video-total{box-shadow:none!important;background:#e9f2f6!important}.video-engagement-bar b{font:inherit}.short-reel .video-engagement-bar .video-profile{color:#174b60!important;background:linear-gradient(145deg,#fff,#e8f1f6)!important}.video-engagement-bar [aria-pressed="true"]{background:#daf0eb!important;color:#176451!important}.video-sound-row{grid-row:2;grid-column:1;align-self:start;justify-self:start;margin:10px;z-index:2;position:relative;pointer-events:none}.video-sound-row .video-sound{pointer-events:auto;min-height:36px;padding:7px 10px!important;background:#172a40d9!important;color:#fff!important;border:1px solid #ffffff60!important;font-size:11px;box-shadow:none}.short-reel[data-short-id] .short-caption{grid-column:1;grid-row:2;position:relative!important;align-self:end;left:auto!important;right:auto!important;bottom:auto!important;margin:0 12px 50px;max-width:calc(100% - 24px);max-height:90px;overflow:hidden;pointer-events:none;text-shadow:0 2px 5px #000}.short-reel[data-short-id] .short-caption .short-author{pointer-events:auto}.short-reel[data-short-id] .short-caption p{margin:3px 0;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.short-reel[data-short-id]>.short-video-ad{grid-row:3;position:static!important;height:94px!important;min-height:94px;left:auto;right:auto;bottom:auto}.video-owner-actions{display:flex;gap:6px;flex-wrap:wrap;padding:8px;background:#eef4f8;position:relative!important;max-height:none!important;overflow:visible!important}.short-reel .video-owner-actions{grid-row:2;grid-column:1;justify-self:end;align-self:start;z-index:2;max-width:55%;border-radius:0 0 0 10px;padding:5px;background:#152a40b8}.short-reel .video-owner-actions button{padding:5px!important;min-height:32px;font-size:10px!important;box-shadow:none!important}.short-reel .video-owner-actions button span{display:none}.short-reel .video-owner-actions button small{font-size:9px}.profile-video-card .video-sound-row{position:absolute;top:117px;left:0}.profile-video-card{position:relative;background:#fff!important}.profile-video-card .video-engagement-bar{position:relative}.profile-video-card .video-owner-actions{background:transparent;padding:0}.profile-video-card .video-total{color:#174b60!important}.short-reels{min-height:390px}.short-reel[data-short-id] .short-hidden{top:118px}
@media(min-width:700px){.short-reels .video-engagement-bar{grid-template-columns:repeat(6,minmax(0,1fr));gap:4px;padding:9px 6px}.short-reels .video-engagement-bar>*{font-size:10px!important;min-height:48px;flex-direction:column}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
/* A large host and a fixed two-column grid of square co-hosts. */
.live-page .live-stage{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px;min-height:0;aspect-ratio:auto;max-width:680px;padding:8px;box-shadow:none!important;border:1px solid #cad9e4;background:#101820!important;align-items:start}.live-page .live-tile{aspect-ratio:1/1;min-height:0;width:100%;order:2;border-radius:10px;box-shadow:none}.live-page .live-tile[data-role="host"]{grid-column:1/-1;order:0;aspect-ratio:16/10;max-height:52svh;min-height:220px}.live-page .live-tile[data-role="screen"]{grid-column:1/-1;order:-1;aspect-ratio:16/10;max-height:65svh;min-height:220px;background:#101820}.live-page .live-tile[data-role="screen"] video{object-fit:contain}.live-page .live-stage:has([data-role="screen"]) [data-role="host"]{aspect-ratio:16/5;max-height:24svh;min-height:120px}.live-page .live-tile video{max-height:none}.live-page .live-tile-name{font-size:11px;padding:5px;bottom:5px;left:5px;right:5px;color:white!important}.live-page .live-stage:has(.live-tile:only-child){grid-template-columns:repeat(2,minmax(0,1fr))!important}.live-present-tools{padding:16px;margin:18px 0;border-radius:14px;background:#e7f1f6;border:1px solid #cadbe5}.live-present-tools small{display:block;line-height:1.5}.live-page .live-cohosts,.live-page .live-mic-panel,.live-page #liveCameraTools{background:#f5f9fc!important;color:#23475c!important;box-shadow:none!important;border-color:#cadbe5!important}.live-page .btn{box-shadow:0 2px 0 #bdcdda!important;transition:none!important}.live-page .btn:hover:not(:disabled){transform:none;box-shadow:0 2px 0 #bdcdda!important}.live-page .live-stage .live-camera-off{color:#d4e3ed}.short-reel,.profile-video-card{contain:layout paint}.profile-video-card{content-visibility:auto;contain-intrinsic-size:auto 600px}.short-reels{scroll-behavior:auto;overscroll-behavior:contain}.live-page .live-tile.camera-off{background:#172b3d!important}.live-incoming-card{box-shadow:none!important}.nav3d,.profile-offer{box-shadow:0 3px 0 #bdcdda!important}
/* Compact paid placement stays visible above the home video feed. */
.short-home .ad-slot{position:sticky;top:0;z-index:8;padding:8px 10px;margin:8px auto 14px;max-width:680px;border-radius:12px;background:#fff!important;color:#23475c!important;box-shadow:0 2px 8px #23475c15!important}.short-home .ad-slot-heading{margin-bottom:4px;gap:8px}.short-home .ad-slot-heading>span{font-size:8px;letter-spacing:1px;color:#526e80}.short-home .ad-slot-heading .btn{font-size:9px;padding:4px 7px;min-height:26px}.short-home .ad-creative{height:64px;gap:9px}.short-home .ad-creative img{width:56px;height:56px;border-radius:8px}.short-home .ad-creative h3{font:600 14px/1.2 Arial;margin:3px 0;color:#174b60;-webkit-line-clamp:1}.short-home .ad-creative p,.short-home .ad-creative small{display:none}.short-home .ad-creative .btn{font-size:10px;padding:5px 8px;min-height:26px}.short-home .ad-controls{gap:5px;margin-top:4px;font-size:9px}.short-home .ad-controls button{font-size:9px;min-height:24px;padding:2px 7px;box-shadow:none}.short-home .ad-controls small{font-size:8px}.short-home>.eyebrow,.short-home>h1{display:none}.short-home>.short-toolbar>a{display:none}.short-home .short-toolbar{margin:10px 0}.short-home .short-toolbar h2{font-size:23px}.short-home .short-reels{height:calc(100svh - 205px);min-height:350px}.brand-mark{font-size:20px!important;letter-spacing:-1px}

.short-home .ad-slot{top:var(--mid-header-height,100px)}
/* Four primary actions and the compact sponsor placement share the fixed header. */
.fixed-reader-header .topbar{display:grid!important;grid-template-columns:minmax(0,1fr);gap:7px;padding:9px 18px!important;min-height:0}.fixed-reader-header .breadcrumb{display:none}#midHeaderAds .ad-slot{position:static!important;max-width:none;padding:6px 8px!important;background:#fff!important;border:1px solid #d6e2eb;border-radius:10px;box-shadow:none!important}#midHeaderAds .ad-slot-heading{margin:0 0 4px;gap:8px}#midHeaderAds .ad-slot-heading>span{letter-spacing:1px;color:#577085}#midHeaderAds .ad-slot-heading .btn{font-size:9px;padding:3px 7px;min-height:23px}#midHeaderAds .ad-creative{height:96px;gap:12px}#midHeaderAds .ad-creative img{width:88px;height:88px}#midHeaderAds .ad-creative h3{font:600 20px/1.2 Arial;color:#174b60;margin:2px 0;-webkit-line-clamp:2}#midHeaderAds .ad-creative small,#midHeaderAds .ad-creative p,#midHeaderAds .ad-controls small{display:none}#midHeaderAds .ad-creative .btn{min-height:22px;padding:3px 6px;box-shadow:none}#midHeaderAds .ad-controls{margin-top:4px;gap:4px}#midHeaderAds .ad-controls button{font-size:9px;min-height:20px;padding:1px 6px;box-shadow:none}.short-home .short-toolbar #shortPublish{display:none}.short-home #shortUploadForm #shortUpload{display:inline-block}.short-home .short-reels{height:calc(100svh - 275px);min-height:320px}@media(max-width:520px){.fixed-reader-header .topbar{padding:7px 10px!important}.fixed-reader-header .admin-notifications{padding:5px 10px}.fixed-reader-header .admin-notifications p{max-height:30px;font-size:10px}}
/* Online status and advertising above; three permanent destinations below. */.mid-bottom-nav{position:fixed;bottom:0;left:0;right:0;z-index:40;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;padding:9px max(12px,env(safe-area-inset-right)) calc(9px + env(safe-area-inset-bottom));background:#f9fcff;border-top:1px solid #c4d7e4;box-shadow:0 -3px 14px #183c5012}.mid-bottom-nav>a{display:flex;align-items:center;justify-content:center;min-height:44px;padding:8px 5px;border:1px solid #bed1df;border-radius:11px;background:linear-gradient(145deg,#fff,#e1edf4);box-shadow:0 3px 0 #bed1dc;color:#174b60;text-decoration:none;text-align:center;font:600 12px/1.25 Arial}.mid-bottom-nav>a:focus-visible{outline:3px solid #398a99;outline-offset:2px}body:has(.mid-bottom-nav){padding-bottom:calc(84px + env(safe-area-inset-bottom))!important}.mid-bottom-nav a[aria-current=page]{background:#d9eeed;color:#12655e;border-color:#8cbab9}.short-home .short-reels{height:calc(100svh - 305px);min-height:280px}.profile-notice{padding:14px 0;border-bottom:1px solid #d5e1eb}.profile-notice p{white-space:pre-wrap;overflow-wrap:anywhere}.profile-notice h3{font-size:21px}#profileNotices summary{color:#174b60}.profile-page #profileNotices{margin-top:24px}
/* A single centered online control, with advertising directly underneath. */.mid-bottom-nav{grid-template-columns:repeat(4,minmax(0,1fr))}.sidebar{display:none!important}.workspace{margin-left:0!important;width:100%!important}.fixed-reader-header .header-actions{display:none!important}.mid-bottom-nav>a{font-size:11px}@media(max-width:380px){.mid-bottom-nav{gap:5px;padding-left:8px;padding-right:8px}.mid-bottom-nav>a{font-size:10px;padding:7px 3px}}
/* Black button faces with a distinct accent for each action. */
button,a.button,a.btn,.mid-bottom-nav>a,.video-engagement-bar>a,a.history-topic,a.nav3d,.profile-tabs>a{--mid-button-color:#7dd3fc}
button:nth-child(6n+2),a.button:nth-child(6n+2),a.btn:nth-child(6n+2),.mid-bottom-nav>a:nth-child(2),.profile-tabs>a:nth-child(6n+2){--mid-button-color:#86efac}
button:nth-child(6n+3),a.button:nth-child(6n+3),a.btn:nth-child(6n+3),.mid-bottom-nav>a:nth-child(3),.profile-tabs>a:nth-child(6n+3){--mid-button-color:#fcd34d}
button:nth-child(6n+4),a.button:nth-child(6n+4),a.btn:nth-child(6n+4),.mid-bottom-nav>a:nth-child(4),.profile-tabs>a:nth-child(6n+4){--mid-button-color:#c4b5fd}
button:nth-child(6n+5),a.history-topic:nth-child(6n+2),.profile-tabs>a:nth-child(6n+5){--mid-button-color:#fda4af}
button:nth-child(6n),a.history-topic:nth-child(6n+3),.profile-tabs>a:nth-child(6n){--mid-button-color:#5eead4}
.video-engagement-bar [data-short-like],.profile-danger,[data-short-delete],[data-delete-video],#liveEnd{--mid-button-color:#fda4af}.video-engagement-bar [data-short-comments]{--mid-button-color:#fcd34d}.video-engagement-bar .video-follow{--mid-button-color:#86efac}.video-engagement-bar [data-short-share]{--mid-button-color:#7dd3fc}.video-engagement-bar .video-profile{--mid-button-color:#c4b5fd}
html body button,html body a.button,html body a.btn,html body .mid-bottom-nav>a,html body .video-engagement-bar>a,html body a.history-topic,html body a.nav3d,html body .profile-tabs>a,html body #midHeaderAds button,html body #midHeaderAds a.btn{background:#080808!important;color:var(--mid-button-color,#7dd3fc)!important;border:1px solid var(--mid-button-color,#7dd3fc)!important;box-shadow:0 3px 0 color-mix(in srgb,var(--mid-button-color,#7dd3fc) 55%,#000)!important}
html body .short-reel .video-engagement-bar button,html body .short-reel .video-engagement-bar a,html body .video-engagement-bar [aria-pressed="true"],html body .mid-bottom-nav a[aria-current="page"]{background:#080808!important;color:var(--mid-button-color,#7dd3fc)!important;border-color:var(--mid-button-color,#7dd3fc)!important;box-shadow:0 3px 0 color-mix(in srgb,var(--mid-button-color,#7dd3fc) 55%,#000)!important}
html body button:focus-visible,html body .mid-bottom-nav>a:focus-visible{outline:3px solid var(--mid-button-color,#7dd3fc);outline-offset:3px}html body button small,html body a.history-topic strong,html body .nav3d-title{color:inherit!important}html body a.history-topic small,html body a.history-topic>span,html body .nav3d-desc,html body .nav3d-bottom small{color:#d0d9e5!important}

/* Normal document scrolling keeps ads and video in separate, stable boxes. */
body:has(.short-home){height:auto;overflow:auto!important;padding-bottom:calc(84px + env(safe-area-inset-bottom))!important}.workspace:has(.short-home){display:block;height:auto;min-height:0}.workspace:has(.short-home)>.fixed-reader-header{position:relative;top:auto}.workspace:has(.short-home)>main{display:block;width:100%;padding:14px!important;overflow:visible}.workspace:has(.short-home)>footer{display:none}.short-home{display:block;height:auto}.short-home .short-publish-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;max-width:470px;width:100%;margin:12px auto!important}.short-home .short-publish-actions #shortPublish,.short-home .short-publish-actions #shortRefresh{display:inline-flex!important;justify-content:center;align-items:center;min-height:42px;padding:8px 5px;font-size:11px}.short-home>#shortFeed.short-reels{display:block!important;position:relative;flex:none;height:70svh!important;min-height:440px!important;max-height:760px;width:100%;max-width:470px;margin:14px auto;overflow-y:auto}.short-home #shortFeedback:empty{display:none}#shortUploadDialog{width:min(94vw,620px);max-height:85dvh;overflow-y:auto;padding:15px;border:1px solid #b9cddd;border-radius:18px;background:#fff;color:#17354b}#shortUploadDialog::backdrop{background:#081520b3}#shortUploadDialog .short-form{margin:12px 0 0;padding:12px}#shortUploadDialog #shortPreview{max-width:100%;max-height:32dvh}#shortUploadClose{display:block;margin-left:auto;position:sticky;top:0;z-index:2}#shortUploadDialog .short-form input,#shortUploadDialog .short-form textarea{width:100%}.short-publish-actions>label{grid-column:1/-1}
/* Picture, chosen sponsor, six actions, then a centered publish action. */
.short-reel[data-short-id]{grid-template-rows:minmax(150px,1fr) auto auto auto!important}.short-reel[data-short-id]>video,.short-reel[data-short-id][data-short-ads="1"]>video{grid-row:1!important;grid-column:1;height:100%!important}.short-reel[data-short-id]>.short-video-ad{grid-row:2!important;grid-column:1}.short-reel[data-short-id]>.video-engagement-bar{grid-row:3!important;grid-column:1}.short-reel[data-short-id]>.video-create{grid-row:4;grid-column:1;justify-self:center;align-self:center;margin:8px auto 11px;padding:9px 18px;min-height:40px;font-size:12px}.short-reel[data-short-id]>.video-sound-row,.short-reel[data-short-id]>.short-caption,.short-reel[data-short-id]>.video-owner-actions{grid-row:1!important}.video-create{display:block;margin:10px auto 14px;text-align:center}.profile-video-card>.video-engagement-bar{position:static}.profile-video-card .video-sound-row{top:10px!important}.profile-section-head{flex-wrap:wrap}.profile-section-head h2{margin-right:auto}.profile-section-head #profileRefreshVideos{font-size:11px}.short-home>#shortPublish[hidden]{display:none!important}.short-moderation-tools{display:block;margin:12px 0}
/* Match the 94px sponsor strip used beneath member videos. */
.workspace:has(.short-home)>.fixed-reader-header{position:sticky!important;top:0;z-index:20;background:#f5f7fb}.fixed-reader-header{scroll-margin-top:0}#midHeaderAds .ad-slot{height:94px;min-height:94px;max-height:94px;display:grid;grid-template-rows:14px 50px 16px;row-gap:2px}#midHeaderAds .ad-slot-heading{height:14px;min-height:0;margin:0;align-items:center}#midHeaderAds .ad-slot-heading>span{font-size:8px;line-height:12px}#midHeaderAds .ad-slot-heading .btn{font-size:8px;line-height:12px;min-height:14px;padding:0 5px}#midHeaderAds .ad-creative{height:50px;min-height:0;gap:10px}#midHeaderAds .ad-creative img{width:52px;height:50px;flex-shrink:0;border-radius:7px}#midHeaderAds .ad-creative h3{font:600 14px/1.15 Arial;margin:1px 0;-webkit-line-clamp:1}#midHeaderAds .ad-creative .btn{font-size:9px;line-height:13px;min-height:18px;padding:1px 6px}#midHeaderAds .ad-controls{height:16px;margin:0;gap:5px;font-size:8px;line-height:12px}#midHeaderAds .ad-controls button{font-size:8px;line-height:12px;min-height:14px;padding:0 6px;border-radius:5px}.short-home .short-reels{scroll-margin-top:160px}
#midHeaderAds{width:100%;max-width:470px;margin:0 auto}
.mid-bottom-nav{background:#000!important;border-top-color:#293341;box-shadow:0 -3px 12px #0003}.short-home>#shortFeed.short-reels{scroll-snap-type:y mandatory;scroll-padding:0;overscroll-behavior-y:contain;touch-action:pan-y;height:calc(100svh - 245px)!important;min-height:300px!important;max-height:none}.short-home .short-reel[data-short-id]{height:100%;min-height:100%;scroll-snap-align:center;scroll-snap-stop:always;grid-template-rows:minmax(80px,1fr) auto auto auto!important}.short-home .short-reel[data-short-id]>.video-engagement-bar{grid-template-columns:repeat(6,minmax(0,1fr))!important;gap:3px;padding:5px 3px}.short-home .short-reel .video-engagement-bar>*{font-size:9px!important;min-height:42px;gap:2px;padding:4px 2px!important;flex-direction:column}.short-home .short-reel[data-short-id]>.video-create{min-height:34px;padding:6px 14px;margin:6px auto 8px;font-size:11px}.short-home .short-caption{margin-bottom:36px!important;max-height:65px!important}.short-home .short-caption p{font-size:11px}.short-live-person{display:flex;gap:7px;align-items:center;padding:6px 9px;border:1px solid #c9dbe7;border-radius:12px;background:#fff;min-width:210px}.short-lives{display:flex;gap:9px;overflow-x:auto;max-width:470px;height:57px;box-sizing:border-box;padding:2px 0;margin:5px auto 7px;scroll-snap-type:x proximity}.short-lives[hidden]{display:none!important}.short-live-person>div{flex:1;min-width:0}.short-live-person strong{display:block;color:#174b60;max-width:135px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:11px}.short-live-person small{font-size:9px}.short-live-person>a{color:#16695d;font-weight:bold;font-size:11px;min-height:34px;display:flex;align-items:center;text-decoration:none}.short-live-dot{width:8px;height:8px;background:#dc4564;border-radius:50%;flex-shrink:0}.short-source-choices{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:15px 0}.short-source-choices button{min-height:66px;font-size:13px;padding:12px}#shortUploadFeedback{color:#174b60;font-size:13px}#shortUploadDialog #shortCameraFile[hidden],#shortUploadDialog #shortFile[hidden]{display:none!important}

.short-live-reel{display:grid;grid-template-rows:minmax(0,1fr) auto;padding:16px;background:radial-gradient(ellipse at top,#243653,#0b101b)!important}.short-live-preview{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;text-align:center;min-height:0;overflow:auto;color:#fff}.short-live-preview h2{color:#fff;font-size:26px;margin:0}.short-live-preview p{color:#d9e1ef;margin:0;max-width:320px;font-size:13px}.short-live-badge{background:#bd1743;border-radius:8px;padding:7px 12px;color:#fff;font-weight:bold;font-size:12px}.short-live-avatar{display:grid;place-items:center;width:85px;height:85px;border:3px solid #ff618d;border-radius:50%;background:#2d405e;font-size:36px}.short-live-preview>a{margin:8px;min-height:44px;padding:12px 20px;color:#7bf0ba!important}.short-live-reel>.video-create{text-align:center;padding:10px}

/* MID Studio: compact editing workspace, with a single decoder for preview. */
.short-admin-search{display:flex;gap:9px;align-items:end;flex-wrap:wrap;padding:15px;border:1px solid #c7d7e4;border-radius:12px;background:#fff;margin-bottom:12px}.short-admin-search label{flex:1;min-width:210px;font-size:12px}.short-admin-search input{display:block;width:100%;padding:11px;margin-top:7px;border:1px solid #bccedd;border-radius:9px}.short-admin-search button{min-height:42px;padding:9px}#registrationForm input[hidden]{display:none!important}#registrationForm .short-source-choices{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:12px 0}#registrationForm .short-source-choices button{min-height:48px}#memberLoginPanel{margin-top:20px;padding:14px;border:1px solid #c4d6e4;border-radius:12px}#activationMembers .panel{margin:15px 0}

.short-reel>.video-publish-row{grid-column:1;grid-row:4;align-self:end}.video-publish-row{display:grid;grid-template-columns:1fr 1fr;align-items:stretch;gap:8px;padding:7px 9px;background:#0a111b;width:100%;box-sizing:border-box}.video-publish-row>.video-create,.video-publish-row>.video-market{display:flex!important;align-items:center;justify-content:center;text-align:center;min-width:0;min-height:40px!important;margin:0!important;padding:8px 5px!important;font:600 11px/1.2 Arial!important;white-space:normal;text-decoration:none;border-radius:10px;border:1px solid #5076b4!important;background:#080808!important;color:#a9caff!important;box-shadow:0 2px 0 #17263c!important}.video-publish-row>.video-market{border-color:#449e81!important;color:#9be3c7!important;box-shadow:0 2px 0 #16392c!important}.video-publish-row>a:focus-visible,.video-publish-row>button:focus-visible{outline:2px solid #b0e7f5;outline-offset:2px}.short-live-reel>.video-publish-row{grid-row:2;background:transparent}.short-home .short-reel>.video-publish-row .video-create{font-size:11px!important}.profile-video-card>.video-publish-row{background:#eef4f8}.short-empty .video-publish-row{margin-top:16px}.short-home .short-reel[data-short-id]>video{pointer-events:auto;touch-action:pan-y}.short-home .short-reel .video-sound-row{pointer-events:auto}
/* Organized live control room */
.live-page{max-width:900px;margin:auto}.live-page>h1{font-size:30px;margin:8px 0 12px}.live-page #livePlayer{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:14px;align-items:start}.live-page #livePlayer>.live-player-toolbar,.live-page #liveIncoming,.live-video-shell,.live-page .live-reactions,.live-chat-panel{grid-column:1/-1}.live-page .live-player-toolbar{display:flex!important;align-items:center;justify-content:space-between;gap:16px;margin:0;padding:16px;border:1px solid #d1deea;border-radius:16px;background:#fff}.live-title-block{flex:1;min-width:0}.live-title-block h2{font-size:21px;line-height:1.3;overflow-wrap:anywhere;margin:7px 0 0}.live-status-pill{display:inline-block;font:700 9px Arial;letter-spacing:1px;padding:5px 9px;border-radius:6px;color:#b81d51;background:#ffeaf0}.live-session-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;min-width:220px}.live-page .btn{min-height:42px;border-radius:10px!important;background:#080808!important;color:#b5d2ff!important;border:1px solid #4e79b4!important;box-shadow:0 2px 0 #c3d3e5!important;display:inline-flex;align-items:center;justify-content:center;text-align:center;padding:9px!important;font:600 11px/1.3 Arial!important;white-space:normal}.live-page #liveEnd,.live-page #liveLeave{color:#ffaabe!important;border-color:#aa526c!important}.live-page #liveAudio{color:#9ae6ce!important;border-color:#489d81!important}.live-video-shell{position:relative;overflow:hidden;border-radius:16px;background:#101820;width:100%;max-width:680px;justify-self:center}.live-page .live-video-shell .live-stage{border:0!important;margin:0;max-width:none;padding:8px 8px 32px;touch-action:manipulation;user-select:none;cursor:pointer}.live-tap-hint{position:absolute;bottom:8px;left:0;right:0;pointer-events:none;text-align:center;color:#b4c5d9}.live-page #liveHeartsFX{position:absolute;inset:0;pointer-events:none;overflow:hidden;z-index:7}.live-floating-heart{position:absolute;color:#ff6b9b;font:34px/1 Arial;filter:drop-shadow(0 2px 3px #0005);animation:live-heart-rise .95s ease-out forwards;will-change:transform,opacity}.live-page .live-reactions{display:grid;grid-template-columns:1.4fr repeat(3,minmax(0,1fr));gap:8px;padding:11px;margin:0;background:#fff;border:1px solid #d1deea;border-radius:13px}.live-page .live-watching{display:flex;align-items:center;justify-content:center;font-size:11px;padding:6px;color:#37546c}.live-page #liveHeart{color:#ffa2c5!important;border-color:#b6527b!important;gap:5px;touch-action:manipulation}.live-heart-button small{color:inherit;font:9px Arial}.live-page .live-reactions button{gap:5px}.live-page .live-cohosts,.live-broadcast-tools,.live-chat-panel{padding:15px!important;border:1px solid #d1deea!important;border-radius:15px!important;background:#fff!important;margin:0!important;box-shadow:none!important;min-width:0}.live-cohosts>.short-toolbar{margin:0 0 10px;display:grid;grid-template-columns:1fr 1fr;gap:8px}.live-cohosts .short-toolbar h3{grid-column:1/-1;font-size:15px;margin:0 0 4px}.live-page #liveInviteToggle,.live-page #liveRequest{color:#d5bbff!important;border-color:#8965ba!important}.live-page #liveGuestStatus,.live-page #liveMicStatus{font-size:11px;line-height:1.5;color:#61788d;margin:9px 0}.live-broadcast-tools>summary{cursor:pointer;font:600 15px Arial;color:#244459;padding:2px 0 12px}.live-page .live-creator-controls{display:grid;grid-template-columns:1fr;gap:12px}.live-page #liveCameraTools,.live-page #liveMicTools,.live-page #livePresentTools{padding:12px!important;background:#f2f6fa!important;border:1px solid #d9e3ed!important;border-radius:11px;margin:0!important}.live-page #liveCameraTools{display:grid;grid-template-columns:1fr 1fr;gap:8px}.live-page #liveCameraTools h3{grid-column:1/-1}.live-page #liveCameraTools h3,.live-page #liveMicTools h3,.live-page #livePresentTools h3{font:600 12px Arial;margin:0 0 10px;color:#31536a}.live-page #liveCameraTools small,.live-page #livePresentTools small,.live-page #liveMicTools small{font-size:10px;line-height:1.5}.live-page #liveCameraTools label{font-size:11px;margin:5px 0 0}.live-page #liveFilter{margin:5px 0 0;padding:8px;border-radius:8px;font-size:12px}.live-page #liveMic{width:100%;color:#9ce4c8!important;border-color:#469a7e!important}.live-page #liveScreen,.live-page #liveImage{color:#efce90!important;border-color:#a78952!important}.live-page #livePresentTools{margin-top:12px!important}.live-page #livePresentTools>.short-toolbar{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:0 0 9px}.live-sound-details{border-top:1px solid #d1deea;margin-top:12px;padding-top:10px}.live-sound-details>summary{cursor:pointer;font-size:11px;color:#48627c}.live-page #liveSoundButtons{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;margin:10px 0}.live-page #liveSoundButtons button{font-size:10px!important;min-height:37px}.live-page #liveGuests>p,.live-page #liveRequests>p{display:flex;flex-wrap:wrap;align-items:center;gap:7px;margin:7px 0;padding:10px;border:1px solid #d8e3ec;border-radius:9px;font-size:12px}.live-page #liveGuests .btn{flex:1 1 90px;font-size:10px!important;min-height:36px}.live-page #liveIncoming:not(:has(>:not([hidden]))){display:none}.live-page #liveIncoming{margin:0;padding:0;max-height:none}.live-chat-panel>h3{font-size:15px;margin:0 0 12px}.live-chat-panel .short-form{padding:12px;margin:12px 0 0}.live-chat-panel .short-form label{font-size:12px}.live-chat-panel .short-form input,.live-chat-panel .short-form textarea{padding:10px;font-size:13px;margin:6px 0 12px}.live-chat-panel .short-comments{max-height:280px}.live-page #livePlayer:not(:has(#liveBroadcastTools:not([hidden])))>.live-cohosts{grid-column:1/-1}@keyframes live-heart-rise{0%{opacity:0;transform:translate(-50%,-30%) scale(.5)}15%{opacity:1}100%{opacity:0;transform:translate(calc(-50% + var(--heart-drift)), -150px) scale(1.2)}}@media(max-width:650px){.live-page #livePlayer{grid-template-columns:minmax(0,1fr);gap:10px}.live-page .live-player-toolbar{flex-direction:column;align-items:stretch;padding:12px}.live-session-actions{grid-template-columns:repeat(4,minmax(0,1fr));min-width:0}.live-session-actions .btn{font-size:10px!important;padding:7px 3px!important}.live-title-block h2{font-size:18px}.live-page .live-reactions{padding:8px;gap:5px}.live-page .live-watching{font-size:10px}.live-heart-button small{display:none}.live-page .live-cohosts,.live-broadcast-tools,.live-chat-panel{padding:12px!important}}@media(prefers-reduced-motion:reduce){.live-floating-heart{animation-duration:.1s}}
/* Lightweight video trim: one preview and a two-handle timeline. */
.mid-trimmer{margin:16px 0;padding:16px;border:1px solid #d5e5df;border-radius:17px;background:#f7fbf9;color:#244a40}.trim-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}.trim-heading strong{font-size:14px}.trim-heading span{font-size:10px;color:#5c8c78;background:#e5f3eb;border-radius:12px;padding:4px 8px;white-space:nowrap}.mid-trimmer>video{display:block;max-width:100%;width:100%;height:clamp(180px,30dvh,330px);background:#0d1c18;border-radius:11px;object-fit:contain}.trim-readout{display:flex;align-items:center;justify-content:space-between;gap:12px;font:11px monospace;color:#81998e;margin:16px 0 10px}.trim-readout strong{font:600 13px Arial;color:#2f7b5f}.trim-timeline{height:56px;position:relative;margin:0 10px;border-radius:7px;background:#ccdcd4}.trim-frames{position:absolute;inset:3px;display:flex;overflow:hidden;border-radius:5px;background:repeating-linear-gradient(90deg,#456258 0,#456258 24px,#577b6c 25px,#577b6c 48px)}.trim-frames img{min-width:0;flex:1;width:16.66%;height:100%;object-fit:cover}.trim-selection{position:absolute;inset:0 0 0 0;border-block:3px solid #47a878;border-inline:9px solid #47a878;border-radius:6px;pointer-events:none;box-shadow:-1000px 0 0 0 #0b191a66,1000px 0 0 0 #0b191a66;clip-path:inset(0 -1px)}.trim-boundary{position:absolute!important;inset:0;font-size:0!important;margin:0!important;pointer-events:none}.mid-trimmer .trim-boundary input{appearance:none;-webkit-appearance:none;position:absolute;left:0;top:0;width:100%;height:56px;min-height:0;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;pointer-events:none;outline:none;box-shadow:none!important}.trim-boundary input::-webkit-slider-runnable-track{height:56px;background:transparent}.trim-boundary input::-moz-range-track{height:56px;background:transparent}.trim-boundary input::-webkit-slider-thumb{appearance:none;-webkit-appearance:none;width:16px;height:56px;background:#e9fff2;border:5px solid #46a575;border-radius:5px;cursor:ew-resize;pointer-events:auto;box-shadow:0 0 0 1px #d4f1df}.trim-boundary input::-moz-range-thumb{width:7px;height:46px;background:#e9fff2;border:5px solid #46a575;border-radius:5px;cursor:ew-resize;pointer-events:auto}.trim-boundary input:focus-visible::-webkit-slider-thumb{outline:2px solid #173e32;outline-offset:2px}.trim-boundary input:focus-visible::-moz-range-thumb{outline:2px solid #173e32;outline-offset:2px}.mid-trimmer .trim-help{font:11px/1.6 Arial;color:#839b90;margin:11px 0 15px}.trim-actions{display:grid;grid-template-columns:1fr 1.2fr;gap:10px}.mid-trimmer .trim-actions button{font-size:11px!important;padding:12px 9px!important;min-height:43px;background:#142923!important;color:#e9fff4!important;border:1px solid #28473b!important;box-shadow:0 3px 0 #0b1914!important;border-radius:10px!important}.mid-trimmer .trim-actions #trimApply{color:#b2f0cc!important;border-color:#4e9e75!important}.mid-trimmer .trim-actions #trimCancel{grid-column:1/-1;color:#f3bdac!important}.mid-trimmer progress{width:100%;accent-color:#469d74;margin-top:15px}.mid-trimmer #trimStatus{font-size:12px;line-height:1.6;color:#43816b;margin:14px 0 6px}.mid-trimmer>small{display:block;font-size:10px;line-height:1.7;color:#96a89f}#shortUploadDialog{width:min(94vw,560px);max-height:90dvh}#shortUploadDialog #shortPreview{display:none!important}#shortUploadDialog input[type=file][hidden]{display:none!important}
.live-draft{max-width:600px;margin:15px auto 25px!important;padding:18px!important;border:1px solid #d7e5e1;border-radius:19px;background:#fff}.live-draft-camera{position:relative;background:#111f22;border-radius:13px;overflow:hidden;min-height:225px;display:grid;place-items:center}.live-draft-camera video{display:block;width:100%;height:clamp(230px,42dvh,430px);object-fit:cover;transform:scaleX(-1);background:#132228}.live-draft-camera>span{position:absolute;top:15px;left:15px;border:1px solid #ffffff30;background:#152e28bb;color:#c5e9d6;font:600 9px Arial;letter-spacing:1.2px;padding:7px 10px;border-radius:20px}.live-draft-camera #livePreviewRetry{position:absolute;bottom:22px;left:50%;transform:translateX(-50%);white-space:nowrap;background:#122c27!important;color:#d0f0db!important;border-color:#507d67!important;font-size:12px}.live-draft #livePreviewStatus{font:11px/1.6 Arial;color:#678d7a;min-height:17px;margin:9px 0 16px}.live-draft-identity{display:flex;align-items:center;gap:11px;background:#f6f9f8;border:1px solid #e5eeea;border-radius:10px;padding:12px 14px;margin-bottom:20px}.live-draft-avatar{display:grid;place-items:center;background:#e5efea;width:35px;height:35px;border-radius:50%;color:#78a08b;font-size:18px}.live-draft-identity small{display:block;font-size:9px;color:#92a69a!important}.live-draft-identity strong{font-size:13px;color:#345849;overflow-wrap:anywhere}.live-draft h2{font:24px Georgia!important;margin:4px 0 18px!important;color:#35564b!important}.live-draft>p:not(#livePreviewStatus){font-size:11px!important;line-height:1.7;color:#8d9e95}.live-draft #liveStart{width:100%;min-height:47px;color:#c5f3d7!important;background:#142c25!important;border:1px solid #4d8a67!important;box-shadow:0 4px 0 #092016!important}.live-draft input[type=hidden]{display:none!important}.live-page #liveRooms:empty{display:none}@media(max-width:650px){.mid-trimmer{padding:12px}.live-draft{padding:13px!important;border-radius:15px}.live-draft-camera video{height:30dvh;min-height:200px;max-height:290px}.trim-heading strong{font-size:13px}.trim-heading span{font-size:9px}.trim-actions button{font-size:10px!important}.mid-trimmer>video{height:27dvh;min-height:180px}}
/* MID live stage: large host with a compact right-hand cohost rail. */
.live-page .live-video-shell{max-width:620px;margin:0 auto;overflow:hidden;border:1px solid #a88742;border-radius:22px;background:#08090b;box-shadow:0 16px 45px #46351b30}.live-page .live-video-shell .live-stage,.live-page .live-video-shell .live-stage:has(.live-tile:only-child){display:grid!important;grid-template-columns:minmax(0,3fr) minmax(0,1fr)!important;grid-template-rows:repeat(var(--live-rows,1),minmax(0,1fr));gap:5px;padding:6px 6px 30px;aspect-ratio:9/14;min-height:0!important;height:auto;max-height:none;background:#08090b!important;align-items:stretch;overflow:hidden}.live-page .live-stage .live-tile{min-height:0!important;max-height:none!important;aspect-ratio:auto!important;order:0;grid-column:2;grid-row:auto;border:1px solid #8e713d!important;border-radius:9px;background:#171a20;overflow:hidden}.live-page .live-stage .live-tile[data-role="host"]{grid-column:1;grid-row:1/-1;order:-1;min-height:0!important;aspect-ratio:auto!important}.live-page .live-stage:not(:has([data-role="cohost"])):not(:has([data-role="screen"])) .live-tile[data-role="host"]{grid-column:1/-1}.live-page .live-stage .live-tile[data-role="cohost"]{grid-column:2;grid-row:auto;order:1}.live-page .live-stage .live-tile[data-role="screen"]{grid-column:1;grid-row:1/-1;order:-2;min-height:0!important;aspect-ratio:auto!important}.live-page .live-stage:has([data-role="screen"]) .live-tile[data-role="host"]{grid-column:2;grid-row:auto;order:0;min-height:0!important;aspect-ratio:auto!important}.live-page .live-stage video{height:100%;max-height:none;object-fit:cover}.live-page .live-stage [data-role="screen"] video{object-fit:contain}.live-page .live-stage .live-tile-name{left:3px;right:3px;bottom:4px;padding:5px;font:10px/1.2 Arial;background:#07090dba;border-radius:5px;color:#fff!important}.live-page .live-stage [data-role="host"] .live-tile-name{font-size:12px;padding:8px}.live-page .live-stage .live-camera-off{font:10px/1.4 Arial;color:#d9d1bd;text-align:center;padding:4px}.live-page .live-status-pill{background:#a5172c!important;color:#fff!important;border:1px solid #e7bb62}.live-page .live-reactions{max-width:620px;margin:14px auto;display:flex;flex-wrap:wrap;justify-content:center;gap:10px}.live-page .live-reactions .live-watching{background:#e5f2f9!important;color:#24526d!important;border-color:#93bad0!important}.live-page .live-heart-button{border-color:#da9b42!important;color:#f5cd7e!important}.live-page .live-title-block h2{font-size:24px}.live-page .live-session-actions{display:flex;gap:8px;flex-wrap:wrap}.live-page .live-session-actions .btn{min-height:40px;padding:10px 12px;font-size:12px}.live-tap-hint{color:#e9c77c!important;font:10px Arial}@media(min-width:760px){.live-page .live-video-shell{max-width:480px}.live-page .live-reactions{max-width:620px}}
.live-page .live-video-shell,.live-page .live-stage,.live-page .live-tile{box-sizing:border-box}.live-page .live-video-shell{width:100%}

/* MID immersive live: camera first, readable overlay and compact drawers. */
body:has(#livePlayer:not([hidden])){overflow:hidden!important}
.live-page #livePlayer:not([hidden]){position:fixed!important;inset:0!important;z-index:1100!important;display:block!important;margin:0!important;padding:0!important;overflow:hidden!important;background:#08090c!important;color:#fff!important;border:0!important;border-radius:0!important;isolation:isolate}
.live-page #livePlayer [hidden]{display:none!important}
.live-page #livePlayer .live-video-shell{position:absolute!important;inset:0!important;max-width:none!important;width:100%!important;height:100%!important;margin:0!important;border:0!important;border-radius:0!important;box-shadow:none!important}
.live-page #livePlayer .live-stage,.live-page #livePlayer .live-stage:has(.live-tile:only-child){height:100%!important;aspect-ratio:auto!important;padding:0!important;gap:3px!important;grid-template-columns:3fr 1fr!important}
.live-page #livePlayer .live-tile{border-radius:0!important;border:0!important}
.live-page #livePlayer .live-tile-name{bottom:36%!important;max-width:95%;background:#0006!important}
.live-page #livePlayer .live-tile[data-role="cohost"] .live-tile-name{bottom:4px!important}
.live-page #livePlayer:before{content:"";position:absolute;inset:0;z-index:1;pointer-events:none;background:linear-gradient(#0008,transparent 23%,transparent 48%,#000b 100%)}
.live-page #livePlayer .live-player-toolbar{position:absolute!important;z-index:4!important;top:env(safe-area-inset-top,0px)!important;left:0!important;right:0!important;display:flex!important;align-items:flex-start!important;gap:6px!important;background:transparent!important;border:0!important;box-shadow:none!important;padding:12px!important;margin:0!important;color:white!important}
.live-page #livePlayer .live-title-block{display:flex!important;align-items:center!important;gap:8px!important;min-width:0!important;flex:1!important}
.live-host-avatar{display:grid;place-items:center;flex-shrink:0;width:38px;height:38px;border:2px solid #e5bd69;border-radius:50%;background:#14151c;color:#f7d58c;font-weight:800}
.live-page #livePlayer #liveHostName{display:block;font-size:14px;color:white;max-width:140px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.live-page #livePlayer #liveRoomTitle{color:#fff!important;font-size:11px!important;line-height:1.3!important;margin:2px 0!important;max-width:180px!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.live-page #livePlayer .live-status-pill{font-size:9px!important;background:#d92143!important;color:white!important;padding:2px 5px!important;margin-top:3px;display:inline-block}
.live-page #livePlayer .live-session-actions{display:flex!important;gap:4px!important;justify-content:flex-end!important;flex-wrap:wrap!important;max-width:145px}
.live-page #livePlayer .btn{color:white!important;background:#1c1d25b8!important;border:1px solid #ffffff24!important;box-shadow:none!important;font-size:11px!important;min-height:34px!important;padding:7px 10px!important;border-radius:20px!important}
.live-page #livePlayer #liveLeave{font-size:0!important;width:32px;padding:0!important}
.live-page #livePlayer #liveLeave:after{content:"×";font-size:25px}
.live-page #livePlayer #liveEnd{background:#b62136!important}
.live-page #livePlayer .live-reactions{position:absolute!important;right:10px!important;bottom:calc(105px + env(safe-area-inset-bottom,0px))!important;z-index:3!important;display:flex!important;flex-direction:column!important;gap:10px!important;margin:0!important;padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important}
.live-page #livePlayer .live-reactions .btn{display:flex;flex-direction:column;align-items:center;gap:2px;width:46px;min-height:46px!important;font-size:20px!important;background:#0005!important;border:0!important;padding:6px!important}
.live-page #livePlayer .live-reactions b,.live-page #livePlayer .live-reactions small{font-size:10px!important;color:white!important}
.live-page #livePlayer #liveViewers{position:fixed!important;top:calc(86px + env(safe-area-inset-top,0px))!important;right:12px!important;font-size:11px!important;background:#0007!important;color:white!important;border:0!important;padding:5px 9px!important}
.live-page #livePlayer .live-chat-panel{position:absolute!important;bottom:calc(55px + env(safe-area-inset-bottom,0px))!important;left:12px!important;right:68px!important;z-index:3!important;padding:0!important;background:transparent!important;border:0!important;box-shadow:none!important;color:white!important;margin:0!important}
.live-page #livePlayer .live-chat-panel>h3{display:none!important}
.live-page #livePlayer #liveComments{max-height:25dvh!important;min-height:0!important;overflow:auto!important;background:transparent!important;border:0!important;padding:0!important;mask-image:linear-gradient(transparent,#000 12%)}
.live-page #livePlayer .short-comment{padding:5px 0!important;margin:0!important;background:transparent!important;border:0!important;color:white!important;font-size:12px!important;line-height:1.35!important;text-shadow:0 1px 3px #000}
.live-page #livePlayer .short-comment strong{color:#f5d48c!important;font-size:12px!important}
.live-page #livePlayer .short-comment p{color:white!important;margin:1px 0!important;overflow-wrap:anywhere}
.live-page #livePlayer .short-comment button{color:#d1d6e4!important;background:transparent!important;border:0;font-size:10px;padding:2px 7px 2px 0}
.live-page #livePlayer #liveCommentForm{display:flex!important;flex-wrap:wrap!important;align-items:center!important;gap:5px!important;margin:10px 0 0!important;padding:0!important;background:transparent!important;border:0!important}
.live-page #livePlayer #liveCommentForm label:has(#liveCommentName){display:none!important}
.live-page #livePlayer #liveCommentForm label:has(#liveCommentBody){font-size:0!important;flex:1!important;margin:0!important;min-width:0!important}
.live-page #livePlayer #liveCommentBody{box-sizing:border-box!important;width:100%!important;resize:none!important;min-height:37px!important;height:37px!important;margin:0!important;border-radius:22px!important;background:#ffffff22!important;border:1px solid #ffffff35!important;color:white!important;font-size:12px!important;padding:9px 12px!important}
.live-page #livePlayer #liveCommentBody::placeholder{color:#eee!important}
.live-page #livePlayer #liveReply{flex-basis:100%;font-size:11px;margin:0;color:#ffe1a4}
.live-page #livePlayer .live-cohosts,.live-page #livePlayer .live-broadcast-tools{position:absolute!important;bottom:calc(8px + env(safe-area-inset-bottom,0px))!important;z-index:5!important;width:auto!important;max-width:calc(100% - 24px)!important;max-height:65dvh!important;overflow:auto!important;border:1px solid #ffffff25!important;border-radius:18px!important;background:#171820ee!important;color:white!important;margin:0!important;padding:0!important;box-shadow:0 8px 24px #0004!important}
.live-page #livePlayer .live-cohosts{left:12px!important}
.live-page #livePlayer .live-broadcast-tools{right:12px!important}
.live-page #livePlayer details>summary{list-style:none;cursor:pointer;color:white!important;padding:10px 14px!important;font-size:12px!important;font-weight:700}
.live-page #livePlayer .live-cohosts[open],.live-page #livePlayer .live-broadcast-tools[open]{left:12px!important;right:12px!important;width:auto!important;padding:8px!important}
.live-page #livePlayer details[open]>summary{border-bottom:1px solid #ffffff26;margin-bottom:8px}
.live-page #livePlayer details p,.live-page #livePlayer details small,.live-page #livePlayer details h3,.live-page #livePlayer details label{color:#eee!important}
.live-page #livePlayer .live-creator-controls,.live-page #livePlayer .live-mic-panel,.live-page #livePlayer .live-present-tools,.live-page #livePlayer details .short-toolbar{background:transparent!important;border:0!important;box-shadow:none!important}
.live-page #livePlayer .live-incoming{position:absolute!important;z-index:6!important;top:calc(125px + env(safe-area-inset-top,0px))!important;left:12px!important;right:12px!important;max-height:35dvh!important;overflow:auto!important}
.live-page #livePlayer .live-incoming:empty{display:none}
.live-page #livePlayer .live-incoming-card,.live-page #livePlayer .live-invitation{background:#191b27ee!important;color:white!important;border:1px solid #e2b866!important;border-radius:15px!important;padding:12px!important}
.live-session-feedback{position:absolute;z-index:3;top:calc(95px + env(safe-area-inset-top,0px));left:12px;right:125px;font-size:10px!important;line-height:1.3;color:#ffffffb8!important;pointer-events:none;margin:0!important}
.live-page #livePlayer .live-tap-hint{display:none!important}
@media(min-width:700px){.live-page #livePlayer:not([hidden]){left:calc(50% - 260px)!important;right:calc(50% - 260px)!important;box-shadow:0 0 0 100vmax #08090cf5!important}.live-page #livePlayer #liveViewers{position:absolute!important;top:auto!important;bottom:calc(100dvh - 113px)!important;right:0!important;white-space:nowrap}}

.live-page #livePlayer .live-tile[data-role="host"]>.live-tile-name{display:none!important}
@media(min-width:700px){.live-page #livePlayer:not([hidden]){box-shadow:0 0 0 100vmax #08090c!important}.live-page #livePlayer #liveViewers{top:78px!important;bottom:auto!important;right:12px!important}}
.live-page #livePlayer .live-player-toolbar{flex-direction:row!important;flex-wrap:nowrap!important}
.live-page #livePlayer .live-session-actions{flex-shrink:0!important;align-items:center!important}
.live-page #livePlayer .short-comment{display:block!important}
.live-page #livePlayer .short-comment button{border:0!important;box-shadow:none!important}

.mid-gift-dialog{box-sizing:border-box;width:min(420px,calc(100% - 24px));max-height:85dvh;overflow:auto;padding:24px;border-radius:22px;border:1px solid #d2ad66;background:#171921!important;color:#fff!important;box-shadow:0 25px 80px #0009}.mid-gift-dialog::backdrop{background:#0009}.mid-gift-dialog h2,.mid-gift-dialog p,.mid-gift-dialog label{color:#fff!important}.mid-gift-dialog h2{font:700 23px Arial;margin:12px 0}.mid-gift-dialog p{font-size:13px;line-height:1.5}.mid-gift-dialog [data-gift-close]{float:right;border:0;background:transparent;color:white;font-size:26px;box-shadow:none;padding:0 5px}.mid-gift-dialog select{width:100%;margin:10px 0;padding:13px;background:#252833;color:#fff;border:1px solid #8b774e;border-radius:12px}.mid-gift-dialog button[type=submit]{width:100%;padding:13px;border:0;border-radius:12px;background:#edce8d;color:#171921;font-weight:800}.mid-gift-dialog a{color:#edce8d}.mid-gift-dialog [hidden]{display:none!important}.live-page #livePlayer .live-stage{touch-action:manipulation;-webkit-tap-highlight-color:transparent;user-select:none}.live-page #livePlayer #liveHeartsFX{display:none!important}

.live-page #livePlayer #liveLeave{font-size:11px!important;width:auto!important;padding:8px 10px!important;border:1px solid #ffffff80!important;background:#a52337!important;white-space:nowrap}.live-page #livePlayer #liveLeave:after{content:none!important}.live-page #livePlayer .live-session-actions{max-width:165px!important}.live-page #livePlayer .short-comment [data-live-reply],#shortComments .short-comment [data-short-reply]{display:inline-flex!important;float:none!important;align-items:center;padding:5px 9px!important;margin:3px 4px 4px 0!important;border:1px solid #c99e4e!important;border-radius:12px!important;background:#241e14!important;color:#ffe5ac!important;font-size:11px!important;font-weight:700!important;min-height:28px!important;cursor:pointer}#shortReplyContext,.live-page #livePlayer #liveReply{padding:7px 9px!important;border-left:3px solid #cfaa65;border-radius:5px;background:#211e17e8!important;color:#ffe5ac!important;overflow-wrap:anywhere}.live-page #livePlayer #liveCancelReply{font-size:10px!important;max-width:100%}

.co-topup-settings{border:1px solid #c9ad73;border-radius:16px;background:#fffaf0;padding:18px;margin:0 0 24px}.co-topup-settings legend{font-weight:800;padding:0 8px;color:#70531d}.co-topup-settings p{font-size:13px;line-height:1.5;color:#435369}

/* MID short-video feed: immersive portrait with actions on the right. */
.mid-create-nav{display:none!important}
body:has(.short-home){background:#080808!important;overflow:hidden!important}
body:has(.short-home) .mid-bottom-nav{background:#080808!important;border-top:1px solid #333!important;display:flex!important;justify-content:space-around!important;align-items:center!important;padding-bottom:env(safe-area-inset-bottom,0px)!important}
body:has(.short-home) .mid-bottom-nav a{flex:1!important;min-width:0!important;background:transparent!important;color:#fff!important;border:0!important;border-radius:0!important;box-shadow:none!important;padding:8px 3px!important;font-size:10px!important;display:flex;flex-direction:column;gap:4px;align-items:center;text-align:center;justify-content:center;min-height:55px!important}
body:has(.short-home) .mid-bottom-nav a:before{font-size:24px;line-height:1;content:'◉'}
body:has(.short-home) .mid-bottom-nav a[href$="#overview"]:before{content:'⌂'}
body:has(.short-home) .mid-bottom-nav a[href$="#live"]:before{content:'◉'}
body:has(.short-home) .mid-bottom-nav a[href="/history"]:before{content:'▤'}
body:has(.short-home) .mid-bottom-nav .mid-create-nav{display:flex!important;order:2!important;flex:0 0 52px!important;font-size:30px!important;min-height:48px!important;height:48px!important;border-radius:50%!important;background:#272727!important;margin:3px 8px!important}
body:has(.short-home) .mid-bottom-nav .mid-create-nav:before{content:none}
body:has(.short-home) .mid-bottom-nav a[href$="#overview"]{order:0}body:has(.short-home) .mid-bottom-nav a[href$="#live"]{order:1}body:has(.short-home) .mid-bottom-nav a[href="/history"]{order:3}body:has(.short-home) .mid-bottom-nav a[href="/profile"]{order:4}
.short-home>#shortFeed.short-reels{position:fixed!important;top:var(--mid-feed-top,145px)!important;bottom:var(--mid-feed-bottom,65px)!important;left:0!important;right:0!important;width:100%!important;max-width:520px!important;max-height:none!important;margin:0 auto!important;border:0!important;border-radius:0!important;background:#080808!important;z-index:30!important;scrollbar-width:none!important}
.short-home>#shortFeed.short-reels::-webkit-scrollbar{display:none}
.short-home #shortFeed .short-reel[data-short-id]{display:block!important;position:relative!important;height:100%!important;min-height:100%!important;max-height:none!important;width:100%!important;overflow:hidden!important;border-radius:0!important;border:0!important;background:#080808!important;scroll-snap-align:start;scroll-snap-stop:always;isolation:isolate}
.short-home #shortFeed .short-reel[data-short-id]>video{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;max-height:none!important;object-fit:cover!important;background:#080808!important;z-index:0!important}
.short-home #shortFeed .short-reel[data-short-id]:after{content:'';position:absolute;inset:0;z-index:1;pointer-events:none;background:linear-gradient(transparent 45%,#0001 60%,#000b 100%)}
.short-home #shortFeed .short-reel[data-short-id]>.short-caption{position:absolute!important;z-index:3!important;left:14px!important;right:75px!important;top:auto!important;max-width:none!important;max-height:none!important;margin:0!important;padding:0!important;color:#fff!important;pointer-events:auto!important;text-shadow:0 1px 4px #0009}
.short-home #shortFeed .short-author{display:flex!important;align-items:center!important;gap:7px!important;min-width:0!important;flex-wrap:nowrap!important;background:transparent!important}
.short-home #shortFeed .short-author>img{width:32px!important;height:32px!important;border-radius:50%!important;flex-shrink:0;object-fit:cover}
.short-home #shortFeed .short-author>a{display:block!important;min-width:0!important;flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px!important;font-weight:700!important;color:white!important;text-decoration:none}
.short-home #shortFeed .short-author .video-follow{flex-shrink:0!important;border-radius:22px!important;border:0!important;padding:9px 12px!important;background:#fff!important;color:#111!important;box-shadow:none!important;font-size:11px!important;font-weight:750!important;min-height:34px!important;max-width:105px;white-space:nowrap}
.short-home #shortFeed .short-caption p{font-size:13px!important;line-height:1.45!important;display:-webkit-box!important;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;margin:10px 0 6px!important;color:#fff!important}
.short-home #shortFeed .short-caption small{font-size:10px!important;color:#ffffffbb!important}
.short-home #shortFeed .short-reel>.video-engagement-bar{position:absolute!important;z-index:4!important;right:9px!important;left:auto!important;bottom:20px!important;top:auto!important;width:55px!important;display:flex!important;flex-direction:column!important;gap:12px!important;padding:0!important;margin:0!important;background:transparent!important;border:0!important;box-shadow:none!important;overflow:visible!important}
.short-home #shortFeed .video-engagement-bar>*{display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:3px!important;width:55px!important;min-width:0!important;min-height:37px!important;max-width:55px!important;padding:0!important;margin:0!important;background:transparent!important;border:0!important;box-shadow:none!important;text-align:center!important;color:#fff!important;text-shadow:0 1px 3px #000;font-size:11px!important;text-decoration:none!important;font-weight:500!important}
.short-home #shortFeed .video-engagement-bar button span{font-size:34px!important;line-height:1.1!important;font-weight:400!important;display:block}
.short-home #shortFeed .video-engagement-bar button[aria-pressed=true]{color:#ff506b!important}
.short-home #shortFeed .video-engagement-bar b{font-size:12px!important;color:inherit!important;font-weight:600!important}
.short-home #shortFeed .video-engagement-bar .video-total{order:6!important;font-size:9px!important;line-height:1.2!important;min-height:20px!important;color:#fffc!important}
.short-home #shortFeed .video-engagement-bar .video-profile{font-size:28px!important;min-height:33px!important;border-radius:9px!important;background:#ffffff16!important;width:37px!important;margin:auto!important}
.short-home #shortFeed .video-engagement-bar [data-gift-kind]{font-size:28px!important;line-height:1.1!important}
.short-home #shortFeed .video-engagement-bar [data-gift-kind] small{font-size:10px!important;color:#fff!important}
.short-home #shortFeed .short-reel>.video-sound-row{position:absolute!important;left:10px!important;top:10px!important;right:auto!important;bottom:auto!important;z-index:4!important;padding:0!important;background:transparent!important}
.short-home #shortFeed .video-sound{background:#0005!important;color:#fff!important;border:1px solid #fff3!important;border-radius:18px!important;box-shadow:none!important;font-size:10px!important;padding:7px 10px!important;min-height:30px!important}
.short-home #shortFeed .short-reel>.video-owner-actions{position:absolute!important;top:10px!important;right:10px!important;bottom:auto!important;left:auto!important;z-index:4!important;display:flex!important;gap:5px!important;background:transparent!important}
.short-home #shortFeed .video-owner-actions button{background:#0007!important;color:#fff!important;font-size:10px!important;border:1px solid #fff4!important;border-radius:16px!important;padding:7px!important}
.short-home #shortFeed .short-reel>.mid-feed-publish{position:absolute!important;bottom:0!important;width:auto!important;z-index:4!important;background:transparent!important;display:block!important;padding:0!important;height:20px!important}
.short-home #shortFeed .mid-feed-publish .video-create{display:none!important}
.short-home #shortFeed .mid-feed-publish .video-market{display:inline!important;background:transparent!important;border:0!important;box-shadow:none!important;color:#ddd!important;font-size:9px!important;padding:0!important;min-height:0!important}
.short-home #shortFeed .short-reel:has(.short-video-ad:not([hidden]))>.short-caption{bottom:90px!important}
.short-home #shortFeed .short-video-ad{position:absolute!important;bottom:20px!important;top:auto!important;left:10px!important;right:75px!important;border:1px solid #ffffff35!important;border-radius:12px!important;padding:7px!important;background:#111c!important;z-index:4!important;box-shadow:none!important}
.short-home #shortFeed .short-video-ad>img{width:42px!important;height:44px!important}
.short-home #shortFeed .short-video-ad strong{font-size:11px!important;margin:0!important;color:white!important}
.short-home #shortFeed .short-video-ad small,.short-home #shortFeed .short-ad-description{display:none!important}
.short-home #shortFeed .short-video-ad a{padding:7px!important;font-size:10px!important}
@media(max-height:650px){.short-home #shortFeed .short-reel>.video-engagement-bar{gap:5px!important}.short-home #shortFeed .video-engagement-bar button span{font-size:27px!important}.short-home #shortFeed .short-caption p{-webkit-line-clamp:1!important}}

html:not(.mid-haitian) body:has(.short-home) .mid-bottom-nav a[href="/history"]{display:none!important}

.short-home #shortFeed .mid-video-progress{position:absolute;left:0;right:0;bottom:0;height:2px;background:#ffffff38;z-index:6;pointer-events:none}.short-home #shortFeed .mid-video-progress span{display:block;height:100%;width:100%;transform:scaleX(0);transform-origin:left;background:#ee2449}.short-home #shortFeed .video-engagement-bar svg{display:block;width:29px;height:29px;margin:0 auto 2px}.short-home #shortFeed [data-short-like][aria-pressed=true] svg{fill:#ff506b}
body:has(.short-home) .workspace,body:has(.short-home) main,body:has(.short-home) #page{background:#080808!important}
.short-home #shortFeed .short-reel[data-short-id]>.short-caption{bottom:35px!important}
.short-home #shortFeed .short-reel>.mid-feed-publish{height:16px!important;display:flex!important}
.short-home #shortFeed .mid-feed-publish .video-market{line-height:1.2!important;color:#f4f4f4!important;white-space:nowrap!important}
.short-home #shortFeed .short-reel:has(.short-video-ad:not([hidden]))>.short-caption{bottom:100px!important}

/* Compact campaign display: product image, title and WhatsApp. */
#midHeaderAds .ad-slot{height:94px!important;min-height:94px!important;max-height:94px!important;grid-template-rows:18px 64px!important;padding:4px 8px!important}
.ad-slot .ad-slot-heading,#midHeaderAds .ad-slot-heading{height:18px!important;margin:0!important;justify-content:center!important}
.ad-campaign-link{font-size:11px!important;line-height:18px!important;font-weight:750!important;text-decoration:underline!important;text-underline-offset:2px;color:#805310!important}
.ad-slot .ad-creative,#midHeaderAds .ad-creative{display:flex!important;height:64px!important;min-height:0!important;gap:9px!important}
.ad-slot .ad-creative>img,#midHeaderAds .ad-creative>img{width:100px!important;height:64px!important;max-height:64px!important;background:#f3f3f3!important;border-radius:8px!important;flex-shrink:0!important}
.ad-slot .ad-creative>div,#midHeaderAds .ad-creative>div{flex:1!important;min-width:0!important}
.ad-slot .ad-creative h3,#midHeaderAds .ad-creative h3{font:700 15px/1.2 Arial!important;margin:0!important;-webkit-line-clamp:3!important;color:#1d344b!important}
html body .mid-ad-whatsapp,html body #midHeaderAds .mid-ad-whatsapp,.short-home #shortFeed .short-video-ad .mid-ad-whatsapp{display:grid!important;place-items:center!important;flex:0 0 34px!important;width:34px!important;height:34px!important;min-height:34px!important;padding:0!important;border:0!important;border-radius:50%!important;background:#1aa85a!important;color:white!important;box-shadow:none!important;text-decoration:none!important}
.mid-ad-whatsapp svg{display:block;width:25px;height:25px}
.short-home #shortFeed .short-video-ad>img{width:64px!important;height:46px!important;object-fit:contain!important;background:#fff!important}
.short-home #shortFeed .short-video-ad{height:60px!important;bottom:48px!important}
.short-home #shortFeed .short-reel>.mid-feed-publish{height:32px!important;bottom:8px!important;left:12px!important;right:75px!important;align-items:center!important}
.short-home #shortFeed .mid-feed-publish .video-market,.video-publish-row>.video-market{display:inline-flex!important;align-items:center!important;justify-content:center!important;min-height:30px!important;padding:7px 15px!important;background:#171717!important;border:1px solid #e9c478!important;border-radius:18px!important;color:#ffe4a2!important;font-size:12px!important;font-weight:800!important;box-shadow:0 2px 0 #6c501e!important;line-height:1.2!important}
.short-home #shortFeed .short-reel[data-short-id]>.short-caption{bottom:52px!important}
.short-home #shortFeed .short-reel:has(.short-video-ad:not([hidden]))>.short-caption{bottom:118px!important}

.short-home #shortFeed .short-reel>.video-publish-row{display:none!important}
.short-home #shortFeed .short-reel[data-short-id]>.short-caption{bottom:22px!important}
.short-home #shortFeed .short-video-ad{bottom:18px!important}
.short-home #shortFeed .short-reel:has(.short-video-ad:not([hidden]))>.short-caption{bottom:88px!important}
html body .mid-bottom-nav .mid-store-nav,body:has(.short-home) .mid-bottom-nav .mid-store-nav{order:1!important;flex:0 1 82px!important;background:#171717!important;color:#ffe4a2!important;border:1px solid #e9c478!important;border-radius:16px!important;box-shadow:0 2px 0 #6c501e!important;font-size:12px!important;font-weight:800!important;margin:4px!important;min-height:44px!important;padding:5px 8px!important;gap:2px!important}
body:has(.short-home) .mid-bottom-nav .mid-store-nav:before{content:'▧'!important;font-size:21px!important}
.mid-create-menu{width:min(360px,calc(100% - 32px));box-sizing:border-box;padding:24px;border-radius:22px;background:#16181e!important;color:white!important;border:1px solid #c8a35d!important;box-shadow:0 20px 70px #0009!important}
.mid-create-menu::backdrop{background:#0009}
.mid-create-menu h2{font:750 23px Arial;color:white!important;margin:12px 0 24px}
.mid-create-menu .mid-create-close{float:right;background:transparent!important;color:#fff!important;border:0!important;box-shadow:none!important;font-size:24px!important;padding:0 4px!important}
.mid-create-menu>a{display:flex;align-items:center;justify-content:center;padding:18px 14px;margin:12px 0;border-radius:15px;text-decoration:none;font:700 16px Arial;background:#080808;color:#a6d6ff;border:1px solid #75b9ee;box-shadow:0 3px 0 #284964}
.mid-create-menu>.mid-create-live{border-color:#e1ad73;color:#ffe0ad;box-shadow:0 3px 0 #695034}
.mid-create-menu a:focus-visible{outline:3px solid white;outline-offset:4px}

.video-product-contact{display:flex;flex-direction:column;align-items:center;gap:4px}.short-video-ad .video-owner-country{display:block!important;letter-spacing:0!important;font-size:10px!important;color:inherit!important}.video-product-details{background:transparent!important;border:0!important;box-shadow:none!important;text-align:left!important;padding:0!important;cursor:pointer!important}.video-product-dialog{width:min(400px,calc(100% - 24px));max-height:85dvh;overflow:auto;border-radius:18px;padding:22px;background:#fff!important;color:#172a40!important;box-sizing:border-box}.video-product-dialog::backdrop{background:#0009}.video-product-dialog>img{width:100%;max-height:40dvh;object-fit:contain;border-radius:10px}.video-product-dialog h2{font:700 22px Arial}.video-product-close{float:right}.video-product-country,.market-seller-country{font-weight:700;font-size:14px;margin:16px 0 8px}

.short-video-ad>.video-product-image{flex:0 0 56px!important;width:56px!important;height:52px!important;padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important}.video-product-image img{width:100%;height:100%;object-fit:contain;border-radius:7px}

.video-product-dialog>a.button{display:block;text-align:center;padding:13px 18px!important;min-height:44px!important;border-radius:12px!important;text-decoration:none!important;font-weight:700!important}

.mid-view-translation{display:flex;flex-direction:column;align-items:center;gap:4px}.mid-content-translate{font:600 11px/1.3 Arial!important;min-height:30px!important;padding:5px 7px!important;border-radius:9px!important;background:#111c!important;color:#fff!important;border:1px solid #ffffff70!important;box-shadow:none!important;max-width:95px;cursor:pointer}.mid-content-translate[aria-pressed="true"]{color:#ffe09e!important;border-color:#eac978!important}.mid-caption-output:empty,.mid-translation-message:empty{display:none}.short-reel,.profile-video-card,#livePlayer{position:relative}.mid-caption-output{position:absolute;bottom:190px;left:7%;right:22%;z-index:6;background:#000c;color:#fff!important;border-radius:8px;padding:9px 12px;text-align:center;font:600 17px/1.4 Arial;pointer-events:none;white-space:pre-wrap;overflow-wrap:anywhere;max-height:30%;overflow:hidden}.mid-translation-message{font:11px/1.4 Arial;color:#fff;background:#000b;border-radius:7px;padding:5px 8px;position:absolute;top:14px;left:12px;right:80px;z-index:6;pointer-events:none}#livePlayer>.mid-caption-output{position:sticky;bottom:90px;left:auto;right:auto;margin:8px 16px;max-height:140px}#livePlayer>.mid-translation-message{position:static;background:#172635;color:white;margin:5px 12px}.profile-video-card>.mid-caption-output{bottom:155px;font-size:14px}

.mid-language-dialog{width:min(92vw,390px);max-height:85dvh;overflow:auto;border:1px solid #ad8846;border-radius:22px;padding:25px;background:#141316;color:#fff4dd;box-shadow:0 20px 65px #0007}.mid-language-dialog::backdrop{background:#0009}.mid-language-dialog h2{font:800 24px/1.2 Arial;color:#f2d394;margin:0 0 12px}.mid-language-dialog p{font:14px/1.6 Arial;color:#d0c7b8}.mid-language-options{display:grid;gap:10px;margin:20px 0}.mid-language-options button{min-height:49px;padding:12px 16px;border:1px solid #665237;border-radius:12px;background:#242026;color:#f7ead1;font:600 17px Arial;text-align:left;cursor:pointer}.mid-language-options button[aria-pressed=true]{border-color:#f2cc7c;background:#46351b}.mid-language-close{width:100%;min-height:44px;border:1px solid #68563d;border-radius:12px;background:transparent;color:#ebd3a8;font:600 14px Arial;cursor:pointer}

/* Persistent available balance: reserve its own space above ads and videos. */
html.mid-has-balance body{padding-top:34px!important}
html.mid-has-balance .workspace:has(.short-home)>.fixed-reader-header{top:34px!important}
#midAvailableBalance{position:fixed;inset:0 0 auto;z-index:45;height:34px;box-sizing:border-box;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:0 max(12px,env(safe-area-inset-left));background:#080808;color:#f0d18b;border-bottom:1px solid #7d673a;font:600 12px/1.2 Arial,sans-serif}
#midAvailableBalance a{display:flex;align-items:center;gap:7px;min-height:32px;color:#f0d18b;text-decoration:none;white-space:nowrap}
#midAvailableBalance strong{color:#fff;font-variant-numeric:tabular-nums}
#midAvailableBalance .mid-balance-topup{color:#91e4b4}
#midAvailableBalance a:focus-visible{outline:2px solid #f0d18b;outline-offset:1px}
@media(max-width:360px){#midAvailableBalance{font-size:11px;gap:5px;padding-inline:8px}#midAvailableBalance a{gap:4px}}

#midAvailableBalance [data-balance-pending]{color:#f0d18b;font-size:10px;font-variant-numeric:tabular-nums}
#midAvailableBalance>a:first-child{min-width:0;flex-wrap:nowrap;gap:5px}
#balPending{color:#866014}
@media(max-width:480px){#midAvailableBalance{gap:5px;padding-inline:8px;font-size:11px}#midAvailableBalance .mid-balance-topup{justify-content:center;min-width:28px;font-size:20px}#midAvailableBalance .mid-balance-topup span{display:none}}
@media(max-width:340px){#midAvailableBalance{font-size:10px}#midAvailableBalance [data-balance-pending]{font-size:9px}#midAvailableBalance>a:first-child{gap:3px}}

.mp-admin-filters{display:flex;flex-wrap:wrap;align-items:end;gap:12px;margin:16px 0}.mp-admin-filters label{flex:1 1 190px}.mp-recharge-card{padding:14px;margin:10px 0;border:1px solid #d5dce5;border-radius:12px;background:#fff;overflow-wrap:anywhere}.mp-recharge-card h4{margin:0 0 8px}.mp-recharge-card p{margin:5px 0;font-size:13px}.market-manage .market-actions{display:flex;flex-wrap:wrap;gap:7px}

/* Open advertising layout, with no image frame or outer card. */
.fixed-reader-header:has(#midHeaderAds) .topbar{padding:3px 4px!important}
#midHeaderAds .ad-slot,.ad-slot{border:0!important;border-radius:0!important;box-shadow:none!important;background:transparent!important}
#midHeaderAds .ad-slot{padding:2px 0!important;grid-template-rows:18px 70px!important;row-gap:2px!important}
.ad-slot .ad-creative,#midHeaderAds .ad-creative{height:70px!important;gap:6px!important;background:transparent!important}
.ad-slot .ad-creative>img,#midHeaderAds .ad-creative>img{width:76px!important;height:70px!important;max-height:70px!important;object-fit:contain!important;background:transparent!important;border:0!important;border-radius:0!important;padding:0!important;box-shadow:none!important}
.ad-slot .ad-creative>div,#midHeaderAds .ad-creative>div{padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important}
.ad-slot .ad-creative h3,#midHeaderAds .ad-creative h3{font:700 16px/1.08 Arial!important;-webkit-line-clamp:4!important;overflow-wrap:anywhere}

/* Discovery precedes, and does not replace, the vertical player. */
.mid-discovery{max-width:1000px;margin:0 auto;padding:12px 10px 24px}.mid-discovery-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:4px 0 14px}.mid-discovery-heading h1{font-size:24px;margin:0}.mid-discovery-heading span{font-size:12px;color:#76603a}.mid-discovery-grid{display:grid;gap:20px 10px}.mid-discovery-tile{display:block;min-width:0;text-decoration:none;color:#171717}.mid-discovery-picture{position:relative;aspect-ratio:9/14;background:linear-gradient(145deg,#272727,#554326);border-radius:12px;overflow:hidden;isolation:isolate}.mid-discovery-picture>img{position:absolute;width:100%;height:100%;object-fit:cover;inset:0}.mid-thumbnail-placeholder{position:absolute;inset:0;display:grid;place-items:center;color:#ddc28a;font-size:32px}.mid-discovery-picture:after{content:"";position:absolute;inset:50% 0 0;background:linear-gradient(transparent,rgba(0,0,0,.85));z-index:1}.mid-discovery-picture strong{position:absolute;bottom:12px;left:10px;right:10px;z-index:2;color:#fff;font-size:15px;line-height:1.3;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.mid-discovery-duration{position:absolute;top:8px;right:8px;background:#0009;color:#fff;border-radius:5px;padding:2px 5px;font-size:11px;z-index:2}.mid-discovery-author{display:flex;align-items:center;gap:6px;margin-top:8px;font-size:13px;font-weight:600;min-width:0}.mid-discovery-author img{width:25px;height:25px;border-radius:50%;object-fit:cover}.mid-discovery-author span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mid-discovery-tile>small{display:block;color:#626262;font-size:12px;margin-top:3px}.mid-discovery-back{position:fixed;top:calc(var(--mid-balance-height,34px) + 110px);left:12px;z-index:45;background:#000b;color:#fff!important;border:1px solid #fff6;border-radius:9px;padding:7px 12px;font-size:23px;text-decoration:none}.workspace:has(.mid-discovery)>.fixed-reader-header{position:sticky;top:34px;z-index:35}.mid-discovery #midDiscoveryMore{display:block;margin:22px auto}.mid-discovery #midDiscoveryMore[hidden]{display:none}@media(min-width:760px){.mid-discovery-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:22px 16px}}

/* Edge-to-edge two-column discovery, with only the two visible previews playing. */
.workspace:has(.mid-discovery){display:block!important;width:100%!important;max-width:none!important;margin:0!important}.workspace:has(.mid-discovery)>main,.workspace:has(.mid-discovery) #page{width:100%!important;max-width:none!important;padding:0!important;margin:0!important}.workspace:has(.mid-discovery)>footer{display:none}.mid-discovery{width:100%;max-width:none;margin:0;padding:0 0 20px;box-sizing:border-box}.mid-discovery-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 2px;width:100%}.mid-discovery-picture{aspect-ratio:9/16;border-radius:0}.mid-discovery-picture>video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;pointer-events:none}.mid-discovery-author{margin:7px 8px 0;font-size:14px}.mid-discovery-tile>small{margin:3px 8px 0}.mid-discovery-picture strong{font-size:16px;bottom:10px}.mid-discovery #midDiscoveryStatus:empty{display:none}.mid-discovery #midDiscoveryStatus{padding:0 10px}.mid-discovery-preview::-webkit-media-controls{display:none!important}
.mid-content-text-preview{position:absolute;inset:0;margin:0;padding:30px 14px 18px;display:flex;align-items:center;justify-content:center;text-align:center;font-size:clamp(17px,3.6vw,30px);line-height:1.4;color:#fff;white-space:pre-wrap;overflow:hidden;overflow-wrap:anywhere;background:linear-gradient(150deg,#273c50,#16181e)}.mid-content-tile:has(.mid-content-text-preview) .mid-discovery-picture:after{display:none}.mid-content-reel{background:#1b2533!important;display:flex!important;flex-direction:column;justify-content:center;align-items:stretch}.mid-content-reel>img{width:100%;max-height:72%;object-fit:contain}.mid-content-reel-copy{padding:20px;color:#fff;max-height:45%;overflow:auto}.mid-content-reel-copy p{white-space:pre-wrap;overflow-wrap:anywhere;color:#fff!important}.mid-content-reel-copy>a{color:#e3c58c;font-weight:bold}.mid-content-dialog{width:min(94vw,560px);max-height:88dvh;overflow:auto;box-sizing:border-box;background:#fff;color:#18283b;border:1px solid #b99453;border-radius:18px;padding:20px}.mid-content-dialog::backdrop{background:#000b}.mid-content-dialog label{display:grid;gap:8px;margin:14px 0}.mid-content-dialog textarea,.mid-content-dialog select{width:100%;padding:12px;box-sizing:border-box;font:inherit}.mid-content-dialog img{display:block;width:100%;max-height:65dvh;object-fit:contain;margin-top:15px}.mid-content-body{white-space:pre-wrap;overflow-wrap:anywhere}.mid-content-dialog button,.mid-create-menu>[data-mid-compose]{padding:12px;border-radius:10px;border:1px solid #bb9659;background:#151515;color:#efd09a;cursor:pointer}.mid-content-dialog [hidden]{display:none}.mid-create-menu>[data-mid-compose]{display:block;width:100%;margin:12px 0;text-align:center;min-height:48px}

.mid-auto-sentinel{display:block;height:1px;width:100%;pointer-events:none;overflow:hidden}.short-reels>.mid-auto-sentinel{scroll-snap-align:none;min-height:1px;flex-shrink:0}.short-home:not(:has(#shortModeration)) #shortMore{display:none!important}

.mid-discovery-preview::-webkit-media-controls-start-playback-button,.mid-discovery-preview::-webkit-media-controls-play-button,.short-reel>video::-webkit-media-controls-start-playback-button{display:none!important;-webkit-appearance:none}.live-page .live-video-shell>.live-flip-quick{position:absolute;top:12px;right:12px;z-index:30;background:#000b!important;color:#f3d491!important;border:1px solid #d5b564!important;border-radius:24px!important;min-height:44px;padding:9px 15px!important;touch-action:manipulation}.live-page .live-flip-quick[hidden]{display:none!important}

.mid-discovery-preview::-webkit-media-controls-overlay-play-button,.short-reel>video::-webkit-media-controls-overlay-play-button{display:none!important}

.mid-discovery-picture>.mid-video-cover{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block;pointer-events:none}

.short-reel>.short-start-cover{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;object-fit:cover!important;z-index:1;pointer-events:none;background:#101820}.short-reel>.short-start-cover[hidden]{display:none!important}.short-reel .short-caption,.short-reel .short-actions{z-index:3}

/* One full-width advertising row, aligned with the home feed. */
.workspace>.fixed-reader-header:has(#midHeaderAds){width:100%;max-width:100%;margin:0;box-sizing:border-box;transform:none}
.workspace>.fixed-reader-header:has(#midHeaderAds) .topbar{display:grid!important;grid-template-columns:minmax(0,1fr)!important;width:100%!important;max-width:100%!important;height:auto!important;min-height:0!important;margin:0!important;padding:3px 8px!important;gap:0!important;box-sizing:border-box}
.workspace>.fixed-reader-header:has(#midHeaderAds) .breadcrumb{display:none!important}
#midHeaderAds{display:block;width:100%!important;min-width:0;max-width:470px!important;margin:0 auto!important;box-sizing:border-box}
#midHeaderAds .ad-slot{width:100%!important;min-width:0!important;margin:0!important;box-sizing:border-box;overflow:hidden}
#midHeaderAds .ad-creative{width:100%!important;min-width:0!important;box-sizing:border-box}
#midHeaderAds .ad-creative>img{flex:0 0 76px!important}
#midHeaderAds .ad-creative>div{flex:1 1 0!important;min-width:0!important;max-width:100%;overflow:hidden}
#midHeaderAds .ad-creative a{flex-shrink:0}
.workspace:has(.mid-discovery),.workspace:has(.short-home){min-width:0!important;transform:none!important}
.workspace:has(.mid-discovery)>main,.workspace:has(.short-home)>main{box-sizing:border-box;min-width:0!important;max-width:100%!important;margin-inline:auto!important}
#midAvailableBalance>a:first-child{overflow:hidden;flex:1;white-space:nowrap}
#midAvailableBalance .mid-balance-topup{flex-shrink:0}

/* Stable home frame: balance, advertising, then content, without sticky offsets. */
html:has(.mid-discovery),html:has(.short-home){width:100%;max-width:100%;overflow-x:clip;--mid-balance-height:0px}
html.mid-has-balance:has(.mid-discovery),html.mid-has-balance:has(.short-home){--mid-balance-height:34px}
body:has(.mid-discovery),body:has(.short-home){margin:0!important;width:100%!important;max-width:100%!important;box-sizing:border-box}
.workspace:has(.mid-discovery),.workspace:has(.short-home){margin:0!important;padding:0!important;width:100%!important;max-width:none!important;position:static!important}
.workspace:has(.mid-discovery)>.fixed-reader-header,.workspace:has(.short-home)>.fixed-reader-header{position:fixed!important;inset:var(--mid-balance-height) 0 auto!important;top:var(--mid-balance-height)!important;width:100%!important;max-width:none!important;height:100px!important;margin:0!important;padding:0!important;box-shadow:none!important;border:0!important;z-index:35!important}
.workspace:has(.mid-discovery)>.fixed-reader-header .topbar,.workspace:has(.short-home)>.fixed-reader-header .topbar{height:100px!important;padding:3px 8px!important;border:0!important;align-content:start!important}
.workspace:has(.short-home)>.fixed-reader-header .topbar{max-width:520px!important;margin:0 auto!important}
.workspace #midHeaderAds{max-width:none!important;width:100%!important;margin:0!important;padding:0!important}
.workspace:has(.mid-discovery)>main{padding-top:100px!important;min-height:0!important}
.workspace:has(.short-home)>main{padding:0!important;min-height:0!important}
.mid-discovery,.mid-discovery-grid,.short-home{margin-inline:0!important;max-width:100%!important;box-sizing:border-box}
body:has(.mid-discovery){overflow-y:auto!important}
html body .mid-bottom-nav>a[href="/tv"]{display:none!important}

.mid-bottom-nav>a[href$="#overview"]{order:0!important}.mid-bottom-nav>.mid-store-nav{order:1!important}.mid-bottom-nav>.mid-create-nav{order:2!important}.mid-bottom-nav>a[href="/profile"]{order:3!important}

/* Three visible destinations occupy three equal columns; the shop is central. */
html body .mid-bottom-nav,html body:has(.short-home) .mid-bottom-nav{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;align-items:center!important;justify-content:center!important;gap:10px!important;padding:9px max(12px,env(safe-area-inset-left)) calc(9px + env(safe-area-inset-bottom))!important;box-sizing:border-box;width:100%;margin:0!important}
html body .mid-bottom-nav>a[href$="#overview"]{grid-column:1!important;grid-row:1!important;order:0!important}
html body .mid-bottom-nav>.mid-store-nav{grid-column:2!important;grid-row:1!important;order:1!important;width:100%!important;min-width:0!important;margin:0!important;min-height:54px!important;background:#241e12!important;color:#ffe1a0!important;border:2px solid #d6b36d!important;box-shadow:0 3px 0 #755620!important;font-size:14px!important}
html body .mid-bottom-nav>a[href="/profile"]{grid-column:3!important;grid-row:1!important;order:2!important}
html body .mid-bottom-nav>a:not(.mid-create-nav){width:100%!important;min-width:0!important;max-width:none!important;margin:0!important;box-sizing:border-box;justify-self:center;min-height:50px!important;text-align:center}
html body:has(.short-home) .mid-bottom-nav>.mid-create-nav{position:absolute!important;right:14px!important;bottom:calc(100% + 12px)!important;left:auto!important;width:48px!important;height:48px!important;min-height:48px!important;margin:0!important;background:#202020!important;border:1px solid #d6b36d!important;color:#ffe1a0!important;box-shadow:0 2px 8px #0008!important}

html body .short-home #shortFeed .short-author>a.short-avatar-link{display:flex!important;align-items:center;justify-content:center;flex:0 0 40px!important;width:40px!important;height:40px!important;min-width:40px!important;max-width:40px!important;padding:0!important;border-radius:50%;overflow:hidden;pointer-events:auto!important;touch-action:manipulation}
.short-author>.short-avatar-link>img{display:block;width:34px;height:34px;border-radius:50%;object-fit:cover}.short-avatar-link:focus-visible{outline:3px solid #eacb83;outline-offset:2px}

/* Header follows actual content, including when campaign slot is hidden. */
.workspace:has(.short-home)>.fixed-reader-header{height:auto!important;min-height:0!important;background:#080808!important}
.workspace:has(.short-home)>.fixed-reader-header .topbar{height:auto!important;min-height:0!important;padding:0!important;display:flex!important;flex-direction:column!important;gap:0!important;background:#080808!important}
#midOnlineLive{display:flex;align-items:center;justify-content:center;gap:6px;width:100%;height:26px;box-sizing:border-box;background:#080808;color:#e8cb87;font:600 12px/1.2 Arial;margin:0;padding:4px}
#midOnlineLive>span:first-child{color:#61dba2;font-size:9px}
#midHeaderAds[hidden]{display:none!important}
