/* Content pages: prediction hubs, predictions index, sitemap, about, and the
   link blocks on match, club and squads pages. Components are rendered by
   api/_lib/lg-ui.js. Dark product theme, same tokens as the rest of the site. */

body.wc-mode .ui-page { --ui-card: rgba(255, 255, 255, 0.035); --ui-card-h: rgba(255, 255, 255, 0.06); --ui-line: rgba(255, 255, 255, 0.08); --ui-red: #ff2740; --ui-gold: var(--wc-gold, #f5c451); --ui-green: var(--wc-streak-green, #2fd47a); color: var(--text-secondary); line-height: 1.65; }
/* H1: the home page hero's type (leagues/index.html .wc-home-nav-title). */
body.wc-mode .ui-page h1 { font-family: var(--font-body); font-weight: 800; font-size: clamp(32px, 7vw, 52px); line-height: 1.02; color: var(--text-primary); margin: 0 0 clamp(8px, 1.2vw, 12px); letter-spacing: -0.02em; text-transform: none; transform: none; text-wrap: balance; }
body.wc-mode .ui-page h1 .hub-accent, body.wc-mode .ui-page h1 em { color: #ff2740; font-style: normal; text-shadow: 0 0 9px rgba(255, 39, 64, 0.26), 0 0 22px rgba(255, 39, 64, 0.10); }
body.wc-mode .ui-page h2 { font-family: var(--font-display); font-weight: 800; font-size: clamp(20px, 2.4vw, 26px); color: var(--text-primary); margin: 40px 0 12px; line-height: 1.15; }
body.wc-mode .ui-page h2 a, body.wc-mode .ui-page h2 a:not([class]) { color: inherit; text-decoration: none; }
body.wc-mode .ui-page h3 { font-size: 16px; color: var(--text-primary); margin: 18px 0 6px; }
body.wc-mode .ui-page p, body.wc-mode .ui-page li { font-size: 15px; }
body.wc-mode .ui-page .ui-prose { max-width: 780px; }
body.wc-mode .ui-page .ui-prose p { margin: 0 0 14px; }
body.wc-mode .ui-page .ui-prose ul, body.wc-mode .ui-page .ui-prose ol { padding-left: 1.2em; display: grid; gap: 8px; }
body.wc-mode .ui-page .ui-prose strong { color: var(--text-primary); }
body.wc-mode .ui-page .ui-prose a, body.wc-mode .ui-page .ui-faq a, body.wc-mode .ui-page .ui-lead a, body.wc-mode .ui-page .hub-note a { color: var(--text-primary); text-decoration: underline; text-decoration-color: rgba(255, 39, 64, 0.55); text-underline-offset: 3px; text-decoration-thickness: 1px; }
body.wc-mode .ui-page .ui-prose a:hover { text-decoration-color: var(--ui-red); }
/* Any plain text link inside a content page (callouts, panels, notes): the
   house link style, never the browser's default blue. */
body.wc-mode .ui-page a:not([class]) { color: var(--text-primary); text-decoration: underline; text-decoration-color: rgba(255, 39, 64, 0.55); text-underline-offset: 3px; text-decoration-thickness: 1px; }
body.wc-mode .ui-page a:not([class]):hover { text-decoration-color: #ff2740; }
body.wc-mode .ui-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
body.wc-mode .hub-note { font-size: 13px; color: var(--text-muted); margin-top: 14px; }

/* Ticker inside a content page: full-bleed strip at the top of main. */
body.wc-mode .wc-db-main > .ui-ticker { position: relative; overflow: hidden; margin: 0 calc(-1 * clamp(20px, 3vw, 40px)) clamp(16px, 2vw, 22px); padding: 2px 0; background: rgba(255, 255, 255, 0.015); border-bottom: 1px solid rgba(255, 255, 255, 0.05); }
body.wc-mode .ui-ticker .wc-ticker-track { gap: 0; padding-left: 0; }
body.wc-mode .ui-ticker .wc-ticker-chip { background: transparent; border: 0; border-radius: 0; border-right: 1px solid rgba(255, 255, 255, 0.07); padding: 4px 16px; gap: 7px; text-decoration: none; }
body.wc-mode .ui-ticker .wc-ticker-chip:hover { background: rgba(255, 255, 255, 0.03); }
body.wc-mode .ui-ticker .wc-ticker-flag { width: 16px; height: 16px; object-fit: contain; }
body.wc-mode .ui-ticker .wc-ticker-name { font-family: var(--font-body); font-size: 12px; font-weight: 700; text-transform: none; letter-spacing: 0; color: var(--text-primary); }
body.wc-mode .ui-ticker .wc-ticker-meta { font-family: var(--font-mono); font-size: 12px; font-weight: 700; color: var(--text-muted); padding-right: 6px; border-right: 1px solid rgba(255, 255, 255, 0.1); }
body.wc-mode .ui-ticker .wc-ticker-meta b { color: var(--ui-gold); }
body.wc-mode .ui-ticker .wc-ticker-score { font-family: var(--font-mono); font-size: 12px; font-weight: 800; color: var(--ui-gold); }

/* Hero: breadcrumb, H1, one short line. Same shape as the home page hero.
   No eyebrow, glow or stat tiles (Josh, 2026-11-24: "un-AI it"). */
body.wc-mode .ui-hero { padding: clamp(14px, 2.4vw, 30px) 0 clamp(6px, 1vw, 10px); }
body.wc-mode .ui-hero-sub { display: inline-flex; align-items: center; gap: 9px; font-family: var(--font-body); font-weight: 500; font-size: clamp(14px, 1.5vw, 17px); letter-spacing: -0.005em; color: var(--text-secondary); margin: 0 0 clamp(10px, 1.6vw, 18px); }
body.wc-mode .ui-hero-sub-arrow { width: 1.05em; height: 1.05em; flex-shrink: 0; color: var(--text-secondary); animation: ui-hero-sub-bob 1.8s ease-in-out infinite; }
@keyframes ui-hero-sub-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(4px); } }
@media (prefers-reduced-motion: reduce) { body.wc-mode .ui-hero-sub-arrow { animation: none; } }
body.wc-mode .ui-lead { font-size: 16px; max-width: 760px; color: var(--text-secondary); margin: 0 0 16px; }

/* Filter bar: the acca page's controls (leagues/wc-acca.css .ac-days,
   .ac-tool, .ac-sel-menu). Days as an underlined strip with a count and a
   crest stack each; League and Bet type as drop-downs built on <details>. */
body.wc-mode .hub-bar { display: flex; align-items: flex-end; gap: 10px 16px; flex-wrap: wrap; margin: clamp(10px, 1.6vw, 16px) 0 4px; border-bottom: 1px solid var(--ui-line); }
body.wc-mode .hub-days { display: flex; gap: 2px; min-width: 0; overflow-x: auto; scrollbar-width: none; }
body.wc-mode .hub-days::-webkit-scrollbar { display: none; }
body.wc-mode .hub-day { display: inline-flex; align-items: center; gap: 7px; padding: 12px 14px; margin-bottom: -1px; border-bottom: 2px solid transparent; color: var(--text-muted); text-decoration: none; white-space: nowrap; font-family: var(--font-body); transition: color .15s, border-color .15s; }
body.wc-mode .hub-day:hover { color: #fff; border-bottom-color: rgba(255, 255, 255, 0.18); }
body.wc-mode .hub-day-d { font-size: 14px; font-weight: 700; }
body.wc-mode .hub-day-n { font-family: var(--font-mono); font-size: 12px; font-weight: 700; color: var(--text-muted); font-variant-numeric: tabular-nums; }
body.wc-mode .hub-day.on { color: #fff; border-bottom-color: #ff2740; }
body.wc-mode .hub-day.on .hub-day-n { color: #ff2740; }
body.wc-mode .hub-day.empty { opacity: 0.45; }
body.wc-mode .hub-crests { display: inline-flex; margin-left: 2px; }
body.wc-mode .hub-crest-w { position: relative; width: 20px; height: 20px; border-radius: 50%; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; background: #1a1d24; box-shadow: 0 0 0 2px #0b0d12; }
body.wc-mode .hub-crest-w + .hub-crest-w { margin-left: -6px; }
body.wc-mode .hub-crest { width: 100%; height: 100%; object-fit: contain; padding: 2px; }
body.wc-mode .hub-crest.ui-crest-fb { display: none; }

body.wc-mode .hub-tools { display: flex; gap: 8px; margin-left: auto; padding-bottom: 8px; }
body.wc-mode .hub-sel { position: relative; }
body.wc-mode .hub-tool { list-style: none; display: inline-flex; align-items: center; gap: 6px; min-height: 38px; padding: 8px 14px; background: rgba(255, 255, 255, 0.03); border: 1px solid var(--ui-line); border-radius: 10px; color: var(--text-secondary); font-family: var(--font-body); font-size: 13px; font-weight: 700; cursor: pointer; white-space: nowrap; user-select: none; transition: color .15s, border-color .15s, background .15s; }
body.wc-mode .hub-tool::-webkit-details-marker { display: none; }
body.wc-mode .hub-tool b { color: #fff; font-weight: 700; }
body.wc-mode .hub-tool:hover { color: #fff; border-color: rgba(255, 255, 255, 0.2); }
body.wc-mode .hub-sel[open] > .hub-tool { color: #fff; border-color: rgba(255, 39, 64, 0.4); background: rgba(255, 39, 64, 0.08); }
body.wc-mode .hub-chev { width: 7px; height: 7px; margin: -3px 0 0 4px; border: solid currentColor; border-width: 0 1.6px 1.6px 0; transform: rotate(45deg); transition: transform .15s; }
body.wc-mode .hub-sel[open] .hub-chev { transform: rotate(225deg) translateY(-2px); border-color: #ff2740; }
body.wc-mode .hub-menu { position: absolute; top: calc(100% + 6px); right: 0; z-index: 60; min-width: 240px; max-width: min(320px, calc(100vw - 32px)); max-height: 60vh; overflow-y: auto; padding: 6px; display: flex; flex-direction: column; gap: 1px; background: #0f1218; border: 1px solid var(--ui-line); border-radius: 10px; box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5); }
body.wc-mode .hub-menu-item { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 6px; color: rgba(255, 255, 255, 0.75); font-family: var(--font-body); font-size: 13px; font-weight: 600; text-decoration: none; transition: background .14s, color .14s; }
body.wc-mode .hub-menu-item:hover { background: rgba(255, 255, 255, 0.04); color: #fff; }
body.wc-mode .hub-menu-item.on { color: #fff; }
body.wc-mode .hub-menu-dot { position: relative; width: 16px; height: 16px; flex: 0 0 auto; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, 0.3); }
body.wc-mode .hub-menu-item.on .hub-menu-dot { background: #ff2740; border-color: #ff2740; }
body.wc-mode .hub-menu-item.on .hub-menu-dot::after { content: ''; position: absolute; left: 3.5px; top: 3.5px; width: 5px; height: 5px; border-radius: 50%; background: #fff; }
body.wc-mode .hub-menu-logo { width: 20px; height: 20px; object-fit: contain; flex: 0 0 auto; background: #fff; border-radius: 5px; padding: 2px; }
body.wc-mode .hub-menu-name { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 720px) {
  body.wc-mode .hub-bar { border-bottom: 0; }
  body.wc-mode .hub-days { width: 100%; border-bottom: 1px solid var(--ui-line); }
  body.wc-mode .hub-tools { margin-left: 0; padding-bottom: 0; }
  body.wc-mode .hub-menu { right: auto; left: 0; }
  body.wc-mode .hub-sel:last-child .hub-menu { left: auto; right: 0; }
}

/* Fixture cards. Josh, 2026-11-24: "slick, premium and clean", then "quite
   boring": crests in round wells, the favourite's figure lit, a meter under
   every figure, and the model's pick as a footer strip. Colour follows the
   house scale (probTier in lg-ui.js): green 65%+, amber 55-64%, else
   neutral. No glow, no lift. */
body.wc-mode .ui-fx-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 14px; margin: 14px 0; }
body.wc-mode .ui-fx { --fx-green: var(--ui-green, #2fd47a); --fx-amber: #fbbf24; position: relative; display: flex; flex-direction: column; gap: 16px; padding: 18px 18px 0; overflow: hidden; background: linear-gradient(180deg, #141821 0%, #0f1218 100%); border: 1px solid rgba(255, 255, 255, 0.07); border-radius: 18px; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 1px 2px rgba(0, 0, 0, 0.4); text-decoration: none; color: inherit; transition: border-color .2s, box-shadow .2s; }
body.wc-mode .ui-fx:hover { border-color: rgba(255, 255, 255, 0.16); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 10px 28px rgba(0, 0, 0, 0.45); }
body.wc-mode .ui-fx:focus-visible { outline: 2px solid #ff2740; outline-offset: 2px; }
body.wc-mode article.ui-fx { padding-bottom: 16px; }

body.wc-mode .ui-fx-meta { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-family: var(--font-body); font-size: 12px; font-weight: 600; letter-spacing: 0; text-transform: none; color: var(--text-muted); }
body.wc-mode .ui-fx-comp { display: inline-flex; align-items: center; gap: 8px; min-width: 0; color: var(--text-secondary); }
body.wc-mode .ui-fx-comp > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
body.wc-mode .ui-fx-comp-logo { width: 18px; height: 18px; object-fit: contain; background: #fff; border-radius: 5px; padding: 2px; flex: 0 0 auto; }
body.wc-mode .ui-fx-time { flex: 0 0 auto; white-space: nowrap; padding: 4px 9px; border-radius: 999px; background: rgba(255, 255, 255, 0.045); }
body.wc-mode .ui-fx-time i { font-style: normal; font-family: var(--font-mono); font-weight: 700; color: var(--text-primary); margin-left: 3px; }

body.wc-mode .ui-fx-teams { display: grid; gap: 10px; }
body.wc-mode .ui-fx-team { display: flex; align-items: center; gap: 12px; font-size: 16px; font-weight: 700; letter-spacing: -0.01em; color: var(--text-primary); }
body.wc-mode .ui-fx-team > span:not(.ui-fx-crest) { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
body.wc-mode .ui-fx-teams:has(.is-fav) .ui-fx-team:not(.is-fav) { color: var(--text-secondary); }
body.wc-mode .ui-fx-crest { display: inline-grid; place-items: center; width: 34px; height: 34px; flex: 0 0 auto; border-radius: 50%; background: rgba(255, 255, 255, 0.05); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06); }
body.wc-mode .ui-fx-crest .ui-crest { width: 22px; height: 22px; }
/* Win chance as a pill (Josh, 2026-11-24): a fixed width so the two line
   up, tinted in the figure's tier. The favourite's neutral pill is brighter. */
body.wc-mode .ui-fx-team b { display: inline-flex; align-items: center; justify-content: center; min-width: 54px; height: 28px; padding: 0 10px; border-radius: 999px; background: rgba(255, 255, 255, 0.05); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06); font-family: var(--font-mono); font-size: 14px; font-weight: 700; color: var(--text-muted); font-variant-numeric: tabular-nums; }
body.wc-mode .ui-fx-team.is-fav b { color: #fff; background: rgba(255, 255, 255, 0.09); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12); }
body.wc-mode .ui-fx-team b.is-high { color: var(--fx-green); background: rgba(47, 212, 122, 0.12); box-shadow: inset 0 0 0 1px rgba(47, 212, 122, 0.28); }
body.wc-mode .ui-fx-team b.is-mid { color: var(--fx-amber); background: rgba(251, 191, 36, 0.12); box-shadow: inset 0 0 0 1px rgba(251, 191, 36, 0.28); }
body.wc-mode article.ui-fx .ui-fx-team b { min-width: 34px; }

body.wc-mode .ui-fx-bar { display: flex; gap: 3px; height: 6px; margin-top: -4px; }
body.wc-mode .ui-fx-bar i { display: block; height: 100%; border-radius: 3px; min-width: 3px; }
body.wc-mode .ui-fx-bar .is-home { background: rgba(255, 39, 64, 0.55); }
body.wc-mode .ui-fx-bar .is-draw { background: rgba(255, 255, 255, 0.14); }
body.wc-mode .ui-fx-bar .is-away { background: rgba(255, 255, 255, 0.4); }
body.wc-mode .ui-fx-bar .is-home.is-fav { background: #ff2740; }
body.wc-mode .ui-fx-bar .is-away.is-fav { background: #fff; }

body.wc-mode .ui-fx-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); gap: 6px; margin: 0; }
body.wc-mode .ui-fx-stats > div { display: grid; gap: 4px; padding: 10px 10px 9px; min-width: 0; border-radius: 10px; background: rgba(255, 255, 255, 0.03); }
body.wc-mode .ui-fx-stats dt { font-size: 12px; font-weight: 600; line-height: 1.25; color: var(--text-muted); }
body.wc-mode .ui-fx-stats > div { align-content: space-between; }
body.wc-mode .ui-fx-stats dd { margin: 0; font-family: var(--font-mono); font-size: 15px; font-weight: 700; color: var(--text-primary); font-variant-numeric: tabular-nums; white-space: nowrap; }
body.wc-mode .ui-fx-meter { display: block; height: 3px; margin-top: 6px; border-radius: 2px; background: rgba(255, 255, 255, 0.07); overflow: hidden; }
body.wc-mode .ui-fx-meter i { display: block; height: 100%; border-radius: 2px; background: rgba(255, 255, 255, 0.35); }
body.wc-mode .ui-fx-stats .is-high dd { color: var(--fx-green); }
body.wc-mode .ui-fx-stats .is-high .ui-fx-meter i { background: var(--fx-green); }
body.wc-mode .ui-fx-stats .is-mid dd { color: var(--fx-amber); }
body.wc-mode .ui-fx-stats .is-mid .ui-fx-meter i { background: var(--fx-amber); }

/* The pick: a strip across the foot of the card, the one thing to read. */
body.wc-mode .ui-fx-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 0 -18px; padding: 12px 18px; border-top: 1px solid rgba(255, 255, 255, 0.06); background: rgba(255, 255, 255, 0.02); }
body.wc-mode .ui-fx-pick { display: inline-flex; gap: 8px; align-items: baseline; min-width: 0; font-size: 13px; font-weight: 700; color: var(--ui-green); }
body.wc-mode .ui-fx-pick span { font-family: var(--font-body); font-size: 12px; font-weight: 600; letter-spacing: 0; text-transform: none; color: var(--text-muted); }
body.wc-mode .ui-fx .ui-fx-pick { align-items: center; color: var(--text-primary); }
body.wc-mode .ui-fx .ui-fx-pick .ui-fx-pick-v { font-size: 14px; font-weight: 700; color: var(--text-primary); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
body.wc-mode .ui-fx .ui-fx-pick b { font-family: var(--font-mono); font-size: 13px; font-weight: 700; padding: 2px 7px; border-radius: 6px; background: rgba(255, 255, 255, 0.06); color: var(--text-primary); }
body.wc-mode .ui-fx .ui-fx-pick.is-high b { background: rgba(47, 212, 122, 0.14); color: var(--fx-green); }
body.wc-mode .ui-fx .ui-fx-pick.is-mid b { background: rgba(251, 191, 36, 0.14); color: var(--fx-amber); }
body.wc-mode .ui-fx .ui-fx-pick.is-close .ui-fx-pick-v { color: var(--text-secondary); font-weight: 600; }
body.wc-mode .ui-fx-wait { margin: 0; font-size: 13px; color: var(--text-muted); }
body.wc-mode .ui-fx-go { display: inline-grid; place-items: center; width: 30px; height: 30px; flex: 0 0 auto; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.1); color: var(--text-muted); transition: color .2s, border-color .2s, background .2s, transform .2s; }
body.wc-mode .ui-fx-go svg { width: 14px; height: 14px; }
body.wc-mode .ui-fx:hover .ui-fx-go { color: #fff; border-color: #ff2740; background: #ff2740; }
@media (prefers-reduced-motion: no-preference) { body.wc-mode .ui-fx:hover .ui-fx-go { transform: translateX(2px); } }
body.wc-mode .ui-fx-focus { display: flex; justify-content: space-between; align-items: baseline; padding: 10px 12px; border-radius: 10px; background: rgba(255, 255, 255, 0.035); border: 1px solid rgba(255, 255, 255, 0.06); font-size: 13px; font-weight: 600; color: var(--text-secondary); }
body.wc-mode .ui-fx-focus b { font-family: var(--font-mono); font-size: 20px; font-weight: 700; color: #fff; }
body.wc-mode .ui-crest { width: 22px; height: 22px; object-fit: contain; flex: 0 0 auto; }
body.wc-mode .ui-crest-fb { display: inline-grid; place-items: center; border-radius: 50%; background: rgba(255, 255, 255, 0.08); font-size: 9px; font-weight: 800; color: var(--text-muted); }
body.wc-mode .ui-chip { display: inline-flex; gap: 6px; align-items: baseline; padding: 4px 9px; border-radius: 999px; background: rgba(255, 255, 255, 0.05); font-size: 12px; font-weight: 700; color: var(--text-primary); }
body.wc-mode .ui-chip i { font-style: normal; font-weight: 600; color: var(--text-muted); }
body.wc-mode .ui-fx-cta { font-size: 12px; font-weight: 700; color: var(--text-muted); border-top: 1px solid var(--ui-line); padding-top: 8px; }
body.wc-mode .ui-fx:hover .ui-fx-cta { color: var(--text-primary); }

/* Probability bar and meter */
body.wc-mode .ui-meter { display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: center; font-size: 12px; }
body.wc-mode .ui-meter-label { color: var(--text-muted); }
body.wc-mode .ui-meter-track { height: 6px; border-radius: 999px; background: rgba(255, 255, 255, 0.07); overflow: hidden; }
body.wc-mode .ui-meter-fill { display: block; height: 100%; background: linear-gradient(90deg, var(--ui-red), #ff7a5c); border-radius: 999px; }
body.wc-mode .ui-meter-val { font-weight: 800; color: var(--text-primary); font-family: var(--font-mono); }

/* Player cards */
body.wc-mode .ui-pl-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; margin: 12px 0; }
body.wc-mode .ui-pl { display: grid; gap: 10px; padding: 14px 16px; background: var(--ui-card); border: 1px solid var(--ui-line); border-radius: 16px; text-decoration: none; color: inherit; transition: border-color .15s, background .15s; }
body.wc-mode .ui-pl:hover { border-color: rgba(255, 39, 64, 0.45); background: var(--ui-card-h); }
body.wc-mode .ui-pl-head { display: flex; align-items: center; gap: 10px; }
body.wc-mode .ui-pl-head div { flex: 1; display: grid; min-width: 0; }
body.wc-mode .ui-pl-head b { color: var(--text-primary); font-size: 15px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
body.wc-mode .ui-pl-head span { font-size: 12px; color: var(--text-muted); }
body.wc-mode .ui-pl-pct { font-family: var(--font-display); font-size: 24px; font-weight: 800; color: var(--text-primary); }
body.wc-mode .ui-pl-fx { font-size: 12px; color: var(--text-muted); }

/* Mini fixtures (sidebar style) */
/* Compact fixture links (related matches, sitemap): the fixture card's
   surface, hairline edge, quiet meta, a chevron that turns red on hover. */
body.wc-mode .ui-mini-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; margin: 14px 0; }
body.wc-mode .ui-mini { display: grid; gap: 8px; padding: 14px 16px; border-radius: 14px; background: linear-gradient(180deg, #141821 0%, #0f1218 100%); border: 1px solid rgba(255, 255, 255, 0.07); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04); text-decoration: none; color: inherit; transition: border-color .2s; }
body.wc-mode .ui-mini:hover { border-color: rgba(255, 255, 255, 0.16); }
body.wc-mode .ui-mini-meta { display: flex; justify-content: space-between; gap: 8px; font-family: var(--font-body); font-size: 12px; font-weight: 600; letter-spacing: 0; text-transform: none; color: var(--text-muted); }
body.wc-mode .ui-mini-meta span:first-child { color: var(--text-secondary); }
body.wc-mode .ui-mini-team { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 700; color: var(--text-primary); }
body.wc-mode .ui-mini-team span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
body.wc-mode .ui-mini .ui-crest { width: 20px; height: 20px; }
body.wc-mode .ui-mini-cta { font-size: 12px; font-weight: 700; color: var(--text-muted); transition: color .2s; }
body.wc-mode .ui-mini:hover .ui-mini-cta { color: #ff2740; }

/* Grouped lists: link lists, league lists and the about page's inputs.
   Josh, 2026-11-24: the icon-tile cards looked AI. One panel per list,
   hairline rows, two columns on wide screens, a figure and a chevron on the
   right. Same surface as the fixture cards. */
body.wc-mode .ui-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 360px), 1fr)); margin: 12px 0 8px; border: 1px solid rgba(255, 255, 255, 0.07); border-radius: 16px; overflow: hidden; background: linear-gradient(180deg, #131720 0%, #0f1218 100%); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04); }
body.wc-mode .ui-row { display: flex; align-items: center; gap: 14px; min-height: 60px; padding: 12px 18px; margin: 0 0 -1px -1px; border-left: 1px solid rgba(255, 255, 255, 0.06); border-bottom: 1px solid rgba(255, 255, 255, 0.06); color: inherit; text-decoration: none; transition: background .15s; }
body.wc-mode a.ui-row:hover { background: rgba(255, 255, 255, 0.03); }
body.wc-mode .ui-row.is-active { background: rgba(255, 39, 64, 0.06); }
body.wc-mode .ui-row-logo { width: 30px; height: 30px; flex: 0 0 auto; object-fit: contain; background: #fff; border-radius: 8px; padding: 3px; }
body.wc-mode .ui-row-body { flex: 1; display: grid; gap: 2px; min-width: 0; }
body.wc-mode .ui-row-name { font-size: 15px; font-weight: 700; letter-spacing: -0.005em; line-height: 1.3; color: var(--text-primary); }
body.wc-mode .ui-row-sub { font-size: 13px; line-height: 1.4; color: var(--text-muted); }
/* Dan's moved stat tiles: a list of facts, the figure on the right. */
body.wc-mode .ui-facts .ui-row-name { font-size: 14px; font-weight: 600; color: var(--text-secondary); white-space: normal; }
body.wc-mode .ui-facts .ui-row-name::first-letter { text-transform: uppercase; }
body.wc-mode .ui-facts .ui-row-val { font-size: 16px; color: var(--text-primary); }
body.wc-mode .ui-summary { max-width: none; }
body.wc-mode .ui-summary > p { max-width: 780px; }
body.wc-mode .ui-row-val { flex: 0 0 auto; font-family: var(--font-mono); font-size: 13px; font-weight: 700; color: var(--text-secondary); font-variant-numeric: tabular-nums; white-space: nowrap; }
body.wc-mode .ui-row-val.is-pill { display: inline-flex; align-items: center; justify-content: center; min-width: 54px; height: 28px; padding: 0 10px; border-radius: 999px; background: rgba(255, 255, 255, 0.05); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06); color: var(--text-primary); }
body.wc-mode .ui-row-val.is-high { color: var(--ui-green, #2fd47a); background: rgba(47, 212, 122, 0.12); box-shadow: inset 0 0 0 1px rgba(47, 212, 122, 0.28); }
body.wc-mode .ui-row-val.is-mid { color: #fbbf24; background: rgba(251, 191, 36, 0.12); box-shadow: inset 0 0 0 1px rgba(251, 191, 36, 0.28); }
body.wc-mode .ui-row-chev { width: 16px; height: 16px; flex: 0 0 auto; color: var(--text-muted); transition: color .15s, transform .15s; }
body.wc-mode a.ui-row:hover .ui-row-chev { color: #ff2740; }
@media (prefers-reduced-motion: no-preference) { body.wc-mode a.ui-row:hover .ui-row-chev { transform: translateX(2px); } }

/* Steps: a numbered list in one panel, numbers in mono, no red badges. */
body.wc-mode .ui-steps { list-style: none; counter-reset: uistep; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 360px), 1fr)); margin: 12px 0; border: 1px solid rgba(255, 255, 255, 0.07); border-radius: 16px; overflow: hidden; background: linear-gradient(180deg, #131720 0%, #0f1218 100%); }
body.wc-mode .ui-step { counter-increment: uistep; position: relative; display: grid; gap: 4px; padding: 16px 18px 16px 58px; margin: 0 0 -1px -1px; border-left: 1px solid rgba(255, 255, 255, 0.06); border-bottom: 1px solid rgba(255, 255, 255, 0.06); }
body.wc-mode .ui-step::before { content: counter(uistep, decimal-leading-zero); position: absolute; left: 18px; top: 17px; font-family: var(--font-mono); font-size: 14px; font-weight: 700; color: #ff2740; }
body.wc-mode .ui-step b { color: var(--text-primary); font-size: 15px; }
body.wc-mode .ui-step span { font-size: 13px; color: var(--text-muted); line-height: 1.55; }

/* FAQ: one panel, hairline rows, a chevron that turns. */
body.wc-mode .ui-faq { display: grid; max-width: 820px; border: 1px solid rgba(255, 255, 255, 0.07); border-radius: 16px; overflow: hidden; background: linear-gradient(180deg, #131720 0%, #0f1218 100%); }
body.wc-mode .ui-faq-item { border-bottom: 1px solid rgba(255, 255, 255, 0.06); }
body.wc-mode .ui-faq-item:last-child { border-bottom: 0; }
body.wc-mode .ui-faq-item summary { cursor: pointer; list-style: none; padding: 16px 50px 16px 18px; font-size: 15px; font-weight: 700; color: var(--text-primary); position: relative; transition: background .15s; }
body.wc-mode .ui-faq-item summary:hover { background: rgba(255, 255, 255, 0.025); }
body.wc-mode .ui-faq-item summary::-webkit-details-marker { display: none; }
body.wc-mode .ui-faq-item summary::after { content: ''; position: absolute; right: 22px; top: 50%; width: 7px; height: 7px; margin-top: -5px; border: solid var(--text-muted); border-width: 0 1.6px 1.6px 0; transform: rotate(45deg); transition: transform .15s; }
body.wc-mode .ui-faq-item[open] summary::after { transform: rotate(225deg); margin-top: -1px; border-color: #ff2740; }
body.wc-mode .ui-faq-a { padding: 0 18px 16px; }
body.wc-mode .ui-faq-a p { margin: 0; font-size: 14px; }

/* Panels: a framed group for a data section */

/* Tables that stay (league standings) */
body.wc-mode .hub-scroll { overflow-x: auto; margin: 0 0 12px; border: 1px solid var(--ui-line); border-radius: 14px; }
body.wc-mode .hub-table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
body.wc-mode .hub-table th, body.wc-mode .hub-table td { text-align: left; padding: 9px 12px; border-bottom: 1px solid rgba(255,255,255,0.06); white-space: nowrap; }
body.wc-mode .hub-table th { color: rgba(255, 255, 255, 0.78); font-family: var(--font-body); font-size: 13px; font-weight: 700; letter-spacing: 0; text-transform: none; background: rgba(255,255,255,0.03); }
body.wc-mode .hub-table td a { color: var(--text-primary); text-decoration: none; font-weight: 700; display: inline-flex; align-items: center; gap: 8px; }
body.wc-mode .hub-table td a:hover { color: #ff2740; }
body.wc-mode .hub-table tr:last-child td { border-bottom: 0; }
body.wc-mode .ui-form { display: inline-flex; gap: 3px; }
body.wc-mode .ui-form i { width: 18px; height: 18px; display: inline-grid; place-items: center; border-radius: 4px; font-style: normal; font-size: 12px; font-weight: 800; color: #0b0d12; }
body.wc-mode .ui-form i.w { background: var(--ui-green); } body.wc-mode .ui-form i.d { background: #9aa3b2; } body.wc-mode .ui-form i.l { background: var(--ui-red); color: #fff; }

/* Club chips (league hub and sitemap club lists) */
/* Club chips (club pages, league hubs, sitemap): the card surface, a
   hairline edge, no red hover. */
body.wc-mode .ui-clubs { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 8px; margin: 14px 0; }
body.wc-mode .ui-club { display: flex; align-items: center; gap: 10px; min-width: 0; padding: 11px 14px; border-radius: 12px; background: linear-gradient(180deg, #141821 0%, #0f1218 100%); border: 1px solid rgba(255, 255, 255, 0.07); color: var(--text-primary); font-size: 14px; font-weight: 600; text-decoration: none; transition: border-color .2s; }
body.wc-mode .ui-club > span:not(.ui-sr) { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
body.wc-mode .ui-club:hover { border-color: rgba(255, 255, 255, 0.16); }

/* Club page foot (render-squad.js clubRelatedHtml): Dan's next-game line,
   the fixtures, the league's other clubs and the league list. One divider,
   the hub type, quiet link underlines. */
body.wc-mode .wc-club-related { margin: clamp(40px, 5vw, 64px) 0 8px; padding-top: clamp(28px, 3vw, 40px); border-top: 1px solid rgba(255, 255, 255, 0.07); }
body.wc-mode .wc-club-related .wc-club-section-title { margin: 36px 0 12px; font-family: var(--font-body); font-size: clamp(20px, 2.2vw, 24px); font-weight: 800; letter-spacing: -0.01em; line-height: 1.2; text-transform: none; color: var(--text-primary); }
body.wc-mode .wc-club-related > .wc-club-section-title:first-child { margin-top: 0; }
body.wc-mode .wc-club-pred { max-width: 780px; margin: 0 0 14px; font-size: 15px; line-height: 1.65; color: var(--text-secondary); }
body.wc-mode .wc-club-pred a { color: var(--text-primary); text-decoration: underline; text-decoration-color: rgba(255, 255, 255, 0.28); text-underline-offset: 3px; text-decoration-thickness: 1px; }
body.wc-mode .wc-club-pred a:hover { text-decoration-color: rgba(255, 255, 255, 0.75); }

/* About page visuals */
body.wc-mode .ui-grid-demo { display: grid; grid-template-columns: auto repeat(6, 1fr); gap: 3px; font-family: var(--font-mono); font-size: 12px; max-width: 420px; }
body.wc-mode .ui-grid-demo span { padding: 6px 0; text-align: center; border-radius: 4px; color: var(--text-primary); }
body.wc-mode .ui-grid-demo .h { color: var(--text-muted); background: none; }
body.wc-mode .ui-callout { display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; border-radius: 16px; border: 1px solid rgba(255, 255, 255, 0.07); background: linear-gradient(180deg, #131720 0%, #0f1218 100%); margin: 16px 0; }
body.wc-mode .ui-callout p { margin: 0; font-size: 14px; }
body.wc-mode .ui-callout b { color: var(--text-primary); }
body.wc-mode .ui-callout .ui-ico { width: 20px; height: 20px; flex: 0 0 auto; margin-top: 1px; color: var(--text-muted); }

@media (max-width: 600px) {
  body.wc-mode .ui-fx-grid, body.wc-mode .ui-pl-grid { grid-template-columns: 1fr; }
}

/* Acca board: the server-rendered legs under the interactive board */
body.wc-mode .ac-seo { margin-top: 40px; padding-top: 8px; border-top: 1px solid rgba(255,255,255,0.06); }
body.wc-mode .ac-seo-why { margin: 0; font-size: 12.5px; line-height: 1.5; color: var(--text-muted); }
body.wc-mode .ac-seo-why b { color: var(--text-primary); font-weight: 700; }
body.wc-mode .ac-seo-leg .ui-fx-focus b { font-size: 15px; }

/* Winners page: the server-rendered winning picks */
body.wc-mode .rp-seo { margin-top: 40px; }
body.wc-mode .rp-seo-wins { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
body.wc-mode .rp-seo-wins li { font-size: 13px; color: var(--text-secondary); padding-left: 18px; position: relative; }
body.wc-mode .rp-seo-wins li::before { content: ''; position: absolute; left: 2px; top: 7px; width: 8px; height: 8px; border-radius: 50%; background: var(--wc-streak-green, #2fd47a); }
body.wc-mode .rp-seo-wins b { color: var(--text-primary); font-weight: 700; }

/* Community and leaderboard: the static explainer under the app */
body.wc-mode .cx-seo { max-width: 820px; margin: 40px auto 0; padding: 0 16px; }
body.wc-mode .cx-seo p a { color: var(--text-primary); text-decoration: underline; text-decoration-color: rgba(255,39,64,.55); text-underline-offset: 3px; }

/* ── About page: a long read (about.html) ─────────────────────────────────
   Josh, 2026-11-24, after Dribbble references (Veldt's article layout,
   Stellar UI's ruled process grid): a sticky contents list beside one
   reading column, the pipeline and match steps as a numbered timeline, the
   four-part sets as ruled grids, notes as a thin red rule, the figures as
   one typographic row. No boxes, glows or badges. */
body.wc-mode .ab-hero { padding-bottom: clamp(8px, 1.5vw, 16px); }
body.wc-mode .ab-lead { font-size: clamp(16px, 1.4vw, 18px); line-height: 1.65; max-width: 720px; color: var(--text-secondary); margin: 6px 0 0; }
body.wc-mode .ab-layout { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: clamp(32px, 4vw, 64px); margin-top: clamp(28px, 4vw, 48px); align-items: start; }
@media (max-width: 1180px) { body.wc-mode .ab-layout { grid-template-columns: minmax(0, 1fr); } body.wc-mode .ab-toc { display: none; } }

/* Contents */
/* overflow-x: hidden on the column would make it the scroll container and
   break sticky; clip trims the same overflow without that. */
body.wc-mode .wc-db-main:has(> .ab-layout) { overflow-x: clip; }
body.wc-mode .ab-toc { position: sticky; top: 112px; }
body.wc-mode .ab-toc-h { margin: 0 0 12px; font-size: 13px; font-weight: 700; color: var(--text-primary); }
body.wc-mode .ab-toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; border-left: 1px solid rgba(255, 255, 255, 0.08); }
body.wc-mode .ab-toc a, body.wc-mode .ui-page .ab-toc a:not([class]) { display: block; margin-left: -1px; padding: 6px 0 6px 14px; border-left: 2px solid transparent; font-size: 13px; line-height: 1.4; color: var(--text-muted); text-decoration: none; transition: color .15s, border-color .15s; }
body.wc-mode .ab-toc a:hover, body.wc-mode .ui-page .ab-toc a:not([class]):hover { color: var(--text-primary); }
body.wc-mode .ab-toc a.is-on, body.wc-mode .ui-page .ab-toc a.is-on { color: var(--text-primary); border-left-color: #ff2740; }

/* Reading column */
body.wc-mode .ab-body { max-width: 760px; min-width: 0; }
body.wc-mode .ab-sec { padding: clamp(36px, 4vw, 52px) 0; border-top: 1px solid rgba(255, 255, 255, 0.07); scroll-margin-top: 96px; }
body.wc-mode .ab-sec:first-child { padding-top: 0; border-top: 0; }
body.wc-mode .ab-sec h2 { margin: 0 0 16px; font-family: var(--font-body); font-size: clamp(22px, 2.4vw, 28px); font-weight: 800; letter-spacing: -0.015em; line-height: 1.15; }
body.wc-mode .ab-body p, body.wc-mode .ab-body li { font-size: 16px; line-height: 1.75; }
body.wc-mode .ab-body > .ab-sec > p { margin: 0 0 16px; }
body.wc-mode .ab-num { font-family: var(--font-mono); font-size: 13px; font-weight: 700; color: #ff2740; letter-spacing: 0; font-variant-numeric: tabular-nums; }

/* Timeline: number, then a hairline down to the next step */
body.wc-mode .ab-flow { list-style: none; margin: 24px 0 8px; padding: 0; }
body.wc-mode .ab-flow li { position: relative; display: grid; grid-template-columns: 44px minmax(0, 1fr); padding-bottom: 26px; }
body.wc-mode .ab-flow li:last-child { padding-bottom: 0; }
body.wc-mode .ab-flow li:not(:last-child)::before { content: ''; position: absolute; left: 9px; top: 28px; bottom: 6px; width: 1px; background: linear-gradient(180deg, rgba(255, 39, 64, 0.5), rgba(255, 255, 255, 0.08)); }
body.wc-mode .ab-flow .ab-num { padding-top: 3px; }
body.wc-mode .ab-flow b { display: block; font-size: 17px; font-weight: 700; color: var(--text-primary); margin-bottom: 4px; }
body.wc-mode .ab-flow p { margin: 0; color: var(--text-secondary); }

/* Ruled grid: two by two, hairlines only */
body.wc-mode .ab-grid { list-style: none; margin: 22px 0 18px; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid rgba(255, 255, 255, 0.09); }
body.wc-mode .ab-grid li { display: grid; align-content: start; gap: 8px; padding: 22px 24px 24px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.09); }
body.wc-mode .ab-grid li:nth-child(even) { padding: 22px 0 24px 24px; border-left: 1px solid rgba(255, 255, 255, 0.09); }
body.wc-mode .ab-grid b { font-size: 17px; font-weight: 700; color: var(--text-primary); padding-bottom: 10px; background: linear-gradient(#ff2740, #ff2740) left bottom / 20px 1px no-repeat; }
body.wc-mode .ab-grid p { margin: 0; font-size: 15px; color: var(--text-secondary); }
@media (max-width: 640px) {
  body.wc-mode .ab-grid { grid-template-columns: minmax(0, 1fr); }
  body.wc-mode .ab-grid li, body.wc-mode .ab-grid li:nth-child(even) { padding: 20px 0; border-left: 0; }
}

/* Points: a ruled list, the bold lead on its own line */
body.wc-mode .ab-points { list-style: none; margin: 20px 0; padding: 0; }
body.wc-mode .ab-points li { padding: 18px 0; border-top: 1px solid rgba(255, 255, 255, 0.07); color: var(--text-secondary); }
body.wc-mode .ab-points b { display: block; margin-bottom: 4px; color: var(--text-primary); }

/* A lead-in: the paragraph's first sentence in white, nothing else. */
body.wc-mode .ab-body p.ab-lead-in { margin: 24px 0 0; color: var(--text-secondary); }
body.wc-mode .ab-lead-in b { color: var(--text-primary); }

/* Bet responsibly: a compliance notice, not a callout. The real 18+ mark,
   small muted copy, neutral link underlines, a tappable helpline. */
body.wc-mode .ab-safer { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 20px 24px; align-items: start; padding: 20px 22px; border-radius: 16px; border: 1px solid rgba(255, 255, 255, 0.07); background: linear-gradient(180deg, #131720 0%, #0f1218 100%); }
body.wc-mode .ab-safer-mark { height: 28px; width: auto; margin-top: 3px; opacity: 0.75; }
body.wc-mode .ab-body .ab-safer p { margin: 0; font-size: 14px; line-height: 1.7; color: var(--text-muted); }
body.wc-mode .ab-safer b { font-weight: 600; color: var(--text-secondary); }
@media (max-width: 560px) { body.wc-mode .ab-safer { grid-template-columns: minmax(0, 1fr); } }

/* Links in the article: a quiet white underline, not the red one. */
body.wc-mode .ui-page .ab-body a:not([class]) { color: var(--text-primary); text-decoration: underline; text-decoration-color: rgba(255, 255, 255, 0.28); text-underline-offset: 3px; text-decoration-thickness: 1px; transition: text-decoration-color .15s; }
body.wc-mode .ui-page .ab-body a:not([class]):hover { text-decoration-color: rgba(255, 255, 255, 0.75); }
body.wc-mode .ui-page .ab-safer a:not([class]) { color: var(--text-secondary); }

/* Worked example: one card, like a live report */
body.wc-mode .ab-example { margin: 30px 0 22px; padding: clamp(18px, 2.4vw, 26px); border-radius: 18px; border: 1px solid rgba(255, 255, 255, 0.08); background: linear-gradient(180deg, #141821 0%, #0f1218 100%); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05); }
body.wc-mode .ab-example figcaption { display: grid; gap: 6px; margin-bottom: 18px; }
body.wc-mode .ab-example figcaption b { font-size: 16px; color: var(--text-primary); }
body.wc-mode .ab-example figcaption span { font-size: 13px; line-height: 1.55; color: var(--text-muted); }
body.wc-mode .ab-example .ui-grid-demo { max-width: none; gap: 4px; font-size: 12px; }
body.wc-mode .ab-example .ui-grid-demo span { padding: 9px 0; border-radius: 6px; }
body.wc-mode .ab-example-read { margin: 18px 0 0; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, 0.07); font-size: 14px !important; color: var(--text-secondary); }
body.wc-mode .ab-example-read b { font-family: var(--font-mono); color: var(--text-primary); }

/* Figures: one typographic row */
body.wc-mode .ab-figures { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 22px 0 0; border-top: 1px solid rgba(255, 255, 255, 0.09); border-bottom: 1px solid rgba(255, 255, 255, 0.09); }
body.wc-mode .ab-figures > div { padding: 22px 18px 22px 0; }
body.wc-mode .ab-figures > div + div { padding-left: 18px; border-left: 1px solid rgba(255, 255, 255, 0.09); }
body.wc-mode .ab-figures dt { font-family: var(--font-mono); font-size: clamp(24px, 2.6vw, 32px); font-weight: 700; line-height: 1.1; color: var(--text-primary); letter-spacing: -0.02em; }
/* Mono is for numbers only: a figure that is words uses the body face. */
body.wc-mode .ab-figures dt.ab-word { font-family: var(--font-body); font-size: clamp(22px, 2.2vw, 28px); letter-spacing: -0.015em; }
body.wc-mode .ab-figures dd { margin: 8px 0 0; font-size: 13px; line-height: 1.5; color: var(--text-muted); }
@media (max-width: 760px) {
  body.wc-mode .ab-figures { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body.wc-mode .ab-figures > div:nth-child(3) { padding-left: 0; border-left: 0; }
  body.wc-mode .ab-figures > div:nth-child(n+3) { border-top: 1px solid rgba(255, 255, 255, 0.09); }
}
