/* css/style.css */
:root {
    --bg-main: #0B0E14;
    --bg-card: #151A22;
    --text-main: #E2E8F0;
    --text-muted: #94A3B8;
    --accent-color: #00FF87; /* Neon green/gold hybrid vibe */
    --accent-glow: rgba(0, 255, 135, 0.3);
    --border-color: #1E293B;
}

body {
    background-color: var(--bg-main);
    color: var(--text-main);
    font-family: 'Outfit', sans-serif;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.football-loader {
    position: fixed;
    left: 1.25rem;
    bottom: 1.25rem;
    z-index: 2000;
    touch-action: none;
}

.football-loader::after {
    content: "Press, drag and release";
    position: absolute;
    left: calc(50% + 1.25rem);
    bottom: calc(100% + 0.4rem);
    transform: translateX(-50%) translateY(4px);
    width: max-content;
    max-width: 180px;
    padding: 0.35rem 0.55rem;
    border: 1px solid rgba(0, 255, 135, 0.3);
    border-radius: 8px;
    background: rgba(15, 23, 42, 0.95);
    color: var(--text-main);
    font-size: 0.75rem;
    font-weight: 800;
    pointer-events: none;
    opacity: 0;
    transition: opacity 140ms ease, transform 140ms ease;
}

.football-loader:hover::after,
.football-loader:focus-within::after {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.football-riddle-toggle {
    appearance: none;
    position: absolute;
    left: calc(50% + 1.25rem);
    bottom: calc(100% - 1.45rem);
    transform: translateX(-50%) translateY(4px);
    border: 1px solid rgba(0, 255, 135, 0.24);
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.95);
    color: var(--accent-color);
    font-size: 0.7rem;
    font-weight: 900;
    line-height: 1;
    padding: 0.3rem 0.55rem;
    opacity: 0;
    transition: opacity 140ms ease, transform 140ms ease, border-color 140ms ease;
}

.football-riddle-toggle:hover,
.football-riddle-toggle:focus-visible {
    border-color: rgba(0, 255, 135, 0.6);
}

.football-loader:hover .football-riddle-toggle,
.football-loader:focus-within .football-riddle-toggle,
.football-loader.is-riddle-open .football-riddle-toggle {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.football-riddle-popover {
    position: absolute;
    left: 0;
    bottom: calc(100% + 2.9rem);
    width: min(250px, calc(100vw - 2rem));
    padding: 0.7rem 0.8rem;
    border: 1px solid rgba(0, 255, 135, 0.34);
    border-radius: 8px;
    background: rgba(15, 23, 42, 0.97);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.36);
    color: var(--text-main);
    text-align: center;
}

.football-riddle-popover strong,
.football-riddle-popover span {
    display: block;
}

.football-riddle-popover strong {
    color: var(--accent-color);
    font-size: 0.76rem;
    margin-bottom: 0.25rem;
}

.football-riddle-popover span {
    color: var(--text-main);
    font-size: 0.78rem;
    font-weight: 700;
    line-height: 1.35;
}

.football-riddle-status {
    color: var(--accent-color) !important;
    margin-top: 0.4rem;
}

.standings-page {
    min-height: 70vh;
}

.standings-updated {
    font-size: 0.9rem;
    font-weight: 700;
}

.standings-grid {
    display: grid;
    gap: 1.4rem;
}

.standings-card {
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 8px;
    background: rgba(21, 26, 34, 0.92);
    overflow: hidden;
}

.standings-card-header,
.standings-row {
    display: grid;
    grid-template-columns: minmax(260px, 1fr) repeat(8, minmax(44px, 58px)) minmax(88px, 118px);
    align-items: center;
}

.standings-card-header {
    padding: 1rem;
    border-bottom: 1px solid rgba(148, 163, 184, 0.18);
}

.standings-card-header h2 {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 800;
}

.standings-headings {
    display: contents;
    color: var(--text-muted);
    font-size: 0.78rem;
    font-weight: 800;
    text-align: center;
}

.standings-row {
    min-height: 64px;
    padding: 0 1rem;
    border-bottom: 1px solid rgba(148, 163, 184, 0.12);
}

.standings-row:last-child {
    border-bottom: 0;
}

.standings-team {
    display: grid;
    grid-template-columns: 28px 28px minmax(0, 1fr);
    align-items: center;
    gap: 0.55rem;
    min-width: 0;
}

.standings-team img,
.standings-flag-placeholder {
    width: 24px;
    height: 18px;
    object-fit: cover;
    border-radius: 2px;
}

.standings-flag-placeholder {
    display: inline-block;
    background: rgba(148, 163, 184, 0.22);
}

.standings-position {
    color: var(--text-muted);
    font-size: 0.8rem;
    font-weight: 800;
}

.standings-team strong {
    display: block;
    color: var(--text-main);
    font-size: 0.98rem;
    line-height: 1.15;
}

.standings-participant {
    display: block;
    color: var(--accent-color);
    font-size: 0.78rem;
    font-weight: 800;
    line-height: 1.2;
    margin-top: 0.16rem;
}

.standings-stat {
    color: var(--text-main);
    font-size: 0.9rem;
    font-weight: 800;
    text-align: center;
}

.standings-points {
    color: var(--accent-color);
}

.standings-form {
    display: inline-flex;
    gap: 0.22rem;
    justify-content: center;
}

.standings-form-badge {
    display: inline-grid;
    place-items: center;
    width: 20px;
    height: 20px;
    border-radius: 999px;
    color: #071014;
    font-size: 0.68rem;
    font-weight: 900;
}

.standings-form-badge.is-w {
    background: var(--accent-color);
}

.standings-form-badge.is-d {
    background: #facc15;
}

.standings-form-badge.is-l {
    background: #fb7185;
}

.standings-form-empty {
    color: var(--text-muted);
    font-size: 0.78rem;
}

@media (min-width: 1320px) {
    .standings-page {
        max-width: 1560px;
    }

    .standings-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        align-items: start;
    }

    .standings-card-header,
    .standings-row {
        grid-template-columns: minmax(190px, 1fr) repeat(8, 34px) minmax(78px, 88px);
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }

    .standings-team {
        grid-template-columns: 22px 25px minmax(0, 1fr);
        gap: 0.42rem;
    }

    .standings-team strong {
        font-size: 0.9rem;
    }

    .standings-participant {
        font-size: 0.72rem;
    }

    .standings-stat {
        font-size: 0.82rem;
    }

    .standings-form-badge {
        width: 18px;
        height: 18px;
        font-size: 0.62rem;
    }
}

.draw-page {
    min-height: 100vh;
    background:
        radial-gradient(circle at 50% 0%, rgba(0, 255, 135, 0.12), transparent 34rem),
        radial-gradient(circle at 15% 22%, rgba(56, 189, 248, 0.1), transparent 24rem),
        var(--bg-main);
}

.draw-confetti-canvas {
    position: fixed;
    inset: 0;
    z-index: 20;
    pointer-events: none;
}

.draw-falling-football {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 21;
    display: grid;
    place-items: center;
    width: 4.5rem;
    height: 4.5rem;
    font-family: "Segoe UI Emoji", "Apple Color Emoji", "Noto Color Emoji", sans-serif;
    font-size: 4rem;
    line-height: 1;
    pointer-events: none;
    filter: drop-shadow(0 12px 16px rgba(0, 0, 0, 0.5));
    will-change: transform, opacity;
}

.draw-runner {
    width: min(1180px, calc(100% - 2rem));
    margin: 0 auto;
    padding: 2rem 0 3rem;
}

.draw-runner-hero {
    display: grid;
    justify-items: center;
    gap: 1.5rem;
    min-height: 58vh;
    align-content: center;
    text-align: center;
}

.draw-kicker {
    margin: 0 0 0.4rem;
    color: var(--accent-color);
    font-size: 0.82rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.draw-runner-hero h1 {
    margin: 0;
    color: var(--text-main);
    font-size: clamp(3rem, 8vw, 7.5rem);
    font-weight: 900;
    line-height: 0.95;
}

.draw-copy {
    width: min(42rem, 100%);
    margin: 1rem auto 0;
    color: var(--text-muted);
    font-size: 1.1rem;
    font-weight: 700;
}

.draw-run-button {
    min-width: min(25rem, 100%);
    border: 1px solid rgba(0, 255, 135, 0.48);
    border-radius: 999px;
    background: var(--accent-color);
    color: var(--bg-main);
    box-shadow: 0 0 42px rgba(0, 255, 135, 0.25);
    font-size: clamp(1.4rem, 3vw, 2.25rem);
    font-weight: 900;
    padding: 1.1rem 2.2rem;
    transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
}

.draw-run-button:hover:not(:disabled),
.draw-run-button:focus-visible:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 0 58px rgba(0, 255, 135, 0.38);
}

.draw-run-button:disabled {
    cursor: not-allowed;
    opacity: 0.58;
}

.draw-status {
    min-height: 2.2rem;
    border: 1px solid rgba(0, 255, 135, 0.22);
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.62);
    color: var(--text-main);
    font-weight: 900;
    padding: 0.45rem 0.9rem;
}

.draw-status.is-error {
    border-color: rgba(248, 113, 113, 0.36);
    color: #FCA5A5;
}

.draw-results-section {
    margin-top: 0;
}

.draw-results-header {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.draw-results-header h2 {
    margin: 0;
    font-size: clamp(2rem, 4vw, 3.4rem);
    font-weight: 900;
}

.draw-results-explainer {
    max-width: 44rem;
    margin: 0.45rem 0 0;
    color: var(--text-muted);
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.4;
}

.draw-results-header > span {
    color: var(--accent-color);
    font-size: 0.86rem;
    font-weight: 900;
}

.draw-results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr));
    gap: 0.8rem;
}

.draw-empty-state {
    grid-column: 1 / -1;
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 8px;
    background: rgba(15, 23, 42, 0.72);
    color: var(--text-muted);
    font-size: 1rem;
    font-weight: 800;
    padding: 2rem;
    text-align: center;
}

.draw-result-card {
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 8px;
    background: rgba(15, 23, 42, 0.68);
    padding: 0.9rem;
}

.draw-result-card-top {
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.8rem;
}

.draw-result-card h3 {
    margin: 0;
    color: var(--text-main);
    font-size: 1.15rem;
    font-weight: 900;
    overflow-wrap: anywhere;
}

.draw-result-card-top span {
    flex: 0 0 auto;
    border: 1px solid rgba(0, 255, 135, 0.28);
    border-radius: 999px;
    color: var(--accent-color);
    font-size: 0.72rem;
    font-weight: 900;
    padding: 0.22rem 0.5rem;
}

.draw-team-list {
    display: grid;
    gap: 0.45rem;
}

.draw-team-row {
    appearance: none;
    display: grid;
    grid-template-columns: 2rem minmax(0, 1fr);
    align-items: center;
    width: 100%;
    gap: 0.55rem;
    min-width: 0;
    border: 1px solid rgba(148, 163, 184, 0.14);
    border-radius: 8px;
    background: rgba(30, 41, 59, 0.42);
    padding: 0.45rem 0.55rem;
    text-align: left;
    transition: border-color 0.15s ease, background 0.15s ease, transform 0.15s ease;
}

.draw-team-row:hover,
.draw-team-row:focus-visible {
    border-color: rgba(0, 255, 135, 0.36);
    background: rgba(30, 41, 59, 0.66);
    transform: translateY(-1px);
}

.draw-team-row img,
.draw-team-flag-placeholder {
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    object-fit: cover;
    background: rgba(15, 23, 42, 0.9);
}

.draw-team-row strong,
.draw-team-row small {
    display: block;
    min-width: 0;
    overflow-wrap: anywhere;
}

.draw-team-name-line {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    min-width: 0;
}

.draw-team-row strong {
    color: var(--text-main);
    font-size: 0.9rem;
    font-weight: 900;
    line-height: 1.15;
}

.draw-team-name-line span {
    flex: 0 0 auto;
    border: 1px solid rgba(0, 255, 135, 0.25);
    border-radius: 999px;
    color: var(--accent-color);
    font-size: 0.68rem;
    font-weight: 900;
    line-height: 1;
    padding: 0.18rem 0.42rem;
}

.draw-team-row small {
    color: var(--text-muted);
    font-size: 0.72rem;
    font-weight: 800;
}

.football-ball {
    appearance: none;
    border: 0;
    background: transparent;
    padding: 0;
    cursor: grab;
    display: grid;
    place-items: center;
    width: 5rem;
    height: 5rem;
    font-size: 1rem;
    line-height: 1;
    filter: drop-shadow(0 10px 14px rgba(0, 0, 0, 0.45));
    transform-origin: 50% 50%;
    transition: filter 160ms ease;
    user-select: none;
    touch-action: none;
    will-change: transform;
}

.football-ball-face {
    display: grid;
    place-items: center;
    width: 4.5rem;
    height: 4.5rem;
    transform: translateX(-1.25rem) rotate(var(--football-rotation, 0deg)) scale(
        calc(1 + (var(--football-impact, 0) * 0.08)),
        calc(1 - (var(--football-impact, 0) * 0.06))
    );
    transform-origin: 50% 50%;
    will-change: transform;
}

.football-emoji {
    display: block;
    width: 4.5rem;
    height: 4.5rem;
    font-family: "Segoe UI Emoji", "Apple Color Emoji", "Noto Color Emoji", sans-serif;
    font-size: 4.35rem;
    line-height: 4.5rem;
    text-align: center;
}

.football-ball.is-damo .football-emoji {
    display: none;
}

.football-ball.is-damo .football-ball-face::before {
    content: "";
    display: block;
    width: 4.5rem;
    height: 4.5rem;
    border-radius: 50%;
    background: url("../img/damo.png") center / contain no-repeat;
}

.football-ball.is-dragging {
    cursor: grabbing;
    filter: drop-shadow(0 16px 22px rgba(0, 0, 0, 0.55));
    transition: none;
}

.football-ball:hover,
.football-ball:focus-visible {
    filter: drop-shadow(0 14px 18px rgba(0, 0, 0, 0.55));
}

.football-ball:focus-visible {
    outline: 2px solid var(--accent-color);
    outline-offset: 0.4rem;
    border-radius: 999px;
}

.football-burst-ball {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 2100;
    display: grid;
    place-items: center;
    width: 3.5rem;
    height: 3.5rem;
    pointer-events: none;
    will-change: transform, opacity;
    filter: drop-shadow(0 12px 16px rgba(0, 0, 0, 0.48));
}

.football-burst-ball::before {
    content: "\26BD";
    font-family: "Segoe UI Emoji", "Apple Color Emoji", "Noto Color Emoji", sans-serif;
    font-size: 3.25rem;
    line-height: 1;
}

.football-burst-ball.is-damo::before {
    content: "";
    display: block;
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 50%;
    background: url("../img/damo.png") center / contain no-repeat;
}

@media (max-width: 767.98px) {
    .football-loader {
        display: none;
    }
}

@media (max-width: 991.98px) {
    .prizes-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 575.98px) {
    .prizes-summary {
        align-items: flex-start;
        flex-direction: column;
    }

    .prizes-grid {
        grid-template-columns: 1fr;
    }
}

/* Ensure headings and general text default to light */
h1, h2, h3, h4, h5, h6, .text-muted {
    color: var(--text-main) !important;
}
.text-muted {
    color: var(--text-muted) !important;
}

/* Navbar */
.premium-nav {
    background-color: rgba(11, 14, 20, 0.8) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
}
.text-accent {
    color: var(--accent-color) !important;
}
.navbar .btn.nav-link {
    border: 0;
    text-decoration: none;
}

.profile-menu-item {
    display: flex;
    align-items: center;
    margin-left: 0.4rem;
}

.profile-menu-toggle {
    appearance: none;
    display: inline-grid;
    place-items: center;
    width: 2.25rem;
    height: 2.25rem;
    border: 1px solid rgba(0, 255, 135, 0.36);
    border-radius: 999px;
    background: rgba(0, 255, 135, 0.08);
    color: var(--accent-color);
    font-weight: 900;
}

.profile-menu-toggle:hover,
.profile-menu-toggle:focus-visible {
    background: rgba(0, 255, 135, 0.16);
    outline: 0;
}

.profile-menu-panel {
    width: min(320px, calc(100vw - 2rem));
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background: var(--bg-card);
    color: var(--text-main);
    box-shadow: 0 18px 38px rgba(0, 0, 0, 0.38);
}

.profile-menu-panel .form-control::placeholder {
    color: #CBD5E1;
    opacity: 1;
}

.profile-page {
    max-width: 1120px;
}

.profile-layout {
    display: grid;
    gap: 1.25rem;
}

.profile-rank {
    display: block;
    color: var(--accent-color);
    font-size: 2.25rem;
    line-height: 1;
}

.profile-nickname-form {
    max-width: 420px;
}

.notification-group + .notification-group {
    margin-top: 1.25rem;
}

.notification-group h3 {
    margin: 0 0 0.65rem;
    color: var(--text-muted);
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.notification-list {
    display: grid;
    gap: 0.55rem;
}

.notification-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 1rem;
    margin: 0;
    padding: 0.85rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background: #1E293B;
    cursor: pointer;
}

.notification-row strong,
.notification-row small {
    display: block;
}

.notification-row strong {
    color: var(--text-main);
    font-size: 0.95rem;
}

.notification-row small {
    margin-top: 0.12rem;
    color: var(--text-muted);
    font-size: 0.78rem;
}

.site-message-banner {
    border-bottom: 1px solid rgba(0, 255, 135, 0.22);
    background: rgba(0, 255, 135, 0.08);
}

.site-message-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 0.7rem 0.75rem;
    color: var(--text-main);
    font-size: 0.92rem;
    font-weight: 700;
    text-align: center;
}

.site-message-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    padding: 0.25rem 0.55rem;
    border: 1px solid rgba(0, 255, 135, 0.34);
    border-radius: 999px;
    color: var(--accent-color);
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.terms-page {
    max-width: 920px;
}

.terms-panel {
    padding: 1.5rem;
}

.terms-kicker {
    color: var(--accent-color);
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.terms-list {
    display: grid;
    gap: 0.85rem;
    margin: 1.25rem 0 0;
    padding: 0;
    list-style: none;
}

.terms-list li {
    padding: 1rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background: rgba(30, 41, 59, 0.58);
}

.terms-list strong {
    display: block;
    margin-bottom: 0.25rem;
    color: var(--text-main);
}

.terms-list span {
    color: var(--text-muted);
}

.responsible-note {
    border: 1px solid rgba(0, 255, 135, 0.28);
    border-radius: 8px;
    background: rgba(0, 255, 135, 0.07);
    padding: 1rem;
}

.team-tiers-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    align-items: start;
}

.team-tier-card {
    min-width: 0;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    background: var(--bg-card);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    overflow: hidden;
}

.team-tier-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    border-bottom: 1px solid var(--border-color);
    background: rgba(30, 41, 59, 0.58);
}

.team-tier-header h2 {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 900;
}

.team-tier-header small {
    color: var(--text-muted);
    font-weight: 800;
}

.team-tier-header span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 3rem;
    padding: 0.26rem 0.55rem;
    border: 1px solid rgba(0, 255, 135, 0.28);
    border-radius: 999px;
    color: var(--accent-color);
    font-size: 0.78rem;
    font-weight: 900;
}

.team-tier-list {
    display: grid;
    gap: 0.55rem;
    padding: 0.75rem;
}

.team-rank-card {
    display: grid;
    grid-template-columns: 3rem minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.65rem;
    min-height: 3.65rem;
    padding: 0.65rem;
    border: 1px solid rgba(148, 163, 184, 0.16);
    border-radius: 8px;
    background: rgba(30, 41, 59, 0.55);
}

.team-rank-button {
    width: 100%;
    color: inherit;
    font: inherit;
    text-align: left;
    cursor: pointer;
    touch-action: manipulation;
    -webkit-tap-highlight-color: rgba(0, 255, 135, 0.18);
    transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.team-rank-button:hover,
.team-rank-button:focus-visible {
    border-color: rgba(0, 255, 135, 0.42);
    background: rgba(30, 41, 59, 0.82);
    transform: translateY(-1px);
}

.team-rank-button:focus-visible {
    outline: 2px solid rgba(0, 255, 135, 0.62);
    outline-offset: 2px;
}

.team-rank-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 2.2rem;
    border-radius: 8px;
    background: rgba(0, 255, 135, 0.08);
    color: var(--accent-color);
    font-size: 0.82rem;
    font-weight: 900;
}

.team-rank-main {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    min-width: 0;
    color: var(--text-main);
    font-weight: 900;
}

.team-rank-main img,
.team-rank-flag-placeholder {
    width: 2.2rem;
    height: 2.2rem;
    flex: 0 0 auto;
    border-radius: 50%;
    object-fit: cover;
    background: rgba(15, 23, 42, 0.8);
}

.team-rank-name {
    min-width: 0;
    overflow-wrap: anywhere;
}

.team-rank-owner {
    justify-self: end;
    max-width: 8rem;
    padding: 0.28rem 0.55rem;
    border: 1px solid rgba(0, 255, 135, 0.24);
    border-radius: 999px;
    background: rgba(0, 255, 135, 0.08);
    color: var(--accent-color);
    font-size: 0.72rem;
    font-weight: 900;
    line-height: 1.1;
    text-align: center;
    overflow-wrap: anywhere;
}

.team-rank-owner:empty {
    display: none;
}

.team-players-title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-width: 0;
}

.team-players-crest {
    width: 2.75rem;
    height: 2.75rem;
    flex: 0 0 auto;
    border-radius: 50%;
    object-fit: cover;
    background: rgba(15, 23, 42, 0.8);
}

.team-players-title .modal-title {
    overflow-wrap: anywhere;
}

.team-players-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr));
    gap: 0.45rem;
}

.team-player-card {
    display: grid;
    grid-template-columns: 2rem minmax(0, 1fr);
    align-items: center;
    gap: 0.5rem;
    min-width: 0;
    border: 1px solid rgba(148, 163, 184, 0.16);
    border-radius: 8px;
    background: rgba(15, 23, 42, 0.42);
    padding: 0.35rem 0.45rem;
}

.team-player-info {
    display: grid;
    gap: 0.1rem;
    min-width: 0;
}

.team-player-info strong {
    color: var(--text-main);
    font-size: 0.82rem;
    font-weight: 900;
    line-height: 1.1;
    overflow-wrap: anywhere;
}

.team-player-info small {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.18rem 0.35rem;
    color: var(--text-muted);
    font-size: 0.68rem;
    font-weight: 800;
    line-height: 1.1;
}

.team-player-info small span:first-child {
    color: var(--accent-color);
}

.team-player-headshot {
    width: 2rem;
    height: 2rem;
    flex: 0 0 auto;
    border-radius: 50%;
    object-fit: cover;
    object-position: center top;
    background: rgba(15, 23, 42, 0.9);
}

.team-player-headshot-placeholder {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(0, 255, 135, 0.24);
    color: var(--accent-color);
    font-size: 0.64rem;
    font-weight: 900;
}

/* Hero */
.hero-section {
    padding: 3.25rem 0 3rem;
    background: radial-gradient(circle at top, #111A2C 0%, var(--bg-main) 100%);
    border-bottom: 1px solid var(--border-color);
}

/* Cards */
.premium-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.premium-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.4);
}
.bg-accent {
    background-color: var(--accent-color) !important;
}

.prizes-panel {
    display: block;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    background: rgba(21, 26, 34, 0.78);
    scroll-margin-top: 5rem;
}

.prizes-summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 0.85rem 1rem;
    cursor: pointer;
    list-style: none;
}

.prizes-summary::-webkit-details-marker {
    display: none;
}

.prizes-summary strong,
.prizes-summary small {
    display: block;
}

.prizes-summary strong {
    color: var(--text-main);
    font-size: 1rem;
}

.prizes-summary small {
    color: var(--text-muted);
    font-size: 0.82rem;
}

.prizes-summary-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 4.25rem;
    padding: 0.28rem 0.65rem;
    border: 1px solid rgba(0, 255, 135, 0.28);
    border-radius: 999px;
    color: var(--accent-color);
    font-size: 0.82rem;
    font-weight: 800;
}

.prizes-panel[open] .prizes-summary-action::before {
    content: "Hide";
}

.prizes-panel:not([open]) .prizes-summary-action::before {
    content: "View";
}

.prizes-summary-action {
    font-size: 0;
}

.prizes-summary-action::before {
    font-size: 0.82rem;
}

.prizes-content {
    padding: 0 1rem 1rem;
}

.prize-group + .prize-group {
    margin-top: 1rem;
}

.prize-group h3 {
    margin: 0 0 0.55rem;
    color: var(--text-muted);
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.prizes-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.55rem;
}

.prizes-grid-main {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.prize-card {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 0.6rem;
    min-height: 4.35rem;
    padding: 0.7rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background: rgba(30, 41, 59, 0.52);
}

.prize-card-feature {
    border-color: rgba(0, 255, 135, 0.24);
    background: rgba(0, 255, 135, 0.06);
}

.prize-icon {
    display: grid;
    place-items: center;
    width: 2.15rem;
    height: 2.15rem;
    border: 1px solid rgba(0, 255, 135, 0.18);
    border-radius: 8px;
    background: rgba(11, 14, 20, 0.5);
    font-size: 1.05rem;
}

.prize-label {
    color: var(--text-muted);
    font-size: 0.66rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.prize-card h4 {
    margin: 0.1rem 0 0;
    color: var(--text-main);
    font-size: 0.92rem;
    font-weight: 900;
}

.prize-card small {
    display: block;
    margin-top: 0.12rem;
    color: var(--text-muted);
    font-size: 0.72rem;
}

/* Table */
.table {
    --bs-table-color: var(--text-main);
    --bs-table-bg: transparent;
    --bs-table-hover-color: var(--text-main);
    --bs-table-hover-bg: rgba(255, 255, 255, 0.03);
}
.custom-table {
    color: var(--text-main);
}
.custom-table thead {
    background-color: #1E293B !important;
    color: #cbd5e1 !important;
}
.custom-table th {
    border-bottom: 2px solid var(--border-color);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.05em;
    padding-top: 1rem;
    padding-bottom: 1rem;
}
.custom-table td {
    border-bottom: 1px solid var(--border-color);
    padding-top: 1rem;
    padding-bottom: 1rem;
}
.custom-table tbody tr:hover {
    background-color: rgba(255,255,255,0.03);
}

.rank-movement {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.75rem;
    margin-left: 0.4rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 800;
}

.rank-movement.is-up {
    background: rgba(0, 255, 135, 0.12);
    color: var(--accent-color);
}

.rank-movement.is-down {
    background: rgba(248, 113, 113, 0.14);
    color: #F87171;
}

.rank-movement.is-stable {
    color: var(--text-muted);
}

.participant-name {
    position: relative;
    display: inline-flex;
    justify-content: center;
    width: fit-content;
    max-width: 100%;
    text-align: center;
}

.participant-name.has-special-name {
    cursor: help;
    text-decoration: underline;
    text-decoration-color: rgba(0, 255, 135, 0.45);
    text-decoration-thickness: 2px;
    text-underline-offset: 0.22rem;
}

.participant-name.has-special-name::after {
    content: attr(data-special-name);
    position: absolute;
    left: 50%;
    bottom: calc(100% + 0.5rem);
    z-index: 20;
    min-width: max-content;
    max-width: 12rem;
    padding: 0.42rem 0.65rem;
    border: 1px solid rgba(0, 255, 135, 0.35);
    border-radius: 8px;
    background: rgba(15, 23, 42, 0.96);
    color: var(--text-main);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.32);
    font-size: 0.78rem;
    font-weight: 800;
    text-align: center;
    transform: translateX(-50%) translateY(4px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 140ms ease, transform 140ms ease;
}

.participant-name.has-special-name:hover::after,
.participant-name.has-special-name:focus-visible::after {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.admin-special-name-control {
    display: grid;
    grid-template-columns: minmax(8rem, 1fr) auto;
    gap: 0.45rem;
    min-width: 14rem;
}

.leaderboard-sort-btn {
    appearance: none;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    border: 0;
    background: transparent;
    color: inherit;
    font: inherit;
    letter-spacing: inherit;
    text-transform: inherit;
    padding: 0;
    cursor: pointer;
}

.leaderboard-table-wrap {
    overflow: visible;
}

.leaderboard-sort-btn:hover,
.leaderboard-sort-btn:focus-visible,
.leaderboard-sort-btn.is-active {
    color: var(--accent-color);
}

.leaderboard-odds-col {
    min-width: 8.5rem;
    white-space: nowrap;
}

.leaderboard-odds-col .leaderboard-sort-btn {
    justify-content: flex-end;
}

.leaderboard-odds-cell {
    text-align: right;
}

.leaderboard-sort-indicator {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1rem;
    color: var(--accent-color);
    font-size: 0.8rem;
}

.leaderboard-odds-help {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1rem;
    height: 1rem;
    margin-left: 0.3rem;
    border: 1px solid rgba(0, 255, 135, 0.35);
    border-radius: 999px;
    color: var(--accent-color);
    font-size: 0.68rem;
    font-weight: 900;
    line-height: 1;
    cursor: help;
    vertical-align: middle;
}

.leaderboard-odds-help::after {
    content: attr(aria-label);
    position: absolute;
    right: 0;
    top: calc(100% + 0.55rem);
    z-index: 1080;
    width: 8.5rem;
    max-width: 70vw;
    transform: translateY(-0.25rem);
    border: 1px solid rgba(0, 255, 135, 0.28);
    border-radius: 8px;
    background: #0F172A;
    color: var(--text-main);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.36);
    font-size: 0.72rem;
    font-weight: 800;
    line-height: 1.25;
    opacity: 0;
    padding: 0.45rem 0.55rem;
    pointer-events: none;
    text-align: center;
    white-space: normal;
    overflow-wrap: normal;
    transition: opacity 140ms ease, transform 140ms ease;
}

.leaderboard-odds-help:hover::after,
.leaderboard-odds-help:focus-visible::after {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 767.98px) {
    .leaderboard-table-wrap {
        overflow-x: auto;
        overflow-y: visible;
    }
}

/* Match Cards */
.match-card {
    background: #1E293B;
    border-radius: 12px;
    padding: 1rem;
    margin-bottom: 1rem;
    border: 1px solid var(--border-color);
}

.match-team-odds {
    display: inline-flex;
    justify-content: center;
    width: fit-content;
    margin-top: 0.25rem;
    padding: 0.16rem 0.45rem;
    border: 1px solid rgba(0, 255, 135, 0.24);
    border-radius: 999px;
    background: rgba(0, 255, 135, 0.08);
    color: var(--accent-color);
    font-size: 0.72rem;
    font-weight: 900;
    line-height: 1.1;
}

.last-match-panel {
    background: #1E293B;
    border: 1px solid rgba(0, 255, 135, 0.24);
    border-radius: 8px;
    padding: 1rem;
}

.last-match-result {
    margin-top: 0.85rem;
    color: var(--accent-color);
    font-weight: 800;
    text-align: center;
}

.last-match-panel .is-winner .team-name,
.last-match-panel .participant-versus span.is-winner {
    color: var(--accent-color);
}

.last-match-panel .match-team-block.is-winner {
    position: relative;
}

.last-match-panel .match-team-block.is-winner::after {
    content: "Winner";
    margin-top: 0.35rem;
    border: 1px solid rgba(0, 255, 135, 0.35);
    border-radius: 999px;
    color: var(--accent-color);
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    padding: 0.1rem 0.45rem;
    text-transform: uppercase;
}

.match-card-events {
    display: grid;
    gap: 0.45rem;
    margin-top: 0.8rem;
    border-top: 1px solid rgba(148, 163, 184, 0.16);
    padding-top: 0.75rem;
    text-align: left;
}

.match-card-team {
    display: grid;
    gap: 0.3rem;
}

.match-card-team > strong {
    color: var(--text-muted);
    font-size: 0.72rem;
    font-weight: 900;
    overflow-wrap: anywhere;
}

.match-card-list {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.3rem;
}

.match-card-event {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    min-width: 0;
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.55);
    color: var(--text-main);
    font-size: 0.72rem;
    font-weight: 900;
    padding: 0.18rem 0.45rem;
}

.match-card-event i {
    width: 0.5rem;
    height: 0.75rem;
    flex: 0 0 auto;
    border-radius: 2px;
}

.match-card-event.is-yellow i {
    background: #FACC15;
}

.match-card-event.is-red i,
.match-card-event.is-yellow_red i {
    background: #EF4444;
}

.match-card-event span {
    min-width: 0;
    overflow-wrap: anywhere;
}

.match-card-event small {
    color: var(--accent-color);
    font-weight: 900;
}

.match-time {
    font-size: 0.8rem;
    color: var(--accent-color);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.live-now-label {
    color: var(--accent-color);
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}
.team-name {
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--text-main);
}
.team-block {
    min-width: 0;
}
.team-flag {
    width: 30px;
    height: auto;
    object-fit: contain;
    margin: 0 10px;
}
.hero-match-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(204, 255, 0, 0.2);
    border-radius: var(--border-radius);
    padding: 2rem;
    max-width: 700px;
    width: 100%;
    margin: 0 auto;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    transition: max-width 0.25s ease;
}

.first-match-countdown {
    max-width: 760px;
    margin: 1.1rem auto 1.35rem;
    border: 1px solid rgba(0, 255, 135, 0.26);
    border-radius: 8px;
    background: rgba(15, 23, 42, 0.62);
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.28);
    padding: 1.15rem;
}

.first-match-countdown-top {
    display: grid;
    gap: 0.2rem;
    margin-bottom: 0.9rem;
}

.first-match-countdown-top span {
    color: var(--accent-color);
    font-size: 0.76rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.first-match-countdown-top strong {
    color: var(--text-main);
    font-size: 1.05rem;
    font-weight: 900;
}

.flip-countdown {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.75rem;
}

.flip-unit {
    display: grid;
    gap: 0.35rem;
    min-width: 0;
}

.flip-unit strong {
    position: relative;
    display: grid;
    place-items: center;
    min-height: 5.6rem;
    border: 1px solid rgba(148, 163, 184, 0.22);
    border-radius: 8px;
    background: linear-gradient(180deg, #1E293B 0%, #0F172A 50%, #111827 50%, #020617 100%);
    color: #FFFFFF;
    font-size: 3.25rem;
    font-weight: 900;
    line-height: 1;
    overflow: hidden;
    text-shadow: 0 3px 12px rgba(0, 0, 0, 0.65);
}

.flip-unit strong::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    height: 1px;
    background: rgba(148, 163, 184, 0.22);
}

.flip-unit strong.is-flipping {
    animation: flipTick 0.32s ease;
}

.flip-unit small {
    color: var(--text-muted);
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.first-match-countdown-teams {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 0.85rem;
}

.first-match-countdown-teams span {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: var(--text-main);
    font-size: 0.86rem;
    font-weight: 900;
}

.first-match-countdown-teams img {
    width: 1.35rem;
    height: 1.35rem;
    object-fit: cover;
}

.hero-card-header {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 2.4rem;
}

.hero-display-toggle {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    display: inline-flex;
    align-items: center;
    gap: 0.15rem;
    border: 1px solid rgba(148, 163, 184, 0.24);
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.72);
    padding: 0.18rem;
}

.hero-display-toggle button {
    min-width: 4.35rem;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 0.72rem;
    font-weight: 900;
    padding: 0.28rem 0.62rem;
}

.hero-display-toggle button.is-active {
    background: var(--accent-color);
    color: var(--bg-main);
}

.hero-match-card:has(.hero-squads-panel[open]) {
    max-width: 1420px;
}

.hero-match-teams {
    display: grid !important;
    grid-template-columns: minmax(9.5rem, 12rem) auto minmax(9.5rem, 12rem);
    justify-content: center;
    align-items: end;
    column-gap: 1.1rem;
    row-gap: 0.75rem;
    width: 100%;
}

.hero-match-card .team-name {
    font-size: 1.8rem;
    font-weight: 800;
    line-height: 1.1;
    align-self: end;
}
.hero-match-card .hero-team {
    width: 100%;
    flex: 1 1 0;
    min-width: 0;
    display: grid !important;
    grid-template-rows: 72px minmax(3.95rem, auto) 1.45rem;
    align-items: end;
    gap: 0.35rem;
}

.hero-match-card .hero-team-home {
    justify-items: center;
    text-align: center;
}

.hero-match-card .hero-team-away {
    justify-items: center;
    text-align: center;
}

.hero-team:not(:has(.hero-card-list)) {
    grid-template-rows: 72px minmax(3.95rem, auto);
}
.hero-match-card .match-score {
    font-size: 3rem;
    color: var(--accent-color);
    flex: 0 0 auto;
    justify-self: center;
}
.hero-match-card .match-score-placeholder {
    align-self: center;
    justify-self: center;
}
.hero-match-card .team-flag {
    width: 72px;
    max-height: 72px;
    margin: 0;
}

.hero-live-clock {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin: 1rem 0 0.35rem;
}

.hero-live-clock-pill {
    display: inline-grid;
    grid-template-columns: auto auto;
    align-items: center;
    gap: 0.55rem;
    min-height: 2.45rem;
    border: 1px solid rgba(0, 255, 135, 0.28);
    border-radius: 999px;
    background: rgba(0, 255, 135, 0.08);
    padding: 0.35rem 0.75rem;
}

.hero-live-clock-pill span {
    color: var(--text-muted);
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.hero-live-clock-pill strong {
    color: var(--accent-color);
    font-size: 1.05rem;
    font-weight: 900;
    line-height: 1;
}

.hero-live-clock-pill.is-injury-time {
    border-color: rgba(248, 113, 113, 0.35);
    background: rgba(248, 113, 113, 0.09);
}

.hero-live-clock-pill.is-injury-time strong {
    color: #FCA5A5;
}

.hero-card-list {
    align-self: start;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.22rem;
    min-height: 1.3rem;
    margin-top: 0;
}

.hero-team-home .hero-card-list {
    justify-content: center;
}

.hero-team-away .hero-card-list {
    justify-content: center;
}

.hero-card-list.is-empty {
    visibility: hidden;
}

.hero-card-event {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.05rem;
    height: 1.3rem;
    cursor: help;
}

.hero-card-event i {
    width: 0.72rem;
    height: 1.02rem;
    flex: 0 0 auto;
    border-radius: 2px;
    box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.28);
}

.hero-card-event.is-yellow i {
    background: #FACC15;
}

.hero-card-event.is-red i,
.hero-card-event.is-yellow_red i {
    background: #EF4444;
}

.hero-card-event:focus-visible {
    outline: 2px solid var(--accent-color);
    outline-offset: 3px;
    border-radius: 4px;
}

.hero-card-tooltip {
    position: absolute;
    left: 50%;
    bottom: calc(100% + 0.65rem);
    z-index: 30;
    display: grid;
    gap: 0.15rem;
    width: max-content;
    max-width: 14rem;
    transform: translateX(-50%) translateY(0.25rem);
    border: 1px solid rgba(0, 255, 135, 0.28);
    border-radius: 8px;
    background: #0F172A;
    color: var(--text-main);
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.36);
    font-size: 0.76rem;
    font-weight: 800;
    line-height: 1.25;
    opacity: 0;
    padding: 0.5rem 0.6rem;
    pointer-events: none;
    text-align: center;
    transition: opacity 0.15s ease, transform 0.15s ease;
    white-space: normal;
}

.hero-card-tooltip::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 100%;
    transform: translateX(-50%);
    border: 0.36rem solid transparent;
    border-top-color: #0F172A;
}

.hero-card-tooltip strong {
    overflow-wrap: anywhere;
}

.hero-card-tooltip small {
    color: var(--accent-color);
    display: block;
    font-weight: 900;
    margin-top: 0.1rem;
}

.hero-card-event:hover .hero-card-tooltip,
.hero-card-event:focus-visible .hero-card-tooltip {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.hero-officials {
    max-width: 46rem;
    margin: 0.85rem auto 0;
    border: 1px solid rgba(148, 163, 184, 0.22);
    border-radius: 8px;
    background: rgba(15, 23, 42, 0.52);
    text-align: left;
    overflow: hidden;
}

.hero-officials-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.85rem 1rem;
    cursor: pointer;
    list-style: none;
}

.hero-officials-summary::-webkit-details-marker {
    display: none;
}

.hero-officials-summary span:first-child {
    display: grid;
    gap: 0.15rem;
}

.hero-officials-summary strong {
    color: var(--text-main);
    font-size: 0.95rem;
    font-weight: 900;
}

.hero-officials-summary small {
    color: var(--text-muted);
    font-size: 0.78rem;
    font-weight: 700;
}

.hero-officials-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 4.4rem;
    border: 1px solid rgba(0, 255, 135, 0.32);
    border-radius: 999px;
    color: var(--accent-color);
    font-size: 0.78rem;
    font-weight: 900;
    padding: 0.25rem 0.7rem;
}

.hero-officials[open] .hero-officials-action {
    color: var(--bg-main);
    background: var(--accent-color);
    font-size: 0;
}

.hero-officials[open] .hero-officials-action::after {
    content: "Close";
    font-size: 0.78rem;
}

.hero-officials-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.3rem;
    border-top: 1px solid rgba(148, 163, 184, 0.14);
    padding: 0.75rem;
}

.hero-official {
    display: grid;
    grid-template-columns: minmax(4.8rem, auto) minmax(0, 1fr);
    align-items: baseline;
    gap: 0.5rem;
    min-width: 0;
    border: 1px solid rgba(148, 163, 184, 0.14);
    border-radius: 8px;
    background: rgba(30, 41, 59, 0.38);
    padding: 0.4rem 0.55rem;
}

.hero-official small {
    color: var(--text-muted);
    font-size: 0.68rem;
    font-weight: 900;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.hero-official strong {
    color: var(--text-main);
    font-size: 0.86rem;
    font-weight: 900;
    overflow-wrap: anywhere;
}

.hero-squads-panel {
    margin: 1.1rem auto 0;
    border: 1px solid rgba(148, 163, 184, 0.22);
    border-radius: 8px;
    background: rgba(15, 23, 42, 0.52);
    text-align: left;
    overflow: hidden;
}

.hero-squads-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.85rem 1rem;
    cursor: pointer;
    list-style: none;
}

.hero-squads-summary::-webkit-details-marker {
    display: none;
}

.hero-squads-summary span:first-child {
    display: grid;
    gap: 0.15rem;
}

.hero-squads-summary strong {
    color: var(--text-main);
    font-size: 0.95rem;
    font-weight: 900;
}

.hero-squads-summary small {
    color: var(--text-muted);
    font-size: 0.78rem;
    font-weight: 700;
}

.hero-squads-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 4.4rem;
    border: 1px solid rgba(0, 255, 135, 0.32);
    border-radius: 999px;
    color: var(--accent-color);
    font-size: 0.78rem;
    font-weight: 900;
    padding: 0.25rem 0.7rem;
}

.hero-squads-panel[open] .hero-squads-action {
    color: var(--bg-main);
    background: var(--accent-color);
    font-size: 0;
}

.hero-squads-panel[open] .hero-squads-action::after {
    content: "Close";
    font-size: 0.78rem;
}

.hero-squads-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
    padding: 0 1rem 1rem;
}

.hero-squad-team {
    min-width: 0;
    border: 1px solid rgba(148, 163, 184, 0.14);
    border-radius: 8px;
    background: rgba(15, 23, 42, 0.28);
    padding: 0.85rem;
}

.hero-squad-team h3 {
    margin: 0 0 0.55rem;
    color: var(--accent-color);
    font-size: 0.86rem;
    font-weight: 900;
    overflow-wrap: anywhere;
}

.hero-squad-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(9.75rem, 1fr));
    gap: 0.45rem;
    align-items: start;
}

.hero-squad-player {
    display: grid;
    grid-template-columns: 2.35rem minmax(0, 1fr);
    align-items: center;
    gap: 0.55rem;
    min-width: 0;
    border: 1px solid rgba(148, 163, 184, 0.16);
    border-radius: 8px;
    background: rgba(30, 41, 59, 0.64);
    padding: 0.48rem 0.55rem;
}

.hero-player-headshot {
    width: 2.35rem;
    height: 2.35rem;
    border-radius: 50%;
    object-fit: cover;
    object-position: center top;
    background: rgba(15, 23, 42, 0.9);
}

.hero-player-headshot-placeholder {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(0, 255, 135, 0.24);
    color: var(--accent-color);
    font-size: 0.78rem;
    font-weight: 900;
}

.hero-squad-player strong,
.hero-squad-player small {
    display: block;
    min-width: 0;
    overflow-wrap: anywhere;
}

.hero-squad-player strong {
    color: var(--text-main);
    font-size: 0.78rem;
    line-height: 1.2;
}

.hero-squad-player small {
    color: var(--text-muted);
    font-size: 0.68rem;
}
.match-team-block {
    display: grid;
    justify-items: center;
    gap: 0.35rem;
    min-width: 0;
    text-align: center;
    flex: 1 1 0;
}
.match-team-block .team-flag {
    width: 42px;
    max-height: 42px;
    margin: 0;
}
.match-team-block .team-name {
    line-height: 1.15;
    overflow-wrap: anywhere;
}
.match-score {
    font-size: 1.5rem;
    font-weight: 800;
    background: -webkit-linear-gradient(#fff, #cbd5e1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.match-score-placeholder {
    color: var(--text-muted);
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    white-space: nowrap;
}

/* Badges */
.badge-active {
    background: rgba(0, 255, 135, 0.1);
    color: var(--accent-color);
    border: 1px solid var(--accent-color);
}

.odds-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 58px;
    font-variant-numeric: tabular-nums;
    border: 1px solid rgba(0, 255, 135, 0.35);
    border-radius: 999px;
    color: var(--accent-color);
    background: rgba(0, 255, 135, 0.08);
    font-weight: 800;
    font-size: 0.9rem;
    padding: 0.25rem 0.55rem;
}

.leaderboard-expand-btn {
    appearance: none;
    border: 1px solid rgba(0, 255, 135, 0.35);
    background: rgba(0, 255, 135, 0.08);
    color: var(--accent-color);
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 800;
    line-height: 1;
    margin-left: 0.5rem;
    min-width: 28px;
    min-height: 28px;
    padding: 0;
}

.leaderboard-expand-btn:hover,
.leaderboard-expand-btn:focus-visible {
    background: rgba(0, 255, 135, 0.16);
    outline: 0;
}

.leaderboard-detail-row td {
    background: rgba(255, 255, 255, 0.02);
    padding: 0 1rem 1rem;
}

.leaderboard-detail-panel {
    background: #1E293B;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 1rem;
}

.leaderboard-detail-heading {
    color: var(--text-main);
    font-weight: 800;
    margin-bottom: 0.75rem;
}

.leaderboard-points-list {
    display: grid;
    gap: 0.65rem;
}

.leaderboard-points-row,
.leaderboard-next-match {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.75rem;
    align-items: center;
}

.leaderboard-points-meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.4rem;
    color: var(--text-muted);
    font-size: 0.82rem;
}

.leaderboard-points-meta strong {
    color: var(--accent-color);
}

.leaderboard-next-opponent {
    display: grid;
    justify-items: end;
    color: var(--text-muted);
    font-size: 0.82rem;
}

.leaderboard-next-opponent strong {
    color: var(--accent-color);
    font-size: 1rem;
}

.modal-content.premium-card {
    color: var(--text-main);
}

.scoring-rules-list .badge {
    min-width: 64px;
}

.scoring-draw-note {
    border: 1px solid rgba(0, 255, 135, 0.24);
    border-radius: 8px;
    background: rgba(0, 255, 135, 0.07);
    padding: 0.85rem;
}

.scoring-draw-note strong,
.scoring-draw-note span {
    display: block;
}

.scoring-draw-note strong {
    color: var(--accent-color);
    font-size: 0.82rem;
    font-weight: 900;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 0.25rem;
}

.scoring-draw-note span {
    color: var(--text-main);
    font-size: 0.9rem;
    line-height: 1.4;
}

.allocation-group {
    border-top: 1px solid var(--border-color);
    padding: 1rem 0;
}

.allocation-group:last-child {
    border-bottom: 1px solid var(--border-color);
}

.allocation-team-list {
    display: grid;
    gap: 0.75rem;
}

.allocation-team-row {
    display: grid;
    grid-template-columns: minmax(180px, 1fr) auto;
    gap: 0.75rem;
    align-items: center;
}

.sync-setting-row {
    background: #1E293B;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 1rem;
}

.sync-setting-title {
    color: var(--text-main);
    font-size: 1rem;
    font-weight: 800;
}

.sync-setting-copy {
    color: #CBD5E1;
}

.admin-match-cards {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin-top: 0.5rem;
}

.admin-match-card-event {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.7);
    color: var(--text-main);
    font-size: 0.72rem;
    font-weight: 900;
    padding: 0.16rem 0.45rem;
}

.admin-match-card-event i {
    width: 0.5rem;
    height: 0.75rem;
    border-radius: 2px;
}

.admin-match-card-event.is-yellow i {
    background: #FACC15;
}

.admin-match-card-event.is-red i,
.admin-match-card-event.is-yellow_red i {
    background: #EF4444;
}

.admin-match-card-event small {
    color: var(--accent-color);
}

.sync-setting-label {
    color: var(--accent-color);
    font-weight: 800;
    min-width: 82px;
}

.notification-email-tests {
    display: grid;
    gap: 1rem;
}

.notification-email-test-group {
    display: grid;
    gap: 0.55rem;
}

.notification-email-test-title {
    color: var(--text-main);
    font-size: 0.9rem;
    font-weight: 800;
}

.notification-email-test-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.notification-email-test-btn {
    border-color: rgba(148, 163, 184, 0.5);
    color: var(--text-main);
    font-size: 0.85rem;
    font-weight: 800;
}

.notification-email-test-btn:hover,
.notification-email-test-btn:focus {
    background: var(--accent-color);
    border-color: var(--accent-color);
    color: #0B0E14;
}

.form-switch .form-check-input {
    border-color: #64748B;
}

.form-switch .form-check-input:checked {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
}

.awards-drawer {
    position: fixed;
    top: 50%;
    right: 0;
    z-index: 1060;
    transform: translate(100%, -50%);
    transition: transform 220ms ease;
}

.awards-drawer.is-open {
    transform: translate(0, -50%);
}

.awards-drawer-tab {
    position: absolute;
    top: 50%;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    min-width: 44px;
    min-height: 156px;
    writing-mode: vertical-rl;
    transform: translate(-100%, -50%) rotate(180deg);
    border: 1px solid rgba(0, 255, 135, 0.35);
    border-left: 0;
    border-radius: 0 10px 10px 0;
    background: #1E293B;
    color: var(--accent-color);
    font-size: 0.9rem;
    font-weight: 800;
    padding: 0.55rem 0.7rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.awards-drawer.is-open .awards-drawer-arrow {
    display: inline-block;
    transform: rotate(180deg);
}

.awards-tab-icon {
    font-size: 1.1rem;
    transform: rotate(90deg);
}

.awards-tab-text {
    color: var(--text-main);
    white-space: nowrap;
}

.awards-drawer-arrow {
    font-size: 1.35rem;
    line-height: 1;
    transform: rotate(90deg);
}

.awards-drawer-panel {
    width: min(720px, calc(100vw - 64px));
    max-height: min(680px, calc(100vh - 48px));
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(0, 255, 135, 0.72) rgba(15, 23, 42, 0.72);
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-right: 0;
    border-radius: 12px 0 0 12px;
    box-shadow: 0 16px 42px rgba(0, 0, 0, 0.45);
}

.awards-drawer-panel::-webkit-scrollbar {
    width: 0.65rem;
}

.awards-drawer-panel::-webkit-scrollbar-track {
    margin: 0.75rem 0;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.72);
}

.awards-drawer-panel::-webkit-scrollbar-thumb {
    border: 2px solid rgba(15, 23, 42, 0.72);
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(0, 255, 135, 0.95), rgba(56, 189, 248, 0.78));
}

.awards-drawer-panel::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, var(--accent-color), rgba(125, 211, 252, 0.95));
}

.awards-drawer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 1.1rem 1.1rem 0.75rem;
    border-bottom: 1px solid var(--border-color);
}

.awards-close-btn {
    appearance: none;
    border: 1px solid var(--border-color);
    border-radius: 999px;
    background: #1E293B;
    color: var(--text-main);
    font-size: 1.25rem;
    line-height: 1;
    width: 32px;
    height: 32px;
}

.awards-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
    gap: 0.85rem;
    padding: 1rem;
}

.award-card {
    background: #1E293B;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 1rem;
    min-width: 0;
}

.award-card-top {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 0.75rem;
    align-items: center;
    margin-bottom: 0.85rem;
}

.award-icon {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border: 1px solid rgba(0, 255, 135, 0.28);
    border-radius: 8px;
    background: rgba(0, 255, 135, 0.08);
    font-size: 1.45rem;
}

.award-title {
    color: var(--text-main);
    font-weight: 800;
}

.award-metric {
    color: var(--accent-color);
    font-weight: 800;
    font-size: 1.2rem;
}

.award-winners {
    display: grid;
    gap: 0.6rem;
}

.award-winner-row {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 0.65rem;
    align-items: center;
    padding-top: 0.7rem;
    border-top: 1px solid var(--border-color);
}

.award-flag,
.award-flag-placeholder {
    width: 34px;
    height: 34px;
    object-fit: contain;
}

.award-country {
    color: var(--text-main);
    font-weight: 800;
}

.award-person {
    color: var(--accent-color);
    font-weight: 700;
}

@media (min-width: 1500px) {
    .awards-drawer-panel {
        width: min(1040px, calc(100vw - 88px));
    }

    .awards-list {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
}

.matches-section {
    padding: 1rem;
}

.matches-section + .matches-section {
    border-top: 1px solid var(--border-color);
}

.matches-section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
}

.played-match-list,
.assigned-match-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1rem;
}

.played-match-card {
    display: grid;
    gap: 1rem;
    padding: 1rem;
    background: #1E293B;
    border: 1px solid var(--border-color);
    border-radius: 8px;
}

.played-match-card-win {
    border-color: rgba(0, 255, 135, 0.28);
    background: linear-gradient(135deg, rgba(0, 255, 135, 0.1), #1E293B 44%);
}

.played-match-card-draw {
    border-color: rgba(148, 163, 184, 0.35);
    background: linear-gradient(135deg, rgba(148, 163, 184, 0.12), #1E293B 46%);
}

.played-match-meta {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: flex-start;
}

.played-winner-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 1rem;
    align-items: center;
}

.played-winner {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 0.85rem;
    align-items: center;
}

.played-winner-flag {
    width: 76px;
    max-height: 76px;
    object-fit: contain;
}

.played-country {
    display: block;
    color: var(--text-main);
    font-size: 1.35rem;
    font-weight: 800;
    line-height: 1.1;
    overflow-wrap: anywhere;
}

.played-person {
    color: var(--accent-color);
    font-weight: 800;
}

.played-score {
    grid-column: 2;
    grid-row: 1 / span 2;
    color: #FFFFFF;
    font-size: 1.8rem;
    font-weight: 800;
    white-space: nowrap;
}

.played-loser {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 0.55rem;
    align-items: center;
    margin-left: 0.75rem;
    padding-left: 0.75rem;
    border-left: 2px solid rgba(148, 163, 184, 0.25);
    color: var(--text-muted);
}

.played-loser-flag {
    width: 34px;
    max-height: 34px;
    object-fit: contain;
    opacity: 0.82;
}

.played-loser-country,
.played-loser small {
    display: block;
    overflow-wrap: anywhere;
}

.played-loser-country {
    color: var(--text-main);
    font-weight: 700;
}

.played-draw-score {
    color: #FFFFFF;
    font-size: 2rem;
    font-weight: 800;
    text-align: center;
}

.played-draw-teams {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    gap: 0.9rem;
    text-align: center;
}

.played-draw-teams strong {
    color: var(--text-muted);
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.played-draw-side {
    display: grid;
    justify-items: center;
    gap: 0.3rem;
    min-width: 0;
}

.played-draw-country {
    color: var(--text-main);
    display: block;
    font-weight: 800;
    line-height: 1.15;
    overflow-wrap: anywhere;
}

.played-draw-side small {
    color: var(--accent-color);
    font-weight: 700;
}

.played-card-icons {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.18rem;
    margin-top: 0.2rem;
}

.played-card-icon {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 0.82rem;
    height: 1rem;
    cursor: help;
}

.played-card-icon i {
    width: 0.52rem;
    height: 0.78rem;
    flex: 0 0 auto;
    border-radius: 2px;
    box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.32);
}

.played-card-icon.is-yellow i {
    background: #FACC15;
}

.played-card-icon.is-red i,
.played-card-icon.is-yellow_red i {
    background: #EF4444;
}

.played-card-tooltip {
    position: absolute;
    left: 50%;
    bottom: calc(100% + 0.55rem);
    z-index: 20;
    width: max-content;
    max-width: 15rem;
    transform: translateX(-50%) translateY(0.25rem);
    border: 1px solid rgba(0, 255, 135, 0.28);
    border-radius: 8px;
    background: #0F172A;
    color: var(--text-main);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.32);
    font-size: 0.76rem;
    font-weight: 800;
    line-height: 1.25;
    opacity: 0;
    padding: 0.45rem 0.55rem;
    pointer-events: none;
    text-align: center;
    transition: opacity 0.15s ease, transform 0.15s ease;
    white-space: normal;
}

.played-card-tooltip::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 100%;
    transform: translateX(-50%);
    border: 0.36rem solid transparent;
    border-top-color: #0F172A;
}

.played-card-icon:hover .played-card-tooltip,
.played-card-icon:focus-visible .played-card-tooltip {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.matches-expand-tab-wrap {
    display: flex;
    justify-content: center;
    margin-top: 1rem;
}

.matches-expand-tab {
    appearance: none;
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    border: 1px solid rgba(0, 255, 135, 0.35);
    border-radius: 999px;
    background: #0F172A;
    color: var(--text-main);
    font-weight: 800;
    padding: 0.65rem 1rem;
}

.matches-expand-tab strong {
    color: var(--accent-color);
}

.assigned-match-row {
    display: grid;
    gap: 1rem;
    padding: 1rem;
    background: #1E293B;
    border: 1px solid var(--border-color);
    border-radius: 8px;
}

.assigned-match-row:last-child {
    border-bottom: 1px solid var(--border-color);
}

.assigned-match-meta {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: flex-start;
}

.assigned-match-date {
    color: var(--text-main);
}

.assigned-match-teams {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    gap: 0.75rem;
}

.assigned-team {
    display: grid;
    gap: 0.25rem;
    justify-items: center;
    min-width: 0;
}

.assigned-team-home {
    text-align: center;
}

.assigned-team-away {
    text-align: center;
}

.assigned-team-main {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    min-width: 0;
}

.assigned-team-home .assigned-team-main {
    justify-content: center;
}

.assigned-team-away .assigned-team-main {
    justify-content: center;
}

.assigned-team-main .team-flag {
    width: 54px;
    max-height: 54px;
    margin: 0;
}

.assigned-team-main .team-name {
    font-size: 1rem;
    line-height: 1.15;
    text-align: center;
    overflow-wrap: anywhere;
}

.assigned-owner {
    color: var(--accent-color);
    font-weight: 600;
    display: block;
}

.assigned-score {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--text-main);
    white-space: nowrap;
}

.assigned-score-vs {
    color: var(--text-muted);
    font-size: 0.9rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.trades-page {
    max-width: 980px;
}

.trade-posts-list {
    display: grid;
    gap: 0.75rem;
}

.trade-section {
    display: grid;
    gap: 0.75rem;
}

.trade-completed-archive {
    margin-top: 1.5rem;
}

.trade-section-heading {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 1rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 0.5rem;
}

.trade-section-heading h2 {
    margin: 0;
    color: #fff;
    font-size: 1.1rem;
    font-weight: 900;
}

.trade-section-heading span {
    color: var(--text-muted);
    font-size: 0.85rem;
    font-weight: 700;
}

.trade-beta-note {
    display: flex;
    gap: 0.65rem;
    align-items: center;
    border: 1px solid rgba(0, 255, 135, 0.28);
    border-radius: 8px;
    background: rgba(0, 255, 135, 0.06);
    padding: 0.75rem 0.9rem;
    color: var(--text-muted);
}

.trade-beta-note strong {
    color: var(--accent-color);
    white-space: nowrap;
}

.trade-deadline-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    border: 1px solid rgba(0, 255, 135, 0.28);
    border-radius: 8px;
    background: linear-gradient(135deg, rgba(0, 255, 135, 0.08), rgba(255, 255, 255, 0.035));
    padding: 1rem;
}

.trade-deadline-card span {
    display: block;
    color: var(--text-muted);
    font-size: 0.82rem;
    font-weight: 700;
}

.trade-deadline-card strong {
    display: block;
    margin-top: 0.15rem;
    color: #fff;
    font-size: 1.1rem;
}

.trade-countdown {
    min-width: 210px;
    border: 1px solid rgba(0, 255, 135, 0.35);
    border-radius: 8px;
    background: rgba(0, 255, 135, 0.1);
    color: var(--accent-color);
    padding: 0.75rem 0.9rem;
    text-align: center;
    font-size: 1.15rem;
    font-weight: 900;
    font-variant-numeric: tabular-nums;
}

.trade-deadline-card.is-closed {
    border-color: rgba(239, 68, 68, 0.45);
    background: rgba(239, 68, 68, 0.08);
}

.trade-deadline-card.is-closed .trade-countdown {
    border-color: rgba(239, 68, 68, 0.45);
    background: rgba(239, 68, 68, 0.12);
    color: #FCA5A5;
}

.trade-post-card {
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background: linear-gradient(180deg, rgba(17, 24, 39, 0.96), rgba(10, 16, 28, 0.96));
    padding: 0.85rem;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2);
}

.trade-post-meta {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.35rem;
    color: var(--text-muted);
    font-size: 0.8rem;
    font-weight: 700;
}

.trade-post-meta span {
    color: var(--accent-color);
}

.trade-post-card h2 {
    margin: 0 0 0.35rem;
    font-size: 1.05rem;
    font-weight: 800;
}

.blog-post-header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start;
    gap: 1rem;
    margin-bottom: 0.45rem;
}

.blog-post-header h2 {
    margin: 0;
}

.blog-post-meta {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-muted);
    font-size: 0.78rem;
    font-weight: 800;
    text-align: right;
    white-space: nowrap;
}

.blog-post-meta strong {
    color: var(--accent-color);
}

.trade-delete-inline {
    padding: 0.18rem 0.42rem;
    font-size: 0.72rem;
    line-height: 1.2;
}

.trade-post-card p {
    margin: 0;
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.92rem;
    line-height: 1.42;
}

.blog-match-chip {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.6rem;
    margin: 0.15rem 0 0.55rem;
    border: 1px solid rgba(0, 255, 135, 0.25);
    border-radius: 8px;
    background: rgba(0, 255, 135, 0.06);
    padding: 0.45rem 0.55rem;
}

.blog-match-teams {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    flex-wrap: wrap;
}

.blog-match-teams img {
    width: 24px;
    height: 18px;
    object-fit: cover;
    border-radius: 2px;
}

.blog-match-teams strong {
    color: var(--text-main);
    font-size: 0.86rem;
}

.blog-match-teams em {
    color: var(--accent-color);
    font-size: 0.74rem;
    font-style: normal;
    font-weight: 800;
}

.blog-match-teams span {
    color: var(--accent-color);
    font-weight: 900;
}

.blog-match-chip small {
    color: var(--text-muted);
    font-size: 0.76rem;
    font-weight: 700;
    text-align: right;
    white-space: nowrap;
}

.blog-team-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    width: fit-content;
    max-width: 100%;
    margin: 0 0 0.55rem;
    border: 1px solid rgba(0, 255, 135, 0.25);
    border-radius: 999px;
    background: rgba(0, 255, 135, 0.06);
    padding: 0.24rem 0.55rem;
    font-size: 0.82rem;
}

.blog-team-chip img {
    width: 22px;
    height: 16px;
    object-fit: cover;
    border-radius: 2px;
}

.blog-team-chip strong {
    color: var(--text-main);
}

.blog-team-chip span {
    min-width: 0;
    color: var(--accent-color);
    font-weight: 800;
    overflow-wrap: anywhere;
}

.trade-post-card.is-completed {
    padding: 0.75rem;
}

.trade-post-card.is-completed .trade-post-meta,
.trade-post-card.is-completed .trade-post-type,
.trade-post-card.is-completed h2 {
    margin-bottom: 0.3rem;
}

.trade-post-card.is-completed h2 {
    font-size: 1rem;
}

.trade-post-card.is-completed p {
    font-size: 0.86rem;
    line-height: 1.32;
}

.trade-post-type {
    display: inline-flex;
    margin-bottom: 0.35rem;
    padding: 0.16rem 0.45rem;
    border: 1px solid rgba(0, 255, 135, 0.35);
    border-radius: 999px;
    color: var(--accent-color);
    font-size: 0.76rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.trade-post-detail,
.trade-movement-list,
.trade-odds-table {
    margin-top: 0.7rem;
}

.trade-post-card.is-completed .trade-movement-list,
.trade-post-card.is-completed .trade-odds-table {
    margin-top: 0.45rem;
}

.trade-post-detail,
.trade-movement,
.trade-odds-row {
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.035);
    padding: 0.65rem;
}

.trade-post-card.is-completed .trade-movement,
.trade-post-card.is-completed .trade-odds-row {
    padding: 0.45rem 0.55rem;
}

.trade-post-detail {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.trade-team-chip-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin-top: 0.35rem;
}

.trade-team-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    border: 1px solid rgba(0, 255, 135, 0.28);
    border-radius: 999px;
    padding: 0.18rem 0.45rem;
    background: rgba(0, 255, 135, 0.07);
}

.trade-team-chip strong {
    font-size: 0.84rem;
}

.trade-team-chip small {
    color: var(--text-muted);
    font-weight: 800;
}

.trade-post-actions {
    display: flex;
    justify-content: flex-end;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-top: 0.55rem;
}

.trade-thread {
    display: grid;
    gap: 0.5rem;
    margin-top: 0.65rem;
    padding-top: 0.6rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.trade-thread-list {
    display: grid;
    gap: 0.5rem;
}

.trade-thread-list.is-multi {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.trade-thread-item {
    min-width: 0;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.03);
    padding: 0.55rem 0.65rem;
}

.trade-thread-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-muted);
    font-size: 0.78rem;
    font-weight: 700;
    margin-bottom: 0.2rem;
}

.trade-thread-meta strong {
    color: var(--accent-color);
}

.trade-thread-meta span {
    min-width: 0;
    overflow-wrap: anywhere;
}

.trade-thread-item p {
    margin-top: 0.25rem;
    font-size: 0.86rem;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.trade-thread-empty {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.trade-comment-form,
.trade-team-offer-form,
.trade-response-form {
    display: grid;
    gap: 0.4rem;
}

.trade-comment-form textarea {
    min-height: 46px;
    max-height: 88px;
}

.trade-comment-actions,
.trade-response-actions {
    display: flex;
    justify-content: flex-end;
    gap: 0.5rem;
    flex-wrap: wrap;
}

#trade-offer-ai-btn.is-loading,
#completed-trade-ai-btn.is-loading {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.trade-movement-list {
    display: grid;
    gap: 0.45rem;
}

.trade-post-card.is-completed .trade-movement-list,
.trade-post-card.is-completed .trade-odds-table {
    gap: 0.35rem;
}

.trade-movement {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr) auto;
    gap: 0.55rem;
    align-items: center;
}

.trade-movement span,
.trade-movement small,
.trade-post-detail span {
    color: var(--text-muted);
}

.trade-odds-table {
    display: grid;
    gap: 0.4rem;
}

.trade-odds-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto auto;
    gap: 0.5rem;
    align-items: center;
}

.trade-odds-row span {
    min-width: 0;
    overflow-wrap: anywhere;
}

.trade-odds-row strong {
    color: var(--accent-color);
}

.trade-odds-row i {
    color: var(--text-muted);
    font-style: normal;
}

.trade-leg-list {
    display: grid;
    gap: 0.75rem;
}

.trade-leg-row {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) auto;
    gap: 0.75rem;
    align-items: center;
}

.trade-empty-state {
    border: 1px dashed rgba(255, 255, 255, 0.18);
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
    color: var(--text-muted);
}

.trade-empty-state strong {
    display: block;
    color: #fff;
    margin-bottom: 0.35rem;
}

.participant-versus {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    gap: 0.75rem;
    padding-top: 0.85rem;
    border-top: 1px solid var(--border-color);
    color: var(--accent-color);
    font-weight: 700;
    text-align: center;
}

.participant-versus span {
    min-width: 0;
    overflow-wrap: anywhere;
}

.participant-versus .participant-name {
    justify-self: center;
}

.participant-versus strong {
    color: var(--text-main);
    font-size: 0.75rem;
    letter-spacing: 0.08em;
}

.hero-versus {
    max-width: 520px;
    margin: 0 auto 1rem;
}

.match-versus {
    margin-top: 0.85rem;
    padding-top: 0.75rem;
    font-size: 0.9rem;
    border-top-color: rgba(0, 255, 135, 0.32);
    background: rgba(0, 255, 135, 0.04);
    border-radius: 0 0 8px 8px;
    margin-left: -0.25rem;
    margin-right: -0.25rem;
    padding-left: 0.25rem;
    padding-right: 0.25rem;
    padding-bottom: 0.85rem;
}

.match-versus span {
    font-size: 1rem;
}

.match-versus strong {
    color: var(--accent-color);
}

.personal-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.75rem;
}

.personal-stats > div,
.personal-next-match {
    background: #1E293B;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 1rem;
}

.personal-stat-label {
    display: block;
    color: var(--text-muted);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.personal-stats strong {
    color: var(--accent-color);
    font-size: 1.7rem;
}

.personal-aka {
    display: block;
    margin-top: 0.18rem;
    color: var(--text-main);
    font-size: 0.78rem;
    font-weight: 800;
}

.personal-points-button {
    appearance: none;
    display: inline-grid;
    justify-items: start;
    border: 0;
    background: transparent;
    color: inherit;
    padding: 0;
    cursor: pointer;
}

.personal-points-button strong {
    line-height: 1;
}

.personal-points-button span {
    color: var(--text-muted);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.personal-points-button:hover span,
.personal-points-button:focus-visible span {
    color: var(--accent-color);
}

.personal-points-breakdown {
    margin-top: 0.75rem;
    padding: 0.85rem;
    background: #0F172A;
    border: 1px solid var(--border-color);
    border-radius: 8px;
}

.personal-points-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.5rem;
}

.personal-points-grid > div {
    display: grid;
    gap: 0.05rem;
    padding: 0.65rem;
    background: #1E293B;
    border-radius: 8px;
    text-align: center;
}

.personal-points-grid span,
.personal-points-grid small,
.personal-points-total span {
    color: var(--text-muted);
    font-size: 0.75rem;
    font-weight: 700;
}

.personal-points-grid strong {
    color: var(--text-main);
    font-size: 1.2rem;
    line-height: 1;
}

.personal-points-total {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 0.65rem;
    padding-top: 0.65rem;
    border-top: 1px solid var(--border-color);
}

.personal-points-total strong {
    color: var(--accent-color);
}

.personal-team-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.personal-team-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    border: 1px solid var(--border-color);
    border-radius: 999px;
    background: #1E293B;
    color: var(--text-main);
    padding: 0.45rem 0.7rem;
    font-weight: 700;
}

.personal-team-chip img {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.personal-team-chip small {
    color: var(--accent-color);
    font-weight: 800;
}

.personal-achievements-empty {
    padding: 0.9rem;
    border: 1px dashed var(--border-color);
    border-radius: 8px;
    text-align: center;
}

.personal-achievement-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 0.75rem;
}

.personal-achievement-card {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 0.75rem;
    align-items: center;
    padding: 0.85rem;
    background: #1E293B;
    border: 1px solid rgba(0, 255, 135, 0.24);
    border-radius: 8px;
}

.personal-achievement-icon {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 8px;
    background: rgba(0, 255, 135, 0.08);
    border: 1px solid rgba(0, 255, 135, 0.24);
    font-size: 1.25rem;
}

.personal-achievement-title {
    color: var(--text-main);
    font-weight: 800;
}

.personal-achievement-metric {
    color: var(--accent-color);
    font-weight: 800;
}

.personal-achievement-team {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    color: var(--text-muted);
    font-size: 0.85rem;
    font-weight: 700;
}

.personal-achievement-team img {
    width: 18px;
    height: 18px;
    object-fit: contain;
}

.personal-match-feed {
    display: grid;
    gap: 0.55rem;
}

.personal-match-feed-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.55rem;
    padding: 0.65rem;
    background: #1E293B;
    border: 1px solid var(--border-color);
    border-radius: 8px;
}

.personal-match-feed-row.is-win {
    border-color: rgba(0, 255, 135, 0.32);
}

.personal-match-feed-row.is-draw {
    border-color: rgba(148, 163, 184, 0.38);
}

.personal-match-feed-row.is-loss {
    border-color: rgba(248, 113, 113, 0.25);
}

.personal-match-team {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    min-width: 0;
    color: var(--text-main);
    font-weight: 800;
}

.personal-match-team img {
    width: 22px;
    height: 22px;
    object-fit: contain;
    flex: 0 0 auto;
}

.personal-match-team span {
    color: var(--text-main);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.profile-page .team-name,
.profile-page .assigned-team-main .team-name {
    color: var(--text-main) !important;
}

.profile-page .personal-team-chip,
.profile-page .personal-team-chip span,
.profile-page .personal-match-team,
.profile-page .personal-match-team span {
    color: var(--text-main) !important;
}

.personal-match-score {
    color: var(--accent-color);
    font-weight: 900;
    white-space: nowrap;
}

.personal-match-feed-row small {
    color: var(--text-muted);
    font-weight: 700;
    white-space: nowrap;
}

.personal-banter {
    display: grid;
    justify-items: center;
    gap: 0.15rem;
    border-top: 1px solid var(--border-color);
    padding-top: 0.85rem;
    text-align: center;
}

.personal-banter span,
.personal-banter small {
    color: var(--text-muted);
}

.personal-banter strong {
    color: var(--accent-color);
    font-size: 1.4rem;
}

@media (max-width: 576px) {
    .played-match-list,
    .assigned-match-list {
        grid-template-columns: 1fr;
    }

    .played-match-meta {
        display: grid;
        text-align: center;
        justify-content: stretch;
    }

    .played-winner-layout {
        grid-template-columns: 1fr;
        text-align: center;
        justify-items: center;
    }

    .played-winner {
        grid-template-columns: 1fr;
        justify-items: center;
    }

    .played-score {
        grid-column: auto;
        grid-row: auto;
    }

    .played-loser {
        margin-left: 0;
        padding-left: 0;
        border-left: 0;
        border-top: 1px solid rgba(148, 163, 184, 0.25);
        padding-top: 0.75rem;
    }

    .played-draw-teams {
        grid-template-columns: 1fr;
    }

    .personal-stats {
        grid-template-columns: 1fr;
    }

    .allocation-team-row {
        grid-template-columns: 1fr;
    }

    .allocation-actions {
        justify-content: flex-end;
    }

    .assigned-match-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .assigned-match-meta {
        display: grid;
        justify-content: stretch;
        text-align: center;
    }

    .assigned-match-teams {
        grid-template-columns: 1fr;
        justify-items: center;
        gap: 0.75rem;
    }

    .assigned-team,
    .assigned-team-home,
    .assigned-team-away {
        text-align: center;
    }

    .assigned-team-home .assigned-team-main,
    .assigned-team-away .assigned-team-main {
        justify-content: center;
    }
}

/* Animation */
@keyframes flash {
    0% { background-color: rgba(0, 255, 135, 0.3); }
    100% { background-color: transparent; }
}

@keyframes flipTick {
    0% { transform: rotateX(0deg); }
    45% { transform: rotateX(-12deg); }
    100% { transform: rotateX(0deg); }
}

.row-updated {
    animation: flash 1.5s ease-out;
}

@media (max-width: 576px) {
    .hero-section {
        padding: 2rem 0 2rem;
    }

    .hero-match-card {
        padding: 1.25rem;
    }

    .first-match-countdown {
        padding: 0.9rem;
    }

    .flip-countdown {
        gap: 0.4rem;
    }

    .flip-unit strong {
        min-height: 3.8rem;
        font-size: 2rem;
    }

    .flip-unit small {
        font-size: 0.62rem;
    }

    .hero-card-header {
        justify-content: center;
        min-height: 0;
        padding-top: 2.25rem;
    }

    .hero-display-toggle {
        left: 50%;
        top: 0;
        transform: translateX(-50%);
    }

    .hero-match-teams {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .hero-match-card .hero-team {
        width: 100%;
        justify-content: center !important;
        justify-items: center;
        text-align: center;
        grid-template-rows: 56px minmax(1.5rem, auto) 1.35rem;
        gap: 0.18rem;
    }

    .hero-team:not(:has(.hero-card-list)) {
        grid-template-rows: 56px minmax(1.5rem, auto);
    }

    .hero-match-card .team-name {
        max-width: 100%;
        font-size: 1.35rem;
        text-align: center !important;
    }

    .hero-match-card .team-block {
        text-align: center !important;
    }

    .hero-match-card .team-flag {
        width: 56px;
    }

    .hero-match-card .match-score {
        font-size: 2.6rem;
        line-height: 1;
        padding: 0 !important;
    }

    .hero-squads-grid {
        grid-template-columns: 1fr;
    }

    .hero-squad-list {
        grid-template-columns: 1fr;
    }

    .hero-officials-list {
        grid-template-columns: 1fr;
    }
}

@media (min-width: 577px) and (max-width: 991.98px) {
    .hero-match-card:has(.hero-squads-panel[open]) {
        max-width: 920px;
    }

    .hero-squads-grid {
        grid-template-columns: 1fr;
    }

    .hero-squad-list {
        grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr));
    }
}

@media (max-width: 991.98px) {
    .team-tiers-grid {
        display: grid;
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767.98px) {
    .prizes-grid,
    .prizes-grid-main {
        grid-template-columns: 1fr;
    }

    .prize-card {
        min-height: 0;
        grid-template-columns: 2.4rem minmax(0, 1fr);
    }

    .team-tier-card {
        width: 100%;
    }

    .team-rank-card {
        grid-template-columns: 2.8rem minmax(0, 1fr);
    }

    .team-rank-owner {
        grid-column: 2;
        justify-self: start;
        max-width: 100%;
    }

    .personal-match-feed-row {
        grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
        align-items: start;
    }

    .personal-match-feed-row small {
        grid-column: 1 / -1;
        justify-self: center;
        white-space: normal;
        text-align: center;
    }

    .personal-match-team {
        display: grid;
        justify-items: center;
        align-content: start;
        gap: 0.35rem;
        text-align: center;
    }

    .personal-match-team span {
        overflow: visible;
        text-overflow: clip;
        white-space: normal;
        overflow-wrap: anywhere;
        line-height: 1.15;
    }

    .awards-drawer {
        top: auto;
        right: 0;
        bottom: 0;
        left: 0;
        display: flex;
        justify-content: center;
        transform: translateY(100%);
    }

    .awards-drawer.is-open {
        transform: translateY(0);
    }

    .awards-drawer-tab {
        top: 0;
        left: 50%;
        min-width: 0;
        min-height: 44px;
        writing-mode: horizontal-tb;
        transform: translate(-50%, -100%);
        border: 1px solid rgba(0, 255, 135, 0.35);
        border-bottom: 0;
        border-radius: 10px 10px 0 0;
        padding: 0.55rem 0.95rem;
    }

    .awards-tab-icon {
        transform: none;
    }

    .awards-drawer-arrow {
        transform: rotate(90deg);
    }

    .awards-drawer.is-open .awards-drawer-arrow {
        transform: rotate(-90deg);
    }

    .awards-drawer-panel {
        width: 100%;
        max-height: min(78vh, 680px);
        border-right: 1px solid var(--border-color);
        border-bottom: 0;
        border-radius: 12px 12px 0 0;
    }

    .awards-list {
        grid-template-columns: 1fr;
    }

    .match-score,
    .hero-match-card .match-score {
        background: none;
        color: #FFFFFF;
        -webkit-text-fill-color: #FFFFFF;
        text-shadow: 0 2px 10px rgba(0, 0, 0, 0.65);
    }

    .assigned-score {
        color: #FFFFFF;
        text-shadow: 0 2px 10px rgba(0, 0, 0, 0.65);
    }

    .trade-movement,
    .trade-leg-row {
        grid-template-columns: 1fr;
    }

    .trade-deadline-card {
        align-items: stretch;
        flex-direction: column;
    }

    .trade-section-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 0.25rem;
    }

    .trade-countdown {
        min-width: 0;
        width: 100%;
    }

    .blog-post-header {
        grid-template-columns: 1fr;
        gap: 0.35rem;
    }

    .blog-post-meta {
        justify-content: flex-start;
        text-align: left;
        white-space: normal;
    }

    .trade-thread-list.is-multi {
        grid-template-columns: 1fr;
    }

    .blog-match-chip {
        grid-template-columns: 1fr;
        gap: 0.25rem;
    }

    .blog-match-chip small {
        text-align: left;
        white-space: normal;
    }

    .trade-odds-row {
        grid-template-columns: minmax(0, 1fr) auto auto auto;
    }

    .standings-card {
        overflow-x: auto;
    }

    .standings-card-header,
    .standings-row {
        grid-template-columns: minmax(210px, 1fr) repeat(8, 42px) 92px;
        min-width: 650px;
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }

    .standings-team {
        grid-template-columns: 22px 26px minmax(0, 1fr);
        gap: 0.45rem;
    }

    .standings-team strong {
        font-size: 0.9rem;
    }

    .standings-participant {
        font-size: 0.72rem;
    }
}
