/* TVs and Boards screen. Rides on body.home (dark purple shell, floating nav) and adds body.tvs. */
body.tvs .homehero.tvhero {
    min-height: 168px; padding-bottom: 20px;
    background: #1a1919 url(img/home-hero.webp) right center / cover no-repeat
}
.tvhero .hlg { height: 52px }
.tvttl { min-width: 0 }
.tvttl h1 { display: block; margin: 0; font: 800 28px/1.1 var(--sans); color: #ffffff; letter-spacing: -.01em }
.tvttl h1 em { font-style: normal; color: #dfbe72 }
.tvttl p { margin: 6px 0 0; font-size: 13.5px; line-height: 1.3; color: #f0efeb; max-width: 220px }
.tvhero .hbr { align-self: flex-start; max-width: 46%; min-height: 42px; padding: 0 12px; font-size: 14px }
.tvhero .hbr .ic { width: 20px; height: 20px; flex: none }
.tvhero .hbr select { max-width: 30vw }

/* light sheet, overlaps the header */
body.tvs .tvsheet {
    margin-top: -22px; padding: 14px 12px 20px; position: relative; border-radius: 28px 28px 0 0;
    background: linear-gradient(180deg, #f9f8f6, #f0f0ec)
}
.tvinfo {
    display: flex; align-items: center; gap: 14px; padding: 14px 16px; margin-bottom: 14px; border-radius: 18px;
    background: #f2f2ee; border: 1px solid #dddcd7; color: #1f1e1e
}
.tvinfo .ic { flex: none; width: 34px; height: 34px; color: #373636 }
.tvinfo p { margin: 0; font-size: 15px; line-height: 1.35; font-weight: 500 }

.tvcd {
    margin-bottom: 14px; padding: 14px; border-radius: 24px; color: #212020;
    background: #ffffff; border: 1px solid #ecebe6; box-shadow: 0 10px 28px rgba(43, 42, 42, .14)
}
.tvhd { display: flex; align-items: center; gap: 12px; margin-bottom: 12px }
.tvhd img { flex: none; height: 46px; width: auto }
.tvhd h2 { margin: 0; flex: 1; min-width: 0; font: 800 23px/1.15 var(--sans); color: #212020 }
.tvhd.bar h2 { padding-left: 12px; border-left: 5px solid #373636; line-height: 1.3 }
.tvpill {
    flex: none; display: inline-flex; align-items: center; gap: 7px; min-height: 42px; padding: 0 14px; border-radius: 999px;
    border: 0; cursor: pointer; font: 700 14.5px var(--sans); color: #302e2e; text-decoration: none;
    background: linear-gradient(180deg, #f6f5f2, #ebeae5); box-shadow: inset 0 1px 0 #ffffff
}
.tvpill .ic { width: 18px; height: 18px } .tvpill .go { width: 16px; height: 16px }

.tvsteps, .tvbox { margin-bottom: 12px; padding: 12px 14px; border-radius: 16px; background: #f8f8f6; border: 1px solid #ecebe6 }
.tvsteps ol, .tvbox ol { margin: 0; padding-left: 20px; font-size: 15px; line-height: 1.55; color: #1f1e1e }
.tvsteps li + li, .tvbox li + li { margin-top: 4px }
.tvsteps b, .tvbox ol b { color: #1a1919; word-break: break-all }
.tvbox > b { display: block; margin-bottom: 6px; font-size: 18px; color: #212020 }

.tvbtn {
    display: flex; align-items: center; justify-content: center; gap: 12px; width: 100%; min-height: 58px; margin-top: 6px; padding: 0 18px;
    border-radius: 18px; border: 1.5px solid rgba(228, 188, 94, .8); cursor: pointer; text-decoration: none;
    font: 700 19px var(--sans); color: #ffffff;
    background: linear-gradient(180deg, #383636, #252424);
    box-shadow: 0 8px 22px rgba(55, 54, 54, .45), 0 0 16px rgba(228, 188, 94, .35), inset 0 1px 0 rgba(255, 255, 255, .25)
}
.tvbtn .ic { width: 26px; height: 26px; flex: none } .tvbtn .go { width: 20px; height: 20px; margin-left: auto; opacity: .75 }
.tvbtn span { flex: 0 1 auto }
.tvbtn.alt { margin-top: 12px }
.tvbtn:active { transform: translateY(1px) }

.tvrow {
    display: flex; align-items: center; gap: 12px; padding: 10px 0; border-top: 1px solid #f3f3f0
}
.tvrow:first-of-type { border-top: 0 }
.tvth { flex: none; width: 92px; height: auto; border-radius: 6px; filter: drop-shadow(0 4px 8px rgba(38, 37, 37, .3)) }
.tvrow.isled .tvth { width: 80px }
.tvin { flex: 1; min-width: 0 }
.tvnm { display: flex; align-items: center; gap: 8px; flex-wrap: wrap }
.tvnm b { font-size: 18px; color: #212020 }
.tvk { padding: 2px 10px; border-radius: 999px; font: 700 13px var(--sans); color: #3b3a3a; background: #efeee9 }
.tvmeta { display: flex; align-items: center; gap: 8px 12px; flex-wrap: wrap; margin-top: 6px; font-size: 14px; color: #6b6862 }
.tvloc { display: inline-flex; align-items: center; gap: 6px }
.tvloc .ic { width: 18px; height: 18px; color: #5b5858 }
.tvst { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; font-weight: 600; font-size: 13.5px; background: #f5f4f1; color: #6b6862 }
.tvst .ic { width: 15px; height: 15px }
.tvst.ok { background: #dcf7e6; color: #11803c } .tvst.bad { background: #fde1e1; color: #b3261e } .tvst.warn { background: #faefd6; color: #7b5b0f }
.tvst .dot { width: 9px; height: 9px; border-radius: 50%; background: currentColor }
.tvrm {
    flex: none; align-self: stretch; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; min-width: 76px;
    margin: 4px 0; padding: 0 10px; border-radius: 16px; border: 0; cursor: pointer; font: 700 13.5px var(--sans); color: #d32f2f; background: #ffe3e3
}
.tvrm .ic { width: 20px; height: 20px }

.tvnone { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 14px 8px; text-align: center; color: #6b6862; font-size: 14px }
.tvnone img { height: 64px; width: auto; opacity: .9; margin-bottom: 4px }
.tvnone b { color: #212020; font-size: 16px }
.tvcode { background: #f8f8f6; border: 1px dashed #5b5858; color: #252424 }
.tvcd .m { color: #6b6862 }

@media(min-width:901px) {
    body.tvs .tvsheet { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; align-items: start; border-radius: 0 0 24px 24px; margin-top: 0; padding: 20px }
    .tvinfo, body.tvs .tvsheet > .bn { grid-column: 1 / -1 }
    .tvttl h1 { font-size: 34px }
}
@media(max-width:380px) {
    .tvttl h1 { font-size: 23px } .tvhd h2 { font-size: 20px } .tvbtn { font-size: 17px } .tvth { width: 76px }
}

/* Setup guide */
.gdtabs { display: flex; gap: 8px; flex-wrap: wrap; margin: 0 0 14px }
.gdtabs button { min-height: 44px; padding: 0 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--card); color: var(--text); font: 600 14.5px var(--sans); cursor: pointer }
.gdtabs button.on { background: var(--ink); border-color: var(--ink); color: #fff }
.gdp[hidden] { display: none }
.gdlead { margin: 0 0 4px; font-size: 15px; line-height: 1.5 }
.gdsvg { display: block; width: 100%; height: auto; margin: 8px 0 14px; padding: 6px; border: 1px solid #ecebe6; border-radius: 14px; background: #f8f8f6; color: var(--text) }
.gdol { margin: 8px 0; padding-left: 22px; font-size: 15px; line-height: 1.6 }
.gdol li + li { margin-top: 6px }
