@font-face {
    font-family: "Garet";
    src: url("/assets/fonts/Garet-Book.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Garet";
    src: url("/assets/fonts/Garet-Heavy.woff2") format("woff2");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

:root {
    --bg: #08090d;
    --raise: #12141b;
    --ink: #f4f0e6;
    --muted: #a39b8e;
    --line: rgba(244, 240, 230, 0.14);
    --gold: #e4b15a;
    --gold-ink: #1a1408;
    --display: "Garet", "Exo", sans-serif;
    --ui: "Exo", sans-serif;
    --text: "Barlow", sans-serif;
    color-scheme: dark;
}

* { box-sizing: border-box; }

body {
    display: flex;
    flex-direction: column;
    margin: 0;
    min-height: 100vh;
    color: var(--ink);
    background: var(--bg);
    font-family: var(--text);
    font-size: 1.05rem;
    line-height: 1.5;
}

body > main { flex: 1 0 auto; }

a { color: inherit; }

button, input { font: inherit; }

.top {
    display: flex;
    position: sticky;
    top: 0;
    z-index: 5;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 0.85rem 1.5rem;
    align-items: center;
    padding: 1.1rem 1.5rem;
    border-bottom: 1px solid var(--line);
    background: #08090d;
}

a.mark {
    display: block;
    flex: 0 0 auto;
    line-height: 0;
    text-decoration: none;
}

a.mark img {
    display: block;
    width: min(26rem, 70vw);
    height: auto;
}

.top-tools {
    display: flex;
    flex: 1 1 16rem;
    flex-wrap: wrap;
    gap: 0.7rem 1.15rem;
    align-items: center;
    justify-content: flex-end;
    min-width: 0;
}

.account {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    align-items: center;
}

.lang-pick { position: relative; }

.lang-pick summary {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    list-style: none;
    cursor: pointer;
    color: var(--ink);
    font-family: var(--ui);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.lang-pick summary::-webkit-details-marker { display: none; }

.lang-pick summary::after {
    content: "";
    width: 0.38rem;
    height: 0.38rem;
    margin-left: 0.15rem;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: rotate(45deg) translateY(-0.12rem);
}

.flag {
    display: block;
    width: 1.35rem;
    height: 0.9rem;
    flex: none;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.28);
}

.lang-menu {
    position: absolute;
    right: 0;
    z-index: 6;
    min-width: 12rem;
    margin-top: 0.5rem;
    padding: 0.35rem;
    border: 1px solid var(--line);
    background: #12141b;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.35);
}

.lang-menu a {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.45rem 0.5rem;
    color: var(--muted);
    font-family: var(--ui);
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
}

.lang-menu a.is-on,
.lang-menu a:hover,
.lang-menu a:focus-visible {
    color: var(--ink);
    background: rgba(255, 255, 255, 0.05);
}

.account a, .account button, .switch a {
    white-space: nowrap;
    color: var(--muted);
    font-family: var(--ui);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
}

.langs a.is-on { color: var(--ink); }

.account button {
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.account a.who {
    color: var(--gold);
    font-size: 0.92rem;
    letter-spacing: 0.02em;
    text-transform: none;
}

.button, button.button, a.button, label.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.7rem;
    padding: 0.55rem 1rem;
    border: 0;
    background: var(--gold);
    color: var(--gold-ink);
    cursor: pointer;
    font-family: var(--ui);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    text-decoration: none;
}

.button:hover, a.button:hover, label.button:hover { background: #f0c57a; }

.button.quiet, button.button.quiet {
    background: transparent;
    color: var(--ink);
    border: 1px solid var(--line);
}

.button.quiet:hover, button.button.quiet:hover {
    background: transparent;
    border-color: var(--gold);
    color: var(--gold);
}

.sheet {
    width: min(76rem, calc(100% - 3rem));
    margin: 0 auto;
}

.band {
    width: 100%;
    background-color: #08090d;
    background-repeat: no-repeat;
    background-size: cover;
}

.band-hero {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 40rem;
    overflow: hidden;
    background: #145628;
}

.band-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(6, 16, 8, 0.28), rgba(6, 16, 8, 0.05) 30%, rgba(6, 16, 8, 0.2));
}

.fm-pitch {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.fm-pitch svg {
    display: block;
    width: 100%;
    height: 100%;
}

.fm-lines, .fm-goals {
    fill: none;
    stroke: rgba(255, 255, 255, 0.9);
    stroke-width: 2.5;
    stroke-linejoin: miter;
}

.fm-spot { fill: rgba(255, 255, 255, 0.92); stroke: none; }

.hero-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(16rem, 22rem);
    gap: 2rem 2.4rem;
    align-items: center;
}

.census {
    justify-self: end;
    width: min(22rem, 100%);
    padding: 0.95rem 1rem 0.55rem;
    border: 1px solid rgba(228, 177, 90, 0.45);
    background: rgba(12, 16, 12, 0.96);
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.35);
}

.census-kicker {
    display: flex;
    align-items: center;
    margin: 0;
    color: var(--gold);
    font-family: var(--ui);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.live {
    width: 0.48rem;
    height: 0.48rem;
    margin-right: 0.5rem;
    border-radius: 50%;
    background: #8dffb0;
    box-shadow: 0 0 0 0 rgba(141, 255, 176, 0.7);
    animation: live 1.8s ease-out infinite;
}

.census-total {
    margin: 0.35rem 0 0;
    font-family: var(--display);
    font-size: 4.2rem;
    font-weight: 700;
    letter-spacing: -0.04em;
    line-height: 0.9;
    font-variant-numeric: tabular-nums;
}

.census-label {
    margin: 0.25rem 0 0;
    color: var(--muted);
    font-family: var(--ui);
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.census ul {
    margin: 0.85rem 0 0;
    padding: 0;
    list-style: none;
}

.census li {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.8rem;
    align-items: baseline;
    padding: 0.42rem 0;
    border-top: 1px solid rgba(244, 240, 230, 0.12);
    font-size: 0.98rem;
}

.census li span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.census b {
    font-family: var(--ui);
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

.census .is-live b { color: var(--gold); }

.census .is-quiet { color: #b7ad9e; }

@keyframes live {
    70% { box-shadow: 0 0 0 0.45rem rgba(141, 255, 176, 0); }
}

.band-shelf {
    background-image:
        linear-gradient(180deg, rgba(8, 9, 13, 0.86), rgba(8, 9, 13, 0.9)),
        url("/assets/photos/hero.jpg");
    background-position: center 40%;
}

.cm-bar-shell {
    margin: 1.2rem 0 2.15rem;
}

.cm-bar {
    display: grid;
    grid-template-columns: 6.8rem minmax(0, 1fr) auto;
    align-items: stretch;
    min-height: 5.5rem;
    border: 2px solid #D9534F;
    border-radius: 2px;
    background: #6B1414;
    color: #F5F5F0;
    text-decoration: none;
    cursor: pointer;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.14),
        inset 0 -2px 0 rgba(0, 0, 0, 0.25),
        0 12px 30px rgba(0, 0, 0, 0.45);
    transition: background-color 110ms linear, color 110ms linear, border-color 110ms linear, filter 140ms ease, transform 140ms ease;
}

.cm-bar:hover,
.cm-bar:focus-visible {
    filter: brightness(1.07);
    outline: none;
}

.cm-bar:focus-visible {
    box-shadow:
        0 0 0 2px #0b0d13,
        0 0 0 4px #D4A843,
        0 12px 30px rgba(0, 0, 0, 0.48);
}

.cm-bar.is-danger {
    background: #6B1414;
    color: #F5F5F0;
    border-color: #D9534F;
}

.cm-bar.is-diary {
    background: #1A361D;
    color: #D4A843;
    border-color: #D4A843;
}

.cm-bar.is-goal {
    background: #D4A843;
    color: #112413;
    border-color: #F3D47E;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.35),
        inset 0 -2px 0 rgba(17, 36, 19, 0.22),
        0 0 28px rgba(212, 168, 67, 0.36),
        0 12px 30px rgba(0, 0, 0, 0.48);
}

.cm-bar.is-goal-alt {
    background: #1A361D;
    color: #D4A843;
    border-color: #D4A843;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.18),
        0 0 24px rgba(212, 168, 67, 0.3),
        0 12px 30px rgba(0, 0, 0, 0.48);
}

.cm-bar.is-cta:hover {
    transform: translateY(-1px);
}

.cm-minute {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.85rem 0.65rem;
    border-right: 2px solid currentColor;
    background: rgba(0, 0, 0, 0.24);
    font-family: var(--display);
    font-size: 1.65rem;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.02em;
    line-height: 1;
    white-space: nowrap;
}

.cm-bar.is-danger .cm-minute { border-right-color: #D9534F; }
.cm-bar.is-diary .cm-minute,
.cm-bar.is-goal-alt .cm-minute { border-right-color: #D4A843; }
.cm-bar.is-goal .cm-minute {
    border-right-color: #112413;
    background: rgba(17, 36, 19, 0.14);
}

.cm-copy {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    align-content: center;
    gap: 0.3rem 0.65rem;
    padding: 1.15rem 1.55rem;
    font-family: var(--display);
    font-size: clamp(1.22rem, 2.15vw, 1.62rem);
    font-weight: 600;
    letter-spacing: -0.01em;
    line-height: 1.3;
}

.cm-goal-word {
    font-family: var(--display);
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.cm-bar.is-goal .cm-copy {
    font-weight: 700;
}

.cm-arrow {
    display: flex;
    align-items: center;
    padding: 0 1.45rem 0 0.5rem;
    font-family: var(--display);
    font-size: 1.65rem;
    font-weight: 700;
    opacity: 0.55;
    transition: transform 140ms ease, opacity 140ms ease;
}

.cm-bar.is-cta .cm-arrow,
.cm-bar:hover .cm-arrow {
    opacity: 1;
    transform: translateX(4px);
}

@media (max-width: 640px) {
    .cm-bar-shell { margin: 1rem 0 1.6rem; }
    .cm-bar {
        grid-template-columns: 4.85rem minmax(0, 1fr);
        min-height: 4.5rem;
    }
    .cm-minute {
        padding: 0.7rem 0.4rem;
        font-size: 1.25rem;
    }
    .cm-copy {
        padding: 0.9rem 1rem;
        font-size: 1.08rem;
    }
    .cm-arrow { display: none; }
}

@media (prefers-reduced-motion: reduce) {
    .cm-bar,
    .cm-arrow {
        transition: none;
    }
}

.band-ground {
    background-image:
        linear-gradient(180deg, rgba(8, 9, 13, 0.84), rgba(8, 9, 13, 0.92)),
        url("/assets/photos/ground.jpg");
    background-position: center 80%;
}

.wrap {
    width: min(76rem, calc(100% - 3rem));
    margin: 0 auto;
}

.band-hero .wrap { padding: 3.2rem 0 3.4rem; }

.band-shelf .wrap, .band-ground .wrap { padding: 2.8rem 0 3rem; }

.hero-copy {
    padding: 1.25rem 1.4rem 1.35rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(8, 14, 9, 0.94);
}

.hero-copy h1 {
    font-size: clamp(2rem, 3.4vw, 3.25rem);
    line-height: 1.02;
}

.about {
    margin: 0.95rem 0 0;
    max-width: 38rem;
    color: var(--ink);
    font-size: 1.12rem;
}

.ask-line {
    margin: 1.15rem 0 0.75rem;
    font-family: var(--display);
    font-size: 1.35rem;
    font-weight: 700;
    letter-spacing: -0.03em;
}

.sheet { padding: 3.2rem 0 4rem; }

.narrow { max-width: 36rem; }

.kicker, .game-action {
    margin: 0 0 0.8rem;
    color: var(--gold);
    font-family: var(--ui);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

h1, h2, h3, .game-name, .answer {
    font-family: var(--display);
    font-weight: 700;
    letter-spacing: -0.035em;
}

h1 {
    margin: 0;
    font-size: clamp(3.1rem, 8vw, 6rem);
    line-height: 0.92;
}

h2 {
    margin: 0 0 1rem;
    font-size: clamp(1.8rem, 3vw, 2.4rem);
}

h3 { margin: 0.35rem 0; font-size: 1.45rem; }

.lede, .games-note, .empty, .next, .ask-note, .switch, .marks p {
    max-width: 40rem;
    color: var(--muted);
}

.lede { margin: 1.15rem 0 1.6rem; font-size: 1.25rem; }

.hero-copy .lede { margin: 0.45rem 0 0; font-size: 1.05rem; }

.answer {
    margin: 0 0 1.2rem;
    color: var(--gold);
    font-size: clamp(1.8rem, 4vw, 2.6rem);
}

.ask, .account-form {
    display: grid;
    gap: 0.85rem;
    max-width: 36rem;
}

.ask {
    grid-template-columns: 1fr auto;
    align-items: end;
}

label { display: grid; gap: 0.35rem; }

.check {
    grid-template-columns: 1.15rem minmax(0, 1fr);
    gap: 0.65rem;
    align-items: start;
}

.check input {
    width: 1.15rem;
    min-height: 1.15rem;
    margin-top: 0.25rem;
    padding: 0;
    accent-color: var(--gold);
}

.check span {
    color: var(--ink);
    font-family: var(--text);
    font-size: 1rem;
    font-weight: 400;
    letter-spacing: 0;
    text-transform: none;
}

.check a { color: var(--gold); }

label span {
    color: var(--muted);
    font-family: var(--ui);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

input, select, textarea {
    width: 100%;
    min-height: 2.9rem;
    padding: 0.55rem 0.75rem;
    border: 1px solid var(--line);
    background: var(--raise);
    color: var(--ink);
}

input:focus, select:focus, textarea:focus {
    outline: 2px solid var(--gold);
    outline-offset: 1px;
}

.saved { margin: 0 0 1rem; color: var(--gold); }

.ask-note, .switch { margin: 0.85rem 0 0; font-size: 0.95rem; }

.switch a { color: var(--gold); letter-spacing: 0.04em; }
.switch a.button { color: var(--gold-ink); letter-spacing: 0.12em; }
.switch a.button.quiet { color: var(--ink); }

.leagues {
    display: grid;
    gap: 0;
    margin: 1.2rem 0 0;
    padding: 0;
    list-style: none;
}

.league {
    display: grid;
    grid-template-columns: 8.2rem minmax(0, 1fr);
    gap: 1.15rem;
    align-items: start;
    padding: 1rem 0;
    border-top: 1px solid var(--line);
}

.cover {
    display: block;
    color: inherit;
    text-decoration: none;
}

.cover img {
    display: block;
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    object-position: center top;
    background: #101218;
}

.league-head {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem 0.8rem;
    align-items: baseline;
}

.league-head time {
    font-family: var(--ui);
    font-weight: 700;
    letter-spacing: 0.08em;
}

.league-head h3 { margin: 0; font-size: 1.35rem; }

.league-head .game-action { margin: 0; }

.ranks {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.15rem 1.6rem;
    margin: 0.7rem 0 0;
    padding: 0;
    list-style: none;
}

.ranks li {
    display: grid;
    grid-template-columns: 1.6rem minmax(0, 1fr) auto;
    gap: 0.55rem;
    align-items: center;
    padding: 0.28rem 0;
}

.rank-who {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    min-width: 0;
    color: inherit;
    text-decoration: none;
}

.rank-who span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ranks a:hover, .ranks a:focus-visible, .rank-who:hover, .rank-who:focus-visible { color: var(--gold); }

.face-sm {
    flex: 0 0 auto;
    width: 1.85rem;
    height: 1.85rem;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: var(--raise);
    object-fit: cover;
}

span.face-sm {
    display: grid;
    place-items: center;
    color: var(--gold);
    font-family: var(--display);
    font-size: 0.85rem;
    font-weight: 700;
    line-height: 1;
}

.pos, .pts {
    font-family: var(--ui);
    font-variant-numeric: tabular-nums;
}

.pos { color: var(--gold); font-weight: 700; }

.pts { color: var(--muted); font-size: 0.92rem; }

.empty-rank { margin: 0.7rem 0 0; color: var(--muted); }

.games-note a { color: var(--gold); }

.rank-page .ranks { grid-template-columns: minmax(16rem, 36rem); }

.rank-switch {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem 0.9rem;
    margin: 0.2rem 0 0.4rem;
    padding: 0;
    list-style: none;
}

.rank-switch a {
    color: var(--muted);
    font-family: var(--ui);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-decoration: none;
    text-transform: uppercase;
}

.rank-switch a.is-on, .rank-switch a:hover, .rank-switch a:focus-visible { color: var(--gold); }

.pager {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 1.3rem;
    color: var(--muted);
    font-family: var(--ui);
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.pager a { color: var(--gold); text-decoration: none; }

.profile-games small {
    display: block;
    margin-top: 0.25rem;
    color: var(--gold);
    font-family: var(--ui);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.add-diary { margin-top: 2.4rem; }

.game-pick {
    display: flex;
    flex-direction: column;
    gap: 0;
    max-width: 28rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.game-pick li {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.7rem 0;
    border-top: 1px solid rgba(244, 240, 230, 0.16);
}

.game-pick a {
    color: inherit;
    font-family: var(--display);
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    text-decoration: none;
}

.game-pick a:hover, .game-pick a:focus-visible { color: var(--gold); }

.game-pick .is-soon span { color: #6f685e; }

.game-pick small {
    color: #6f685e;
    font-family: var(--ui);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.era {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0.8rem;
    position: relative;
    margin: 1.4rem 0 0;
    padding: 0 0 2.2rem;
    list-style: none;
}

.era::before {
    content: "";
    position: absolute;
    top: 1.85rem;
    left: 0;
    right: 0;
    height: 1px;
    background: rgba(244, 240, 230, 0.38);
}

.stop {
    display: flex;
    position: relative;
    min-height: 100%;
    flex-direction: column;
    padding-top: 2.7rem;
    color: inherit;
    text-decoration: none;
}

.stop time {
    position: absolute;
    top: 0;
    left: 0;
    font-family: var(--ui);
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.stop::before {
    content: "";
    position: absolute;
    top: 1.62rem;
    left: 0;
    z-index: 1;
    width: 0.5rem;
    height: 0.5rem;
    border: 1px solid rgba(244, 240, 230, 0.75);
    border-radius: 50%;
    background: var(--bg);
}

.stop img {
    width: 100%;
    height: 7.2rem;
    margin-top: 0.85rem;
    object-fit: cover;
    object-position: center top;
    background: #101218;
}

.game-name {
    margin-top: 0.75rem;
    font-size: 1.02rem;
    line-height: 1.15;
}

.game-action { margin: 0.55rem 0 0; }

.is-open time, .is-open .game-action { color: var(--gold); }

.is-open .stop::before {
    border-color: var(--gold);
    background: var(--gold);
}

a.stop:hover .game-name, a.stop:focus-visible .game-name { color: var(--gold); }

.is-soon img {
    filter: grayscale(1);
    opacity: 0.55;
}

.is-soon .game-name, .is-soon .game-action, .is-soon time { color: #6f685e; }

.board { margin-top: 0.4rem; }

.pitch {
    display: block;
    width: 100%;
    height: auto;
    color: rgba(244, 240, 230, 0.72);
}

.pitch rect, .pitch line, .pitch circle {
    fill: none;
    stroke: currentColor;
    stroke-width: 1.6;
}

.pitch .spot { fill: currentColor; stroke: none; }

.pitch .run {
    fill: none;
    stroke: var(--gold);
    stroke-width: 2.4;
    stroke-linecap: round;
}

.pitch .mark { fill: var(--gold); stroke: none; }

.marks {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.2rem;
    margin: 0.3rem 0 0;
    padding: 0;
    list-style: none;
}

.marks p { margin: 0; font-size: 0.98rem; }

.back {
    display: inline-block;
    margin-bottom: 1.4rem;
    color: var(--muted);
    font-family: var(--ui);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    text-decoration: none;
}

.sheet-logo {
    display: block;
    width: min(100%, 22rem);
    height: 6.5rem;
    margin-bottom: 1rem;
    object-fit: contain;
    object-position: left center;
}

.empty { margin: 1.2rem 0 0.35rem; color: var(--ink); }

.next { margin: 0; }

.save-form { margin-top: 1.6rem; }

.save-progress { display: grid; gap: 0.45rem; }

.save-progress p { margin: 0; color: var(--gold); }

.save-progress.is-bad p { color: #ffb4a8; }

.save-wait { color: var(--muted); }

.save-progress.is-bad .save-wait { display: none; }

.save-progress.is-bad .track { display: none; }

.save-progress .track {
    height: 0.55rem;
    overflow: hidden;
    border: 1px solid var(--line);
    background: #1c2018;
}

.save-progress .track span {
    display: block;
    width: 0;
    height: 100%;
    background: var(--gold);
}

.save-progress.is-read .track span {
    width: 38%;
    animation: save-slide 1.15s ease-in-out infinite;
}

@keyframes save-slide {
    from { transform: translateX(-130%); }
    to { transform: translateX(280%); }
}

@media (prefers-reduced-motion: reduce) {
    .save-progress.is-read .track span {
        width: 100%;
        animation: none;
        opacity: 0.75;
    }
}

input[type="file"]::file-selector-button {
    margin-right: 0.8rem;
    border: 0;
    background: var(--gold);
    color: var(--gold-ink);
    padding: 0.45rem 0.75rem;
    font-family: var(--ui);
    font-weight: 700;
    cursor: pointer;
}

.career-list {
    list-style: none;
    margin: 1.2rem 0 0;
    padding: 0;
    display: grid;
    gap: 0.9rem;
}

.career-list > li {
    padding: 1rem 1.1rem;
    border: 1px solid var(--line);
    background: var(--raise);
}

.career-list h2 { margin: 0 0 0.45rem; font-size: 1.6rem; }

.identity {
    display: grid;
    grid-template-columns: 7.5rem 1fr;
    gap: 1.2rem 1.6rem;
    align-items: center;
    margin: 0.6rem 0 1.4rem;
}

.identity h1 { font-size: clamp(2.4rem, 6vw, 4.4rem); }

.identity .face {
    width: 7.5rem;
    height: 7.5rem;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: var(--raise);
    object-fit: cover;
}

.identity div.face {
    display: grid;
    place-items: center;
    color: var(--gold);
    font-family: var(--display);
    font-size: 2.6rem;
}

.facts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr));
    gap: 0.7rem;
    margin: 1rem 0 0;
}

.facts div {
    margin: 0;
    padding: 0.75rem 0.85rem;
    border: 1px solid var(--line);
    background: var(--raise);
}

.facts dt {
    color: var(--muted);
    font-family: var(--ui);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.facts dd { margin: 0.25rem 0 0; }

.pitch { margin: 1.6rem 0 0; }

.pitch h2, .staff-line h2 { margin-bottom: 0.35rem; }

.pitch-key {
    display: flex;
    align-items: center;
    gap: 0.35rem 0.45rem;
    margin: 0 0 0.7rem;
    color: var(--muted);
    font-family: var(--ui);
    font-size: 0.75rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.pitch-key i, .ball i {
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 30%, color-mix(in srgb, white 42%, var(--kit, var(--gold))), var(--kit, var(--gold)) 46%, color-mix(in srgb, black 28%, var(--kit, var(--gold))));
    border: 2px solid var(--trim, var(--ink));
    box-shadow: inset 0 -3px 0 color-mix(in srgb, black 25%, var(--trim, var(--ink))), 0 1px 0 rgba(0, 0, 0, 0.45);
    color: var(--kit-ink, var(--ink));
    font-family: var(--display);
    font-style: normal;
    line-height: 1;
}

.pitch-key i { width: 0.85rem; height: 0.85rem; }

.pitch-key i.is-new, .ball.is-new i {
    --kit: #1f8a4c;
    --trim: #d7ffe8;
    --kit-ink: #f4fff8;
}

.pitch-key i.is-out, .ball.is-out i { position: relative; opacity: 0.55; }

.pitch-key i.is-out::after, .ball.is-out i::after {
    content: "";
    position: absolute;
    left: 12%;
    right: 12%;
    top: 50%;
    height: 2px;
    background: var(--ink);
    transform: rotate(-28deg);
}

.pitch-line {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.55rem 0.35rem;
    margin: 0;
    padding: 0.45rem 0.4rem 0.55rem;
    background: linear-gradient(180deg, rgba(22, 74, 36, 0.55), rgba(10, 36, 18, 0.55));
}

.pitch-line + .pitch-line { border-top: 1px dashed rgba(244, 240, 230, 0.08); }

.pitch-line.is-rest {
    margin-top: 0.45rem;
    background: transparent;
    border-top: none;
}

.ball {
    width: 4.7rem;
    color: inherit;
    text-align: center;
    text-decoration: none;
}

.ball i {
    width: 2.35rem;
    height: 2.35rem;
    margin: 0 auto;
    font-size: 0.95rem;
}

.ball span {
    display: block;
    margin-top: 0.2rem;
    font-size: 0.68rem;
    line-height: 1.15;
    overflow-wrap: anywhere;
}

.ball:hover span { color: var(--gold); }

.ball.is-out span { color: var(--muted); text-decoration: line-through; }

.staff-line { margin: 1.4rem 0 0; }

.staff-line ul {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem 1.1rem;
    margin: 0.2rem 0 0;
    padding: 0;
    list-style: none;
}

.staff-line li { color: var(--muted); }

.staff-line strong { color: var(--ink); font-weight: 600; }

.switch form { display: flex; flex: 0 0 auto; width: auto; margin: 0; }
.links { align-items: center; }

.rank-board {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin: 1.4rem 0 0;
}

.rank-card {
    min-width: 16rem;
    padding: 0.85rem 1rem 1rem;
    border: 1px solid var(--line);
    background: var(--raise);
}

.rank-card .kicker { margin-bottom: 0.55rem; }

.rank-card dl {
    display: flex;
    gap: 1.4rem;
    margin: 0;
}

.rank-card dt {
    color: var(--muted);
    font-family: var(--ui);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.rank-card dd {
    margin: 0.15rem 0 0;
    font-family: var(--display);
    font-size: 1.7rem;
    font-weight: 700;
    letter-spacing: -0.03em;
}

.watch-list, .inbox, .thread {
    list-style: none;
    margin: 0 0 1.4rem;
    padding: 0;
}

.watch-list a, .inbox a, .thread h1 a {
    color: inherit;
    text-decoration: none;
}

.watch-list a:hover, .inbox a:hover, .thread h1 a:hover { color: var(--gold); }

.inbox li { border-top: 1px solid var(--line); }

.inbox a {
    display: grid;
    gap: 0.2rem;
    padding: 0.75rem 0;
}

.inbox span {
    overflow: hidden;
    color: var(--muted);
    text-overflow: ellipsis;
    white-space: nowrap;
}

.inbox .is-unread strong { color: var(--gold); }

.thread li {
    max-width: 36rem;
    margin: 0 0 0.7rem;
    padding: 0.7rem 0.85rem;
    border: 1px solid var(--line);
}

.thread .is-mine { margin-left: auto; border-color: var(--gold); }

.thread p { margin: 0; white-space: pre-wrap; }

.thread time {
    display: block;
    margin-top: 0.35rem;
    color: var(--muted);
    font-size: 0.82rem;
}

textarea { min-height: 7rem; resize: vertical; }

.profile-games {
    display: flex;
    flex-wrap: wrap;
    gap: 1.2rem;
    margin: 1.8rem 0 0;
    padding: 0;
    list-style: none;
}

.profile-games a {
    display: block;
    width: 11rem;
    color: inherit;
    text-decoration: none;
}

.profile-games img {
    display: block;
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    object-position: center top;
    border: 1px solid var(--line);
    background: #101218;
}

.profile-games span {
    display: block;
    margin-top: 0.6rem;
    font-family: var(--display);
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.2;
}

.profile-games a:hover span, .profile-games a:focus-visible span { color: var(--gold); }

.game-record { margin-top: 0.4rem; }

.game-record h2 { margin: 0 0 0.35rem; font-size: 1.8rem; }

.record-points {
    margin: 0 0 0.9rem;
    color: var(--gold);
    font-family: var(--display);
    font-size: 1.45rem;
    font-weight: 700;
    letter-spacing: -0.03em;
}

.record-facts {
    grid-template-columns: repeat(auto-fit, minmax(8.6rem, 1fr));
    margin-bottom: 0.9rem;
}

.record-facts dd {
    font-family: var(--display);
    font-size: 1.35rem;
    font-weight: 700;
    letter-spacing: -0.03em;
}

.record-saves {
    list-style: none;
    margin: 0;
    padding: 0;
}

.record-saves a {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.7rem 0;
    border-top: 1px solid var(--line);
    color: inherit;
    text-decoration: none;
}

.record-saves a:hover, .record-saves a:focus-visible { color: var(--gold); }

.record-saves strong, .record-saves .meta { display: block; }

.record-saves .meta { margin: 0.1rem 0 0; }

.links { display: flex; gap: 1.2rem; flex-wrap: wrap; }

.photo-field { display: grid; gap: 0.7rem; }

.photo-now {
    width: 5.5rem;
    height: 5.5rem;
    border: 1px solid var(--line);
    border-radius: 50%;
    object-fit: cover;
}

@media (max-width: 640px) {
    .identity { grid-template-columns: 1fr; }
}

.meta { margin: 0.15rem 0; color: var(--muted); }

.pages {
    list-style: none;
    margin: 0.7rem 0 0;
    padding: 0;
}

.pages li {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0;
    border-top: 1px solid var(--line);
}

.pages a { flex: 1; min-width: 0; }

.page-name { display: inline-flex; align-items: center; gap: 0.45rem; }

.page-update {
    flex: none;
    color: var(--gold);
    cursor: pointer;
}

.pages a {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.55rem 0;
    color: inherit;
    text-decoration: none;
}

.pages a:hover { color: var(--gold); }

.save-tools { margin: 0.2rem 0 1.5rem; }

.save-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    align-items: center;
}

.save-actions .save-form { margin: 0; }

.file-clip {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.history-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr));
    gap: 0.9rem;
    margin: 0.8rem 0 1rem;
}

.history-tile {
    padding: 1rem 1.1rem 1.15rem;
    border: 1px solid var(--line);
    border-top: 3px solid var(--gold);
    background: var(--raise);
}

.history-tile span { color: var(--muted, var(--paper)); letter-spacing: 0.08em; text-transform: uppercase; font-size: 0.75rem; }

.history-tile strong {
    display: block;
    margin-top: 0.35rem;
    font-size: 2rem;
    line-height: 1;
}

.history-tile strong.is-plus { color: var(--gold); }

.history-tile strong.is-minus { color: #ffb4a8; }

.honour-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 0 0 1.5rem;
}

.honour-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.4rem 0.7rem;
    border: 1px solid var(--line);
    background: var(--raise);
    border-left: 3px solid var(--gold);
    color: inherit;
    font: inherit;
    text-align: left;
}

.honour-chip.is-trigger {
    cursor: pointer;
    transition: border-color 0.15s ease, background 0.15s ease, transform 0.12s ease;
}

.honour-chip.is-trigger:hover {
    border-color: var(--gold);
    background: color-mix(in srgb, var(--gold) 10%, var(--raise));
    transform: translateY(-1px);
}

.honour-chip.is-league.is-trigger:hover {
    border-color: #8eb4ff;
    background: color-mix(in srgb, #8eb4ff 10%, var(--raise));
}

.honour-chip.is-award.is-trigger:hover {
    border-color: #79d9a4;
    background: color-mix(in srgb, #79d9a4 10%, var(--raise));
}

.honour-chip.is-league { border-left-color: #8eb4ff; }

.honour-chip.is-award { border-left-color: #79d9a4; }

.honour-chip small { color: var(--gold); }

.honour-chip.is-award small { color: #79d9a4; }

.comp-line {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    vertical-align: middle;
}

.season-tile li.comp-line {
    display: flex;
    align-items: center;
    gap: 0.42rem;
}

.comp-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: none;
    line-height: 0;
}

.comp-badge-xs { width: 1.25rem; height: 1.25rem; }

.comp-badge-sm { width: 1.55rem; height: 1.55rem; }

.comp-badge.is-logo {
    padding: 2px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
}

.comp-badge.is-logo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.comp-badge.is-svg svg {
    display: block;
    width: 100%;
    height: 100%;
}

.comp-badge.is-cup { color: var(--gold); }

.comp-badge.is-league { color: #8eb4ff; }

.comp-badge.is-award { color: #79d9a4; }

.nation-flag {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: none;
    border-radius: 3px;
    overflow: visible;
    cursor: help;
    vertical-align: middle;
}

.nation-flag-md { width: 1.9rem; height: 1.3rem; }

.nation-flag-sm { width: 1.45rem; height: 1rem; }

.nation-flag-xs { width: 1.15rem; height: 0.8rem; }

.nation-flag img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 3px;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.18);
}

.nation-flag.is-text {
    padding: 0.1rem 0.3rem;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    background: var(--raise);
    border: 1px solid var(--line);
    color: var(--muted);
}

.nation-flag[data-tip]::after {
    content: attr(data-tip);
    position: absolute;
    left: 50%;
    bottom: calc(100% + 0.45rem);
    transform: translateX(-50%) translateY(4px);
    padding: 0.25rem 0.55rem;
    border-radius: 4px;
    border: 1px solid var(--line);
    background: #14171d;
    color: var(--ink);
    font-family: var(--body, 'Barlow', sans-serif);
    font-size: 0.78rem;
    font-weight: 500;
    line-height: 1.2;
    white-space: nowrap;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.14s ease, transform 0.14s ease;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.45);
    z-index: 30;
}

.nation-flag[data-tip]:hover::after {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.player-hero { align-items: flex-start; margin-bottom: 1.1rem; }

.player-head { min-width: 0; flex: 1; }

.player-name-line {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.55rem;
}

.pos-pill {
    display: inline-flex;
    align-items: center;
    padding: 0.2rem 0.55rem;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--raise);
    color: var(--gold);
    font-family: var(--body, 'Barlow', sans-serif);
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    line-height: 1.2;
}

.player-meta-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.4rem 1.05rem;
    margin-top: 0.55rem;
    padding: 0.55rem 0.8rem;
    border: 1px solid var(--line);
    background: var(--raise);
    font-size: 0.92rem;
    color: var(--ink);
}

.player-meta-bar b {
    color: var(--muted);
    font-weight: 500;
}

.capa-pill {
    padding: 0.12rem 0.5rem;
    border-radius: 4px;
    border: 1px solid color-mix(in srgb, var(--gold) 45%, var(--line));
    background: color-mix(in srgb, var(--gold) 10%, transparent);
    color: var(--gold);
    font-weight: 600;
    font-size: 0.85rem;
}

.capa-pill b { color: var(--gold); font-weight: 700; }

.player-asof { margin: 0.35rem 0 0; font-size: 0.82rem; }

.player-awards-bar { margin: 0.9rem 0 0; }

.detail-modal {
    width: min(28rem, calc(100vw - 2rem));
    padding: 0;
    border: 1px solid var(--line);
    border-top: 3px solid var(--gold);
    background: #14171d;
    color: var(--ink);
    box-shadow: 0 22px 60px rgba(0, 0, 0, 0.65);
}

.detail-modal::backdrop {
    background: rgba(6, 8, 12, 0.72);
    backdrop-filter: blur(3px);
}

.detail-modal-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.95rem 1.1rem;
    border-bottom: 1px solid var(--line);
}

.detail-modal-head h3 {
    margin: 0;
    font-family: var(--display);
    font-size: 1.12rem;
    color: var(--gold);
}

.detail-modal-close {
    border: 0;
    background: transparent;
    color: var(--muted);
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    padding: 0.1rem 0.35rem;
}

.detail-modal-close:hover { color: var(--ink); }

.detail-modal-list {
    list-style: none;
    margin: 0;
    padding: 0.4rem 1.1rem 1rem;
    max-height: 60vh;
    overflow-y: auto;
}

.detail-modal-list li {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 0.35rem 0.8rem;
    padding: 0.55rem 0;
    border-bottom: 1px solid var(--line);
}

.detail-modal-list li:last-child { border-bottom: 0; }

.detail-modal-list a {
    color: var(--ink);
    font-weight: 600;
    text-decoration: none;
}

.detail-modal-list a:hover { color: var(--gold); text-decoration: underline; }

.profile-banner {
    margin: 0.7rem 0 1.6rem;
    padding: 1.4rem 1.55rem;
    border: 1px solid var(--line);
    border-top: 3px solid var(--gold);
    background:
        radial-gradient(circle at top right, rgba(224, 183, 93, 0.09), transparent 55%),
        var(--raise);
}

.profile-banner.is-owner {
    border-color: rgba(245, 198, 88, 0.45);
    border-top: 3px solid #f7cf6a;
    background:
        radial-gradient(circle at top left, rgba(247, 207, 106, 0.14), transparent 48%),
        radial-gradient(circle at top right, rgba(224, 183, 93, 0.1), transparent 55%),
        var(--raise);
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 232, 163, 0.16);
}

.profile-banner-top {
    display: grid;
    grid-template-columns: 7.4rem 1fr;
    gap: 1.25rem 1.6rem;
    align-items: start;
}

.face-wrap {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 7.4rem;
}

.profile-banner .face {
    width: 7rem;
    height: 7rem;
    border: 2px solid color-mix(in srgb, var(--gold) 55%, var(--line));
    border-radius: 50%;
    background: #101218;
    object-fit: cover;
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.4);
}

.face-wrap.is-owner .face {
    border: 3px solid #f7cf6a;
    box-shadow:
        0 0 0 3px #11131a,
        0 0 0 5px rgba(247, 207, 106, 0.85),
        0 0 26px rgba(245, 195, 78, 0.42),
        0 10px 26px rgba(0, 0, 0, 0.55);
}

.owner-badge {
    position: relative;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 0.28rem;
    margin-top: -0.78rem;
    padding: 0.22rem 0.62rem;
    border: 2px solid #11131a;
    border-radius: 999px;
    background: linear-gradient(135deg, #ffe9a8 0%, #eab448 58%, #c78a22 100%);
    color: #161108;
    font-family: var(--ui);
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    line-height: 1;
    text-transform: uppercase;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.55), 0 0 12px rgba(245, 195, 78, 0.35);
    user-select: none;
}

.owner-crown {
    width: 0.78rem;
    height: 0.78rem;
    flex: 0 0 auto;
}

.face-sm.is-owner {
    border: 2px solid #f7cf6a;
    box-shadow: 0 0 0 1px rgba(247, 207, 106, 0.45), 0 0 10px rgba(245, 195, 78, 0.35);
}

.owner-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.2rem;
    flex: 0 0 auto;
    overflow: visible;
    padding: 0.14rem 0.42rem;
    border-radius: 999px;
    background: linear-gradient(135deg, #ffe9a8 0%, #e5ae42 100%);
    color: #161108;
    font-family: var(--ui);
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    line-height: 1.1;
    text-transform: uppercase;
}

.owner-tag .owner-crown {
    width: 0.66rem;
    height: 0.66rem;
}

.profile-banner div.face {
    display: grid;
    place-items: center;
    color: var(--gold);
    font-family: var(--display);
    font-size: 2.5rem;
    font-weight: 700;
}

.profile-banner-main { min-width: 0; }

.profile-banner-head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem 1rem;
}

.profile-banner-head .kicker { margin: 0 0 0.25rem; }

.profile-name {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.55rem;
    margin: 0;
    font-family: var(--display);
    font-size: clamp(1.85rem, 3.6vw, 2.75rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.08;
}

.profile-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
}

.profile-actions form { margin: 0; }

.profile-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.45rem 1.15rem;
    margin-top: 0.8rem;
    padding-top: 0.75rem;
    border-top: 1px solid var(--line);
    font-size: 0.93rem;
}

.profile-meta b {
    color: var(--muted);
    font-weight: 500;
}

.profile-meta-club {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.profile-bio {
    margin: 0.95rem 0 0;
    padding: 0.65rem 0.95rem;
    border-left: 3px solid color-mix(in srgb, var(--gold) 70%, transparent);
    background: rgba(255, 255, 255, 0.025);
    color: var(--ink);
    font-size: 0.96rem;
    line-height: 1.55;
    max-width: 68ch;
    white-space: pre-line;
}

.profile-games-kicker { margin: 0 0 0.75rem; }

.profile-game-list {
    display: grid;
    gap: 1.1rem;
}

.profile-game-card {
    display: grid;
    grid-template-columns: 7.4rem 1fr;
    gap: 1.25rem 1.5rem;
    padding: 1.2rem 1.35rem;
    border: 1px solid var(--line);
    background: var(--raise);
    transition: border-color 0.16s ease;
}

.profile-game-card:hover { border-color: color-mix(in srgb, var(--gold) 65%, var(--line)); }

.pg-cover { display: block; }

.pg-cover img {
    display: block;
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    object-position: center top;
    border: 1px solid var(--line);
    background: #101218;
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.42);
}

.pg-body {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.pg-head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem 1rem;
    margin-bottom: 0.75rem;
}

.pg-head h2 {
    margin: 0;
    font-family: var(--display);
    font-size: clamp(1.3rem, 2.4vw, 1.7rem);
    line-height: 1.15;
}

.pg-head h2 a {
    color: inherit;
    text-decoration: none;
}

.pg-head h2 a:hover { color: var(--gold); }

.pg-rank {
    display: inline-flex;
    align-items: baseline;
    gap: 0.55rem;
    padding: 0.3rem 0.7rem;
    border: 1px solid color-mix(in srgb, var(--gold) 50%, var(--line));
    background: color-mix(in srgb, var(--gold) 10%, transparent);
}

.pg-rank-place {
    font-family: var(--display);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--gold);
}

.pg-rank-pts {
    font-size: 0.88rem;
    color: var(--ink);
    font-weight: 600;
}

.pg-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(6.2rem, 1fr));
    gap: 0.5rem;
    margin: 0 0 0.9rem;
}

.pg-stats div {
    padding: 0.5rem 0.65rem;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.02);
}

.pg-stats dt {
    color: var(--muted);
    font-family: var(--ui);
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.pg-stats dd {
    margin: 0.15rem 0 0;
    font-family: var(--display);
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.pg-honours { margin: 0 0 0.85rem; }

.pg-foot { margin-top: auto; }

.pg-more {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    color: var(--gold);
    font-family: var(--ui);
    font-size: 0.84rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    text-decoration: none;
}

.pg-more:hover { text-decoration: underline; }

@media (max-width: 680px) {
    .profile-banner { padding: 1.1rem; }
    .profile-banner-top { grid-template-columns: 1fr; }
    .face-wrap { width: 5.9rem; }
    .profile-banner .face { width: 5.5rem; height: 5.5rem; }
    .profile-game-card { grid-template-columns: 1fr; }
    .pg-cover { max-width: 8.5rem; }
}

.season-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr));
    gap: 0.9rem;
    margin-top: 1.5rem;
}

.save-hero, .club-line, .with-crest, .tile-head {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.save-hero { margin: 0.35rem 0 1.5rem; }

.save-hero h1, .save-hero .kicker, .save-hero .meta { margin-top: 0; margin-bottom: 0.15rem; }

.club-line, .with-crest { gap: 0.4rem; }

.with-crest { display: inline-flex; vertical-align: middle; }

.crest { display: block; flex: none; line-height: 0; }

.crest svg, .crest img { display: block; width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 8px 12px rgba(0, 0, 0, 0.35)); }

.crest-lg { width: 5.5rem; height: 5.5rem; }

.crest-md { width: 3.6rem; height: 3.6rem; }

.crest-sm { width: 2.7rem; height: 2.7rem; }

.crest-xs { width: 1.35rem; height: 1.35rem; }

.crest-xs svg, .crest-xs img { filter: none; }

.tile-head { align-items: center; }

.tile-head .year, .tile-head .club { display: block; }

.season-tile {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    padding: 1.1rem 1.15rem 1.2rem;
    border: 1px solid var(--line);
    border-top: 3px solid var(--mark, var(--gold));
    background:
        linear-gradient(180deg, color-mix(in srgb, var(--mark, var(--gold)) 16%, transparent), transparent 2.8rem),
        var(--raise);
    color: inherit;
    text-decoration: none;
}

.season-tile:hover { border-color: var(--gold); }

.season-tile .year {
    font-family: var(--display);
    font-size: clamp(2rem, 4vw, 2.8rem);
    line-height: 0.95;
}

.season-tile .club { color: var(--gold); }

.season-tile ul {
    list-style: none;
    margin: 0.45rem 0 0;
    padding: 0;
    color: var(--muted);
}

.season-tile li { margin: 0.15rem 0; }

.season-tile li.is-award { color: #9ce6bc; }

.season-awards { margin: 1.15rem 0 0; }

.season-awards .kicker { margin: 0 0 0.35rem; color: #79d9a4; }

.awards-list li.is-award { border-left: 3px solid #79d9a4; padding-left: 0.7rem; }

.player-section { margin-top: 1.8rem; }

.player-totals { margin-top: 0.5rem; }

.table-wrap {
    overflow-x: auto;
    margin-top: 0.9rem;
    border: 1px solid var(--line);
    background: var(--raise);
}

.stats-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.94rem;
}

.stats-table th, .stats-table td {
    padding: 0.55rem 0.7rem;
    border-bottom: 1px solid var(--line);
    text-align: left;
    white-space: nowrap;
}

.stats-table thead th {
    color: var(--muted);
    font-size: 0.76rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 600;
}

.stats-table tbody tr:last-child td { border-bottom: 0; }

.stats-table tr.is-club td { background: rgba(212, 175, 55, 0.06); }

.stats-table tr.is-club td:first-child { color: var(--gold); font-weight: 600; }

.stats-table .num { text-align: right; font-variant-numeric: tabular-nums; }

.money { margin-top: 1.2rem; }

.money dd.is-plus { color: var(--gold); }

.money dd.is-minus { color: #ffb4a8; }

.moves li.is-top { color: var(--gold); }

.moves a, .honours a { color: inherit; }

.moves a:hover, .honours a:hover { color: var(--gold); }

.season { margin: 1.4rem 0 0; }

.honours, .moves ul {
    list-style: none;
    margin: 0.4rem 0 0;
    padding: 0;
}

.honours li, .moves li {
    padding: 0.35rem 0;
    border-top: 1px solid var(--line);
}

.moves {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
    gap: 1rem 1.6rem;
    margin-top: 0.8rem;
}

.moves h3 { color: var(--gold); font-size: 0.95rem; letter-spacing: 0.08em; text-transform: uppercase; }

.error {
    margin: 0 0 1rem;
    color: #ffb4a8;
}

.db {
    width: min(72rem, calc(100% - 3rem));
    margin: 0 auto;
    padding: 0 0 1.5rem;
    color: var(--muted);
    font-size: 0.85rem;
}

.site-foot {
    border-top: 1px solid var(--line);
    background: #08090d;
}

.foot {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) auto minmax(16rem, 22rem);
    gap: 1.4rem 2rem;
    align-items: start;
    padding: 2rem 0 1.3rem;
}

.foot:not(:has(.cookie-box)) { grid-template-columns: minmax(0, 1.4fr) auto; }

a.foot-brand {
    display: inline-block;
    line-height: 0;
    text-decoration: none;
}

a.foot-brand img {
    display: block;
    width: min(18rem, 100%);
    height: auto;
}

.foot-note {
    max-width: 28rem;
    margin: 0.45rem 0 0;
    color: var(--muted);
}

.foot nav {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.foot nav a {
    color: var(--ink);
    font-family: var(--ui);
    font-size: 0.92rem;
    font-weight: 600;
    text-decoration: none;
}

.foot nav a:hover, .foot nav a:focus-visible { color: var(--gold); }

.cookie-box {
    padding: 0.85rem 0.95rem 0.95rem;
    border: 1px solid rgba(228, 177, 90, 0.45);
    background: #12141b;
}

.cookie-box p {
    margin: 0 0 0.75rem;
    color: var(--muted);
    font-size: 0.95rem;
}

.foot-copy,
.foot-credit {
    grid-column: 1 / -1;
    margin: 0;
    color: var(--muted);
    font-size: 0.85rem;
}

.foot-credit { margin-top: 0.35rem; }

.foot-credit a {
    color: inherit;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 0.15em;
}

.foot-credit a:hover,
.foot-credit a:focus-visible { color: var(--gold); }

.foot-disclaimer {
    grid-column: 1 / -1;
    margin: 0;
    padding-top: 0.9rem;
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: 0.78rem;
    line-height: 1.45;
}

.legal h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); }

.legal section { margin-top: 1.45rem; }

.legal h2 {
    margin-bottom: 0.35rem;
    font-size: 1.25rem;
}

.legal p { max-width: 42rem; }

@media (max-width: 980px) {
    .marks, .ranks, .hero-grid { grid-template-columns: 1fr; }
    .band-hero { min-height: 0; }
    .band-hero::before {
        background: linear-gradient(180deg, rgba(6, 16, 8, 0.45), rgba(6, 16, 8, 0.2));
    }
    .census { justify-self: stretch; }
}

@media (prefers-reduced-motion: reduce) {
    .live { animation: none; }
}

@media (max-width: 720px) {
    .top {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: center;
        gap: 0.45rem 0.7rem;
        padding: 0.65rem 0.85rem;
    }
    a.mark img { width: min(12.5rem, 58vw); }
    .top-tools { display: contents; }
    .lang-pick { justify-self: end; }
    .lang-pick summary span {
        position: absolute;
        width: 1px;
        height: 1px;
        padding: 0;
        margin: -1px;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
        white-space: nowrap;
        border: 0;
    }
    .account {
        grid-column: 1 / -1;
        justify-content: flex-end;
        gap: 0.35rem 0.8rem;
    }
    .account a.button {
        min-height: 2.15rem;
        padding: 0.3rem 0.7rem;
        letter-spacing: 0.06em;
    }
    .ask, .foot, .foot:not(:has(.cookie-box)) { grid-template-columns: 1fr; }
    .league { grid-template-columns: 6.2rem minmax(0, 1fr); }
    .era {
        grid-template-columns: 1fr;
        gap: 1.35rem;
    }
    .era::before {
        top: 0;
        bottom: 0;
        left: 0.22rem;
        width: 1px;
        height: auto;
    }
    .stop { padding: 0 0 0 1.35rem; }
    .stop time { position: static; }
    .stop::before { top: 0.28rem; left: 0; }
    .stop img { height: 3.2rem; }
}

/* ===== Showcase Band (MOTM + Themed Sub-Rankings Sliders) ===== */
.band-showcase {
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: #0b0d13;
}

.band-showcase .wrap {
    padding: 1.85rem 0 2rem;
}

.showcase-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
}

.showcase-card {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
    padding: 1.25rem 1.35rem;
    border: 1px solid var(--line);
    border-top: 3px solid var(--gold);
    background:
        radial-gradient(circle at top right, rgba(224, 183, 93, 0.08), transparent 55%),
        var(--raise);
}

.showcase-card.is-themed {
    border-top-color: #6ab57e;
    background:
        radial-gradient(circle at top right, rgba(106, 181, 126, 0.08), transparent 55%),
        var(--raise);
}

.showcase-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem;
}

.showcase-head .kicker { margin: 0 0 0.2rem; }

.showcase-link {
    color: var(--muted);
    font-family: var(--ui);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    text-decoration: none;
}

.showcase-link:hover { color: var(--gold); }

.slider-arrows {
    display: inline-flex;
    gap: 0.35rem;
    flex: 0 0 auto;
}

.slider-btn {
    display: inline-grid;
    place-items: center;
    width: 1.95rem;
    height: 1.95rem;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.03);
    color: var(--ink);
    font-size: 1.15rem;
    line-height: 1;
    cursor: pointer;
}

.slider-btn:hover,
.slider-btn:focus-visible {
    border-color: var(--gold);
    color: var(--gold);
    outline: none;
}

.subcat-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
}

.subcat-btn {
    padding: 0.28rem 0.62rem;
    border: 1px solid var(--line);
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.025);
    color: var(--muted);
    font-family: var(--ui);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    cursor: pointer;
}

.subcat-btn:hover { border-color: var(--gold); color: var(--ink); }

.subcat-btn.is-active {
    border-color: var(--gold);
    background: rgba(224, 183, 93, 0.14);
    color: var(--gold);
}

.slider-track { flex: 1; }

.slide-game-bar {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.85rem;
    padding-bottom: 0.7rem;
    border-bottom: 1px solid var(--line);
}

.slide-cover {
    width: 2.35rem;
    height: 3.1rem;
    object-fit: cover;
    border: 1px solid var(--line);
    background: #101218;
    flex: 0 0 auto;
}

.slide-game-bar strong {
    display: block;
    font-family: var(--display);
    font-size: 1.05rem;
    line-height: 1.2;
}

.slide-game-bar span {
    color: var(--muted);
    font-size: 0.82rem;
}

.slide-winner {
    display: flex;
    align-items: center;
    gap: 0.95rem;
}

.motm-avatar-link { flex: 0 0 auto; text-decoration: none; }

.motm-avatar {
    display: grid;
    place-items: center;
    width: 4.1rem;
    height: 4.1rem;
    border: 2px solid color-mix(in srgb, var(--gold) 55%, var(--line));
    border-radius: 50%;
    background: #101218;
    color: var(--gold);
    font-family: var(--display);
    font-size: 1.55rem;
    font-weight: 700;
    object-fit: cover;
}

.motm-avatar.is-owner {
    border: 2.5px solid #f7cf6a;
    box-shadow: 0 0 0 2px #11131a, 0 0 0 4px rgba(247, 207, 106, 0.75), 0 0 16px rgba(245, 195, 78, 0.35);
}

.slide-winner-meta,
.motm-info {
    min-width: 0;
    flex: 1;
}

.motm-name-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.45rem;
}

.motm-name {
    color: var(--ink);
    font-family: var(--display);
    font-size: 1.22rem;
    font-weight: 700;
    text-decoration: none;
    line-height: 1.2;
}

.motm-name:hover { color: var(--gold); }

.motm-club {
    margin: 0.3rem 0 0;
    font-size: 0.9rem;
    color: var(--muted);
}

.motm-stats-line {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem 0.75rem;
    margin-top: 0.45rem;
    font-size: 0.84rem;
    color: var(--muted);
}

.motm-stats-line b { color: var(--muted); font-weight: 500; }

.motm-score-pill {
    display: inline-flex;
    align-items: center;
    padding: 0.16rem 0.5rem;
    border: 1px solid rgba(224, 183, 93, 0.5);
    border-radius: 2px;
    background: rgba(224, 183, 93, 0.13);
    color: var(--gold);
    font-family: var(--ui);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    font-variant-numeric: tabular-nums;
}

.slide-cta {
    display: inline-block;
    margin-top: 0.85rem;
}

.slide-empty {
    margin: 0.8rem 0;
    color: var(--muted);
    font-size: 0.94rem;
}

.slider-dots {
    display: flex;
    flex-wrap: wrap;
    gap: 0.3rem;
    padding-top: 0.65rem;
    border-top: 1px solid var(--line);
}

.slider-dot {
    padding: 0.18rem 0.48rem;
    border: 1px solid var(--line);
    border-radius: 2px;
    background: transparent;
    color: var(--muted);
    font-family: var(--ui);
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    cursor: pointer;
}

.slider-dot:hover { border-color: var(--gold); color: var(--ink); }

.slider-dot.is-active {
    border-color: var(--gold);
    background: var(--gold);
    color: #14110a;
    font-weight: 700;
}

/* ===== MOTM Archive Page ===== */
.motm-archive-list {
    display: grid;
    gap: 1.8rem;
    margin-top: 1.4rem;
}

.motm-month-heading {
    margin: 0 0 0.8rem;
    font-size: 1.35rem;
    color: var(--gold);
}

.motm-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(19rem, 1fr));
    gap: 1rem;
}

.motm-card {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    padding: 1.15rem 1.25rem;
    border: 1px solid var(--line);
    border-top: 3px solid var(--gold);
    background: var(--raise);
}

.motm-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
}

.motm-game-pill {
    color: var(--muted);
    font-family: var(--ui);
    font-size: 0.74rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.motm-card-body {
    display: flex;
    align-items: center;
    gap: 0.95rem;
}

.motm-card-foot {
    margin-top: auto;
    padding-top: 0.65rem;
    border-top: 1px solid var(--line);
}

/* ===== Themed Sub-Rankings ===== */
.rank-subnav,
.themed-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin: 0.85rem 0 1.15rem;
}

.themed-tab {
    display: inline-flex;
    align-items: center;
    padding: 0.4rem 0.82rem;
    border: 1px solid var(--line);
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.025);
    color: var(--ink);
    font-family: var(--ui);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    text-decoration: none;
}

.themed-tab:hover { border-color: var(--gold); color: var(--gold); }

.themed-tab.is-on {
    border-color: var(--gold);
    background: rgba(224, 183, 93, 0.16);
    color: var(--gold);
}

.themed-board {
    list-style: none;
    margin: 1rem 0 0;
    padding: 0;
}

.themed-row {
    display: grid;
    grid-template-columns: 2.4rem minmax(0, 1fr);
    gap: 0.7rem;
    align-items: center;
    padding: 0.85rem 0;
    border-top: 1px solid var(--line);
}

.themed-row-main {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem 1.2rem;
}

.themed-row-who {
    display: grid;
    gap: 0.25rem;
    min-width: 0;
}

.themed-career-link {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem;
    color: var(--muted);
    font-size: 0.88rem;
    text-decoration: none;
}

.themed-career-link:hover { color: var(--gold); }

.themed-career-link small { color: var(--muted); opacity: 0.85; }

.themed-row-stat {
    text-align: right;
}

.themed-row-stat strong {
    display: block;
    color: var(--gold);
    font-family: var(--display);
    font-size: 1.15rem;
    line-height: 1.15;
}

.themed-row-stat span {
    font-size: 0.8rem;
    color: var(--muted);
}

/* ===== Season Notes & PNG Export ===== */
.save-hero-split {
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

.save-hero-id {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    min-width: 0;
}

.save-hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    align-items: center;
}

.btn-png {
    border-color: rgba(224, 183, 93, 0.48);
    color: var(--gold);
}

.btn-png:hover {
    background: rgba(224, 183, 93, 0.14);
}

.season-note-section {
    margin: 1.2rem 0 1.4rem;
    padding: 1rem 1.15rem;
    border: 1px solid var(--line);
    border-left: 3px solid var(--gold);
    background: var(--raise);
}

.season-note-section .kicker { margin: 0 0 0.45rem; }

.season-note-box {
    margin: 0;
    color: var(--ink);
    font-size: 1rem;
    line-height: 1.55;
    white-space: pre-line;
}

.season-note-editor { margin-top: 0.75rem; }

.season-note-editor summary,
.hof-control summary {
    display: inline-block;
    color: var(--gold);
    font-family: var(--ui);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    cursor: pointer;
}

.season-note-form,
.hof-form {
    display: grid;
    gap: 0.7rem;
    margin-top: 0.75rem;
    max-width: 44rem;
}

.tile-note {
    margin: 0.65rem 0 0;
    padding-top: 0.5rem;
    border-top: 1px dashed var(--line);
    color: var(--muted);
    font-size: 0.84rem;
    font-style: italic;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ===== Hall of Fame ===== */
.hof-inline-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.28rem;
    margin-left: 0.5rem;
    padding: 0.16rem 0.52rem;
    border-radius: 999px;
    background: linear-gradient(135deg, #ffe9a8 0%, #dfa63b 100%);
    color: #161108;
    font-family: var(--ui);
    font-size: 0.66rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    vertical-align: middle;
}

.hof-banner {
    margin: 0.9rem 0 1.2rem;
    padding: 1rem 1.2rem;
    border: 1px solid rgba(245, 198, 88, 0.45);
    border-left: 3px solid #f7cf6a;
    background: radial-gradient(circle at top right, rgba(247, 207, 106, 0.12), transparent 55%), var(--raise);
}

.hof-banner-head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.6rem;
}

.hof-banner-head .hof-inline-pill { margin-left: 0; }

.hof-banner-note {
    margin: 0.6rem 0 0;
    color: var(--ink);
    font-style: italic;
    line-height: 1.5;
    white-space: pre-line;
}

.hof-control { margin: 0.85rem 0 0.4rem; }

.hof-form-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.band-hof {
    border-top: 1px solid var(--line);
    background: #0c0f16;
}

.band-hof .wrap { padding: 2.4rem 0 2.6rem; }

.hof-home-head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.hof-home-head h2 { margin: 0.15rem 0 0.25rem; }

.hof-home-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(19rem, 1fr));
    gap: 1rem;
}

.hof-mini-card {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    padding: 1.15rem 1.25rem;
    border: 1px solid rgba(224, 183, 93, 0.32);
    border-top: 3px solid var(--gold);
    background: var(--raise);
}

.hof-mini-top {
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.hof-mini-id {
    min-width: 0;
    flex: 1;
}

.hof-mini-id strong { display: block; font-size: 0.96rem; }

.hof-mini-id span { color: var(--muted); font-size: 0.8rem; }

.hof-mini-card h3 {
    margin: 0;
    font-size: 1.2rem;
}

.hof-mini-card h3 a { color: inherit; text-decoration: none; }

.hof-mini-card h3 a:hover { color: var(--gold); }

.hof-mini-stats {
    margin: 0;
    color: var(--muted);
    font-size: 0.88rem;
}

.hof-mini-quote {
    margin: 0;
    color: var(--ink);
    font-size: 0.9rem;
    font-style: italic;
    line-height: 1.45;
}

.hof-list {
    display: grid;
    gap: 1.15rem;
    margin-top: 1.35rem;
}

.hof-card {
    padding: 1.35rem 1.45rem;
    border: 1px solid rgba(224, 183, 93, 0.38);
    border-top: 3px solid #f7cf6a;
    background: radial-gradient(circle at top right, rgba(247, 207, 106, 0.08), transparent 55%), var(--raise);
}

.hof-card-top {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.85rem 1rem;
}

.hof-person {
    display: flex;
    align-items: center;
    gap: 0.95rem;
}

.hof-title {
    margin: 0.15rem 0 0.15rem;
    font-size: 1.45rem;
}

.hof-title a { color: inherit; text-decoration: none; }

.hof-title a:hover { color: var(--gold); }

.hof-clubs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin: 0.9rem 0 0.85rem;
}

.hof-club-pill {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.55rem;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.03);
    font-size: 0.84rem;
}

.hof-quote {
    margin: 0.9rem 0 0;
    padding: 0.65rem 0.95rem;
    border-left: 3px solid var(--gold);
    background: rgba(255, 255, 255, 0.025);
    color: var(--ink);
    font-style: italic;
    line-height: 1.5;
    white-space: pre-line;
}

@media (max-width: 860px) {
    .showcase-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
    .themed-row-stat { text-align: left; }
    .save-hero-split { align-items: flex-start; }
}
