/* Over Oranje dashboard UI kit — layout + component styles.
   Uses tokens from ../../colors_and_type.css. */

* { box-sizing: border-box; }
html, body { margin: 0; }
body { background: var(--bg); color: var(--fg-1); }
button { font-family: inherit; }

.oo-app { min-height: 100vh; }

/* ---------- Header ---------- */
.oo-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--border);
}
.oo-header-in {
  max-width: 1200px; margin: 0 auto; height: 62px; padding: 0 24px;
  display: flex; align-items: center; gap: 22px;
}
.oo-logo { display: flex; align-items: center; gap: 11px; cursor: pointer; }
.oo-logo img { width: 30px; height: auto; display: block; }
.oo-logo .wm { font-family: var(--font-display); font-weight: 800; font-size: 21px; letter-spacing: -0.02em; color: var(--fg-1); display: flex; gap: 0; }
.oo-logo .wm .o { color: var(--accent); }

.oo-spacer { flex: 1; }
.oo-search { display: flex; align-items: center; gap: 8px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-sm); padding: 7px 11px; width: 200px; transition: border-color var(--dur), box-shadow var(--dur); }
.oo-search:focus-within { border-color: var(--accent); box-shadow: 0 0 0 3px var(--focus-ring); }
.oo-search svg { width: 15px; height: 15px; color: var(--fg-3); }
.oo-search input { border: none; outline: none; background: none; font-family: var(--font-body); font-size: 13px; color: var(--fg-1); width: 100%; }
.oo-search input::placeholder { color: var(--fg-3); }

.oo-icon-btn { width: 36px; height: 36px; border-radius: var(--r-sm); border: 1px solid var(--border); background: var(--surface); cursor: pointer; display: grid; place-items: center; color: var(--fg-2); transition: all var(--dur); }
.oo-icon-btn:hover { color: var(--fg-1); border-color: var(--border-strong); }
.oo-icon-btn svg { width: 17px; height: 17px; }

.oo-btn { font-family: var(--font-display); font-weight: 700; font-size: 13.5px; display: inline-flex; align-items: center; gap: 7px; cursor: pointer; border: 1px solid transparent; border-radius: var(--r-sm); padding: 9px 15px; transition: background var(--dur), transform var(--dur-fast); white-space: nowrap; }
.oo-btn svg { width: 15px; height: 15px; }
.oo-btn-primary { background: var(--accent); color: var(--accent-fg); }
.oo-btn-primary:hover { background: var(--accent-hover); }
.oo-btn-primary:active { transform: translateY(1px); }

/* ---------- Page grid ---------- */
.oo-page { max-width: 1200px; margin: 0 auto; padding: 26px 24px 64px; }
.oo-hero { display: grid; grid-template-columns: 1.35fr 1fr; gap: 18px; margin-bottom: 26px; }
.oo-cols { display: grid; grid-template-columns: 1fr 360px; gap: 26px; align-items: start; }
.oo-rail { display: flex; flex-direction: column; gap: 18px; position: sticky; top: 84px; }

.oo-section-head { display: flex; align-items: center; gap: 10px; margin: 0 0 13px; }
.oo-eyebrow { font-family: var(--font-display); font-weight: 700; font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--fg-3); }
.oo-section-head .more { margin-left: auto; font-family: var(--font-body); font-weight: 600; font-size: 12px; color: var(--link); cursor: pointer; display: inline-flex; align-items: center; gap: 4px; }
.oo-section-head .more svg { width: 13px; height: 13px; }

/* ---------- Card base ---------- */
.oo-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-md); box-shadow: var(--shadow-sm); }

/* ---------- Live / countdown block ---------- */
.oo-live { border-radius: var(--r-lg); padding: 20px 22px; display: flex; flex-direction: column; gap: 16px; }
.oo-live.count { background: var(--ink-900); color: var(--paper); border: 1px solid #2A2A2A; }
.oo-live.now { background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-md); }
.oo-live .lh { display: flex; align-items: center; gap: 8px; }
.oo-live .le { font-family: var(--font-display); font-weight: 700; font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; }
.oo-live.count .le { color: var(--accent); }
.oo-live.now .le { color: var(--loss); display: inline-flex; align-items: center; gap: 7px; }
.oo-live .pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--loss); animation: oo-pulse 1.4s ease-in-out infinite; }
@keyframes oo-pulse { 0%,100%{opacity:1} 50%{opacity:.3} }
.oo-live .min { margin-left: auto; font-family: var(--font-display); font-weight: 700; font-size: 14px; color: var(--loss); }
.oo-live .teams { display: flex; align-items: center; justify-content: space-between; }
.oo-team { display: flex; flex-direction: column; align-items: center; gap: 7px; width: 84px; }
.oo-flag { width: 40px; height: 28px; border-radius: 3px; box-shadow: var(--shadow-sm); overflow: hidden; }
.oo-flag svg, .oo-flag img { width: 100%; height: 100%; display: block; object-fit: cover; }
.oo-flag-blank { display: block; width: 100%; height: 100%; background: #8C8983; }
.oo-team .tn { font-family: var(--font-body); font-weight: 600; font-size: 13px; }
.oo-live.count .tn { color: var(--paper); }
.oo-live.now .tn { color: var(--fg-1); }
.oo-timer { font-family: var(--font-display); font-weight: 800; font-variant-numeric: tabular-nums; font-size: 38px; letter-spacing: 0.01em; color: var(--paper); }
.oo-bigscore { font-family: var(--font-display); font-weight: 800; font-variant-numeric: tabular-nums; font-size: 42px; color: var(--fg-1); display: flex; align-items: center; gap: 14px; }
.oo-bigscore .dash { color: var(--fg-3); }
.oo-live .sub { font-family: var(--font-body); font-size: 12px; }
.oo-live.count .sub { color: var(--ink-300); }
.oo-live.now .sub { color: var(--fg-3); }
.oo-live .toggle-state { margin-left: auto; font-family: var(--font-body); font-size: 11px; font-weight: 600; color: var(--ink-300); cursor: pointer; border: 1px solid #333; border-radius: var(--r-pill); padding: 3px 9px; background: transparent; }
.oo-live.now .toggle-state { color: var(--fg-3); border-color: var(--border); }

/* ---------- AI recap ---------- */
.oo-recap { padding: 18px 20px; display: flex; flex-direction: column; gap: 12px; position: relative; overflow: hidden; }
.oo-recap::before { content:""; position:absolute; left:0; top:0; bottom:0; width:3px; background: var(--accent); }
.oo-recap .rh { display: flex; align-items: center; gap: 9px; }
.oo-recap .spark { width: 28px; height: 28px; border-radius: var(--r-sm); background: var(--accent-wash); color: var(--oranje-600); display: grid; place-items: center; }
.oo-recap .spark svg { width: 16px; height: 16px; }
.oo-recap .rt { font-family: var(--font-display); font-weight: 700; font-size: 16px; color: var(--fg-1); }
.oo-recap .stamp { margin-left: auto; font-family: var(--font-body); font-weight: 500; font-size: 11px; color: var(--fg-3); }
.oo-recap .rb { font-family: var(--font-body); font-size: 13.5px; line-height: 1.6; color: var(--fg-2); }
.oo-recap .rb b { color: var(--fg-1); font-weight: 600; }
.oo-recap .disc { font-family: var(--font-body); font-size: 10.5px; color: var(--fg-3); display: inline-flex; align-items: center; gap: 5px; }
.oo-recap .disc svg { width: 12px; height: 12px; flex: none; }

/* ---------- News ---------- */
.oo-feed { display: flex; flex-direction: column; gap: 12px; }
.oo-news { position: relative; padding: 15px 17px; display: flex; flex-direction: column; gap: 9px; cursor: pointer; transition: box-shadow var(--dur), transform var(--dur), border-color var(--dur); }
.oo-news:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.oo-news .top { display: flex; align-items: center; gap: 9px; }
.oo-src { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; font-size: 9px; color: #fff; flex: none; }
.oo-src-name { font-family: var(--font-body); font-weight: 600; font-size: 12px; color: var(--fg-1); }
.oo-time { font-family: var(--font-body); font-weight: 500; font-size: 11.5px; color: var(--fg-3); margin-left: auto; }
.oo-headline { font-family: var(--font-display); font-weight: 700; font-size: 17px; line-height: 1.22; letter-spacing: -0.01em; color: var(--fg-1); }
.oo-excerpt { font-family: var(--font-body); font-size: 13px; line-height: 1.5; color: var(--fg-2); }
.oo-news .foot { display: flex; align-items: center; gap: 10px; }
.oo-cat { font-family: var(--font-body); font-weight: 600; font-size: 11.5px; padding: 4px 9px; border-radius: var(--r-pill); background: var(--surface-2); color: var(--fg-2); }
.oo-cat.accent { background: var(--accent-wash); color: var(--oranje-600); }
.oo-out { margin-left: auto; display: inline-flex; align-items: center; gap: 5px; font-family: var(--font-body); font-weight: 600; font-size: 12px; color: var(--link); }
.oo-out svg { width: 13px; height: 13px; }
.oo-news:hover .oo-out { color: var(--link-hover); }

/* ---------- Filters segmented ---------- */
.oo-seg { display: inline-flex; background: var(--surface-2); border-radius: var(--r-md); padding: 3px; gap: 2px; }
.oo-seg button { font-family: var(--font-display); font-weight: 700; font-size: 13px; border: none; background: transparent; color: var(--fg-2); padding: 7px 14px; border-radius: var(--r-sm); cursor: pointer; transition: all var(--dur); }
.oo-seg button.on { background: var(--surface); color: var(--fg-1); box-shadow: var(--shadow-sm); }

/* ---------- Standings ---------- */
.oo-stand { padding: 6px 16px 12px; }
.oo-stand table { width: 100%; border-collapse: collapse; font-family: var(--font-body); }
.oo-stand thead th { font-size: 10px; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; color: var(--fg-3); text-align: center; padding: 12px 0 9px; }
.oo-stand thead th.l { text-align: left; }
.oo-stand tbody td { padding: 9px 0; font-size: 12.5px; color: var(--fg-2); text-align: center; font-variant-numeric: tabular-nums; border-top: 1px solid var(--border); }
.oo-stand tbody td.l { text-align: left; }
.oo-stand tbody tr.me td { background: var(--accent-wash); }
.oo-stand .cellrow { display: inline-flex; align-items: center; }
.oo-stand .pos { font-family: var(--font-display); font-weight: 700; color: var(--fg-1); display: inline-flex; justify-content: center; min-width: 15px; margin-right: 12px; }
.oo-stand .team { display: inline-flex; align-items: center; gap: 8px; }
.oo-stand .sflag { width: 20px; height: 14px; border-radius: 2px; box-shadow: var(--shadow-sm); overflow: hidden; }
.oo-stand .sflag svg, .oo-stand .sflag img { width: 100%; height: 100%; display: block; object-fit: cover; }
.oo-stand .tnm { font-weight: 600; color: var(--fg-1); }
.oo-stand .pts { font-family: var(--font-display); font-weight: 700; color: var(--fg-1); }
.oo-form { display: inline-flex; gap: 3px; }
.oo-form .f { width: 8px; height: 8px; border-radius: 2px; }

/* ---------- Schedule (rail) ---------- */
.oo-sched { padding: 8px; display: flex; flex-direction: column; }
.oo-fix { display: flex; align-items: center; gap: 12px; padding: 11px 10px; border-radius: var(--r-sm); }
.oo-fix + .oo-fix { border-top: 1px solid var(--border); }
.oo-fix .fdate { font-family: var(--font-body); font-size: 11px; color: var(--fg-3); width: 56px; flex: none; }
.oo-fix .fmatch { display: flex; align-items: center; gap: 7px; flex: 1; }
.oo-fix .fflag { width: 18px; height: 13px; border-radius: 2px; overflow: hidden; box-shadow: var(--shadow-sm); }
.oo-fix .fflag svg, .oo-fix .fflag img { width: 100%; height: 100%; display: block; object-fit: cover; }
.oo-fix .fcode { font-family: var(--font-body); font-weight: 600; font-size: 12px; color: var(--fg-1); }
.oo-fix .fvs { font-family: var(--font-body); font-size: 11px; color: var(--fg-3); }
.oo-fix .fright { font-family: var(--font-display); font-weight: 700; font-size: 13px; font-variant-numeric: tabular-nums; }
.oo-fix .fright.win { color: var(--win); }
.oo-fix .ftime { font-family: var(--font-body); font-weight: 600; font-size: 11.5px; color: var(--fg-2); }

/* ---------- Squad chips ---------- */
.oo-squad { padding: 16px; }
.oo-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.oo-chip { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; font-family: var(--font-body); font-weight: 600; font-size: 12.5px; padding: 5px 11px 5px 6px; border-radius: var(--r-pill); background: var(--surface); border: 1px solid var(--border); color: var(--fg-1); transition: all var(--dur); }
.oo-chip .cnum { width: 21px; height: 21px; border-radius: 50%; background: var(--surface-2); color: var(--fg-2); display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; font-size: 10px; }
.oo-chip:hover { border-color: var(--border-strong); }
.oo-chip svg { width: 14px; height: 14px; }
.oo-chip.on { background: var(--accent-wash); border-color: var(--accent); color: var(--oranje-600); }
.oo-chip.on .cnum { background: var(--accent); color: #fff; }

.oo-disclaimer { max-width: 1200px; margin: 0 auto; padding: 0 24px 40px; font-family: var(--font-body); font-size: 11px; color: var(--fg-3); }

/* ==========================================================================
   OVER ORANJE — single-page dashboard additions (brief build)
   ========================================================================== */

/* ---- Header tagline ---- */
.oo-logo .tag { font-family: var(--font-body); font-weight: 500; font-size: 11px; color: var(--fg-3); margin-top: 2px; letter-spacing: 0; }
.oo-logo .wmwrap { display: flex; flex-direction: column; line-height: 1.05; }

/* ---- Page shell: top-to-bottom single column ---- */
.oo-main { max-width: 1180px; margin: 0 auto; padding: 28px 24px 24px; display: flex; flex-direction: column; gap: 30px; }
.oo-sec { scroll-margin-top: 78px; }
.oo-sec-head { display: flex; align-items: baseline; gap: 12px; margin: 0 0 14px; flex-wrap: wrap; }
.oo-sec-head .oo-eyebrow { color: var(--accent); }
.oo-sec-head h2 { margin: 0; font-family: var(--font-display); font-weight: 700; font-size: 22px; letter-spacing: -0.01em; color: var(--fg-1); }
.oo-sec-head .hint { font-family: var(--font-body); font-size: 12.5px; color: var(--fg-3); margin-left: auto; }

/* hero top: next-match + digest side by side, stack on narrow */
.oo-herotop { display: grid; grid-template-columns: 1.5fr 1fr; gap: 18px; align-items: stretch; }
.oo-herotop > .oo-nm, .oo-herotop > .oo-digest { height: 100%; }
@media (max-width: 980px) { .oo-herotop { grid-template-columns: 1fr; } }

/* ======================= HERO — next match =============================== */
.oo-nm { border-radius: var(--r-lg); padding: 22px 24px; display: flex; flex-direction: column; gap: 18px; }
.oo-nm.count { background: var(--ink-900); color: var(--paper); border: 1px solid #2A2A2A; }
.oo-nm.now { background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-md); }
.oo-nm .nmtop { display: flex; align-items: center; gap: 10px; }
.oo-nm .nmeye { font-family: var(--font-display); font-weight: 700; font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; display: inline-flex; align-items: center; gap: 8px; }
.oo-nm.count .nmeye { color: var(--accent); }
.oo-nm.now .nmeye { color: var(--loss); }
.oo-nm .nmstage { font-family: var(--font-body); font-size: 12px; }
.oo-nm.count .nmstage { color: var(--ink-300); }
.oo-nm.now .nmstage { color: var(--fg-3); }
.oo-nm .pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--loss); animation: oo-pulse 1.4s ease-in-out infinite; }
.oo-state-toggle { margin-left: auto; display: inline-flex; gap: 0; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.14); border-radius: var(--r-pill); padding: 2px; }
.oo-nm.now .oo-state-toggle { background: var(--surface-2); border-color: var(--border); }
.oo-state-toggle button { font-family: var(--font-display); font-weight: 700; font-size: 11px; letter-spacing: 0.02em; border: none; background: transparent; color: var(--ink-300); padding: 5px 11px; border-radius: var(--r-pill); cursor: pointer; transition: all var(--dur); }
.oo-nm.now .oo-state-toggle button { color: var(--fg-3); }
.oo-state-toggle button.on { background: var(--accent); color: #fff; }

.oo-nm .nmbody { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; }
.oo-nm .nmteam { display: flex; flex-direction: column; align-items: center; gap: 9px; }
.oo-nm .nmteam .oo-flag { width: 52px; height: 36px; }
.oo-nm .nmteam .nmname { font-family: var(--font-display); font-weight: 700; font-size: 16px; letter-spacing: -0.01em; }
.oo-nm.count .nmteam .nmname { color: var(--paper); }
.oo-nm.now .nmteam .nmname { color: var(--fg-1); }

/* countdown segments */
.oo-count { display: flex; align-items: flex-start; justify-content: center; gap: 8px; }
.oo-count .seg { display: flex; flex-direction: column; align-items: center; gap: 5px; }
.oo-count .segn { font-family: var(--font-display); font-weight: 800; font-variant-numeric: tabular-nums; font-size: 34px; line-height: 1; color: var(--paper); background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.10); border-radius: var(--r-sm); padding: 8px 9px; min-width: 50px; text-align: center; }
.oo-count .segl { font-family: var(--font-body); font-weight: 600; font-size: 9.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-400); }
.oo-count .cln { font-family: var(--font-display); font-weight: 800; font-size: 30px; color: var(--ink-500); padding-top: 6px; }

/* live score */
.oo-nm .nmscore { font-family: var(--font-display); font-weight: 800; font-variant-numeric: tabular-nums; font-size: 46px; line-height: 1; color: var(--fg-1); display: flex; align-items: center; gap: 16px; }
.oo-nm .nmscore .dash { color: var(--fg-3); font-weight: 600; }
.oo-nm .nmmin { display: inline-flex; align-items: center; gap: 7px; font-family: var(--font-display); font-weight: 700; font-size: 13px; color: var(--loss); }
.oo-nm .nmscorers { font-family: var(--font-body); font-size: 12px; color: var(--fg-3); text-align: center; }

/* venue + multi-timezone row */
.oo-nm .nmmeta { display: flex; align-items: center; gap: 8px; font-family: var(--font-body); font-size: 12.5px; }
.oo-nm.count .nmmeta { color: var(--ink-300); }
.oo-nm.now .nmmeta { color: var(--fg-2); }
.oo-nm .nmmeta svg { width: 14px; height: 14px; flex: none; }
.oo-tz { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.oo-tz .tzc { border-radius: var(--r-sm); padding: 9px 10px; display: flex; flex-direction: column; gap: 2px; }
.oo-nm.count .oo-tz .tzc { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08); }
.oo-nm.now .oo-tz .tzc { background: var(--surface-2); border: 1px solid var(--border); }
.oo-tz .tzc.home { border-color: var(--accent); }
.oo-tz .tzname { font-family: var(--font-body); font-weight: 600; font-size: 10.5px; letter-spacing: 0.03em; text-transform: uppercase; }
.oo-nm.count .tzname { color: var(--ink-400); }
.oo-nm.now .tzname { color: var(--fg-3); }
.oo-tz .tzt { font-family: var(--font-display); font-weight: 700; font-variant-numeric: tabular-nums; font-size: 18px; }
.oo-nm.count .tzt { color: var(--paper); }
.oo-nm.now .tzt { color: var(--fg-1); }
.oo-tz .tzm { font-family: var(--font-body); font-size: 9.5px; color: var(--fg-3); }
.oo-nm.count .tzm { color: var(--ink-500); }

.oo-nm .nmactions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.oo-btn-ghost { background: rgba(255,255,255,0.06); color: var(--paper); border: 1px solid rgba(255,255,255,0.16); }
.oo-btn-ghost:hover { background: rgba(255,255,255,0.12); }
.oo-nm.now .oo-btn-ghost { background: var(--surface-2); color: var(--fg-1); border-color: var(--border); }
.oo-nm.now .oo-btn-ghost:hover { background: var(--surface-3); }
.oo-cal-ok { font-family: var(--font-body); font-weight: 600; font-size: 12px; color: var(--win); display: inline-flex; align-items: center; gap: 6px; }
.oo-cal-ok svg { width: 15px; height: 15px; }

/* ======================= DIGEST — Dit heb je gemist ====================== */
.oo-digest { padding: 20px 22px; display: flex; flex-direction: column; gap: 13px; position: relative; overflow: hidden; }
.oo-digest::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--accent); }
.oo-digest .dh { display: flex; align-items: center; gap: 11px; flex-wrap: wrap; }
.oo-digest .spark { width: 32px; height: 32px; border-radius: var(--r-sm); background: var(--accent-wash); color: var(--oranje-600); display: grid; place-items: center; flex: none; }
.oo-digest .spark svg { width: 18px; height: 18px; }
.oo-digest .dt { font-family: var(--font-display); font-weight: 700; font-size: 19px; letter-spacing: -0.01em; color: var(--fg-1); }
.oo-aibadge { font-family: var(--font-display); font-weight: 700; font-size: 9.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--oranje-600); background: var(--accent-wash); border: 1px solid var(--accent); border-radius: var(--r-pill); padding: 3px 9px; display: inline-flex; align-items: center; gap: 5px; }
.oo-aibadge svg { width: 11px; height: 11px; }
.oo-digest .dstamp { margin-left: auto; font-family: var(--font-body); font-weight: 500; font-size: 11.5px; color: var(--fg-3); }
.oo-digest .db { font-family: var(--font-body); font-size: 15px; line-height: 1.65; color: var(--fg-2); max-width: 80ch; }
.oo-digest .db b { color: var(--fg-1); font-weight: 600; }
.oo-digest .ddisc { font-family: var(--font-body); font-size: 11px; color: var(--fg-3); display: inline-flex; align-items: center; gap: 6px; padding-top: 2px; }
.oo-digest .ddisc svg { width: 13px; height: 13px; flex: none; }

/* ======================= NEWS — category tabs + responsive grid ========= */
.oo-newstabs { display: inline-flex; margin-bottom: 18px; max-width: 100%; padding: 4px; gap: 4px; border: 1px solid var(--border); }
.oo-newstabs button { display: inline-flex; align-items: center; gap: 8px; font-size: 14.5px; padding: 10px 18px; }
.oo-newstabs button svg { width: 16px; height: 16px; opacity: 0.85; }
.oo-newstabs button:hover:not(.on) { color: var(--fg-1); background: var(--surface); }
.oo-newstabs button.on { background: var(--accent); color: #fff; box-shadow: var(--shadow-md); }
.oo-newstabs button.on svg { opacity: 1; }
.oo-newstabs button .cnt { font-family: var(--font-body); font-weight: 700; font-size: 10.5px; font-variant-numeric: tabular-nums; color: var(--fg-3); background: var(--surface); border-radius: var(--r-pill); padding: 1px 7px; min-width: 18px; text-align: center; }
.oo-newstabs button.on .cnt { background: rgba(255, 255, 255, 0.25); color: #fff; }
.oo-newsgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: start; }
.oo-empty { padding: 22px 16px; text-align: center; font-family: var(--font-body); font-size: 13px; color: var(--fg-3); border: 1px dashed var(--border-strong); border-radius: var(--r-md); }
.oo-empty.wide { grid-column: 1 / -1; padding: 40px 16px; }
.oo-empty b { color: var(--fg-2); }

/* ---- WK-programma (fourth tab) ---- */
.wkprog { display: flex; flex-direction: column; gap: 18px; }
.wkprog-bar { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.wkprog-note { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-body); font-size: 12px; color: var(--fg-3); }
.wkprog-note svg { width: 13px; height: 13px; flex: none; }

.wkgroups { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: start; }
.wkgroup { padding: 0; overflow: hidden; }
.wkgroup.me { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent), var(--shadow-sm); }
.wkg-head { display: flex; align-items: center; gap: 10px; padding: 13px 14px; border-bottom: 1px solid var(--border); }
.wkg-letter { width: 28px; height: 28px; border-radius: var(--r-sm); display: grid; place-items: center; font-family: var(--font-display); font-weight: 800; font-size: 14px; background: var(--surface-3); color: var(--fg-2); flex: none; }
.wkgroup.me .wkg-letter { background: var(--accent); color: #fff; }
.wkg-title { font-family: var(--font-display); font-weight: 700; font-size: 15px; letter-spacing: -0.01em; color: var(--fg-1); }
.wkg-badge { margin-left: auto; font-family: var(--font-display); font-weight: 700; font-size: 9px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--oranje-600); background: var(--accent-wash); border: 1px solid var(--accent); border-radius: var(--r-pill); padding: 2px 8px; }
.wkg-body { display: flex; flex-direction: column; }
.wkmd { padding: 9px 14px; border-bottom: 1px solid var(--border); display: flex; flex-direction: column; gap: 5px; }
.wkmd:last-child { border-bottom: none; }
.wkmd-date { font-family: var(--font-display); font-weight: 700; font-size: 9.5px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--fg-3); }
.wkrow { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 8px; padding: 3px 0; }
.wkrow.isnext { background: var(--accent-wash); margin: 0 -14px; padding: 4px 14px; }
.wkcode { font-family: var(--font-display); font-weight: 700; font-variant-numeric: tabular-nums; font-size: 13px; color: var(--fg-1); display: flex; align-items: center; gap: 6px; }
.wkcode.h { justify-content: flex-end; }
.wkcode.a { justify-content: flex-start; }
.oo-flag.wkflag { width: 18px; height: 13px; border-radius: 2px; flex: none; }
.wkcode.me { color: var(--oranje-600); }
.wkscore { font-family: var(--font-display); font-weight: 800; font-variant-numeric: tabular-nums; font-size: 14px; min-width: 46px; text-align: center; }
.wkscore.win { color: var(--win); }
.wkscore.loss { color: var(--loss); }
.wkscore.draw { color: var(--draw); }
.wktime { font-family: var(--font-body); font-weight: 600; font-size: 12px; color: var(--fg-2); min-width: 46px; text-align: center; font-variant-numeric: tabular-nums; }
.wktime .nextpill { font-family: var(--font-display); font-weight: 700; font-size: 8px; letter-spacing: 0.06em; text-transform: uppercase; color: #fff; background: var(--accent); border-radius: var(--r-pill); padding: 2px 6px; }

/* knockout bracket */
.wkko { display: flex; flex-direction: column; gap: 22px; }
.wkko-head { display: flex; align-items: baseline; gap: 10px; margin-bottom: 11px; }
.wkko-name { font-family: var(--font-display); font-weight: 700; font-size: 16px; letter-spacing: -0.01em; color: var(--fg-1); }
.wkko-window { font-family: var(--font-body); font-size: 12px; color: var(--fg-3); }
.wkko-ties { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.wktie { display: flex; align-items: center; gap: 10px; padding: 12px 14px; }
.wktie-no { font-family: var(--font-display); font-weight: 800; font-size: 10px; color: var(--fg-3); background: var(--surface-2); border-radius: var(--r-sm); padding: 3px 6px; flex: none; }
.wktie-cup { width: 24px; height: 24px; border-radius: var(--r-sm); background: var(--accent-wash); color: var(--oranje-600); display: grid; place-items: center; flex: none; }
.wktie-label { font-family: var(--font-display); font-weight: 700; font-size: 12.5px; color: var(--fg-1); flex: 1; min-width: 0; }
.wktie-when { font-family: var(--font-body); font-size: 11px; color: var(--fg-3); text-align: right; flex: none; display: flex; flex-direction: column; line-height: 1.3; font-variant-numeric: tabular-nums; }
.wktie-when .wt { font-weight: 600; color: var(--fg-2); }
.wktie.final { border-color: var(--accent); background: var(--accent-wash); }
.wktie.final .wktie-label { color: var(--oranje-600); }

/* social card — platform identity */
.oo-news.social { border-left: 3px solid var(--plat, var(--accent)); }
.oo-news.social .soc-head { display: flex; align-items: center; gap: 9px; }
.oo-news.social .picon { width: 28px; height: 28px; border-radius: var(--r-sm); display: grid; place-items: center; color: #fff; flex: none; }
.oo-news.social .picon svg { width: 15px; height: 15px; }
.soc-id { display: flex; flex-direction: column; line-height: 1.2; min-width: 0; }
.soc-id .pname { display: inline-flex; align-items: center; gap: 4px; font-family: var(--font-body); font-weight: 600; font-size: 12.5px; color: var(--fg-1); }
.soc-id .pname .vrf { color: var(--plat, var(--accent)); }
.soc-id .phandle { font-family: var(--font-body); font-size: 11px; color: var(--fg-3); }

/* media tile — Instagram graphic / YouTube thumbnail */
.oo-media { display: block; width: 100%; padding: 0; border: 1px solid var(--border); background: var(--surface-2); border-radius: var(--r-sm); overflow: hidden; cursor: pointer; position: relative; line-height: 0; transition: box-shadow var(--dur); }
.oo-media:hover { box-shadow: var(--shadow-md); }
.oo-media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.oo-media.video { aspect-ratio: 16 / 9; }
.oo-media.photo { aspect-ratio: 1 / 1; }
.oo-media .playbtn { position: absolute; inset: 0; margin: auto; width: 54px; height: 54px; border-radius: 50%; background: rgba(229,72,77,0.0); display: grid; place-items: center; pointer-events: none; }
.oo-media.video .playbtn { background: #FF0000; box-shadow: 0 4px 16px rgba(0,0,0,0.4); }
.oo-media .playbtn svg { width: 22px; height: 22px; color: #fff; margin-left: 2px; }
.oo-media:hover .playbtn { transform: scale(1.06); transition: transform var(--dur); }
.oo-media .dur { position: absolute; right: 8px; bottom: 8px; font-family: var(--font-body); font-weight: 600; font-size: 11px; color: #fff; background: rgba(0,0,0,0.82); padding: 2px 7px; border-radius: var(--r-xs); font-variant-numeric: tabular-nums; }
.oo-news .social-meta { display: inline-flex; align-items: center; gap: 5px; font-family: var(--font-body); font-size: 11.5px; color: var(--fg-3); font-variant-numeric: tabular-nums; }
.oo-news .social-meta svg { width: 12px; height: 12px; }

/* lightbox */
.oo-lb { position: fixed; inset: 0; z-index: 200; background: rgba(10,10,10,0.86); backdrop-filter: blur(6px); display: grid; place-items: center; padding: 24px; animation: oo-fade var(--dur) ease-out; }
@keyframes oo-fade { from { opacity: 0; } to { opacity: 1; } }
.oo-lb-x { position: absolute; top: 18px; right: 20px; width: 42px; height: 42px; border-radius: var(--r-pill); border: 1px solid rgba(255,255,255,0.2); background: rgba(255,255,255,0.08); color: #fff; cursor: pointer; display: grid; place-items: center; }
.oo-lb-x:hover { background: rgba(255,255,255,0.18); }
.oo-lb-in { display: flex; flex-direction: column; gap: 12px; max-width: min(880px, 92vw); width: 100%; }
.oo-lb-in.image { max-width: min(560px, 92vw); }
.oo-lb-video { width: 100%; aspect-ratio: 16 / 9; border-radius: var(--r-md); overflow: hidden; box-shadow: var(--shadow-lg); background: #000; }
.oo-lb-video iframe { width: 100%; height: 100%; border: 0; display: block; }
.oo-lb-in.image img { width: 100%; height: auto; max-height: 78vh; object-fit: contain; border-radius: var(--r-md); box-shadow: var(--shadow-lg); }
.oo-lb-cap { display: flex; align-items: center; gap: 14px; color: var(--paper); font-family: var(--font-body); font-size: 13.5px; }
.oo-lb-cap span { flex: 1; min-width: 0; }
.oo-lb-cap a { margin-left: auto; flex: none; display: inline-flex; align-items: center; gap: 5px; font-weight: 600; color: var(--paper); border: 1px solid rgba(255,255,255,0.25); border-radius: var(--r-pill); padding: 6px 13px; }
.oo-lb-cap a:hover { background: rgba(255,255,255,0.12); color: var(--paper); }

/* leading thumbnail tile — source/platform logo (rights-clean, no photos) */
.oo-news.thumbed { flex-direction: row; gap: 13px; align-items: flex-start; }
.oo-news.thumbed .nmain { display: flex; flex-direction: column; gap: 9px; flex: 1; min-width: 0; }
.oo-thumb { width: 62px; height: 62px; flex: none; border-radius: var(--r-sm); display: grid; place-items: center; align-self: flex-start; position: relative; overflow: hidden; box-shadow: inset 0 0 0 1px rgba(255,255,255,0.12); }
.oo-thumb::after { content: ""; position: absolute; right: -14px; bottom: -14px; width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,0.10); }
.oo-thumb .tm { font-family: var(--font-display); font-weight: 800; font-size: 23px; color: #fff; letter-spacing: -0.02em; position: relative; z-index: 1; }
.oo-thumb .tp { color: #fff; position: relative; z-index: 1; display: grid; place-items: center; }
.oo-plat { display: inline-flex; align-items: center; gap: 7px; }
.oo-plat .picon { width: 22px; height: 22px; border-radius: var(--r-sm); display: grid; place-items: center; color: #fff; flex: none; background: var(--plat, var(--accent)); }
.oo-plat .picon svg { width: 13px; height: 13px; }
.oo-plat .pname { font-family: var(--font-body); font-weight: 600; font-size: 12px; color: var(--fg-1); }
.oo-plat .phandle { font-family: var(--font-body); font-size: 11px; color: var(--fg-3); }
.oo-news .social-body { font-family: var(--font-body); font-size: 14px; line-height: 1.5; color: var(--fg-1); }
.oo-news .social-meta { font-family: var(--font-body); font-size: 11.5px; color: var(--fg-3); font-variant-numeric: tabular-nums; }
.oo-cat.plat { background: var(--plat-wash, var(--surface-2)); color: var(--plat, var(--fg-2)); }

/* player-tag chips on cards */
.oo-tags { display: inline-flex; gap: 6px; flex-wrap: wrap; }
.oo-ptag { font-family: var(--font-body); font-weight: 600; font-size: 10.5px; color: var(--fg-3); background: var(--surface-2); border-radius: var(--r-pill); padding: 2px 8px; cursor: pointer; transition: all var(--dur); }
.oo-ptag:hover { color: var(--oranje-600); background: var(--accent-wash); }

/* active player-filter bar */
.oo-filterbar { display: flex; align-items: center; gap: 12px; background: var(--accent-wash); border: 1px solid var(--accent); border-radius: var(--r-md); padding: 11px 14px; margin-bottom: 16px; flex-wrap: wrap; }
.oo-filterbar .fl { font-family: var(--font-body); font-size: 13px; color: var(--fg-2); }
.oo-filterbar .fp { font-family: var(--font-display); font-weight: 700; font-size: 13px; color: var(--oranje-600); display: inline-flex; align-items: center; gap: 7px; }
.oo-filterbar .fp .num { width: 19px; height: 19px; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center; font-size: 9.5px; }
.oo-filterbar .clear { margin-left: auto; font-family: var(--font-display); font-weight: 700; font-size: 12px; color: var(--oranje-600); background: none; border: none; cursor: pointer; display: inline-flex; align-items: center; gap: 5px; padding: 4px 6px; border-radius: var(--r-sm); }
.oo-filterbar .clear:hover { background: rgba(243,108,33,0.10); }
.oo-filterbar .clear svg { width: 14px; height: 14px; }

/* ======================= GROUP F — two-up ================================ */
.oo-groupgrid { display: grid; grid-template-columns: 1fr 0.85fr; gap: 18px; align-items: start; }
.oo-sub-head { display: flex; align-items: center; gap: 8px; margin: 0 0 11px; }
.oo-sub-head .se { font-family: var(--font-display); font-weight: 700; font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--fg-3); }
.oo-sched-md { font-family: var(--font-display); font-weight: 700; font-size: 10.5px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--fg-3); padding: 12px 12px 5px; }
.oo-fix.full { padding: 12px; }
.oo-fix.full .fteam { display: flex; align-items: center; gap: 8px; flex: 1; }
.oo-fix.full .fteam.away { flex-direction: row-reverse; text-align: right; }
.oo-fix.full .fflag { width: 22px; height: 15px; }
.oo-fix.full .fcode { font-size: 13px; }
.oo-fix.full .fmid { font-family: var(--font-display); font-weight: 800; font-variant-numeric: tabular-nums; font-size: 15px; color: var(--fg-1); min-width: 64px; text-align: center; }
.oo-fix.full .fmid.time { font-weight: 700; font-size: 12.5px; color: var(--fg-2); }
.oo-fix.full.isnext { background: var(--accent-wash); border-radius: var(--r-sm); }
.oo-fix.full .nextpill { font-family: var(--font-display); font-weight: 700; font-size: 8.5px; letter-spacing: 0.08em; text-transform: uppercase; color: #fff; background: var(--accent); border-radius: var(--r-pill); padding: 2px 7px; }

/* ======================= SQUAD — grouped chips =========================== */
.oo-squad2 { padding: 18px; display: flex; flex-direction: column; gap: 16px; }
.oo-squad-line .lh { font-family: var(--font-display); font-weight: 700; font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--fg-3); margin: 0 0 9px; display: flex; align-items: center; gap: 8px; }
.oo-squad-line .lh::after { content: ""; flex: 1; height: 1px; background: var(--border); }
.oo-chip .cstar { color: var(--accent); display: inline-flex; }
.oo-chip .cstar svg { width: 11px; height: 11px; }
.oo-squad-foot { font-family: var(--font-body); font-size: 12px; color: var(--fg-3); display: inline-flex; align-items: center; gap: 7px; }
.oo-squad-foot svg { width: 14px; height: 14px; }

/* ======================= ADD A SOURCE ==================================== */
.oo-addsrc { padding: 20px 22px; display: flex; flex-direction: column; gap: 14px; }
.oo-addsrc .ah { display: flex; align-items: center; gap: 11px; }
.oo-addsrc .ah .aicon { width: 32px; height: 32px; border-radius: var(--r-sm); background: var(--surface-2); color: var(--fg-2); display: grid; place-items: center; flex: none; }
.oo-addsrc .ah .aicon svg { width: 17px; height: 17px; }
.oo-addsrc .ah .at { font-family: var(--font-display); font-weight: 700; font-size: 16px; color: var(--fg-1); }
.oo-addsrc .ah .as { font-family: var(--font-body); font-size: 12px; color: var(--fg-3); }
.oo-addform { display: flex; gap: 10px; }
.oo-input { flex: 1; display: flex; align-items: center; gap: 9px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-sm); padding: 10px 13px; transition: border-color var(--dur), box-shadow var(--dur); }
.oo-input.bad { border-color: var(--loss); }
.oo-input:focus-within { border-color: var(--accent); box-shadow: 0 0 0 3px var(--focus-ring); }
.oo-input svg { width: 16px; height: 16px; color: var(--fg-3); flex: none; }
.oo-input input { border: none; outline: none; background: none; font-family: var(--font-body); font-size: 13.5px; color: var(--fg-1); width: 100%; }
.oo-input input::placeholder { color: var(--fg-3); }
.oo-addmsg { font-family: var(--font-body); font-size: 12px; display: inline-flex; align-items: center; gap: 6px; }
.oo-addmsg.err { color: var(--loss); }
.oo-addmsg.ok { color: var(--win); }
.oo-addmsg svg { width: 14px; height: 14px; }
.oo-srclist { display: flex; flex-direction: column; gap: 8px; }
.oo-srcrow { display: flex; align-items: center; gap: 10px; padding: 9px 12px; background: var(--surface-2); border-radius: var(--r-sm); }
.oo-srcrow .sd { width: 7px; height: 7px; border-radius: 50%; background: var(--win); flex: none; }
.oo-srcrow .su { font-family: var(--font-body); font-weight: 600; font-size: 12.5px; color: var(--fg-1); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.oo-srcrow .ss { font-family: var(--font-body); font-size: 11px; color: var(--fg-3); margin-left: auto; flex: none; }
.oo-srcrow .sx { background: none; border: none; cursor: pointer; color: var(--fg-3); display: grid; place-items: center; padding: 2px; border-radius: var(--r-xs); flex: none; }
.oo-srcrow .sx:hover { color: var(--loss); background: var(--loss-tint); }
.oo-srcrow .sx svg { width: 14px; height: 14px; }

/* ======================= FOOTER ========================================== */
.oo-footer { border-top: 1px solid var(--border); margin-top: 8px; }
.oo-footer-in { max-width: 1180px; margin: 0 auto; padding: 28px 24px 44px; display: flex; align-items: flex-start; gap: 24px; flex-wrap: wrap; }
.oo-footer .fcol { display: flex; flex-direction: column; gap: 8px; max-width: 560px; }
.oo-footer .fbrand { display: flex; align-items: center; gap: 9px; }
.oo-footer .fbrand img { width: 24px; height: auto; }
.oo-footer .fbrand .wm { font-family: var(--font-display); font-weight: 800; font-size: 16px; letter-spacing: -0.02em; color: var(--fg-1); }
.oo-footer .fbrand .wm .o { color: var(--accent); }
.oo-footer .fdisc { font-family: var(--font-body); font-size: 11.5px; line-height: 1.6; color: var(--fg-3); }
.oo-footer .fright { margin-left: auto; display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.oo-theme-row { display: inline-flex; align-items: center; gap: 10px; }
.oo-theme-row .tl { font-family: var(--font-body); font-weight: 500; font-size: 12px; color: var(--fg-3); }
.oo-theme-seg { display: inline-flex; background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--r-pill); padding: 3px; gap: 2px; }
.oo-theme-seg button { font-family: var(--font-display); font-weight: 700; font-size: 11px; border: none; background: transparent; color: var(--fg-3); padding: 6px 12px; border-radius: var(--r-pill); cursor: pointer; display: inline-flex; align-items: center; gap: 6px; transition: all var(--dur); }
.oo-theme-seg button svg { width: 13px; height: 13px; }
.oo-theme-seg button.on { background: var(--surface); color: var(--fg-1); box-shadow: var(--shadow-sm); }
.oo-footer .fcopy { font-family: var(--font-body); font-size: 11px; color: var(--fg-3); }

/* ======================= RESPONSIVE ====================================== */
@media (max-width: 980px) {
  .oo-groupgrid { grid-template-columns: 1fr; }
  .oo-newsgrid { grid-template-columns: repeat(2, 1fr); }
  .wkgroups { grid-template-columns: repeat(2, 1fr); }
  .wkko-ties { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .oo-header-in { padding: 0 16px; gap: 12px; }
  .oo-search { display: none; }
  .oo-main { padding: 20px 16px 20px; gap: 26px; }
  .oo-newsgrid { grid-template-columns: 1fr; }
  .wkgroups { grid-template-columns: 1fr; }
  .wkko-ties { grid-template-columns: 1fr; }
  .oo-newstabs { display: flex; width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .oo-newstabs::-webkit-scrollbar { display: none; }
  .oo-newstabs button { flex: 1 0 auto; white-space: nowrap; padding: 8px 12px; }
  .oo-tz { grid-template-columns: repeat(2, 1fr); }
  .oo-nm .nmbody { gap: 8px; }
  .oo-count .segn { font-size: 26px; min-width: 42px; padding: 7px 6px; }
  .oo-nm .nmscore { font-size: 38px; }
  .oo-nm .nmteam .nmname { font-size: 14px; }
  .oo-addform { flex-direction: column; }
  .oo-footer-in { flex-direction: column; }
  .oo-footer .fright { margin-left: 0; align-items: flex-start; }
  .oo-btn-followtxt { display: none; }
}
