/* 📺 تلویزیون هنر مردمی */
.tv{--tv:#B3261E;background:#0d1020;color:#EDEBF5;padding-bottom:40px}
.tv-top{background:radial-gradient(ellipse at 15% 0,color-mix(in srgb,var(--tv) 45%,transparent),transparent 60%),radial-gradient(ellipse at 90% 10%,rgba(226,176,74,.18),transparent 55%),linear-gradient(180deg,#151a2e,#0d1020);padding:26px 0 30px}
.tv-brand{display:flex;align-items:center;gap:14px;margin-bottom:18px}
.tv-logo{width:58px;height:58px;border-radius:18px;display:grid;place-items:center;font-size:30px;background:var(--tv);box-shadow:0 8px 24px color-mix(in srgb,var(--tv) 50%,transparent);overflow:hidden}
.tv-logo img{width:100%;height:100%;object-fit:contain}
.tv-brand h1{color:#fff;margin:0;font-size:28px}
.tv-brand p{margin:2px 0 0;opacity:.75}
.tv-clock{margin-inline-start:auto;font:400 26px Lalezar,Vazirmatn;color:#F3D27A;background:rgba(255,255,255,.06);padding:6px 16px;border-radius:14px}
.tv-grid{display:grid;grid-template-columns:minmax(0,1fr) 330px;gap:18px;align-items:start}
.tv-screen{background:#000;border-radius:22px;overflow:hidden;box-shadow:0 24px 60px rgba(0,0,0,.55),0 0 0 1px rgba(255,255,255,.06)}
.tv-frame{position:relative;aspect-ratio:16/9;background:#000}
.tv-frame iframe,.tv-frame video{position:absolute;inset:0;width:100%;height:100%;border:0;background:#000}
.tv-off{position:absolute;inset:0;display:grid;place-content:center;justify-items:center;gap:8px;color:#aaa}
.tv-off span{font-size:56px}
.tv-bar{display:flex;align-items:center;gap:10px;padding:10px 14px;background:#151a2e}
.tv-badge{flex:none;background:#2b2f55;color:#fff;font-size:12px;font-weight:800;border-radius:8px;padding:3px 9px}
.tv-badge.live{background:#e53935;animation:tvb 1.4s infinite}
@keyframes tvb{50%{opacity:.55}}
#tv-now{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#fff}
.tv-btn{border:0;border-radius:10px;padding:7px 11px;background:rgba(255,255,255,.08);color:#fff;cursor:pointer;font:600 13px Vazirmatn,Tahoma}
.tv-btn:hover{background:rgba(255,255,255,.16)}
#tv-snd{background:#E2B04A;color:#2b1d05}
.tv-prog{height:4px;background:#22263d}
.tv-prog i{display:block;height:100%;width:0;background:linear-gradient(90deg,var(--tv),#E2B04A);transition:width 1s linear}
.tv-screen:fullscreen{border-radius:0;display:flex;flex-direction:column}
.tv-screen:fullscreen .tv-frame{flex:1;aspect-ratio:auto}
.tv-side{background:#151a2e;border-radius:22px;padding:14px 16px;max-height:620px;overflow:auto;border:1px solid rgba(255,255,255,.06)}
.tv-side h3{color:#F3D27A;font-size:15px;margin:6px 0 10px}
.tv-sched{list-style:none;margin:0 0 14px;padding:0;display:flex;flex-direction:column;gap:6px}
.tv-sched li{display:grid;grid-template-columns:58px 1fr;gap:0 10px;padding:8px 10px;border-radius:12px;background:rgba(255,255,255,.03)}
.tv-sched li.on{background:color-mix(in srgb,var(--tv) 35%,transparent);box-shadow:inset -4px 0 0 var(--tv)}
.tv-sched b{grid-row:span 2;font:400 18px Lalezar,Vazirmatn;color:#F3D27A}
.tv-sched span{font-weight:600;color:#fff;font-size:13.5px}
.tv-sched small{opacity:.6;font-size:11.5px}
.tv-lives{display:flex;flex-direction:column;gap:8px}
.tv-live-i{display:block;padding:10px 12px;border-radius:14px;background:rgba(229,57,53,.12);border:1px solid rgba(229,57,53,.3);color:#fff;text-decoration:none}
.tv-live-i b{display:block}
.tv-live-i small{opacity:.75}
.tv-live-i .rv-cd span{background:rgba(255,255,255,.08);min-width:44px}
.tv-live-i .rv-cd b{font-size:17px;color:#fff}
.tv-more{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:14px;margin-top:22px}
.tv-card{display:flex;flex-direction:column;gap:4px;padding:16px 18px;border-radius:20px;background:#151a2e;color:#fff;text-decoration:none;border:1px solid rgba(255,255,255,.06);transition:transform .2s}
.tv-card:hover{transform:translateY(-3px)}
.tv-card span{font-size:30px}
.tv-card small{opacity:.7}
body.hb-tv-page{background:#0d1020}
@media (max-width:900px){.tv-grid{grid-template-columns:1fr}.tv-side{max-height:none}.tv-brand h1{font-size:21px}.tv-clock{font-size:19px}.tv-screen{border-radius:16px}}
/* out33: پخش پیوسته بدون جدول */
.tv-grid{grid-template-columns:minmax(0,1fr)!important;max-width:1100px;margin-inline:auto}
.tv-upnext{display:flex;align-items:center;gap:10px;margin-top:10px;padding:10px 14px;border-radius:14px;background:rgba(255,255,255,.05);color:#e9e9f2;font-size:13.5px}
.tv-upnext em{font-style:normal;color:#F3D27A;font-weight:700;white-space:nowrap}
.tv-upnext span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}
.tv-upnext button{margin-inline-start:auto;border:0;border-radius:10px;padding:6px 12px;background:rgba(255,255,255,.12);color:#fff;font:inherit;cursor:pointer;white-space:nowrap}
.tv-lives-row{max-width:1100px;margin:18px auto 0}.tv-lives-row h3{color:#F3D27A;font-size:15px;margin:0 0 10px}
.tv-lives-row .tv-lives{flex-direction:row;flex-wrap:wrap}.tv-lives-row .tv-live-i{flex:1 1 240px}
.tv-badge.live{animation:tvblink 1.2s infinite}@keyframes tvblink{50%{opacity:.55}}
.rv-cd>div{direction:ltr}
