/* ==========================================================================
   Sport hub — the shared main board for every sport (see components/sport_hub.html
   and js/sport_hub.js). Mobile-first; uses the global theme tokens so dark and
   light ([data-theme="light"]) both work.
   ========================================================================== */

.sport-hub [hidden] { display: none !important; }
.sport-hub {
    --hub-accent: #22c55e;
    --hub-accent2: #16a34a;
    --hub-ok: #3fb950;
    --hub-warn: #d29922;
    --hub-bad: #f85149;
    --hub-live: #f85149;
    --hub-info: #58a6ff;
    --hub-card-radius: 14px;
    --hub-surface: var(--bg-secondary);
    --hub-surface-2: var(--bg-tertiary);
    --hub-grade-aplus: #16a34a;
    --hub-grade-a: #22c55e;
    --hub-grade-b: #f59e0b;
    --hub-grade-c: #6b7280;
}
[data-theme="light"] .sport-hub {
    --hub-ok: #1a7f37;
    --hub-warn: #9a6700;
    --hub-bad: #cf222e;
    --hub-live: #cf222e;
    --hub-info: #0969da;
}

/* ── Hero ─────────────────────────────────────────────────────────────── */
.hub-hero { padding-bottom: var(--space-sm); }
.hub-title-wrap { min-width: 0; }
.hub-hero .picks-hero-sub { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 62vw; }
.hub-hero .date-nav-label { border: 0; background: transparent; font: inherit; font-size: 0.8rem; font-weight: 600; color: var(--text-primary); }
.hub-hero .date-nav-label:focus-visible,
.sport-hub button:focus-visible,
.sport-hub a:focus-visible,
.sport-hub select:focus-visible,
.sport-hub input:focus-visible,
.sport-hub summary:focus-visible {
    outline: 2px solid var(--hub-accent);
    outline-offset: 2px;
}

.hub-daystrip {
    display: flex;
    gap: 6px;
    margin-top: var(--space-md);
    overflow-x: auto;
    scrollbar-width: none;
    min-height: 46px;             /* reserved: no shift when JS fills it */
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x proximity;
}
.hub-daystrip::-webkit-scrollbar { display: none; }
.hub-day {
    flex: 0 0 auto;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    min-width: 56px; min-height: 44px;
    padding: 4px 10px;
    border-radius: 10px;
    border: 1px solid var(--border-color);
    background: var(--bg-secondary);
    color: var(--text-secondary);
    cursor: pointer;
    scroll-snap-align: center;
    transition: border-color .15s ease, background .15s ease, color .15s ease;
}
.hub-day:hover { color: var(--text-primary); border-color: var(--text-muted); }
.hub-day.active { background: var(--hub-accent2); border-color: var(--hub-accent2); color: #fff; }
.hub-day-top { font-size: 0.78rem; font-weight: 700; line-height: 1.1; }
.hub-day-sub { font-size: 0.66rem; opacity: .8; line-height: 1.2; }

/* ── Summary strip ────────────────────────────────────────────────────── */
.hub-summary {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-sm);
    margin-bottom: var(--space-md);
}
.hub-stat {
    background: var(--hub-surface);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 10px 12px;
    min-height: 78px;             /* skeleton and filled states share a height */
    min-width: 0;
}
.hub-stat-label { font-size: 0.68rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--text-muted); }
.hub-stat-main { font-size: 1.05rem; font-weight: 800; color: var(--text-primary); margin-top: 2px; line-height: 1.3; min-height: 1.35em; }
.hub-stat-sub { font-size: 0.75rem; color: var(--text-secondary); margin-top: 2px; line-height: 1.5; min-height: 1.5em; }
.hub-stat--links {
    grid-column: 1 / -1;
    min-height: 0;
    display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px;
    padding: 8px 12px;
}
.hub-roi { font-size: 0.85rem; font-weight: 800; }
.hub-roi.is-pos { color: var(--hub-ok); }
.hub-roi.is-neg { color: var(--hub-bad); }
.hub-muted { color: var(--text-muted); }
.hub-link {
    color: var(--text-link);
    font-size: 0.8rem; font-weight: 600;
    text-decoration: none;
    background: none; border: 0; padding: 0; cursor: pointer; font-family: inherit;
    min-height: 32px; display: inline-flex; align-items: center;
}
.hub-link:hover { text-decoration: underline; }

/* ── Toolbar ──────────────────────────────────────────────────────────── */
.hub-toolbar {
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-areas: "search sort" "markets markets";
    gap: var(--space-sm);
    align-items: center;
    margin-bottom: var(--space-sm);
}
.hub-search {
    grid-area: search;
    display: flex; align-items: center; gap: 8px;
    height: 40px;
    padding: 0 12px;
    background: var(--hub-surface);
    border: 1px solid var(--border-color);
    border-radius: 999px;
    color: var(--text-muted);
    min-width: 0;
}
.hub-search:focus-within { border-color: var(--hub-accent); }
.hub-search input {
    flex: 1; min-width: 0;
    border: 0; background: transparent; outline: none;
    color: var(--text-primary);
    font: inherit; font-size: 0.9rem;
}
.hub-search input:focus-visible { outline: none; }
.hub-sort {
    grid-area: sort;
    display: flex; align-items: center; gap: 6px;
    height: 40px; padding: 0 4px 0 12px;
    background: var(--hub-surface);
    border: 1px solid var(--border-color);
    border-radius: 999px;
}
.hub-sort-label { font-size: 0.72rem; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: .04em; }
.hub-sort select {
    border: 0; background: transparent; color: var(--text-primary);
    font: inherit; font-size: 0.82rem; font-weight: 600;
    height: 36px; padding-right: 6px; cursor: pointer;
}
.hub-sort select option { background: var(--bg-secondary); color: var(--text-primary); }
.hub-markets { grid-area: markets; overflow-x: auto; max-width: 100%; scrollbar-width: none; justify-self: start; }
.hub-markets::-webkit-scrollbar { display: none; }
.hub-markets .market-seg-btn { min-height: 34px; }

.hub-groups { margin: 0 0 var(--space-sm); padding-top: 0; border-top: 0; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
.hub-groups::-webkit-scrollbar { display: none; }
.hub-groups .picks-chip { flex: 0 0 auto; min-height: 36px; }

.hub-slate-meta { font-size: 0.78rem; color: var(--text-muted); margin: 0 2px var(--space-sm); min-height: 1.2em; }

/* ── Board / sections ─────────────────────────────────────────────────── */
.hub-board { min-height: 60vh; }
.hub-board[aria-busy="false"] { min-height: 0; }
.hub-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-md);
}
.hub-section + .hub-section, .hub-section + .hub-finals { margin-top: var(--space-lg); }
.hub-section-head {
    display: flex; align-items: baseline; gap: 8px;
    font-size: 0.95rem; font-weight: 800; color: var(--text-primary);
    margin: 0 2px var(--space-sm);
    padding-bottom: 6px;
    border-bottom: 1px solid var(--border-color);
}
.hub-section-head .picks-chip-dot { align-self: center; }
.hub-section-title { flex: 0 1 auto; }
.hub-section-count { margin-left: auto; font-size: 0.75rem; font-weight: 600; color: var(--text-muted); white-space: nowrap; }
.hub-section--live .hub-section-title::before {
    content: ''; display: inline-block; width: 8px; height: 8px; border-radius: 50%;
    background: var(--hub-live); margin-right: 8px; vertical-align: middle;
    animation: hub-pulse 1.6s ease-in-out infinite;
}
.hub-finals { margin-top: var(--space-lg); }
.hub-finals > summary {
    list-style: none;
    display: flex; align-items: center; gap: 8px;
    cursor: pointer;
    font-size: 0.95rem; font-weight: 800; color: var(--text-primary);
    padding: 10px 12px;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    background: var(--hub-surface);
    min-height: 44px;
}
.hub-finals > summary::-webkit-details-marker { display: none; }
.hub-finals-toggle::after { content: '▾'; display: inline-block; color: var(--text-muted); transition: transform .15s ease; }
.hub-finals[open] > summary { margin-bottom: var(--space-sm); }
.hub-finals[open] .hub-finals-toggle::after { transform: rotate(180deg); }

/* ── Card ─────────────────────────────────────────────────────────────── */
.hub-card {
    position: relative;
    display: flex; flex-direction: column;
    background: var(--hub-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--hub-card-radius);
    overflow: hidden;
    cursor: pointer;
    contain: layout paint;
    transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}
.hub-card:hover { border-color: var(--text-muted); box-shadow: var(--shadow-md); }
@media (hover: hover) { .hub-card:hover { transform: translateY(-1px); } }
.hub-card.has-pick::before {
    content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
    background: var(--hub-grade-b);
}
.hub-card.grade-aplus::before { background: var(--hub-grade-aplus); }
.hub-card.grade-a::before { background: var(--hub-grade-a); }
.hub-card.grade-c::before { background: var(--hub-grade-c); }
.hub-card.is-live { border-color: color-mix(in srgb, var(--hub-live) 45%, var(--border-color)); }
.hub-card.is-final { opacity: .92; }

.hub-card-top {
    display: flex; align-items: center; justify-content: space-between; gap: 8px;
    padding: 9px 12px 0 14px;
    min-height: 34px;
}
.hub-when { display: flex; align-items: center; gap: 8px; min-width: 0; font-size: 0.78rem; color: var(--text-secondary); }
.hub-time { font-family: var(--font-mono); font-weight: 600; white-space: nowrap; }
.hub-live {
    display: inline-flex; align-items: center; gap: 6px;
    font-weight: 800; font-size: 0.72rem; letter-spacing: .03em; text-transform: uppercase;
    color: var(--hub-live);
}
.hub-live-dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; animation: hub-pulse 1.6s ease-in-out infinite; }
.hub-final { font-weight: 800; font-size: 0.72rem; letter-spacing: .03em; text-transform: uppercase; color: var(--text-muted); }
.hub-group-tag {
    display: inline-flex; align-items: center; gap: 5px;
    font-size: 0.68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em;
    color: var(--text-muted);
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0;
}
.hub-badges { display: flex; align-items: center; gap: 5px; flex-shrink: 0; }
.hub-badge {
    font-size: 0.64rem; font-weight: 800; letter-spacing: .03em; text-transform: uppercase;
    padding: 2px 6px; border-radius: 6px; white-space: nowrap;
}
.hub-badge--move { color: var(--hub-info); background: color-mix(in srgb, var(--hub-info) 14%, transparent); }
.hub-badge--paper { color: var(--hub-warn); background: color-mix(in srgb, var(--hub-warn) 14%, transparent); }

.hub-grade {
    display: inline-flex; align-items: center; justify-content: center;
    min-width: 30px; height: 24px; padding: 0 6px;
    border-radius: 7px;
    font-size: 0.78rem; font-weight: 900; color: #fff;
    background: var(--hub-grade-c);
}
.hub-grade--aplus { background: var(--hub-grade-aplus); }
.hub-grade--a { background: var(--hub-grade-a); }
.hub-grade--b { background: var(--hub-grade-b); }
.hub-grade--c { background: var(--hub-grade-c); }
.hub-grade--na { background: var(--hub-surface-2); color: var(--text-muted); }
.hub-grade--sm { min-width: 24px; height: 18px; font-size: 0.66rem; border-radius: 5px; vertical-align: 1px; margin-right: 1px; }

/* Teams */
.hub-teams {
    display: flex; flex-direction: column; gap: 6px;
    padding: 8px 12px 6px 14px;
    color: inherit; text-decoration: none;
}
.hub-teams:hover .hub-team-name span { text-decoration: underline; text-decoration-color: var(--text-muted); }
.hub-team { display: flex; align-items: center; gap: 10px; min-height: 36px; }
.hub-logo { width: 28px; height: 28px; object-fit: contain; flex-shrink: 0; }
.hub-logo--txt {
    display: inline-flex; align-items: center; justify-content: center;
    border-radius: 50%;
    background: var(--hub-surface-2); color: var(--text-secondary);
    font-size: 0.56rem; font-weight: 800;
}
.hub-team-info { flex: 1; min-width: 0; }
.hub-team-name {
    display: flex; align-items: center; gap: 5px;
    font-size: 0.92rem; font-weight: 700; color: var(--text-primary);
    white-space: nowrap; overflow: hidden;
}
.hub-team-name span { overflow: hidden; text-overflow: ellipsis; }
.hub-rank { font-size: 0.68rem; font-weight: 800; color: var(--text-muted); flex-shrink: 0; }
.hub-team-sub {
    display: flex; align-items: center; gap: 4px; flex-wrap: nowrap;
    font-size: 0.72rem; color: var(--text-muted);
    white-space: nowrap; overflow: hidden;
}
.hub-team-sub > span { overflow: hidden; text-overflow: ellipsis; }
.hub-dot { opacity: .6; }
.hub-sub.hub-tone-ok { color: var(--hub-ok); }
.hub-sub.hub-tone-warn { color: var(--hub-warn); }
.hub-form { display: inline-flex; gap: 2px; margin-left: 6px; flex-shrink: 0; }
.hub-form i {
    font-style: normal; font-size: 0.56rem; font-weight: 800;
    width: 13px; height: 13px; border-radius: 3px;
    display: inline-flex; align-items: center; justify-content: center;
    color: #fff; background: var(--hub-grade-c);
}
.hub-form i.hub-form-W { background: #16a34a; }
.hub-form i.hub-form-L { background: #dc2626; }
.hub-form i.hub-form-D { background: #94a3b8; }
.hub-score { font-family: var(--font-mono); font-size: 1.3rem; font-weight: 800; color: var(--text-primary); min-width: 2ch; text-align: right; }
.hub-score.is-winner { color: var(--hub-ok); }
.hub-card.is-final .hub-score:not(.is-winner) { color: var(--text-muted); }
.hub-proj { font-family: var(--font-mono); font-size: 0.9rem; font-weight: 700; color: var(--text-muted); }

.hub-periods {
    display: flex; gap: 10px; padding: 0 12px 6px 14px;
    font-family: var(--font-mono); font-size: 0.72rem; color: var(--text-secondary);
    overflow-x: auto;
}
.hub-periods i { font-style: normal; color: var(--text-muted); margin-right: 3px; font-size: 0.62rem; }

/* Model lean */
.hub-lean { padding: 2px 12px 8px 14px; }
.hub-lean-head { display: flex; justify-content: space-between; gap: 8px; font-size: 0.74rem; color: var(--text-muted); margin-bottom: 4px; }
.hub-lean-label strong { color: var(--text-primary); font-weight: 800; }
.hub-lean-proj { font-family: var(--font-mono); white-space: nowrap; }
.hub-prob { display: flex; height: 6px; border-radius: 4px; overflow: hidden; background: var(--hub-surface-2); gap: 1px; }
.hub-prob-away { background: #58a6ff; }
.hub-prob-home { background: #f0883e; }
.hub-prob-draw { background: #94a3b8; }
.hub-prob--3 .hub-prob-home { background: #16a34a; }
.hub-prob--3 .hub-prob-away { background: #dc2626; }
.hub-prob-labels { display: flex; justify-content: space-between; font-size: 0.66rem; font-weight: 600; color: var(--text-muted); margin-top: 3px; }

/* Chips */
.hub-chips { display: flex; flex-wrap: wrap; gap: 5px; padding: 0 12px 8px 14px; }
.hub-chip {
    font-size: 0.68rem; font-weight: 600;
    padding: 2px 8px; border-radius: 999px;
    background: var(--hub-surface-2); color: var(--text-secondary);
    max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.hub-chip.hub-tone-warn { color: var(--hub-warn); background: color-mix(in srgb, var(--hub-warn) 13%, transparent); }
.hub-chip.hub-tone-info { color: var(--hub-info); background: color-mix(in srgb, var(--hub-info) 13%, transparent); }
.hub-chip.hub-tone-move { color: var(--hub-info); background: color-mix(in srgb, var(--hub-info) 10%, transparent); }

/* Odds grid (classes shared with syncBetSlipHighlights) */
.hub-odds {
    margin: 0 12px 8px 14px;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    overflow: hidden;
}
.hub-odds-row { display: grid; grid-template-columns: 48px repeat(var(--n, 3), minmax(0, 1fr)); }
.hub-odds .odds-col-headers { background: var(--hub-surface-2); }
.hub-odds .odds-col-header {
    font-size: 0.6rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase;
    color: var(--text-muted); text-align: center; padding: 5px 2px;
}
.hub-odds .odds-col-row { border-top: 1px solid var(--border-light); }
.hub-odds .odds-col-headers + .odds-col-row { border-top: 0; }
.hub-odds .odds-col-team {
    display: flex; align-items: center; justify-content: center;
    font-size: 0.66rem; font-weight: 800; color: var(--text-secondary);
    background: var(--hub-surface-2);
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap; padding: 0 2px;
}
.hub-odds .odds-col-item {
    position: relative;
    display: flex; flex-wrap: wrap; align-items: baseline; justify-content: center; column-gap: 4px;
    min-height: 44px;             /* touch target */
    padding: 6px 2px;
    border: 0; border-left: 1px solid var(--border-light);
    background: var(--bg-primary);
    color: var(--text-primary);
    font: inherit;
    cursor: pointer;
    transition: background .12s ease;
}
.hub-odds .odds-col-item:hover:not([disabled]) { background: color-mix(in srgb, var(--hub-accent) 16%, var(--bg-primary)); }
.hub-odds .odds-col-item.odds-empty { cursor: default; color: var(--text-muted); align-items: center; }
.hub-odds .odds-col-label { font-size: 0.6rem; font-weight: 800; color: var(--text-muted); }
.hub-odds .odds-col-line { font-family: var(--font-mono); font-size: 0.84rem; font-weight: 700; }
.hub-odds .odds-col-juice { font-family: var(--font-mono); font-size: 0.66rem; color: var(--text-muted); }
.hub-best {
    flex-basis: 100%; text-align: center;
    font-family: var(--font-mono); font-size: 0.58rem; font-weight: 700;
    color: var(--hub-ok); line-height: 1.1;
}
.hub-odds .odds-col-item.is-pick { box-shadow: inset 0 0 0 2px var(--hub-accent); }
.hub-odds .odds-col-item.in-slip { background: color-mix(in srgb, var(--hub-ok) 22%, var(--bg-primary)); box-shadow: inset 0 0 0 2px var(--hub-ok); }
.hub-odds .odds-col-item.in-slip::after { content: '✓'; position: absolute; top: 2px; right: 4px; font-size: 0.56rem; font-weight: 800; color: var(--hub-ok); }
.hub-odds.odds-locked .odds-col-item { cursor: not-allowed; opacity: .6; }
.hub-odds-empty { margin: 0 12px 8px 14px; padding: 10px; text-align: center; font-size: 0.74rem; color: var(--text-muted); border: 1px dashed var(--border-color); border-radius: 10px; }

/* Pick strip */
.hub-pick {
    display: flex; align-items: center; gap: 10px;
    margin: 0 12px 10px 14px;
    padding: 9px 10px;
    border-radius: 10px;
    border: 1px solid var(--border-color);
    background: var(--hub-surface-2);
    text-align: left;
    font: inherit; color: inherit;
    min-height: 48px;
    width: calc(100% - 26px);
}
button.hub-pick { cursor: pointer; }
.hub-pick-body { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.hub-pick-tag { font-size: 0.62rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: var(--text-muted); white-space: nowrap; }
.hub-pick-text { font-size: 0.9rem; font-weight: 800; color: var(--text-primary); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hub-pick-odds { font-family: var(--font-mono); font-size: 0.78rem; font-weight: 700; color: var(--text-secondary); }
.hub-pick-note { font-size: 0.78rem; color: var(--text-secondary); line-height: 1.35; }
.hub-pick-units {
    font-size: 0.74rem; font-weight: 800; color: var(--hub-ok);
    background: color-mix(in srgb, var(--hub-ok) 14%, transparent);
    padding: 3px 8px; border-radius: 999px; white-space: nowrap;
}
.hub-pick--published { border-color: color-mix(in srgb, var(--hub-ok) 40%, var(--border-color)); background: color-mix(in srgb, var(--hub-ok) 8%, var(--hub-surface)); }
button.hub-pick--published:hover { background: color-mix(in srgb, var(--hub-ok) 14%, var(--hub-surface)); }
.hub-pick--locked { border-style: dashed; }
.hub-pick-icon { font-size: 1rem; }
.hub-pick--held { border-color: color-mix(in srgb, var(--hub-warn) 45%, var(--border-color)); background: color-mix(in srgb, var(--hub-warn) 8%, var(--hub-surface)); flex-direction: column; align-items: flex-start; gap: 2px; }
.hub-pick--held .hub-pick-tag { color: var(--hub-warn); }
.hub-pick--paused { flex-direction: column; align-items: flex-start; gap: 2px; }
.hub-pick--paused .hub-pick-tag { color: var(--hub-info); }
.hub-pick--noedge { background: transparent; border-style: dashed; flex-direction: column; align-items: flex-start; gap: 2px; min-height: 0; }
.hub-pick-more { list-style: none; margin: -4px 12px 10px 14px; padding: 0; display: flex; flex-direction: column; gap: 3px; font-size: 0.76rem; color: var(--text-secondary); }
.hub-pick .pick-result-badge { flex-shrink: 0; }

.hub-card-foot {
    display: flex; justify-content: space-between; align-items: center; gap: 8px;
    margin-top: auto;
    padding: 8px 12px 8px 14px;
    border-top: 1px solid var(--border-color);
    font-size: 0.72rem; color: var(--text-muted);
    min-height: 40px;
}
.hub-foot-meta { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.hub-foot-link { color: var(--text-link); font-weight: 700; text-decoration: none; white-space: nowrap; padding: 6px 0; }
.hub-foot-link:hover { text-decoration: underline; }

/* ── Skeletons ────────────────────────────────────────────────────────── */
.hub-card--skeleton { cursor: default; padding: 12px 14px; gap: 10px; min-height: 318px; }
.hub-card--skeleton:hover { transform: none; box-shadow: none; border-color: var(--border-color); }
.hub-skel {
    display: block;
    border-radius: 6px;
    background: linear-gradient(90deg, var(--hub-surface-2) 0%, var(--bg-hover) 50%, var(--hub-surface-2) 100%);
    background-size: 200% 100%;
    animation: hub-shimmer 1.3s linear infinite;
}
.hub-skel--line { height: 12px; }
.hub-stat .hub-skel--line { margin-top: 8px; }
.hub-skel-team { display: flex; align-items: center; gap: 10px; }
.hub-skel--logo { width: 28px; height: 28px; border-radius: 50%; flex-shrink: 0; }
.hub-skel--bar { height: 6px; }
.hub-skel--odds { height: 112px; border-radius: 10px; }
.hub-skel--pick { height: 48px; border-radius: 10px; }

/* ── Empty / error / offseason ────────────────────────────────────────── */
.hub-state { margin: var(--space-md) 0 var(--space-xl); }
.hub-empty {
    text-align: center;
    padding: var(--space-xl) var(--space-md);
    border: 1px dashed var(--border-color);
    border-radius: 14px;
    background: var(--hub-surface);
}
.hub-empty h3 { font-size: 1.05rem; font-weight: 800; color: var(--text-primary); margin: 0 0 6px; }
.hub-empty p { font-size: 0.88rem; color: var(--text-secondary); margin: 0 auto; max-width: 440px; }
.hub-empty-icon {
    width: 44px; height: 44px; margin: 0 auto 10px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%;
    background: var(--hub-surface-2); color: var(--text-secondary);
    font-weight: 800; font-size: 1.2rem;
}
.hub-empty-actions { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 14px; margin-top: var(--space-md); }
.hub-btn {
    display: inline-flex; align-items: center; justify-content: center;
    min-height: 40px; padding: 0 16px;
    border-radius: 999px; border: 0;
    background: var(--hub-accent2); color: #fff;
    font: inherit; font-size: 0.85rem; font-weight: 700;
    text-decoration: none; cursor: pointer;
}
.hub-btn:hover { filter: brightness(1.08); }
.hub-btn--sm { min-height: 34px; padding: 0 12px; font-size: 0.78rem; flex-shrink: 0; }

/* ── How we grade dialog ──────────────────────────────────────────────── */
.hub-dialog {
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 0;
    background: var(--bg-secondary);
    color: var(--text-primary);
    max-width: min(520px, calc(100vw - 32px));
    box-shadow: var(--shadow-lg);
}
.hub-dialog::backdrop { background: rgba(0, 0, 0, .55); }
.hub-dialog-inner { padding: 20px; display: flex; flex-direction: column; gap: 10px; font-size: 0.88rem; line-height: 1.5; color: var(--text-secondary); }
.hub-dialog h2 { font-size: 1.1rem; font-weight: 800; color: var(--text-primary); margin: 0; }
.hub-grade-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 6px 12px; }
.hub-grade-list li { display: flex; align-items: center; gap: 8px; }
.hub-dialog-actions { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 4px; }

@keyframes hub-shimmer { to { background-position: -200% 0; } }
@keyframes hub-pulse { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }

/* ── Larger screens ───────────────────────────────────────────────────── */
@media (min-width: 700px) {
    .hub-summary { grid-template-columns: 1fr 1fr auto; }
    .hub-stat--links { grid-column: auto; flex-direction: column; align-items: flex-start; justify-content: center; gap: 2px; min-height: 78px; }
    .hub-toolbar { grid-template-columns: minmax(200px, 320px) 1fr auto; grid-template-areas: "search markets sort"; }
    .hub-markets { justify-self: center; }
    .hub-grid { grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); }
    .hub-hero .picks-hero-sub { max-width: 40vw; }
}
@media (max-width: 420px) {
    .hub-hero .picks-hero-top { flex-wrap: nowrap; }
    .hub-hero .picks-logo-mark { display: none; }
    .hub-hero .picks-hero-sub { max-width: 44vw; }
    .hub-stat-main { font-size: 0.98rem; }
}

@media (prefers-reduced-motion: reduce) {
    .hub-skel, .hub-live-dot, .hub-section--live .hub-section-title::before { animation: none; }
    .hub-card, .hub-day { transition: none; }
}
