/* Kora's public matchday, standings and member surfaces. */
.site-experience, .auth-page {
    --signal: var(--color-accent-bright);
    --action-green: #205b41;
    --action-hover: #2b6d50;
    --signal-ink: #f1f5f2;
    --corner-small: 9px;
    --corner-panel: 17px;
    --display-heavy: 800;
}
.site-experience .site-header { background: var(--color-canvas); }
.site-experience .skip-link:not(:focus) { opacity: 0; pointer-events: none; }
.site-experience .brand-mark, .auth-page .brand-mark { background: var(--signal); }
.site-experience .nav-link { transition: color 180ms ease; }
.site-experience .nav-link::after {
    position: absolute;
    inset: auto 0 -1px;
    height: 2px;
    background: var(--signal);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 240ms var(--ease-out);
    content: "";
}
.site-experience .nav-link:hover::after { transform: scaleX(.35); }
.site-experience .nav-link[aria-current]::after { transform: scaleX(1); }
.site-experience .button-primary, .auth-page .button-primary {
    min-height: 46px;
    border-radius: var(--corner-small);
    background: var(--action-green);
    color: var(--signal-ink);
}
.site-experience .button-primary:hover, .auth-page .button-primary:hover { background: var(--action-hover); }
.site-experience .text-action:hover { color: var(--signal); }

/* Footer navigation and community access. */
.site-experience .site-footer { background: #111214; }
.site-experience .footer-inner {
    grid-template-columns: minmax(0, 1.45fr) minmax(0, .8fr) minmax(0, .66fr) auto;
    align-items: start;
    gap: clamp(19px, 4vw, 57px);
    padding-block: clamp(32px, 5vw, 62px) clamp(24px, 4vw, 44px);
}
.site-experience .footer-brand .brand { font-size: clamp(2.55rem, 5vw, 4rem); }
.footer-brand .brand-mark { width: .48em; height: .52em; margin-right: .13em; }
.site-experience .footer-brand p { max-width: 27ch; margin-top: 10px; color: var(--color-muted); }
.site-experience .footer-links { display: grid; gap: 8px; font-size: .86rem; }
.footer-links h2 { margin-bottom: 3px; color: var(--color-text); font: 650 .82rem/1.45 var(--font-body); letter-spacing: 0; }
.site-experience .footer-links a, .site-experience .footer-meta a { width: fit-content; color: var(--color-muted); transition: color 180ms ease; }
.site-experience .footer-links a:hover, .site-experience .footer-meta a:hover { color: var(--signal); }
.footer-chat {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 11px;
    min-height: 46px;
    padding: 8px 14px;
    border: 1px solid var(--color-border);
    border-radius: var(--corner-small);
    background: var(--color-surface);
    color: var(--color-text);
    font-size: .83rem;
    transition: background 180ms ease, border-color 180ms ease;
}
.footer-chat:hover { border-color: #4b5751; background: var(--color-card); }
.footer-chat .chat-bubble-icon, .footer-chat-arrow { color: var(--signal); }
.footer-meta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 18px; padding-block: 13px 18px; border-top: 1px solid var(--color-border); font-size: .76rem; }
.site-experience .footer-meta small { color: var(--color-muted); font-size: inherit; }

/* Full-bleed cover with a clear reading area and a live fixture when available. */
.matchday-cover {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    border-bottom: 1px solid #365041;
    background: #0c1b13;
}
.cover-photo {
    position: absolute;
    z-index: -2;
    inset: 0 0 0 auto;
    width: 78%;
    height: 100%;
    object-fit: cover;
    object-position: 54% 63%;
}
.matchday-cover::after {
    position: absolute;
    z-index: -1;
    inset: 0;
    background: linear-gradient(90deg, #0c1b13 10%, #0c1b13f5 29%, #0c1b13a8 45%, #0c1b1310 74%),
                linear-gradient(0deg, #090d0bb3, transparent 38%);
    content: "";
}
.cover-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.24fr) minmax(0, .76fr);
    align-items: center;
    gap: clamp(12px, 4vw, 60px);
    min-height: clamp(422px, 44vw, 610px);
    padding-block: clamp(38px, 7vw, 100px);
}
.cover-copy { min-width: 0; }
.cover-copy .eyebrow { color: #a7d9b9; }
.site-experience .cover-copy h1 {
    margin: 13px 0 19px;
    color: #f1f5f2;
    font-size: clamp(4rem, 8.7vw, 8.5rem);
    font-weight: var(--display-heavy);
    line-height: .84;
    letter-spacing: -.038em;
}
.cover-copy h1 em { color: var(--signal); font-style: normal; }
.cover-copy > p:not(.eyebrow) { max-width: 44ch; color: #d5e0d8; font-size: clamp(.9rem, 1.2vw, 1.06rem); }
.cover-copy .hero-actions { margin-top: 22px; }
.site-experience .cover-copy .hero-actions .text-action { min-height: 43px; color: #e0efe4; }
.site-experience .cover-copy .hero-actions .text-action:hover,
.site-experience .cover-copy .hero-actions .text-action > span { color: var(--signal); }
.cover-fixture {
    align-self: end;
    justify-self: end;
    display: grid;
    width: min(100%, 306px);
    gap: 5px;
    padding: 14px 16px 15px;
    border-left: 2px solid var(--signal);
    border-radius: var(--corner-small);
    background: #101a15f0;
    transition: background 200ms ease;
}
.cover-fixture:hover { background: #1c3024; }
.cover-fixture strong { overflow-wrap: anywhere; font: 700 1.55rem/.97 var(--sport-display); }
.cover-fixture strong span { padding-inline: 2px; color: var(--signal); }
.cover-fixture > span:last-child { display: flex; justify-content: space-between; color: var(--color-muted); font-size: .78rem; }

.home-program { grid-template-columns: minmax(0, 1.55fr) minmax(290px, .8fr); align-items: start; gap: clamp(24px, 5vw, 72px); }
.site-experience .home-program .section-heading h2 { font-size: clamp(2rem, 4vw, 3.45rem); line-height: .92; }
.site-experience .home-program .home-fixture-list { display: grid; gap: 6px; border: 0; }
.event-empty-card {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: clamp(12px, 2.4vw, 21px);
    padding: clamp(17px, 3.2vw, 30px);
    border: 1px solid var(--color-border);
    border-radius: var(--corner-panel);
    background: var(--color-surface);
}
.event-empty-card h3 { font-size: clamp(.98rem, 2vw, 1.17rem); font-weight: 650; }
.event-empty-card p { margin-top: 5px; color: var(--color-muted); font-size: .84rem; }
.calendar-icon {
    position: relative;
    display: grid;
    width: 44px;
    aspect-ratio: 1;
    place-items: center;
    border-radius: 13px;
    background: #192b21;
    color: var(--signal);
}
.calendar-icon::before { width: 19px; height: 17px; border: 1.5px solid; border-radius: 4px; content: ""; }
.calendar-icon::after { position: absolute; inset: 19px auto auto; width: 17px; border-top: 1px solid; content: ""; }
[data-event-empty] { margin-top: clamp(19px, 3vw, 31px); }
.program-archive { min-height: 36px; margin-top: 3px; }
.site-experience .season-preview {
    padding: clamp(16px, 2.4vw, 27px);
    border: 1px solid var(--color-border);
    border-radius: var(--corner-panel);
    background: var(--color-surface);
}
.site-experience .home-program .season-preview .section-heading h2 { font-size: clamp(1.6rem, 3vw, 2.35rem); }
.site-experience .season-preview > .empty-note { padding-bottom: 3px; }
.site-experience .home-process { background: #111214; }
.site-experience .process-inner { display: grid; grid-template-columns: minmax(140px, .52fr) minmax(0, 1.48fr); align-items: start; gap: 20px clamp(24px, 5vw, 60px); }
.site-experience .process-inner h2 { margin: 0; line-height: .95; }
.site-experience .process-list { grid-template-columns: minmax(0, 1fr); gap: 0; }
.site-experience .process-list li { grid-template-columns: 35px minmax(0, 1fr); }
.site-experience .process-list li > span { font: 700 1.15rem/1.25 var(--sport-display); }
.site-experience .process-list li > div { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 12px; }
.site-experience .process-list li p { margin: 0; }
.season-run { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; padding-top: clamp(26px, 5vw, 53px); }
.season-run .home-season-stats { gap: 12px clamp(16px, 5vw, 56px); }
.season-run .home-season-stats div { display: flex; flex-direction: column-reverse; align-items: start; gap: 3px; }
.season-run .home-season-stats dd { order: 0; font-size: clamp(1.7rem, 4vw, 3.4rem); }

/* Calendar and fixture tickets. */
.site-experience .fixtures-mast {
    background: linear-gradient(90deg, #0f2318 12%, #0f2318cd 48%, #0c191385),
                url("../Images/kora-matchday.png") 50% 54% / cover #0f2318;
    border-bottom: 1px solid var(--color-border);
}
.site-experience .fixtures-mast-inner { padding-block: clamp(34px, 6.6vw, 81px); }
.site-experience .fixtures-mast h1 { font-size: clamp(3.1rem, 7.4vw, 6.4rem); line-height: .89; }
.site-experience .fixtures-mast p { margin-top: 14px; }
.site-experience .filter-bar {
    gap: 0 clamp(6px, 3vw, 39px);
    padding: 0;
    border: 0;
    border-bottom: 1px solid var(--color-border);
    background: transparent;
}
.site-experience .filter-bar button {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 47px;
    padding: 0 clamp(4px, 1vw, 10px);
    border-radius: var(--corner-small) var(--corner-small) 0 0;
    background: transparent;
    color: var(--color-muted);
    font-weight: 650;
}
.site-experience .filter-bar button[aria-pressed="true"] { box-shadow: inset 0 -2px var(--signal); background: transparent; color: var(--color-text); }
.site-experience .filter-bar button:hover:not([aria-pressed="true"]) { background: var(--color-card); }
.filter-bar button small { color: var(--color-muted); font-size: .72rem; font-variant-numeric: tabular-nums; }
.site-experience .filter-bar button[aria-pressed="true"] small { color: var(--signal); }
.site-experience .event-group h2 { font-size: clamp(1.65rem, 3.4vw, 2.6rem); }
.event-group-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 10px 20px; margin-bottom: 16px; }
.site-experience .event-group-heading h2 { margin: 0; }
.event-group-heading > span { color: var(--color-muted); font-size: .76rem; white-space: nowrap; }
.match-lineup { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.match-lineup:has(> :only-child) { grid-template-columns: minmax(0, 1fr); }
.fixture-ticket { min-width: 0; overflow: hidden; border: 1px solid var(--color-border); border-radius: var(--corner-panel); background: var(--color-surface); transition: background 240ms ease, border-color 240ms ease, transform 240ms var(--ease-out); }
.fixture-ticket[data-state="open"] { border-color: #39483f; }
.fixture-ticket:hover, .fixture-ticket:focus-within { border-color: #515a55; background: #191b1d; transform: translateY(-3px); }
.fixture-ticket-link { display: grid; height: 100%; padding: clamp(17px, 2.3vw, 28px) clamp(17px, 2.5vw, 30px) 0; border-radius: inherit; }
.ticket-meta { display: flex; align-items: center; justify-content: space-between; gap: 8px 16px; color: var(--color-muted); font-size: .73rem; }
.ticket-meta > span:first-child { min-width: 0; overflow-wrap: anywhere; font-weight: 600; }
.ticket-meta .fixture-state { flex-shrink: 0; }
.fixture-state { display: inline-flex; align-items: center; gap: 6px; color: var(--color-muted); font-size: .74rem; }
.fixture-state[data-state="open"] { color: var(--signal); }
.fixture-state[data-state="open"]::before { width: 6px; height: 6px; border-radius: 50%; background: currentColor; content: ""; }
.matchup { display: grid; grid-template-columns: minmax(0, 1fr) 58px minmax(0, 1fr); align-items: center; gap: 12px; text-align: center; }
.ticket-matchup { padding-block: 29px 27px; font-weight: 700; }
.match-team { display: grid; justify-items: center; align-content: center; min-width: 0; gap: 10px; }
.team-monogram { display: grid; place-items: center; width: 58px; height: 62px; border: 1px solid #3e4443; border-radius: 16px 16px 23px 23px; background: #24292a; color: #e0e8e3; font: 700 1.25rem/1 var(--sport-display); letter-spacing: .04em; }
.match-team-away .team-monogram { background: #202225; border-color: #383c42; color: #cfd2d9; }
.team-name { max-width: 100%; overflow-wrap: anywhere; font: 700 clamp(1.45rem, 2.8vw, 2.1rem)/1.08 var(--sport-display); letter-spacing: -.015em; text-wrap: balance; }
.team-role { color: var(--color-muted); font: 400 .68rem/1.4 var(--font-body); letter-spacing: .02em; }
.match-divider { display: grid; justify-items: center; gap: 13px; align-self: stretch; align-content: center; color: #8e9691; font: 650 .69rem/1 var(--font-body); letter-spacing: .12em; }
.match-divider::before, .match-divider::after { width: 1px; height: 27px; background: #353a38; content: ""; }
.ticket-bottom { display: flex; align-items: center; justify-content: space-between; gap: 10px 18px; padding-block: 16px; border-top: 1px solid var(--color-border); }
.ticket-schedule { display: flex; align-items: center; flex-wrap: wrap; gap: 5px 12px; color: #d7dbd8; font-size: .75rem; font-variant-numeric: tabular-nums; }
.ticket-schedule small { padding-left: 12px; border-left: 1px solid #424744; color: var(--color-muted); font-size: inherit; }
.ticket-action { display: flex; align-items: center; gap: 8px; color: #c4d5ca; font-size: .72rem; white-space: nowrap; }
.ticket-arrow { display: inline-block; font-size: 1rem; line-height: 1; transition: transform 210ms var(--ease-out), color 210ms ease; }
.fixture-ticket-link:hover .ticket-arrow { transform: translate(3px, -3px); color: var(--signal); }
.match-lineup:has(> :only-child) .ticket-matchup { width: 100%; max-width: 850px; margin-inline: auto; }
.home-fixture-list .ticket-matchup { padding-block: 19px; }
.home-fixture-list .team-monogram { width: 43px; height: 46px; border-radius: 12px 12px 17px 17px; font-size: 1rem; }
.home-fixture-list .team-name { font-size: clamp(1.2rem, 2vw, 1.6rem); }

/* Match analysis and prediction form. */
.match-scoreboard { position: relative; isolation: isolate; overflow: hidden; margin-top: 17px; padding: clamp(19px, 3.5vw, 38px) clamp(19px, 4vw, 44px) 0; border: 1px solid #343b37; border-radius: 21px; background: #171b19; }
.match-scoreboard::before { position: absolute; z-index: -1; top: 53px; bottom: 0; left: 50%; width: 1px; background: #ffffff04; content: ""; }
.match-scoreboard-meta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; }
.match-scoreboard-meta .eyebrow { color: #b4c9ba; font-size: .77rem; }
.site-experience .match-scoreboard h1 { margin: 0; padding-block: clamp(26px, 3.5vw, 42px); grid-template-columns: minmax(0, 1fr) clamp(55px, 10vw, 130px) minmax(0, 1fr); letter-spacing: 0; }
.scoreboard-matchup .team-monogram { width: clamp(58px, 6.5vw, 74px); height: clamp(64px, 7vw, 81px); border-radius: 20px 20px 28px 28px; background: #27332c; border-color: #44544a; font-size: clamp(1.3rem, 2.5vw, 1.8rem); }
.scoreboard-matchup .match-team-away .team-monogram { background: #292d30; border-color: #454b50; }
.scoreboard-matchup .match-team { gap: clamp(11px, 1.6vw, 15px); }
.scoreboard-matchup .team-name { font-size: clamp(2rem, 4.6vw, 3.8rem); }
.scoreboard-matchup .team-role { font-size: .76rem; }
.scoreboard-matchup .match-divider { gap: 20px; font-size: .87rem; }
.scoreboard-matchup .match-divider::before, .scoreboard-matchup .match-divider::after { height: 42px; background: #3d4941; }
.scoreboard-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); padding-block: 21px; border-top: 1px solid #343c37; }
.scoreboard-facts > div { min-width: 0; padding-inline: 20px; text-align: center; }
.scoreboard-facts > div + div { border-left: 1px solid #343c37; }
.scoreboard-facts dt { margin-bottom: 5px; color: var(--color-muted); font-size: .71rem; }
.scoreboard-facts dd { color: #e0e6e2; font-size: .85rem; font-weight: 550; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.detail-page .section-heading { align-items: baseline; }
.detail-page .section-heading h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
.site-experience .detail-columns { grid-template-columns: minmax(0, 1fr) minmax(224px, .42fr); gap: clamp(20px, 5vw, 64px); }
.site-experience .match-notes { padding: 15px clamp(13px, 2.4vw, 24px) 19px; border: 1px solid var(--color-border); border-radius: var(--corner-panel); background: var(--color-surface); }
.match-notes h2 { font-size: 1.48rem; }
.match-notes .member-actions, .match-notes > .button { margin-top: 16px; }
.match-notes .button { justify-content: space-between; width: 100%; }
.match-question-list { margin: 14px 0 0; padding: 0; list-style: none; }
.match-question-list > li { padding: 16px 0 20px; border-top: 1px solid var(--color-border); }
.match-question-title { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; align-items: baseline; }
.match-question-title h3 { overflow-wrap: anywhere; font: 700 clamp(1.2rem, 2.7vw, 1.65rem)/1.13 var(--sport-display); }
.match-question-title > span, .share-label { color: var(--color-muted); font-size: .76rem; }
.share-label { margin-top: 9px; }
.answer-shares { display: grid; gap: 4px; margin: 10px 0 0; padding: 0; list-style: none; }
.answer-share { display: grid; gap: 5px; padding: 8px 10px; border-radius: var(--corner-small); background: var(--color-surface); }
.answer-share[data-mine="true"] { box-shadow: inset 2px 0 var(--signal); background: var(--color-card); }
.answer-share > div { display: flex; align-items: baseline; justify-content: space-between; gap: 9px; font-size: .86rem; overflow-wrap: anywhere; }
.answer-share small { display: inline-block; margin-left: 5px; color: var(--signal); font-size: .7rem; }
.answer-share b { color: var(--color-text); font-variant-numeric: tabular-nums; }
.share-track { display: block; overflow: hidden; height: 5px; border-radius: 5px; background: var(--color-border); }
.share-fill { display: block; width: var(--share); height: 100%; border-radius: inherit; background: #668a76; transform-origin: left; }
.answer-share[data-mine="true"] .share-fill { background: var(--signal); }
.site-experience .prediction-dialog { width: min(650px, calc(100% - 24px)); }
.site-experience .kora-dialog, .auth-page .kora-dialog { border-radius: var(--corner-panel); }
.site-experience .kora-form :is(input, textarea, select, .question-options label),
.auth-page .kora-form :is(input, textarea, select),
.site-experience .table-action { border-radius: var(--corner-small); }
.site-experience .kora-dialog .dialog-head h2 { font-size: clamp(1.5rem, 4vw, 2.2rem); }
.site-experience .prediction-dialog .eyebrow { margin-bottom: 5px; color: var(--color-muted); }
.site-experience .prediction-dialog .question-options { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.site-experience .prediction-dialog .question-options label:has(:checked) { border-color: #628570; background: var(--color-card); }

/* Standings and member pages. */
.standings-page, .profile-page { max-width: 1060px; }
.site-experience .standings-header { display: block; margin-bottom: clamp(22px, 5vw, 42px); }
.site-experience .standings-header h1, .site-experience .inbox-page .inner-heading h1 {
    font-size: clamp(2.7rem, 5.6vw, 4.6rem);
    line-height: .96;
}
.standings-header > p { margin-top: 10px; }
.standings-podium-title { margin-bottom: 11px; font-size: 1.35rem; }
.site-experience .standings-leaders { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.site-experience .standings-leaders[data-count="1"] { grid-template-columns: minmax(0, 1fr); }
.site-experience .standings-leaders[data-count="2"] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.site-experience .standings-leader {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-rows: auto auto;
    align-items: end;
    gap: 14px 8px;
    min-height: 0;
    padding: clamp(13px, 2vw, 22px);
    border: 1px solid var(--color-border);
    border-radius: var(--corner-panel);
    background: var(--color-surface);
}
.site-experience .standings-leader-first { border-color: #46554c; background: #1a1e1c; color: var(--color-text); }
.site-experience .standings-leaders[data-count="1"] .standings-leader { grid-template-columns: auto minmax(0, 1fr) auto; grid-template-rows: auto; align-items: center; gap: 10px clamp(12px, 2.5vw, 26px); }
.site-experience .standings-leaders[data-count="1"] .standings-position { grid-column: auto; }
.site-experience .standings-position { grid-column: 1 / -1; color: var(--color-muted); font-size: clamp(1.55rem, 3vw, 2.3rem); }
.site-experience .standings-leader-first .standings-position { color: var(--signal); }
.standings-identity h2 { font-size: clamp(1.1rem, 2vw, 1.45rem); }
.site-experience .standings-avatar { background: #282b2d; color: #e0e3e5; }
.site-experience .standings-points strong { font-size: clamp(1.3rem, 2.25vw, 1.8rem); }
.site-experience .standings-personal { margin: 0 0 clamp(20px, 4vw, 32px); border: 1px solid var(--color-border); border-radius: var(--corner-panel); background: var(--color-surface); scroll-margin-top: 12px; }
.site-experience .standings-empty, .member-empty { padding: clamp(19px, 4vw, 34px); border: 1px solid var(--color-border); border-radius: var(--corner-panel); background: var(--color-surface); }
.member-empty p { margin-top: 6px; color: var(--color-muted); font-size: .87rem; }
.site-experience .standings-row-mine { box-shadow: inset 2px 0 #557964; }
.site-experience .standings-row-member small { color: var(--signal); }

.site-experience .profile-header { padding: 0 0 clamp(16px, 4vw, 30px); border: 0; border-bottom: 1px solid var(--color-border); background: transparent; }
.profile-identity h1 { font-size: clamp(2.15rem, 5vw, 3.9rem); overflow-wrap: anywhere; }
.profile-handle { color: var(--color-muted); font-size: .8rem; overflow-wrap: anywhere; }
.site-experience .profile-avatar { border-radius: 16px; background: #202322; color: #dce3df; }
.site-experience .profile-header .account-actions { margin: 0; }
.site-experience .profile-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin-block: 19px clamp(27px, 5vw, 49px); padding: 14px 0; border: 1px solid var(--color-border); border-radius: var(--corner-panel); background: var(--color-surface); }
.profile-stats div { min-width: 0; padding-inline: clamp(9px, 3vw, 25px); overflow-wrap: anywhere; }
.profile-stats div + div { border-left: 1px solid var(--color-border); }
.profile-stats dd a span { color: var(--color-muted); font-size: .7em; }
.profile-workspace { display: grid; grid-template-columns: minmax(0, 1fr) minmax(190px, .37fr); align-items: start; gap: clamp(22px, 4vw, 44px); }
.form-guide { display: grid; gap: 9px; padding: clamp(14px, 2vw, 22px); border: 1px solid var(--color-border); border-radius: var(--corner-panel); background: var(--color-surface); }
.form-guide h2 { font-size: clamp(1.35rem, 2.6vw, 1.9rem); }
.form-guide p, .form-guide dt { color: var(--color-muted); font-size: .8rem; }
.form-guide dl { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.form-guide dd { font-weight: 650; }
.profile-history { min-width: 0; }
.prediction-history { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--color-border); }
.prediction-history-item { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 9px 14px; align-items: center; padding: 13px 0; border-bottom: 1px solid var(--color-border); }
.prediction-history-item h3 { overflow-wrap: anywhere; font-size: 1rem; }
.prediction-history-date { margin-bottom: 4px; color: var(--color-muted); font-size: .74rem; }
.prediction-history-score { color: var(--color-muted); font-size: .78rem; text-align: right; }
.prediction-history-score[data-scored="true"] { color: var(--color-text); font-weight: 650; }
.prediction-history-item .member-actions { grid-column: 1 / -1; }

.site-experience .inbox-page .inner-heading { padding-bottom: 12px; }
.site-experience .inbox-toolbar { padding: 10px 0; border: 0; }
.site-experience .inbox { display: grid; gap: 8px; overflow: visible; border: 0; background: transparent; }
.site-experience .inbox-item { border: 1px solid var(--color-border); border-radius: var(--corner-panel); background: var(--color-surface); }
.site-experience .inbox-item[data-unread="true"] { border-color: #3b4b41; background: #191c1a; }
.site-experience .inbox-item:hover { background: var(--color-card); }
.notice-category { flex-wrap: wrap; }
.notice-content { overflow-wrap: anywhere; }
.site-experience .inbox-item .notice-meta { align-self: center; }

/* Account and chat use quieter surfaces than the matchday pages. */
.auth-stage {
    background: linear-gradient(#08110bc2, #08110be6), url("../Images/kora-matchday.png") center / cover #101814;
}
.auth-card { border-color: var(--color-border); border-radius: var(--corner-panel); box-shadow: 0 20px 56px #0306048f; }
.auth-card h1 { font-size: clamp(2.35rem, 6vw, 3.2rem); line-height: .96; }
.auth-back { color: #dce9df; }
.site-experience .info-page { max-width: 750px; padding-block: clamp(28px, 7vw, 74px) 20px; }
.info-page h1 { margin-bottom: 13px; font-size: clamp(2.8rem, 7vw, 5.4rem); line-height: .9; }
.info-page p { max-width: 61ch; margin-bottom: 18px; color: var(--color-muted); }
.info-page .text-action { margin-right: 16px; }

@media (max-width: 870px) {
    .cover-inner { grid-template-columns: minmax(0, 1fr); }
    .cover-fixture { justify-self: start; }
    .home-program { grid-template-columns: minmax(0, 1.25fr) minmax(235px, .75fr); }
}
@media (max-width: 750px) {
    .site-experience .footer-inner { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .footer-brand { grid-column: 1 / -1; }
    .footer-chat { grid-column: 1 / -1; justify-self: start; }
    .site-experience .primary-nav.is-open { animation: kora-enter 210ms var(--ease-out) both; }
    .cover-inner { min-height: 370px; align-content: end; }
    .cover-photo { width: 100%; object-position: 55% 68%; }
    .matchday-cover::after { background: linear-gradient(90deg, #0b1b13e6, #0b1b1394 61%, #0b1b134f), linear-gradient(0deg, #0b1b13ba, transparent 55%); }
    .site-experience .cover-copy h1 { font-size: clamp(3.65rem, 12vw, 5.8rem); }
    .home-program, .site-experience .process-inner, .site-experience .detail-columns, .profile-workspace { grid-template-columns: minmax(0, 1fr); }
    .match-notes { grid-row: 1; }
    .match-lineup { grid-template-columns: minmax(0, 1fr); }
    .scoreboard-facts > div { padding-inline: 10px; }
    .site-experience .standings-leaders, .site-experience .standings-leaders[data-count="2"] { grid-template-columns: minmax(0, 1fr); }
    .site-experience .standings-leader { grid-template-columns: 28px minmax(0, 1fr) auto; grid-template-rows: auto; align-items: center; }
    .site-experience .standings-position { grid-column: auto; }
}
@media (max-width: 420px) {
    .site-experience .profile-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px 0; }
    .site-experience .profile-stats div:nth-child(3) { border-left: 0; }
    .cover-inner { min-height: 345px; }
    .site-experience .cover-copy h1 { font-size: clamp(2.85rem, 12vw, 3.5rem); }
    .cover-copy .hero-actions { gap: 3px 12px; }
    .site-experience .filter-bar { column-gap: 3px; }
    .site-experience .filter-bar button { gap: 3px; font-size: .72rem; }
    .site-experience .filter-bar button small { font-size: .65rem; }
    .event-group-heading { flex-wrap: wrap; gap: 5px 12px; }
    .matchup { grid-template-columns: minmax(0, 1fr) 30px minmax(0, 1fr); gap: 8px; }
    .ticket-matchup { padding-block: 24px; }
    .ticket-meta { gap: 8px; font-size: .67rem; }
    .ticket-meta .fixture-state { font-size: .65rem; }
    .ticket-bottom { flex-wrap: wrap; gap: 10px; padding-block: 13px; }
    .ticket-schedule { gap: 5px 8px; font-size: .67rem; }
    .ticket-schedule small { padding-left: 8px; }
    .ticket-action { font-size: .67rem; }
    .site-experience .match-scoreboard h1 { grid-template-columns: minmax(0, 1fr) 35px minmax(0, 1fr); }
    .scoreboard-matchup .team-name { font-size: clamp(1.55rem, 7vw, 2rem); }
    .scoreboard-matchup .team-role { font-size: .65rem; }
    .scoreboard-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 17px; padding-block: 17px; }
    .scoreboard-facts > div:last-child { grid-column: 1 / -1; padding-top: 14px; border: 0; border-top: 1px solid #343c37; }
    .scoreboard-facts dd { font-size: .77rem; }
    .site-experience .prediction-dialog .question-options { grid-template-columns: minmax(0, 1fr); }
}
@keyframes kora-enter { from { opacity: .65; transform: translateY(7px); } to { opacity: 1; transform: translateY(0); } }
@keyframes kora-share { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@media (prefers-reduced-motion: no-preference) {
    [data-intro], [data-reveal].is-revealed { animation: kora-enter 420ms var(--ease-out) both; }
    .share-fill.is-revealed { animation: kora-share 520ms var(--ease-out) both; }
}
