:root {
    --bg: #0b0d12;
    --panel: #161a23;
    --panel-2: #1f2532;
    --line: #2a3142;
    --ink: #e6e9ef;
    --ink-dim: #8a93a6;
    --accent: #3ddc97;
    --accent-2: #ffd166;
    --danger: #ef476f;
    --link: #6fb1ff;
}

* { box-sizing: border-box; }

html, body {
    margin: 0;
    padding: 0;
    background: var(--bg);
    color: var(--ink);
    font-family: 'Roboto', system-ui, sans-serif;
    font-size: 16px;
    line-height: 1.4;
}

a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; }

.nav {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 14px 22px;
    background: var(--panel);
    border-bottom: 1px solid var(--line);
    flex-wrap: wrap;
}
.nav .brand {
    font-weight: 700;
    font-size: 20px;
    color: var(--accent);
    display: inline-flex;
    align-items: center;
    gap: 10px;
}
.nav .brand img {
    height: 32px;
    width: auto;
    filter: invert(1);
}
.nav nav {
    display: flex;
    gap: 16px;
    flex: 1;
}
.nav nav a { color: var(--ink-dim); }
.nav nav a:hover { color: var(--ink); text-decoration: none; }
.nav .logout { color: var(--ink-dim); font-size: 14px; }
.nav .logout:hover { color: var(--ink); text-decoration: none; }

main {
    max-width: 1525px;
    margin: 0 auto;
    padding: 22px;
}

h1, h2, h3 { margin: 0 0 16px; font-weight: 700; }
h1 { font-size: 28px; }
h2 { font-size: 22px; }
h3 { font-size: 18px; }

.muted { color: var(--ink-dim); }
.banner {
    padding: 12px 14px;
    border-radius: 8px;
    background: var(--panel);
    border: 1px solid var(--line);
    margin-bottom: 16px;
}
.banner.warn  { border-color: var(--accent-2); }
.banner.error { border-color: var(--danger); color: #ffd9e2; }
.banner.ok    { border-color: var(--accent); }

button, .btn {
    background: var(--accent);
    color: #062014;
    border: 0;
    padding: 10px 18px;
    border-radius: 6px;
    font-weight: 700;
    cursor: pointer;
    font-size: 15px;
    display: inline-block;
    text-decoration: none;
}
button.secondary, .btn.secondary {
    background: var(--panel-2);
    color: var(--ink);
    border: 1px solid var(--line);
}
button:hover, .btn:hover { filter: brightness(1.06); text-decoration: none; }

input[type=text], input[type=email], input[type=password], input[type=number], input[type=datetime-local], textarea, select {
    background: var(--panel-2);
    color: var(--ink);
    border: 1px solid var(--line);
    border-radius: 6px;
    padding: 8px 10px;
    font: inherit;
    font-size: 15px;
}
input:focus, select:focus, textarea:focus {
    outline: 2px solid var(--accent);
    outline-offset: 1px;
}

/* ---------- Login / signup ---------- */
.auth-card {
    max-width: 420px;
    margin: 40px auto;
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 28px;
}
.auth-card .tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 18px;
}
.auth-card .tabs a {
    flex: 1;
    text-align: center;
    padding: 10px;
    border-radius: 8px;
    background: var(--panel-2);
    color: var(--ink-dim);
    border: 1px solid var(--line);
}
.auth-card .tabs a.active { color: var(--ink); border-color: var(--accent); }
.auth-card label { display: block; margin: 12px 0 4px; color: var(--ink-dim); font-size: 14px; }
.auth-card input { width: 100%; }
.auth-card button { width: 100%; margin-top: 18px; padding: 12px; }

form.bets {
    max-width: 1100px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px 28px;
}
form.bets input[type="hidden"] { display: none; }
form.bets .field { display: flex; flex-direction: column; gap: 8px; }
form.bets label { color: var(--ink-dim); font-size: 18px; }
form.bets input { width: 100%; font-size: 24px; padding: 16px 18px; }
form.bets button {
    grid-column: 1 / -1;
    justify-self: start;
    margin-top: 12px;
    padding: 16px 32px;
    font-size: 18px;
}
@media (max-width: 720px) {
    form.bets { grid-template-columns: 1fr; gap: 18px; }
}

dl.derived { max-width: 620px; display: grid; grid-template-columns: 1fr auto; row-gap: 10px; column-gap: 24px; margin: 0; }
dl.derived dt { color: var(--ink-dim); align-self: center; }
dl.derived dd { margin: 0; font-weight: 700; font-size: 18px; text-align: right; }

/* Prediction-vs-actual comparison table (stats.php) */
.statcompare { width: 100%; max-width: 640px; border-collapse: collapse; }
.statcompare th, .statcompare td { padding: 10px 12px; border-bottom: 1px solid var(--line); font-size: 16px; }
.statcompare thead th { color: var(--ink-dim); font-weight: 600; font-size: 13px; }
.statcompare th:first-child { text-align: left; }
.statcompare th:nth-child(2), .statcompare th:nth-child(3) { text-align: right; }
.statcompare td.lbl   { color: var(--ink-dim); }
.statcompare td.mine  { text-align: right; }
.statcompare td.fasit { text-align: right; color: var(--accent); font-weight: 700; }
.statcompare tbody tr:last-child td { border-bottom: none; }

/* Rules page */
article.rules { max-width: 720px; margin: 0 auto; font-size: 17px; line-height: 1.6; }
article.rules h1 { font-size: 32px; margin: 12px 0 28px; }
article.rules section { margin-bottom: 32px; }
article.rules h2 { color: var(--accent); font-size: 20px; margin-bottom: 12px; }
article.rules p { margin: 0 0 12px; }
article.rules ul { padding-left: 22px; margin: 0; }
article.rules ul ul { margin-top: 6px; }
article.rules li { margin-bottom: 8px; }
article.rules .note { color: var(--ink-dim); font-style: italic; border-left: 3px solid var(--accent-2); padding-left: 12px; }
article.rules .cta { display: flex; gap: 12px; margin-top: 32px; }

/* ---------- Index — group cards ---------- */
.cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 14px;
}

.countdown {
    background: linear-gradient(135deg, var(--panel) 0%, var(--panel-2) 100%);
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 28px 24px;
    margin-bottom: 28px;
    display: flex;
    align-items: baseline;
    gap: 16px;
    flex-wrap: wrap;
}
.countdown-num {
    font-size: 64px;
    font-weight: 700;
    line-height: 1;
    color: var(--accent);
}
.countdown-label {
    font-size: 20px;
    color: var(--ink-dim);
}
.countdown.live .countdown-label { color: var(--accent-2); font-size: 22px; }

/* Home: upcoming games (left) + leaderboard (right) side by side. */
.home-cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    align-items: start;
}
.home-cols .results,
.home-cols .fixtures,
.home-cols .leaderboard { max-width: none; margin-bottom: 0; }
.home-left .results { margin-bottom: 28px; }
@media (max-width: 760px) {
    .home-cols { grid-template-columns: 1fr; gap: 28px; }
}

/* Game row: time | home | score | away, with all-user predictions on row 2 */
.gm {
    display: grid;
    grid-template-columns: 46px minmax(0,1fr) auto minmax(0,1fr);
    align-items: center;
    column-gap: 10px;
    row-gap: 2px;
    padding: 8px 4px 6px;
    border-bottom: 1px solid var(--line);
}
.gm-t { grid-column: 1; grid-row: 1; font-size: 14px; color: var(--ink-dim); }
.gm-h { grid-column: 2; grid-row: 1; text-align: right; font-weight: 600; overflow-wrap: anywhere; }
.gm-s { grid-column: 3; grid-row: 1; font-weight: 700; font-size: 18px; white-space: nowrap; text-align: center; }
.gm-a { grid-column: 4; grid-row: 1; font-weight: 600; overflow-wrap: anywhere; }
.gm-all-preds {
    grid-column: 1 / -1;
    grid-row: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    padding-bottom: 2px;
}
.gm-upred { font-size: 12px; color: var(--ink-dim); white-space: nowrap; }
.gm-upred b { font-weight: 600; }
.gm-upred.me b { color: var(--ink); }
.gm-upred.pts-3 { color: var(--accent); }
.gm-upred.pts-1 { color: var(--accent-2); }
.gm-upred.pts-0 { opacity: 0.55; }

.fixtures { max-width: 560px; margin-bottom: 32px; }
.sp-section { max-width: 760px; }

/* Player predictions view: time | home | tips | fasit | away | pts */
.pg {
    display: grid;
    grid-template-columns: 46px minmax(0,1fr) 58px 58px minmax(0,1fr) 42px;
    align-items: center;
    gap: 8px;
    padding: 8px 4px;
    border-bottom: 1px solid var(--line);
}
.pg-pred { font-size: 15px; font-weight: 600; white-space: nowrap; text-align: center; color: var(--ink-dim); }
.pg-act  { font-size: 18px; font-weight: 700; white-space: nowrap; text-align: center; }

.back-link { margin-bottom: 8px; font-size: 14px; }
.back-link a { color: var(--ink-dim); text-decoration: none; }
.back-link a:hover { color: var(--ink); }

.user-switcher {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--line);
}
.user-switcher a {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    color: var(--ink-dim);
    border: 1px solid var(--line);
}
.user-switcher a:hover { color: var(--ink); border-color: var(--ink-dim); text-decoration: none; }
.user-switcher a.active { color: var(--accent); border-color: var(--accent); background: rgba(61,220,151,0.08); }
.fixtures h2 { margin-bottom: 4px; }
.fx-day {
    margin: 18px 0 6px;
    font-size: 14px;
    color: var(--accent-2);
    border-bottom: 1px solid var(--line);
    padding-bottom: 4px;
}

.leaderboard { max-width: 520px; }
.leaderboard h2 { margin-bottom: 10px; }
.leaderboard table { width: 100%; border-collapse: collapse; }
.leaderboard th, .leaderboard td {
    padding: 12px 14px;
    border-bottom: 1px solid var(--line);
    text-align: center;
    font-size: 18px;
}
.leaderboard th { color: var(--ink-dim); font-weight: 600; font-size: 13px; }
.leaderboard td.who { text-align: left; font-weight: 600; overflow-wrap: anywhere; }
.player-link { color: inherit; text-decoration: none; }
.player-link:hover { text-decoration: underline; }
.leaderboard td.pts { color: var(--accent); }
.leaderboard tbody tr.me td { background: rgba(61, 220, 151, 0.08); }
.leaderboard tbody tr:last-child td { border-bottom: none; }
.k92-tip { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line); }
.k92-tip h3 { font-size: 13px; color: var(--ink-dim); font-weight: 600; margin-bottom: 8px; }
.k92-matchup { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 15px; flex-wrap: wrap; }
.k92-matchup .k92-vs { color: var(--ink-dim); font-weight: 400; }

.status { margin-bottom: 8px; }
.status h2 { font-size: 18px; color: var(--ink-dim); font-weight: 400; }
.card {
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 18px;
    color: var(--ink);
    transition: transform 80ms;
}
.card:hover { transform: translateY(-2px); text-decoration: none; border-color: var(--accent); }
.card h3 { margin: 0 0 8px; font-size: 22px; }
.card .pct {
    height: 6px;
    background: var(--panel-2);
    border-radius: 3px;
    overflow: hidden;
    margin-top: 12px;
}
.card .pct > div {
    height: 100%;
    background: var(--accent);
    transition: width 200ms;
}
.card .meta { color: var(--ink-dim); font-size: 13px; margin-top: 4px; }
.card.done h3::after { content: ' ✓'; color: var(--accent); }

/* ---------- Group prediction ---------- */
.gruppe-grid {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 20px;
    align-items: stretch;
}
@media (max-width: 760px) {
    .gruppe-grid { grid-template-columns: 1fr; }
    /* At the large cell font the two comparison tables can't sit side by side here. */
    .compare { grid-template-columns: 1fr; }
}

.standings {
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.standings table {
    width: 100%;
    border-collapse: collapse;
    flex: 1;
}
.standings th, .standings td {
    padding: 14px 12px;
    text-align: center;
    font-size: 31px;
    border-bottom: 1px solid var(--line);
}
.standings th { color: var(--ink-dim); font-weight: 600; background: var(--panel-2); }
.standings td.team { text-align: left; padding-left: 12px; font-weight: 600; }
.standings td.flag { width: 28px; padding-right: 0; }

/* Twemoji injects <img class="emoji"> — keep it inline with the surrounding text. */
img.emoji {
    height: 1em;
    width: auto;
    vertical-align: -0.15em;
    display: inline-block;
}
.standings tr.qualify td { background: rgba(61, 220, 151, 0.06); }
.standings tr.third td { background: rgba(255, 209, 102, 0.05); }

/* Locked comparison: predicted vs actual mini standings, side by side (gruppespill.php) */
.compare {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    align-content: start;
}
.mini-table {
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 10px;
    overflow: hidden;
}
.mini-table .cap {
    padding: 8px 10px;
    font-size: 13px;
    font-weight: 700;
    text-align: center;
    color: var(--ink-dim);
    background: var(--panel-2);
    border-bottom: 1px solid var(--line);
}
.mini-table table { width: 100%; border-collapse: collapse; }
.mini-table th, .mini-table td {
    padding: 8px 6px;
    font-size: 32px;
    text-align: center;
    border-bottom: 1px solid var(--line);
}
.mini-table th { color: var(--ink-dim); font-weight: 600; }
.mini-table td.team { text-align: left; font-weight: 600; overflow-wrap: anywhere; }
.mini-table tbody tr:last-child td { border-bottom: none; }
.mini-table tr.qualify td { background: rgba(61, 220, 151, 0.06); }
.mini-table tr.third   td { background: rgba(255, 209, 102, 0.05); }

/* On phones the 9-column standings table is too wide for its rounded
   (overflow:hidden) container, which clips the right-hand columns (MD, P).
   Shrink the cells so the whole table fits instead of being cut off. */
@media (max-width: 560px) {
    .standings th, .standings td { font-size: 14px; padding: 7px 3px; }
    /* Long one-word names (e.g. "Elfenbenskysten") must wrap, or their
       min-content keeps the table wider than the phone and it stays clipped. */
    .standings td.team { padding-left: 6px; overflow-wrap: anywhere; }
    .standings td.flag { width: 20px; }
}

.matches {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.match {
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 12px 14px;
}
.match .meta {
    color: var(--ink-dim);
    font-size: 18px;
    margin-bottom: 6px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
.match .row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 50px 16px 50px minmax(0, 1fr);
    gap: 8px;
    align-items: center;
    font-size: 20px;
}
.match .row .home, .match .row .away { min-width: 0; overflow-wrap: anywhere; }
.match .row .home { text-align: right; }
.match .row .away { text-align: left; }
.match .row input {
    width: 100%;
    text-align: center;
    font-size: 20px;
    font-weight: 700;
    padding: 6px;
    -moz-appearance: textfield;
}
.match .row input::-webkit-outer-spin-button,
.match .row input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.match .row .dash { text-align: center; color: var(--ink-dim); }
.match .actual {
    font-size: 12px;
    color: var(--accent);
    margin-top: 4px;
    text-align: center;
}

/* Locked results view (gruppespill.php): static prediction score + result + points */
.match .row .score-ro { text-align: center; font-size: 20px; font-weight: 700; }
.match .result-line {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 50px 16px 50px minmax(0, 1fr);
    gap: 8px;
    align-items: center;
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px dashed var(--line);
    font-size: 13px;
    color: var(--accent);   /* actual result — distinct from the white prediction above */
}
.match .result-line .fasit-label  { text-align: right; }
.match .result-line .fasit-score  { text-align: center; font-size: 22px; font-weight: 700; }
.match .result-line .dash         { text-align: center; font-size: 22px; color: var(--ink-dim); }
.match .result-line .points       { justify-self: end; }
.match .result-line--empty        { display: block; text-align: center; color: var(--ink-dim); }
.match .points {
    border-radius: 999px;
    padding: 2px 10px;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
    border: 1px solid var(--line);
    color: var(--ink-dim);          /* 0 poeng */
}
.match .points.p3 { color: var(--accent);   border-color: var(--accent); }    /* eksakt */
.match .points.p1 { color: var(--accent-2); border-color: var(--accent-2); }  /* riktig utfall */

.savebadge {
    position: fixed;
    top: 80px;
    right: 18px;
    background: var(--panel-2);
    color: var(--ink-dim);
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 6px 12px;
    font-size: 12px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 200ms;
    z-index: 50;
}
/* Only show the badge once it has something to report. */
.savebadge.saving,
.savebadge.saved,
.savebadge.error { opacity: 1; visibility: visible; }
.savebadge.saving { color: var(--accent-2); border-color: var(--accent-2); }
.savebadge.saved  { color: var(--accent);   border-color: var(--accent); }
.savebadge.error  { color: #ffd9e2;         border-color: var(--danger); }

.groupnav {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
    gap: 10px;
}

/* ---------- R32 ---------- */
.r32 {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
}
.r32 .slot { box-sizing: border-box; width: calc((100% - 42px) / 4); }
@media (max-width: 1100px) { .r32 .slot { width: calc((100% - 28px) / 3); } }
@media (max-width: 820px)  { .r32 .slot { width: calc((100% - 14px) / 2); } }
@media (max-width: 540px)  { .r32 .slot { width: 100%; } }
.r32 .slot {
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 12px 14px;
}
.r32 .slot { text-align: center; }
.r32 .slot .label { color: var(--ink-dim); font-size: 12px; }
.r32 .slot .pair {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 8px;
    margin: 6px 0;
    font-weight: 700;
    font-size: 16px;
}
.r32 .slot .pair .vs { color: var(--ink-dim); font-weight: 400; }
.r32 .slot.partial { border-style: dashed; }
.r32 .slot.partial .pair { color: var(--ink-dim); }

section.round { margin-top: 28px; margin-bottom: 80px; }
section.round h2 { color: var(--accent); font-size: 40px; margin-bottom: 12px; text-align: center; }

/* Editable knockout slot: team name | score | dash | score | team name */
.r32 .slot .pair {
    grid-template-columns: minmax(0, 1fr) 50px 16px 50px minmax(0, 1fr);
}
.r32 .slot .pair .team { min-width: 0; overflow-wrap: anywhere; }
.r32 .slot .pair .team.home { text-align: right; }
.r32 .slot .pair .team.away { text-align: left; }
.r32 .slot .pair .team.placeholder { font-weight: 400; }
.r32 .slot .pair .dash { color: var(--ink-dim); font-weight: 400; text-align: center; }
.r32 .slot input.ko-score {
    background: var(--panel-2);
    color: var(--ink);
    border: 1px solid var(--line);
    border-radius: 6px;
    padding: 6px 4px;
    text-align: center;
    font-size: 18px;
    font-weight: 700;
    -moz-appearance: textfield;
}
.r32 .slot input.ko-score::-webkit-outer-spin-button,
.r32 .slot input.ko-score::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.r32 .slot .ko-toggle {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    margin-top: 10px;
    color: var(--ink-dim);
    font-size: 13px;
    cursor: pointer;
}
.r32 .slot .ko-stage {
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px dashed var(--line);
}
.r32 .slot .ko-stage[hidden] { display: none; }
.r32 .slot .ko-stage-label { color: var(--ink-dim); font-size: 11px; text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 4px; }
.r32 .slot .ko-stage-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 50px 16px 50px minmax(0, 1fr);
    align-items: center;
    gap: 8px;
    font-weight: 700;
}
.r32 .slot .ko-stage-row input.ko-score { grid-column: 2; }
.r32 .slot .ko-stage-row .dash         { grid-column: 3; }
.r32 .slot .ko-stage-row input.ko-score + .dash + input.ko-score { grid-column: 4; }
.r32 .slot input.ko-score:disabled,
.r32 .slot input[type="checkbox"]:disabled { opacity: 0.4; cursor: not-allowed; }
.r32 .slot.pending { border-style: dashed; }

/* Actual result of a slot's bracket position, shown under the prediction when locked. */
.r32 .slot .ko-actual {
    margin-top: 10px;
    padding-top: 8px;
    border-top: 1px dashed var(--line);
    font-size: 13px;
    text-align: center;
    color: var(--accent);
}
.r32 .slot .ko-actual-label {
    display: block;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--ink-dim);
    margin-bottom: 2px;
}

/* Read-only knockout slot (used on alt.php) */
section.round.ro { margin-top: 16px; margin-bottom: 32px; }
section.round.ro h3 { color: var(--accent); font-size: 22px; margin: 14px 0 10px; text-align: center; }
.r32 .slot.ro .ko-score-ro {
    text-align: center;
    font-size: 18px;
    font-weight: 700;
    color: var(--ink);
}
.r32 .slot.ro .ko-stage-label {
    text-transform: none;
    letter-spacing: 0;
    font-size: 12px;
    margin-top: 6px;
    margin-bottom: 0;
}

/* ---------- Admin ---------- */
.admin table {
    width: 100%;
    border-collapse: collapse;
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 16px;
}
.admin th, .admin td {
    padding: 6px 8px;
    border-bottom: 1px solid var(--line);
    text-align: left;
    font-size: 14px;
}
.admin th { background: var(--panel-2); color: var(--ink-dim); font-weight: 600; }
.admin .inline-form { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.admin .inline-form input, .admin .inline-form select { padding: 4px 8px; font-size: 13px; }
.admin .inline-form button { padding: 4px 10px; font-size: 13px; }
.admin details { margin-bottom: 14px; }
.admin details > summary { cursor: pointer; padding: 8px; background: var(--panel-2); border-radius: 6px; }

/* ---------- Tips summary ---------- */
.tips-group { margin-bottom: 24px; }
.tips-group h2 { margin-bottom: 8px; }
.tips-matches { color: var(--ink-dim); font-size: 14px; }

@media print {
    body { background: #fff; color: #000; }
    .nav, .savebadge, .groupnav { display: none !important; }
    .standings, .match, .card, .slot, .tips-group { border: 1px solid #ccc !important; background: #fff !important; color: #000 !important; }
    a { color: #000; }
}
