/* Redesign v3 /live page (FM-1688 W2): the design's live rules (design/assets/css/pages.css, home.css) that v3.css does not already carry, scoped under .v3. */
[dir="rtl"] .v3 .count{justify-content:flex-end}
:lang(en) .v3 .answer{line-height:1.65}
:lang(en) .v3 .feature h3{line-height:1.15}
[data-theme="dark"] .v3 .how li:nth-child(2){background:#F4F2EC;color:#0B1429;--ink-2:#39425A}
.v3 .lhero{background:#0B1429;color:#F4F2EC;overflow:clip;position:relative}
.v3 .lhero .wrap{display:grid;grid-template-columns:minmax(0,7fr) minmax(0,5fr);gap:clamp(24px,5vw,80px);align-items:center;padding-block:clamp(28px,3.4vw,52px)}
.v3 .lstate{display:inline-flex;align-items:center;gap:12px;font-family:var(--display);font-weight:800;font-size:1rem;padding:9px 14px;background:rgba(244,242,236,.1)}
.v3[data-live="on"] .lstate{background:var(--live);color:#fff}
.v3[data-live="on"] .lstate .dot-live{background:#fff;animation:none}
.v3 .lhero h1{font-size:clamp(2.75rem,5.5vw,5rem);font-weight:1000;line-height:1.25;margin-top:18px}
:lang(en) .v3 .lhero h1{line-height:.98;letter-spacing:-.035em}
.v3 .lhero h1 em{font-style:normal;color:var(--orange)}
.v3 .lhero .lede{color:#C3C8D4;margin-top:20px}
.v3 .lpanel{margin-top:26px;display:none;gap:16px}
.v3[data-live="idle"] .lpanel[data-state="idle"],.v3[data-live="scheduled"] .lpanel[data-state="scheduled"],.v3[data-live="on"] .lpanel[data-state="on"],.v3[data-live="ended"] .lpanel[data-state="ended"]{display:grid}
.v3 .lpanel .when{font-family:var(--display);font-weight:900;font-size:clamp(1.375rem,2.2vw,1.875rem);line-height:1.4}
.v3 .lpanel .count div{min-width:clamp(72px,7.4vw,104px);padding:16px 8px 12px}
.v3 .lpanel .count b{font-size:clamp(2.5rem,4.6vw,4rem)}
.v3 .lpanel .onair-actions .btn{min-height:60px;padding:0 30px;font-size:1.125rem}
.v3 .lhero .btn--ghost{--f:#F4F2EC;--s:#F4F2EC;box-shadow:inset 0 0 0 2px #F4F2EC}
.v3 .lhero .btn--ghost:hover{box-shadow:inset 0 0 0 2px #F4F2EC,4px 4px 0 #F4F2EC}
.v3 .lpanel small{font-size:var(--fs-sm);color:#97A0B4;line-height:1.6}
.v3 .lframe{position:relative;justify-self:center;width:min(100%,348px)}
.v3 .lframe .phone{width:100%}
.v3 .lframe .screen{position:relative}
.v3 .lframe .screen img{width:100%;height:100%;object-fit:cover;display:block}
.v3 .lui{position:absolute;inset:0;display:flex;flex-direction:column;justify-content:space-between;padding:13% 5% 6%;color:#fff;pointer-events:none;font-size:clamp(10px,1vw,13px)}
.v3 .lui-top{display:flex;justify-content:space-between;align-items:center;gap:8px}
.v3 .lui-badge{display:inline-flex;align-items:center;gap:6px;background:rgba(11,20,41,.72);padding:6px 10px;font-family:var(--display);font-weight:800;line-height:1}
.v3[data-live="on"] .lui-badge{background:var(--live)}
.v3 .lui-badge i{width:7px;height:7px;background:var(--gold)}
.v3[data-live="on"] .lui-badge i{background:#fff}
.v3[data-live="ended"] .lframe .screen img{filter:grayscale(1) brightness(.55)}
.v3 .lended{position:absolute;inset:0;display:none;place-items:center;text-align:center;color:#fff;font-family:var(--display);font-weight:900;font-size:clamp(1.25rem,2vw,1.75rem);line-height:1.4;padding:10%}
.v3[data-live="ended"] .lended{display:grid}
.v3[data-live="ended"] .lui,.v3[data-live="idle"] .lui-chat,.v3[data-live="scheduled"] .lui-chat{display:none}
.v3 .lcube{position:absolute;width:clamp(56px,7vw,104px);aspect-ratio:1;z-index:2}
.v3 .lcube.a{top:-4%;inset-inline-end:-17%}
.v3 .lcube.b{bottom:9%;inset-inline-start:-15%;width:clamp(72px,9vw,132px)}
.v3 .channels{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:var(--gutter)}
.v3 .chan{background:var(--paper);padding:22px;display:flex;flex-direction:column;gap:10px;min-height:214px;position:relative;border-top:6px solid var(--ink)}
.v3 .chan:nth-child(2){border-top-color:var(--orange)}
.v3 .chan:nth-child(3){border-top-color:#00A0A8}
.v3 .chan:nth-child(4){border-top-color:var(--gold)}
.v3 .chan svg{width:28px;height:28px}
.v3 .chan b{font-family:var(--display);font-weight:900;font-size:1.25rem;line-height:1.35}
.v3 .chan p{font-size:var(--fs-sm);color:var(--ink-2);line-height:1.65}
.v3 .chan .btn{margin-top:auto;align-self:flex-start}
.v3 .chan small{font-size:var(--fs-xs);color:var(--ink-3);line-height:1.5}
.v3 .how{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:var(--gutter)}
.v3 .how li{background:var(--paper-2);padding:clamp(22px,2.6vw,36px);display:flex;flex-direction:column;gap:12px;min-height:240px}
.v3 .how li:nth-child(2){background:#0B1429;color:#F4F2EC;--ink-2:#C3C8D4;margin-top:clamp(0px,2.2vw,32px);margin-bottom:calc(-1*clamp(0px,2.2vw,32px))}
.v3 .how li:nth-child(3){background:var(--orange);color:#0B1429;--ink-2:#1E2740}
.v3 .how b{font-family:var(--display);font-weight:1000;font-size:3.25rem;line-height:1}
.v3 .how h3{font-size:1.5rem;font-weight:900}
.v3 .how p{font-size:1rem;color:var(--ink-2);line-height:1.75;margin-top:auto}
.v3 .wall{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:16px}
.v3 .adam-sec .wrap{display:grid;grid-template-columns:minmax(0,4fr) minmax(0,8fr);gap:clamp(24px,5vw,80px);align-items:center}
.v3 .adam-pic{aspect-ratio:1;background:var(--orange);overflow:hidden;position:relative}
.v3 .adam-pic img{width:100%;height:100%;object-fit:cover}
.v3 .adam-pic span{position:absolute;inset-inline-start:14px;bottom:14px;background:#0B1429;color:#F4F2EC;font-family:var(--display);font-weight:800;font-size:.875rem;padding:7px 11px;line-height:1}
.v3 .sheet-in{padding:clamp(22px,3vw,32px);display:grid;gap:16px}
.v3 .sheet h2{font-size:1.75rem;line-height:1.35}
.v3 .sheet p{color:var(--ink-2);font-size:1rem;line-height:1.7}
.v3 .sheet-opts{display:grid;gap:8px}
.v3 .sheet-opts label{display:flex;align-items:center;gap:14px;padding:14px 16px;background:var(--paper-2);cursor:pointer;font-family:var(--display);font-weight:800;line-height:1.35}
.v3 .sheet-opts label small{display:block;font-family:var(--text);font-weight:400;font-size:var(--fs-xs);color:var(--ink-3)}
.v3 .sheet-opts input{appearance:none;width:22px;height:22px;box-shadow:inset 0 0 0 2px var(--ink);flex:none;display:grid;place-items:center;margin:0}
.v3 .sheet-opts input:checked{background:var(--orange)}
.v3 .sheet-opts input:checked::after{content:"";width:10px;height:10px;background:var(--ink)}
.v3 .sheet-acts{display:flex;gap:10px;flex-wrap:wrap}
@media (max-width:1000px){
.v3 .lhero .wrap{grid-template-columns:minmax(0,1fr)}
.v3 .lframe{width:min(74%,320px)}
.v3 .channels{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.v3 .chan{min-height:0;padding:18px}
.v3 .how{grid-template-columns:minmax(0,1fr)}
.v3 .how li{min-height:0}
.v3 .how li:nth-child(2){margin-block:0}
.v3 .wall{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.v3 .adam-sec .wrap{grid-template-columns:minmax(0,1fr)}
.v3 .adam-pic{max-width:260px}
.v3 .lpanel .onair-actions .btn{flex:1 1 auto;padding:0 20px}
}
@media (max-width:480px){
.v3 .channels{grid-template-columns:minmax(0,1fr)}
}

/* ---- what the real page adds to the design's prototype: the announced live in the panel, the reminder form, the list of past lives ---- */
.v3 .lpanel .ltitle{font-family:var(--display);font-size:1.0625rem;line-height:1.6;display:flex;flex-wrap:wrap;gap:4px 14px;align-items:baseline}
.v3 .lpanel .ltitle time{font-family:var(--text);font-size:var(--fs-sm);opacity:.8}
.v3 .sheet-field{display:grid;gap:8px;margin-top:18px;font-family:var(--display);font-weight:800;font-size:var(--fs-sm)}
.v3 .sheet-field input{font:inherit;font-weight:500;padding:14px 16px;border:2px solid var(--ink);background:var(--paper);color:var(--ink);min-height:52px;border-radius:0;width:100%}
.v3 .sheet-field input:focus-visible{outline:3px solid var(--orange);outline-offset:2px}
.v3 .sheet-hint{margin-top:10px;font-size:var(--fs-xs);color:var(--ink-3);line-height:1.6}
.v3 .sheet-msg{margin-top:12px;padding:12px 14px;background:var(--paper-2);border-inline-start:4px solid var(--orange);font-size:var(--fs-sm)}
.v3 .sheet-msg[data-kind="ok"]{border-inline-start-color:var(--ok)}
.v3 .sheet-msg[data-kind="error"]{border-inline-start-color:var(--live)}
.v3 .sheet-links{display:flex;flex-wrap:wrap;gap:6px 18px;margin-top:14px;font-size:var(--fs-sm)}
.v3 .sheet-links a{text-decoration:underline;text-underline-offset:4px}
.v3 .plist{display:grid;border-top:2px solid var(--ink)}
.v3 .plist li{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:18px 0;border-bottom:1px solid var(--line)}
.v3 .plist b{display:block;font-family:var(--display);font-weight:800;font-size:1.125rem}
.v3 .plist time{font-size:var(--fs-sm);color:var(--ink-3)}
@media (max-width:640px){.v3 .plist li{flex-direction:column;align-items:flex-start}}
/* the dialog box itself (the design's `dialog.sheet`: a selector the class-based extraction above does not see) */
.v3 dialog.sheet{border:0;padding:0;width:min(92vw,520px);background:var(--paper);color:var(--ink);box-shadow:10px 10px 0 var(--orange);max-height:92vh;overflow:auto}
.v3 dialog.sheet::backdrop{background:rgba(11,20,41,.6)}
