:root {
    color-scheme: dark;
    --bg: #090b0f;
    --bg-elevated: #0e1117;
    --surface: #151820;
    --surface-2: #1b1f29;
    --surface-3: #232833;
    --line: rgba(255, 255, 255, .09);
    --line-strong: rgba(255, 255, 255, .16);
    --text: #f7f7f9;
    --muted: #a6aab4;
    --muted-2: #9297a3;
    --pink: #f04f9a;
    --pink-strong: #dc277d;
    --violet: #8b5cf6;
    --green: #36c98f;
    --amber: #ffb547;
    --red: #ff5c6c;
    --shadow: 0 24px 80px rgba(0, 0, 0, .38);
    --radius-sm: 10px;
    --radius: 16px;
    --radius-lg: 24px;
    --container: 1440px;
    --font: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --display: "Space Grotesk", Inter, ui-sans-serif, system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--bg); }
body { margin: 0; min-width: 320px; background: var(--bg); color: var(--text); font-family: var(--font); font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
body.age-unverified { overflow: hidden; }
body.age-unverified .site-shell { visibility: hidden; }
body.age-verified .age-gate { display: none; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button, select { cursor: pointer; }
img, video { display: block; max-width: 100%; }
svg.icon { width: 1.25rem; height: 1.25rem; flex: 0 0 auto; }
[hidden] { display: none !important; }
::selection { background: rgba(240, 79, 154, .35); color: #fff; }
:focus-visible { outline: 3px solid rgba(240, 79, 154, .72); outline-offset: 3px; }
.sr-only { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0, 0, 0, 0) !important; white-space: nowrap !important; border: 0 !important; }
.skip-link { position: fixed; z-index: 999; top: 8px; left: 10px; padding: 10px 14px; border-radius: 9px; background: var(--pink); color: white; font-weight: 800; transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }

.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }
.eyebrow { display: block; margin-bottom: 7px; color: var(--pink); font-size: .76rem; font-weight: 800; letter-spacing: .14em; line-height: 1.3; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: var(--display); letter-spacing: -.035em; }

.button { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 10px 17px; border: 1px solid transparent; border-radius: 11px; background: transparent; color: var(--text); font-size: .91rem; font-weight: 750; line-height: 1.15; transition: transform .18s ease, border-color .18s ease, background .18s ease, box-shadow .18s ease; }
.button:hover { transform: translateY(-1px); }
.button--primary { background: linear-gradient(135deg, var(--pink), var(--pink-strong)); box-shadow: 0 12px 30px rgba(220, 39, 125, .22); }
.button--primary:hover { box-shadow: 0 15px 34px rgba(220, 39, 125, .34); }
.button--soft { border-color: var(--line); background: var(--surface-2); }
.button--soft:hover, .button--ghost:hover { border-color: var(--line-strong); background: var(--surface-3); }
.button--ghost { border-color: var(--line); }
.button--danger { background: rgba(255, 92, 108, .12); border-color: rgba(255, 92, 108, .26); color: #ff8b97; }
.button--success { background: rgba(54, 201, 143, .12); border-color: rgba(54, 201, 143, .28); color: #6ee7b7; }
.button--wide { width: 100%; }
.text-link { color: var(--muted); font-weight: 650; }
.text-link:hover { color: var(--text); }

/* Age gate */
.age-gate { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; overflow: auto; padding: 24px; background: #08090d; }
.age-gate::before { content: ""; position: absolute; inset: 0; opacity: .32; background-image: radial-gradient(circle at 20% 10%, rgba(240, 79, 154, .33), transparent 34%), radial-gradient(circle at 85% 85%, rgba(139, 92, 246, .28), transparent 35%); }
.age-gate__glow { position: absolute; width: 520px; height: 520px; border-radius: 50%; background: rgba(240, 79, 154, .13); filter: blur(100px); }
.age-card { position: relative; width: min(100%, 540px); padding: 44px; overflow: hidden; border: 1px solid var(--line-strong); border-radius: 28px; background: rgba(20, 23, 31, .94); box-shadow: var(--shadow); text-align: center; }
.age-card::after { content: ""; position: absolute; inset: 0 0 auto; height: 2px; background: linear-gradient(90deg, transparent, var(--pink), var(--violet), transparent); }
.brand { display: inline-flex; align-items: center; gap: 8px; font-family: var(--display); font-size: 1.15rem; font-weight: 900; letter-spacing: .09em; }
.brand__x { display: grid; width: 28px; height: 28px; place-items: center; border-radius: 8px; background: linear-gradient(135deg, var(--pink), var(--violet)); color: white; font-size: 1.02rem; letter-spacing: -.06em; }
.brand--gate { margin-bottom: 30px; }
.brand__image { width: 165px; height: 55px; object-fit: contain; mix-blend-mode: screen; }
.brand--gate .brand__image { width: 210px; height: 70px; }
.age-card__badge { display: grid; width: 74px; height: 74px; place-items: center; margin: 0 auto 22px; border: 1px solid rgba(240, 79, 154, .4); border-radius: 50%; background: rgba(240, 79, 154, .09); color: #ff82b9; font: 800 1.45rem var(--display); }
.age-card h1 { margin-bottom: 14px; font-size: clamp(1.8rem, 5vw, 2.45rem); line-height: 1.08; }
.age-card > p { color: var(--muted); }
.age-card a:not(.button):hover { color: var(--pink); }
.age-card .button { margin-top: 10px; }
.age-card__safety { margin: 24px 0 0; padding-top: 20px; border-top: 1px solid var(--line); font-size: .81rem; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; border-bottom: 1px solid var(--line); background: rgba(9, 11, 15, .9); backdrop-filter: blur(18px); }
.header-inner { min-height: 72px; display: grid; grid-template-columns: auto minmax(260px, 620px) auto; align-items: center; gap: 34px; }
.header-search { height: 44px; display: flex; align-items: center; overflow: hidden; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); transition: border .2s ease, box-shadow .2s ease; }
.header-search:focus-within { border-color: rgba(240, 79, 154, .5); box-shadow: 0 0 0 4px rgba(240, 79, 154, .08); }
.header-search svg { margin-left: 14px; color: var(--muted-2); }
.header-search input { min-width: 0; flex: 1; height: 100%; padding: 0 12px; border: 0; outline: 0; background: transparent; color: var(--text); }
.header-search input::placeholder { color: var(--muted-2); }
.header-search button { align-self: stretch; padding: 0 16px; border: 0; border-left: 1px solid var(--line); background: rgba(255, 255, 255, .03); color: var(--muted); font-size: .82rem; font-weight: 750; }
.header-search button:hover { color: var(--text); background: rgba(255, 255, 255, .06); }
.header-search-link { width: 44px; height: 44px; display: none; place-items: center; justify-self: end; border: 1px solid var(--line); border-radius: 11px; color: var(--muted); }
.header-actions { display: flex; align-items: center; justify-content: flex-end; gap: 13px; }
.icon-button { width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 11px; background: transparent; color: var(--muted); }
.icon-button:hover, .icon-button[aria-pressed="false"] { color: var(--text); background: var(--surface); }
.account-link { display: flex; align-items: center; gap: 9px; font-size: .88rem; font-weight: 700; }
.avatar { display: grid; width: 46px; height: 46px; flex: 0 0 auto; place-items: center; border: 1px solid rgba(240, 79, 154, .32); border-radius: 50%; background: linear-gradient(145deg, #3b1d37, #29204a); color: #ff93c2; font: 800 1rem var(--display); }
.avatar--small { width: 35px; height: 35px; font-size: .82rem; }
.avatar--large { width: 88px; height: 88px; font-size: 2rem; }
.category-rail { border-top: 1px solid rgba(255, 255, 255, .045); }
.category-rail__inner { min-height: 48px; display: flex; align-items: center; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.category-rail__inner::-webkit-scrollbar { display: none; }
.category-pill { flex: 0 0 auto; padding: 7px 13px; border-radius: 8px; color: var(--muted); font-size: .83rem; font-weight: 680; }
.category-pill:hover, .category-pill.is-active { background: var(--surface-2); color: var(--text); }
.category-pill.is-active { box-shadow: inset 0 -2px var(--pink); }
.demo-banner { border-bottom: 1px solid rgba(255, 181, 71, .15); background: rgba(255, 181, 71, .07); color: #e8c68e; font-size: .82rem; }
.demo-banner .container { padding-block: 9px; }

/* Toasts */
.toast-stack { position: fixed; z-index: 100; top: 136px; right: 22px; width: min(390px, calc(100% - 44px)); display: grid; gap: 10px; }
.toast { display: flex; align-items: center; gap: 11px; padding: 14px 15px; border: 1px solid var(--line-strong); border-radius: 13px; background: rgba(27, 31, 41, .97); box-shadow: var(--shadow); color: var(--text); font-size: .88rem; }
.toast > span { flex: 1; }
.toast--success > svg { color: var(--green); }
.toast--warning > svg { color: var(--amber); }
.toast button { width: 30px; height: 30px; display: grid; place-items: center; padding: 0; border: 0; background: transparent; color: var(--muted); }
.toast.is-leaving { opacity: 0; transform: translateX(20px); transition: .25s ease; }

/* Home and cards */
.home-intro { padding: 52px 0 22px; background: radial-gradient(circle at 25% -50%, rgba(240, 79, 154, .15), transparent 52%); }
.discovery-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; }
.discovery-head h1 { margin-bottom: 8px; font-size: clamp(2rem, 4vw, 3.25rem); line-height: 1.05; }
.discovery-head p { margin: 0; color: var(--muted); }
.safety-link { min-width: 350px; display: flex; align-items: center; gap: 13px; padding: 14px 15px; border: 1px solid var(--line); border-radius: 14px; background: rgba(21, 24, 32, .7); }
.safety-link > svg:first-child { width: 28px; height: 28px; color: var(--green); }
.safety-link > span { flex: 1; display: flex; flex-direction: column; }
.safety-link strong { font-size: .88rem; }
.safety-link small { color: var(--muted); font-size: .75rem; }
.safety-link > svg:last-child { color: var(--muted-2); }
.quick-categories { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 30px; }
.quick-categories a { position: relative; min-height: 72px; display: flex; flex-direction: column; justify-content: center; overflow: hidden; padding: 12px 17px; border: 1px solid var(--line); border-radius: 13px; background: var(--surface); transition: border .2s, transform .2s; }
.quick-categories a::after { content: ""; position: absolute; width: 90px; height: 90px; right: -30px; border-radius: 50%; background: var(--cat, var(--pink)); opacity: .11; filter: blur(8px); }
.quick-categories a:nth-child(2) { --cat: #8b5cf6; }
.quick-categories a:nth-child(3) { --cat: #26c6b8; }
.quick-categories a:nth-child(4) { --cat: #ff8d5d; }
.quick-categories a:hover { transform: translateY(-2px); border-color: var(--line-strong); }
.quick-categories span { font: 750 .96rem var(--display); }
.quick-categories small { color: var(--muted-2); font-size: .73rem; }
.content-section { padding: 34px 0 48px; }
.content-section--first { padding-top: 28px; }
.section-heading { min-height: 52px; display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 20px; }
.section-heading .eyebrow { margin-bottom: 2px; }
.section-heading h2 { margin: 0; font-size: 1.65rem; }
.section-heading > a { display: flex; align-items: center; gap: 3px; color: var(--muted); font-size: .84rem; font-weight: 700; }
.section-heading > a:hover { color: var(--pink); }
.section-heading > a svg { width: 16px; }
.section-heading--compact { min-height: 0; }
.video-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px 18px; }
.video-card { position: relative; min-width: 0; }
.video-card__thumb { position: relative; aspect-ratio: 16 / 9; display: block; overflow: hidden; border-radius: 12px; background: var(--surface-2); isolation: isolate; }
.video-card__thumb::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, transparent 45%, rgba(0, 0, 0, .52)); pointer-events: none; }
.video-card__thumb img, .thumb-art { width: 100%; height: 100%; display: block; object-fit: cover; transition: transform .35s ease, filter .3s ease; }
.thumb-art { position: absolute; inset: 0; background-color: #22132c; }
.thumb-art::before, .thumb-art::after { content: ""; position: absolute; border-radius: 999px; filter: blur(22px); }
.thumb-art::before { width: 68%; height: 90%; left: -12%; top: 14%; background: rgba(240, 79, 154, .44); transform: rotate(-18deg); }
.thumb-art::after { width: 58%; height: 92%; right: -5%; top: -20%; background: rgba(139, 92, 246, .48); transform: rotate(30deg); }
.thumb-art--2 { background-color: #111c2e; }.thumb-art--2::before { background: rgba(45, 212, 191, .4); }.thumb-art--2::after { background: rgba(59, 130, 246, .5); }
.thumb-art--3 { background-color: #2a1518; }.thumb-art--3::before { background: rgba(249, 115, 22, .45); }.thumb-art--3::after { background: rgba(236, 72, 153, .43); }
.thumb-art--4 { background-color: #161326; }.thumb-art--4::before { background: rgba(124, 58, 237, .5); }.thumb-art--4::after { background: rgba(244, 63, 94, .35); }
.thumb-art--5 { background-color: #0f2223; }.thumb-art--5::before { background: rgba(16, 185, 129, .42); }.thumb-art--5::after { background: rgba(14, 165, 233, .4); }
.thumb-art--6 { background-color: #281925; }.thumb-art--6::before { background: rgba(251, 113, 133, .44); }.thumb-art--6::after { background: rgba(168, 85, 247, .43); }
.thumb-art--7 { background-color: #242015; }.thumb-art--7::before { background: rgba(245, 158, 11, .43); }.thumb-art--7::after { background: rgba(239, 68, 68, .35); }
.thumb-art--8 { background-color: #111a27; }.thumb-art--8::before { background: rgba(6, 182, 212, .42); }.thumb-art--8::after { background: rgba(99, 102, 241, .44); }
.video-card__thumb:hover img, .video-card__thumb:hover .thumb-art { transform: scale(1.035); }
.video-card:hover .video-card__play, .video-card:focus-within .video-card__play { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.thumbs-blurred .video-card__thumb img, .thumbs-blurred .video-card__thumb .thumb-art { filter: blur(17px) saturate(.72); transform: scale(1.12); }
.video-card__play { position: absolute; z-index: 3; inset: 50% auto auto 50%; width: 47px; height: 47px; display: grid; place-items: center; border: 1px solid rgba(255, 255, 255, .2); border-radius: 50%; background: rgba(8, 9, 13, .58); opacity: 0; transform: translate(-50%, -45%) scale(.88); backdrop-filter: blur(10px); transition: .2s ease; }
.video-card__play svg { width: 18px; fill: currentColor; margin-left: 2px; }
.video-card__thumb:hover .video-card__play { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.video-card__duration { position: absolute; z-index: 3; right: 8px; bottom: 8px; padding: 3px 6px; border-radius: 5px; background: rgba(0, 0, 0, .76); font-size: .71rem; font-weight: 750; }
.video-card__verified { position: absolute; z-index: 3; left: 8px; bottom: 8px; display: flex; align-items: center; gap: 4px; padding: 3px 7px; border: 1px solid rgba(255,255,255,.1); border-radius: 6px; background: rgba(0, 0, 0, .6); color: #d9fff0; font-size: .65rem; font-weight: 750; backdrop-filter: blur(8px); }
.video-card__verified svg { width: 12px; height: 12px; color: var(--green); }
.video-card__body { padding: 11px 2px 0; }
.video-card__title { display: -webkit-box; overflow: hidden; margin-bottom: 5px; font: 720 .97rem/1.35 var(--display); -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.video-card__title::after { content: ""; position: absolute; z-index: 4; inset: 0; }
.video-card__title:hover { color: #ff83b9; }
.video-card__creator, .video-card__meta { display: flex; align-items: center; gap: 5px; color: var(--muted); font-size: .77rem; }
.video-card__meta { color: var(--muted-2); }
.verified-dot { width: 14px; height: 14px; display: inline-grid; place-items: center; border-radius: 50%; background: var(--green); color: #06130e; font-size: .59rem; font-weight: 900; }
.trust-panel { padding: 20px 0 70px; }
.trust-panel__inner { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 24px; padding: 27px; border: 1px solid rgba(54, 201, 143, .16); border-radius: var(--radius-lg); background: linear-gradient(110deg, rgba(54, 201, 143, .08), rgba(21, 24, 32, .9) 50%, rgba(139, 92, 246, .07)); }
.trust-panel__icon { width: 62px; height: 62px; display: grid; place-items: center; border-radius: 18px; background: rgba(54, 201, 143, .1); color: var(--green); }
.trust-panel__icon svg { width: 31px; height: 31px; }
.trust-panel h2 { margin: 0 0 4px; font-size: 1.35rem; }
.trust-panel p { margin: 0; color: var(--muted); font-size: .89rem; }

/* Browse */
.browse-page, .dashboard-page, .admin-page { min-height: 65vh; padding: 52px 0 80px; }
.page-heading h1, .dashboard-heading h1 { margin-bottom: 6px; font-size: clamp(2rem, 4vw, 3rem); }
.page-heading p, .dashboard-heading p { margin: 0; color: var(--muted); }
.filter-bar { display: grid; grid-template-columns: minmax(240px, 1.5fr) minmax(150px, .7fr) minmax(160px, .7fr) auto auto; align-items: end; gap: 12px; margin: 28px 0 32px; padding: 15px; border: 1px solid var(--line); border-radius: 15px; background: var(--surface); }
.filter-bar label:not(.check-filter) { display: flex; flex-direction: column; gap: 6px; }
.filter-bar label > span { color: var(--muted); font-size: .72rem; font-weight: 750; }
.filter-bar input, .filter-bar select { height: 43px; padding: 0 12px; border: 1px solid var(--line); border-radius: 9px; outline: 0; background: var(--bg-elevated); color: var(--text); }
.filter-bar input:focus-visible, .filter-bar select:focus-visible, .report-panel input:focus-visible, .report-panel select:focus-visible, .report-panel textarea:focus-visible, .moderation-actions input:focus-visible { outline: 3px solid rgba(240, 79, 154, .72); outline-offset: 2px; border-color: rgba(240, 79, 154, .55); }
.filter-search { position: relative; }
.filter-search svg { position: absolute; z-index: 1; left: 12px; bottom: 11px; width: 18px; color: var(--muted-2); }
.filter-search input { padding-left: 39px; }
.filter-search > span { order: -1; }
.check-filter { min-height: 43px; display: flex; align-items: center; gap: 8px; padding: 0 10px; white-space: nowrap; }
.check-filter input { width: 17px; height: 17px; accent-color: var(--pink); }
.tag-cloud { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin: -18px 0 30px; }
.tag-cloud > span { margin-right: 2px; color: var(--muted-2); font-size: .74rem; font-weight: 800; text-transform: uppercase; }
.tag-cloud a, .video-tags a { padding: 7px 10px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--muted); font-size: .75rem; font-weight: 700; }
.tag-cloud a:hover, .tag-cloud a.is-active, .video-tags a:hover { border-color: rgba(240,79,154,.35); background: rgba(240,79,154,.1); color: #ff9bc7; }
.tag-cloud small { margin-left: 3px; color: var(--muted-2); }
.tag-cloud .tag-cloud__clear { border-style: dashed; }
.browse-grid { min-height: 250px; }
.pagination { display: flex; align-items: center; justify-content: center; gap: 22px; margin-top: 44px; color: var(--muted); font-size: .87rem; }
.pagination a { padding: 9px 14px; border: 1px solid var(--line); border-radius: 9px; color: var(--text); }
.empty-state { min-height: 330px; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 30px; border: 1px dashed var(--line-strong); border-radius: var(--radius); background: rgba(21, 24, 32, .45); text-align: center; }
.empty-state > svg { width: 42px; height: 42px; margin-bottom: 18px; color: var(--muted-2); }
.empty-state h2, .empty-state h3 { margin-bottom: 6px; }
.empty-state p { color: var(--muted); }
.empty-state--small { min-height: 230px; }

/* Watch */
.watch-page { padding: 30px 0 78px; }
.watch-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 30px; align-items: start; }
.player-shell { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 16px; background: #030407; box-shadow: 0 25px 75px rgba(0, 0, 0, .32); }
.player-shell video { width: 100%; height: 100%; object-fit: contain; }
.external-player { position: absolute; inset: 0; width: 100%; height: 100%; display: block; overflow: hidden; padding: 0; background: #000; }
.external-player iframe { position: absolute; inset: 0; width: 100% !important; height: 100% !important; min-width: 100%; min-height: 100%; display: block; border: 0; background: #000; }
.external-player__mark { width: 62px; height: 62px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.2); border-radius: 50%; color: var(--pink); background: rgba(255,255,255,.04); }
.external-player__mark svg { width: 24px; height: 24px; margin-left: 3px; fill: currentColor; }
.external-player p { max-width: 520px; margin: 0 0 8px; color: var(--muted); font-size: .82rem; }
.demo-player { position: relative; inset: auto; display: flex; flex-direction: column; align-items: center; justify-content: center; color: #fff; }
.demo-player::before, .demo-player::after { z-index: 0; }
.demo-player > * { position: relative; z-index: 2; }
.demo-player__button { width: 78px; height: 78px; display: grid; place-items: center; margin-bottom: 17px; border: 1px solid rgba(255,255,255,.27); border-radius: 50%; background: rgba(9,11,15,.5); backdrop-filter: blur(12px); }
.demo-player__button svg { width: 28px; height: 28px; margin-left: 4px; fill: currentColor; }
.demo-player strong { font: 800 1.1rem var(--display); }
.demo-player small { margin-top: 4px; color: rgba(255,255,255,.72); }
.watch-title-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; padding: 24px 0 19px; border-bottom: 1px solid var(--line); }
.watch-title-row h1 { margin: 4px 0 6px; font-size: clamp(1.55rem, 3vw, 2.25rem); line-height: 1.15; }
.watch-title-row p { margin: 0; color: var(--muted); font-size: .83rem; }
.category-label { color: var(--pink); font-size: .73rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.watch-actions { display: flex; align-items: center; gap: 8px; }
.action-chip { min-height: 41px; display: inline-flex; align-items: center; gap: 7px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); color: var(--muted); font-size: .78rem; font-weight: 700; }
.action-chip:hover, .action-chip.is-active { border-color: rgba(240, 79, 154, .28); background: rgba(240, 79, 154, .1); color: #ff8cbe; }
.action-chip svg { width: 17px; height: 17px; }
.creator-panel { display: flex; align-items: center; gap: 12px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.creator-panel__identity { flex: 1; display: flex; flex-direction: column; }
.creator-panel__identity strong { font: 750 .98rem var(--display); }
.creator-panel__identity span { color: var(--muted); font-size: .77rem; }
.verified-badge { display: inline-grid; width: 17px; height: 17px; place-items: center; border-radius: 50%; background: var(--green); color: #07130e; font-size: .66rem; }
.creator-panel__status { display: flex; align-items: center; gap: 6px; color: #8ce4bf; font-size: .76rem; }
.creator-panel__status svg { width: 17px; }
.video-description { padding: 22px 0; border-bottom: 1px solid var(--line); }
.video-description h2 { margin-bottom: 8px; font-size: 1rem; }
.video-description p { margin: 0; color: var(--muted); font-size: .9rem; }
.video-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.report-panel { margin-top: 18px; border: 1px solid var(--line); border-radius: 13px; background: var(--surface); }
.report-panel summary { display: flex; align-items: center; gap: 9px; padding: 14px 16px; color: var(--muted); cursor: pointer; font-size: .85rem; font-weight: 700; }
.report-panel summary::marker { content: ""; }
.report-panel form { display: grid; gap: 13px; padding: 4px 16px 18px; }
.report-intro { display: flex; flex-direction: column; padding: 12px; border-radius: 9px; background: rgba(255, 92, 108, .08); color: var(--muted); font-size: .8rem; }
.report-intro strong { color: #ff9ca5; }
.report-panel label { display: grid; gap: 5px; color: var(--muted); font-size: .78rem; }
.report-panel input, .report-panel select, .report-panel textarea { padding: 10px 11px; border: 1px solid var(--line); border-radius: 9px; outline: 0; background: var(--bg-elevated); color: var(--text); resize: vertical; }
.report-panel .button { justify-self: start; }
.watch-related { position: sticky; top: 148px; }
.watch-related .video-card { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 11px; }
.watch-related .video-card__body { padding: 1px 0; }
.watch-related .video-card__title { font-size: .85rem; }
.watch-related .video-card__verified { display: none; }
.related-list { display: grid; gap: 15px; }

/* Forms and authentication */
.auth-page { min-height: calc(100vh - 121px); display: grid; grid-template-columns: minmax(350px, .82fr) minmax(520px, 1.18fr); }
.auth-art { position: relative; display: flex; flex-direction: column; justify-content: center; overflow: hidden; padding: 8vw; border-right: 1px solid var(--line); background: radial-gradient(circle at 30% 35%, rgba(240,79,154,.22), transparent 35%), linear-gradient(145deg, #0e0c15, #111522); }
.auth-art::before { content: ""; position: absolute; width: 380px; height: 600px; right: -160px; top: 15%; border: 1px solid rgba(255,255,255,.07); border-radius: 50%; transform: rotate(22deg); }
.auth-art__orb { position: absolute; width: 260px; height: 260px; left: -100px; bottom: -40px; border-radius: 50%; background: rgba(139,92,246,.16); filter: blur(30px); }
.auth-art > *:not(.auth-art__orb) { position: relative; z-index: 1; }
.auth-art h2 { margin-bottom: 20px; font-size: clamp(2.7rem, 5vw, 5rem); line-height: .96; }
.auth-art > p { max-width: 460px; color: var(--muted); }
.auth-art ul { display: grid; gap: 14px; margin: 20px 0 0; padding: 0; list-style: none; color: var(--muted); }
.auth-art li { display: flex; align-items: center; gap: 10px; font-size: .88rem; }
.auth-art li svg { color: var(--pink); }
.auth-panel { display: grid; place-items: center; padding: 50px 24px; background: var(--bg-elevated); }
.auth-card { width: min(100%, 470px); }
.auth-card--wide { width: min(100%, 620px); }
.auth-card h1 { margin-bottom: 7px; font-size: 2.4rem; }
.auth-card > p { color: var(--muted); }
.stack-form { display: grid; gap: 18px; }
.stack-form label:not(.check-row):not(.file-drop) { display: grid; gap: 7px; }
.stack-form label > span, .report-panel label > span { color: #d4d6dc; font-size: .82rem; font-weight: 700; }
.stack-form label > span small { color: var(--muted-2); font-weight: 500; }
.stack-form input:not([type="checkbox"]):not([type="file"]), .stack-form select, .stack-form textarea, .moderation-actions input { width: 100%; min-height: 48px; padding: 11px 13px; border: 1px solid var(--line); border-radius: 10px; outline: 0; background: var(--surface); color: var(--text); resize: vertical; }
.stack-form input:focus, .stack-form select:focus, .stack-form textarea:focus { border-color: rgba(240, 79, 154, .52); box-shadow: 0 0 0 4px rgba(240,79,154,.07); }
.stack-form label > small { color: var(--muted-2); font-size: .73rem; }
.form-grid { display: grid; gap: 14px; }
.form-grid--two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.check-row { display: flex; align-items: flex-start; gap: 10px; color: var(--muted); font-size: .81rem; }
.check-row input { width: 18px; height: 18px; flex: 0 0 auto; margin: 2px 0 0; accent-color: var(--pink); }
.check-row a { color: #ff8cbe; text-decoration: underline; text-underline-offset: 2px; }
.check-row--quiet { justify-content: center; margin: 20px 0 5px; }
.form-errors { display: flex; gap: 12px; margin: 18px 0; padding: 14px; border: 1px solid rgba(255,92,108,.25); border-radius: 11px; background: rgba(255,92,108,.08); color: #ffb0b8; font-size: .82rem; }
.form-errors > svg { flex: 0 0 auto; margin-top: 2px; }
.form-errors strong { color: #ffd2d6; }
.form-errors ul { margin: 5px 0 0; padding-left: 18px; }
.auth-switch { margin-top: 22px; text-align: center; font-size: .86rem; }
.auth-switch a { color: #ff8cbe; font-weight: 750; }

/* Dashboard */
.dashboard-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 31px; }
.dashboard-grid { display: grid; grid-template-columns: 310px minmax(0, 1fr); gap: 22px; align-items: start; }
.profile-card, .dashboard-card, .form-card, .admin-section { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.profile-card { position: sticky; top: 148px; display: flex; flex-direction: column; align-items: center; padding: 28px 22px; text-align: center; }
.profile-card h2 { margin: 14px 0 0; }
.profile-card > p { color: var(--muted); font-size: .84rem; }
.status-badge { display: inline-flex; align-items: center; gap: 5px; padding: 5px 8px; border: 1px solid var(--line); border-radius: 7px; background: var(--surface-2); color: var(--muted); font-size: .7rem; font-weight: 750; white-space: nowrap; }
.status-badge svg { width: 14px; height: 14px; }
.status-badge--verified, .status-badge--published { border-color: rgba(54,201,143,.2); background: rgba(54,201,143,.08); color: #84e3ba; }
.status-badge--pending { border-color: rgba(255,181,71,.2); background: rgba(255,181,71,.08); color: #ffd08a; }
.status-badge--rejected, .status-badge--removed, .status-badge--minor, .status-badge--non_consensual { border-color: rgba(255,92,108,.22); background: rgba(255,92,108,.08); color: #ff9ca5; }
.profile-card__callout { width: 100%; margin-top: 22px; padding: 16px; border-radius: 12px; background: var(--bg-elevated); text-align: left; }
.profile-card__callout p { color: var(--muted); font-size: .78rem; }
.profile-card .button { margin-top: 13px; }
.dashboard-content { display: grid; gap: 20px; }
.dashboard-card { padding: 23px; }
.upload-list { display: grid; }
.upload-row { display: grid; grid-template-columns: 108px minmax(0, 1fr) auto; align-items: center; gap: 14px; padding: 13px 0; border-top: 1px solid var(--line); }
.upload-row__thumb { position: relative; inset: auto; aspect-ratio: 16/9; overflow: hidden; border-radius: 8px; display: grid; place-items: center; }
.upload-row__thumb svg { position: relative; z-index: 2; }
.upload-row > div:nth-child(2) { display: flex; flex-direction: column; }
.upload-row strong { font: 700 .88rem var(--display); }
.upload-row span { color: var(--muted); font-size: .75rem; }
.security-card { display: flex; align-items: flex-start; gap: 16px; }
.security-card > div:first-child { width: 48px; height: 48px; display: grid; flex: 0 0 auto; place-items: center; border-radius: 13px; background: rgba(54,201,143,.1); color: var(--green); }
.security-card h2 { margin-bottom: 4px; font-size: 1rem; }
.security-card p { margin: 0; color: var(--muted); font-size: .82rem; }

/* Upload */
.form-page { min-height: 70vh; padding: 50px 0 80px; }
.form-page__layout { display: grid; grid-template-columns: 290px minmax(0, 830px); justify-content: center; gap: 42px; align-items: start; }
.form-page__intro { position: sticky; top: 150px; }
.back-link { display: inline-block; margin-bottom: 30px; color: var(--muted); font-size: .82rem; }
.form-page__intro h1 { margin-bottom: 8px; font-size: 2.4rem; line-height: 1.05; }
.form-page__intro > p { color: var(--muted); }
.step-list { display: grid; gap: 0; margin: 35px 0 0; padding: 0; list-style: none; }
.step-list li { position: relative; display: flex; gap: 12px; min-height: 72px; color: var(--muted-2); }
.step-list li::after { content: ""; position: absolute; width: 1px; height: 31px; left: 16px; top: 37px; background: var(--line-strong); }
.step-list li:last-child::after { display: none; }
.step-list li > span { width: 33px; height: 33px; display: grid; flex: 0 0 auto; place-items: center; border: 1px solid var(--line); border-radius: 50%; font-size: .73rem; font-weight: 800; }
.step-list li > div { display: flex; flex-direction: column; }
.step-list strong { color: var(--muted); font-size: .84rem; }
.step-list small { font-size: .72rem; }
.step-list li.is-active > span { border-color: rgba(240,79,154,.5); background: rgba(240,79,154,.12); color: #ff8cbe; }
.step-list li.is-active strong { color: var(--text); }
.form-card--large { padding: 28px; }
.stack-form fieldset { display: grid; gap: 17px; margin: 0; padding: 0 0 28px; border: 0; border-bottom: 1px solid var(--line); }
.stack-form fieldset + fieldset { padding-top: 27px; }
.stack-form legend { width: 100%; margin-bottom: 18px; font: 750 1.1rem var(--display); }
.stack-form legend span { margin-right: 8px; color: var(--pink); font-size: .75rem; }
.file-drop { min-height: 205px; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 25px; border: 1px dashed rgba(240,79,154,.35); border-radius: 14px; background: rgba(240,79,154,.035); text-align: center; cursor: pointer; transition: .2s ease; }
.file-drop:hover, .file-drop.is-dragging { border-color: var(--pink); background: rgba(240,79,154,.07); }
.file-drop:focus-within { outline: 3px solid rgba(240, 79, 154, .72); outline-offset: 3px; border-color: var(--pink); }
.file-drop > svg { width: 36px; height: 36px; margin-bottom: 12px; color: var(--pink); }
.file-drop strong { font: 750 .98rem var(--display); }
.file-drop > span { color: var(--muted); font-size: .78rem; }
.file-drop input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.file-drop small { margin-top: 16px; padding: 5px 9px; border-radius: 6px; background: var(--surface-2); color: var(--muted); font-size: .72rem; }
.frame-picker { display: grid; gap: 14px; padding: 16px; border: 1px solid var(--line); border-radius: 14px; background: #0b0e13; }
.frame-picker[hidden] { display: none; }
.frame-picker__heading { display: flex; align-items: end; justify-content: space-between; gap: 16px; }
.frame-picker__heading div { display: grid; gap: 4px; }
.frame-picker__heading small, .frame-picker__result small { color: var(--muted); }
.frame-picker__heading output { color: var(--pink); font: 800 .9rem var(--display); }
.frame-picker > video { width: 100%; max-height: 430px; aspect-ratio: 16 / 9; object-fit: contain; border-radius: 10px; background: #000; }
.frame-picker__timeline input { width: 100%; accent-color: var(--pink); }
.frame-picker__result { display: grid; grid-template-columns: minmax(180px, 260px) 1fr; gap: 16px; align-items: center; }
.frame-picker__result img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 9px; }
.frame-picker__result > div { display: grid; justify-items: start; gap: 9px; }
.field-note { margin: -6px 0 0; color: var(--muted-2); font-size: .73rem; }
.file-input { padding: 10px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); color: var(--muted); }
.file-input::file-selector-button { margin-right: 12px; padding: 8px 11px; border: 0; border-radius: 7px; background: var(--surface-3); color: var(--text); }
.compliance-notice { display: flex; gap: 13px; padding: 14px; border: 1px solid rgba(54,201,143,.15); border-radius: 11px; background: rgba(54,201,143,.06); }
.compliance-notice > svg { margin-top: 2px; color: var(--green); }
.compliance-notice p { margin: 0; color: var(--muted); font-size: .79rem; }
.compliance-notice strong { display: block; color: var(--text); }
.form-submit-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.form-submit-row > span { display: flex; align-items: center; gap: 7px; color: var(--muted); font-size: .75rem; }

/* Admin */
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 28px; }
.stats-grid > div { display: flex; flex-direction: column; padding: 18px; border: 1px solid var(--line); border-radius: 13px; background: var(--surface); }
.stats-grid span { color: var(--muted); font-size: .74rem; }
.stats-grid strong { margin-top: 4px; font: 800 1.8rem var(--display); }
.stats-grid .is-urgent { border-color: rgba(255,92,108,.2); background: rgba(255,92,108,.055); }
.stats-grid .is-urgent strong { color: #ff8f9b; }
.admin-section { margin-top: 18px; padding: 22px; }
.admin-embed-section { border-color: rgba(238,37,139,.24); background: linear-gradient(145deg, rgba(238,37,139,.055), transparent 42%), var(--surface); }
.embed-form { max-width: 920px; }
.embed-form__checks { display: grid; gap: 10px; padding: 14px; border: 1px solid var(--line); border-radius: 12px; background: rgba(255,255,255,.018); }
.embed-refresh-form { display: flex; align-items: center; gap: 12px; margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); }
.embed-refresh-form small { color: var(--muted); }
.admin-list { display: grid; }
.admin-row { display: grid; grid-template-columns: auto minmax(200px, 1fr) minmax(260px, auto); align-items: center; gap: 15px; padding: 16px 0; border-top: 1px solid var(--line); }
.admin-row:first-child { border-top: 0; }
.admin-row--report { grid-template-columns: minmax(0, 1fr) auto; align-items: end; }
.admin-row--manage { grid-template-columns: 120px minmax(220px, 1fr) auto; }
.admin-row h3 { margin: 0 0 3px; font-size: .93rem; }
.admin-row p { margin: 0; color: var(--muted); font-size: .78rem; }
.admin-row small { color: var(--muted-2); font-size: .71rem; }
.admin-media-link { display: block; margin-top: 5px; color: #ff8cbe; font-size: .74rem; font-weight: 700; }
.admin-row__thumb { position: relative; inset: auto; width: 120px; aspect-ratio: 16/9; display: grid; place-items: center; overflow: hidden; border-radius: 9px; }
.admin-row__thumb img { width: 100%; height: 100%; object-fit: cover; }
.admin-row__thumb svg { position: relative; z-index: 2; }
.manage-video__heading { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-bottom: 3px; }
.manage-video__heading h3 { margin: 0; }
.manage-video-actions { display: grid; gap: 9px; justify-items: end; }
.video-tags-form { display: flex; align-items: end; justify-content: flex-end; gap: 8px; }
.video-tags-form label { display: grid; gap: 4px; }
.video-tags-form label span { color: var(--muted); font-size: .7rem; font-weight: 800; }
.video-tags-form input { width: 270px; min-height: 40px; padding: 8px 11px; border: 1px solid var(--line); border-radius: 9px; outline: 0; background: var(--surface); color: var(--text); }
.video-tags-form input:focus-visible { outline: 3px solid rgba(240,79,154,.25); outline-offset: 2px; border-color: var(--pink); }
.video-tags-form .button { min-height: 40px; padding: 8px 11px; }
.delete-video-form { display: flex; align-items: end; justify-content: flex-end; gap: 8px; }
.delete-video-form label { display: grid; gap: 4px; }
.delete-video-form label span { color: #ff9daa; font-size: .7rem; font-weight: 800; }
.delete-video-form input { width: 135px; min-height: 40px; padding: 8px 11px; border: 1px solid rgba(255,92,108,.35); border-radius: 9px; outline: 0; background: var(--surface); color: var(--text); }
.delete-video-form input:focus-visible { outline: 3px solid rgba(255,92,108,.35); outline-offset: 2px; border-color: #ff5c6c; }
.delete-video-form .button { min-height: 40px; padding: 8px 11px; }
.moderation-actions { display: flex; align-items: center; justify-content: flex-end; gap: 7px; }
.moderation-actions input { width: 180px; min-height: 40px; }
.moderation-reason { display: grid; gap: 3px; }
.moderation-reason span { color: var(--muted); font-size: .7rem; }
.moderation-actions .button { min-height: 40px; padding: 8px 11px; }
.report-actions { display: grid; justify-items: end; gap: 8px; }
.report-actions form { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px; }
.report-actions .button { min-height: 38px; padding: 7px 10px; font-size: .76rem; }
.empty-inline { padding: 18px; display: flex; align-items: center; justify-content: center; gap: 9px; border: 1px dashed var(--line); border-radius: 11px; color: var(--muted); font-size: .82rem; }
.empty-inline svg { color: var(--green); }

/* Legal and error */
.legal-page { padding: 56px 0 90px; }
.legal-layout { display: grid; grid-template-columns: 240px minmax(0, 800px); justify-content: center; gap: 65px; align-items: start; }
.legal-nav { position: sticky; top: 150px; display: grid; gap: 4px; }
.legal-nav .eyebrow { margin-bottom: 12px; }
.legal-nav a { padding: 9px 11px; border-radius: 8px; color: var(--muted); font-size: .84rem; }
.legal-nav a:hover, .legal-nav a.is-active { background: var(--surface); color: var(--text); }
.legal-nav a.is-active { box-shadow: inset 2px 0 var(--pink); }
.legal-content h1 { margin-bottom: 13px; font-size: clamp(2.25rem, 5vw, 3.5rem); }
.legal-content .lead { margin-bottom: 38px; color: #c4c7ce; font-size: 1.07rem; }
.legal-content h2 { margin: 34px 0 8px; font-size: 1.23rem; }
.legal-content p, .legal-content li { color: var(--muted); }
.legal-content a { color: #ff8cbe; text-decoration: underline; text-underline-offset: 3px; }
.policy-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin: 30px 0; }
.policy-card { padding: 20px; border: 1px solid var(--line); border-radius: 15px; background: var(--surface); }
.policy-card > svg { width: 28px; height: 28px; }
.policy-card--allowed > svg { color: var(--green); }
.policy-card--blocked > svg { color: var(--red); }
.policy-card h2 { margin: 10px 0; }
.policy-card ul { margin: 0; padding-left: 19px; font-size: .84rem; }
.urgent-card { display: flex; gap: 16px; margin: 26px 0; padding: 19px; border: 1px solid rgba(255,181,71,.21); border-radius: 14px; background: rgba(255,181,71,.07); }
.urgent-card > svg { flex: 0 0 auto; color: var(--amber); }
.urgent-card p { margin: 4px 0 0; }
.urgent-card--critical { border-color: rgba(255,92,108,.23); background: rgba(255,92,108,.07); }
.urgent-card--critical > svg { color: var(--red); }
.legal-contact { margin-top: 45px; padding: 20px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.legal-contact p { margin: 4px 0 0; }
.error-page { min-height: 65vh; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 60px 20px; text-align: center; }
.error-code { position: absolute; z-index: -1; color: rgba(255,255,255,.025); font: 900 20rem/1 var(--display); }
.error-page h1 { margin-bottom: 8px; font-size: 2.5rem; }
.error-page p { color: var(--muted); }

/* Footer and mobile navigation */
.site-footer { border-top: 1px solid var(--line); background: #07090c; }
.footer-grid { display: grid; grid-template-columns: 2fr repeat(3, 1fr); gap: 55px; padding-block: 52px; }
.footer-grid > div { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.footer-grid p { max-width: 430px; margin: 12px 0 0; color: var(--muted); font-size: .81rem; }
.footer-grid h2 { margin: 0 0 8px; color: var(--text); font: 750 .83rem var(--display); }
.footer-grid > div:not(:first-child) a { color: var(--muted); font-size: .79rem; }
.footer-grid > div:not(:first-child) a:hover { color: var(--pink); }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding-block: 18px; border-top: 1px solid var(--line); color: var(--muted-2); font-size: .71rem; }
.mobile-nav { display: none; }

@media (max-width: 1180px) {
    .video-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .header-inner { grid-template-columns: auto minmax(240px, 1fr) auto; gap: 20px; }
    .header-register, .account-link > span { display: none; }
    .watch-layout { grid-template-columns: minmax(0, 1fr) 300px; gap: 22px; }
    .watch-related .video-card { grid-template-columns: 125px minmax(0, 1fr); }
    .filter-bar { grid-template-columns: minmax(220px, 1fr) repeat(2, 150px) auto; }
    .check-filter { grid-row: 2; grid-column: 1 / 2; }
    .auth-art { padding: 6vw; }
    .admin-row { grid-template-columns: auto 1fr; }
    .moderation-actions { grid-column: 2; justify-content: flex-start; }
    .admin-row--manage { grid-template-columns: 120px minmax(0, 1fr); }
    .manage-video-actions { grid-column: 2; justify-items: start; }
    .video-tags-form, .delete-video-form { justify-content: flex-start; }
}

@media (max-width: 900px) {
    .container { width: min(calc(100% - 28px), var(--container)); }
    .header-inner { min-height: 64px; grid-template-columns: auto 1fr auto; }
    .header-search { display: none; }
    .header-search-link { display: grid; }
    .header-upload span, .header-login { display: none; }
    .header-upload { width: 42px; padding: 0; }
    .discovery-head { align-items: flex-start; flex-direction: column; }
    .safety-link { min-width: 0; width: 100%; }
    .quick-categories { grid-template-columns: repeat(2, 1fr); }
    .video-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .watch-layout { display: block; }
    .watch-related { position: static; margin-top: 45px; }
    .watch-related .related-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .watch-related .video-card { display: block; }
    .watch-related .video-card__verified { display: flex; }
    .trust-panel__inner { grid-template-columns: auto 1fr; }
    .trust-panel__inner > .button { grid-column: 2; justify-self: start; }
    .filter-bar { grid-template-columns: repeat(2, 1fr); }
    .filter-search { grid-column: 1 / -1; }
    .check-filter { grid-column: 1; grid-row: auto; }
    .auth-page { display: block; }
    .auth-art { min-height: 340px; padding: 65px 8vw; }
    .auth-art h2 { font-size: 3.5rem; }
    .dashboard-grid { grid-template-columns: 1fr; }
    .profile-card { position: static; }
    .form-page__layout { grid-template-columns: 1fr; }
    .form-page__intro { position: static; }
    .step-list { grid-template-columns: repeat(3, 1fr); gap: 8px; }
    .step-list li { min-height: 0; }
    .step-list li::after { display: none; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .legal-layout { grid-template-columns: 1fr; gap: 34px; }
    .legal-nav { position: static; grid-template-columns: repeat(5, max-content); overflow-x: auto; padding-bottom: 8px; }
    .legal-nav .eyebrow { grid-column: 1 / -1; }
    .footer-grid { grid-template-columns: 1.5fr repeat(3, 1fr); gap: 25px; }
}

@media (max-width: 640px) {
    body { padding-bottom: calc(68px + env(safe-area-inset-bottom)); }
    .container { width: min(calc(100% - 22px), var(--container)); }
    .age-gate { padding: 12px; }
    .age-card { padding: 30px 20px; border-radius: 22px; }
    .age-card__badge { width: 62px; height: 62px; }
    .site-header { top: 0; }
    .header-inner { gap: 8px; }
    .brand { font-size: .94rem; letter-spacing: .055em; }
    .brand__image { width: 138px; height: 46px; }
    .brand__x { width: 26px; height: 26px; }
    .header-actions { gap: 6px; }
    .header-upload, .header-register, .account-link { display: none; }
    .category-rail__inner { min-height: 44px; }
    .category-pill { font-size: .76rem; }
    .demo-banner { font-size: .72rem; }
    .home-intro { padding-top: 34px; }
    .discovery-head h1 { font-size: 2.25rem; }
    .discovery-head p { font-size: .86rem; }
    .safety-link { padding: 11px; }
    .safety-link small { display: none; }
    .quick-categories { margin-top: 22px; gap: 7px; }
    .quick-categories a { min-height: 62px; padding: 10px 12px; }
    .content-section { padding-block: 28px; }
    .section-heading { margin-bottom: 15px; }
    .section-heading h2 { font-size: 1.35rem; }
    .video-grid { gap: 23px 9px; }
    .video-card__thumb { border-radius: 9px; }
    .video-card__play { width: 38px; height: 38px; opacity: 1; }
    .video-card__verified { display: none; }
    .video-card__title { font-size: .84rem; }
    .video-card__creator, .video-card__meta { font-size: .69rem; }
    .video-card__meta span:nth-child(2), .video-card__meta span:nth-child(3) { display: none; }
    .trust-panel { padding-bottom: 45px; }
    .trust-panel__inner { display: block; padding: 20px; }
    .trust-panel__icon { margin-bottom: 14px; }
    .trust-panel .button { margin-top: 16px; }
    .browse-page, .dashboard-page, .admin-page { padding-top: 35px; }
    .filter-bar { display: grid; grid-template-columns: 1fr; padding: 12px; }
    .filter-search, .check-filter { grid-column: auto; }
    .browse-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .watch-page { padding-top: 0; }
    .watch-page .container { width: 100%; }
    .player-shell { width: 100%; aspect-ratio: 16 / 9; border-radius: 0; }
    .watch-title-row, .creator-panel, .video-description, .report-panel, .watch-related { margin-left: 12px; margin-right: 12px; }
    .watch-title-row { align-items: flex-start; flex-direction: column; padding-top: 18px; }
    .watch-actions { width: 100%; overflow-x: auto; padding-bottom: 2px; }
    .action-chip { white-space: nowrap; }
    .creator-panel__status { display: none; }
    .watch-related .related-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .auth-art { min-height: 180px; padding: 30px 24px; }
    .auth-art h2 { margin-bottom: 10px; font-size: 2.75rem; }
    .auth-art ul { display: none; }
    .auth-panel { padding: 38px 18px; }
    .auth-card h1 { font-size: 2rem; }
    .form-grid--two { grid-template-columns: 1fr; }
    .dashboard-heading { align-items: flex-start; flex-direction: column; }
    .upload-row { grid-template-columns: 85px 1fr; }
    .upload-row > .status-badge { grid-column: 2; justify-self: start; }
    .security-card { align-items: flex-start; }
    .form-page { padding-top: 34px; }
    .form-page__intro h1 { font-size: 2rem; }
    .step-list small { display: none; }
    .form-card--large { padding: 18px 14px; }
    .file-drop { min-height: 170px; }
    .frame-picker { padding: 12px; }
    .frame-picker__heading { align-items: flex-start; }
    .frame-picker__heading small { display: block; }
    .frame-picker__result { grid-template-columns: 1fr; }
    .frame-picker__result img { max-width: 260px; }
    .form-submit-row { align-items: stretch; flex-direction: column; }
    .form-submit-row .button { width: 100%; }
    .stats-grid { gap: 8px; }
    .stats-grid > div { padding: 14px; }
    .admin-section { padding: 16px 12px; }
    .embed-refresh-form { align-items: flex-start; flex-direction: column; }
    .admin-row { grid-template-columns: 1fr; align-items: start; }
    .admin-row__thumb { width: 100%; }
    .moderation-actions { grid-column: 1; flex-wrap: wrap; justify-content: flex-start; }
    .moderation-actions input { width: 100%; }
    .admin-row--report { grid-template-columns: 1fr; }
    .admin-row--manage { grid-template-columns: 1fr; }
    .manage-video-actions { grid-column: 1; width: 100%; justify-items: stretch; }
    .video-tags-form { width: 100%; align-items: stretch; flex-direction: column; }
    .video-tags-form input, .video-tags-form .button { width: 100%; }
    .delete-video-form { grid-column: 1; width: 100%; align-items: stretch; flex-direction: column; }
    .delete-video-form input { width: 100%; }
    .delete-video-form .button { width: 100%; }
    .report-actions { justify-items: start; }
    .report-actions form { justify-content: flex-start; }
    .legal-page { padding-top: 36px; }
    .legal-nav { grid-template-columns: repeat(5, max-content); }
    .policy-grid { grid-template-columns: 1fr; }
    .urgent-card { flex-direction: column; }
    .footer-grid { grid-template-columns: repeat(2, 1fr); padding-block: 38px; }
    .footer-grid > div:first-child { grid-column: 1 / -1; }
    .footer-bottom { align-items: flex-start; flex-direction: column; }
    .mobile-nav { position: fixed; z-index: 60; inset: auto 0 0; height: calc(68px + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom); display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line-strong); background: rgba(10, 12, 17, .96); backdrop-filter: blur(16px); }
    .mobile-nav a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; color: var(--muted-2); font-size: .64rem; }
    .mobile-nav a.is-active { color: #ff87bb; }
    .mobile-nav svg { width: 20px; height: 20px; }
    .mobile-nav__send svg { width: 30px; height: 30px; padding: 6px; border-radius: 10px; background: linear-gradient(135deg, var(--pink), var(--pink-strong)); color: white; }
    .toast-stack { top: 118px; right: 11px; width: calc(100% - 22px); }
}

@media (max-height: 700px) {
    .age-gate { place-items: start center; }
    .age-card { margin-block: 12px; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
