:root{
  color-scheme:dark;
  --bg:#05070b;--bg2:#0b0f17;--panel:#101722;--panel2:#151e2c;--line:rgba(255,255,255,.09);
  --text:#f7f9fc;--muted:#9ba8bb;--brand:#4f8cff;--brand2:#7a5cff;--ok:#52d39a;--danger:#ff667d;
  --shadow:0 24px 80px rgba(0,0,0,.38);--radius:24px;--max:1760px;
}
*{box-sizing:border-box}html{scroll-behavior:smooth;background:var(--bg)}body{margin:0;background:radial-gradient(circle at 70% -10%,rgba(79,140,255,.18),transparent 35%),var(--bg);color:var(--text);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;min-height:100vh}
button,input,select,textarea{font:inherit}.hidden{display:none!important}.muted{color:var(--muted)}.shell{width:min(var(--max),100%);margin:0 auto;padding:0 clamp(16px,2.2vw,42px)}
.tv-header{position:sticky;top:0;z-index:60;background:linear-gradient(180deg,rgba(5,7,11,.96),rgba(5,7,11,.78),transparent);backdrop-filter:blur(14px);padding:18px 0 28px}
.tv-nav{display:flex;align-items:center;gap:18px}.brand{display:flex;align-items:center;gap:12px;text-decoration:none;color:#fff;font-weight:950;letter-spacing:.05em;font-size:clamp(18px,1.5vw,26px)}.brand-badge{display:grid;place-items:center;width:42px;height:42px;border-radius:14px;background:linear-gradient(135deg,var(--brand),var(--brand2));box-shadow:0 12px 30px rgba(79,140,255,.28)}.brand small{display:block;font-size:9px;color:#8fa2bd;letter-spacing:.18em}
.nav-links{display:flex;gap:6px;margin-left:14px}.nav-links a{color:#cbd4e1;text-decoration:none;padding:10px 12px;border-radius:999px;font-weight:700;font-size:14px}.nav-links a:hover,.nav-links a:focus-visible{background:#141c29;color:#fff}
.nav-actions{margin-left:auto;display:flex;align-items:center;gap:10px}.city-pill,.profile-btn,.ghost-btn,.primary-btn{border:1px solid var(--line);border-radius:999px;background:rgba(16,23,34,.82);color:#fff;padding:10px 14px;font-weight:800}.primary-btn{background:linear-gradient(135deg,var(--brand),var(--brand2));border:0;box-shadow:0 12px 28px rgba(79,140,255,.28);cursor:pointer}.ghost-btn,.profile-btn{cursor:pointer}.city-pill{color:#c9d6e8;font-size:13px}
.hero{position:relative;min-height:min(72vh,760px);display:flex;align-items:flex-end;border-radius:32px;overflow:hidden;border:1px solid var(--line);background:linear-gradient(115deg,#0c1420 8%,#132441 50%,#080b10 100%);box-shadow:var(--shadow)}
.hero-media{position:absolute;inset:0;background-size:cover;background-position:center;opacity:.62;filter:saturate(.9)}.hero::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(3,5,8,.98) 0%,rgba(3,5,8,.72) 42%,rgba(3,5,8,.08) 78%),linear-gradient(0deg,rgba(3,5,8,.95),transparent 45%)}
.hero-content{position:relative;z-index:2;width:min(760px,80%);padding:clamp(28px,5vw,72px)}.eyebrow{font-size:12px;font-weight:900;letter-spacing:.18em;color:#89b0ff;text-transform:uppercase}.hero h1{font-size:clamp(44px,6vw,98px);line-height:.92;margin:10px 0 18px;letter-spacing:-.055em}.hero p{font-size:clamp(16px,1.45vw,24px);line-height:1.5;color:#c5cfdd;max-width:700px}.hero-meta{display:flex;flex-wrap:wrap;gap:8px;margin:18px 0}.hero-meta span{padding:7px 10px;border:1px solid var(--line);background:rgba(0,0,0,.28);border-radius:999px;font-size:13px;color:#dce4ef}.hero-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:24px}.hero-actions button,.hero-actions a{min-height:52px;padding:0 22px;border-radius:14px;font-weight:900;text-decoration:none;display:inline-flex;align-items:center;justify-content:center}
.section{padding:36px 0 6px}.section-head{display:flex;align-items:end;gap:16px;margin-bottom:16px}.section-head h2{font-size:clamp(23px,2.4vw,38px);margin:0;letter-spacing:-.035em}.section-head p{margin:0 0 3px;color:var(--muted);font-size:14px}.section-head .spacer{flex:1}
.content-rail{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(220px,18vw);gap:14px;overflow-x:auto;padding:4px 2px 20px;scroll-snap-type:x proximity;scrollbar-width:thin}.content-card{position:relative;scroll-snap-align:start;min-height:330px;border-radius:20px;overflow:hidden;border:1px solid var(--line);background:var(--panel);cursor:pointer;transition:.25s ease;box-shadow:0 16px 34px rgba(0,0,0,.18)}.content-card:hover,.content-card:focus-visible{transform:translateY(-5px) scale(1.015);border-color:rgba(112,155,255,.55);box-shadow:0 24px 52px rgba(0,0,0,.34)}.content-card img{width:100%;aspect-ratio:2/3;object-fit:cover;display:block;background:linear-gradient(145deg,#172235,#0b1018)}.poster-fallback{aspect-ratio:2/3;display:grid;place-items:center;background:linear-gradient(145deg,#182946,#0b1018);font-size:42px;font-weight:950;color:#7f9dcc}.card-overlay{position:absolute;inset:auto 0 0;padding:34px 14px 14px;background:linear-gradient(transparent,rgba(3,5,8,.96) 45%)}.card-overlay h3{margin:0 0 6px;font-size:17px}.card-meta{display:flex;gap:7px;flex-wrap:wrap;font-size:11px;color:#b5c0d0}.progress-bar{height:4px;background:rgba(255,255,255,.16);border-radius:10px;overflow:hidden;margin-top:10px}.progress-bar i{display:block;height:100%;background:linear-gradient(90deg,var(--brand),#8a6dff)}
.empty-state{border:1px dashed rgba(255,255,255,.14);border-radius:24px;padding:44px;text-align:center;background:linear-gradient(145deg,rgba(20,30,47,.65),rgba(8,11,17,.8))}.empty-state h3{font-size:28px;margin:0 0 8px}.empty-state p{color:var(--muted);max-width:680px;margin:0 auto}
.ad-slot{margin:28px 0;border:1px dashed rgba(111,160,255,.32);border-radius:20px;min-height:112px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:5px;background:linear-gradient(135deg,rgba(79,140,255,.07),rgba(122,92,255,.04));color:#8397b4}.ad-slot strong{color:#a9bfe3;letter-spacing:.12em;font-size:11px}
.search-wrap{position:relative;max-width:540px}.search-wrap input{width:100%;padding:14px 46px 14px 16px;border-radius:14px;border:1px solid var(--line);background:#0e141e;color:#fff;outline:none}.search-wrap input:focus{border-color:#5c94ff;box-shadow:0 0 0 4px rgba(79,140,255,.12)}
.auth-screen{min-height:100vh;display:grid;grid-template-columns:1.1fr .9fr;background:radial-gradient(circle at 15% 10%,rgba(79,140,255,.25),transparent 35%),#05070b}.auth-brand{padding:clamp(28px,6vw,84px);display:flex;flex-direction:column;justify-content:space-between;min-height:100vh}.auth-brand h1{font-size:clamp(48px,7vw,108px);line-height:.88;letter-spacing:-.065em;margin:34px 0 18px;max-width:900px}.auth-brand p{font-size:clamp(17px,1.7vw,26px);line-height:1.45;color:#b8c4d6;max-width:720px}.auth-points{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-top:30px}.auth-point{padding:18px;border-radius:20px;border:1px solid var(--line);background:rgba(15,22,33,.72)}.auth-point b{display:block;margin-bottom:6px}.auth-point span{font-size:13px;color:var(--muted)}
.auth-panel{display:flex;align-items:center;justify-content:center;padding:24px;background:rgba(4,6,9,.72);backdrop-filter:blur(18px)}.auth-card{width:min(560px,100%);background:rgba(13,18,27,.92);border:1px solid var(--line);border-radius:28px;padding:clamp(24px,4vw,42px);box-shadow:var(--shadow)}.auth-card h2{font-size:32px;margin:0 0 8px}.tabs{display:flex;gap:6px;background:#080d14;border-radius:14px;padding:5px;margin:20px 0}.tabs button{flex:1;border:0;border-radius:10px;padding:11px;background:transparent;color:#8fa0b7;font-weight:850;cursor:pointer}.tabs button.active{background:#182235;color:#fff}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.field{display:flex;flex-direction:column;gap:7px}.field.full{grid-column:1/-1}.field label{font-size:12px;color:#aebbd0;font-weight:800}.field input,.field select,.field textarea{width:100%;border:1px solid var(--line);background:#0a0f17;color:#fff;border-radius:13px;padding:13px 14px;outline:none}.field input:focus,.field select:focus,.field textarea:focus{border-color:#5b91fa;box-shadow:0 0 0 4px rgba(79,140,255,.12)}.form-msg{margin-top:12px;font-size:13px;min-height:20px}.form-msg.error{color:#ff8da1}.form-msg.ok{color:#71dfa9}
.modal{position:fixed;inset:0;z-index:100;display:grid;place-items:center;padding:20px;background:rgba(0,0,0,.72);backdrop-filter:blur(12px)}.modal-card{width:min(720px,100%);max-height:90vh;overflow:auto;background:#101722;border:1px solid var(--line);border-radius:24px;padding:26px;box-shadow:var(--shadow)}.modal-head{display:flex;align-items:center;gap:10px}.modal-head button{margin-left:auto}
.player-shell{min-height:100vh;background:#020305}.player-top{padding:16px 20px;display:flex;align-items:center;gap:12px}.player-top a{color:#fff;text-decoration:none}.player-wrap{width:min(1500px,100%);margin:0 auto;padding:0 18px 40px}.player-stage{aspect-ratio:16/9;background:#000;border-radius:20px;overflow:hidden;border:1px solid var(--line);box-shadow:var(--shadow)}mux-player{width:100%;height:100%;display:block}.watch-info{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:28px;padding-top:24px}.watch-info h1{font-size:clamp(30px,4vw,58px);letter-spacing:-.045em;margin:0 0 12px}.watch-info p{color:#b1bdcc;line-height:1.65}.watch-side{border:1px solid var(--line);border-radius:20px;background:#0d131c;padding:18px;height:max-content}
.admin-shell{min-height:100vh;background:#06080d}.admin-nav{position:sticky;top:0;z-index:30;padding:14px 0;background:rgba(6,8,13,.93);border-bottom:1px solid var(--line);backdrop-filter:blur(14px)}.admin-main{padding:28px 0 80px}.metric-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}.metric{padding:18px;border:1px solid var(--line);background:#101722;border-radius:20px}.metric span{font-size:12px;color:#91a1b7}.metric strong{display:block;font-size:28px;margin-top:6px}.admin-grid{display:grid;grid-template-columns:1.35fr .65fr;gap:18px;margin-top:20px}.panel{border:1px solid var(--line);background:#0f151f;border-radius:24px;padding:20px}.panel h2{margin:0 0 14px}.table-wrap{overflow:auto;border:1px solid var(--line);border-radius:16px}.tv-table{width:100%;border-collapse:collapse;min-width:760px}.tv-table th,.tv-table td{text-align:left;padding:12px 14px;border-bottom:1px solid var(--line);font-size:13px}.tv-table th{color:#91a1b7;font-size:11px;text-transform:uppercase;letter-spacing:.08em}.status{display:inline-flex;padding:5px 8px;border-radius:999px;font-size:11px;font-weight:850;background:#172235;color:#bad0f4}.status.ready,.status.published{background:rgba(82,211,154,.12);color:#79e1b0}.status.draft{background:rgba(255,255,255,.07);color:#bbc6d5}.admin-form{display:grid;grid-template-columns:1fr 1fr;gap:10px}.admin-form .full{grid-column:1/-1}.admin-form textarea{min-height:100px;resize:vertical}
@media (min-width:1800px){.content-rail{grid-auto-columns:minmax(260px,15vw)}.content-card{min-height:390px}.tv-nav{min-height:72px}}
@media (max-width:1100px){.nav-links{display:none}.auth-screen{grid-template-columns:1fr}.auth-brand{min-height:auto;padding-bottom:36px}.auth-panel{padding-top:0}.auth-points{grid-template-columns:1fr 1fr 1fr}.watch-info{grid-template-columns:1fr}.metric-grid{grid-template-columns:repeat(3,1fr)}.admin-grid{grid-template-columns:1fr}.content-rail{grid-auto-columns:minmax(210px,28vw)}}
@media (max-width:720px){.shell{padding:0 14px}.tv-header{padding:12px 0 18px}.brand small,.city-pill{display:none}.profile-btn{padding:9px 12px}.hero{min-height:68vh;border-radius:22px}.hero-content{width:100%;padding:24px}.hero h1{font-size:48px}.content-rail{grid-auto-columns:minmax(175px,48vw);gap:10px}.section{padding-top:28px}.auth-brand{padding:24px}.auth-brand h1{font-size:56px}.auth-points{grid-template-columns:1fr}.auth-card{padding:22px}.form-grid,.admin-form{grid-template-columns:1fr}.field.full,.admin-form .full{grid-column:auto}.metric-grid{grid-template-columns:1fr 1fr}.player-wrap{padding:0 0 26px}.player-stage{border-radius:0}.watch-info{padding:20px 16px}.player-top{padding:14px}.admin-main{padding-top:18px}.modal{padding:8px}.modal-card{border-radius:20px}}
@media (max-width:420px){.hero h1{font-size:42px}.content-rail{grid-auto-columns:72vw}.metric-grid{grid-template-columns:1fr}.auth-brand h1{font-size:48px}}
@media (pointer:coarse) and (min-width:1200px){.nav-links a,.profile-btn,.ghost-btn,.primary-btn{min-height:54px;padding-inline:20px}.content-card:focus-visible{outline:4px solid #fff;outline-offset:4px}.content-rail{grid-auto-columns:minmax(260px,19vw)}}


/* Fluid layouts: small phones through living-room screens. */
html{-webkit-text-size-adjust:100%;text-size-adjust:100%;scroll-padding-top:140px}
body{font-size:16px;line-height:1.5}
img,video,iframe{max-width:100%}
button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}
button,a{touch-action:manipulation}
button:disabled{opacity:.45;cursor:default}
:focus-visible{outline:3px solid #a9c7ff;outline-offset:4px}
.auth-screen>*,.auth-brand>*,.field,.tv-nav>*,.watch-info>*,.section-head>*,.admin-grid>*{min-width:0}
.field input,.field select,.field textarea,.search-wrap input{font-size:16px;min-height:50px;max-width:100%}
.field label{font-size:14px;font-weight:600}
.primary-btn,.ghost-btn,.profile-btn,.tabs button{min-height:46px}
.auth-screen{grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);min-height:100svh;background:radial-gradient(ellipse at 12% 35%,#16345b 0,transparent 52%),radial-gradient(ellipse at 70% 95%,#211944 0,transparent 45%),#070b13}
.auth-brand{min-height:100svh;padding:clamp(28px,4.5vw,76px);gap:48px;position:relative}
.auth-brand h1{font-size:clamp(48px,6.1vw,100px);line-height:1.04;letter-spacing:-.065em;margin:20px 0 24px;font-weight:800}
.auth-brand h1 span{color:#98b7ff}
.auth-brand p{font-size:clamp(17px,1.35vw,21px);line-height:1.7;max-width:560px;margin:0}
.auth-brand .brand{font-size:23px;letter-spacing:.025em}
.brand-badge{flex-shrink:0}
.auth-points{grid-template-columns:1fr;gap:0;max-width:570px;margin-top:28px;border-top:1px solid var(--line)}
.auth-brand .auth-point{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.2fr);gap:20px;border:0;border-bottom:1px solid var(--line);border-radius:0;background:none;padding:15px 0}
.auth-brand .auth-point b{font-size:15px;margin:0}.auth-brand .auth-point span{font-size:14px;line-height:1.6}
.free-note{margin-top:22px;color:#c9d8ec;font-size:14px}.free-note>span{color:#6be0b1;margin-right:6px}
.device-line{display:flex;flex-wrap:wrap;gap:12px 24px;color:#92a3bc;font-size:13px}
.auth-panel{padding:40px clamp(20px,4vw,64px);background:transparent;backdrop-filter:none}
.auth-card{max-width:500px;padding:36px;border-radius:26px;background:linear-gradient(150deg,rgba(24,34,53,.94),rgba(11,17,29,.96));border-color:#ffffff14;box-shadow:0 30px 90px #0005}
.access-badge{display:inline-flex;align-items:center;gap:8px;color:#85e3bb;font-size:11px;letter-spacing:.09em;font-weight:800;margin-bottom:20px}.access-badge:before{content:'';width:7px;height:7px;border-radius:50%;background:#85e3bb}
.auth-card h2{font-size:30px;letter-spacing:-.035em}.auth-card p{font-size:15px;margin:0;line-height:1.6}
.tabs{margin:24px 0}.tabs button{font-size:14px}.tabs button.active{background:#293c60;box-shadow:0 3px 10px #0003}
.form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.form-msg{font-size:14px;overflow-wrap:anywhere}
.auth-card .primary-btn{border-radius:13px;min-height:52px;margin-top:6px;background:linear-gradient(115deg,#528fff,#7369ef)}
.tv-header{padding:16px 0;background:#070b13eb;border-bottom:1px solid var(--line)}
.nav-links a{min-height:44px;display:flex;align-items:center}.profile-btn{max-width:170px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.hero{margin-top:22px;min-height:clamp(400px,60vh,690px)}.hero-content{width:min(850px,90%)}.hero h1{font-size:clamp(36px,5.2vw,78px);line-height:1.08;overflow-wrap:anywhere}.hero p{font-size:clamp(16px,1.4vw,21px)}
.content-rail{grid-auto-columns:clamp(175px,17vw,280px);gap:16px;overscroll-behavior-x:contain}
.content-card{min-height:0}.card-overlay h3{font-size:16px;line-height:1.3;overflow-wrap:anywhere}.card-meta{font-size:12px}.content-card [data-favorite]{min-width:40px;min-height:40px;flex-shrink:0}
.ad-slot:empty{display:none}.section{scroll-margin-top:20px}.section-head{flex-wrap:wrap}.search-wrap{flex:1;min-width:min(100%,260px)}
.empty-state{padding:clamp(24px,4vw,44px)}.empty-state h3{font-size:clamp(22px,3vw,30px)}
.modal-card{max-height:calc(100dvh - 32px);overscroll-behavior:contain}.modal-head h2{font-size:24px}body:has(.modal:not(.hidden)){overflow:hidden}
.watch-info h1{overflow-wrap:anywhere}.player-top{flex-wrap:wrap}.player-top .ghost-btn{display:flex;align-items:center;justify-content:center}
@media (max-width:1100px){
.auth-screen{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.auth-brand{padding:32px;gap:36px}.auth-brand h1{font-size:60px}.auth-brand .auth-point{grid-template-columns:1fr;gap:4px}.auth-panel{padding:28px 24px 28px 0}.auth-card{padding:28px}.auth-points{grid-template-columns:1fr}
.tv-nav{flex-wrap:wrap}.nav-links{display:flex;order:3;width:100%;margin:0;gap:4px}.nav-links a{flex:1;justify-content:center}.nav-actions{max-width:60%}.content-rail{grid-auto-columns:clamp(180px,23vw,240px)}
}
@media (max-width:760px){
.auth-screen{grid-template-columns:minmax(0,1fr);padding:0 20px 28px;min-height:100svh}.auth-brand{min-height:0;padding:24px 0 20px;gap:24px}.auth-brand .brand{font-size:20px}.auth-brand .brand small{display:block;font-size:9px}.auth-brand .brand-badge{width:36px;height:36px;border-radius:11px}.auth-brand h1{font-size:clamp(38px,8.5vw,56px);line-height:1.05;margin:12px 0 16px}.auth-brand h1 br{display:none}.auth-brand h1 span:before{content:' '}.auth-brand p{font-size:16px;line-height:1.6;max-width:560px}.auth-brand .eyebrow{font-size:10px;letter-spacing:.12em}.auth-points,.device-line{display:none}.free-note{margin-top:12px;font-size:13px}.auth-panel{padding:0;align-items:flex-start}.auth-card{max-width:560px;padding:24px;border-radius:22px}.auth-brand{max-width:560px;width:100%;margin:auto}.access-badge{margin-bottom:12px}.auth-card h2{font-size:26px}.tabs{margin:20px 0}.form-grid{gap:14px}.auth-card .form-grid{grid-template-columns:1fr}.field.full{grid-column:1/-1}
.shell{padding-inline:16px}.tv-header{padding:12px 0 8px}.tv-nav{gap:12px}.tv-nav .brand{font-size:18px;gap:8px}.tv-nav .brand-badge{width:34px;height:34px;border-radius:10px}.nav-actions{gap:6px}.nav-actions .ghost-btn{padding:8px 12px}.profile-btn{max-width:106px;font-size:13px;padding:8px 12px}.nav-links a{padding:8px 6px;font-size:13px}.hero{min-height:420px;border-radius:20px;margin-top:16px}.hero-content{padding:24px 20px;width:100%}.hero h1{font-size:clamp(32px,8vw,48px);line-height:1.08}.hero p{font-size:16px}.hero::after{background:linear-gradient(0deg,#030508 0%,#030508bc 65%,#03050833)}.hero-actions{gap:8px;margin-top:20px}.hero-actions button{padding:12px 16px;min-height:48px;font-size:14px}.hero-meta span{font-size:12px}.content-rail{grid-auto-columns:calc((100% - 12px)/2.15);gap:12px}.content-card{border-radius:13px}.card-overlay{padding:35px 10px 12px}.card-overlay h3{font-size:14px}.card-meta{font-size:11px}.content-card [data-favorite]{min-width:32px;min-height:40px}.section-head h2{font-size:24px}.section{padding-top:26px}.search-wrap{max-width:none;width:100%;flex-basis:100%}.section-head .spacer{display:none}.modal{padding:12px}.modal-card{padding:20px;max-height:calc(100dvh - 24px)}.player-top{gap:8px;padding:12px}.player-top .brand{font-size:16px;gap:7px}.player-top .brand-badge{width:32px;height:32px;border-radius:9px}.player-top .ghost-btn{font-size:12px;padding:8px 12px}.watch-info{gap:20px}.watch-info h1{font-size:30px}.watch-side{padding:20px}
}
@media (max-width:360px){.auth-screen{padding-inline:14px}.auth-card{padding:20px}.auth-brand h1{font-size:36px}.tv-nav .brand{font-size:16px}.profile-btn{max-width:82px}.shell{padding-inline:12px}.hero-content{padding:22px 16px}.hero-actions button{flex:1}.form-grid{grid-template-columns:1fr}}
@media (min-width:1800px){.auth-card{max-width:620px;padding:48px}.auth-card h2{font-size:38px}.auth-card p,.field input,.field select{font-size:20px}.field label{font-size:17px}.auth-card button{font-size:18px}.tv-nav{min-height:64px}.nav-links a{font-size:18px}.content-rail{grid-auto-columns:minmax(240px,15vw)}.content-card{min-height:0}}
@media (hover:hover){.primary-btn:hover{filter:brightness(1.12)}.ghost-btn:hover,.profile-btn:hover{background:#23314a}}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{animation:none!important;transition:none!important}}

.field input[type="checkbox"],.field input[type="radio"]{width:auto;min-height:0}

/* CLENA TV: compact cinematic previews, in the existing blue theme. */
.catalog-page .auth-screen{min-height:100svh;grid-template-columns:minmax(0,1.3fr) minmax(320px,.8fr);align-items:center;padding:32px clamp(24px,5vw,84px);gap:clamp(28px,5vw,80px)}
.catalog-page .auth-brand{min-height:0;padding:0;gap:34px;width:100%;max-width:880px}.catalog-page .auth-brand h1{font-size:clamp(32px,4vw,58px);line-height:1.12;margin:14px 0 18px;letter-spacing:-.045em}.catalog-page .auth-brand p{font-size:16px;line-height:1.65;max-width:490px}.catalog-page .auth-brand .eyebrow{font-size:10px;letter-spacing:.14em}.catalog-page .auth-panel{padding:0;width:100%}.catalog-page .auth-card{padding:28px;max-width:420px;border-radius:20px}.catalog-page .auth-card h2{font-size:25px}.catalog-page .auth-card p{font-size:14px}.catalog-page .access-badge{font-size:10px;margin-bottom:12px}.catalog-page .free-note{font-size:12px;margin-top:14px}.catalog-page .device-line{font-size:12px;gap:20px}.catalog-page .auth-card .primary-btn{min-height:46px;font-size:14px}.catalog-page .tabs{margin:18px 0}.catalog-page .field input,.catalog-page .field select{min-height:46px;padding:10px 12px;font-size:16px}.catalog-page .field label{font-size:13px}.catalog-page .form-grid{gap:12px}
.entry-previews{margin-top:28px;min-width:0}.preview-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:12px}.preview-hint{font-size:11px;color:#93a4c0}.entry-rail{display:flex;gap:12px;overflow-x:auto;max-width:100%;padding:4px 0 10px;scroll-snap-type:x proximity;overscroll-behavior-x:contain;scrollbar-width:thin;scrollbar-color:#344560 transparent}.entry-card{flex:0 0 calc((100% - 36px)/4);aspect-ratio:2/3;min-width:0;position:relative;overflow:hidden;background:linear-gradient(145deg,#20345b,#111929);border:1px solid #ffffff15;border-radius:12px;color:#fff;padding:0;cursor:pointer;text-align:left;scroll-snap-align:start;transition:transform .2s,border-color .2s}.entry-card img{width:100%;height:100%;object-fit:cover;display:block}.entry-title{position:absolute;inset:auto 0 0;padding:30px 10px 10px;background:linear-gradient(transparent,#050913e8);font-size:12px;font-weight:700;line-height:1.4}.entry-play{position:absolute;top:10px;right:10px;border-radius:50%;width:28px;height:28px;background:#050913a8;display:grid;place-items:center;font-size:20px}.entry-fallback{display:grid;place-items:center;height:100%;font-size:15px;font-weight:800;color:#8faef1}.preview-empty{width:100%;border:1px solid #ffffff12;border-radius:14px;background:linear-gradient(110deg,#10223b,#10182a);padding:24px;display:flex;align-items:center;gap:18px}.preview-empty b{font-size:15px;font-weight:650}.catalog-page .preview-empty p{font-size:13px;line-height:1.6;margin:5px 0 0;color:#9aabc4}.empty-play{display:grid;place-items:center;flex-shrink:0;width:48px;height:48px;border-radius:50%;border:1px solid #819ace45;color:#9fbeff;font-size:28px}
.catalog-page .hero{min-height:clamp(300px,47vh,510px);border-radius:20px}.catalog-page .hero-content{padding:clamp(24px,4vw,48px);width:min(740px,90%)}.catalog-page .hero h1{font-size:clamp(30px,4vw,54px);line-height:1.1}.catalog-page .hero p{font-size:16px;max-width:540px;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.catalog-page .hero-actions{margin-top:18px}.catalog-page .hero-actions button{min-height:44px;padding:10px 18px;font-size:14px}.catalog-page .content-rail{grid-auto-columns:clamp(135px,14vw,215px);gap:12px}.catalog-page .section-head h2{font-size:clamp(21px,2.1vw,29px)}.catalog-page .section{padding-top:26px}.catalog-page .card-overlay h3{font-size:14px}.rail-controls{display:flex;gap:7px;margin-left:auto}.rail-controls button{font-size:22px;line-height:1;min-height:36px;min-width:36px;padding:3px 10px}.catalog-page .tv-nav{min-height:0}.catalog-page .tv-header{padding-top:12px;padding-bottom:12px}
.preview-dialog{padding:0;width:min(660px,calc(100% - 28px));max-height:calc(100dvh - 32px);overflow:auto;border:1px solid #ffffff24;border-radius:22px;color:#f7f9fc;background:#0d1421;box-shadow:0 30px 100px #000a}.preview-dialog::backdrop{background:#02050bcc;backdrop-filter:blur(8px)}.preview-art{position:relative;aspect-ratio:16/8;background:radial-gradient(at 20% 20%,#304d86,#111b31);overflow:hidden}.preview-art:after{content:'';position:absolute;inset:50% 0 0;background:linear-gradient(transparent,#0d1421);pointer-events:none}.preview-art img{width:100%;height:100%;object-fit:cover}.preview-close{position:absolute;z-index:2;top:12px;right:12px;min-height:40px;width:40px;border:1px solid #ffffff35;border-radius:50%;background:#080d18cc;color:white;font-size:24px;cursor:pointer}.preview-label{position:absolute;z-index:2;bottom:16px;left:24px;color:#aac5ff;font-size:10px;letter-spacing:.15em;font-weight:800}.preview-body{padding:0 24px 28px}.preview-body h2{font-size:clamp(24px,4vw,34px);line-height:1.2;letter-spacing:-.035em;margin:4px 0 14px;overflow-wrap:anywhere}.preview-body p{font-size:15px;line-height:1.75;color:#bac7db;white-space:pre-line}.preview-buttons{display:flex;flex-wrap:wrap;gap:10px;margin-top:22px}.preview-buttons a,.preview-buttons button{display:inline-flex;align-items:center;text-decoration:none;justify-content:center;font-size:14px;border-radius:12px;min-height:44px}.preview-body .hero-meta{margin:12px 0}.preview-body .hero-meta span{font-size:12px}body:has(.preview-dialog[open]){overflow:hidden}
.tv-intro{position:fixed;inset:0;z-index:1000;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:20px;background:#05070b;pointer-events:none;animation:introExit .4s ease 1s forwards}.intro-wordmark{font-size:clamp(28px,5vw,48px);font-weight:850;letter-spacing:.08em;animation:wordmarkEnter .65s ease both;text-shadow:0 0 40px #4f8cff55}.intro-wordmark span{color:#8cabff}.intro-line{height:2px;width:120px;transform-origin:left;background:linear-gradient(90deg,#4f8cff,#a49aff);animation:lineEnter .85s ease both}.catalog-page .auth-brand,.catalog-page .auth-card{animation:pageEnter .6s ease .15s both}.catalog-page .content-card{animation:pageEnter .4s ease both}.catalog-page .content-card:nth-child(2n){animation-delay:.05s}.catalog-page .content-card:nth-child(3n){animation-delay:.1s}
@keyframes introExit{to{opacity:0;visibility:hidden}}@keyframes wordmarkEnter{from{opacity:0;letter-spacing:.2em;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}@keyframes lineEnter{from{transform:scaleX(0)}to{transform:scaleX(1)}}@keyframes pageEnter{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}
@media(hover:hover){.entry-card:hover{transform:translateY(-3px);border-color:#7ea8fc}.catalog-page .content-card:hover{transform:translateY(-3px)}}
@media(max-width:1000px){.catalog-page .auth-screen{gap:28px;padding:28px;grid-template-columns:minmax(0,1fr) minmax(300px,.85fr)}.catalog-page .auth-brand h1{font-size:38px}.entry-card{flex-basis:calc((100% - 24px)/3)}.catalog-page .auth-card{padding:24px}.catalog-page .content-rail{grid-auto-columns:160px}}
@media(max-width:760px){.catalog-page .auth-screen{padding:22px 18px 28px;grid-template-columns:minmax(0,1fr);gap:22px;align-content:start}.catalog-page .auth-brand{gap:22px;max-width:520px}.catalog-page .auth-brand h1{font-size:clamp(28px,7.4vw,36px);margin:12px 0;line-height:1.12}.catalog-page .auth-brand h1 br{display:block}.catalog-page .auth-brand h1 span:before{content:none}.catalog-page .auth-brand p{font-size:14px;line-height:1.6}.catalog-page .auth-brand .brand{font-size:19px}.catalog-page .auth-brand .brand small{display:none}.catalog-page .free-note{margin-top:10px;font-size:11px}.catalog-page .auth-panel{max-width:520px;margin:auto}.catalog-page .auth-card{max-width:520px;padding:22px;border-radius:18px}.catalog-page .auth-card h2{font-size:23px}.catalog-page .access-badge{font-size:9px}.entry-previews{margin-top:20px}.entry-card{flex-basis:calc((100% - 30px)/3.4);border-radius:9px}.entry-rail{gap:10px}.entry-title{font-size:11px;padding:22px 8px 8px}.entry-play{width:24px;height:24px;top:7px;right:7px;font-size:16px}.preview-hint{font-size:10px}.preview-empty{padding:16px;gap:12px}.preview-empty b{font-size:13px}.catalog-page .preview-empty p{font-size:12px}.empty-play{width:36px;height:36px;font-size:23px}.catalog-page .hero{min-height:330px;margin-top:12px;border-radius:16px}.catalog-page .hero-content{padding:22px 18px;width:100%}.catalog-page .hero h1{font-size:30px}.catalog-page .hero p{font-size:14px}.catalog-page .hero-meta{margin:12px 0;gap:6px}.catalog-page .hero-meta span{font-size:11px;padding:5px 8px}.catalog-page .hero-actions{margin-top:16px}.catalog-page .hero-actions button{font-size:13px;padding:10px 14px}.catalog-page .content-rail{grid-auto-columns:calc((100% - 24px)/2.5);gap:10px}.catalog-page .content-card [data-favorite]{display:none}.catalog-page .card-overlay{padding:28px 8px 10px}.catalog-page .card-overlay h3{font-size:12px}.catalog-page .card-meta{font-size:10px}.catalog-page .section-head h2{font-size:21px}.catalog-page .section-head .eyebrow{font-size:10px}.catalog-page .tv-header{padding:10px 0 6px}.catalog-page .nav-links a{font-size:12px}.preview-body{padding:0 20px 22px}.preview-label{left:20px}.preview-body h2{font-size:26px}.preview-body p{font-size:14px}}
@media(prefers-reduced-motion:reduce){.tv-intro{display:none}.catalog-page *{animation:none!important;transition:none!important}}


/* CLENA TV admin: clean cinematic workspace */
.admin-dashboard{background:#070910;color:#f5f7fc;min-height:100vh;overflow-x:hidden}
.admin-dashboard .admin-layout{min-height:100vh;display:grid;grid-template-columns:294px minmax(0,1fr)}
.admin-dashboard .admin-sidebar{position:sticky;top:0;height:100vh;display:flex;flex-direction:column;padding:24px 16px 18px;background:linear-gradient(180deg,#0d1422,#090e17);border-right:1px solid rgba(255,255,255,.09);z-index:40}
.admin-dashboard .admin-brand{display:flex;align-items:center;gap:13px;padding:0 6px 28px;text-decoration:none;color:#fff}
.admin-dashboard .admin-brand-mark,.admin-dashboard .admin-mobile-mark,.admin-dashboard .admin-gate-mark{display:grid;place-items:center;flex:none;width:54px;height:54px;border-radius:17px;background:linear-gradient(135deg,#438bff,#7047ed);font-size:30px;font-weight:950;box-shadow:0 10px 32px #426eff30}
.admin-dashboard .admin-brand-copy{display:grid;gap:5px}.admin-dashboard .admin-brand-copy b{font-size:22px;letter-spacing:-.035em}.admin-dashboard .admin-brand-copy small{font-size:9px;letter-spacing:.17em;color:#9cabc2;font-weight:800}
.admin-dashboard .admin-nav-label{font-size:10px;letter-spacing:.17em;color:#8294b2;font-weight:900;padding:12px 14px}
.admin-dashboard .admin-side-nav{display:grid;gap:6px}
.admin-dashboard .admin-side-link{display:flex;align-items:center;gap:14px;width:100%;min-height:48px;padding:0 14px;border:1px solid transparent;border-radius:13px;background:transparent;color:#d2dced;text-decoration:none;font-size:14px;font-weight:650;text-align:left;cursor:pointer;transition:background .18s,border-color .18s,transform .18s}
.admin-dashboard .admin-side-link:hover{background:#ffffff09;border-color:#ffffff0e}.admin-dashboard .admin-side-link.active{background:linear-gradient(110deg,#337cff,#5d43ed);color:#fff;box-shadow:0 10px 28px #3e66f633}
.admin-dashboard .side-icon{display:grid;place-items:center;width:25px;font-size:21px;color:#a9c3ff}
.admin-dashboard .admin-sidebar-bottom{display:grid;gap:7px;margin-top:auto;padding-top:20px}.admin-dashboard .admin-side-site{border-color:#ffffff14;background:#ffffff05}.admin-dashboard .admin-signout{font:inherit}
.admin-dashboard .admin-workspace{min-width:0}.admin-dashboard .admin-topbar{position:sticky;top:0;z-index:30;min-height:82px;display:flex;align-items:center;justify-content:space-between;gap:18px;padding:14px clamp(20px,3vw,48px);background:#080b12ed;backdrop-filter:blur(16px);border-bottom:1px solid #ffffff12}
.admin-dashboard .admin-topbar-title{display:flex;align-items:center;gap:12px;font-weight:850;font-size:15px}.admin-dashboard .admin-topbar-title small{display:block;margin-top:5px;color:#8e9bb1;font-size:11px;font-weight:500}.admin-dashboard .admin-mobile-mark{display:none;width:38px;height:38px;border-radius:12px;font-size:22px}
.admin-dashboard .admin-topbar-actions{display:flex;align-items:center;gap:9px;flex-wrap:wrap}.admin-dashboard .admin-top-btn{display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:0 15px;border-radius:13px;border:1px solid #ffffff16;background:#111722;color:#f5f7fc;text-decoration:none;font-size:12px;font-weight:750;cursor:pointer}.admin-dashboard .admin-top-btn:hover{background:#1a2434}
.admin-dashboard .admin-status-pill{display:inline-flex;align-items:center;gap:7px;padding:9px 12px;border-radius:99px;background:#101b20;border:1px solid #4ad69b26;color:#9ce7c6;font-size:11px;font-weight:750}.admin-dashboard .admin-status-pill i{width:7px;height:7px;border-radius:50%;background:#4bd59b;box-shadow:0 0 12px #4bd59b88}
.admin-dashboard .admin-main{width:100%;max-width:1780px;margin:0 auto;padding:26px clamp(20px,3vw,48px) 70px}
.admin-dashboard .admin-gate{display:grid;justify-items:center;align-content:center;text-align:center;min-height:240px;padding:30px;border:1px solid #ffffff13;border-radius:22px;background:linear-gradient(135deg,#101725,#090d14)}.admin-dashboard .admin-gate-mark{width:46px;height:46px;border-radius:14px;font-size:25px}.admin-dashboard .admin-gate h2{margin:18px 0 6px;font-size:22px}.admin-dashboard .admin-gate p{color:#97a5ba;font-size:14px}
.admin-dashboard .admin-welcome{position:relative;isolation:isolate;overflow:hidden;display:flex;align-items:center;min-height:210px;padding:clamp(26px,3.5vw,48px);border:1px solid #ffffff12;border-radius:23px;background:radial-gradient(ellipse at 82% 10%,#3158a844,transparent 36%),linear-gradient(110deg,#10192a,#0b101b 64%,#101a30);box-shadow:0 20px 55px #0002}
.admin-dashboard .admin-welcome:after{content:"";position:absolute;z-index:-1;right:-4%;top:-75%;width:46%;height:250%;transform:rotate(28deg);background:linear-gradient(90deg,transparent,#668cff12,transparent)}
.admin-dashboard .admin-welcome-copy{position:relative;z-index:2}.admin-dashboard .eyebrow{color:#8eabff;font-size:10px;font-weight:900;letter-spacing:.19em}.admin-dashboard .admin-welcome h1{margin:9px 0 10px;font-size:clamp(42px,5vw,68px);line-height:.98;letter-spacing:-.065em;font-weight:950}.admin-dashboard .admin-welcome h1 span{color:#5c82ff}.admin-dashboard .admin-welcome p{margin:0;color:#a8b6cb;font-size:clamp(14px,1.2vw,17px);line-height:1.6}
.admin-dashboard .admin-welcome-art{position:absolute;right:8%;top:50%;transform:translateY(-50%);width:180px;height:150px;display:grid;place-items:center;opacity:.7}.admin-dashboard .art-clapper{position:absolute;font-size:104px;color:#263d69;transform:rotate(-22deg);text-shadow:0 12px 35px #000}.admin-dashboard .art-play{display:grid;place-items:center;width:62px;height:62px;border-radius:22px;background:linear-gradient(135deg,#3f80ff,#7750f4);font-size:25px;box-shadow:0 0 55px #5079ff66}
.admin-dashboard .admin-quick-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-top:18px}
.admin-dashboard .admin-quick-card{display:flex;align-items:center;gap:13px;min-width:0;min-height:92px;padding:16px;border:1px solid #ffffff13;border-radius:18px;background:linear-gradient(140deg,#141b28,#0f141e);color:#f7f8fc;text-align:left;text-decoration:none;cursor:pointer;transition:transform .18s,border-color .18s,background .18s}.admin-dashboard .admin-quick-card:hover{transform:translateY(-2px);border-color:#6b8cff55}.admin-dashboard .admin-quick-card.featured{background:linear-gradient(120deg,#3c73ff,#5c3de0);border-color:transparent}
.admin-dashboard .quick-icon{display:grid;place-items:center;flex:none;width:48px;height:48px;border-radius:15px;background:#ffffff20;color:white;font-size:23px}.admin-dashboard .quick-icon.purple{background:#6543d866}.admin-dashboard .quick-icon.blue{background:#2558cf88}.admin-dashboard .quick-icon.violet{background:#7448d777}.admin-dashboard .admin-quick-card>span:nth-child(2){display:grid;gap:5px;min-width:0}.admin-dashboard .admin-quick-card b{font-size:13px;line-height:1.3}.admin-dashboard .admin-quick-card small{font-size:11px;color:#a9b5c9;line-height:1.35}.admin-dashboard .admin-quick-card.featured small{color:#e2e8ff}.admin-dashboard .admin-quick-card>i{margin-left:auto;font-style:normal;font-size:24px;color:#b7c3d8}
.admin-dashboard .admin-section{margin-top:30px}.admin-dashboard .admin-section-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:15px}.admin-dashboard .admin-section-heading h2{margin:0;font-size:22px;letter-spacing:-.035em}.admin-dashboard .admin-section-heading p{margin:6px 0 0;color:#8998af;font-size:12px;line-height:1.5}.admin-dashboard .admin-view-all{display:inline-flex;align-items:center;gap:12px;padding:10px 14px;border:1px solid #ffffff16;border-radius:99px;color:#f5f7fc;background:#111722;text-decoration:none;font-size:12px;font-weight:750}.admin-dashboard .admin-view-all span{font-size:20px}
.admin-dashboard .admin-recent-rail{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:14px;min-height:80px}.admin-dashboard .admin-recent-empty{grid-column:1/-1;padding:26px;border:1px dashed #ffffff20;border-radius:16px;color:#8d9bb1;font-size:13px}
.admin-dashboard .admin-recent-card{min-width:0;cursor:pointer}.admin-dashboard .admin-poster{position:relative;overflow:hidden;aspect-ratio:2/2.75;border-radius:14px;border:1px solid #ffffff16;background:linear-gradient(145deg,#202b42,#0f1520);box-shadow:0 12px 28px #0004}.admin-dashboard .admin-poster img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .25s}.admin-dashboard .admin-recent-card:hover .admin-poster img{transform:scale(1.04)}.admin-dashboard .admin-poster-fallback{height:100%;display:grid;place-items:center;padding:12px;text-align:center;background:radial-gradient(at 25% 15%,#3c5592,#111826 70%);color:#dce6ff;font-weight:850;font-size:18px}.admin-dashboard .admin-poster-play{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);display:grid;place-items:center;width:42px;height:42px;border-radius:50%;background:#060b16b8;border:1px solid #ffffff6b;color:#fff;opacity:0;transition:opacity .2s}.admin-dashboard .admin-recent-card:hover .admin-poster-play{opacity:1}.admin-dashboard .admin-recent-title{margin:9px 0 7px;font-size:13px;font-weight:800;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.admin-dashboard .admin-recent-tags{display:flex;gap:6px;flex-wrap:wrap}.admin-dashboard .admin-tag{display:inline-flex;align-items:center;padding:5px 9px;border-radius:99px;background:#1a2332;color:#c5d0e2;font-size:10px;font-weight:700}.admin-dashboard .admin-tag.published{background:#103b2c;color:#77e4b1}
.admin-dashboard .admin-metric-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-top:30px}.admin-dashboard .admin-stat-card{display:flex;align-items:center;gap:14px;min-height:96px;padding:18px;border:1px solid #ffffff10;border-radius:18px;background:linear-gradient(145deg,#131a27,#0e131d)}.admin-dashboard .admin-stat-icon{display:grid;place-items:center;flex:none;width:48px;height:48px;border-radius:15px;font-size:22px;color:#fff}.admin-dashboard .admin-stat-icon.blue{background:#346bfa}.admin-dashboard .admin-stat-icon.green{background:#168e61}.admin-dashboard .admin-stat-icon.orange{background:#b86320}.admin-dashboard .admin-stat-icon.violet{background:#693bd3}.admin-dashboard .admin-stat-card strong{display:block;font-size:25px;line-height:1.1;letter-spacing:-.04em}.admin-dashboard .admin-stat-card small{display:block;margin-top:6px;color:#9ba8bd;font-size:11px}
.admin-dashboard .admin-lower-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-top:18px}.admin-dashboard .admin-section-card{min-width:0;padding:22px;border:1px solid #ffffff12;border-radius:20px;background:linear-gradient(145deg,#111824,#0d121b)}.admin-dashboard .admin-lower-grid .admin-section-card{min-height:290px}.admin-dashboard .admin-mux-status{display:grid;gap:6px;padding:14px 15px;border:1px solid #ffffff12;border-radius:14px;background:#080e17}.admin-dashboard .admin-mux-status b{font-size:13px}.admin-dashboard .admin-mux-status span{font-size:11px;line-height:1.55;color:#99a9c0}.admin-dashboard .admin-help{font-size:12px;line-height:1.7;color:#9aa8bd}.admin-dashboard .admin-secondary-action{display:flex;align-items:center;justify-content:center;width:100%;min-height:46px;border:0;border-radius:12px;background:linear-gradient(110deg,#3c7bff,#6048ec);color:white;font-size:13px;font-weight:800;cursor:pointer}.admin-dashboard .admin-text-action{border:0;background:transparent;color:#91adff;font-size:12px;font-weight:750;cursor:pointer;padding:12px 0}.admin-dashboard .admin-device-block{margin-top:10px}.admin-dashboard .admin-audience-list{display:grid;gap:0}.admin-dashboard .admin-audience-list>div{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:13px 0;border-bottom:1px solid #ffffff10}.admin-dashboard .admin-audience-list span{color:#9ba9bd;font-size:12px}.admin-dashboard .admin-audience-list b{font-size:14px}.admin-dashboard .admin-subheading{font-size:13px;margin:20px 0 10px}.admin-dashboard .admin-top-list,.admin-dashboard .admin-device-list{display:grid;gap:9px}.admin-dashboard .admin-catalog-section{margin-top:18px}.admin-dashboard .admin-search{display:flex;align-items:center;gap:9px;min-width:min(300px,100%);padding:0 12px;border:1px solid #ffffff17;border-radius:12px;background:#080e17;color:#9eadd0}.admin-dashboard .admin-search input{width:100%;min-width:0;min-height:42px;border:0;outline:0;background:transparent;color:#fff;font-size:13px}.admin-dashboard .admin-table-wrap{overflow:auto;border:1px solid #ffffff10;border-radius:14px}.admin-dashboard .tv-table th{font-size:10px;letter-spacing:.08em;text-transform:uppercase;color:#8798b4}.admin-dashboard .tv-table td{font-size:12px;vertical-align:middle}.admin-dashboard .admin-table-footer{display:flex;justify-content:space-between;align-items:center;gap:12px;color:#8392a9;font-size:11px;padding-top:12px}
.admin-dashboard .modal{z-index:100}.admin-dashboard .modal-card{max-height:calc(100dvh - 32px);overflow:auto;background:#0e1521;border-color:#ffffff1c}.admin-dashboard .admin-form{gap:14px}.admin-dashboard .field input,.admin-dashboard .field select,.admin-dashboard .field textarea{background:#090f19;border-color:#ffffff18;color:#f5f7fc}.admin-dashboard .field input[readonly]{opacity:.75}.admin-dashboard .admin-quick-card:focus-visible,.admin-dashboard .admin-side-link:focus-visible,.admin-dashboard .admin-top-btn:focus-visible{outline:2px solid #8caaff;outline-offset:3px}
@media(max-width:1250px){.admin-dashboard .admin-layout{grid-template-columns:245px minmax(0,1fr)}.admin-dashboard .admin-quick-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.admin-dashboard .admin-recent-rail{grid-template-columns:repeat(4,minmax(0,1fr))}.admin-dashboard .admin-welcome-art{right:2%}}
@media(max-width:850px){.admin-dashboard .admin-layout{grid-template-columns:76px minmax(0,1fr)}.admin-dashboard .admin-sidebar{padding:18px 9px}.admin-dashboard .admin-brand{justify-content:center;padding:0 0 25px}.admin-dashboard .admin-brand-mark{width:48px;height:48px}.admin-dashboard .admin-brand-copy,.admin-dashboard .admin-nav-label,.admin-dashboard .admin-side-link:not(.admin-side-site):not(.admin-signout){font-size:0}.admin-dashboard .admin-side-link{justify-content:center;padding:0;gap:0}.admin-dashboard .admin-side-link .side-icon{font-size:21px}.admin-dashboard .admin-side-site,.admin-dashboard .admin-signout{font-size:0}.admin-dashboard .admin-side-site .side-icon,.admin-dashboard .admin-signout .side-icon{font-size:21px}.admin-dashboard .admin-main{padding:20px 18px 48px}.admin-dashboard .admin-topbar{padding:12px 18px}.admin-dashboard .admin-status-pill{display:none}.admin-dashboard .admin-metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.admin-dashboard .admin-lower-grid{grid-template-columns:1fr}.admin-dashboard .admin-welcome-art{opacity:.28}}
@media(max-width:560px){.admin-dashboard .admin-layout{display:block}.admin-dashboard .admin-sidebar{position:sticky;top:0;height:auto;display:flex;flex-direction:row;align-items:center;padding:8px 12px;border-right:0;border-bottom:1px solid #ffffff14}.admin-dashboard .admin-brand{padding:0;margin-right:auto;justify-content:flex-start}.admin-dashboard .admin-brand-mark{width:38px;height:38px;border-radius:12px;font-size:21px}.admin-dashboard .admin-brand-copy{display:grid}.admin-dashboard .admin-brand-copy b{font-size:15px}.admin-dashboard .admin-brand-copy small{font-size:7px}.admin-dashboard .admin-side-nav{display:flex;gap:4px}.admin-dashboard .admin-side-nav .admin-nav-label,.admin-dashboard .admin-side-nav .admin-side-link{display:none}.admin-dashboard .admin-sidebar-bottom{display:flex;margin:0;padding:0}.admin-dashboard .admin-sidebar-bottom .admin-side-site{display:none}.admin-dashboard .admin-sidebar-bottom .admin-signout{display:none}.admin-dashboard .admin-topbar{position:static;min-height:62px;padding:10px 14px}.admin-dashboard .admin-topbar-title{font-size:12px}.admin-dashboard .admin-topbar-title small{font-size:10px}.admin-dashboard .admin-mobile-mark{display:grid}.admin-dashboard .admin-topbar-actions{gap:6px}.admin-dashboard .admin-top-btn{min-height:38px;padding:0 10px;font-size:11px}.admin-dashboard .admin-main{padding:14px 13px 36px}.admin-dashboard .admin-welcome{min-height:155px;padding:22px 18px;border-radius:17px}.admin-dashboard .admin-welcome h1{font-size:42px}.admin-dashboard .admin-welcome p{max-width:90%;font-size:12px}.admin-dashboard .admin-welcome-art{right:-28px;transform:translateY(-50%) scale(.65);opacity:.18}.admin-dashboard .admin-quick-grid{grid-template-columns:1fr 1fr;gap:8px;margin-top:10px}.admin-dashboard .admin-quick-card{min-height:80px;padding:10px;gap:8px;border-radius:13px}.admin-dashboard .quick-icon{width:35px;height:35px;border-radius:11px;font-size:17px}.admin-dashboard .admin-quick-card b{font-size:11px}.admin-dashboard .admin-quick-card small{font-size:9px}.admin-dashboard .admin-quick-card>i{font-size:18px}.admin-dashboard .admin-section{margin-top:22px}.admin-dashboard .admin-section-heading{align-items:flex-start}.admin-dashboard .admin-section-heading h2{font-size:18px}.admin-dashboard .admin-section-heading p{font-size:10px}.admin-dashboard .admin-view-all{padding:8px 10px;font-size:10px;white-space:nowrap}.admin-dashboard .admin-recent-rail{grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.admin-dashboard .admin-poster{border-radius:10px}.admin-dashboard .admin-poster-title{font-size:11px}.admin-dashboard .admin-recent-title{font-size:11px}.admin-dashboard .admin-tag{font-size:9px;padding:4px 7px}.admin-dashboard .admin-metric-grid{gap:8px;margin-top:22px}.admin-dashboard .admin-stat-card{min-height:76px;padding:12px;gap:9px;border-radius:13px}.admin-dashboard .admin-stat-icon{width:36px;height:36px;border-radius:11px;font-size:17px}.admin-dashboard .admin-stat-card strong{font-size:20px}.admin-dashboard .admin-stat-card small{font-size:9px}.admin-dashboard .admin-section-card{padding:15px;border-radius:16px}.admin-dashboard .admin-search{min-width:0;width:100%}.admin-dashboard .admin-section-heading:has(.admin-search){display:grid;grid-template-columns:1fr}.admin-dashboard .admin-table-footer{align-items:flex-start;flex-direction:column}.admin-dashboard .admin-form{grid-template-columns:1fr}.admin-dashboard .admin-form .full{grid-column:auto}}
@media(prefers-reduced-motion:reduce){.admin-dashboard *{transition:none!important;animation:none!important}}


/* CLENA TV public experience: clean, guest-first, mobile-first */
.catalog-page{overflow-x:hidden;background:
  radial-gradient(circle at 78% -5%,rgba(91,78,255,.16),transparent 32%),
  linear-gradient(180deg,#05070b 0%,#070a11 42%,#05070b 100%)}
.catalog-page.auth-open{overflow:hidden}
.catalog-page .tv-header{padding:10px 0;min-height:64px;background:rgba(5,7,11,.88);backdrop-filter:blur(18px);border-bottom:1px solid rgba(255,255,255,.07)}
.catalog-page .tv-nav{min-height:44px;gap:16px;flex-wrap:nowrap}
.catalog-page .tv-wordmark{font-size:clamp(18px,1.45vw,24px);letter-spacing:-.035em;font-weight:900;white-space:nowrap}
.catalog-page .tv-wordmark b{color:#6e73ff;font-weight:950}
.catalog-page .tv-wordmark span{display:inline-flex;align-items:baseline;gap:7px}
.catalog-page .nav-links{margin-left:18px;gap:2px}
.catalog-page .nav-links a{font-size:13px;color:#aeb9cb;padding:9px 11px}
.catalog-page .nav-actions{gap:8px;flex-wrap:nowrap}
.catalog-page .auth-entry-btn{min-height:38px;padding:0 14px;border-radius:12px;font-size:12px;white-space:nowrap}
.catalog-page .profile-btn{min-height:38px;border-radius:12px}
.catalog-page .hero{margin-top:16px;min-height:clamp(360px,54vh,610px);border-radius:22px;border-color:rgba(255,255,255,.08);box-shadow:0 24px 80px rgba(0,0,0,.32)}
.catalog-page .hero-content{padding:clamp(26px,4.4vw,58px);width:min(760px,88%)}
.catalog-page .hero h1{font-size:clamp(36px,5.4vw,76px);line-height:.98;margin:10px 0 14px}
.catalog-page .hero p{max-width:620px;font-size:clamp(14px,1.2vw,18px);line-height:1.55;color:#c7d0de}
.catalog-page .hero-actions button{min-height:46px;border-radius:12px;padding:0 18px}
.catalog-page .section{padding-top:28px}
.catalog-page .section-head{margin-bottom:13px}
.catalog-page .section-head h2{font-size:clamp(20px,2vw,29px)}
.catalog-page .content-rail{grid-auto-columns:clamp(145px,14vw,215px);gap:12px;padding-bottom:14px;scrollbar-width:none}
.catalog-page .content-rail::-webkit-scrollbar{display:none}
.catalog-page .content-card{border-radius:14px;border-color:rgba(255,255,255,.08);box-shadow:none;transition:border-color .18s,background .18s}
.catalog-page .content-card:hover,.catalog-page .content-card:focus-visible{transform:none;box-shadow:none;border-color:rgba(112,125,255,.6)}
.catalog-page .content-card img{aspect-ratio:2/3}
.catalog-page .card-overlay{padding:34px 11px 11px}
.catalog-page .card-overlay h3{font-size:13px}
.catalog-page .card-meta{font-size:10px;color:#aeb9c9}
.catalog-page .rail-controls{display:flex;gap:7px;margin-left:auto}
.catalog-page .rail-controls button{min-width:36px;min-height:36px;padding:0;border-radius:10px}
.catalog-page footer .tv-wordmark{font-size:20px}

/* Login/register is an on-demand overlay, never the entry screen */
.catalog-page .auth-screen{position:fixed;inset:0;z-index:500;display:grid;grid-template-columns:minmax(0,1fr) minmax(360px,520px);align-items:center;gap:clamp(24px,5vw,70px);min-height:100dvh;padding:clamp(22px,5vw,72px);background:
  radial-gradient(circle at 20% 10%,rgba(73,116,255,.24),transparent 34%),
  rgba(3,5,9,.96);backdrop-filter:blur(18px);overflow:auto}
.catalog-page .auth-screen.hidden{display:none!important}
.catalog-page .auth-brand{min-height:auto;padding:0;gap:28px;max-width:760px}
.catalog-page .auth-brand .tv-wordmark{font-size:22px}
.catalog-page .auth-brand h1{font-size:clamp(38px,5vw,74px);line-height:.98;margin:20px 0 16px}
.catalog-page .auth-brand p{font-size:clamp(14px,1.25vw,18px);max-width:560px}
.catalog-page .auth-panel{padding:0;background:transparent;backdrop-filter:none}
.catalog-page .auth-card{position:relative;width:min(100%,500px);max-width:none;padding:30px;border-radius:22px;background:rgba(13,19,30,.96);border:1px solid rgba(255,255,255,.1)}
.catalog-page .auth-close{position:absolute;right:13px;top:13px;width:38px;height:38px;border-radius:12px;border:1px solid rgba(255,255,255,.1);background:#151d2b;color:#fff;font-size:23px;line-height:1;cursor:pointer}
.catalog-page .auth-card .field input,.catalog-page .auth-card .field select{font-size:16px}
.catalog-page .entry-card:hover{transform:none}

/* Better full-screen installed-app behavior */
@media(display-mode:standalone){
  .catalog-page .tv-header{padding-top:max(10px,env(safe-area-inset-top))}
  .catalog-page main.shell{padding-bottom:max(24px,env(safe-area-inset-bottom))}
}
@media(max-width:900px){
  .catalog-page .nav-links{display:none}
  .catalog-page .hero{min-height:440px}
  .catalog-page .content-rail{grid-auto-columns:clamp(145px,23vw,190px)}
  .catalog-page .auth-screen{grid-template-columns:1fr;align-content:start;padding:28px 20px}
  .catalog-page .auth-brand{display:none}
  .catalog-page .auth-panel{width:100%;max-width:540px;margin:auto;padding-top:8vh}
}
@media(max-width:600px){
  html{scroll-padding-top:64px}
  .catalog-page .shell{padding-inline:12px}
  .catalog-page .tv-header{min-height:58px;padding:8px 0}
  .catalog-page .tv-nav{gap:8px}
  .catalog-page .tv-wordmark{font-size:16px;letter-spacing:-.025em}
  .catalog-page .tv-wordmark span{gap:5px}
  .catalog-page .nav-actions{gap:5px}
  .catalog-page #searchToggle{display:none}
  .catalog-page .auth-entry-btn{min-height:36px;padding:0 9px;font-size:9px}
  .catalog-page #registerButton{display:inline-flex}
  .catalog-page .profile-btn{max-width:92px;min-height:36px;font-size:11px;padding:0 10px}
  .catalog-page .hero{min-height:360px;margin-top:10px;border-radius:15px}
  .catalog-page .hero-media{background-position:center top}
  .catalog-page .hero::after{background:linear-gradient(0deg,#030508 0%,rgba(3,5,8,.92) 32%,rgba(3,5,8,.35) 72%,rgba(3,5,8,.16))}
  .catalog-page .hero-content{width:100%;padding:20px 16px}
  .catalog-page .hero h1{font-size:clamp(30px,9vw,42px);line-height:1;margin:8px 0 11px}
  .catalog-page .hero p{font-size:13px;line-height:1.5;-webkit-line-clamp:2}
  .catalog-page .hero-meta{margin:10px 0}
  .catalog-page .hero-meta span{padding:5px 7px;font-size:10px}
  .catalog-page .hero-actions{margin-top:14px;gap:7px}
  .catalog-page .hero-actions button{min-height:42px;padding:0 13px;font-size:12px}
  .catalog-page .section{padding-top:22px}
  .catalog-page .section-head{margin-bottom:10px}
  .catalog-page .section-head h2{font-size:19px}
  .catalog-page .section-head .eyebrow{font-size:8px}
  .catalog-page .section-head p{display:none}
  .catalog-page .content-rail{grid-auto-columns:42vw;gap:9px;padding-bottom:10px}
  .catalog-page .content-card{border-radius:11px}
  .catalog-page .card-overlay{padding:28px 8px 8px}
  .catalog-page .card-overlay h3{font-size:11px;margin-bottom:4px}
  .catalog-page .card-meta{font-size:9px}
  .catalog-page .content-card [data-favorite]{display:none}
  .catalog-page .rail-controls{display:none}
  .catalog-page .ad-slot{min-height:76px;margin:18px 0;border-radius:14px}
  .catalog-page footer{padding-top:38px!important}
  .catalog-page .auth-screen{padding:14px;align-items:flex-start}
  .catalog-page .auth-panel{padding-top:max(16px,env(safe-area-inset-top));max-width:none}
  .catalog-page .auth-card{padding:22px 18px 18px;border-radius:18px;max-height:calc(100dvh - 28px);overflow:auto}
  .catalog-page .auth-card h2{font-size:24px}
  .catalog-page .tabs{margin:18px 0}
  .catalog-page .form-grid{grid-template-columns:1fr;gap:11px}
  .catalog-page .field.full{grid-column:auto}
  .catalog-page .preview-dialog{width:calc(100% - 18px);max-height:calc(100dvh - 18px);border-radius:16px}
  .catalog-page .preview-art{aspect-ratio:16/9}
  .catalog-page .preview-body{padding:0 16px 18px}
  .catalog-page .preview-body h2{font-size:23px}
  .catalog-page .preview-body p{font-size:13px;line-height:1.6}
  .catalog-page .preview-buttons button{width:100%}
}
@media(max-width:380px){
  .catalog-page .tv-wordmark{font-size:14px}
  .catalog-page .auth-entry-btn{padding-inline:8px}
  .catalog-page .content-rail{grid-auto-columns:46vw}
  .catalog-page .hero{min-height:335px}
}


/* CLENA TV admin smart import */
.smart-publish-modal{width:min(1120px,100%);max-height:calc(100dvh - 28px);overflow:auto}
.smart-publish-head{align-items:flex-start}.smart-publish-head>div:first-child{max-width:760px}.smart-publish-head h2{margin:4px 0 6px;font-size:clamp(24px,3vw,34px);letter-spacing:-.04em}
.smart-publish-form{display:grid;gap:16px;margin-top:20px}
.smart-step{display:grid;grid-template-columns:44px minmax(0,1fr);gap:14px;padding:18px;border:1px solid #ffffff12;border-radius:18px;background:linear-gradient(145deg,#121a27,#0c121c)}
.smart-step-number{display:grid;place-items:center;width:40px;height:40px;border-radius:13px;background:linear-gradient(135deg,#367cff,#6748ec);font-size:16px;font-weight:900;box-shadow:0 10px 24px #385cff2a}
.smart-step-content{min-width:0}.smart-step-title{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:14px}.smart-step-title b{display:block;font-size:15px}.smart-step-title span:not(.smart-badge){display:block;margin-top:5px;color:#96a6bc;font-size:12px;line-height:1.55}
.smart-badge{display:inline-flex;padding:6px 9px;border-radius:99px;background:#173628;color:#7ce4b4;font-size:9px;font-weight:900;letter-spacing:.08em}
.smart-import-textarea{min-height:220px!important;line-height:1.6;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:13px!important}
.smart-import-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-top:10px}.smart-import-actions .primary-btn{min-height:44px}
.smart-import-result{display:grid;grid-template-columns:90px minmax(0,1fr);gap:14px;align-items:center;margin-top:14px;padding:14px;border:1px solid #ffffff12;border-radius:15px;background:#090f18}
.smart-poster-preview{width:90px;aspect-ratio:2/3;overflow:hidden;border-radius:11px;background:linear-gradient(145deg,#243858,#101827);display:grid;place-items:center;color:#93a7c8;font-size:9px;font-weight:900}.smart-poster-preview img{width:100%;height:100%;object-fit:cover}
.smart-import-summary{min-width:0}.smart-import-summary strong{display:block;font-size:16px}.smart-meta-chips{display:flex;flex-wrap:wrap;gap:6px;margin:9px 0}.smart-meta-chips span{padding:5px 8px;border-radius:99px;background:#1a2434;color:#c9d5e8;font-size:10px;font-weight:700}
.smart-file-drop{display:flex;align-items:center;gap:14px;padding:18px;border:1px dashed #61779a;border-radius:15px;background:#0a111b;cursor:pointer;transition:border-color .18s,background .18s}.smart-file-drop:hover{border-color:#7da2ff;background:#0d1623}.smart-file-drop input{position:absolute;opacity:0;pointer-events:none}.smart-file-icon{display:grid;place-items:center;flex:none;width:46px;height:46px;border-radius:14px;background:linear-gradient(135deg,#367cff,#6748ec);font-size:18px}.smart-file-drop b{display:block;font-size:14px}.smart-file-drop small{display:block;margin-top:5px;color:#93a4bb;font-size:11px}.smart-file-name{margin-top:8px;font-size:11px}
.smart-review{border:1px solid #ffffff12;border-radius:16px;background:#0b111a;overflow:hidden}.smart-review summary{display:flex;justify-content:space-between;gap:16px;align-items:center;padding:15px 17px;cursor:pointer;list-style:none}.smart-review summary::-webkit-details-marker{display:none}.smart-review summary span{font-size:13px;font-weight:850}.smart-review summary small{color:#8f9db2;font-size:10px}.smart-review-grid{padding:0 17px 17px}
.smart-options{display:grid;grid-template-columns:1.1fr repeat(3,minmax(0,1fr));gap:10px}.smart-check{display:flex;align-items:flex-start;gap:9px;padding:12px;border:1px solid #ffffff10;border-radius:14px;background:#0d141f;cursor:pointer}.smart-check input{margin-top:3px}.smart-check b{display:block;font-size:11px}.smart-check small{display:block;margin-top:4px;color:#8f9db2;font-size:9px;line-height:1.35}
.smart-submit{width:100%;min-height:52px;font-size:14px}.smart-progress{margin-top:16px;padding:16px;border:1px solid #ffffff12;border-radius:16px;background:#0b111b}.smart-progress-head{display:flex;justify-content:space-between;gap:10px}.smart-progress .progress-bar{height:10px;margin-top:10px}.smart-progress-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}
@media(max-width:760px){.smart-publish-modal{padding:16px}.smart-publish-head{gap:8px}.smart-publish-head h2{font-size:24px}.smart-step{grid-template-columns:1fr;padding:14px}.smart-step-number{width:34px;height:34px}.smart-step-title{display:grid;gap:8px}.smart-import-textarea{min-height:190px!important}.smart-import-result{grid-template-columns:70px 1fr}.smart-poster-preview{width:70px}.smart-options{grid-template-columns:1fr}.smart-review summary{align-items:flex-start;flex-direction:column;gap:4px}}


/* CLENA TV admin light theme */
.admin-light{
  --admin-bg:#f6f8fc;
  --admin-panel:#ffffff;
  --admin-panel-soft:#f9fbff;
  --admin-line:#e4e9f2;
  --admin-text:#172033;
  --admin-muted:#72809a;
  --admin-brand:#4f67ff;
  --admin-brand-2:#7358f3;
  background:var(--admin-bg)!important;
  color:var(--admin-text)!important;
}
.admin-light .admin-nav{
  position:sticky;top:0;z-index:40;
  padding:10px 0!important;
  background:rgba(255,255,255,.94)!important;
  border-bottom:1px solid var(--admin-line)!important;
  backdrop-filter:blur(16px);
}
.admin-light .tv-nav{min-height:52px}
.admin-light .admin-light-brand{
  color:#172033!important;text-decoration:none;font-size:20px;font-weight:950;letter-spacing:-.035em
}
.admin-light .admin-light-brand span{display:grid;gap:2px}
.admin-light .admin-light-brand b{color:var(--admin-brand)}
.admin-light .admin-light-brand small{font-size:8px;letter-spacing:.14em;color:#8d99ad;font-weight:850}
.admin-light .admin-main{padding:24px 0 60px!important}
.admin-light .admin-page-title{margin:4px 0 2px;font-size:clamp(28px,3vw,40px);line-height:1;letter-spacing:-.05em}
.admin-light .eyebrow{color:#6d79a0}
.admin-light .muted{color:var(--admin-muted)!important}
.admin-light .section-head{gap:16px}
.admin-light .metric-grid{
  grid-template-columns:repeat(5,minmax(0,1fr));
  gap:10px;
  margin-top:18px
}
.admin-light .metric{
  padding:15px 16px!important;
  border:1px solid var(--admin-line)!important;
  background:var(--admin-panel)!important;
  border-radius:15px!important;
  box-shadow:0 5px 16px rgba(28,41,74,.04)
}
.admin-light .metric span{color:#7c879c!important;font-size:11px!important}
.admin-light .metric strong{color:#172033;font-size:23px!important;margin-top:4px!important}
.admin-light .admin-grid{
  grid-template-columns:minmax(0,1.45fr) minmax(280px,.55fr);
  gap:14px!important;
  margin-top:14px!important
}
.admin-light .panel{
  border:1px solid var(--admin-line)!important;
  background:var(--admin-panel)!important;
  color:var(--admin-text)!important;
  border-radius:17px!important;
  padding:18px!important;
  box-shadow:0 6px 18px rgba(34,50,86,.04)
}
.admin-light .panel h2,.admin-light .panel h3{color:#172033}
.admin-light .auth-point{
  border:1px solid var(--admin-line)!important;
  background:var(--admin-panel-soft)!important;
  color:#172033!important;
  border-radius:13px!important;
  padding:12px!important
}
.admin-light .auth-point span{color:#7a879e!important}
.admin-light .table-wrap{
  border:1px solid var(--admin-line)!important;
  border-radius:13px!important;
  background:#fff
}
.admin-light .tv-table{min-width:720px;background:#fff}
.admin-light .tv-table th{
  background:#f7f9fd;
  color:#7d89a0!important;
  font-size:10px!important;
  border-bottom:1px solid var(--admin-line)!important
}
.admin-light .tv-table td{
  color:#27324a!important;
  border-bottom:1px solid #edf1f6!important;
  font-size:12px!important
}
.admin-light .tv-table tr:last-child td{border-bottom:0!important}
.admin-light .search-wrap input,
.admin-light .field input,
.admin-light .field select,
.admin-light .field textarea{
  background:#fff!important;
  color:#172033!important;
  border:1px solid #dfe5ef!important;
  box-shadow:none!important
}
.admin-light .search-wrap input:focus,
.admin-light .field input:focus,
.admin-light .field select:focus,
.admin-light .field textarea:focus{
  border-color:#7585ff!important;
  box-shadow:0 0 0 3px rgba(89,104,255,.09)!important
}
.admin-light .field label{color:#536079!important}
.admin-light .primary-btn{
  background:linear-gradient(115deg,var(--admin-brand),var(--admin-brand-2))!important;
  border:0!important;
  color:white!important;
  box-shadow:0 6px 16px rgba(79,103,255,.18)
}
.admin-light .ghost-btn{
  background:#fff!important;
  color:#33405a!important;
  border:1px solid #dfe5ef!important;
  box-shadow:none!important
}
.admin-light .ghost-btn:hover{background:#f6f8fc!important}
.admin-light .status{
  background:#eef2f8!important;
  color:#60708c!important
}
.admin-light .status.ready,.admin-light .status.published{
  background:#e9f8f0!important;
  color:#188658!important
}
.admin-light .status.draft{
  background:#f2f4f8!important;color:#69778e!important
}
.admin-light .modal{
  background:rgba(28,36,52,.28)!important;
  backdrop-filter:blur(8px)
}
.admin-light .modal-card{
  background:#fff!important;
  color:#172033!important;
  border:1px solid #dfe5ef!important;
  border-radius:18px!important;
  box-shadow:0 24px 70px rgba(33,46,76,.18)!important
}
.admin-light .smart-step{
  border:1px solid #e3e8f1!important;
  background:#fbfcff!important
}
.admin-light .smart-step-title span:not(.smart-badge),
.admin-light .smart-file-drop small,
.admin-light .smart-check small,
.admin-light .smart-review summary small{color:#7f8ba0!important}
.admin-light .smart-badge{
  background:#eaf8f0!important;color:#22875d!important
}
.admin-light .smart-import-result,
.admin-light .smart-review,
.admin-light .smart-check,
.admin-light .smart-progress{
  background:#fff!important;border-color:#e2e7f0!important
}
.admin-light .smart-meta-chips span{
  background:#eef2f8!important;color:#5b6780!important
}
.admin-light .smart-file-drop{
  background:#fbfcff!important;
  border-color:#b8c2d3!important;
  color:#26324a!important
}
.admin-light .smart-file-drop:hover{background:#f6f8ff!important;border-color:#7f90ff!important}
.admin-light .smart-poster-preview{
  background:#edf2fa!important;color:#7d8ca4!important
}
.admin-light .smart-review summary{color:#27324a}
.admin-light .smart-check b{color:#27324a}
.admin-light .form-msg.error{color:#c7354f!important}
.admin-light .form-msg.ok{color:#168a5d!important}
.admin-light #adminGate{
  background:#fff!important;
  border:1px solid var(--admin-line)!important;
  border-radius:18px!important;
  color:#172033!important;
  padding:30px!important;
  min-height:180px
}
.admin-light #adminGate p{color:#7a879d!important}
.admin-light .nav-actions{gap:7px}
.admin-light .nav-actions .ghost-btn{min-height:40px;padding-inline:13px}
@media(max-width:1100px){
  .admin-light .metric-grid{grid-template-columns:repeat(3,1fr)}
  .admin-light .admin-grid{grid-template-columns:1fr}
}
@media(max-width:720px){
  .admin-light .shell{padding-inline:12px}
  .admin-light .admin-main{padding-top:16px!important}
  .admin-light .section-head{align-items:flex-start;flex-wrap:wrap}
  .admin-light .section-head .spacer{display:none}
  .admin-light .section-head>.primary-btn{width:100%}
  .admin-light .metric-grid{grid-template-columns:1fr 1fr;gap:8px}
  .admin-light .metric{padding:12px!important;border-radius:12px!important}
  .admin-light .metric strong{font-size:20px!important}
  .admin-light .panel{padding:14px!important;border-radius:14px!important}
  .admin-light .admin-grid{gap:10px!important;margin-top:10px!important}
  .admin-light .tv-nav{gap:8px}
  .admin-light .admin-light-brand{font-size:17px}
  .admin-light .nav-actions .ghost-btn{font-size:11px;min-height:36px;padding-inline:9px}
  .admin-light .smart-publish-modal{max-height:calc(100dvh - 12px);padding:14px!important}
}


/* Smart poster controls */
.admin-light .smart-cover-box{
  margin-top:14px;
  padding:14px;
  border:1px solid #e2e7f0;
  border-radius:14px;
  background:#fff;
}
.admin-light .smart-cover-box>div:first-child b{display:block;font-size:13px;color:#26324a}
.admin-light .smart-cover-box>div:first-child span{display:block;margin-top:4px;font-size:11px;line-height:1.55;color:#7f8ba0}
.smart-cover-controls{display:grid;grid-template-columns:minmax(0,1fr) 220px;gap:10px;align-items:end;margin-top:12px}
.smart-cover-file{
  position:relative;
  display:flex;
  flex-direction:column;
  justify-content:center;
  min-height:50px;
  padding:9px 12px;
  border:1px dashed #b9c3d4;
  border-radius:12px;
  background:#f8faff;
  cursor:pointer
}
.smart-cover-file input{position:absolute;opacity:0;pointer-events:none}
.smart-cover-file span{font-size:11px;font-weight:800;color:#34415a}
.smart-cover-file small{margin-top:3px;font-size:9px;color:#8390a5}
.smart-cover-file:hover{border-color:#7f90ff;background:#f4f6ff}
@media(max-width:720px){
  .smart-cover-controls{grid-template-columns:1fr}
}

/* Full-width desktop experience for public CLENA TV only */
@media(min-width:1024px){
 body.catalog-page #appShell{width:100%;max-width:none}
 body.catalog-page .shell{width:100%!important;max-width:none!important;padding-inline:clamp(22px,2.7vw,68px)!important}
 body.catalog-page .tv-header .tv-nav{width:100%!important;max-width:none!important}
 body.catalog-page #inicio{width:100%!important;max-width:none!important}
 body.catalog-page .hero{width:100%;min-height:clamp(480px,65vh,850px);margin-top:12px;border-radius:24px}
 body.catalog-page .hero-content{width:min(960px,70%);padding:clamp(42px,5.4vw,100px)}
 body.catalog-page .hero h1{font-size:clamp(52px,4.4vw,92px)}
 body.catalog-page .content-rail{grid-auto-columns:clamp(190px,14.3vw,285px);gap:18px}
 body.catalog-page .section{width:100%}
}
@media(min-width:1600px){
 body.catalog-page .shell{padding-inline:clamp(35px,3vw,90px)!important}
 body.catalog-page .hero{min-height:70vh}
 body.catalog-page .content-rail{grid-auto-columns:clamp(210px,13.3vw,310px)}
}

/* Persistent top-bar search and readable desktop category links */
.catalog-page .nav-links a{font-size:clamp(16px,1.06vw,20px)!important;font-weight:750;padding:12px 16px!important}
.catalog-page .tv-header .tv-nav{gap:clamp(12px,1.25vw,25px)}
.catalog-page .nav-actions{margin-left:auto;display:flex;align-items:center;gap:12px}
.catalog-page .tv-header-search{display:flex;align-items:center;gap:10px;width:clamp(230px,20vw,390px);min-height:46px;padding:0 15px;border:1px solid #263044;background:#111824;color:#aab8cf;border-radius:13px;transition:border-color .2s,box-shadow .2s}
.catalog-page .tv-header-search:focus-within{border-color:#638fff;box-shadow:0 0 0 3px #4f8cff26}
.catalog-page .tv-header-search span{font-size:25px;line-height:1}
.catalog-page .tv-header-search input{min-width:0;width:100%;background:transparent;color:#f7f9fc;font-size:15px;border:0;outline:0;padding:11px 0}
.catalog-page .tv-header-search input::placeholder{color:#8b9ab0}
.catalog-page #searchToggle{display:none!important}
@media(max-width:1100px){.catalog-page .nav-links a{font-size:15px!important;padding:11px 9px!important}.catalog-page .tv-header-search{width:clamp(170px,26vw,290px)}}
@media(max-width:760px){.catalog-page .tv-header .tv-nav{flex-wrap:wrap}.catalog-page .nav-links{order:3;width:100%;display:flex!important;gap:4px}.catalog-page .nav-links a{font-size:14px!important;padding:10px 8px!important}.catalog-page .nav-actions{margin-left:auto;max-width:none;gap:7px;flex:1;justify-content:flex-end}.catalog-page .tv-header-search{width:auto;flex:1;min-width:100px;min-height:42px;padding:0 10px}.catalog-page .tv-header-search input{font-size:14px;padding:8px 0}.catalog-page .tv-header-search span{font-size:20px}.catalog-page .profile-btn{max-width:98px}.catalog-page .tv-header-search input::placeholder{font-size:12px}}

/* Mobile layout restored: flexible header and contained horizontal rails */
@media(max-width:760px){
 body.catalog-page,body.player-shell{max-width:100%;overflow-x:hidden}
 body.catalog-page .tv-header .tv-nav{display:flex!important;flex-wrap:wrap!important;align-items:center!important;gap:9px!important}
 body.catalog-page .tv-header .tv-nav>.brand{flex:0 0 auto;min-width:0;max-width:50%}
 body.catalog-page .tv-header .nav-actions{flex:1 1 auto;min-width:0;max-width:none;margin-left:auto;justify-content:flex-end}
 body.catalog-page .tv-header .nav-links{display:flex!important;flex:0 0 100%;order:3;width:100%;min-width:0;overflow-x:auto;gap:4px;scrollbar-width:none}
 body.catalog-page .tv-header .nav-links a{flex:1 0 auto;white-space:nowrap;font-size:clamp(12px,3.2vw,15px)!important;padding:9px 7px!important}
 body.catalog-page .tv-header-search{min-width:0;flex:1 1 110px}
 body.catalog-page .content-rail,body.catalog-page .tv-genre-chips{max-width:100%;overflow-x:auto}
 body.player-shell .player-stage,body.player-shell mux-player{max-width:100%;width:100%}
}
/* CLENA TV horizontal genres, isolated from administrative pages */
.catalog-page .tv-genre-selector{margin:clamp(20px,2.5vw,38px) 0 8px;min-width:0}
.catalog-page .tv-genre-heading{display:flex;gap:12px 20px;align-items:baseline;flex-wrap:wrap;margin-bottom:15px}
.catalog-page .tv-genre-heading strong{font-size:clamp(19px,1.65vw,27px);letter-spacing:-.03em}
.catalog-page .tv-genre-chips{display:flex;align-items:center;gap:10px;overflow-x:auto;max-width:100%;padding:5px 2px 16px;scrollbar-width:thin;scroll-snap-type:x proximity;-webkit-overflow-scrolling:touch}
.catalog-page .tv-genre-chip{appearance:none;border:1px solid #2c374b;background:#121925;color:#d8e0ee;border-radius:999px;white-space:nowrap;flex:0 0 auto;scroll-snap-align:start;padding:12px 22px;min-height:48px;font-size:clamp(15px,1vw,18px);font-weight:750;cursor:pointer;transition:background .18s,border-color .18s,transform .18s}
.catalog-page .tv-genre-chip:hover{border-color:#749cff;background:#1c2941}
.catalog-page .tv-genre-chip:focus-visible{outline:3px solid #9eb8ff;outline-offset:3px}
.catalog-page .tv-genre-chip.active{background:linear-gradient(110deg,#4f8cff,#745af0);border-color:transparent;color:white}
.catalog-page #genreResultsSection{scroll-margin-top:120px}
@media(max-width:760px){.catalog-page .tv-genre-heading{gap:4px}.catalog-page .tv-genre-heading strong{font-size:20px}.catalog-page .tv-genre-chips{gap:8px;padding-bottom:13px}.catalog-page .tv-genre-chip{padding:10px 17px;min-height:44px;font-size:15px}}

/* Scroll sideways without visible scrollbars (TV only) */
.catalog-page .content-rail,.catalog-page .tv-genre-chips,.catalog-page .nav-links,.catalog-page .entry-rail,.catalog-page .admin-recent-rail{scrollbar-width:none!important;-ms-overflow-style:none!important}
.catalog-page .content-rail::-webkit-scrollbar,.catalog-page .tv-genre-chips::-webkit-scrollbar,.catalog-page .nav-links::-webkit-scrollbar,.catalog-page .entry-rail::-webkit-scrollbar{display:none!important;width:0!important;height:0!important}

/* Responsive CLENA.COM.BR TV identity and clean sign-in header */
.catalog-page .tv-brand-name,.player-shell .tv-brand-name{display:inline-flex;align-items:baseline;gap:7px;white-space:nowrap;font-weight:850;letter-spacing:-.045em;font-size:clamp(19px,1.8vw,29px);line-height:1.1}
.catalog-page .tv-brand-name b,.player-shell .tv-brand-name b{color:#7fa8ff;font-weight:900;letter-spacing:-.02em}
.catalog-page .tv-header-search,.catalog-page #searchToggle{display:none!important}
.catalog-page .tv-header .nav-actions{gap:10px}
.catalog-page .tv-header .auth-entry-btn{font-size:16px;min-height:46px;padding:11px 20px;white-space:nowrap;font-weight:750}
@media(max-width:760px){
 .catalog-page .tv-header .tv-nav{display:grid!important;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px 8px!important}
 .catalog-page .tv-header .tv-nav>.brand{grid-column:1;min-width:0;max-width:100%;justify-self:start}
 .catalog-page .tv-brand-name{font-size:clamp(17px,4.7vw,22px);gap:4px;letter-spacing:-.04em}
 .catalog-page .tv-header .nav-actions{grid-column:2;display:flex!important;align-items:center;justify-content:flex-end;flex:0 0 auto;gap:7px;margin:0;max-width:100%}
 .catalog-page .tv-header .auth-entry-btn{font-size:15px!important;min-height:44px;min-width:76px;padding:9px 12px!important;border-radius:11px}
 .catalog-page .tv-header .nav-links{grid-column:1 / -1;order:unset;display:flex!important;min-width:0;width:100%;overflow-x:auto;white-space:nowrap;gap:8px}
 .catalog-page .tv-header .nav-links a{font-size:15px!important;flex:0 0 auto;padding:10px 13px!important}
 .catalog-page .tv-header #profileButton{max-width:130px;min-height:44px}
}
@media(max-width:420px){
 .catalog-page .tv-header .tv-nav{grid-template-columns:1fr;gap:11px!important}
 .catalog-page .tv-header .tv-nav>.brand{grid-column:1}
 .catalog-page .tv-header .nav-actions{grid-column:1;width:100%;justify-content:stretch}
 .catalog-page .tv-header .auth-entry-btn{flex:1 1 0;min-height:48px;font-size:16px!important}
 .catalog-page .tv-header #profileButton{width:100%;max-width:none}
 .catalog-page .tv-header .nav-links{grid-column:1}
}
