/* ============================================================
   Tävlingar – publik sida (/Tavling/{slug}), storbild (/Skarm)
   och inbäddning (/Embed). Profilfärger: svart #101820, cyan
   #3CCBDA, orange #EA733D, röd #E5554F, grå #ABAEAB.
   ============================================================ */

.tv-cards, .tv-section, .tve, .tvs { --tv-dark: #101820; --tv-cyan: #3CCBDA; --tv-orange: #EA733D; --tv-red: #E5554F; --tv-grey: #ABAEAB; --tv-line: #e7e9ea; --tv-muted: #6b7178; }

/* ---------- statusetikett ---------- */
.tv-live { display: inline-block; font-family: 'Oswald', sans-serif; text-transform: uppercase; letter-spacing: .06em; font-size: .85rem; padding: 3px 12px; border-radius: 3px; background: rgba(255,255,255,.12); color: #fff; }
.tv-live--pagar { background: #E5554F; }
.tv-live--pagar::before { content: ''; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #fff; margin-right: 8px; vertical-align: 1px; animation: tv-blink 1.4s infinite; }
.tv-live--publicerad { background: #3CCBDA; color: #101820; }
@keyframes tv-blink { 50% { opacity: .25; } }

/* ---------- lista med tävlingar ---------- */
.tv-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; margin-bottom: 40px; }
.tv-card { display: flex; flex-direction: column; gap: 6px; padding: 24px; border: 1px solid #e7e9ea; border-radius: 6px; color: #101820; text-decoration: none; background: #fff; transition: border-color .15s, transform .15s; }
.tv-card:hover { border-color: #3CCBDA; transform: translateY(-2px); }
.tv-card__status { align-self: flex-start; font-family: 'Oswald', sans-serif; text-transform: uppercase; font-size: .75rem; letter-spacing: .06em; padding: 2px 10px; border-radius: 3px; background: #eef1f3; }
.tv-card__status--pagar { background: #E5554F; color: #fff; }
.tv-card__status--publicerad { background: #3CCBDA; color: #101820; }
.tv-card__name { font-family: 'Oswald', sans-serif; text-transform: uppercase; font-size: 1.5rem; line-height: 1.1; }
.tv-card__meta { color: #6b7178; }
.tv-card__cta { margin-top: auto; padding-top: 10px; font-weight: 700; color: #0d7b88; }
.tv-h2 { font-size: clamp(1.5rem, 3vw, 2.1rem) !important; margin-bottom: 14px; }

/* ---------- tävlingssidan ---------- */
.tv-section { padding-top: 56px; }
.tv-desc { max-width: 760px; margin-bottom: 40px; font-size: 1.05rem; }
.tv-block { margin-bottom: 56px; }
.tv-block[hidden] { display: none; }
.tv-lbhead { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.tv-updated { font-size: .82rem; color: #6b7178; }
.tv-updated.is-stale { color: #E5554F; font-weight: 700; }
.tv-note { margin-top: 12px; font-size: .85rem; color: #6b7178; }
.tv-empty { color: #6b7178; padding: 20px 0; }
.tv-screenlink { text-align: right; font-size: .9rem; }

.tv-divtabs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.tv-divtabs[hidden] { display: none; }
.tv-divtabs button { font-family: 'Oswald', sans-serif; text-transform: uppercase; letter-spacing: .04em; font-size: .95rem; padding: 8px 16px; border: 2px solid #101820; background: #fff; color: #101820; border-radius: 3px; cursor: pointer; }
.tv-divtabs button.active { background: #101820; color: #fff; }

/* Leaderboard-tabellen: rullar i sidled på mobil med placering och lag fasta till vänster. */
.tv-lbwrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid #e7e9ea; border-radius: 6px; }
.tv-lb { width: 100%; border-collapse: collapse; font-size: .95rem; background: #fff; }
.tv-lb th { font-family: 'Oswald', sans-serif; text-transform: uppercase; font-weight: 500; font-size: .78rem; letter-spacing: .05em; color: #fff; background: #101820; padding: 10px 12px; text-align: left; white-space: nowrap; }
.tv-lb td { padding: 10px 12px; border-top: 1px solid #eef0f1; vertical-align: middle; }
.tv-lb__pl { width: 48px; text-align: center !important; font-family: 'Oswald', sans-serif; font-size: 1.15rem; font-weight: 700; }
.tv-lb__team { min-width: 170px; }
.tv-lb__team strong { display: block; line-height: 1.25; }
.tv-lb__team small { display: block; color: #6b7178; font-size: .78rem; line-height: 1.3; }
.tv-lb__tot { font-family: 'Oswald', sans-serif; font-weight: 700; font-size: 1.1rem; text-align: center !important; }
.tv-lb__ev { white-space: nowrap; min-width: 92px; }
.tv-lb__ev b { display: inline-block; min-width: 1.6em; font-family: 'Oswald', sans-serif; font-size: 1.05rem; }
.tv-lb__ev span { color: #6b7178; font-size: .82rem; }
.tv-lb__none, .tv-lb__hidden { color: #ABAEAB; }
.tv-lb__hidden { font-style: italic; font-size: .82rem; }
.tv-lb thead .tv-lb__pl, .tv-lb thead .tv-lb__team { position: sticky; left: 0; z-index: 2; }
.tv-lb tbody .tv-lb__pl, .tv-lb tbody .tv-lb__team { position: sticky; background: #fff; z-index: 1; }
.tv-lb .tv-lb__pl { left: 0; }
.tv-lb .tv-lb__team { left: 48px; box-shadow: 6px 0 6px -6px rgba(16,24,32,.18); }
.tv-lb tr.is-top1 .tv-lb__pl { color: #fff; background: #EA733D; }
.tv-lb tr.is-top2 .tv-lb__pl { color: #101820; background: #3CCBDA; }
.tv-lb tr.is-top3 .tv-lb__pl { color: #fff; background: #101820; }
.tv-lb tr.is-wd td { color: #ABAEAB; }

/* Heatkort (pågår/nästa) och schema */
.tv-heatcards { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.tv-heatcard { border: 2px solid #101820; border-radius: 6px; overflow: hidden; background: #fff; }
.tv-heatcard--pagar { border-color: #E5554F; }
.tv-heatcard__head { background: #101820; color: #fff; padding: 12px 16px; display: flex; flex-direction: column; gap: 2px; }
.tv-heatcard--pagar .tv-heatcard__head { background: #E5554F; }
.tv-heatcard__head strong { font-family: 'Oswald', sans-serif; text-transform: uppercase; font-size: 1.15rem; }
.tv-heatcard__head span { font-size: .85rem; opacity: .85; }
.tv-heatcard__lbl { font-family: 'Oswald', sans-serif; text-transform: uppercase; font-size: .75rem !important; letter-spacing: .1em; opacity: 1 !important; }

.tv-lanes { list-style: none; margin: 0; padding: 6px 0; }
.tv-lanes li { display: flex; align-items: center; gap: 10px; padding: 6px 16px; }
.tv-lanes li + li { border-top: 1px solid #f0f2f3; }
.tv-lanes__n { width: 26px; height: 26px; flex: 0 0 26px; border-radius: 50%; background: #eef1f3; display: inline-flex; align-items: center; justify-content: center; font-family: 'Oswald', sans-serif; font-size: .85rem; }
.tv-lanes__t { flex: 1; font-weight: 600; }
.tv-lanes__r { font-family: 'Oswald', sans-serif; color: #0d7b88; }

.tv-sched { border: 1px solid #e7e9ea; border-radius: 6px; margin-bottom: 10px; background: #fff; }
.tv-sched > summary { cursor: pointer; padding: 14px 18px; font-family: 'Oswald', sans-serif; text-transform: uppercase; font-size: 1.1rem; display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; list-style: none; }
.tv-sched > summary::-webkit-details-marker { display: none; }
.tv-sched > summary::before { content: '+'; color: #3CCBDA; font-weight: 700; width: 14px; }
.tv-sched[open] > summary::before { content: '–'; }
.tv-sched > summary span { font-family: 'Open Sans', sans-serif; text-transform: none; font-size: .85rem; color: #6b7178; }
.tv-sched__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; padding: 0 18px 18px; }
.tv-sched__heat { border: 1px solid #e7e9ea; border-radius: 6px; }
.tv-sched__heat--pagar { border-color: #E5554F; box-shadow: 0 0 0 1px #E5554F; }
.tv-sched__heat--klart { opacity: .75; }
.tv-sched__h { padding: 10px 16px 0; display: flex; justify-content: space-between; gap: 8px; flex-wrap: wrap; font-size: .85rem; color: #6b7178; }
.tv-sched__h strong { color: #101820; font-family: 'Oswald', sans-serif; text-transform: uppercase; font-size: 1rem; }
.tv-sched__h em { color: #E5554F; font-style: normal; font-weight: 700; }

.tv-events { display: grid; gap: 16px; }
.tv-event { display: flex; gap: 18px; padding: 22px; border: 1px solid #e7e9ea; border-radius: 6px; background: #fff; }
.tv-event__n { flex: 0 0 48px; height: 48px; border-radius: 4px; background: #3CCBDA; color: #101820; font-family: 'Oswald', sans-serif; font-weight: 700; font-size: 1.5rem; display: flex; align-items: center; justify-content: center; }
.tv-event h3 { font-family: 'Oswald', sans-serif; text-transform: uppercase; font-size: 1.3rem; }
.tv-event__meta { color: #6b7178; font-size: .9rem; margin-bottom: 8px; }
.tv-event__body { line-height: 1.6; }
.tv-event__body ul, .tv-event__body ol { padding-left: 20px; }

@media (max-width: 640px) {
    .tv-section { padding-top: 36px; }
    .tv-lb { font-size: .88rem; }
    .tv-lb td, .tv-lb th { padding: 8px 8px; }
    .tv-lb__pl { width: 38px; }
    .tv-lb .tv-lb__team { left: 38px; min-width: 130px; }
    .tv-event { padding: 16px; gap: 12px; }
    .tv-event__n { flex-basis: 38px; height: 38px; font-size: 1.2rem; }
}

/* ---------- inbäddning ---------- */
.tve { margin: 0; font-family: 'Open Sans', system-ui, sans-serif; color: #101820; background: #fff; padding: 12px; }
.tve-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.tve-head strong { font-family: 'Oswald', sans-serif; text-transform: uppercase; font-size: 1.2rem; }
.tve-foot { display: flex; justify-content: space-between; gap: 10px; margin-top: 8px; font-size: .8rem; }
.tve-foot a { color: #0d7b88; font-weight: 700; text-decoration: none; }
.tve .tv-live { background: #eef1f3; color: #101820; }
.tve .tv-live--pagar { background: #E5554F; color: #fff; }
.tve .tv-live--publicerad { background: #3CCBDA; }

/* ---------- storbild ---------- */
.tvs { margin: 0; background: #101820; color: #fff; font-family: 'Open Sans', system-ui, sans-serif; overflow: hidden; height: 100vh; }
.tvs.no-cursor, .tvs.no-cursor * { cursor: none !important; }
.tvs-root { height: 100vh; display: flex; flex-direction: column; position: relative;
    background: repeating-linear-gradient(-45deg, rgba(255,255,255,.018) 0 2.2vh, transparent 2.2vh 4.4vh), #101820; }
.tvs-top { flex: 0 0 11vh; display: flex; align-items: center; gap: 3vw; padding: 0 3vw; border-bottom: .5vh solid #3CCBDA; }
.tvs-brand { font-family: 'Oswald', sans-serif; font-weight: 700; line-height: 1; font-size: 2.2vh; letter-spacing: .02em; }
.tvs-brand span { display: block; }
.tvs-title { flex: 1; min-width: 0; }
.tvs-comp { font-family: 'Oswald', sans-serif; text-transform: uppercase; font-weight: 700; font-size: 4.4vh; line-height: 1.05; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tvs-view { font-family: 'Oswald', sans-serif; text-transform: uppercase; color: #3CCBDA; font-size: 2.6vh; letter-spacing: .06em; }
.tvs-clock { font-family: 'Oswald', sans-serif; font-size: 5vh; font-weight: 600; }
.is-stale .tvs-clock::after { content: ''; display: inline-block; width: 1.4vh; height: 1.4vh; border-radius: 50%; background: #E5554F; margin-left: 1vh; vertical-align: middle; }
.tvs-stage { flex: 1; min-height: 0; padding: 2vh 3vw 0; overflow: hidden; }
.tvs-foot { flex: 0 0 9vh; display: flex; align-items: center; gap: 2vw; padding: 0 3vw; position: relative; }
.tvs-progress { position: absolute; left: 0; right: 0; top: 0; height: .5vh; background: rgba(255,255,255,.08); }
.tvs-progress span { display: block; height: 100%; width: 0; background: #EA733D; }
.tvs-dots { flex: 1; display: flex; gap: .8vh; }
.tvs-dots i { width: 1.2vh; height: 1.2vh; border-radius: 50%; background: rgba(255,255,255,.25); }
.tvs-dots i.on { background: #3CCBDA; }
.tvs-qr { display: flex; align-items: center; gap: 1.2vh; font-size: 1.7vh; color: rgba(255,255,255,.75); }
.tvs-qr img { height: 7.2vh; width: 7.2vh; background: #fff; padding: .4vh; border-radius: .4vh; }
.tvs-preview { position: absolute; top: 12vh; right: 3vw; background: #EA733D; color: #101820; font-weight: 700; padding: .6vh 1.4vh; border-radius: .4vh; font-size: 1.8vh; }
.tvs-hint { position: absolute; left: 50%; bottom: 12vh; transform: translateX(-50%); background: rgba(255,255,255,.12); padding: 1vh 2.4vh; border-radius: 3vh; font-size: 2vh; transition: opacity .6s; }
.tvs-hint.is-gone { opacity: 0; pointer-events: none; }

/* Storbildens leaderboard: radhöjden (6,6vh) används också i tavling.js för sidindelningen. */
.tvs-lb { width: 100%; border-collapse: separate; border-spacing: 0 .5vh; table-layout: fixed; }
.tvs-lb th { font-family: 'Oswald', sans-serif; text-transform: uppercase; font-weight: 500; color: rgba(255,255,255,.6); font-size: 1.9vh; letter-spacing: .05em; text-align: left; padding: 0 1vw 1vh; height: 4vh; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tvs-lb td { height: 6.1vh; padding: 0 1vw; background: rgba(255,255,255,.05); font-size: 2.6vh; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tvs-lb td:first-child { border-radius: .6vh 0 0 .6vh; }
.tvs-lb td:last-child { border-radius: 0 .6vh .6vh 0; }
.tvs-lb__pl { width: 7vh; text-align: center !important; font-family: 'Oswald', sans-serif; font-weight: 700; font-size: 3.4vh !important; }
.tvs-lb__team { width: 30%; }
.tvs-lb__team strong { font-family: 'Oswald', sans-serif; text-transform: uppercase; font-weight: 600; font-size: 3vh; display: block; line-height: 1.1; overflow: hidden; text-overflow: ellipsis; }
.tvs-lb__team small { display: block; font-size: 1.7vh; color: rgba(255,255,255,.6); overflow: hidden; text-overflow: ellipsis; }
.tvs-lb__ev b { font-family: 'Oswald', sans-serif; font-size: 3vh; margin-right: .8vh; }
.tvs-lb__ev span { font-size: 1.9vh; color: rgba(255,255,255,.65); }
.tvs-lb__none, .tvs-lb__hidden { color: rgba(255,255,255,.3); }
.tvs-lb__tot { width: 11vh; text-align: center !important; font-family: 'Oswald', sans-serif; font-weight: 700; font-size: 3.6vh !important; color: #3CCBDA; }
.tvs-lb tr.is-top1 td { background: rgba(234,115,61,.22); }
.tvs-lb tr.is-top1 .tvs-lb__pl { background: #EA733D; }
.tvs-lb tr.is-top2 .tvs-lb__pl { background: #3CCBDA; color: #101820; }
.tvs-lb tr.is-top3 .tvs-lb__pl { background: #fff; color: #101820; }
.tvs-lb tr.is-wd td { color: rgba(255,255,255,.35); }

.tvs-msg { height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 2vh; }
.tvs-msg strong { font-family: 'Oswald', sans-serif; text-transform: uppercase; font-size: 8vh; line-height: 1; }
.tvs-msg span { font-size: 3vh; color: rgba(255,255,255,.7); }

.tvs-heat { display: grid; grid-template-columns: 1.5fr 1fr; gap: 3vw; height: 100%; }
.tvs-heat__lbl { font-family: 'Oswald', sans-serif; text-transform: uppercase; letter-spacing: .1em; font-size: 2.4vh; color: #EA733D; margin-bottom: 1.4vh; }
.tvs-heat__main { min-height: 0; overflow: hidden; }
.tvs-heat__card { background: rgba(255,255,255,.05); border-left: .8vh solid #E5554F; border-radius: .6vh; padding: 2vh 2vw; margin-bottom: 2vh; }
.tvs-heat__card h2 { font-family: 'Oswald', sans-serif; text-transform: uppercase; font-size: 4.6vh; line-height: 1.05; }
.tvs-heat__card p { color: rgba(255,255,255,.65); font-size: 2.2vh; margin: .6vh 0 1.2vh; }
.tvs-heat .tv-lanes { padding: 0; }
.tvs-heat .tv-lanes li { padding: .9vh 0; gap: 1.6vh; border-color: rgba(255,255,255,.08); }
.tvs-heat .tv-lanes__n { width: 4.4vh; height: 4.4vh; flex-basis: 4.4vh; background: #3CCBDA; color: #101820; font-size: 2.4vh; font-weight: 700; }
.tvs-heat .tv-lanes__t { font-size: 3vh; }
.tvs-heat .tv-lanes__r { font-size: 3vh; color: #3CCBDA; }
.tvs-heat__mini { display: flex; gap: 1.6vh; padding: 1.4vh 0; border-bottom: 1px solid rgba(255,255,255,.1); }
.tvs-heat__mini > strong { font-family: 'Oswald', sans-serif; font-size: 3.2vh; color: #3CCBDA; min-width: 9vh; }
.tvs-heat__mini b { display: block; font-family: 'Oswald', sans-serif; text-transform: uppercase; font-size: 2.6vh; font-weight: 600; }
.tvs-heat__mini span { font-size: 1.9vh; color: rgba(255,255,255,.65); }
.tvs-heat__none { color: rgba(255,255,255,.5); font-size: 2.4vh; }

/* Flera heat pågår samtidigt: korten bredvid varandra och lite mindre. */
.tvs-heat__cards { display: grid; gap: 2vh 1.6vw; }
.tvs-heat__cards--multi { grid-template-columns: 1fr 1fr; }
.tvs-heat__cards--multi .tvs-heat__card { margin-bottom: 0; padding: 1.6vh 1.4vw; }
.tvs-heat__cards--multi .tvs-heat__card h2 { font-size: 3.4vh; }
.tvs-heat__cards--multi .tv-lanes li { padding: .6vh 0; }
.tvs-heat__cards--multi .tv-lanes__t, .tvs-heat__cards--multi .tv-lanes__r { font-size: 2.4vh; }
.tvs-heat__cards--multi .tv-lanes__n { width: 3.6vh; height: 3.6vh; flex-basis: 3.6vh; font-size: 2vh; }

/* ---------- tidtagningsklockor (sida + storbild) ---------- */
.tv-clock { display: inline-block; align-self: flex-start; margin-top: 6px; font-family: 'Oswald', sans-serif; font-weight: 700; font-size: 1.6rem !important; line-height: 1; opacity: 1 !important; font-variant-numeric: tabular-nums; }
.tv-clock[data-state="is-countdown"] { color: #EA733D; }
.tv-clock[data-state="is-last"], .tv-clock[data-state="is-cap"] { color: #fff; }
.tv-lanes__f { font-family: 'Oswald', sans-serif; color: #1c9a4a; white-space: nowrap; }
.tvs-heat__card { position: relative; }
.tvs-hclock { float: right; font-family: 'Oswald', sans-serif; font-weight: 700; font-size: 9vh; line-height: .9; color: #fff; font-variant-numeric: tabular-nums; margin-left: 2vw; }
.tvs-heat__cards--multi .tvs-hclock { font-size: 6vh; }
.tvs-hclock[data-state="is-countdown"] { color: #EA733D; font-size: 12vh; }
.tvs-hclock[data-state="is-last"], .tvs-hclock[data-state="is-cap"] { color: #E5554F; }
.tvs-hclock[data-state="is-cap"] { font-size: 6vh; }
.tvs-hclock[data-state="is-stopped"] { color: rgba(255,255,255,.55); }
.tvs-heat .tv-lanes__f { font-size: 3vh; color: #5fe08c; }

/* ---------- anmälan ---------- */
.tv-herolink { color: #3CCBDA; text-decoration: none; font-weight: 600; }
.tv-card__reg { align-self: flex-start; font-size: .8rem; font-weight: 700; color: #1c7a32; background: #e7f8ea; padding: 2px 10px; border-radius: 3px; }
.tv-spots { font-style: normal; font-weight: 700; color: #1c7a32; white-space: nowrap; }
.tv-spots.is-low { color: #c0571f; }
.tv-spots.is-full { color: #E5554F; }

.tv-regbox { display: flex; gap: 24px; align-items: center; flex-wrap: wrap; border: 2px solid #101820; border-radius: 8px; padding: 22px 24px; margin-bottom: 48px; background: #fff; position: relative; overflow: hidden; }
.tv-regbox--open { border-color: #3CCBDA; box-shadow: 6px 6px 0 #3CCBDA; }
.tv-regbox__main { flex: 1; min-width: 240px; }
.tv-regbox__lbl { font-family: 'Oswald', sans-serif; text-transform: uppercase; letter-spacing: .1em; font-size: .8rem; color: #6b7178; }
.tv-regbox h2 { font-size: clamp(1.5rem, 3vw, 2.1rem) !important; margin: 2px 0 6px !important; }
.tv-regbox p { margin: 0 0 10px; display: flex; gap: 12px; flex-wrap: wrap; align-items: baseline; }
.tv-regbox__divs { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 6px 18px; }
.tv-regbox__divs li { display: flex; flex-wrap: wrap; gap: 4px 8px; align-items: baseline; padding: 6px 0; border-top: 1px solid #eef0f1; }
.tv-regbox__divs span { color: #6b7178; font-size: .88rem; }
.tv-regbox__divs em { width: 100%; font-size: .85rem; }
.tv-regbox__cta { font-size: 1.1rem; padding: 14px 30px; }

.tv-entrants { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.tv-entrants__div { border: 1px solid #e7e9ea; border-radius: 6px; padding: 14px 18px; background: #fff; }
.tv-entrants__div h3 { font-family: 'Oswald', sans-serif; text-transform: uppercase; font-size: 1.1rem; display: flex; justify-content: space-between; }
.tv-entrants__div h3 span { color: #6b7178; font-size: .9rem; }
.tv-entrants__div ul { list-style: none; padding: 0; margin: 8px 0 0; columns: 1; }
.tv-entrants__div li { padding: 4px 0; border-top: 1px solid #f0f2f3; font-weight: 600; }
.tv-entrants__div li span { font-weight: 400; color: #6b7178; font-size: .85rem; }

.tv-reg { max-width: 820px; }
.tv-regclosed { text-align: center; padding: 30px 20px; border: 1px dashed #ABAEAB; border-radius: 8px; margin-bottom: 30px; }
.tv-regclosed h2 { font-size: 1.8rem !important; }
.tv-regform fieldset { border: 1px solid #e7e9ea; border-radius: 8px; padding: 18px 20px 6px; margin: 0 0 18px; background: #fff; }
.tv-regform fieldset[hidden] { display: none; }
.tv-regform legend { font-family: 'Oswald', sans-serif; text-transform: uppercase; font-size: 1.1rem; padding: 0 6px; }
.tv-regform .form-group[hidden] { display: none; }
.tv-err { display: block; color: #c22f2a; font-size: .85rem; font-weight: 600; min-height: 0; margin-top: 3px; }
.tv-err:empty { display: none; }
.tv-divpick { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; margin-bottom: 12px; }
.tv-divopt { display: flex; flex-direction: column; gap: 2px; border: 2px solid #e7e9ea; border-radius: 8px; padding: 12px 14px 12px 40px; position: relative; cursor: pointer; background: #fff; }
.tv-divopt input { position: absolute; left: 14px; top: 15px; width: 18px; height: 18px; accent-color: #101820; }
.tv-divopt:has(input:checked) { border-color: #3CCBDA; box-shadow: 0 0 0 1px #3CCBDA; }
.tv-divopt.is-full { opacity: .55; cursor: not-allowed; }
.tv-divopt__name { font-family: 'Oswald', sans-serif; text-transform: uppercase; font-size: 1.1rem; }
.tv-divopt__meta { color: #6b7178; font-size: .88rem; }
.tv-check { display: flex; gap: 10px; align-items: flex-start; font-weight: 600; cursor: pointer; }
.tv-check input { margin-top: 4px; width: 18px; height: 18px; flex: 0 0 18px; }
.tv-terms { margin: 8px 0 10px; font-size: .9rem; }
.tv-terms summary { cursor: pointer; color: #0d7b88; font-weight: 600; }
.tv-terms div { margin-top: 8px; padding: 12px 14px; background: #f4f6f8; border-radius: 6px; }
.tv-regsubmit { font-size: 1.1rem; padding: 14px 34px; margin-top: 8px; }

.tv-regdone { border: 2px solid #3CCBDA; border-radius: 10px; padding: 28px; background: #fff; }
.tv-regdone--wait { border-color: #EA733D; }
.tv-regdone__icon { font-size: 2.6rem; display: block; margin-bottom: 6px; }
.tv-regdone h2 { font-size: clamp(1.6rem, 4vw, 2.4rem) !important; margin-bottom: 6px !important; }
.tv-pay { background: #101820; color: #fff; border-radius: 8px; padding: 18px 20px; margin: 18px 0; }
.tv-pay strong { font-family: 'Oswald', sans-serif; text-transform: uppercase; font-size: 1.2rem; display: block; margin-bottom: 8px; color: #3CCBDA; }
.tv-pay dl { display: grid; grid-template-columns: auto 1fr; gap: 4px 16px; margin: 0 0 8px; }
.tv-pay dt { color: rgba(255,255,255,.65); }
.tv-pay dd { margin: 0; font-family: 'Oswald', sans-serif; font-size: 1.35rem; letter-spacing: .02em; }
.tv-pay span { font-size: .88rem; color: rgba(255,255,255,.75); }
.tv-regsum { width: 100%; border-collapse: collapse; margin: 10px 0; font-size: .95rem; }
.tv-regsum th { text-align: left; color: #6b7178; font-weight: 600; padding: 7px 14px 7px 0; vertical-align: top; white-space: nowrap; border-top: 1px solid #eef0f1; }
.tv-regsum td { padding: 7px 0; border-top: 1px solid #eef0f1; }
@media (max-width: 640px) {
    .tv-regbox { padding: 18px; box-shadow: 4px 4px 0 #3CCBDA; }
    .tv-regbox__cta { width: 100%; justify-content: center; }
    .tv-regform fieldset { padding: 14px 14px 4px; }
    .tv-regsum th { white-space: normal; }
}
