/* Winter Ball Updates · media.css · Media › Podcasts and the ten-section nav fit (2026-10-22). Palette tokens only. */
/* ---------- Media › Podcasts (operator 2026-10-22; design/media/PODCASTS_CONTRACT.md): text and links only ---------- */
.pod-sec { margin-bottom: var(--gap); }
.pod-sec[hidden] { display: none; }
.pod-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 12px; }
.pod-card { border: 1px solid var(--line); border-radius: var(--r-2, 8px); background: var(--card-2); padding: 12px 14px; min-width: 0; }
.pod-h { display: flex; align-items: center; gap: 10px; min-width: 0; }
.pod-h > .lglogo, .pod-h > .logo-badge, .pod-h > .pod-mk { flex: none; }
.pod-mk { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); color: var(--ink-2); }
.pod-hd { flex: 1 1 auto; min-width: 0; }
.pod-t { margin: 0; font: 700 15px/1.25 var(--fb); color: var(--ink); overflow-wrap: break-word; }
.pod-o { font: 500 12px/1.35 var(--fb); color: var(--ink-3); margin-top: 2px; overflow-wrap: break-word; }
.pod-lang { flex: none; align-self: flex-start; font: 700 10.5px/1 var(--fb); letter-spacing: .08em; padding: 4px 6px; border-radius: 3px; border: 1px solid var(--ink-3); color: var(--ink-2); }
.pod-eps { list-style: none; margin: 10px 0 0; padding: 0; border-top: 1px solid var(--line); }
.pod-eps li { padding: 8px 0; border-bottom: 1px solid var(--line); display: grid; gap: 3px; min-width: 0; }
.pod-et { font: 500 13.5px/1.35 var(--fb); color: var(--ink); overflow-wrap: break-word; }
.pod-em { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 7px; font: 500 12px/1.4 var(--fb); color: var(--ink-3); }
.pod-em .dot, .pod-links .dot { color: var(--ink-3); }
.pod-go { margin-left: auto; font-weight: 650; color: var(--mar); text-decoration: underline; text-underline-offset: 2px; }
.pod-links { display: flex; flex-wrap: wrap; gap: 2px 7px; margin-top: 9px; font: 500 12px/1.4 var(--fb); }
.pod-links a { color: var(--mar); text-decoration: underline; text-underline-offset: 2px; }
.pod-go:focus-visible, .pod-links a:focus-visible { outline: 2px solid var(--mar); outline-offset: 2px; border-radius: 2px; }
/* ten sections since Media (2026-10-22): in the compact bar on desktops the logo is a little smaller (still top-left)
   so all ten sections fit beside the controls; ES at 981-1099 (top row) tightens its padding */
@media (min-width: 1100px) { html.mh-stuck .topbar .brand picture, html.mh-stuck .topbar .brand img.wbu-logo { height: 30px; } }
@media (min-width: 981px) and (max-width: 1099px) { html[lang="es"] body .topbar .mainnav a { font-size: 10px; padding: 0 2px; } }
/* the show's mark: the league logo at a small, fixed size (its plate never grows with the card) */
.pod-h > .lglogo { --ls: 34px; width: 58px; height: 40px; padding: 3px 5px; box-sizing: border-box; display: inline-grid; place-items: center; overflow: hidden; }
.pod-h > .lglogo img { width: 100%; height: 100%; object-fit: contain; }
/* a long section title ("LIDOM · República Dominicana") wraps on narrow phones instead of being cut */
.pod-sec > .card-head h2, .pod-sec > .card-head h2 * { white-space: normal; overflow: visible; text-overflow: clip; min-width: 0; }
/* YouTube podcasts: the latest videos as thumbnails (operator 2026-10-22) */
.pod-card.has-vids { grid-column: span 2; }
@media (max-width: 980px) { .pod-card.has-vids { grid-column: auto; } }
.pod-thumbs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 10px 0 12px; }
@media (max-width: 599px) { .pod-thumbs { grid-template-columns: 1fr; } }
.pod-th { display: flex; flex-direction: column; gap: 6px; color: var(--ink); text-decoration: none; min-width: 0; }
.pod-thi { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 4px; background: var(--noche, #0B1622); border: 1px solid var(--rule, rgb(15 35 64 / .2)); }
.pod-thi img { display: block; width: 100%; height: 100%; object-fit: cover; }
.pod-play { position: absolute; left: 50%; top: 50%; translate: -50% -50%; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: rgb(15 35 64 / .82); color: #F0E2C6; font-size: 16px; padding-left: 3px; box-shadow: 0 2px 10px rgb(0 0 0 / .35); }
.pod-th:hover .pod-play, .pod-th:focus-visible .pod-play { background: var(--mar, #9A0F16); }
.pod-tt { font: 600 14px/1.3 var(--fb); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.pod-td { font: 500 12px/1.2 var(--fb); color: var(--ink-2); }
.pod-th:hover .pod-tt { text-decoration: underline; text-decoration-color: var(--mar); text-underline-offset: 3px; }
/* ---------- Media › News (operator 2026-10-22; design/media/NEWS_CONTRACT.md): a front page's "From the papers" column ---------- */
.news-list { list-style: none; margin: 0; padding: 0; counter-reset: news; }
.news-row { counter-increment: news; position: relative; padding: 10px 0 10px 30px; border-bottom: 1px solid var(--line); min-width: 0; }
.news-row:last-child { border-bottom: 0; }
.news-row::before { content: counter(news); position: absolute; left: 0; top: 9px; width: 20px; text-align: right; font: 700 17px/1.1 var(--vt-serif, Georgia, serif); color: var(--mar); }
.news-h { display: block; font: 600 17px/1.3 var(--vt-serif, Georgia, serif); color: var(--ink); text-decoration: none; overflow-wrap: break-word; }
.news-h:hover { text-decoration: underline; text-decoration-color: var(--mar); text-underline-offset: 3px; }
.news-h:focus-visible { outline: 2px solid var(--mar); outline-offset: 2px; border-radius: 2px; }
.news-m { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 7px; margin-top: 4px; font: 500 12px/1.4 var(--fb); color: var(--ink-3); }
.news-o { font-variant-caps: all-small-caps; letter-spacing: .06em; font-weight: 650; font-size: 13px; color: var(--ink-2); }
.news-fl { display: inline-flex; width: 18px; height: 12px; flex: none; }
.news-fl svg { width: 18px; height: 12px; border-radius: 1px; box-shadow: 0 0 0 1px var(--line); }
@media (min-width: 900px) { .news-sec .news-list { columns: 2 340px; column-gap: 32px; } .news-row { break-inside: avoid; } }
.news-fl.lg, .news-fl.lg svg { width: 27px; height: 18px; } .news-fl.lg { margin-right: 4px; }
/* every paper that covers the league, linked (operator: "keep linking to all") */
.news-papers { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; margin-top: 12px; padding-top: 10px; border-top: 1px solid var(--rule, rgb(15 35 64 / .18)); font: 500 13px/1.5 var(--vt-serif, var(--fb)); }
.news-papers .news-pl { font: 700 10.5px/1 var(--fb); letter-spacing: .12em; text-transform: uppercase; color: var(--mar, #9A0F16); margin-right: 4px; }
.news-papers a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--rule, rgb(15 35 64 / .3)); text-underline-offset: 3px; }
.news-papers a:hover { text-decoration-color: var(--mar, #9A0F16); }
.news-papers .dot { color: var(--ink-3); }
/* ---------- the video player (clips.js; operator 2026-11-07: "Think of YouTube. It's a box that opens and plays the next video up.
   And you see what's coming on the side."; "Should have our logo."). Design C's look: navy brand frame in both themes, the
   orange stitch, the deck under the player (never on it), the Up next rail; B's watched postmarks. AA: cream on navy 14:1,
   navy on orange 5.6:1, orange text #A8450B on cream 5.3:1 (plain orange only on navy) ---------- */
.wbp { --nv:#14213D; --or:#FE6D18; --ot:#A8450B; --cr:#F7F1E3; --bs:"Big Shoulders Display",var(--fd); --bn:"Bungee",var(--fd);
  container-type:inline-size; position:relative; display:flex; flex-direction:column; min-width:0; background:var(--paper); color:var(--ink); font:500 14px/1.4 var(--fb); border-radius:14px; overflow:hidden; }
:root[data-theme="dark"] .wbp { --ot:#FE6D18; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .wbp { --ot:#FE6D18; } }
.wbp [data-lg="LIDOM"] { --lc:#1F3B6E; } .wbp [data-lg="LVBP"] { --lc:#7A5500; } .wbp [data-lg="LMP"] { --lc:#2F5D46; } .wbp [data-lg="LBPRC"] { --lc:#7A2E4A; }
:root[data-theme="dark"] .wbp [data-lg="LIDOM"] { --lc:#8FA9D9; } :root[data-theme="dark"] .wbp [data-lg="LVBP"] { --lc:#E0B55A; } :root[data-theme="dark"] .wbp [data-lg="LMP"] { --lc:#7FB89A; } :root[data-theme="dark"] .wbp [data-lg="LBPRC"] { --lc:#E08AA6; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .wbp [data-lg="LIDOM"] { --lc:#8FA9D9; } :root:not([data-theme="light"]) .wbp [data-lg="LVBP"] { --lc:#E0B55A; } :root:not([data-theme="light"]) .wbp [data-lg="LMP"] { --lc:#7FB89A; } :root:not([data-theme="light"]) .wbp [data-lg="LBPRC"] { --lc:#E08AA6; } }
.wbp-ov { position:fixed; inset:0; z-index:95; display:flex; padding:22px; background:rgb(11 22 34 / .8); backdrop-filter:blur(4px); -webkit-backdrop-filter:blur(4px); }
.wbp-ov .wbp { width:100%; max-width:1320px; height:100%; max-height:940px; margin:auto; box-shadow:0 30px 80px rgb(0 0 0 / .45); }
html.wbp-lock, html.wbp-lock body { overflow:hidden; }
.wbp.inl { border:1px solid var(--line); margin-bottom:var(--gap, 18px); }
.wbp button { font:inherit; color:inherit; cursor:pointer; }
.wbp :focus-visible, .wbp-pill :focus-visible { outline:3px solid var(--or); outline-offset:2px; }
/* the brand frame: stamp + palm-and-ball mark, wordmark, title and count, stitching under it */
.wbp-hd { flex:none; position:relative; display:flex; align-items:center; gap:12px; padding:10px 14px 16px; background:var(--nv); color:var(--cr); }
.wbp-hd::after { content:""; position:absolute; inset:auto 0 0; height:7px; background:repeating-linear-gradient(60deg, transparent 0 4px, var(--or) 4px 5.5px, transparent 5.5px 12px), repeating-linear-gradient(-60deg, transparent 0 4px, var(--or) 4px 5.5px, transparent 5.5px 12px); }
.wbp-logo { position:relative; flex:none; display:block; width:38px; height:44px; rotate:-3deg; }
.wbp-logo img { position:absolute; display:block; inset:0; width:100%; height:100%; }
.wbp-logo img + img { inset:50% auto auto 50%; width:84%; height:auto; translate:-50% -50%; }
.wbp-wm { display:grid; gap:3px; text-transform:uppercase; white-space:nowrap; }
.wbp-wm b { font:900 19px/1 var(--bs); letter-spacing:.02em; }
.wbp-wm i { font:800 11px/1 var(--bs); letter-spacing:.14em; color:var(--or); font-style:normal; }
.wbp-ti { margin:0; padding-left:14px; border-left:1px solid rgb(247 241 227 / .25); font:800 21px/1 var(--bs); letter-spacing:.03em; text-transform:uppercase; white-space:nowrap; }
.wbp-ti em { color:var(--or); font-style:normal; }
.wbp-day { font-size:13px; color:#C9CFDB; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.wbp-kb, .wbp-x { display:inline-flex; align-items:center; gap:7px; min-height:40px; background:none; border:0; color:var(--cr); }
.wbp-kb { margin-left:auto; } .wbp-kb b { display:grid; place-items:center; width:22px; height:22px; border:1px solid currentColor; border-radius:4px; font-size:12px; }
.wbp-x { justify-content:center; width:42px; border:1.5px solid rgb(247 241 227 / .4); border-radius:50%; font-size:16px; }
/* the switch (operator 2026-11-07: "Have the player select highlights, or resúmenes. Or all."; design B §2): under the stitch, the
   player's own pill; the choice navy with its count in plain orange (on navy 5.7:1); 0 dimmed, never hidden; the hint after it */
.wbp-show { flex:none; display:flex; flex-wrap:wrap; align-items:center; gap:8px 14px; padding:14px 18px 0; }
.wbp-show:empty { display:none; }
.wbp-sl { font:800 13px/1 var(--bs); letter-spacing:.14em; text-transform:uppercase; color:var(--ink-3); }
.wbp-seg { display:inline-flex; gap:2px; padding:3px; border:1.5px solid var(--line); border-radius:999px; background:var(--card); }
.wbp-seg button { display:inline-flex; align-items:center; justify-content:center; gap:7px; min-height:38px; padding:0 16px; border:0; border-radius:999px; background:none; font:650 14px/1 var(--fb); white-space:nowrap; }
.wbp-seg button:hover { background:var(--card-2); }
.wbp-seg b { font:600 12px/1 var(--fm); color:var(--ink-3); }
.wbp-seg [aria-checked="true"] b { color:var(--or); }
.wbp-seg [aria-disabled="true"] { opacity:.45; cursor:default; background:none; }
.wbp-seg [aria-checked="true"], .wbp-seg [aria-checked="true"]:hover { background:var(--nv); color:var(--cr); opacity:1; }
.wbp-sh { margin:0; font-size:13px; color:var(--ink-3); } .wbp-sh:empty { display:none; }
.wbp-none { padding:14px 6px; color:var(--ink-3); font-size:13px; }
.wbp-acts { display:flex; flex-wrap:wrap; justify-content:center; gap:8px; margin-top:10px; }
.wbp-ov .wbp-show { padding-bottom:12px; }
@container (max-width: 600px) {
  .wbp-show { display:grid; gap:6px; padding:12px 14px 0; } .wbp-sl { display:none; }
  .wbp-seg { display:grid; grid-template-columns:repeat(3, minmax(0, 1fr)); }
  .wbp-seg button { padding:0 6px; gap:5px; font-size:13.5px; } .wbp-sh { font-size:12.5px; padding-left:4px; }
}
.wbp-body { display:grid; gap:16px; padding:18px; align-content:start; min-height:0; }
.wbp-ov .wbp-body { flex:1; overflow:auto; overscroll-behavior:contain; overflow-anchor:none; }
.wbp-main { min-width:0; }
@container (min-width: 860px) {
  .wbp-body { grid-template-columns:minmax(0, 1fr) 360px; }
  .wbp-ov .wbp-body { grid-template-rows:minmax(0, 1fr); overflow:hidden; }
  .wbp-ov .wbp-main, .wbp-ov .wbp-rail { overflow:auto; overscroll-behavior:contain; }
  .inl .wbp-rail { max-height:min(760px, 90vh); overflow:auto; }
}
/* the stage: one size for every clip (16:9, at least 200 px: YouTube's minimum); a Short sits in it with its blurred poster behind.
   max-width: on a 390 phone the inline 16:9 stage grew to 355 px on a 320 px column to honour min-height and was cut off (design B §5) */
.wbp-stage { position:relative; aspect-ratio:16 / 9; min-height:200px; max-width:100%; overflow:hidden; background:#070D1A; border:6px solid var(--nv); border-radius:12px; }
.wbp-fr, .wbp-fr iframe, .wbp-poster, .wbp-card > div { position:absolute; inset:0; width:100%; height:100%; border:0; }
.wbp-fr[hidden] { display:block; visibility:hidden; }
.wbp-card:empty { display:none; }
.wbp-stage.tall::before { content:""; position:absolute; inset:-30px; background:var(--bg) center / cover; filter:blur(18px) brightness(.45); }
.wbp-stage.tall iframe { left:50%; width:auto; aspect-ratio:9 / 16; translate:-50%; }
.wbp-poster { display:block; padding:0; background:#070D1A; }
.wbp-poster img { display:block; width:100%; height:100%; object-fit:cover; }
.wbp-pb { position:absolute; left:50%; top:50%; width:76px; height:76px; translate:-50% -50%; border-radius:50%; background:var(--or); box-shadow:0 8px 30px rgb(0 0 0 / .4); }
.wbp-pb::after { content:""; position:absolute; left:30px; top:22px; border:16px solid transparent; border-left:26px solid var(--nv); border-right:0; }
.wbp-pc { position:absolute; inset:auto 0 0; padding:30px 16px 12px; text-align:left; color:var(--cr); font:800 15px/1 var(--bs); letter-spacing:.1em; text-transform:uppercase; background:linear-gradient(transparent, rgb(7 13 26 / .85)); }
/* the cards in the stage (no player showing): caught up, empty, loading, won't play here */
.wbp-end, .wbp-err { display:grid; place-content:center; justify-items:center; gap:6px; padding:16px; text-align:center; color:var(--cr); background:radial-gradient(circle at 50% 28%, #22335C, var(--nv) 72%); }
.wbp-err { background:linear-gradient(rgb(7 13 26 / .84), rgb(7 13 26 / .84)), var(--bg) center / cover; }
.wbp-end .wbp-logo, .wbp-err .wbp-logo { width:58px; height:67px; rotate:-4deg; margin-bottom:4px; }
.wbp-end h4, .wbp-err h4 { margin:0; font:900 clamp(24px, 5cqi, 40px)/1 var(--bs); letter-spacing:.03em; text-transform:uppercase; }
.wbp-end small { font:800 13px/1 var(--bs); letter-spacing:.14em; text-transform:uppercase; color:var(--or); }
.wbp-end p, .wbp-err p { margin:4px 0 0; display:flex; flex-wrap:wrap; justify-content:center; gap:8px; }
.wbp-end ul { display:flex; gap:22px; margin:8px 0 0; padding:0; list-style:none; font-size:12px; color:#C9CFDB; }
.wbp-end li b { display:block; font:26px/1.1 var(--bn); color:var(--or); }
.wbp-pm { position:absolute; top:16px; right:16px; padding:6px 10px; border:2px solid var(--or); border-radius:6px; rotate:6deg; font:800 10px/1.2 var(--bs); letter-spacing:.12em; text-transform:uppercase; color:var(--or); }
.wbp-lnk { background:none; border:0; color:var(--or); font-weight:650; text-decoration:underline; text-underline-offset:3px; min-height:36px; }
.wbp-err small { font:12px var(--fm); color:#A9B3C7; }
.wbp-drain { display:block; width:200px; height:4px; border-radius:2px; background:var(--or); transform-origin:left; animation:wbp-x 3s linear forwards; }
@container (max-width: 600px) { .wbp-end ul, .wbp-end > p:nth-of-type(1), .wbp-pm, .wbp-end .wbp-logo, .wbp-err .wbp-logo { display:none; } }
/* the deck: one fixed height in every state, so nothing moves */
.wbp-deck { position:relative; display:flex; align-items:center; gap:12px; height:68px; margin-top:10px; padding:0 14px; overflow:hidden; border:1px solid var(--line); border-radius:10px; background:var(--card); }
.wbp-deck:empty { display:none; }
.wbp-deck.count, .wbp-deck.next, .wbp-deck.done { background:var(--nv); color:var(--cr); border-color:var(--nv); --ot:var(--or); }
.wbp-dt { flex:1; min-width:0; display:grid; gap:3px; }
.wbp-dt small { font:800 12px/1 var(--bs); letter-spacing:.12em; text-transform:uppercase; color:var(--ot); }
.wbp-dt > b { font:650 15px/1.2 var(--fb); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.wbp-deck > img { width:80px; height:45px; object-fit:cover; flex:none; border:3px solid var(--cr); border-radius:2px; rotate:-2deg; }
.wbp-deck .wbp-logo { width:30px; height:35px; }
.wbp-ring { position:relative; flex:none; display:grid; place-items:center; width:44px; height:44px; }
.wbp-ring svg { position:absolute; inset:0; rotate:-90deg; fill:none; stroke:var(--or); stroke-width:3; stroke-dasharray:107; }
.wbp-deck.count[data-m="2"] circle { animation:wbp-r 5s linear forwards; }
.wbp-ring b { font:20px/1 var(--bn); color:var(--or); }
.wbp-deck.count[data-m="2"]::after { content:""; position:absolute; inset:auto 0 0; height:3px; background:var(--or); transform-origin:left; animation:wbp-x 5s linear forwards; }
.wbp-eq { display:flex; align-items:flex-end; gap:3px; height:20px; flex:none; }
.wbp-eq i { width:4px; height:100%; background:var(--or); transform-origin:bottom; animation:wbp-q .9s ease-in-out infinite alternate; }
.wbp-eq i:nth-child(2) { animation-delay:-.3s; } .wbp-eq i:nth-child(3) { animation-delay:-.6s; }
.wbp-deck:not(.play) .wbp-eq, .wbp-deck[data-m="0"] .wbp-eq i, .wbp-deck[data-m="1"] .wbp-eq i { animation:none; }
@container (max-width: 520px) { .wbp-deck > img, .wbp-deck .ghost span { display:none; } .wbp-deck { gap:8px; padding:0 10px; } .wbp-deck .wbp-b { padding:0 12px; } .wbp-ctl { gap:6px; } .wbp-ctl .wbp-b { padding:0 12px; } .wbp-i { width:36px; height:36px; } }
.wbp-b { display:inline-flex; align-items:center; gap:6px; min-height:40px; padding:0 16px; flex:none; border:1.5px solid var(--line); border-radius:999px; background:transparent; font-weight:650 !important; text-decoration:none; color:inherit; }
.wbp-b.hot { background:var(--or); border-color:var(--or); color:var(--nv) !important; }
.wbp-b.ghost { border-color:currentColor; }
.wbp-b:disabled { opacity:.4; cursor:default; }
.wbp-i { display:inline-grid; place-items:center; width:40px; height:40px; border:1.5px solid var(--line); border-radius:50%; background:none; color:inherit; font:700 12px var(--fb); }
.wbp-i svg { width:18px; height:18px; fill:none; stroke:currentColor; stroke-width:2; stroke-linecap:round; }
/* title, meta, controls */
.wbp-t { margin:14px 0 6px; font:700 22px/1.25 var(--fb); overflow-wrap:anywhere; }
.wbp-meta, .wbp-cm { display:flex; flex-wrap:wrap; align-items:center; gap:4px 10px; font-size:13px; color:var(--ink-3); }
.wbp-meta a { color:var(--ot); font-weight:650; text-underline-offset:3px; }
.wbp-mono { font-family:var(--fm); }
.wbp-es { padding:1px 6px; border:1px solid currentColor; border-radius:3px; font-size:11px; }
.wbp-ctl { display:flex; flex-wrap:wrap; align-items:center; gap:8px; margin-top:12px; } .wbp-ctl > span { flex:1; }
.wbp-lg { padding:4px 7px 3px; border-radius:3px; font:800 12px/1 var(--bs); letter-spacing:.08em; font-style:normal; color:var(--lc, var(--ink)); background:color-mix(in srgb, var(--lc, var(--ink)) 14%, transparent); }
/* Up next */
.wbp-rail { position:relative; min-width:0; padding:14px; border:1px solid var(--line); border-radius:12px; background:var(--card); }
.wbp-rh { position:sticky; top:-14px; z-index:2; margin:-14px -14px 0; padding:14px 14px 6px; background:var(--card); border-radius:12px 12px 0 0; }
.wbp-rh h3 { margin:0; font:900 24px/1 var(--bs); letter-spacing:.03em; text-transform:uppercase; }
.wbp-rh small { font:500 13px var(--fb); letter-spacing:0; text-transform:none; color:var(--ink-3); }
.wbp-meter { display:flex; gap:3px; margin:10px 0 6px; }
.wbp-meter i { flex:1; height:5px; border-radius:3px; background:var(--line); }
.wbp-meter .w { background:var(--or); } .wbp-meter .on { background:var(--ink); }
.wbp-sws { display:flex; flex-wrap:wrap; justify-content:space-between; gap:4px 12px; }
.wbp-sw { display:inline-flex; align-items:center; gap:8px; min-height:40px; padding:0; border:0; background:none; font-weight:600 !important; }
.wbp-sw i { position:relative; width:38px; height:22px; border-radius:11px; background:var(--line); transition:background .2s; }
.wbp-sw i::after { content:""; position:absolute; top:3px; left:3px; width:16px; height:16px; border-radius:50%; background:#fff; transition:translate .2s; }
.wbp-sw[aria-checked="true"] i { background:var(--or); } .wbp-sw[aria-checked="true"] i::after { translate:16px; }
.wbp-list { display:grid; gap:6px; margin:8px 0 0; padding:0; list-style:none; }
.wbp-c { display:grid; grid-template-columns:150px minmax(0, 1fr); grid-template-rows:auto 1fr; gap:4px 10px; width:100%; padding:6px; text-align:left; border:0; border-radius:8px; background:none; }
.wbp-c:hover { background:var(--card-2); }
.wbp-c.on { background:var(--paper); box-shadow:inset 3px 0 var(--or), 0 4px 14px rgb(0 0 0 / .1); }
.wbp-th { grid-row:1 / 3; position:relative; display:block; aspect-ratio:16 / 9; overflow:hidden; border-radius:6px; background:#070D1A; box-shadow:inset 4px 0 var(--lc, var(--or)); }
.wbp-th img { display:block; width:100%; height:100%; object-fit:cover; }
.wbp-th > * { position:absolute; }
.wbp-th > b { top:4px; left:8px; font:13px/1 var(--bn); color:var(--cr); text-shadow:0 1px 3px #000; }
.wbp-th > i { right:4px; bottom:4px; padding:2px 5px; border-radius:3px; background:rgb(20 33 61 / .86); color:var(--cr); font:600 11.5px/1.1 var(--fm); font-style:normal; }
.wbp-th > s, .wbp-th > u { left:8px; bottom:9px; padding:3px 5px; border:2px solid var(--or); border-radius:4px; background:rgb(20 33 61 / .78); color:var(--or); font:800 11px/1 var(--bs); letter-spacing:.1em; text-transform:uppercase; text-decoration:none; rotate:-8deg; }
.wbp-th > u { inset:6px 6px auto auto; width:9px; height:14px; padding:0; border-radius:2px; rotate:none; }
.wbp-c.w img { filter:grayscale(.75) opacity(.55); }
.wbp-c.w .wbp-th::after { content:""; position:absolute; inset:auto 0 0; height:3px; background:var(--or); }
.wbp-c.x { opacity:.5; }
.wbp-ct { font:600 14px/1.3 var(--fb); display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
.wbp-c.w .wbp-ct { color:var(--ink-3); }
.wbp-cm { font-size:12px; gap:3px 8px; }
.wbp-fold { width:100%; min-height:44px; padding:8px 12px; text-align:left; border:1.5px dashed var(--line); border-radius:8px; background:none; color:var(--ot) !important; font-weight:650 !important; }
.wbp-div { margin-top:6px; padding-top:10px; border-top:1px solid var(--line); font:800 13px/1.2 var(--bs); letter-spacing:.1em; text-transform:uppercase; color:var(--ink-3); }
.wbp-sk { height:96px; border-radius:8px; background:linear-gradient(90deg, var(--card-2), var(--paper), var(--card-2)) 0 0 / 200% 100%; animation:wbp-s 1.4s linear infinite; }
.wbp-sheet { margin:0 0 12px; padding:10px 12px; border-radius:8px; background:var(--nv); color:var(--cr); font-size:13px; }
.wbp-live { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); margin:0; }
.wbp-toast { position:absolute; left:50%; bottom:18px; z-index:5; margin:0; padding:8px 14px; translate:-50%; border-radius:999px; background:var(--nv); color:var(--cr); font-size:13px; box-shadow:0 6px 20px rgb(0 0 0 / .3); }
.wbp-pill { position:fixed; left:50%; bottom:calc(16px + var(--sb-dock, 0px)); z-index:90; display:flex; translate:-50%; border:2px solid var(--or); border-radius:999px; background:#14213D; color:#F7F1E3; box-shadow:0 8px 24px rgb(0 0 0 / .3); }
.wbp-pill button { min-height:44px; padding:0 14px; border:0; background:none; color:inherit; font:650 14px var(--fb); cursor:pointer; white-space:nowrap; }
/* phones: a full-screen sheet; the player sticks to the top while the list scrolls under it (YouTube autoplay needs half the player on screen) */
@media (max-width: 899px) { .wbp-ov { padding:0; } .wbp-ov .wbp { max-height:none; border-radius:0; } }
@container (max-width: 859px) {
  .wbp-main { display:contents; }
  .wbp-body { display:block; } .wbp-rail { margin-top:16px; }
  .wbp-ov .wbp-body { padding:0 0 calc(18px + env(safe-area-inset-bottom, 0px)); }
  .wbp-ov .wbp-stage { position:sticky; top:0; z-index:3; border-width:0; border-radius:0; max-height:62vh; }
  .wbp-ov .wbp-deck, .wbp-ov .wbp-info, .wbp-ov .wbp-rail { margin-inline:14px; }
  .wbp-rh { position:static; }
  .wbp-stage.tall { aspect-ratio:4 / 5; }
  .wbp-c { grid-template-columns:140px minmax(0, 1fr); }
  .wbp-t { font-size:19px; }
}
@container (max-width: 600px) { .wbp-wm, .wbp-day, .wbp-kb span { display:none; } .wbp-hd { gap:10px; } .wbp-ti { font-size:19px; } }
@keyframes wbp-r { to { stroke-dashoffset:107; } }
@keyframes wbp-x { from { transform:scaleX(1); } to { transform:scaleX(0); } }
@keyframes wbp-q { from { transform:scaleY(.2); } to { transform:scaleY(1); } }
@keyframes wbp-s { to { background-position:-200% 0; } }
@media (prefers-reduced-motion: reduce) { .wbp *, .wbp *::after { animation:none !important; transition:none !important; } }
html[data-motion="off"] .wbp *, html[data-motion="off"] .wbp *::after { animation:none !important; transition:none !important; }
