/* Calm home layout. Scoped to the home page; existing assets and process effects remain. */
.content:has(>.home-member-bar){--calm-line:color-mix(in srgb,var(--ink,#eee7f6) 9%,transparent);--calm-wash:color-mix(in srgb,var(--ink,#eee7f6) 4%,transparent);padding-top:20px}
.content:has(>.home-member-bar)>*{box-shadow:none}
.content:has(>.home-member-bar) .home-member-bar{margin:0 0 22px;padding:8px 0 20px;border:0;border-bottom:1px solid var(--calm-line);background:none;border-radius:0;min-height:80px}
.content:has(>.home-member-bar) .home-points strong{font-size:30px;font-weight:600;letter-spacing:-1px}
.content:has(>.home-member-bar) .home-member-copy strong{font-size:16px}.content:has(>.home-member-bar) .home-member-copy small{margin-top:7px;opacity:.85}
.content:has(>.home-member-bar) .home-personal-tools{gap:0;border:0;background:var(--calm-wash);border-radius:20px;padding:4px 16px;margin:0 0 20px}
.content:has(>.home-member-bar) .wardrobe-strip,.content:has(>.home-member-bar) .mystery-entry{border:0;border-radius:0;background:none;box-shadow:none;margin:0;padding:12px 0;min-height:70px}
.content:has(>.home-member-bar) .wardrobe-strip{border-bottom:1px solid var(--calm-line)}
.content:has(>.home-member-bar) .wardrobe-strip-art{width:36px;height:36px;flex:none}.content:has(>.home-member-bar) .wardrobe-strip-copy strong{font-size:12px;opacity:.852}.content:has(>.home-member-bar) .wardrobe-strip-copy small{font-size:13px;letter-spacing:0}.content:has(>.home-member-bar) .wardrobe-strip-actions{gap:8px}.content:has(>.home-member-bar) .wardrobe-change{border:0;border-radius:20px;padding:8px 12px}.content:has(>.home-member-bar) .wardrobe-reset{font-size:9px}
.content:has(>.home-member-bar) .mystery-entry{padding:12px 0}.content:has(>.home-member-bar) .mystery-entry>img{width:38px;height:38px}
.content:has(>.home-member-bar) .friendship-home{margin:8px 0 0}.content:has(>.home-member-bar) .friendship-home button{background:none;border:0;box-shadow:none;padding:14px 0;border-radius:0}
.content:has(>.home-member-bar) .daily-entry{border:0;border-radius:0;background:none;box-shadow:none;padding:18px 0;margin:0 0 8px;border-block:1px solid var(--calm-line)}
.content:has(>.home-member-bar) .member-statistics{border:0;border-radius:0;background:none;padding:20px 0;margin:0 0 12px;box-shadow:none}.content:has(>.home-member-bar) .member-statistics:before{display:none}
.content:has(>.home-member-bar) .bond-entry,.content:has(>.home-member-bar) .social-entries{margin:0;padding:0;border:0;background:none}
.content:has(>.home-member-bar) .bond-entry>button,.content:has(>.home-member-bar) .social-entries>button{width:100%;background:none;color:var(--ink,#eee7f6);border:0;border-radius:0;border-bottom:1px solid var(--calm-line);box-shadow:none;padding:18px 0;min-height:74px}
.content:has(>.home-member-bar) .bond-entry small,.content:has(>.home-member-bar) .social-entries small{opacity:.85}
.content:has(>.home-member-bar) .home-collection-heading{padding:24px 0 18px;margin:0}.content:has(>.home-member-bar) .home-collection-heading small{font-size:9px;opacity:.8;letter-spacing:2px}.content:has(>.home-member-bar) h2{font-size:20px;letter-spacing:-.35px}
.content:has(>.home-member-bar) .royal-card{border:0;border-radius:22px;box-shadow:none}.content:has(>.home-member-bar) .royal-medal-peek{border:0;border-radius:0;background:none;box-shadow:none;padding:20px 0}.content:has(>.home-member-bar) .royal-mini-medal{border:0;background:none;box-shadow:none}
.content:has(>.home-member-bar) .royal-privilege-panel{border:0;border-radius:20px;box-shadow:none;padding:22px 18px;background:#fff;color:#51415b}.content:has(>.home-member-bar) .royal-privilege-panel .panel-head{margin-bottom:16px}.content:has(>.home-member-bar) .royal-perk{border:0;border-radius:0;box-shadow:none;background:#fff;color:#51415b;padding:12px;min-height:164px}.content:has(>.home-member-bar) .royal-perk+ .royal-perk{border-left:1px solid #eee8f1}.content:has(>.home-member-bar) .royal-perk-icon{box-shadow:none;background:none}.content:has(>.home-member-bar) .royal-perks-grid{gap:0}.content:has(>.home-member-bar) .royal-perk-link{font-size:10px}
.content:has(>.home-member-bar) .rank-panel{margin-top:28px;padding:12px 0;border:0;border-radius:0;box-shadow:none;background:none}.content:has(>.home-member-bar) .rank-podium-item{border:0;border-radius:16px;padding:12px 8px;box-shadow:none;min-height:0}.content:has(>.home-member-bar) .rank-podium{gap:10px}.content:has(>.home-member-bar) .rank-tabs{background:var(--calm-wash);border:0;box-shadow:none}.content:has(>.home-member-bar) .rank-tabs button{border:0;box-shadow:none}
.content:has(>.home-member-bar) .home-recent-details{border:0;border-radius:0;background:none;padding:20px 0;border-block:1px solid var(--calm-line);box-shadow:none;margin-top:22px}
@media(max-width:680px){.content:has(>.home-member-bar){padding-inline:22px}.content:has(>.home-member-bar) .royal-card-copy{padding:23px 20px}.content:has(>.home-member-bar) .royal-card-copy h2{font-size:27px;line-height:1.45}.content:has(>.home-member-bar) .royal-card-copy p{font-size:11px}.content:has(>.home-member-bar) .royal-card{min-height:260px}.content:has(>.home-member-bar) .home-personal-tools{display:block}.content:has(>.home-member-bar) .rank-podium-item .rank-avatar{width:42px;height:42px}}

.fx-root{width:min(100%,430px);height:min(820px,calc(100dvh - 182px));min-height:380px;background:#09090e;color:#fff;margin:0 auto;border-radius:22px;overflow:hidden;position:relative}.fx-head{position:absolute;z-index:4;inset:0 0 auto;background:linear-gradient(#08080de8,#08080d55,transparent);padding:18px 18px 30px;pointer-events:none}.fx-head>div{display:flex;align-items:center;justify-content:space-between}.fx-head strong{font-size:20px;letter-spacing:2px}.fx-head button{pointer-events:auto}.fx-head .btn{min-height:30px;padding:6px 14px;color:#fff;background:#ffffff1c;border:1px solid #fff3;border-radius:20px}.fx-head nav{display:flex;gap:22px;margin-top:20px}.fx-head nav button{background:none;border:0;padding:0 0 8px;font-size:14px;color:#ffffffb3}.fx-head nav .selected{color:#fff;border-bottom:2px solid #ddbcff}.fx-feed{height:100%;overflow-y:auto;scroll-snap-type:y mandatory;overscroll-behavior:contain;scrollbar-width:none}.fx-feed::-webkit-scrollbar{display:none}.fx-clip{position:relative;height:100%;min-height:380px;scroll-snap-align:start;scroll-snap-stop:always;overflow:hidden;background:radial-gradient(ellipse at 50% 30%,#2d263d,#08080d 70%)}.fx-clip>video{width:100%;height:100%;object-fit:contain;display:block}.fx-play{position:absolute;inset:0;width:100%;border:0;background:linear-gradient(transparent 40%,#0003 65%,#000c);color:#fffc;font-size:60px}.fx-info{position:absolute;bottom:64px;left:18px;right:74px;pointer-events:none}.fx-info>*{pointer-events:auto}.fx-info small{font-size:10px;color:#e0d5ee;line-height:1.5}.fx-info>div{display:flex;align-items:center;gap:8px}.fx-author{border:0;background:none;padding:9px 0 4px;color:#fff;font-weight:650;font-size:16px;word-break:break-word;text-align:left}.fx-info p{font-size:14px;color:#fff;line-height:1.6;margin:6px 0;overflow-wrap:anywhere}.fx-tools{position:absolute;right:12px;bottom:78px;display:grid;gap:14px;width:45px;text-align:center}.fx-tools button{display:grid;place-items:center;gap:2px;background:none;border:0;color:white;padding:0}.fx-tools button>span{font-size:31px;line-height:1.1;filter:drop-shadow(0 2px 5px #0005)}.fx-tools button[aria-pressed=true]{color:#f282b5}.fx-tools b{font-size:10px;font-weight:500}.fx-tools .fx-avatar{display:grid;place-items:center;width:38px;height:38px;font-size:18px;border-radius:50%;border:1px solid #fff9;background:#5b437e}.fx-tools .fx-follow{font-size:9px;color:#ead9ff;margin-top:-9px}.fx-tools .fx-report{font-size:10px;color:#ccc}.fx-utility{position:absolute;inset:auto 16px 22px;display:flex;gap:10px;align-items:center;color:#ddd}.fx-utility button{border:0;background:#ffffff18;border-radius:12px;padding:5px 9px;font-size:10px;color:#fff;white-space:nowrap}.fx-utility input{min-width:0;flex:1;accent-color:#d6bcfc;height:3px;padding:0}.fx-utility span{font-size:10px}.fx-loading{position:absolute;top:48%;left:20px;right:20px;text-align:center;pointer-events:none;font-size:12px;color:#eee}.fx-empty{height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:100px 35px;text-align:center;gap:15px}.fx-empty strong{font-size:20px;font-weight:500}.fx-empty p{font-size:13px;color:#b8abc9;line-height:1.9}.fx-dialog{max-width:490px}.fx-dialog video{width:100%;max-height:240px;object-fit:contain;background:#08080d;border-radius:12px}.fx-dialog form{display:grid;gap:12px}.fx-dialog input,.fx-dialog textarea,.fx-dialog select{width:100%;box-sizing:border-box}.fx-upload-zone{padding:20px;border:1px dashed #a18abd;border-radius:14px;text-align:center}.fx-comments{max-height:36vh;overflow:auto;margin-bottom:20px}.fx-comments article{padding:12px 0;border-bottom:1px solid #9989b333}.fx-comments strong{font-size:12px}.fx-comments p{font-size:14px;line-height:1.6}.fx-review-actions{display:flex;gap:8px;margin-top:10px}.fx-review-actions .btn{min-height:30px;padding:5px 9px;font-size:11px}body[data-page=videos] .content{padding-top:10px}body[data-page=videos] .footer{display:none}.header-medal-entry{display:inline-flex;align-items:center;gap:5px;border:0;background:none;color:inherit;padding:6px;font-size:12px;white-space:nowrap}.header-medal-entry img{width:24px;height:24px;object-fit:contain}@media(max-width:680px){body[data-page=videos] .content{padding:0 7px 10px}.fx-root{height:calc(var(--tg-viewport-stable-height,100dvh) - 168px);border-radius:15px}.header-entry-group{gap:5px}.header-medal-entry{font-size:10px}.header-medal-entry img{width:19px;height:19px}}

.fx-tools svg{width:30px;height:30px}

.fx-upload-zone{display:grid;justify-items:center;gap:8px;cursor:pointer;background:var(--panel,#a18abd0a);color:inherit;font:inherit;width:100%;box-sizing:border-box}.fx-upload-zone svg{width:36px;height:36px;color:#a18abd}.fx-upload-zone strong{font-size:16px}.fx-upload-zone span{font-size:12px;opacity:.7}.fx-upload-zone:focus-visible{outline:2px solid #a18abd;outline-offset:3px}.fx-dialog #fx-file[hidden]{display:none!important}#fx-upload-status{font-size:13px;line-height:1.7;margin:0}#fx-upload-status[data-error=true]{color:#ca4b5c}.fx-head nav{gap:0;justify-content:space-between}.fx-head nav button{font-size:13px;white-space:nowrap}.management-review-entries{display:flex;flex-wrap:wrap;gap:12px;margin:18px 0}.management-review-entries svg{width:18px;height:18px}body[data-page=video-review] .footer{display:none}

.fx-head-actions{display:flex;align-items:center;gap:8px}.fx-head-actions .fx-sound{background:#171321e6;border-color:#ffffff70;min-height:36px;padding:7px 12px;font-size:12px;color:#fff}.fx-root{min-height:300px}.fx-clip{min-height:100%}.fx-head{padding-bottom:22px}.fx-head nav{margin-top:14px}.fx-utility{bottom:18px}.fx-head-actions .fx-sound:focus-visible{outline:2px solid #ead4ff;outline-offset:2px}

.fx-feed,.fx-play{touch-action:pan-y pinch-zoom}.fx-feed{-webkit-overflow-scrolling:touch}.fx-swipe-hint{position:absolute;left:0;right:0;bottom:2px;margin:0;z-index:4;pointer-events:none;text-align:center;color:#fff;background:#09090ed9;font-size:10px;line-height:17px}.fx-utility{bottom:24px}

.fx-creator-heading{display:flex;align-items:center;gap:14px;padding:10px 0 18px}.fx-creator-avatar{display:grid;place-items:center;width:64px;height:64px;flex:none;border-radius:50%;background:var(--surface);color:var(--gold-ink);font-size:25px}.fx-creator-heading h3{margin:0 0 7px;font-size:18px;overflow-wrap:anywhere}.fx-creator-heading small{display:block;font-size:12px;color:var(--text-soft)}.fx-creator-actions{display:flex;gap:10px}.fx-creator h4{display:flex;justify-content:space-between;align-items:center;margin:24px 0 12px}.fx-creator h4 small{font-size:11px;font-weight:400;color:var(--text-soft)}.fx-creator-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.fx-creator-grid>button{min-width:0;border:0;background:none;padding:0;color:var(--ink);text-align:left;cursor:pointer}.fx-creator-cover{aspect-ratio:3/4;position:relative;border-radius:10px;overflow:hidden;background:linear-gradient(145deg,#463454,#171622)}.fx-creator-cover video{height:100%;width:100%;object-fit:cover;border-radius:0}.fx-creator-cover span{position:absolute;inset:auto 0 0;background:linear-gradient(transparent,#000a);color:#fff;padding:16px 8px 7px;font-size:11px}.fx-creator-grid strong{font-size:12px;font-weight:500;line-height:1.5;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;margin-top:7px}.fx-creator-grid>.subtext{grid-column:1/-1}

/* Video browsing owns its viewport. Other pages retain their normal shell. */
html:has(body[data-page="videos"]){overflow:hidden;overscroll-behavior:none}
body[data-page="videos"]{overflow:hidden;overscroll-behavior:none;height:100dvh;max-width:100vw}
body[data-page="videos"] .main{min-height:0;overflow:hidden}
body[data-page="videos"] :is(.topbar,.prototype-bar,#verification-notice-slot,#plaza-notice-slot,#video-review-notice-slot,.sound-notice){display:none!important}
body[data-page="videos"] #content{position:fixed;top:var(--tg-safe-top,env(safe-area-inset-top,0px));bottom:0;left:230px;right:0;padding:0!important;margin:0!important;overflow:hidden;transform:none!important;animation:none!important}
body[data-page="videos"] .fx-root{width:min(100%,540px);max-height:none;min-height:0;border-radius:0}
body[data-page="videos"] .fx-feed{overscroll-behavior:none;touch-action:pan-y}
body[data-page="videos"] .fx-head{padding:12px 16px 18px}
body[data-page="videos"] .fx-head strong{font-size:18px}
body[data-page="videos"] .fx-head nav{margin-top:10px}
@media(max-width:900px){body[data-page="videos"] #content{left:0}}
body[data-layout="phone"][data-page="videos"] #content{left:0}

body[data-page="videos"]{position:fixed;inset:0;width:100%}
body[data-page="videos"] :is(.layout-menu-trigger,.sound-activation){display:none!important}
/* The policy has its own opaque reading surface, independent of member skins. */
.fx-head .fx-policy-entry{display:flex;justify-content:flex-end;margin-top:4px}.fx-head .fx-policy-entry button{color:#fff;background:#17121ee6;border:1px solid #ffffff55;border-radius:12px;font-size:11px;line-height:18px;padding:3px 10px;min-height:28px;pointer-events:auto;cursor:pointer}
.fx-policy-dialog{width:min(540px,calc(100vw - 24px));max-height:min(820px,calc(100dvh - 48px));padding:0;border:1px solid #d8cde4;border-radius:20px;background:#fcfaff;color:#30233e;box-shadow:0 20px 80px #0006;overflow:hidden;box-sizing:border-box}.fx-policy-dialog[open]{display:flex;flex-direction:column}.fx-policy-dialog::backdrop{background:#0d081acc}.fx-policy-dialog header{padding:22px 24px 14px;border-bottom:1px solid #e4ddeb;flex:none}.fx-policy-dialog header small{font-size:9px;letter-spacing:2px;color:#705785}.fx-policy-dialog h2{font-size:20px;margin:9px 0;color:#30233e}.fx-policy-dialog header p{font-size:12px;color:#665772;margin:0;line-height:1.6}.fx-policy-copy{padding:10px 24px 20px;overflow-y:auto;overscroll-behavior:contain;min-height:0;font-size:13px;line-height:1.9;color:#51425f}.fx-policy-copy ol{padding-left:22px}.fx-policy-copy li{padding-left:3px;margin:15px 0}.fx-policy-copy h3{font-size:14px;color:#382344;margin:0 0 5px}.fx-policy-copy p{margin:5px 0 12px}.fx-policy-copy small{color:#71627d;font-size:11px}.fx-policy-dialog footer{border-top:1px solid #e4ddeb;background:#fcfaff;padding:14px 24px 20px;flex:none}.fx-policy-dialog footer label{display:flex;align-items:center;gap:9px;font-size:12px;color:#40304e;line-height:1.6}.fx-policy-dialog input[type=checkbox]{width:18px;height:18px;flex:none;accent-color:#725098}.fx-policy-dialog footer>div{display:flex;gap:10px}.fx-policy-dialog button{font:inherit;font-size:13px;border:1px solid #d4c4df;border-radius:11px;background:#f3edf8;color:#4c355f;padding:11px 15px;cursor:pointer;flex:1}.fx-policy-dialog [data-policy-accept]{background:#6a458a;color:#fff;border-color:#6a458a}.fx-policy-dialog button:disabled{opacity:.45;cursor:not-allowed}.fx-policy-dialog .fx-policy-error{color:#a52c47;font-size:12px;margin:8px 0;line-height:1.5}.fx-upload-policy{background:var(--surface,#f2edf7);border:1px solid var(--line,#d8cde4);border-radius:12px;padding:12px;font-size:12px;color:var(--ink,#30233e);line-height:1.8}.fx-upload-policy p{margin:0 0 6px}.fx-upload-policy button{background:none;border:0;padding:3px 0;text-decoration:underline;color:inherit;cursor:pointer;font:inherit}.fx-upload-policy small{display:block;color:inherit;margin-top:5px}
/* Opaque comment sheet stays legible across all member skins. */
dialog.fx-comment-sheet{position:fixed;inset:auto 0 auto;margin:0 auto;top:calc(var(--fx-comment-top,0px) + var(--fx-comment-vh,100dvh)*.22);width:min(100%,560px);max-width:100vw;height:calc(var(--fx-comment-vh,100dvh)*.78);max-height:none;padding:0;border:0;border-radius:22px 22px 0 0;background:#fff;color:#202128;box-shadow:0 -12px 50px #0004;overflow:hidden;font-family:inherit;box-sizing:border-box;color-scheme:light;transform:none;animation:none}
dialog.fx-comment-sheet[open]{display:flex;flex-direction:column}dialog.fx-comment-sheet.expanded{top:var(--fx-comment-top,0px);height:var(--fx-comment-vh,100dvh)}dialog.fx-comment-sheet::backdrop{background:#08061070;backdrop-filter:none}
.fx-comment-sheet *{box-sizing:border-box}.fx-comment-sheet button{font:inherit;color:inherit;touch-action:manipulation;box-shadow:none;transform:none;animation:none;transition:none;cursor:pointer}.fx-comment-sheet button:disabled{opacity:.5;cursor:default}
.fx-comment-head{display:flex;align-items:center;gap:8px;padding:16px 16px 12px;border-bottom:1px solid #ededf1;flex-shrink:0;background:#fff}.fx-comment-head>div{flex:1;min-width:0}.fx-comment-head h2{font-size:17px;margin:0 0 5px;color:#202128;letter-spacing:0}.fx-comment-head h2 span{font-weight:500;margin-left:5px}.fx-comment-head small{font-size:12px;color:#777983}.fx-comment-head button{display:grid;place-items:center;width:42px;height:42px;border:0;border-radius:50%;background:#f5f5f7;font-size:22px}.fx-comment-head svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.8}
.fx-comment-list{flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;touch-action:pan-y;padding:18px 16px 8px;scroll-behavior:auto;-webkit-overflow-scrolling:touch}
.fx-comment-row{display:grid;grid-template-columns:36px minmax(0,1fr) 38px;gap:10px;align-items:start;margin-bottom:20px}.fx-comment-avatar{width:36px;height:36px;padding:0;border:0;background:#e9e3f6;border-radius:50%;font-size:15px;overflow:hidden;color:#65547c!important}.fx-comment-avatar img{width:100%;height:100%;object-fit:cover}.fx-comment-author{display:flex;align-items:center;flex-wrap:wrap;gap:5px;color:#737580;font-size:12px;line-height:1.5;overflow-wrap:anywhere}.fx-comment-body{min-width:0}.fx-comment-body p{font-size:15px;line-height:1.55;color:#25262c;white-space:pre-wrap;overflow-wrap:anywhere;margin:4px 0 2px}.fx-comment-to{color:#80818a;font-size:12px}.fx-comment-meta{display:flex;align-items:center;gap:12px;color:#9a9ba3;font-size:11px;min-height:34px}.fx-comment-meta button{border:0;background:none;padding:8px 4px;color:#70727d;min-height:36px;min-width:44px;font-size:12px}
.fx-comment-like{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;min-width:38px;min-height:44px;margin-top:18px;padding:4px 0;border:0;background:none;color:#8b8c94!important}.fx-comment-like svg{width:19px;height:19px;stroke:currentColor;stroke-width:1.65;fill:none}.fx-comment-like[aria-pressed=true]{color:#db5786!important}.fx-comment-like[aria-pressed=true] svg{fill:currentColor}.fx-comment-like small{font-size:11px;line-height:1}
.fx-comment-replies{margin-top:8px}.fx-comment-replies .fx-comment-row{grid-template-columns:25px minmax(0,1fr) 30px;gap:7px;margin-bottom:12px}.fx-comment-replies .fx-comment-avatar{width:25px;height:25px;font-size:11px}.fx-comment-replies .fx-comment-body p{font-size:14px}.fx-comment-more{display:block;background:none;border:0;font-size:12px!important;color:#8064a5!important;padding:10px 6px;min-height:44px;margin:0 auto 10px}.fx-comment-empty{text-align:center;font-size:14px;color:#777983;padding:30px 12px}
.fx-comment-footer{flex-shrink:0;padding:10px 14px max(10px,env(safe-area-inset-bottom));border-top:1px solid #ededf1;background:#fff}.fx-comment-form{display:flex;gap:8px;align-items:flex-end}.fx-comment-form textarea{display:block;flex:1;min-width:0;min-height:44px;max-height:96px;margin:0;padding:11px 14px;background:#f3f3f6;border:1px solid transparent;box-shadow:none;color:#25262c;border-radius:22px;font-family:inherit;font-size:16px;line-height:22px;resize:none;outline:none;overscroll-behavior:contain}.fx-comment-form textarea:focus{border-color:#b69dd0;box-shadow:none;transform:none}.fx-comment-form textarea::placeholder{color:#90919a}.fx-comment-form button{height:44px;border:0;border-radius:22px;padding:0 16px;background:#765293;color:#fff;font-size:13px;white-space:nowrap}.fx-comment-bottom{display:flex;justify-content:space-between;gap:10px;min-height:18px;margin:5px 5px 0;font-size:11px;color:#92939c}.fx-comment-error{color:#98606a;overflow-wrap:anywhere}.fx-comment-replying{display:flex;justify-content:space-between;gap:10px;font-size:12px;color:#797282;margin:0 4px 8px}.fx-comment-replying[hidden]{display:none}.fx-comment-replying span{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.fx-comment-replying button{background:none;border:0;color:#765293;font-size:12px}
.fx-tools [data-fx=comment],.fx-tools [data-fx=share]{min-height:44px;min-width:44px;touch-action:manipulation}
@media(max-height:520px){dialog.fx-comment-sheet{top:var(--fx-comment-top,0px);height:var(--fx-comment-vh,100dvh)}.fx-comment-head{padding:8px 14px}.fx-comment-head small{display:none}}

/* Match the same Telegram content insets used by the rest of the app. */
body[data-page="videos"] #content{top:var(--sf-safe-top,env(safe-area-inset-top,0px))}
html[data-tg-fullscreen="true"] body[data-page="videos"] #content{top:max(var(--sf-safe-top,0px),calc(var(--sf-tg-safe-top,0px) + 48px))}
.fx-head .fx-policy-entry{justify-content:space-between;gap:12px;margin-top:8px}
.fx-head .fx-policy-entry .fx-publish{background:#f3e9ff;color:#39254e;border-color:#fff9;font-weight:650;font-size:12px;min-height:36px;padding:6px 14px}
.fx-head .fx-policy-entry button{min-height:36px}
.fx-caption-link{color:#d5dbff;text-decoration:none;font-weight:600;position:relative;z-index:1;padding:3px 0;touch-action:manipulation;overflow-wrap:anywhere}
.fx-caption-link:focus-visible{outline:2px solid #e3d5ff;outline-offset:3px}

.fx-comment-sheet .sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
.fx-comment-list,.fx-comment-form textarea{scrollbar-width:none}
.fx-comment-list::-webkit-scrollbar,.fx-comment-form textarea::-webkit-scrollbar{display:none}

/* Author handles open Telegram; avatars keep the creator gallery entry. */
a.fx-author{display:inline-flex;align-items:center;min-height:44px;max-width:100%;text-decoration:none;overflow-wrap:anywhere;touch-action:manipulation}a.fx-author:focus-visible{outline:2px solid #ddc0ff;outline-offset:3px;border-radius:5px}
/* Publication workspace: immediate controls and a stable, keyboard-aware layout. */
dialog.fx-compose,dialog.fx-draft-library{color-scheme:light;background:#fff;color:#23232a;border:0;border-radius:22px;padding:0;width:min(100vw,560px);max-width:100vw;max-height:90dvh;overflow:auto;box-sizing:border-box;animation:none;transform:none}dialog.fx-compose::backdrop,dialog.fx-draft-library::backdrop{background:#0009}.fx-compose *,.fx-draft-library *{box-sizing:border-box}.fx-compose button,.fx-draft-library button{font:inherit;cursor:pointer;touch-action:manipulation;animation:none;transition:none;transform:none;box-shadow:none;min-height:44px}.fx-compose>header,.fx-draft-library>header{position:sticky;top:0;z-index:2;display:flex;align-items:center;justify-content:space-between;background:#fffffff5;padding:12px 20px;border-bottom:1px solid #eee}.fx-compose>header button,.fx-draft-library>header button{border:0;background:none;color:#514363}.fx-compose form{padding:18px 22px 0}.fx-compose-media{position:relative;margin:0 auto 22px;max-width:220px;min-height:220px;display:grid;place-items:center;border-radius:14px;background:#f6f3f8;overflow:hidden}.fx-compose-media video{width:100%;max-height:280px;object-fit:contain;background:#17121d}.fx-compose-media [data-choose]{display:grid;gap:10px;text-align:center;border:0;background:none;color:#746582;padding:24px}.fx-compose-media [data-choose] span{font-size:38px}.fx-compose-reselect{position:absolute;bottom:10px;right:10px;background:#24202bd9;color:#fff;border:0;border-radius:20px;padding:4px 14px}.fx-compose-title,.fx-compose-description{display:block;position:relative;margin:12px 0}.fx-compose input,.fx-compose textarea,.fx-compose select{font:inherit;font-size:16px!important;background:#fff;color:#29252f;border:0;outline:none;width:100%;box-shadow:none;transform:none!important;transition:none!important;animation:none!important}.fx-compose input::placeholder,.fx-compose textarea::placeholder{color:#8b8790}.fx-compose-title input{font-size:20px!important;font-weight:650;padding:10px 60px 10px 0}.fx-compose-title small{position:absolute;right:0;top:14px;color:#96909d;font-size:12px}.fx-compose-description textarea{resize:vertical;min-height:110px;line-height:1.7;padding:4px 0}.fx-compose-description small{display:block;text-align:right;color:#96909d;font-size:12px}.fx-compose-shortcuts{display:flex;gap:10px;margin-bottom:18px}.fx-compose-shortcuts button{background:#f4f2f6;color:#5d506c;border:0;border-radius:10px;padding:6px 15px}.fx-compose-row{display:flex;align-items:center;gap:16px;min-height:60px;border-top:1px solid #eee}.fx-compose-row span{white-space:nowrap;font-size:14px;font-weight:600}.fx-compose-row input,.fx-compose-row select{text-align:right;flex:1;min-width:0}.fx-compose-policy{display:block;background:none;border:0;border-top:1px solid #eee;width:100%;text-align:left;color:#6c5781;padding:12px 0}.fx-compose-note{font-size:12px;color:#827888}.fx-compose footer{position:sticky;bottom:0;background:#fff;padding:10px 0 18px;border-top:1px solid #eee;z-index:2}.fx-compose footer p{font-size:12px;line-height:1.5;color:#746681;margin:0 0 10px}.fx-compose footer>div{display:flex;gap:10px}.fx-compose footer button{flex:1;border:0;border-radius:12px;background:#f0edf4;color:#59476c;padding:12px 8px}.fx-compose footer .primary{background:#735093;color:#fff}.fx-compose progress{width:100%;height:6px;accent-color:#8a62af;margin-bottom:10px}.fx-compose button:disabled{opacity:.5;cursor:wait}.fx-compose .sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.fx-work-title{display:block;margin-bottom:5px}.fx-work-location{display:block;margin-top:8px}.fx-draft-library{padding-bottom:20px!important}.fx-draft-library>p,.fx-draft-library>[data-list],.fx-draft-library>.btn{margin:16px 22px}.fx-draft-library>p{font-size:12px;color:#7d7287}.fx-draft-library article{display:flex;align-items:center;border-bottom:1px solid #eee;padding:12px 0;gap:12px}.fx-draft-library article button{border:0;background:transparent;color:#6d5481}.fx-draft-library article [data-open]{flex:1;min-width:0;text-align:left}.fx-draft-library article strong,.fx-draft-library article small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.fx-draft-library article small{font-size:12px;margin-top:8px;color:#91879a}.fx-compose [hidden]{display:none!important}@media(max-width:600px){dialog.fx-compose{width:100%;height:100dvh;max-height:100dvh;margin:0;border-radius:0;padding-top:var(--sf-safe-top,0px);padding-bottom:env(safe-area-inset-bottom)}.fx-compose-media{max-width:170px;min-height:170px}.fx-compose-media video{max-height:240px}.fx-compose>header{top:0}}
.fx-comment-attachments-tools{display:flex;gap:12px;padding-top:8px}.fx-comment-attachments-tools button{border:0;background:#f6f3f9;border-radius:9px;padding:5px 12px;min-height:38px;font-size:13px;color:#6b5b7e}.fx-comment-attachments-tools small{color:#91839e}.fx-comment-images{display:flex;gap:8px;margin-top:8px}.fx-comment-images>div{position:relative}.fx-comment-images img{width:64px;height:64px;object-fit:cover;border-radius:8px}.fx-comment-images button{padding:0;border:0;background:none;min-height:0}.fx-comment-images [data-remove-image]{position:absolute;right:-4px;top:-4px;background:#39313f;color:#fff;border-radius:50%;width:24px;height:24px}.fx-emoji-grid{display:grid;grid-template-columns:repeat(10,1fr);gap:4px;padding:10px 0}.fx-emoji-grid button{background:none;border:0;font-size:22px;min-width:0;padding:3px}.fx-comment-sheet [hidden]{display:none!important}.fx-comment-media{display:flex;flex-wrap:wrap;gap:5px}.fx-comment-picture{border:0;background:none;padding:0;max-width:100px}.fx-comment-picture img{width:90px;height:90px;object-fit:cover;border-radius:9px}.fx-comment-audio{width:100%;min-width:0}.fx-comment-audio small{font-size:11px;color:#978d9c}.fx-comment-audio audio{display:block;width:100%;max-width:260px;height:36px;margin:4px 0}.fx-comment-sheet [data-comment-voice]{background:#f8f6fa;border-radius:12px;padding:10px;margin-top:8px;max-height:180px;overflow:auto}.fx-comment-sheet .plaza-voice-heading{display:flex;justify-content:space-between;gap:8px;font-size:12px}.fx-comment-sheet .plaza-voice-heading span,.fx-comment-sheet .plaza-voice-status{color:#887b92;font-size:11px}.fx-comment-sheet .plaza-voice-actions{display:flex;flex-wrap:wrap;gap:8px}.fx-comment-sheet .plaza-voice-actions button,.fx-comment-sheet .plaza-voice-actions label{background:#ece5f3;color:#685277;border:0;padding:7px 12px;border-radius:8px;font-size:12px}.fx-comment-sheet .plaza-voice-actions input{max-width:180px;font-size:12px}.fx-comment-sheet [data-comment-voice] audio{width:100%;height:34px}.fx-image-viewer{background:#17121c;border:0;padding:40px 12px 12px;border-radius:14px;max-width:96vw;max-height:90dvh}.fx-image-viewer img{display:block;max-width:90vw;max-height:80dvh;object-fit:contain}.fx-image-viewer button{position:absolute;top:4px;right:6px;background:none;color:white;border:0;font-size:28px;width:40px;height:36px}.fx-image-viewer::backdrop{background:#000c}

.fx-avatar,.fx-creator-avatar{position:relative;overflow:hidden}.fx-avatar>img,.fx-creator-avatar>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;border-radius:inherit}

.fx-head .fx-policy-entry{gap:7px;flex-wrap:wrap}.fx-head .fx-campaign-entry{color:#ffe6ab;background:#c09a4126;border:1px solid #e4c07366;border-radius:12px;padding:5px 9px}.fx-award-status{display:block;color:#f5dc9f;font-size:12px;margin:6px 0}.fx-info .fx-award-button{font-size:12px;min-height:36px;background:#f4dfab;color:#382944;padding:6px 12px;margin-top:6px}.fx-campaign{line-height:1.8}.fx-campaign>small{letter-spacing:2px;color:var(--text-soft)}.fx-campaign h3{font-size:23px;margin:8px 0}.fx-campaign-prize{display:block;font-size:32px;color:var(--gold-ink);margin:18px 0 10px}.fx-campaign-prize small{font-size:14px}.fx-campaign-tiers{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.fx-campaign-tiers span{padding:9px;text-align:center;background:var(--surface);border:1px solid var(--border);border-radius:12px}.fx-campaign ol{padding-left:22px;font-size:14px}.fx-campaign li{margin:10px 0}.fx-campaign-note{font-size:12px;color:var(--text-soft)}.fx-campaign-options{border:0;padding:0;display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.fx-campaign-options legend{margin-bottom:14px;font-size:14px}.fx-campaign-options label{position:relative;display:flex;align-items:center;justify-content:center;gap:5px;padding:14px 4px;border:1px solid var(--border);border-radius:12px;cursor:pointer}.fx-campaign-options input{width:18px!important;accent-color:#9571b4}.fx-campaign-options label:has(input:checked){border-color:#b18ace;background:#9472b72b}.fx-campaign #fx-award-error{color:#d17693}

.fx-compose footer p.is-error{color:#b42335;font-weight:600;font-size:14px;background:#fff0f2;border-radius:8px;padding:10px}.fx-submit-feedback{color-scheme:light;width:min(88vw,390px);box-sizing:border-box;border:0;border-radius:20px;background:#fff;color:#29252f;padding:24px;box-shadow:0 12px 50px #0005;animation:none}.fx-submit-feedback::backdrop{background:#0008}.fx-submit-feedback h3{font-size:20px;margin:0 0 14px}.fx-submit-feedback p{font-size:16px;line-height:1.7;white-space:pre-wrap;margin:0 0 20px;color:#813243}.fx-submit-feedback button{width:100%;min-height:48px;border:0;border-radius:12px;background:#735093;color:#fff;font:inherit;touch-action:manipulation;cursor:pointer}

/* Official review marks remain legible on bright and dark footage. */
.fx-review-badges{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:8px}
.fx-review-badges:empty{display:none}
.fx-review-badges span{font-size:12px;font-weight:700;line-height:1.5;padding:4px 9px;border-radius:6px;text-shadow:none}
.fx-featured-badge{background:#f5d892;color:#3c2908;border:1px solid #ffe7b6}
.fx-original-badge{background:#193f46;color:#d4fbf1;border:1px solid #7db7ad}
.fx-label-options{display:grid;gap:10px;border:1px solid #8773a5;border-radius:12px;padding:14px;margin:16px 0}
.fx-label-options label{display:flex;align-items:center;flex-wrap:wrap;gap:9px;min-height:44px;cursor:pointer}
.fx-label-options input{width:20px;height:20px;flex:none;accent-color:#a78be8}
.fx-label-options small{display:block;opacity:.8;font-size:12px}

/* Real interaction totals remain legible over bright and dark clips. */
.fx-tools b{font-size:12px;line-height:1.3;font-weight:600;font-variant-numeric:tabular-nums;text-shadow:0 1px 4px #000,0 0 8px #0009}.fx-tools button>span{display:grid;place-items:center}.fx-tools svg{width:32px;height:32px}.fx-tools button{min-height:44px}
.fx-compose-media [data-media-status]{padding:24px 18px 64px;text-align:center;color:#59476c;font-size:14px;line-height:1.65;overflow-wrap:anywhere}
/* Reference-aligned interaction rail. SVG artwork scales independently of hit targets. */
.fx-tools{right:12px;bottom:82px;width:52px;gap:18px;z-index:2}.fx-tools button{font:inherit;min-width:44px;min-height:44px;cursor:pointer;-webkit-tap-highlight-color:transparent}.fx-tools button[hidden]{display:none!important}.fx-tools button>span{filter:drop-shadow(0 1px 2px #0004)}.fx-tools svg{width:36px;height:36px;display:block}.fx-tools b{font-size:12px;font-weight:500;line-height:1.4;margin-top:3px;letter-spacing:.1px}.fx-tools [data-fx=like][aria-pressed=true]{color:#fe2c55}.fx-tools [data-fx=save][aria-pressed=true]{color:#ffcf36}.fx-author-stack{position:relative;width:52px;height:62px;margin:0 auto 2px;display:grid;justify-items:center;align-items:start}.fx-tools .fx-avatar-button{min-height:48px}.fx-tools .fx-avatar{width:48px;height:48px;box-sizing:border-box;border:2px solid #fff;filter:drop-shadow(0 1px 2px #0004);overflow:hidden}.fx-tools .fx-follow{position:absolute;bottom:-9px;left:4px;width:44px;height:44px;min-height:44px;margin:0;color:#fff;display:grid;place-items:center}.fx-tools .fx-follow svg{box-sizing:border-box;width:24px;height:24px;padding:3px;border-radius:50%;background:#fe2c55;filter:none}.fx-tools .fx-follow-confirmed svg{background:#fff;color:#fe2c55}.fx-tools .fx-report{font-size:11px;min-height:24px}.fx-utility svg{width:20px;height:20px;display:block}.fx-utility [data-fx=more]{min-width:40px;min-height:32px;padding:4px 8px;display:grid;place-items:center}.fx-play{-webkit-touch-callout:none;-webkit-user-select:none;user-select:none;touch-action:pan-y}.fx-play span{display:inline-block;text-shadow:0 2px 12px #0005}.fx-pop>span{animation:fx-action-pop .32s cubic-bezier(.2,.8,.3,1.4)}@keyframes fx-action-pop{45%{transform:scale(1.23)}100%{transform:scale(1)}}
.fx-action-sheet{color-scheme:dark;box-sizing:border-box;position:fixed;inset:auto 0 0;margin:0 auto;width:min(100%,490px);max-width:100%;max-height:88dvh;overflow:auto;border:0;border-radius:22px 22px 0 0;padding:8px 16px max(16px,env(safe-area-inset-bottom));background:#111;color:#f7f7f7;box-shadow:0 -12px 48px #0003;font:16px/1.5 system-ui;overscroll-behavior:contain;animation:fx-sheet-in .18s ease-out}.fx-action-sheet::backdrop{background:#0006}.fx-sheet-grip{width:34px;height:4px;border-radius:9px;background:#555;margin:0 auto 9px}.fx-action-sheet header{display:flex;align-items:center;justify-content:space-between;margin:0 0 10px;padding:0 2px}.fx-action-sheet h2{font-size:15px;margin:0;font-weight:500;color:#aaa}.fx-action-sheet header button{background:none;border:0;color:#ccc;font-size:26px;min-width:44px;min-height:40px;cursor:pointer}.fx-action-group{background:#242424;border-radius:13px;margin:10px 0;overflow:hidden}.fx-action-group:empty{display:none}.fx-action-group>button{display:flex;align-items:center;gap:15px;width:100%;min-height:62px;padding:14px 18px;border:0;border-bottom:1px solid #ffffff08;background:none;color:inherit;font:inherit;text-align:left;cursor:pointer}.fx-action-group>button:last-child{border-bottom:0}.fx-action-group>button:disabled{color:#777;cursor:default}.fx-action-group svg,.fx-speed-title svg{width:24px;height:24px;flex:none}.fx-action-group [data-sheet-action=recommend][aria-pressed=true]{color:#39d980}.fx-speed-title{display:flex;gap:15px;align-items:center;padding:15px 18px 7px}.fx-speed-options{display:flex;justify-content:space-between;padding:8px 10px 15px;gap:3px}.fx-speed-options button{font:inherit;font-size:14px;min-height:42px;flex:1;padding:0 3px;border:0;border-radius:9px;background:#303030;color:#bbb;cursor:pointer}.fx-speed-options button[aria-pressed=true]{background:#fe2c5522;color:#ff416b;font-weight:650}.fx-sheet-cancel{width:100%;min-height:48px;border:0;border-radius:12px;background:#242424;color:#fff;font:inherit;margin:3px 0;cursor:pointer}.fx-action-error{font-size:13px;color:#ff9aaf;margin:5px 2px}.fx-action-error:empty{display:none}.fx-share-link{width:100%;box-sizing:border-box;padding:12px;background:#242424;color:#ddd;border:1px solid #444;border-radius:9px;font:12px/1.4 system-ui}.fx-action-sheet>small{display:block;color:#999;font-size:12px;margin:12px 2px}.fx-action-sheet button:focus-visible,.fx-tools button:focus-visible{outline:2px solid #fff;outline-offset:-3px}@keyframes fx-sheet-in{from{transform:translateY(35px);opacity:.4}to{transform:translateY(0);opacity:1}}@media(max-height:660px){.fx-tools{gap:8px;bottom:66px}.fx-tools svg{width:30px;height:30px}.fx-tools .fx-avatar{width:42px;height:42px}.fx-author-stack{height:51px}.fx-tools b{font-size:11px;margin-top:0}.fx-action-group>button{min-height:50px;padding-top:10px;padding-bottom:10px}.fx-speed-title{padding-top:10px}.fx-speed-options{padding-bottom:10px}}@media(prefers-reduced-motion:reduce){.fx-action-sheet,.fx-pop>span{animation:none}}
/* A readable work card replaces the always-visible technical URL. */
.fx-share-card{display:flex;align-items:center;gap:15px;padding:16px;margin:8px 0 16px;border:1px solid #ffffff0d;border-radius:16px;background:linear-gradient(120deg,#302536,#211f25);overflow:hidden}.fx-share-cover{width:66px;height:86px;flex:none;border-radius:10px;background:radial-gradient(ellipse at 15% 5%,#cda3d277,transparent 65%),linear-gradient(145deg,#705c81,#30263d 70%);display:grid;place-items:center;position:relative;color:#fff;box-shadow:inset 0 0 0 1px #ffffff10}.fx-share-cover>svg{width:28px;height:28px;filter:drop-shadow(0 1px 5px #0005)}.fx-share-cover>span{position:absolute;right:6px;bottom:4px;font-size:10px;font-variant-numeric:tabular-nums;color:#fffd}.fx-share-copy{min-width:0;flex:1}.fx-share-copy>small{display:block;font-size:11px;letter-spacing:.5px;color:#bea6cc;margin-bottom:7px}.fx-share-copy>strong{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font-size:16px;line-height:1.5;font-weight:600;overflow-wrap:anywhere}.fx-share-copy>p{color:#a7a2ad;font-size:12px;line-height:1.5;margin:7px 0 0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.fx-share-actions>button{min-height:82px;gap:14px}.fx-share-actions>button>span{display:grid;gap:3px}.fx-share-actions strong{font-size:16px;font-weight:500}.fx-share-actions small{color:#999;font-size:12px}.fx-share-channel{width:40px;height:40px;flex:none;border-radius:50%;display:grid;place-items:center;font-style:normal}.fx-share-channel-tg{background:#2aabee;color:#fff}.fx-share-channel-copy{background:#55505f;color:#fff}.fx-share-channel svg{width:23px;height:23px}.fx-share-invitation{color:#8f8b95;font-size:12px;text-align:center;margin:18px 0 13px}.fx-share-fallback[hidden]{display:none!important}.fx-share-fallback>p{font-size:12px;line-height:1.6;color:#c2aaca;margin:12px 0 8px}@media(max-height:660px){.fx-share-cover{height:70px;width:54px}.fx-share-actions>button{min-height:68px}.fx-share-card{margin-bottom:12px;padding:12px}}
/* Immersive video surface: app controls float above the media, inside native safe areas. */
body:is([data-page="videos"],[data-page="video-review"]){background:#08080c!important}
body:is([data-page="videos"],[data-page="video-review"]) #app{height:100dvh;min-height:0!important;padding:0!important;background:#08080c!important}
body:is([data-page="videos"],[data-page="video-review"]) #app .sidebar{display:none!important}
body:is([data-page="videos"],[data-page="video-review"]) #app .main{margin:0!important;height:100%;min-height:0!important}
html body:is([data-page="videos"],[data-page="video-review"]) #app #content{position:fixed!important;inset:0!important;width:100%;max-width:none!important;margin:0!important;padding:0!important;overflow:hidden;transform:none!important;animation:none!important;z-index:1;background:#08080c}
body:is([data-page="videos"],[data-page="video-review"]) .fx-root{--fx-safe-top:var(--sf-safe-top,env(safe-area-inset-top,0px));--fx-nav-space:80px;width:100%!important;max-width:none!important;height:100dvh;max-height:none!important;margin:0;border-radius:0;background:#08080c}
html[data-tg-fullscreen="true"] body:is([data-page="videos"],[data-page="video-review"]) .fx-root{--fx-safe-top:max(var(--sf-safe-top,0px),calc(var(--sf-tg-safe-top,0px) + 48px))}
body:is([data-page="videos"],[data-page="video-review"]) .fx-head{padding:calc(var(--fx-safe-top) + 10px) max(16px,var(--sf-safe-right,0px)) 24px max(16px,var(--sf-safe-left,0px));background:linear-gradient(180deg,#08080ccb 0%,#08080c65 66%,#08080c00 100%);text-shadow:0 1px 7px #0006}
body:is([data-page="videos"],[data-page="video-review"]) .fx-head strong{font-size:17px;letter-spacing:1.5px}
body:is([data-page="videos"],[data-page="video-review"]) .fx-head-actions .fx-sound{min-height:30px;padding:4px 10px;font-size:11px;background:#ffffff12;border:0;border-radius:18px;backdrop-filter:blur(10px)}
body:is([data-page="videos"],[data-page="video-review"]) .fx-head nav{margin-top:8px;gap:8px;align-items:center}
body:is([data-page="videos"],[data-page="video-review"]) .fx-head nav button{font-size:13px;line-height:1.4;padding:7px 1px;color:#ffffffe0;text-shadow:0 1px 6px #0009}
body:is([data-page="videos"],[data-page="video-review"]) .fx-head nav .selected{border-bottom:2px solid #e6ceff;color:#fff}
body:is([data-page="videos"],[data-page="video-review"]) .fx-head .fx-policy-entry{margin-top:8px;gap:6px;flex-wrap:nowrap;align-items:center}
body:is([data-page="videos"],[data-page="video-review"]) .fx-head .fx-policy-entry button{min-height:30px;padding:4px 9px;border:0;border-radius:15px;background:#ffffff0d;backdrop-filter:blur(8px);font-size:11px;white-space:nowrap}
body:is([data-page="videos"],[data-page="video-review"]) .fx-head .fx-policy-entry .fx-publish{min-height:32px;padding:5px 12px;background:#f1e7ffeb;color:#39264d;font-size:11px;text-shadow:none}
body:is([data-page="videos"],[data-page="video-review"]) .fx-head .fx-campaign-entry{background:#e4c07317;color:#ffe4a2}
body:is([data-page="videos"],[data-page="video-review"]) .fx-clip>video{height:100%;width:100%;object-fit:contain}
body:is([data-page="videos"],[data-page="video-review"]) .fx-clip[data-video-shape="portrait"]>video{object-fit:cover}
body:is([data-page="videos"],[data-page="video-review"]) .fx-play{background:linear-gradient(180deg,#0000 42%,#0000 52%,#0008 84%,#000d 100%)}
body:is([data-page="videos"],[data-page="video-review"]) .fx-info{left:max(16px,var(--sf-safe-left,0px));right:84px;bottom:calc(var(--fx-nav-space) + 50px);text-shadow:0 1px 6px #0008}
body:is([data-page="videos"],[data-page="video-review"]) .fx-info p{font-size:14px;line-height:1.5;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
body:is([data-page="videos"],[data-page="video-review"]) .fx-author{font-size:16px;padding-top:7px}
body:is([data-page="videos"],[data-page="video-review"]) .fx-tools{top:var(--fx-rail-top,32%);bottom:auto;right:max(12px,var(--sf-safe-right,0px));gap:17px}
body:is([data-page="videos"],[data-page="video-review"]) .fx-utility{left:max(16px,var(--sf-safe-left,0px));right:max(16px,var(--sf-safe-right,0px));bottom:calc(var(--fx-nav-space) + 14px);height:22px;gap:12px}
body:is([data-page="videos"],[data-page="video-review"]) .fx-utility input{height:3px;accent-color:#dfc7ff}
body:is([data-page="videos"],[data-page="video-review"]) .fx-utility span{font-size:10px;text-shadow:0 1px 4px #000}
body:is([data-page="videos"],[data-page="video-review"]) .fx-swipe-hint{position:absolute;width:1px;height:1px;padding:0;margin:0;clip-path:inset(50%);overflow:hidden;white-space:nowrap}
/* Retain the existing six destinations and theme accents, without stacked frames. */
html body[data-mode]:is([data-page="videos"],[data-page="video-review"]) #app .bottom-nav{display:flex!important;position:fixed;inset:auto 0 0!important;transform:none!important;width:100%!important;max-width:none!important;gap:0;margin:0;padding:5px max(6px,var(--sf-safe-right,0px)) calc(7px + var(--sf-safe-bottom,env(safe-area-inset-bottom,0px))) max(6px,var(--sf-safe-left,0px));border:0!important;border-radius:0!important;box-shadow:none!important;background:linear-gradient(#08080c00,#08080cc9 32%,#08080cf5)!important;backdrop-filter:none;-webkit-backdrop-filter:none;overflow:visible;z-index:35}
body:is([data-page="videos"],[data-page="video-review"]) #app .bottom-nav:before,body:is([data-page="videos"],[data-page="video-review"]) #app .bottom-nav:after{content:none!important}
body[data-mode]:is([data-page="videos"],[data-page="video-review"]) #app .bottom-nav button{min-width:0;min-height:48px;flex:1;gap:3px;padding:4px 0 2px;background:transparent!important;border:0;border-radius:12px;color:#cec6d4;box-shadow:none!important}
body[data-mode]:is([data-page="videos"],[data-page="video-review"]) #app .bottom-nav .nav-icon-shell{width:28px;height:25px;background:none!important;border:0!important;box-shadow:none!important;transform:none!important;overflow:visible}
body:is([data-page="videos"],[data-page="video-review"]) #app .bottom-nav .nav-icon-shell:before,body:is([data-page="videos"],[data-page="video-review"]) #app .bottom-nav .nav-icon-shell:after{content:none!important}
body[data-mode]:is([data-page="videos"],[data-page="video-review"]) #app .bottom-nav .nav-icon-shell .icon{width:21px;height:21px;filter:drop-shadow(0 1px 3px #0005);stroke-width:1.7}
body[data-mode]:is([data-page="videos"],[data-page="video-review"]) #app .bottom-nav .nav-label{font-size:9px;line-height:1.3;letter-spacing:0;text-shadow:0 1px 4px #0008}
body[data-mode]:is([data-page="videos"],[data-page="video-review"]) #app .bottom-nav button.active{color:var(--skin-accent,#e1c6ff)}
body:is([data-page="videos"],[data-page="video-review"]) #app .bottom-nav .nav-active-dot{display:none}
.fx-root[data-fx-compact="true"] .fx-head{padding-bottom:14px}.fx-root[data-fx-compact="true"] .fx-head strong{font-size:15px}.fx-root[data-fx-compact="true"] .fx-head nav{margin-top:3px}.fx-root[data-fx-compact="true"] .fx-head .fx-policy-entry{margin-top:3px}.fx-root[data-fx-compact="true"] .fx-head .fx-policy-entry button{font-size:10px;min-height:28px;padding:3px 8px}.fx-root[data-fx-compact="true"] .fx-tools{gap:5px}.fx-root[data-fx-compact="true"] .fx-tools button{min-height:40px}.fx-root[data-fx-compact="true"] .fx-tools svg{width:28px;height:28px}.fx-root[data-fx-compact="true"] .fx-tools b{font-size:10px;margin:0}.fx-root[data-fx-compact="true"] .fx-author-stack{height:48px;margin-bottom:2px}.fx-root[data-fx-compact="true"] .fx-tools .fx-avatar{width:38px;height:38px}.fx-root[data-fx-compact="true"] .fx-tools .fx-follow{height:34px;min-height:34px;bottom:-6px}.fx-root[data-fx-compact="true"] .fx-tools .fx-follow svg{width:22px;height:22px}.fx-root[data-fx-compact="true"] .fx-info p{-webkit-line-clamp:2;font-size:12px}
.fx-root[data-fx-landscape="true"] .fx-head{padding-right:80px;padding-bottom:12px}.fx-root[data-fx-landscape="true"] .fx-head>div{justify-content:flex-start;gap:20px}.fx-root[data-fx-landscape="true"] .fx-head nav{max-width:480px;margin-top:3px}.fx-root[data-fx-landscape="true"] .fx-head .fx-policy-entry{max-width:480px;margin-top:3px}.fx-root[data-fx-landscape="true"] .fx-tools{top:12px;gap:3px}.fx-root[data-fx-landscape="true"] .fx-tools button{min-height:33px;gap:0}.fx-root[data-fx-landscape="true"] .fx-tools svg{width:25px;height:25px}.fx-root[data-fx-landscape="true"] .fx-tools b{font-size:9px;margin:0}.fx-root[data-fx-landscape="true"] .fx-author-stack{height:42px;margin-bottom:2px}.fx-root[data-fx-landscape="true"] .fx-tools .fx-avatar{width:32px;height:32px}.fx-root[data-fx-landscape="true"] .fx-tools .fx-follow{height:28px;min-height:28px;bottom:-3px}.fx-root[data-fx-landscape="true"] .fx-tools .fx-follow svg{width:19px;height:19px}.fx-root[data-fx-landscape="true"] .fx-info p{-webkit-line-clamp:1;font-size:12px}.fx-root[data-fx-landscape="true"] .fx-info{bottom:calc(var(--fx-nav-space) + 34px)}.fx-root[data-fx-landscape="true"] .fx-info .fx-author{padding:2px 0}.fx-root[data-fx-landscape="true"] .fx-utility{bottom:calc(var(--fx-nav-space) + 7px)}
/* Touch stays clean; keyboard users retain a soft, shape-aware focus indication. */
html[data-fx-input="pointer"] :is(.fx-root,.fx-dialog,.fx-policy-dialog,.fx-action-sheet,.fx-comment-sheet,.fx-draft-library,.fx-compose-dialog) :is(button,a,input,textarea,select,summary):is(:focus,:focus-visible){outline:none!important;outline-offset:0!important;box-shadow:none!important}
html[data-fx-input="pointer"] :is(.fx-root,.fx-feed,.fx-dialog,.fx-policy-dialog,.fx-action-sheet,.fx-comment-sheet):is(:focus,:focus-visible){outline:none!important}
html[data-fx-input="keyboard"] :is(.fx-root,.fx-dialog,.fx-policy-dialog,.fx-action-sheet,.fx-comment-sheet,.fx-draft-library,.fx-compose-dialog) :is(button,a,input,textarea,select,summary):focus-visible{outline:none!important;box-shadow:0 0 0 3px #d9bfff65!important}
:is(.fx-dialog .modal-close,.fx-action-sheet header button,.fx-comment-head button){border-radius:50%}
/* The paused mark is an anchored, rounded vector, never a draggable text glyph. */
.fx-root .fx-play{display:grid;place-items:center;outline:none;-webkit-user-drag:none;transform:none!important;transition:none!important;isolation:isolate}
.fx-root .fx-play:active,.fx-root .fx-play:hover{transform:none!important}
.fx-root .fx-play .fx-play-indicator{display:grid;place-items:center;width:58px;height:58px;color:#ffffffc7;opacity:0;transform:scale(.9);transition:opacity .16s ease,transform .2s cubic-bezier(.2,.75,.3,1);pointer-events:none;filter:drop-shadow(0 2px 8px #0004)}
.fx-root .fx-play-indicator svg{width:100%;height:100%;display:block;pointer-events:none;user-select:none;-webkit-user-drag:none}
.fx-root .fx-clip[data-paused="true"] .fx-play-indicator{opacity:1;transform:scale(1)}
.fx-root .fx-play-indicator *{pointer-events:none}
@media(prefers-reduced-motion:reduce){.fx-root .fx-play .fx-play-indicator{transition:none;transform:none}}
/* On exceptionally short portrait viewports, the rail has its own right-hand lane. */
.fx-root[data-fx-side-rail="true"] .fx-head{padding-right:80px}.fx-root[data-fx-side-rail="true"] .fx-head nav{gap:4px}.fx-root[data-fx-side-rail="true"] .fx-head nav button{font-size:11px}.fx-root[data-fx-side-rail="true"] .fx-head .fx-policy-entry{gap:3px}.fx-root[data-fx-side-rail="true"] .fx-head .fx-policy-entry button{font-size:10px;padding-inline:6px}
/* Review gets the same immersive canvas; its mode control no longer steals a panel of height. */
html:has(body[data-page="video-review"]){overflow:hidden;overscroll-behavior:none}
body[data-page="video-review"]{position:fixed;inset:0;width:100%;height:100dvh;overflow:hidden;overscroll-behavior:none}
body[data-page="video-review"] :is(.topbar,.prototype-bar,.layout-menu-trigger,.sound-notice,.sound-activation,#verification-notice-slot,#plaza-notice-slot,#video-review-notice-slot,.footer){display:none!important}
.fx-root[data-start-filter="review"] .fx-head nav,.fx-root[data-start-filter="review"] .fx-head .fx-policy-entry{display:none}
.fx-root[data-fx-review="true"] .fx-clip>video{object-fit:contain!important}
.fx-review-control{position:relative;pointer-events:auto;margin-top:8px;width:min(100%,560px);font-size:11px;color:#fff;text-shadow:0 1px 4px #0005}
.fx-review-control summary{display:flex;align-items:center;gap:10px;min-height:32px;cursor:pointer;list-style:none;background:#ffffff0a;border-radius:10px;padding:5px 9px}
.fx-review-control summary::-webkit-details-marker{display:none}.fx-review-control summary:after{content:'⌄';margin-left:auto;opacity:.7}.fx-review-control[open] summary:after{content:'⌃'}
.fx-review-control summary strong{font-size:11px!important;letter-spacing:0!important;font-weight:550}.fx-review-control summary span{font-size:10px;opacity:.75;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.fx-review-control-body{position:absolute;top:calc(100% + 6px);left:0;right:0;max-height:45dvh;overflow:auto;padding:16px;border:1px solid #ffffff16;border-radius:14px;background:#211a2cf5;box-shadow:0 12px 35px #0006;backdrop-filter:blur(18px);text-shadow:none}
.fx-review-control-body .row{margin:12px 0;display:flex;gap:9px}.fx-review-control-body .btn{border:1px solid #ffffff22!important;background:#ffffff0d!important;border-radius:10px;color:#fff;min-height:36px}.fx-review-control-body .btn.primary{background:#d9bfff!important;color:#382344!important}.fx-review-control-body p{font-size:11px;line-height:1.6;color:#c3b6cf}
.fx-root[data-fx-review="true"] .fx-review-actions{margin-top:10px;gap:10px}.fx-root[data-fx-review="true"] .fx-review-actions .btn{min-height:36px;padding:7px 14px;border-radius:12px;background:#24202dd9;color:#fff;border:1px solid #ffffff24;backdrop-filter:blur(12px)}
.fx-root[data-fx-review="true"] .fx-review-actions [data-fx="approve"]{background:#e5d2ffe8;color:#33213f;border-color:transparent}
html[data-fx-input="pointer"] .fx-review-control summary:focus-visible{outline:none!important;box-shadow:none!important}
html[data-fx-input="keyboard"] .fx-review-control summary:focus-visible{outline:none!important;box-shadow:0 0 0 3px #d9bfff65!important}
/* The manager dock scrolls horizontally instead of squeezing long labels together. */
body[data-mode="admin"][data-page="video-review"] #app .bottom-nav{overflow-x:auto;overflow-y:hidden;scrollbar-width:none;overscroll-behavior-x:contain}
body[data-mode="admin"][data-page="video-review"] #app .bottom-nav::-webkit-scrollbar{display:none}
body[data-mode="admin"][data-page="video-review"] #app .bottom-nav button{min-width:56px;flex:1 0 56px}
html[data-fx-input="pointer"] body:is([data-page="videos"],[data-page="video-review"]) #app .bottom-nav button:focus-visible{outline:none!important;box-shadow:none!important}
html[data-fx-input="keyboard"] body:is([data-page="videos"],[data-page="video-review"]) #app .bottom-nav button:focus-visible{outline:none!important;box-shadow:inset 0 0 0 2px #d9bfff65!important}
.fx-share-cover img{width:100%;height:100%;display:block;object-fit:cover;border-radius:inherit}.fx-native-card-link{display:block;color:#e1c8ff;text-align:center;font-size:13px;line-height:1.6;margin:12px 0 15px;padding:10px 12px;background:#ffffff08;border-radius:11px;text-decoration:none}.fx-native-card-link[hidden]{display:none!important}

/* Failure guidance replaces the pause glyph so the tap target stays uncluttered. */
.fx-clip[data-playback-error='true'] .fx-play-indicator{opacity:0!important;visibility:hidden}
.fx-clip[data-playback-error='true'] .fx-loading{left:50%;right:auto;transform:translateX(-50%);width:max-content;max-width:68%;padding:12px 16px;line-height:1.75;font-size:13px;white-space:normal;text-align:center;border-radius:16px;background:#0b0b0bb8;box-shadow:0 8px 28px #0003}


/* Wide viewing uses the active media element; no new load, forced crop or lower quality. */
.fx-head .fx-review-home{margin-left:auto;margin-right:8px;font-size:11px;min-height:30px;padding:4px 9px;background:#191711b3;border:0;color:#eedcaa}
.fx-wide-entry{position:absolute;left:50%;top:52%;transform:translateX(-50%);border:1px solid #ffffff30;border-radius:18px;background:#15130f99;color:#fff;padding:7px 13px;font:12px system-ui;backdrop-filter:blur(12px);z-index:3}
.fx-wide-controls{display:none}
body.fx-wide-active{overflow:hidden!important}body.fx-wide-active :is(.bottom-nav,.prototype-bar,.topbar){visibility:hidden!important}
.fx-root[data-fx-wide="true"]{position:fixed!important;inset:0!important;width:100vw!important;height:100dvh!important;z-index:1000!important;background:#000}
.fx-root[data-fx-wide="true"]>.fx-head,.fx-root[data-fx-wide="true"]>.fx-swipe-hint{display:none!important}
.fx-root[data-fx-wide="true"] .fx-feed{overflow:hidden;scroll-snap-type:none}
.fx-root[data-fx-wide="true"] .fx-clip:not(.fx-wide-clip){visibility:hidden}
.fx-wide-safe-probe{position:fixed;inset:0;box-sizing:border-box;visibility:hidden;pointer-events:none;padding:var(--sf-safe-top,env(safe-area-inset-top,0px)) var(--sf-safe-right,env(safe-area-inset-right,0px)) var(--sf-safe-bottom,env(safe-area-inset-bottom,0px)) var(--sf-safe-left,env(safe-area-inset-left,0px))}
/* Fullscreen mobile hosts can report content insets after the first frame. */
html[data-tg-miniapp="true"][data-tg-device="mobile"][data-tg-fullscreen="true"] .fx-wide-safe-probe{padding-top:max(var(--sf-safe-top,0px),calc(max(env(safe-area-inset-top,0px),var(--sf-tg-safe-top,0px)) + max(56px,var(--sf-tg-content-top,0px))))}
.fx-root[data-fx-wide="true"] .fx-wide-clip{position:fixed;inset:var(--fx-wide-center-y,50%) auto auto var(--fx-wide-center-x,50%);width:var(--fx-wide-width)!important;height:var(--fx-wide-height)!important;min-height:0;transform:translate(-50%,-50%);background:#000;z-index:1}
.fx-root[data-fx-wide-rotated="true"] .fx-wide-clip{transform:translate(-50%,-50%) rotate(90deg)}
.fx-root[data-fx-wide="true"] .fx-wide-clip>:is(.fx-info,.fx-tools,.fx-wide-entry){display:none!important}
.fx-root[data-fx-wide="true"] .fx-wide-controls{position:absolute;inset:12px 24px auto;z-index:6;display:flex;justify-content:space-between;pointer-events:none}
.fx-wide-controls button{pointer-events:auto;border:0;border-radius:18px;background:#15130faa;color:#fff;padding:8px 14px;font:13px system-ui;min-width:44px;min-height:44px;touch-action:manipulation}
.fx-root[data-fx-wide="true"] .fx-utility{bottom:14px!important;left:26px;right:26px;z-index:6}
.fx-root[data-fx-wide="true"] .fx-clip>video{object-fit:contain!important}

.fx-watch-greeting{position:fixed;z-index:1500;left:50%;bottom:max(20%,110px);width:min(340px,calc(100vw - 44px));padding:16px 18px;display:flex;gap:14px;align-items:center;color:#f6e6bd;background:linear-gradient(120deg,#2b241bea,#14120fee);border:1px solid #d9b86c55;border-radius:22px;box-shadow:0 12px 44px #0006;backdrop-filter:blur(18px);pointer-events:none;animation:fx-watch-float 6.5s ease both}.fx-watch-greeting>span{font-size:36px;color:#edcc7c}.fx-watch-greeting strong{font-size:17px}.fx-watch-greeting p{font-size:12px;line-height:1.7;margin:6px 0 0;opacity:.8}@keyframes fx-watch-float{0%{opacity:0;transform:translate(-50%,24px)}10%,75%{opacity:1;transform:translate(-50%,0)}100%{opacity:0;transform:translate(-50%,-20px)}}@media(prefers-reduced-motion:reduce){.fx-watch-greeting{animation:none;transform:translateX(-50%)}}

.fx-push-groups{max-height:32dvh;overflow:auto;border:1px solid #dfc58c30;border-radius:12px;padding:4px 14px;overflow-wrap:anywhere}.fx-push-groups p{border-bottom:1px solid #dfc58c20;padding-bottom:10px}.fx-push-groups small{opacity:.65}.fx-push-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:18px}.fx-push-actions .btn{min-height:44px;flex:1;white-space:normal}.fx-push-ack{display:flex;align-items:flex-start;gap:9px;padding:12px 0;line-height:1.6}.fx-dialog .fx-push-ack{display:flex;align-items:flex-start;gap:9px}.fx-dialog .fx-push-ack input{width:18px;height:18px;min-width:18px;flex:0 0 18px;margin:4px 0 0;accent-color:#dfc58c}.fx-push-ack span{flex:1;min-width:0;overflow-wrap:anywhere}
.fx-push-announcement{padding:14px 0;border-block:1px solid color-mix(in srgb,currentColor 15%,transparent);line-height:1.8}

/* Essential feed controls stay visible; creation utilities live under My videos. */
:root body #app .fx-root.fx-clean .fx-head .fx-head-actions{gap:6px}
:root body #app .fx-root.fx-clean .fx-head .fx-sound{display:grid;place-items:center;width:44px;height:44px;min-width:44px;min-height:44px;padding:10px;background:transparent;border:0;box-shadow:none;color:#f7f3e8;border-radius:50%}
:root body #app .fx-root.fx-clean .fx-sound svg{display:block;width:23px;height:23px}
:root body #app .fx-root.fx-clean .fx-head .fx-publish{min-height:44px;padding:7px 12px;background:#17140f8c;border:0;box-shadow:none;font-size:12px;color:#eddbb0;border-radius:22px}
:root body #app .fx-root.fx-clean .fx-head nav{margin-top:3px}
:root body #app .fx-root.fx-clean .fx-head nav button{min-height:44px;padding:8px 0;font-size:13px}
:root body #app .fx-root.fx-clean .fx-mine-actions[hidden]{display:none!important}
:root body #app .fx-root.fx-clean .fx-mine-actions{justify-content:flex-end;gap:10px;margin-top:4px}
:root body #app .fx-root.fx-clean .fx-mine-actions button{min-height:44px;padding:6px 12px;font-size:12px}

/* Explicit class also locks older embedded WebKit without relying on :has(). */
html.fx-page-fixed,html.fx-page-fixed body{position:fixed;inset:0;width:100%;height:100%;overflow:hidden!important;overscroll-behavior:none}
html.fx-page-fixed #app{height:100%;min-height:0;overflow:hidden}
html.fx-page-fixed .fx-feed,html.fx-page-fixed .fx-play{touch-action:none;overscroll-behavior:none}
html.fx-page-fixed .fx-feed{overflow-anchor:none}
html.fx-page-fixed .fx-utility input{touch-action:pan-x}

/* Custom pager owns settling; native snap and interrupted smooth scroll must not compete. */
html.fx-page-fixed .fx-feed{scroll-snap-type:none;scroll-behavior:auto!important}
:root body #app .fx-root.fx-clean .fx-head .fx-expand-restore{min-height:44px;padding:6px 10px;border:1px solid #e7d5a670;border-radius:18px;background:#17140fd9;color:#f6e5b8;font-size:11px}
:root body #app .fx-root.fx-clean .fx-head .fx-expand-restore[hidden]{display:none!important}

.fx-head .fx-expand-restore{position:absolute;left:16px;top:calc(100% - 10px);z-index:5;pointer-events:auto}
