/* ═══════════════════════════════════════════════════════════════
   DesiTape — Indian homemade / amateur tube theme
   Single stylesheet. Drop into a WP theme as /style.css.
   ═══════════════════════════════════════════════════════════════ */

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --r-xs: 3px; --r-sm: 4px; --r-md: 6px; --r-lg: 10px;
    --t: background .18s ease, color .18s ease, border-color .18s ease, transform .15s ease;
    --font-sans: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
    --font-mono: 'JetBrains Mono', ui-monospace, monospace;
}
[data-theme="dark"] {
    --bg:        #0d0d0f;
    --bg-1:      #16161a;
    --bg-2:      #1d1d22;
    --bg-3:      #25252c;
    --line:      #26262e;
    --line-2:    #34343f;
    --ink-1:     #ededee;
    --ink-2:     #9c9ca3;
    --ink-3:     #6a6a72;
    --red:       #e8344b;
    --red-h:     #f54a60;
    --red-soft:  rgba(232,52,75,.14);
    --gold:      #f0a23a;
    --green:     #58c47b;
    --header-bg: #16161a;
}
[data-theme="light"] {
    --bg:        #f4f4f5;
    --bg-1:      #ffffff;
    --bg-2:      #ffffff;
    --bg-3:      #ececef;
    --line:      #e1e1e6;
    --line-2:    #cdcdd4;
    --ink-1:     #1a1a1e;
    --ink-2:     #5a5a64;
    --ink-3:     #92929c;
    --red:       #d4233a;
    --red-h:     #e23046;
    --red-soft:  rgba(212,35,58,.10);
    --gold:      #c97f15;
    --green:     #2a9c52;
    --header-bg: #ffffff;
}

html { scroll-behavior: smooth; }
body {
    font-family: var(--font-sans);
    background: var(--bg);
    color: var(--ink-1);
    line-height: 1.4;
    font-size: 14px;
    transition: var(--t);
    min-height: 100vh;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
img, svg, video { display: block; max-width: 100%; }
::-webkit-scrollbar { width: 10px; height: 8px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--line-2); border-radius: 99px; }
::-webkit-scrollbar-thumb:hover { background: var(--ink-3); }

.icon { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.icon-sm { width: 13px; height: 13px; }
.icon-lg { width: 20px; height: 20px; }
.mono { font-family: var(--font-mono); font-feature-settings: 'tnum' 1; }

/* ── Age gate ────────────────────────────────────────────────── */
/* Default = hidden. Only the boot-time inline script in <head> can
   reveal it (by setting `data-age-pending` on <html>) — this prevents
   the visible flash on every page navigation. */
.age-gate {
    position: fixed; inset: 0; z-index: 9999;
    background: rgba(0,0,0,.92); backdrop-filter: blur(14px);
    align-items: center; justify-content: center;
    padding: 20px;
    display: none;
}
html[data-age-pending] .age-gate { display: flex; }
.age-gate.hidden { display: none !important; }
.age-card {
    width: 100%; max-width: 420px;
    background: var(--bg-1); border: 1px solid var(--line);
    border-top: 3px solid var(--red);
    padding: 36px 30px; text-align: center;
    border-radius: var(--r-md);
}
.age-tag {
    display: inline-block;
    padding: 4px 10px; border-radius: 3px;
    background: var(--red); color: #fff;
    font-size: 11px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase;
    margin-bottom: 16px;
}
.age-card h2 { font-size: 22px; font-weight: 800; margin-bottom: 8px; }
.age-card p { color: var(--ink-2); font-size: 13px; line-height: 1.6; margin-bottom: 22px; }
.age-actions { display: flex; gap: 8px; }
.age-actions button { flex: 1; padding: 12px 16px; border: none; border-radius: var(--r-sm); font-weight: 700; font-size: 13px; transition: var(--t); }
.btn-primary { background: var(--red); color: #fff; }
.btn-primary:hover { background: var(--red-h); }
.btn-ghost { background: var(--bg-3); color: var(--ink-2); }
.btn-ghost:hover { color: var(--ink-1); }
.age-fine { font-size: 11px; color: var(--ink-3); margin-top: 16px; line-height: 1.55; }

/* ── Top promo strip ─────────────────────────────────────────── */
.promo {
    background: var(--red); color: #fff;
    text-align: center; padding: 6px 14px;
    font-size: 11.5px; font-weight: 600; letter-spacing: .3px;
}
.promo strong { font-weight: 800; }
.promo a { text-decoration: underline; margin-left: 6px; }

/* ── Header ──────────────────────────────────────────────────── */
header.site {
    background: var(--header-bg);
    border-bottom: 1px solid var(--line);
    position: sticky; top: 0; z-index: 100;
    transition: var(--t);
}
.shell { max-width: 1480px; margin: 0 auto; padding: 0 16px; }
.bar {
    height: 56px; display: flex; align-items: center; gap: 14px;
}
.brand {
    display: flex; align-items: baseline; gap: 0;
    font-weight: 900; font-size: 24px; letter-spacing: -.5px;
    flex-shrink: 0;
}
.brand b { color: var(--ink-1); }
.brand i { color: var(--red); font-style: normal; }
.brand .tld { font-size: 11px; color: var(--ink-3); font-weight: 700; margin-left: 2px; align-self: flex-end; padding-bottom: 4px; }

.nav-primary { display: flex; }
.nav-primary a {
    padding: 6px 12px; font-size: 13px; font-weight: 600;
    color: var(--ink-2); transition: var(--t);
    white-space: nowrap;
}
.nav-primary a:hover { color: var(--ink-1); }
.nav-primary a.active { color: var(--red); }
.nav-primary a.hot::after {
    content: 'HOT'; display: inline-block; margin-left: 4px;
    background: var(--red); color: #fff;
    font: 800 8px var(--font-mono); padding: 1px 4px; border-radius: 2px;
    vertical-align: middle;
}
.nav-primary a.live::after {
    content: '●LIVE'; display: inline-block; margin-left: 4px;
    color: var(--red);
    font: 800 9px var(--font-mono); letter-spacing: .5px;
    animation: blink 1.4s infinite;
}
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:.45} }

.spacer { flex: 1; }

.search {
    position: relative; flex: 0 1 460px; min-width: 0;
}
.search input {
    width: 100%; padding: 8px 38px 8px 14px;
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: var(--r-sm); color: var(--ink-1);
    font: 500 13px var(--font-sans); outline: none;
    transition: var(--t);
}
[data-theme="light"] .search input { background: var(--bg-3); }
.search input::placeholder { color: var(--ink-3); }
.search input:focus { border-color: var(--red); }
.search button.s-go {
    position: absolute; right: 0; top: 0; bottom: 0;
    width: 38px; background: var(--red); border: none;
    border-radius: 0 var(--r-sm) var(--r-sm) 0;
    color: #fff; display: flex; align-items: center; justify-content: center;
}
.search button.s-go:hover { background: var(--red-h); }

.icon-btn {
    width: 34px; height: 34px; border-radius: var(--r-sm);
    display: inline-flex; align-items: center; justify-content: center;
    background: transparent; border: 1px solid transparent;
    color: var(--ink-2); transition: var(--t); flex-shrink: 0;
}
.icon-btn:hover { color: var(--ink-1); background: var(--bg-2); }
[data-theme="dark"] .theme-toggle .sun,
[data-theme="light"] .theme-toggle .moon { display: none; }

.btn-login {
    padding: 7px 14px; border-radius: var(--r-sm);
    background: transparent; border: 1px solid var(--line);
    color: var(--ink-1); font-weight: 700; font-size: 12.5px;
    transition: var(--t);
}
.btn-login:hover { border-color: var(--ink-2); }
.btn-signup {
    padding: 7px 14px; border-radius: var(--r-sm);
    background: var(--red); border: none;
    color: #fff; font-weight: 700; font-size: 12.5px;
    transition: var(--t);
}
.btn-signup:hover { background: var(--red-h); }

.mob-only { display: none; }

/* ── Sub-rail (categories quick chips) ──────────────────────── */
.rail {
    background: var(--bg-1);
    border-bottom: 1px solid var(--line);
    transition: var(--t);
}
.rail-row {
    display: flex; align-items: center; gap: 1px;
    height: 40px; overflow-x: auto; scrollbar-width: none;
}
.rail-row::-webkit-scrollbar { display: none; }
.rail-row a {
    padding: 0 12px; height: 40px;
    display: inline-flex; align-items: center; gap: 5px;
    color: var(--ink-2); font-weight: 600; font-size: 12.5px;
    white-space: nowrap;
    border-bottom: 2px solid transparent;
    transition: var(--t);
}
.rail-row a:hover { color: var(--ink-1); }
.rail-row a.is-active { color: var(--red); border-bottom-color: var(--red); }
.rail-row a .ldot { width: 6px; height: 6px; border-radius: 50%; background: var(--red); animation: blink 1.4s infinite; }
.rail-row a .ndot { background: var(--green); animation: none; }
.rail-row .sep { width: 1px; height: 18px; background: var(--line); margin: 0 6px; flex-shrink: 0; }

/* ── Layout ──────────────────────────────────────────────────── */
.layout {
    display: grid; grid-template-columns: 200px 1fr;
    gap: 20px; padding: 16px 0 40px;
}
.layout.full { grid-template-columns: 1fr; }

/* ── Sidebar ─────────────────────────────────────────────────── */
.side { padding-top: 4px; }
.side-stick { position: sticky; top: 110px; }
.side-block { margin-bottom: 22px; }
.side-head {
    padding-bottom: 6px; margin-bottom: 8px;
    border-bottom: 2px solid var(--red);
}
.side-head h4 {
    font-size: 12px; font-weight: 800; letter-spacing: .8px;
    text-transform: uppercase; color: var(--ink-1);
}

.cats { list-style: none; display: flex; flex-direction: column; }
.cats li {
    display: flex; align-items: center; gap: 8px;
    padding: 6px 8px; border-radius: var(--r-xs);
    font-size: 12.5px; font-weight: 500; color: var(--ink-2);
    cursor: pointer; transition: var(--t);
}
.cats li:hover { background: var(--bg-2); color: var(--ink-1); }
.cats li.is-active { color: var(--red); font-weight: 700; }
.cats li .num {
    margin-left: auto;
    font: 600 10.5px var(--font-mono); color: var(--ink-3);
}
.cats li.is-active .num { color: var(--red); }

.tags { display: flex; flex-wrap: wrap; gap: 4px; }
.tag {
    padding: 3px 8px; font-size: 11px; font-weight: 600;
    background: var(--bg-2);
    color: var(--ink-2); border-radius: var(--r-xs);
    cursor: pointer; transition: var(--t);
}
.tag:hover { color: #fff; background: var(--red); }

.mini-list { list-style: none; }
.mini-list li {
    display: flex; gap: 8px; padding: 6px 0;
    border-bottom: 1px solid var(--line); cursor: pointer;
}
.mini-list li:last-child { border-bottom: none; }
.mini-list li:hover .mt { color: var(--red); }
.rk {
    font: 800 13px var(--font-mono); color: var(--ink-3);
    min-width: 18px;
}
.mini-list li:nth-child(1) .rk { color: var(--red); }
.mini-list li:nth-child(2) .rk { color: var(--gold); }
.mini-list li:nth-child(3) .rk { color: var(--green); }
.mt { font-size: 12px; font-weight: 500; line-height: 1.3; transition: color .15s; color: var(--ink-2); }
.mv { font: 600 10px var(--font-mono); color: var(--ink-3); margin-top: 2px; }

/* ── Page head ───────────────────────────────────────────────── */
.page-head {
    display: flex; align-items: center; justify-content: space-between;
    margin-bottom: 12px; gap: 12px; flex-wrap: wrap;
}
.page-head h1 {
    font-size: 18px; font-weight: 800;
    display: flex; align-items: center; gap: 10px;
}
.page-head h1 .count {
    font: 700 11px var(--font-mono); color: var(--ink-3);
    background: var(--bg-2); padding: 3px 8px; border-radius: 99px;
}
.controls { display: flex; gap: 6px; align-items: center; }
.select {
    padding: 6px 10px; background: var(--bg-1); border: 1px solid var(--line);
    border-radius: var(--r-sm); color: var(--ink-2);
    font: 600 12px var(--font-sans);
    cursor: pointer; outline: none;
}
.select:hover { color: var(--ink-1); }

/* ── Section heads ───────────────────────────────────────────── */
.section { margin-bottom: 28px; }
.sec-head {
    display: flex; align-items: center; gap: 10px;
    margin-bottom: 10px;
    padding-bottom: 8px; border-bottom: 1px solid var(--line);
}
.sec-head .bar {
    width: 4px; height: 16px; background: var(--red); border-radius: 2px;
}
.sec-head h2 {
    font-size: 15px; font-weight: 800; letter-spacing: -.2px;
    text-transform: uppercase;
}
.sec-head h2 .accent { color: var(--red); }
.sec-head .pill {
    font: 700 10px var(--font-mono);
    color: var(--red); background: var(--red-soft);
    padding: 2px 8px; border-radius: 3px;
    text-transform: uppercase; letter-spacing: .8px;
}
.sec-head .more {
    margin-left: auto; font-size: 12px; font-weight: 700;
    color: var(--red);
}
.sec-head .more:hover { text-decoration: underline; }

/* ── DENSE VIDEO GRID ─────────────────────────────────────────
   Tube-style mass density: small cards, lots per row.
   ───────────────────────────────────────────────────────────── */
.v-grid {
    display: grid; gap: 10px;
    grid-template-columns: repeat(auto-fill, minmax(196px, 1fr));
}
.v-grid.dense {
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 8px;
}
.v-card {
    background: var(--bg-1);
    border-radius: var(--r-sm); overflow: hidden;
    cursor: pointer; transition: var(--t);
    display: flex; flex-direction: column;
}
.v-card:hover { transform: translateY(-1px); }
.v-card:hover .v-info h3 { color: var(--red); }
.v-thumb {
    position: relative; padding-top: 56.25%;
    background: linear-gradient(140deg, #2a1a1a, #1a1a22);
    overflow: hidden;
    border-radius: var(--r-sm);
}
[data-theme="light"] .v-thumb { background: linear-gradient(140deg, #d4cdc8, #b8b3b0); }
.v-thumb .glyph-empty {
    position: absolute; inset: 0;
    display: flex; align-items: center; justify-content: center;
    color: rgba(255,255,255,.18);
}
.v-thumb .glyph-empty svg { width: 36px; height: 36px; }

/* duration */
.v-thumb .duration {
    position: absolute; bottom: 5px; right: 5px;
    background: rgba(0,0,0,.85);
    color: #fff; font: 700 11px var(--font-mono);
    padding: 2px 6px; border-radius: 2px;
}

/* quality top-left */
.v-thumb .quality {
    position: absolute; top: 5px; left: 5px;
    padding: 2px 6px; border-radius: 2px;
    font: 800 9px var(--font-sans); letter-spacing: .5px;
}
.q-hd  { background: rgba(0,0,0,.7); color: #fff; }
.q-4k  { background: var(--gold); color: #1a1100; }
.q-full { background: var(--red); color: #fff; }

/* flag top-right */
.v-thumb .flag {
    position: absolute; top: 5px; right: 5px;
    padding: 2px 6px; border-radius: 2px;
    font: 800 9px var(--font-sans); letter-spacing: .5px;
    text-transform: uppercase;
}
.flag-new   { background: var(--red); color: #fff; }
.flag-hot   { background: var(--gold); color: #1a1100; }
.flag-leak  { background: #000; color: var(--red); border: 1px solid var(--red); }
.flag-vrl   { background: var(--green); color: #052b22; }

/* hover preview overlay */
.v-thumb .play-over {
    position: absolute; inset: 0;
    background: rgba(0,0,0,.45);
    display: flex; align-items: center; justify-content: center;
    opacity: 0; transition: opacity .15s;
}
.v-card:hover .play-over { opacity: 1; }
.play-bubble {
    width: 44px; height: 44px; border-radius: 50%;
    background: var(--red); color: #fff;
    display: flex; align-items: center; justify-content: center;
}
.play-bubble svg { width: 18px; height: 18px; fill: currentColor; stroke: none; margin-left: 2px; }

/* hover progress sweep */
.v-thumb .progress {
    position: absolute; left: 0; right: 0; bottom: 0;
    height: 2px; background: rgba(255,255,255,.12); opacity: 0;
    transition: opacity .15s;
}
.v-card:hover .progress { opacity: 1; }
.progress span {
    display: block; height: 100%; background: var(--red);
    animation: sweep 2.4s linear infinite;
}
@keyframes sweep { 0% { width: 0; } 100% { width: 100%; } }

/* meta strip on thumb (views/likes) — tube-style */
.v-thumb .views-strip {
    position: absolute; left: 0; right: 0; bottom: 0;
    padding: 14px 6px 4px;
    background: linear-gradient(transparent, rgba(0,0,0,.88));
    display: flex; align-items: center; justify-content: space-between;
    font: 700 10.5px var(--font-mono); color: rgba(255,255,255,.92);
    pointer-events: none;
}
.views-strip .like-pct {
    display: inline-flex; align-items: center; gap: 3px;
    color: var(--green);
}

/* info */
.v-info { padding: 8px 2px 4px; }
.v-info h3 {
    font-size: 12.5px; font-weight: 600; line-height: 1.32;
    color: var(--ink-1);
    transition: color .15s;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
    margin-bottom: 4px;
}
.v-meta {
    display: flex; align-items: center; gap: 6px;
    font: 600 10.5px var(--font-mono); color: var(--ink-3);
    flex-wrap: wrap;
}
.v-meta .cat {
    color: var(--ink-2);
    font: 700 10px var(--font-sans);
    text-transform: uppercase; letter-spacing: .4px;
}
.v-meta .cat:hover { color: var(--red); }

/* horizontal scroll */
.h-scroll {
    display: flex; gap: 10px; overflow-x: auto;
    padding: 2px 0 10px;
}
.h-scroll .v-card { flex: 0 0 200px; }

/* ════════════════════════════════════════════════════════════
   MODELS — directory + profile
   ════════════════════════════════════════════════════════════ */
.model-grid {
    display: grid; gap: 14px;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    margin-top: 4px;
}
.model-card {
    display: flex; flex-direction: column; align-items: center;
    text-align: center; padding: 6px;
    border-radius: var(--r-sm);
    transition: var(--t);
}
.model-card:hover { background: var(--bg-1); }
.model-card:hover h3 { color: var(--red); }
.model-avatar {
    width: 100%; aspect-ratio: 1/1;
    border-radius: 50%; overflow: hidden;
    background: linear-gradient(135deg, var(--red), var(--gold));
    margin-bottom: 10px;
    display: flex; align-items: center; justify-content: center;
    position: relative;
}
.model-avatar img { width: 100%; height: 100%; object-fit: cover; }
.model-glyph {
    color: #fff; font: 800 32px var(--font-sans);
}
.model-info h3 {
    font-size: 13px; font-weight: 700; margin-bottom: 3px;
    transition: color .15s;
}
.model-meta {
    font: 600 10.5px var(--font-mono);
    color: var(--ink-3);
    display: flex; justify-content: center; gap: 4px; flex-wrap: wrap;
}
.model-meta .sep { opacity: .5; }

/* Profile header */
.model-profile {
    display: grid; grid-template-columns: 220px 1fr; gap: 28px;
    padding: 8px 0 24px;
    border-bottom: 1px solid var(--line);
}
.model-profile-avatar {
    width: 220px; aspect-ratio: 1/1;
    border-radius: 50%; overflow: hidden;
    background: linear-gradient(135deg, var(--red), var(--gold));
    display: flex; align-items: center; justify-content: center;
}
.model-profile-avatar img { width: 100%; height: 100%; object-fit: cover; }
.model-profile-avatar .model-glyph { font-size: 80px; }
.model-profile-body h1 { font-size: 28px; font-weight: 800; margin-bottom: 12px; }
.model-stats {
    display: flex; flex-wrap: wrap; gap: 22px;
    padding: 10px 0; border-bottom: 1px solid var(--line);
    margin-bottom: 14px;
}
.model-stats > div {
    display: flex; flex-direction: column;
    font: 600 11px var(--font-mono); color: var(--ink-3);
    text-transform: uppercase; letter-spacing: .8px;
}
.model-stats strong {
    font: 800 18px var(--font-sans); color: var(--ink-1);
    margin-bottom: 2px; text-transform: none; letter-spacing: 0;
}
.model-bio { color: var(--ink-2); font-size: 14px; line-height: 1.65; max-width: 720px; }
.model-social { display: flex; gap: 14px; margin-top: 14px; }
.model-social a {
    display: inline-flex; align-items: center; gap: 6px;
    color: var(--ink-2); font-size: 13px; font-weight: 600;
    padding: 6px 12px; border: 1px solid var(--line);
    border-radius: var(--r-sm); transition: var(--t);
}
.model-social a:hover { color: var(--red); border-color: var(--red); }

/* ════════════════════════════════════════════════════════════
   SERIES — directory cards (2:3 portrait posters)
   ════════════════════════════════════════════════════════════ */
.series-grid {
    display: grid; gap: 12px;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    margin-top: 4px;
}
.series-card {
    display: flex; flex-direction: column;
    border-radius: var(--r-sm); overflow: hidden;
    background: var(--bg-1);
    transition: var(--t);
}
.series-card:hover { transform: translateY(-2px); }
.series-card:hover h3 { color: var(--red); }
.series-poster {
    position: relative; aspect-ratio: 2 / 3;
    background: linear-gradient(140deg, #2a1a1a, #1a1a22);
    overflow: hidden;
}
.series-poster img { width: 100%; height: 100%; object-fit: cover; display: block; }
.series-glyph {
    position: absolute; inset: 0;
    display: flex; align-items: center; justify-content: center;
    color: rgba(255,255,255,.18); font-size: 36px;
}
.series-glyph-big { font-size: 80px; position: static; height: 100%; }
.series-poster .series-eps {
    position: absolute; bottom: 6px; right: 6px;
    background: rgba(0,0,0,.85); color: #fff;
    font: 700 10px var(--font-mono);
    padding: 3px 7px; border-radius: 3px;
}
.series-poster .series-flag {
    position: absolute; top: 6px; left: 6px;
    padding: 3px 7px; border-radius: 3px;
    font: 800 9px var(--font-sans); letter-spacing: .5px; text-transform: uppercase;
}
.series-info { padding: 10px 8px; }
.series-info h3 {
    font-size: 13px; font-weight: 700; line-height: 1.3;
    transition: color .15s;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.series-year {
    margin-top: 4px;
    font: 600 11px var(--font-mono); color: var(--ink-3);
}

/* Series detail hero */
.series-hero {
    display: grid; grid-template-columns: 240px 1fr; gap: 28px;
    padding: 8px 0 22px; margin-bottom: 8px;
    border-bottom: 1px solid var(--line);
}
.series-hero-poster {
    width: 240px; aspect-ratio: 2/3;
    border-radius: var(--r-md); overflow: hidden;
    background: linear-gradient(140deg, #2a1a1a, #1a1a22);
    box-shadow: 0 8px 24px rgba(0,0,0,.4);
    position: relative;
}
.series-hero-poster img { width: 100%; height: 100%; object-fit: cover; display: block; }
.series-hero-body h1 { font-size: 32px; font-weight: 800; letter-spacing: -.4px; margin-bottom: 12px; }
.series-hero-meta { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.series-hero-meta .badge {
    padding: 3px 9px; border-radius: 3px;
    background: var(--bg-2); border: 1px solid var(--line);
    color: var(--ink-2); font: 800 10.5px var(--font-sans);
    text-transform: uppercase; letter-spacing: .8px;
}
.series-hero-meta .badge-live { color: var(--green); border-color: var(--green); background: rgba(88,196,123,.1); }
.series-storyline {
    color: var(--ink-2); font-size: 14px; line-height: 1.7;
    max-width: 720px; margin-bottom: 16px;
}
.series-credits {
    display: grid; grid-template-columns: 90px 1fr; gap: 4px 14px;
    font-size: 13px; max-width: 720px;
}
.series-credits dt { font: 700 11px var(--font-sans); color: var(--ink-3); text-transform: uppercase; letter-spacing: .8px; padding-top: 3px; }
.series-credits dd { color: var(--ink-1); }
.series-credits dd a { color: var(--ink-1); }
.series-credits dd a:hover { color: var(--red); }
.cta-play {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 12px 24px; margin-top: 18px;
    background: var(--gold); color: #1a1100;
    border-radius: var(--r-sm); font-weight: 800; font-size: 14px;
    transition: var(--t); text-decoration: none;
}
.cta-play:hover { background: #ffc15a; transform: translateY(-1px); }

/* ════════════════════════════════════════════════════════════
   EPISODES — wider 16:9 cards used on series detail + watch page
   ════════════════════════════════════════════════════════════ */
.ep-grid {
    display: grid; gap: 12px;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}
.ep-card {
    background: var(--bg-1);
    border-radius: var(--r-sm); overflow: hidden;
    transition: var(--t);
}
.ep-card:hover { transform: translateY(-1px); }
.ep-card:hover .v-info h3 { color: var(--red); }
.ep-thumb {
    position: relative; aspect-ratio: 16/9;
    background: linear-gradient(140deg, #2a1a1a, #1a1a22);
    overflow: hidden;
}
.ep-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ep-thumb .glyph-empty {
    position: absolute; inset: 0;
    display: flex; align-items: center; justify-content: center;
    color: rgba(255,255,255,.18);
}
.ep-thumb .glyph-empty svg { width: 48px; height: 48px; }
.ep-thumb .ep-num {
    position: absolute; top: 8px; left: 8px;
    background: rgba(0,0,0,.85); color: #fff;
    padding: 3px 8px; border-radius: 2px;
    font: 800 10px var(--font-sans); text-transform: uppercase; letter-spacing: .5px;
}
.ep-thumb .duration {
    position: absolute; bottom: 6px; right: 6px;
    background: rgba(0,0,0,.85); color: #fff;
    font: 700 11px var(--font-mono);
    padding: 2px 6px; border-radius: 2px;
}
.ep-thumb .play-over {
    position: absolute; inset: 0;
    background: rgba(0,0,0,.45);
    display: flex; align-items: center; justify-content: center;
    opacity: 0; transition: opacity .15s;
}
.ep-card:hover .ep-thumb .play-over { opacity: 1; }
.ep-thumb .play-bubble {
    width: 50px; height: 50px; border-radius: 50%;
    background: var(--gold); color: #1a1100;
    display: flex; align-items: center; justify-content: center;
}
.ep-thumb .play-bubble svg { width: 20px; height: 20px; fill: currentColor; stroke: none; margin-left: 2px; }
.ep-card .v-info { padding: 10px 12px 12px; }
.ep-card .v-info h3 {
    font-size: 13.5px; font-weight: 700; line-height: 1.35;
    color: var(--ink-1); transition: color .15s;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.ep-excerpt {
    color: var(--ink-3); font-size: 12px; line-height: 1.4;
    margin-top: 5px;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}

/* Mobile compact */
@media (max-width: 820px) {
    .model-grid { grid-template-columns: repeat(auto-fill, minmax(108px, 1fr)); gap: 10px; }
    .model-info h3 { font-size: 12px; }

    .series-grid { grid-template-columns: repeat(auto-fill, minmax(132px, 1fr)); gap: 8px; }
    .series-info h3 { font-size: 12px; }

    .model-profile, .series-hero { grid-template-columns: 1fr; gap: 16px; }
    .model-profile-avatar { width: 140px; height: 140px; margin: 0 auto; }
    .model-profile-avatar .model-glyph { font-size: 48px; }
    .model-profile-body h1, .series-hero-body h1 { font-size: 22px; text-align: center; }
    .series-hero-poster { width: 160px; margin: 0 auto; }
    .model-stats { justify-content: center; }
    .model-social { justify-content: center; }

    .ep-grid { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 8px; }
}

/* ── Big banner ad slot (mass-tube style) ────────────────────── */
.ad-slot {
    background: var(--bg-2);
    border: 1px dashed var(--line-2);
    color: var(--ink-3);
    text-align: center;
    padding: 18px 14px;
    margin: 16px 0;
    font: 600 11px var(--font-mono);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    border-radius: var(--r-sm);
}
.ad-slot.tall { padding: 60px 14px; }

/* ── Pager ───────────────────────────────────────────────────── */
.pager { display: flex; justify-content: center; gap: 4px; padding: 22px 0 4px; flex-wrap: wrap; }
.pg {
    min-width: 32px; height: 32px; padding: 0 10px;
    display: inline-flex; align-items: center; justify-content: center;
    background: var(--bg-1); border: 1px solid var(--line);
    border-radius: var(--r-sm); color: var(--ink-2);
    font: 700 12px var(--font-mono);
    cursor: pointer; transition: var(--t);
}
.pg:hover { color: var(--ink-1); border-color: var(--line-2); }
.pg.is-active { background: var(--red); border-color: var(--red); color: #fff; }

/* ════════════════════════════════════════════════════════════
   PLAYER PAGE
   ════════════════════════════════════════════════════════════ */

.watch-grid {
    display: grid; grid-template-columns: 1fr 320px; gap: 20px;
    padding: 14px 0 40px;
}

.player {
    position: relative;
    background: #000;
    border-radius: var(--r-sm); overflow: hidden;
    aspect-ratio: 16 / 9;
    box-shadow: 0 6px 22px rgba(0,0,0,.4);
}
.player .stage {
    position: absolute; inset: 0;
    background:
        radial-gradient(circle at 30% 30%, rgba(232,52,75,.22), transparent 55%),
        #000;
    display: flex; align-items: center; justify-content: center;
}
.player .stage-poster {
    color: rgba(255,255,255,.18); text-align: center;
}
.player .stage-poster svg { width: 80px; height: 80px; margin: 0 auto 10px; }
.player .stage-poster span { display: block; font: 800 11px var(--font-mono); letter-spacing: 2px; text-transform: uppercase; }

.player .center-play {
    position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
    width: 76px; height: 76px; border-radius: 50%;
    background: rgba(232,52,75,.85); border: none;
    color: #fff;
    display: flex; align-items: center; justify-content: center;
    transition: transform .15s, background .15s;
}
.player .center-play:hover { background: var(--red); transform: translate(-50%, -50%) scale(1.05); }
.player .center-play svg { width: 30px; height: 30px; fill: currentColor; stroke: none; margin-left: 3px; }

.player-controls {
    position: absolute; left: 0; right: 0; bottom: 0;
    padding: 12px 12px 8px;
    background: linear-gradient(180deg, transparent, rgba(0,0,0,.88));
    color: #fff;
}
.scrubber {
    position: relative; height: 4px; border-radius: 99px;
    background: rgba(255,255,255,.18); cursor: pointer;
    margin-bottom: 8px;
}
.scrubber:hover { height: 6px; }
.scrubber .buffered { position: absolute; inset: 0 70% 0 0; background: rgba(255,255,255,.28); border-radius: 99px; }
.scrubber .played { position: absolute; inset: 0 65% 0 0; background: var(--red); border-radius: 99px; }
.scrubber .knob {
    position: absolute; top: 50%; left: 35%; transform: translate(-50%, -50%);
    width: 12px; height: 12px; border-radius: 50%; background: #fff;
    box-shadow: 0 2px 6px rgba(0,0,0,.5);
}
.player-row { display: flex; align-items: center; gap: 4px; }
.pc-btn {
    width: 32px; height: 32px; border-radius: var(--r-sm);
    background: transparent; border: none; color: #fff;
    display: inline-flex; align-items: center; justify-content: center;
}
.pc-btn:hover { background: rgba(255,255,255,.15); }
.pc-btn svg { width: 16px; height: 16px; fill: currentColor; stroke: currentColor; }
.pc-time { font: 700 11px var(--font-mono); color: #fff; padding: 0 6px; }
.pc-spacer { flex: 1; }
.pc-vol { display: flex; align-items: center; gap: 2px; }
.pc-vol .vol-bar { width: 60px; height: 4px; background: rgba(255,255,255,.2); border-radius: 99px; position: relative; cursor: pointer; }
.pc-vol .vol-bar > span { position: absolute; left: 0; top: 0; bottom: 0; width: 65%; background: #fff; border-radius: 99px; }

/* ── Iframe-driven HLS player (DesiTape Player plugin) ── */
.player.player-iframe {
    position: relative;
    aspect-ratio: 16 / 9;
    background: #000;
    border-radius: var(--r-sm);
    overflow: hidden;
    box-shadow: 0 6px 22px rgba(0,0,0,.4);
}
.player.player-iframe iframe {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    border: 0; display: block;
}

/* ── Embed-wrapped player (for iframe / JW / mp4 fallback in WP) ── */
.player.player-embed,
.player.player-jw {
    aspect-ratio: 16 / 9;
    position: relative;
    background: #000;
    border-radius: var(--r-sm);
    overflow: hidden;
}
.player .embed-frame {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
}
.player .embed-frame iframe,
.player .embed-frame video,
.player .embed-frame object,
.player .embed-frame embed {
    width: 100% !important;
    height: 100% !important;
    border: 0;
}
.player.player-mp4 {
    width: 100%; height: auto;
    border-radius: var(--r-sm);
    background: #000;
    aspect-ratio: 16/9;
    box-shadow: 0 6px 22px rgba(0,0,0,.4);
}

/* ── Title block ─────────────────────────────────────────────── */
.title-block { margin-top: 14px; }
.title-block h1 {
    font-size: 19px; font-weight: 800; line-height: 1.3;
    margin-bottom: 8px;
}
.tb-stats {
    display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
    color: var(--ink-3); font: 600 12px var(--font-mono);
    padding-bottom: 12px; border-bottom: 1px solid var(--line);
}
.tb-stats .views { color: var(--ink-1); }
.tb-stats .rate { color: var(--green); display: inline-flex; align-items: center; gap: 4px; }
.tb-stats .rate.bad { color: var(--red); }
.tb-stats .badge {
    padding: 2px 6px; border-radius: 2px;
    background: var(--bg-2); color: var(--ink-2);
    font: 800 10px var(--font-sans); text-transform: uppercase; letter-spacing: .8px;
}

.tb-actions {
    display: flex; align-items: center; gap: 6px; flex-wrap: wrap;
    padding: 12px 0; border-bottom: 1px solid var(--line);
}
.act {
    display: inline-flex; align-items: center; gap: 5px;
    padding: 7px 11px; border-radius: var(--r-sm);
    background: var(--bg-1); border: 1px solid var(--line);
    color: var(--ink-2); font-size: 12.5px; font-weight: 600;
    transition: var(--t);
}
.act:hover { color: var(--ink-1); border-color: var(--line-2); }
.act.is-active { color: var(--red); border-color: var(--red); background: var(--red-soft); }
.act .num { font-family: var(--font-mono); }

.tb-creator {
    display: flex; align-items: center; gap: 12px;
    padding: 12px 0; border-bottom: 1px solid var(--line);
}
.tb-creator .avatar {
    width: 44px; height: 44px; border-radius: 50%;
    background: linear-gradient(135deg, var(--red), var(--gold));
    display: flex; align-items: center; justify-content: center;
    font: 800 16px var(--font-sans); color: #fff;
    flex-shrink: 0;
}
.tb-creator .name { font-size: 14px; font-weight: 700; }
.tb-creator .followers { font: 600 11px var(--font-mono); color: var(--ink-3); margin-top: 2px; }
.tb-creator .follow {
    margin-left: auto; padding: 8px 16px; border-radius: var(--r-sm);
    background: var(--red); color: #fff; border: none;
    font-size: 12.5px; font-weight: 700;
}
.tb-creator .follow:hover { background: var(--red-h); }

.desc {
    padding: 14px 0; border-bottom: 1px solid var(--line);
    color: var(--ink-2); font-size: 13px; line-height: 1.6;
}
.desc p + p { margin-top: 8px; }
.tag-row { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 10px; }

/* ── Sidebar (queue) ─────────────────────────────────────────── */
.queue-block { padding-top: 0; }
.queue-head {
    display: flex; align-items: center; justify-content: space-between;
    margin-bottom: 10px;
    padding-bottom: 8px; border-bottom: 2px solid var(--red);
}
.queue-head h3 { font-size: 13px; font-weight: 800; letter-spacing: .8px; text-transform: uppercase; }
.queue-head .toggle {
    display: inline-flex; align-items: center; gap: 5px;
    font-size: 11.5px; font-weight: 700; color: var(--ink-2);
}
.queue { display: flex; flex-direction: column; gap: 8px; }
.q-card {
    display: flex; gap: 8px; padding: 6px;
    border-radius: var(--r-sm);
    cursor: pointer; transition: var(--t);
}
.q-card:hover { background: var(--bg-2); }
.q-card.is-playing { background: var(--red-soft); }
.q-card.is-playing .q-title { color: var(--red); }
.q-thumb {
    flex-shrink: 0; width: 116px; aspect-ratio: 16/9;
    border-radius: var(--r-xs); overflow: hidden; position: relative;
    background: linear-gradient(140deg, #2a1a1a, #1a1a22);
}
.q-thumb .duration {
    position: absolute; bottom: 3px; right: 3px;
    background: rgba(0,0,0,.85); color: #fff;
    font: 700 10px var(--font-mono); padding: 1px 4px; border-radius: 2px;
}
.q-info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.q-title {
    font-size: 12.5px; font-weight: 600; line-height: 1.3;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.q-meta { font: 600 10px var(--font-mono); color: var(--ink-3); }

/* ── Comments ────────────────────────────────────────────────── */
.comments { margin-top: 24px; }
.cm-head {
    display: flex; align-items: center; gap: 10px; margin-bottom: 14px;
    padding-bottom: 8px; border-bottom: 1px solid var(--line);
}
.cm-head h2 { font-size: 14px; font-weight: 800; text-transform: uppercase; letter-spacing: .5px; }
.cm-head .ct { font: 700 11px var(--font-mono); color: var(--ink-3); }
.cm-form {
    display: flex; gap: 10px; padding: 12px;
    background: var(--bg-1); border: 1px solid var(--line);
    border-radius: var(--r-sm); margin-bottom: 18px;
}
.cm-form .avatar {
    width: 36px; height: 36px; border-radius: 50%; flex-shrink: 0;
    background: linear-gradient(135deg, var(--red), var(--gold));
}
.cm-form textarea {
    flex: 1; resize: none; min-height: 36px;
    background: transparent; border: none; outline: none;
    font: 500 13px var(--font-sans); color: var(--ink-1);
    line-height: 1.5;
}
.cm-form textarea::placeholder { color: var(--ink-3); }
.cm-form .send {
    padding: 0 16px; height: 36px; align-self: flex-end;
    border-radius: var(--r-sm); background: var(--red); color: #fff;
    border: none; font-weight: 700; font-size: 13px;
}
.cm-form .send:hover { background: var(--red-h); }

.cm-list { display: flex; flex-direction: column; gap: 16px; }
.cm-item { display: flex; gap: 10px; }
.cm-item .avatar {
    width: 36px; height: 36px; border-radius: 50%; flex-shrink: 0;
    background: linear-gradient(135deg, var(--red), var(--gold));
    display: flex; align-items: center; justify-content: center;
    font: 800 13px var(--font-sans); color: #fff;
}
.cm-body { flex: 1; min-width: 0; }
.cm-meta { display: flex; align-items: center; gap: 7px; margin-bottom: 3px; }
.cm-meta .name { font-weight: 700; font-size: 13px; }
.cm-meta .when { font: 600 10.5px var(--font-mono); color: var(--ink-3); }
.cm-text { color: var(--ink-2); font-size: 13px; line-height: 1.55; }
.cm-actions { display: flex; gap: 14px; margin-top: 4px; }
.cm-actions button {
    background: none; border: none; color: var(--ink-3);
    font: 600 11.5px var(--font-sans);
    display: inline-flex; align-items: center; gap: 4px;
}
.cm-actions button:hover { color: var(--ink-1); }
.cm-actions .liked { color: var(--red); }

/* ── Footer ──────────────────────────────────────────────────── */
footer.site {
    background: var(--bg-1); border-top: 1px solid var(--line);
    padding: 32px 0 18px; margin-top: 30px;
    transition: var(--t);
}
.ft-grid {
    display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1fr; gap: 28px;
    margin-bottom: 24px;
}
.ft-brand p {
    color: var(--ink-3); font-size: 12.5px; line-height: 1.6;
    margin-top: 10px; max-width: 360px;
}
.ft-rta {
    margin-top: 12px;
    display: inline-block;
    padding: 4px 10px; background: var(--bg-2);
    border: 1px solid var(--line);
    border-radius: 3px;
    font: 800 10px var(--font-mono); color: var(--ink-2);
    letter-spacing: 1.5px;
}
.ft-col h5 {
    font-size: 11px; font-weight: 800; letter-spacing: 1px;
    text-transform: uppercase; color: var(--ink-1); margin-bottom: 10px;
}
.ft-col a {
    display: block; padding: 3px 0; font-size: 12.5px;
    color: var(--ink-3); font-weight: 500; transition: color .15s;
}
.ft-col a:hover { color: var(--red); }
.ft-bottom {
    display: flex; align-items: center; justify-content: space-between;
    padding: 18px 0 0; border-top: 1px solid var(--line);
    flex-wrap: wrap; gap: 10px;
    font-size: 11.5px; color: var(--ink-3);
}
.ft-bottom .legal { display: flex; gap: 14px; }
.ft-bottom .legal a:hover { color: var(--ink-1); }
.ft-disclaimer {
    text-align: center; font-size: 10.5px; line-height: 1.65;
    color: var(--ink-3); opacity: .8;
    padding: 14px 0 0; margin-top: 12px; border-top: 1px solid var(--line);
}

/* ── Report modal ────────────────────────────────────────────── */
.modal {
    position: fixed; inset: 0; z-index: 9998;
    background: rgba(0,0,0,.85); backdrop-filter: blur(8px);
    display: flex; align-items: center; justify-content: center;
    padding: 20px;
}
.modal[hidden] { display: none; }
.modal-card {
    width: 100%; max-width: 480px;
    background: var(--bg-1); border: 1px solid var(--line);
    border-top: 3px solid var(--red);
    padding: 30px 28px;
    border-radius: var(--r-md);
    position: relative;
}
.modal-close {
    position: absolute; top: 10px; right: 10px;
    width: 32px; height: 32px; border-radius: 50%;
    background: var(--bg-2); border: none;
    color: var(--ink-2); cursor: pointer;
    display: inline-flex; align-items: center; justify-content: center;
}
.modal-close:hover { color: var(--red); }
.modal-tag {
    display: inline-block;
    padding: 3px 10px; border-radius: 3px;
    background: var(--red); color: #fff;
    font: 800 10px var(--font-mono); letter-spacing: 1.2px; text-transform: uppercase;
    margin-bottom: 14px;
}
.modal-card h3 { font-size: 18px; font-weight: 800; margin-bottom: 8px; }
.modal-card p { color: var(--ink-2); font-size: 13px; line-height: 1.6; margin-bottom: 14px; }
.modal-email {
    display: block; margin: 14px 0;
    padding: 14px 16px;
    background: var(--bg-2); border: 1px dashed var(--line-2);
    border-radius: var(--r-sm);
    font: 700 15px var(--font-mono); color: var(--red);
    text-align: center; word-break: break-all;
}
.modal-email:hover { border-color: var(--red); }
.modal-actions { display: flex; gap: 8px; margin-top: 16px; }
.modal-actions button { flex: 1; padding: 11px 14px; border-radius: var(--r-sm); border: none; font-weight: 700; font-size: 13px; cursor: pointer; transition: var(--t); }
.modal-copy { background: var(--red); color: #fff; }
.modal-copy:hover { background: var(--red-h); }
.modal-copy.copied { background: var(--green); }
.modal-cancel { background: var(--bg-2); color: var(--ink-2); }
.modal-cancel:hover { color: var(--ink-1); }
.modal-fine { font-size: 11px; color: var(--ink-3); margin-top: 14px; line-height: 1.5; text-align: center; }

/* ── Responsive ──────────────────────────────────────────────── */
@media (max-width: 1080px) {
    .layout { grid-template-columns: 1fr; }
    .side { display: none; }
    .watch-grid { grid-template-columns: 1fr; }
    .ft-grid { grid-template-columns: 2fr 1fr 1fr; }
}
@media (max-width: 820px) {
    .shell { padding: 0 12px; }
    .nav-primary, .search { display: none; }
    .mob-only { display: inline-flex; }
    .bar { gap: 8px; }
    .v-grid, .v-grid.dense { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; }

    footer.site { padding: 22px 0 14px; margin-top: 18px; }
    .ft-grid { grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 16px; }
    .ft-brand { grid-column: 1 / 3; }
    .ft-brand p { font-size: 12px; line-height: 1.5; }
    .ft-col h5 { margin-bottom: 6px; font-size: 10.5px; letter-spacing: .8px; }
    .ft-col a { font-size: 12.5px; padding: 2px 0; }
    .ft-disclaimer { font-size: 10px; padding-top: 10px; margin-top: 10px; }
}
@media (max-width: 520px) {
    .v-grid, .v-grid.dense { grid-template-columns: 1fr 1fr; gap: 6px; }
    .v-info h3 { font-size: 11.5px; }
    .pc-vol .vol-bar { width: 40px; }
    .title-block h1 { font-size: 16px; }
    .btn-login { display: none; }

    footer.site { padding: 18px 0 12px; margin-top: 14px; }
    .ft-grid { grid-template-columns: 1fr; gap: 0; margin-bottom: 12px; }
    .ft-brand { grid-column: auto; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
    .ft-brand p { max-width: none; font-size: 12px; }
    .ft-newsletter { margin-top: 10px; }
    .ft-rta { margin-top: 8px; padding: 3px 8px; font-size: 9px; }

    .ft-col {
        border-bottom: 1px solid var(--line);
        padding: 0;
    }
    .ft-col h5 {
        margin: 0;
        padding: 12px 0;
        font-size: 11px; letter-spacing: 1px;
        position: relative;
        cursor: pointer;
        display: flex; align-items: center; justify-content: space-between;
    }
    .ft-col h5::after {
        content: '+';
        font-family: var(--font-mono);
        font-size: 16px; font-weight: 400;
        color: var(--ink-3);
        transition: transform .15s;
    }
    .ft-col.is-open h5::after { content: '−'; }
    .ft-col a {
        display: none;
        padding: 6px 0;
        font-size: 13px;
    }
    .ft-col.is-open a { display: block; }
    .ft-col.is-open { padding-bottom: 10px; }

    .ft-bottom { padding-top: 14px; flex-direction: column; align-items: flex-start; gap: 8px; font-size: 11px; }
    .ft-bottom .legal { gap: 12px; flex-wrap: wrap; }
    .ft-disclaimer { font-size: 10px; padding-top: 10px; margin-top: 10px; line-height: 1.5; }
}
