﻿/* Ace Arena Public Site â€” white-label theme tokens */

:root {
    /* White-label theme (override at runtime via BrandingService) */
    --primary: #008FE3;
    --secondary: #0B1F33;
    --accent: #FF6A00;
    --success: #16a34a;
    --danger: #dc2626;

    /* Legacy aliases â€” keep existing selectors/visuals unchanged */
    --color-primary: var(--primary);
    --color-primary-dark: #0070b8;
    --color-accent: var(--accent);
    --color-accent-dark: #e55f00;
    --color-navy: var(--secondary);
    --color-text: #1a2b3c;
    --color-muted: #5A6B7D;
    --color-border: #e2e8f0;
    --color-bg: #ffffff;
    --color-bg-muted: #f4f7fb;
    --color-success: var(--success);
    --color-danger: var(--danger);
    --shadow-sm: 0 1px 3px rgba(11, 31, 51, 0.08);
    --shadow-md: 0 4px 16px rgba(11, 31, 51, 0.1);
    --shadow-lg: 0 12px 40px rgba(11, 31, 51, 0.12);
    --radius: 12px;
    --radius-sm: 8px;
    --radius-lg: 16px;
    --header-height: 82px;
    --container: 1400px;
    --font: 'Inter', ui-sans-serif, system-ui, sans-serif;
    --hero-bg: url('/images/under-construction.jpg');
    --transition-fast: 250ms ease;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body.public-site {
    margin: 0;
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-text);
    background: var(--color-bg);
    -webkit-font-smoothing: antialiased;
}

img,
svg {
    display: block;
    max-width: 100%;
}

a {
    color: var(--color-primary);
    text-decoration: none;
}

a:hover {
    color: var(--color-primary-dark);
}

.container {
    width: min(100% - 2.5rem, var(--container));
    margin-inline: auto;
}

.text-accent {
    color: var(--color-accent);
}

/* Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 200;
    background: #fff;
    border-bottom: 1px solid var(--color-border);
    box-shadow: 0 2px 16px rgba(11, 31, 51, 0.07);
}

body.mobile-menu-open {
    overflow: hidden;
}

.site-header__inner {
    display: flex;
    align-items: center;
    gap: 1rem;
    min-height: var(--header-height);
}

.site-header__brand {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    z-index: 201;
}

.site-logo {
    height: auto;
    width: 220px;
    max-width: 220px;
    object-fit: contain;
}

.site-logo--footer {
    width: auto;
    height: 48px;
    max-width: none;
    filter: brightness(0) invert(1);
}

.site-header__nav {
    flex: 1 1 auto;
    display: none;
    min-width: 0;
}

.site-header__menu {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: flex-start;
    gap: 1.25rem;
    margin: 0;
    padding: 0;
    list-style: none;
    overflow: visible;
}

.site-header__item {
    flex: 0 0 auto;
}

.site-header__sep {
    flex: 0 0 auto;
    width: 1px;
    height: 1.1rem;
    margin: 0 0.15rem;
    background: var(--color-border);
    list-style: none;
}

.site-header__link {
    display: block;
    padding: 0.35rem 0;
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1.2;
    color: var(--color-muted);
    border-radius: 0;
    white-space: nowrap;
    transition: color var(--transition-fast);
}

.site-header__link:hover,
.site-header__link--active {
    color: var(--color-primary);
    background: transparent;
}

.site-header__more {
    position: relative;
    flex: 0 0 auto;
    display: none;
}

.site-header__more-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.35rem 0;
    font: inherit;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-muted);
    background: transparent;
    border: none;
    cursor: pointer;
    white-space: nowrap;
}

.site-header__more-toggle:hover,
.site-header__more--active .site-header__more-toggle,
.site-header__more-toggle[aria-expanded="true"] {
    color: var(--color-primary);
}

.site-header__more-caret {
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid currentColor;
    transition: transform 0.15s ease;
}

.site-header__more-toggle[aria-expanded="true"] .site-header__more-caret {
    transform: rotate(180deg);
}

.site-header__more-menu {
    position: absolute;
    top: calc(100% + 0.65rem);
    right: 0;
    z-index: 220;
    min-width: 10.5rem;
    margin: 0;
    padding: 0.45rem;
    list-style: none;
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: 12px;
    box-shadow: 0 12px 28px rgba(11, 31, 51, 0.12);
}

.site-header__more-menu[hidden] {
    display: none;
}

.site-header__more-link {
    display: block;
    padding: 0.65rem 0.75rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-text);
    border-radius: 8px;
    white-space: nowrap;
}

.site-header__more-link:hover,
.site-header__more-link--active {
    color: var(--color-primary);
    background: rgba(0, 143, 227, 0.08);
}

.site-header__actions {
    display: flex;
    align-items: center;
    flex: 0 0 auto;
    gap: 0.65rem;
    margin-left: auto;
    z-index: 201;
}

.site-header__login,
.site-header__dashboard {
    display: none;
    align-items: center;
    gap: 0.35rem;
    padding: 0.45rem 0.85rem;
    font-size: 0.8125rem;
    font-weight: 600;
    color: #fff;
    border-radius: var(--radius-sm);
    transition: background var(--transition-fast), color var(--transition-fast);
    white-space: nowrap;
    text-decoration: none;
}

.site-header__login {
    background: var(--color-accent);
}

.site-header__login:hover {
    color: #fff;
    background: var(--color-accent-dark);
}

.site-header__login:focus-visible,
.site-header__dashboard:focus-visible,
.site-header__logout:focus-visible,
.site-header__more-toggle:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

.site-header__login-icon {
    width: 0.95rem;
    height: 0.95rem;
    flex-shrink: 0;
}

.site-header__dashboard {
    background: var(--color-primary);
}

.site-header__dashboard:hover,
.site-header__dashboard--active {
    color: #fff;
    background: var(--color-primary-dark);
}

.site-header__logout-form {
    display: none;
    margin: 0;
}

.site-header__logout {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0;
    font: inherit;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-muted);
    background: transparent;
    border: none;
    border-radius: 0;
    cursor: pointer;
    white-space: nowrap;
    transition: color var(--transition-fast);
}

.site-header__logout:hover {
    color: var(--color-navy);
    background: transparent;
    border-color: transparent;
}

.site-header__toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    padding: 0;
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    cursor: pointer;
}

.site-header__toggle-bar {
    display: block;
    width: 18px;
    height: 2px;
    margin-inline: auto;
    background: var(--color-navy);
    border-radius: 1px;
    transition: transform 0.2s, opacity 0.2s;
}

.site-header__toggle[aria-expanded="true"] .site-header__toggle-bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.site-header__toggle[aria-expanded="true"] .site-header__toggle-bar:nth-child(2) {
    opacity: 0;
}

.site-header__toggle[aria-expanded="true"] .site-header__toggle-bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.mobile-menu {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: #fff;
    border-top: 1px solid var(--color-border);
    box-shadow: var(--shadow-lg);
}

.mobile-menu[hidden] {
    display: none;
}

.mobile-menu__list {
    margin: 0;
    padding: 0.5rem 1rem 1rem;
    list-style: none;
}

.mobile-menu__link {
    display: block;
    padding: 0.85rem 0.5rem;
    font-weight: 500;
    color: var(--color-text);
    border-bottom: 1px solid var(--color-border);
}

.mobile-menu__link--active {
    color: var(--color-primary);
}

.mobile-menu__link--login,
.mobile-menu__link--dashboard {
    margin-top: 0.5rem;
    font-weight: 700;
    border-bottom: none;
}

.mobile-menu__link--login {
    color: var(--color-accent);
}

.mobile-menu__link--dashboard {
    color: var(--color-primary);
}

.mobile-menu__logout-form {
    margin: 0;
}

.mobile-menu__link--logout {
    width: 100%;
    font: inherit;
    font-weight: 600;
    text-align: left;
    color: var(--color-muted);
    background: transparent;
    border: none;
    border-bottom: none;
    cursor: pointer;
}

.mobile-menu__link--logout:hover,
.mobile-menu__link--logout:focus-visible {
    color: var(--color-navy);
}

/* Main */
.site-main {
    min-height: calc(100vh - var(--header-height) - 200px);
}

.page-home .site-main {
    min-height: auto;
}

/* Homepage Hero */
.home-hero {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 560px;
    background-color: var(--color-navy);
    background-image:
        linear-gradient(105deg, rgba(11, 31, 51, 0.94) 0%, rgba(11, 31, 51, 0.82) 45%, rgba(11, 31, 51, 0.45) 100%),
        var(--hero-bg);
    background-size: cover;
    background-position: center right;
    background-repeat: no-repeat;
}

.home-hero__inner {
    padding: 4.5rem 0 5rem;
}

.home-hero__content {
    max-width: 40rem;
}

.home-hero__eyebrow {
    margin: 0 0 1.15rem;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--color-accent);
}

.home-hero__title {
    margin: 0 0 1.35rem;
    font-size: clamp(2.5rem, 5.5vw, 4rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.025em;
    color: #fff;
}

.home-hero__subtitle {
    margin: 0 0 2.25rem;
    max-width: 34rem;
    font-size: clamp(1.05rem, 2vw, 1.35rem);
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.9);
}

.home-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    margin-bottom: 1.5rem;
}

.home-hero__trust {
    margin: 0;
    font-size: 0.9rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.72);
}

/* League Finder */
.home-finder-section {
    position: relative;
    z-index: 10;
    margin-top: -3rem;
    margin-bottom: 1rem;
}

.home-finder {
    display: grid;
    gap: 1.25rem;
    padding: 1.5rem;
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.home-finder__title {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-navy);
}

.home-finder__fields {
    display: grid;
    gap: 0.75rem;
}

.home-finder__field {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    padding: 0.85rem 1rem;
    background: var(--color-bg-muted);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    transition: border-color 0.15s, box-shadow 0.15s;
}

.home-finder__field:hover {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(0, 143, 227, 0.12);
    color: inherit;
}

.home-finder__label {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-muted);
}

.home-finder__value {
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-navy);
}

.home-finder__btn {
    justify-self: start;
}

/* Homepage Quick Access */
.home-access-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}

.home-access-card {
    display: flex;
    align-items: flex-start;
    gap: 1.15rem;
    padding: 1.5rem 1.35rem;
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: 18px;
    box-shadow: 0 4px 20px rgba(11, 31, 51, 0.07);
    color: inherit;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast);
}

.home-access-card:hover {
    color: inherit;
    transform: translateY(-4px);
    border-color: rgba(0, 143, 227, 0.2);
    box-shadow: 0 12px 32px rgba(11, 31, 51, 0.12);
}

.home-access-card__icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3.25rem;
    height: 3.25rem;
    color: var(--color-muted);
    transition: color var(--transition-fast);
}

.home-access-card__icon svg {
    width: 2rem;
    height: 2rem;
}

.home-access-card:hover .home-access-card__icon {
    color: var(--color-primary);
}

.home-access-card__body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.home-access-card__title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--color-navy);
    line-height: 1.3;
}

.home-access-card__desc {
    font-size: 0.9rem;
    line-height: 1.5;
    color: var(--color-muted);
}

.home-access-card__arrow {
    flex-shrink: 0;
    align-self: center;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    color: var(--color-muted);
    transition: color var(--transition-fast), transform var(--transition-fast);
}

.home-access-card__arrow svg {
    width: 1.25rem;
    height: 1.25rem;
}

.home-access-card:hover .home-access-card__arrow {
    color: var(--color-primary);
    transform: translateX(4px);
}

/* Page hero (inner pages) */
.page-hero {
    background: var(--color-bg-muted);
    border-bottom: 1px solid var(--color-border);
}

.page-hero .container {
    padding: 2.5rem 0;
}

.page-hero__title {
    margin: 0 0 0.5rem;
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    font-weight: 800;
    color: var(--color-navy);
}

.page-hero__subtitle {
    margin: 0;
    color: var(--color-muted);
    font-size: 1.05rem;
}

/* Sections */
.section {
    padding: 3.5rem 0;
}

.home-section {
    padding: 5rem 0;
}

.home-section--access {
    padding-top: 4.5rem;
}

.section--muted {
    background: var(--color-bg-muted);
}

.section__header {
    margin-bottom: 2.5rem;
}

.section__header--center {
    text-align: center;
}

.section__header--center .section__subtitle {
    max-width: 36rem;
    margin-inline: auto;
}

.section__header--row {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
}

.section__title {
    margin: 0 0 0.5rem;
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--color-navy);
}

.section__title--lg {
    font-size: clamp(1.75rem, 3vw, 2.35rem);
    font-weight: 800;
    letter-spacing: -0.025em;
}

.section__subtitle {
    margin: 0;
    color: var(--color-muted);
    font-size: 1.05rem;
    line-height: 1.55;
}

.section__link {
    font-size: 0.9rem;
    font-weight: 600;
    white-space: nowrap;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.25rem;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
    border: 2px solid transparent;
    cursor: pointer;
    transition: background 0.15s, color 0.15s, border-color 0.15s, transform 0.15s;
    text-align: center;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn--lg {
    padding: 1rem 1.75rem;
    font-size: 1.05rem;
    box-shadow: 0 4px 14px rgba(0, 143, 227, 0.25);
}

.btn--block {
    width: 100%;
}

.btn--sm {
    padding: 0.5rem 0.85rem;
    font-size: 0.85rem;
}

.btn--primary {
    color: #fff;
    background: var(--color-primary);
}

.btn--primary:hover {
    color: #fff;
    background: var(--color-primary-dark);
}

.btn--secondary {
    color: var(--color-primary);
    background: #fff;
    border-color: var(--color-primary);
}

.btn--secondary:hover {
    color: #fff;
    background: var(--color-primary);
}

.btn--ghost {
    color: #fff;
    background: transparent;
    border-color: rgba(255, 255, 255, 0.55);
}

.btn--ghost:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.12);
    border-color: #fff;
}

.btn--shop {
    color: #fff;
    background: var(--color-accent);
    box-shadow: 0 4px 14px rgba(255, 106, 0, 0.28);
}

.btn--shop:hover {
    color: #fff;
    background: var(--color-accent-dark);
}

.btn__arrow {
    margin-left: 0.35rem;
    transition: transform var(--transition-fast);
}

.btn--shop:hover .btn__arrow {
    transform: translateX(3px);
}

/* Snapshot stats */
.snapshot-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.25rem;
}

.snapshot-card {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 1.5rem;
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.snapshot-card__icon {
    width: 2.5rem;
    height: 2.5rem;
    margin-bottom: 0.25rem;
}

.snapshot-card__icon svg {
    width: 100%;
    height: 100%;
}

.snapshot-card--blue .snapshot-card__icon {
    color: var(--color-primary);
}

.snapshot-card--orange .snapshot-card__icon {
    color: var(--color-accent);
}

.snapshot-card__label {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--color-muted);
}

.snapshot-card__value {
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.3;
    color: var(--color-navy);
}

.snapshot-card__value--number {
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

/* Benefits */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.25rem;
}

.benefit-card {
    padding: 1.75rem;
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.benefit-card__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    margin-bottom: 1rem;
    border-radius: var(--radius-sm);
}

.benefit-card__icon svg {
    width: 1.5rem;
    height: 1.5rem;
}

.benefit-card__icon--blue {
    color: var(--color-primary);
    background: rgba(0, 143, 227, 0.1);
}

.benefit-card__icon--orange {
    color: var(--color-accent);
    background: rgba(255, 106, 0, 0.1);
}

.benefit-card__title {
    margin: 0 0 0.5rem;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-navy);
}

.benefit-card__text {
    margin: 0;
    font-size: 0.95rem;
    color: var(--color-muted);
    line-height: 1.6;
}

/* Steps */
.steps {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: step;
}

.step-card {
    position: relative;
    padding: 1.5rem 1.5rem 1.5rem 4.5rem;
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.step-card__number {
    position: absolute;
    left: 1.25rem;
    top: 1.35rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    font-size: 0.95rem;
    font-weight: 800;
    color: #fff;
    background: linear-gradient(135deg, var(--color-primary), #006bb3);
    border-radius: 999px;
}

.step-card__title {
    margin: 0 0 0.35rem;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--color-navy);
}

.step-card__text {
    margin: 0;
    font-size: 0.95rem;
    color: var(--color-muted);
}

/* League showcase */
.league-showcase {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1.25rem;
}

.league-showcase__card {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1.5rem;
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.league-showcase__top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem;
}

.league-showcase__title {
    margin: 0;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--color-navy);
}

.league-showcase__meta {
    margin: 0;
    padding: 0;
    list-style: none;
    flex: 1;
}

.league-showcase__meta li {
    padding: 0.35rem 0;
    font-size: 0.9rem;
    color: var(--color-muted);
    border-bottom: 1px solid var(--color-border);
}

.league-showcase__meta li:last-child {
    border-bottom: none;
}

.league-showcase__meta strong {
    color: var(--color-navy);
}

/* Fixture cards */
.fixture-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1rem;
}

.fixture-card {
    padding: 1.25rem;
    background: #fff;
    border: 1px solid var(--color-border);
    border-left: 4px solid var(--color-primary);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
}

.fixture-card__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.85rem;
}

.fixture-card__datetime {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-muted);
}

.fixture-card__datetime span {
    margin-left: 0.5rem;
    color: var(--color-navy);
}

.fixture-card__matchup {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    margin: 0 0 0.75rem;
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-navy);
}

.fixture-card__vs {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--color-accent);
}

.fixture-card__footer {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--color-muted);
}

/* Legacy card grids (inner pages) */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.stat-card {
    padding: 1.25rem;
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
}

.stat-card__label {
    display: block;
    margin-bottom: 0.35rem;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-muted);
}

.stat-card__value {
    display: block;
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--color-navy);
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1rem;
}

.league-card,
.venue-card {
    padding: 1.25rem;
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
}

.league-card__title,
.venue-card__title {
    margin: 0 0 1rem;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-navy);
}

.league-card__meta,
.venue-card__meta {
    margin: 0;
    display: grid;
    gap: 0.75rem;
}

.league-card__meta div,
.venue-card__meta div {
    display: grid;
    grid-template-columns: 5rem 1fr;
    gap: 0.5rem;
    align-items: baseline;
}

.league-card__meta dt,
.venue-card__meta dt {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--color-muted);
}

.league-card__meta dd,
.venue-card__meta dd {
    margin: 0;
    font-weight: 500;
}

.match-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1rem;
}

.match-card {
    padding: 1rem 1.25rem;
    background: #fff;
    border: 1px solid var(--color-border);
    border-left: 4px solid var(--color-primary);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
}

.match-card__meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.75rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-muted);
}

.match-card__players {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--color-navy);
}

.match-card__vs {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--color-accent);
}

.match-card__venue {
    font-size: 0.85rem;
    color: var(--color-muted);
}

/* Tables */
.table-wrap {
    overflow-x: auto;
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    -webkit-overflow-scrolling: touch;
}

.data-table {
    width: 100%;
    min-width: 520px;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.data-table th,
.data-table td {
    padding: 0.85rem 1rem;
    text-align: left;
    border-bottom: 1px solid var(--color-border);
    white-space: nowrap;
}

.data-table th {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--color-muted);
    background: var(--color-bg-muted);
}

.data-table tbody tr:last-child td {
    border-bottom: none;
}

.data-table tbody tr:hover {
    background: rgba(0, 143, 227, 0.03);
}

.data-table__primary {
    font-weight: 600;
    color: var(--color-navy);
    white-space: normal;
}

.data-table__score {
    font-weight: 700;
    color: var(--color-primary);
}

.data-table__winner {
    font-weight: 600;
    color: #16a34a;
}

/* Badges */
.position-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.85rem;
    height: 1.85rem;
    padding: 0 0.45rem;
    font-size: 0.8rem;
    font-weight: 700;
    border-radius: 999px;
    background: var(--color-bg-muted);
    color: var(--color-navy);
}

.position-badge--1 {
    background: #fef3c7;
    color: #b45309;
}

.position-badge--2 {
    background: #f1f5f9;
    color: #475569;
}

.position-badge--3 {
    background: #ffedd5;
    color: #c2410c;
}

.position-badge--default {
    background: #dbeafe;
    color: #1d4ed8;
}

.status-badge {
    display: inline-block;
    padding: 0.25rem 0.65rem;
    font-size: 0.72rem;
    font-weight: 600;
    border-radius: 999px;
    text-transform: capitalize;
    white-space: nowrap;
}

.status-badge--active,
.status-badge--played {
    background: #dcfce7;
    color: #166534;
}

.status-badge--registration_open {
    background: #fef3c7;
    color: #b45309;
}

.status-badge--draft {
    background: #f1f5f9;
    color: #64748b;
}

.status-badge--finished {
    background: #fee2e2;
    color: #b91c1c;
}

.status-badge--walkover {
    background: #ffedd5;
    color: #c2410c;
}

.status-badge--cancelled {
    background: #fee2e2;
    color: #b91c1c;
}

.status-badge--scheduled {
    background: #dbeafe;
    color: #1d4ed8;
}

/* Empty states */
.empty-state {
    padding: 2.5rem 1.5rem;
    text-align: center;
    color: var(--color-muted);
    background: #fff;
    border: 1px dashed var(--color-border);
    border-radius: var(--radius);
}

.empty-state-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    padding: 2.5rem 1.5rem;
    text-align: center;
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.empty-state-card--featured {
    padding: 3rem 1.5rem;
    background: linear-gradient(180deg, #fff 0%, var(--color-bg-muted) 100%);
}

.empty-state-card__icon {
    width: 3rem;
    height: 3rem;
    color: var(--color-primary);
}

.empty-state-card__icon svg {
    width: 100%;
    height: 100%;
}

.empty-state-card__title {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--color-navy);
}

.empty-state-card__text {
    margin: 0;
    max-width: 28rem;
    color: var(--color-muted);
}

/* Large CTA */
.home-cta {
    position: relative;
    overflow: hidden;
    background-color: var(--color-navy);
    background-image:
        linear-gradient(135deg, rgba(0, 143, 227, 0.88) 0%, rgba(11, 31, 51, 0.94) 55%),
        var(--hero-bg);
    background-size: cover;
    background-position: center 30%;
}

.home-cta__inner {
    padding: 4.5rem 0;
    text-align: center;
}

.home-cta__title {
    margin: 0 0 0.75rem;
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #fff;
}

.home-cta__text {
    margin: 0 auto 2rem;
    max-width: 32rem;
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.88);
}

.home-cta__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.85rem;
}

/* Filters (inner pages) */
.filter-form {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 1.25rem;
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
}

.filter-form__group label {
    display: block;
    margin-bottom: 0.35rem;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--color-muted);
}

.filter-form__group select {
    width: 100%;
    padding: 0.6rem 0.75rem;
    font-family: inherit;
    font-size: 0.95rem;
    color: var(--color-text);
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
}

.filter-form__group select:focus {
    outline: 2px solid rgba(0, 143, 227, 0.4);
    border-color: var(--color-primary);
}

.standings-scope {
    margin: 0 0 1rem;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--color-muted);
}

.schedule-group {
    margin-bottom: 2rem;
}

.schedule-group:last-child {
    margin-bottom: 0;
}

.schedule-group__title {
    margin: 0 0 0.75rem;
    padding-left: 0.75rem;
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-navy);
    border-left: 4px solid var(--color-accent);
}

/* Footer */
.site-footer {
    margin-top: 0;
    padding: 3.5rem 0 2rem;
    background: var(--color-navy);
    color: rgba(255, 255, 255, 0.85);
}

.site-footer__inner {
    display: grid;
    gap: 2.5rem;
}

.site-footer__tagline {
    margin: 1rem 0 0;
    max-width: 22rem;
    font-size: 0.9rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.65);
}

.site-footer__columns {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 2rem;
}

.site-footer__heading {
    margin: 0 0 0.85rem;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
}

.site-footer__links {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.site-footer__links a {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.9rem;
    font-weight: 500;
}

.site-footer__links a:hover {
    color: #fff;
}

.site-footer__bottom {
    grid-column: 1 / -1;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.site-footer__copy {
    margin: 0;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.45);
}

.site-footer__social {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1rem;
}

.site-footer__social a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
}

.site-footer__social a:hover {
    color: #fff;
}

.site-footer__credit {
    margin: 0;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.45);
}

.site-footer__credit a {
    color: rgba(255, 255, 255, 0.72);
    font-weight: 600;
    letter-spacing: 0.04em;
    text-decoration: none;
    transition: color var(--transition-fast);
}

.site-footer__credit a:hover {
    color: var(--color-accent);
}

.site-footer__sep {
    margin: 0 0.45rem;
    color: rgba(255, 255, 255, 0.35);
}

.site-footer__admin {
    font-weight: 500 !important;
    letter-spacing: 0 !important;
    color: rgba(255, 255, 255, 0.4) !important;
}

.site-footer__admin:hover {
    color: rgba(255, 255, 255, 0.75) !important;
}

/* Player login modal */
.login-modal {
    position: fixed;
    inset: 0;
    z-index: 400;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
}

.login-modal[hidden] {
    display: none;
}

.login-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(11, 31, 51, 0.55);
    backdrop-filter: blur(2px);
}

.login-modal__dialog {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 420px;
    max-height: 90vh;
    overflow-y: auto;
    padding: 1.75rem 1.5rem 1.5rem;
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: 20px;
    box-shadow: 0 24px 60px rgba(11, 31, 51, 0.28);
    outline: none;
}

.login-modal__close {
    position: absolute;
    top: 0.85rem;
    right: 0.85rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    padding: 0;
    color: var(--color-muted);
    background: transparent;
    border: 1px solid transparent;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: color var(--transition-fast), background var(--transition-fast), border-color var(--transition-fast);
}

.login-modal__close svg {
    width: 1.1rem;
    height: 1.1rem;
}

.login-modal__close:hover {
    color: var(--color-navy);
    background: var(--color-bg-muted);
    border-color: var(--color-border);
}

.login-modal__close:focus-visible,
.login-modal__input:focus-visible,
.login-modal__submit:focus-visible,
.login-modal__forgot:focus-visible,
.login-modal__fallback a:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

.login-modal__brand {
    display: flex;
    justify-content: center;
    margin-bottom: 0.75rem;
}

.login-modal__logo {
    height: 56px;
    width: auto;
}

.login-modal__title {
    margin: 0;
    text-align: center;
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--color-navy);
}

.login-modal__subtitle {
    margin: 0.4rem 0 1.25rem;
    text-align: center;
    font-size: 0.9rem;
    color: var(--color-muted);
}

.login-modal__alert {
    margin: 0 0 1rem;
    padding: 0.75rem 0.9rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: #991b1b;
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: var(--radius);
}

.login-modal__form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.login-modal__field {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.login-modal__label {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--color-muted);
}

.login-modal__input {
    width: 100%;
    padding: 0.75rem 0.85rem;
    font: inherit;
    font-size: 0.95rem;
    color: var(--color-navy);
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.login-modal__input:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(0, 143, 227, 0.15);
    outline: none;
}

.login-modal__input.is-invalid {
    border-color: #dc2626;
}

.login-modal__error {
    margin: 0;
    font-size: 0.8rem;
    color: #b91c1c;
}

.login-modal__row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.65rem 1rem;
}

.login-modal__remember {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.875rem;
    color: var(--color-text);
    cursor: pointer;
}

.login-modal__remember input {
    width: 1rem;
    height: 1rem;
    accent-color: var(--color-primary);
}

.login-modal__forgot {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-primary);
    text-decoration: none;
}

.login-modal__forgot:hover {
    text-decoration: underline;
}

.login-modal__submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 2.85rem;
    padding: 0.75rem 1rem;
    font: inherit;
    font-size: 0.95rem;
    font-weight: 700;
    color: #fff;
    background: var(--color-accent);
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(255, 106, 0, 0.28);
    transition: background var(--transition-fast), transform var(--transition-fast);
}

.login-modal__submit:hover:not(:disabled) {
    background: var(--color-accent-dark);
    transform: translateY(-1px);
}

.login-modal__submit:disabled {
    opacity: 0.7;
    cursor: wait;
}

.login-modal__fallback {
    margin: 1rem 0 0;
    text-align: center;
    font-size: 0.8rem;
}

.login-modal__fallback a {
    color: var(--color-muted);
    text-decoration: underline;
}

body.login-modal-open {
    overflow: hidden;
}

body.login-modal-open .shop-widget {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

@media (max-width: 767px) {
    .login-modal {
        padding: 12px;
        align-items: center;
    }

    .login-modal__dialog {
        width: calc(100% - 0px);
        max-width: none;
        max-height: 90vh;
        padding: 1.5rem 1.15rem 1.25rem;
    }

    .login-modal__logo {
        height: 48px;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .site-header__inner {
        min-height: auto;
        padding-block: 0.85rem;
        gap: 0.75rem;
    }

    .site-header__brand {
        flex: 0 1 auto;
        max-width: calc(100% - 3.5rem);
    }

    .site-header__brand .site-logo {
        height: 56px;
        width: auto;
        max-width: 100%;
        object-fit: contain;
    }

    .home-hero {
        min-height: 520px;
        background-position: 65% center;
        background-image:
            linear-gradient(180deg, rgba(11, 31, 51, 0.92) 0%, rgba(11, 31, 51, 0.72) 50%, rgba(11, 31, 51, 0.55) 100%),
            var(--hero-bg);
    }

    .home-hero__inner {
        padding: 3rem 0 4rem;
    }

    .home-hero__actions,
    .home-cta__actions {
        flex-direction: column;
        width: 100%;
    }

    .home-hero__actions .btn,
    .home-cta__actions .btn {
        width: 100%;
    }

    .home-finder-section {
        margin-top: -2.5rem;
    }

    .home-finder__btn {
        width: 100%;
        justify-self: stretch;
    }

    .home-section {
        padding: 3.5rem 0;
    }

    .section__header--row .btn {
        width: 100%;
    }

    .site-header {
        position: sticky;
    }
}

@media (min-width: 640px) {
    .home-finder {
        grid-template-columns: 1fr auto;
        align-items: end;
    }

    .home-finder__title {
        grid-column: 1 / -1;
    }

    .home-finder__fields {
        grid-column: 1;
        grid-template-columns: repeat(3, 1fr);
    }

    .home-finder__btn {
        grid-column: 2;
        align-self: end;
    }

    .home-access-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1.35rem;
    }
}

@media (min-width: 768px) {
    .site-header {
        position: sticky;
    }

    .steps {
        grid-template-columns: repeat(4, 1fr);
        gap: 1.25rem;
    }

    .step-card {
        padding: 4.5rem 1.25rem 1.5rem;
        text-align: center;
    }

    .step-card__number {
        left: 50%;
        top: 1.25rem;
        transform: translateX(-50%);
    }

    .site-footer__inner {
        grid-template-columns: 1.2fr 2fr;
        align-items: start;
    }

    .site-footer__bottom {
        grid-column: 1 / -1;
    }
}

@media (min-width: 992px) {
    .site-header__nav {
        display: block;
    }

    .site-header__login,
    .site-header__dashboard {
        display: inline-flex;
    }

    .site-header__logout-form {
        display: block;
    }

    .site-header__toggle {
        display: none;
    }

    .mobile-menu {
        display: none !important;
    }

    /* Mid desktop: keep one row by collapsing Information into More */
    .site-header__item--info {
        display: none;
    }

    .site-header__more {
        display: block;
    }

    .site-header__inner {
        gap: 1rem;
    }

    .site-header__menu {
        gap: 1.1rem;
    }

    .site-logo {
        width: 210px;
        max-width: 210px;
    }

    .site-header__actions {
        padding-left: 0.85rem;
        margin-left: 0.35rem;
        border-left: 1px solid var(--color-border);
    }
}

@media (min-width: 1280px) {
    .site-header__menu {
        gap: 1.25rem;
    }

    .site-logo {
        width: 240px;
        max-width: 240px;
    }
}

@media (min-width: 992px) and (max-width: 1199px) {
    .site-header__inner {
        gap: 0.85rem;
    }

    .site-header__menu {
        gap: 0.95rem;
    }

    .site-header__link,
    .site-header__more-toggle {
        font-size: 0.8125rem;
    }

    .site-logo {
        width: 195px;
        max-width: 195px;
    }

    .site-header__login,
    .site-header__dashboard {
        padding: 0.4rem 0.75rem;
        font-size: 0.75rem;
    }
}

@media (min-width: 1200px) {
    .home-access-grid {
        grid-template-columns: repeat(5, minmax(0, 1fr));
        gap: 1.25rem;
    }

    .home-access-card {
        flex-direction: column;
        align-items: stretch;
        min-height: 100%;
        padding: 1.65rem 1.35rem 1.45rem;
    }

    .home-access-card__arrow {
        align-self: flex-end;
        margin-top: auto;
        padding-top: 0.75rem;
    }
}

@media (min-width: 1024px) {
    .home-hero__inner {
        padding: 5rem 0 5.5rem;
    }

    .home-section {
        padding: 5.5rem 0;
    }

    .home-finder-section {
        margin-top: -3.5rem;
    }
}

/* â”€â”€â”€ Leagues discovery page â”€â”€â”€ */

.leagues-hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient(120deg, rgba(0, 143, 227, 0.14) 0%, #ffffff 48%, rgba(255, 106, 0, 0.08) 100%);
    border-bottom: 1px solid var(--color-border);
}

.leagues-hero::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: min(45%, 560px);
    height: 100%;
    background-image:
        linear-gradient(90deg, #ffffff 0%, rgba(255, 255, 255, 0.55) 30%, rgba(255, 255, 255, 0.15) 100%),
        url('/images/under-construction.jpg');
    background-size: cover;
    background-position: center right;
    opacity: 0.55;
    pointer-events: none;
}

.leagues-hero__inner {
    position: relative;
    z-index: 1;
    padding: 3.5rem 0 4.5rem;
}

.leagues-hero__content {
    max-width: 34rem;
}

.leagues-hero__eyebrow {
    margin: 0 0 0.75rem;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-accent);
}

.leagues-hero__title {
    margin: 0 0 0.75rem;
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--color-navy);
}

.leagues-hero__subtitle {
    margin: 0 0 1.75rem;
    font-size: 1.1rem;
    color: var(--color-muted);
    line-height: 1.65;
}

.leagues-filters-section {
    position: relative;
    z-index: 5;
    margin-top: -2.5rem;
    margin-bottom: 0.5rem;
}

.leagues-filters {
    padding: 1.35rem 1.5rem;
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.leagues-filters__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
    align-items: end;
}

.leagues-filters__group label {
    display: block;
    margin-bottom: 0.4rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: var(--color-muted);
}

.leagues-filters__group select,
.leagues-filters__group input[type='search'] {
    width: 100%;
    min-height: 44px;
    padding: 0.65rem 0.8rem;
    font-family: inherit;
    font-size: 0.95rem;
    color: var(--color-text);
    background: var(--color-bg-muted);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    appearance: none;
}

.leagues-filters__group select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%235A6B7D' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.85rem center;
    padding-right: 2rem;
}

.leagues-filters__group select:focus,
.leagues-filters__group input[type='search']:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(0, 143, 227, 0.15);
    background-color: #fff;
}

.leagues-filters__group--search {
    grid-column: auto;
}

.leagues-filters__search {
    display: flex;
    gap: 0.5rem;
}

.leagues-filters__search input {
    flex: 1;
    min-width: 0;
}

.leagues-filters__actions {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--color-border);
}

.leagues-filters__clear {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-accent);
}

.leagues-grid-section {
    padding-top: 2.5rem;
    padding-bottom: 4rem;
    background: var(--color-bg-muted);
}

.leagues-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
}

.league-discovery-card {
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
    min-height: 100%;
    padding: 1.5rem;
    background: #fff;
    border: 1px solid var(--color-border);
    border-top: 4px solid var(--league-accent, var(--color-primary));
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: box-shadow 0.2s, transform 0.2s;
}

.league-discovery-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-3px);
}

.league-discovery-card__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem;
}

.league-discovery-card__title {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 800;
    line-height: 1.25;
}

.league-discovery-card__title a {
    color: var(--color-navy);
}

.league-discovery-card__title a:hover {
    color: var(--color-primary);
}

.league-discovery-card__meta {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem 1rem;
    margin: 0;
    padding: 0;
    list-style: none;
    flex: 1;
}

.league-discovery-card__meta li {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.league-discovery-card__meta--full {
    grid-column: 1 / -1;
}

.league-discovery-card__label {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--color-muted);
}

.league-discovery-card__value {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--color-navy);
    line-height: 1.35;
}

.league-discovery-card__btn {
    width: 100%;
    margin-top: auto;
}

/* â”€â”€â”€ League detail page â”€â”€â”€ */

.league-detail-hero {
    background: linear-gradient(135deg, rgba(0, 143, 227, 0.06) 0%, #fff 100%);
    border-bottom: 1px solid var(--color-border);
    border-top: 4px solid var(--league-accent, var(--color-primary));
}

.league-detail-hero__inner {
    padding: 2.5rem 0 3rem;
}

.league-detail-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
    font-size: 0.875rem;
    color: var(--color-muted);
}

.league-detail-breadcrumb a {
    font-weight: 600;
}

.league-detail-breadcrumb span:last-child {
    color: var(--color-navy);
    font-weight: 600;
}

.league-detail-hero__content {
    display: grid;
    gap: 1.5rem;
}

.league-detail-hero__title {
    margin: 0 0 0.35rem;
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--color-navy);
}

.league-detail-hero__season {
    margin: 0 0 1rem;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--color-primary);
}

.league-detail-hero__description {
    margin: 0;
    max-width: 48rem;
    font-size: 1rem;
    line-height: 1.7;
    color: var(--color-muted);
}

.league-detail-hero__aside {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
}

.league-detail-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.status-badge--lg {
    padding: 0.35rem 0.85rem;
    font-size: 0.8rem;
}

.league-detail-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
}

.league-divisions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 1rem;
}

.league-division-card {
    padding: 1.25rem;
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
}

.league-division-card__title {
    margin: 0 0 0.85rem;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--color-navy);
}

.league-division-card__meta {
    display: grid;
    gap: 0.5rem;
    margin: 0 0 0.85rem;
}

.league-division-card__meta div {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    font-size: 0.9rem;
}

.league-division-card__meta dt {
    color: var(--color-muted);
    font-weight: 600;
}

.league-division-card__meta dd {
    margin: 0;
    font-weight: 600;
    color: var(--color-navy);
}

@media (min-width: 768px) {
    .leagues-hero__inner {
        padding: 4rem 0 5rem;
    }

    .leagues-filters-section {
        margin-top: -3rem;
    }

    .league-detail-hero__content {
        grid-template-columns: 1fr auto;
        align-items: start;
    }

    .league-detail-hero__aside {
        align-items: flex-end;
    }

    .league-detail-hero__actions {
        justify-content: flex-end;
    }
}

@media (max-width: 1023px) {
    .leagues-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .leagues-hero::after {
        width: 100%;
        opacity: 0.22;
        background-image:
            linear-gradient(180deg, rgba(255, 255, 255, 0.92) 0%, rgba(255, 255, 255, 0.78) 100%),
            url('/images/under-construction.jpg');
    }

    .leagues-hero__inner {
        padding: 2.5rem 0 3.5rem;
    }

    .leagues-filters-section {
        margin-top: -1.75rem;
    }

    .leagues-filters__grid {
        grid-template-columns: 1fr;
    }

    .leagues-grid {
        grid-template-columns: 1fr;
    }

    .leagues-filters__search {
        flex-direction: column;
    }

    .leagues-filters__search .btn {
        width: 100%;
    }

    .league-detail-hero__actions {
        width: 100%;
    }

    .league-detail-hero__actions .btn {
        flex: 1;
        min-width: 0;
    }
}

/* â”€â”€â”€ Schedule page â”€â”€â”€ */

.schedule-hero {
    background: linear-gradient(120deg, rgba(0, 143, 227, 0.12) 0%, #ffffff 60%, rgba(255, 106, 0, 0.06) 100%);
    border-bottom: 1px solid var(--color-border);
}

.schedule-hero__inner {
    padding: 3rem 0 3.5rem;
}

.schedule-hero__title {
    margin: 0 0 0.65rem;
    font-size: clamp(1.85rem, 4vw, 2.5rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--color-navy);
}

.schedule-hero__subtitle {
    margin: 0;
    max-width: 40rem;
    font-size: 1.05rem;
    color: var(--color-muted);
    line-height: 1.65;
}

.schedule-filters-section {
    position: relative;
    z-index: 5;
    margin-top: -1.75rem;
    margin-bottom: 0.5rem;
}

.schedule-filters {
    padding: 1.25rem 1.5rem;
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.schedule-filters__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
    align-items: end;
}

.schedule-filters__group label {
    display: block;
    margin-bottom: 0.4rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: var(--color-muted);
}

.schedule-filters__group select,
.schedule-filters__group input[type='date'],
.schedule-filters__group input[type='search'] {
    width: 100%;
    min-height: 44px;
    padding: 0.65rem 0.8rem;
    font-family: inherit;
    font-size: 0.95rem;
    color: var(--color-text);
    background: var(--color-bg-muted);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
}

.schedule-filters__group select:focus,
.schedule-filters__group input:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(0, 143, 227, 0.15);
    background: #fff;
}

.schedule-filters__group--search {
    grid-column: span 2;
}

.schedule-filters__search {
    display: flex;
    gap: 0.5rem;
}

.schedule-filters__search input {
    flex: 1;
    min-width: 0;
}

.schedule-filters__actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--color-border);
}

.schedule-filters__clear {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-accent);
}

.schedule-filters__count {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-muted);
}

.schedule-list-section {
    padding-top: 2rem;
    padding-bottom: 4rem;
    background: var(--color-bg-muted);
}

.schedule-timeline-group {
    margin-bottom: 2.5rem;
}

.schedule-timeline-group:last-child {
    margin-bottom: 0;
}

.schedule-timeline-group__title {
    margin: 0 0 1.25rem;
    padding-left: 0.85rem;
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--color-navy);
    border-left: 4px solid var(--color-accent);
}

.schedule-timeline {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.schedule-match-card {
    display: grid;
    grid-template-columns: 28px 1fr;
    gap: 1rem;
    align-items: stretch;
}

.schedule-match-card__timeline {
    position: relative;
    display: flex;
    justify-content: center;
}

.schedule-match-card__timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: -1rem;
    width: 2px;
    background: linear-gradient(180deg, var(--color-primary) 0%, rgba(0, 143, 227, 0.15) 100%);
}

.schedule-match-card:last-child .schedule-match-card__timeline::before {
    bottom: 50%;
}

.schedule-match-card__dot {
    position: relative;
    z-index: 1;
    width: 14px;
    height: 14px;
    margin-top: 1.35rem;
    background: #fff;
    border: 3px solid var(--color-primary);
    border-radius: 999px;
}

.schedule-match-card--today .schedule-match-card__dot {
    border-color: var(--color-accent);
    background: var(--color-accent);
}

.schedule-match-card__body {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    padding: 1.25rem 1.35rem;
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: box-shadow 0.2s, transform 0.2s;
}

.schedule-match-card:hover .schedule-match-card__body {
    box-shadow: var(--shadow-md);
    transform: translateY(-1px);
}

.schedule-match-card--today .schedule-match-card__body {
    border-color: rgba(255, 106, 0, 0.35);
    box-shadow: 0 4px 20px rgba(255, 106, 0, 0.12);
}

.schedule-match-card__top {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}

.schedule-match-card__datetime {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-muted);
}

.schedule-today-badge {
    display: inline-flex;
    padding: 0.15rem 0.55rem;
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #fff;
    background: var(--color-accent);
    border-radius: 999px;
}

.schedule-match-card__time {
    color: var(--color-navy);
}

.schedule-match-card__matchup {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 0.75rem;
    align-items: center;
}

.schedule-match-card__player {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.schedule-match-card__player:last-child {
    text-align: right;
    align-items: flex-end;
}

.schedule-match-card__player-name {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--color-navy);
    line-height: 1.3;
}

.schedule-match-card__player-score {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--color-primary);
}

.schedule-match-card__vs {
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: var(--color-accent);
}

.schedule-match-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1rem;
    font-size: 0.85rem;
    color: var(--color-muted);
}

.schedule-match-card__meta span:not(:last-child)::after {
    content: 'Â·';
    margin-left: 1rem;
    color: var(--color-border);
}

.schedule-match-card__actions {
    display: flex;
    justify-content: flex-end;
}

.schedule-match-card__btn {
    min-width: 8.5rem;
}

/* â”€â”€â”€ Match detail page â”€â”€â”€ */

.match-detail-hero {
    background: linear-gradient(135deg, rgba(0, 143, 227, 0.08) 0%, #fff 100%);
    border-bottom: 1px solid var(--color-border);
}

.match-detail-hero__inner {
    padding: 2rem 0 2.5rem;
}

.match-detail-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
    font-size: 0.875rem;
    color: var(--color-muted);
}

.match-detail-breadcrumb a {
    font-weight: 600;
}

.match-detail-scoreboard {
    padding: 2rem;
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    text-align: center;
}

.match-detail-scoreboard__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.match-detail-scoreboard__date {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--color-muted);
}

.match-detail-scoreboard__players {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 1rem;
    align-items: center;
}

.match-detail-player {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.match-detail-player:last-child {
    align-items: flex-end;
    text-align: right;
}

.match-detail-player__name {
    font-size: clamp(1.1rem, 3vw, 1.5rem);
    font-weight: 800;
    color: var(--color-navy);
}

.match-detail-player__score {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    line-height: 1;
    color: var(--color-primary);
}

.match-detail-player--winner .match-detail-player__name,
.match-detail-player--winner .match-detail-player__score {
    color: var(--color-accent);
}

.match-detail-scoreboard__vs {
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    color: var(--color-muted);
}

.match-detail-scoreboard__winner {
    margin: 1.25rem 0 0;
    font-size: 1rem;
    color: var(--color-muted);
}

.match-detail-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
}

.match-detail-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.match-detail-nav__link {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    padding: 1rem 1.15rem;
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    transition: border-color 0.15s, box-shadow 0.15s;
}

.match-detail-nav__link:hover {
    border-color: var(--color-primary);
    box-shadow: var(--shadow-md);
    color: inherit;
}

.match-detail-nav__link--next {
    text-align: right;
    align-items: flex-end;
}

.match-detail-nav__label {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: var(--color-primary);
}

.match-detail-nav__names {
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--color-navy);
}

.match-detail-nav__placeholder {
    display: block;
}

@media (min-width: 768px) {
    .schedule-hero__inner {
        padding: 3.5rem 0 4rem;
    }

    .schedule-filters-section {
        margin-top: -2.25rem;
    }

    .schedule-match-card__matchup {
        padding-inline: 0.5rem;
    }
}

@media (max-width: 767px) {
    .schedule-filters__grid {
        grid-template-columns: 1fr;
    }

    .schedule-filters__group--search {
        grid-column: auto;
    }

    .schedule-filters__search {
        flex-direction: column;
    }

    .schedule-filters__search .btn {
        width: 100%;
    }

    .schedule-match-card {
        grid-template-columns: 1fr;
    }

    .schedule-match-card__timeline {
        display: none;
    }

    .schedule-match-card__matchup {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .schedule-match-card__player,
    .schedule-match-card__player:last-child {
        align-items: center;
        text-align: center;
    }

    .schedule-match-card__actions {
        justify-content: stretch;
    }

    .schedule-match-card__btn {
        width: 100%;
    }

    .match-detail-scoreboard__players {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .match-detail-player:last-child {
        align-items: center;
        text-align: center;
    }

    .match-detail-nav {
        grid-template-columns: 1fr;
    }

    .match-detail-nav__link--next {
        text-align: left;
        align-items: flex-start;
    }
}

/* â”€â”€â”€ Results page â”€â”€â”€ */

.results-hero {
    background: linear-gradient(120deg, rgba(0, 143, 227, 0.1) 0%, #ffffff 55%, rgba(255, 106, 0, 0.06) 100%);
    border-bottom: 1px solid var(--color-border);
}

.results-hero__inner {
    padding: 3rem 0 3.5rem;
}

.results-hero__title {
    margin: 0 0 0.65rem;
    font-size: clamp(1.85rem, 4vw, 2.5rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--color-navy);
}

.results-hero__subtitle {
    margin: 0;
    max-width: 40rem;
    font-size: 1.05rem;
    color: var(--color-muted);
    line-height: 1.65;
}

.results-filters-section {
    position: relative;
    z-index: 5;
    margin-top: -1.75rem;
    margin-bottom: 0.5rem;
}

.results-filters {
    padding: 1.25rem 1.5rem;
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.results-filters__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
    align-items: end;
}

.results-filters__group label {
    display: block;
    margin-bottom: 0.4rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: var(--color-muted);
}

.results-filters__group select,
.results-filters__group input[type='date'],
.results-filters__group input[type='search'] {
    width: 100%;
    min-height: 44px;
    padding: 0.65rem 0.8rem;
    font-family: inherit;
    font-size: 0.95rem;
    color: var(--color-text);
    background: var(--color-bg-muted);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
}

.results-filters__group select:focus,
.results-filters__group input:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(0, 143, 227, 0.15);
    background: #fff;
}

.results-filters__group--search {
    grid-column: span 2;
}

.results-filters__search {
    display: flex;
    gap: 0.5rem;
}

.results-filters__search input {
    flex: 1;
    min-width: 0;
}

.results-filters__actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--color-border);
}

.results-filters__clear {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-accent);
}

.results-filters__count {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-muted);
}

.results-list-section {
    padding-top: 2rem;
    padding-bottom: 4rem;
    background: var(--color-bg-muted);
}

.results-group {
    margin-bottom: 2.5rem;
}

.results-group:last-of-type {
    margin-bottom: 0;
}

.results-group__title {
    margin: 0 0 1.25rem;
    padding-left: 0.85rem;
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--color-navy);
    border-left: 4px solid var(--color-primary);
}

.results-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.result-card {
    padding: 1.35rem 1.5rem;
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: box-shadow 0.2s, transform 0.2s;
}

.result-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-1px);
}

.result-card__header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.result-card__meta-top {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem 1rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-muted);
}

.result-card__meta-top span::before {
    content: 'Â·';
    margin-right: 1rem;
    color: var(--color-border);
}

.result-card__scoreboard {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 1rem;
    align-items: center;
    margin-bottom: 0.75rem;
}

.result-card__player {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.result-card__player:last-child {
    justify-content: flex-end;
    text-align: right;
}

.result-card__player-name {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--color-navy);
    line-height: 1.3;
}

.result-card__player--winner .result-card__player-name {
    font-weight: 800;
    color: var(--color-accent);
}

.result-card__winner-icon {
    display: inline-flex;
    flex-shrink: 0;
    width: 1.15rem;
    height: 1.15rem;
    color: var(--color-accent);
}

.result-card__winner-icon svg {
    width: 100%;
    height: 100%;
}

.result-card__final-score {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 800;
    letter-spacing: 0.04em;
    color: var(--color-primary);
    text-align: center;
    white-space: nowrap;
}

.result-card__sets {
    margin: 0 0 1rem;
    padding: 0.65rem 0.85rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-muted);
    text-align: center;
    background: var(--color-bg-muted);
    border-radius: var(--radius-sm);
}

.result-card__footer {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding-top: 0.85rem;
    border-top: 1px solid var(--color-border);
    font-size: 0.85rem;
    color: var(--color-muted);
}

.result-card__venue {
    font-weight: 600;
}

.result-card__btn {
    margin-left: auto;
    min-width: 8.5rem;
}

.results-pagination {
    margin-top: 2.5rem;
    display: flex;
    justify-content: center;
}

.pagination {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.pagination__item a,
.pagination__item span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.25rem;
    height: 2.25rem;
    padding: 0 0.65rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-navy);
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
}

.pagination__item a:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
    background: rgba(0, 143, 227, 0.06);
}

.pagination__item--active span {
    color: #fff;
    background: var(--color-primary);
    border-color: var(--color-primary);
}

.pagination__item--disabled span {
    color: var(--color-muted);
    background: var(--color-bg-muted);
}

@media (min-width: 768px) {
    .results-hero__inner {
        padding: 3.5rem 0 4rem;
    }

    .results-filters-section {
        margin-top: -2.25rem;
    }
}

@media (max-width: 767px) {
    .results-filters__grid {
        grid-template-columns: 1fr;
    }

    .results-filters__group--search {
        grid-column: auto;
    }

    .results-filters__search {
        flex-direction: column;
    }

    .results-filters__search .btn {
        width: 100%;
    }

    .result-card__scoreboard {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 0.65rem;
    }

    .result-card__player,
    .result-card__player:last-child {
        justify-content: center;
        text-align: center;
    }

    .result-card__footer {
        flex-direction: column;
        align-items: stretch;
    }

    .result-card__btn {
        width: 100%;
        margin-left: 0;
    }
}

/* â”€â”€â”€ Standings page â”€â”€â”€ */

.standings-hero {
    background: linear-gradient(120deg, rgba(0, 143, 227, 0.1) 0%, #ffffff 55%, rgba(255, 106, 0, 0.06) 100%);
    border-bottom: 1px solid var(--color-border);
}

.standings-hero__inner {
    padding: 3rem 0 3.5rem;
}

.standings-hero__title {
    margin: 0 0 0.65rem;
    font-size: clamp(1.85rem, 4vw, 2.5rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--color-navy);
}

.standings-hero__subtitle {
    margin: 0;
    max-width: 40rem;
    font-size: 1.05rem;
    color: var(--color-muted);
    line-height: 1.65;
}

.standings-filters-section {
    position: relative;
    z-index: 5;
    margin-top: -1.75rem;
    margin-bottom: 0.5rem;
}

.standings-filters {
    padding: 1.25rem 1.5rem;
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.standings-filters__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.standings-filters__group label {
    display: block;
    margin-bottom: 0.4rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: var(--color-muted);
}

.standings-filters__group select {
    width: 100%;
    min-height: 44px;
    padding: 0.65rem 0.8rem;
    font-family: inherit;
    font-size: 0.95rem;
    color: var(--color-text);
    background: var(--color-bg-muted);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
}

.standings-filters__group select:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(0, 143, 227, 0.15);
    background: #fff;
}

.standings-content-section {
    padding-top: 2rem;
    padding-bottom: 4rem;
    background: var(--color-bg-muted);
}

.standings-summary {
    display: grid;
    gap: 1.25rem;
    margin-bottom: 1.5rem;
    padding: 1.5rem;
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.standings-summary__title {
    margin: 0 0 0.25rem;
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--color-navy);
}

.standings-summary__subtitle {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-primary);
}

.standings-summary__stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.standings-summary__stat {
    padding: 1rem;
    background: var(--color-bg-muted);
    border-radius: var(--radius-sm);
    text-align: center;
}

.standings-summary__stat-label {
    display: block;
    margin-bottom: 0.35rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--color-muted);
}

.standings-summary__stat-value {
    display: block;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--color-navy);
}

.standings-table-wrap {
    overflow-x: auto;
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    -webkit-overflow-scrolling: touch;
}

.standings-table {
    width: 100%;
    min-width: 880px;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.standings-table th,
.standings-table td {
    padding: 0.85rem 1rem;
    text-align: center;
    border-bottom: 1px solid var(--color-border);
    white-space: nowrap;
}

.standings-table th {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--color-muted);
    background: var(--color-bg-muted);
}

.standings-table tbody tr:hover:not(.standings-mobile-card) {
    background: rgba(0, 143, 227, 0.03);
}

.standings-table__col-pos,
.standings-table__col-player {
    text-align: left;
}

.standings-table__col-player {
    min-width: 11rem;
}

.standings-table__col-win {
    min-width: 7rem;
}

.standings-table__player-link {
    font-weight: 700;
    color: var(--color-navy);
}

.standings-table__player-link:hover {
    color: var(--color-primary);
}

.standings-table__points {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--color-primary);
}

.diff-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.25rem;
    padding: 0.2rem 0.5rem;
    font-size: 0.8rem;
    font-weight: 700;
    border-radius: 999px;
}

.diff-badge--positive {
    color: #166534;
    background: #dcfce7;
}

.diff-badge--negative {
    color: #b91c1c;
    background: #fee2e2;
}

.diff-badge--zero {
    color: #64748b;
    background: #f1f5f9;
}

.standings-win {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    align-items: stretch;
}

.standings-win__label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--color-muted);
}

.standings-win__bar {
    display: block;
    height: 6px;
    background: var(--color-bg-muted);
    border-radius: 999px;
    overflow: hidden;
}

.standings-win__fill {
    display: block;
    height: 100%;
    background: linear-gradient(90deg, var(--color-primary), #36a8eb);
    border-radius: 999px;
}

tr.standings-mobile-card {
    display: none;
}

.standings-mobile-card__inner {
    margin: 0.5rem 0 0.75rem;
    padding: 1rem;
    background: var(--color-bg-muted);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
}

.standings-mobile-card__header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.85rem;
}

.standings-mobile-card__stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.65rem;
    margin: 0 0 0.85rem;
}

.standings-mobile-card__stats div {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.standings-mobile-card__stats dt {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--color-muted);
}

.standings-mobile-card__stats dd {
    margin: 0;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-navy);
}

.standings-win--mobile {
    margin-top: 0.25rem;
}

@media (min-width: 768px) {
    .standings-hero__inner {
        padding: 3.5rem 0 4rem;
    }

    .standings-filters-section {
        margin-top: -2.25rem;
    }

    .standings-summary {
        grid-template-columns: 1fr auto;
        align-items: center;
    }
}

@media (max-width: 767px) {
    .standings-filters__grid {
        grid-template-columns: 1fr;
    }

    .standings-summary__stats {
        grid-template-columns: 1fr;
    }

    .standings-table thead,
    .standings-table tbody tr:not(.standings-mobile-card) {
        display: none;
    }

    tr.standings-mobile-card {
        display: table-row;
    }

    tr.standings-mobile-card td {
        display: block;
        padding: 0 0.75rem;
        border-bottom: none;
    }

    .standings-table {
        min-width: 0;
    }
}

/* Players list */
.players-hero {
    background: linear-gradient(135deg, rgba(0, 143, 227, 0.08) 0%, rgba(255, 106, 0, 0.06) 100%);
    border-bottom: 1px solid var(--color-border);
}

.players-hero__inner {
    padding: 2.75rem 0 3.25rem;
    text-align: center;
}

.players-hero__title {
    margin: 0 0 0.5rem;
    font-size: clamp(1.85rem, 4vw, 2.5rem);
    font-weight: 800;
    color: var(--color-navy);
}

.players-hero__subtitle {
    margin: 0;
    max-width: 36rem;
    margin-inline: auto;
    color: var(--color-muted);
    font-size: 1.05rem;
}

.players-filters-section {
    position: relative;
    z-index: 2;
    margin-top: -1.75rem;
    padding-bottom: 0.5rem;
}

.players-filters {
    padding: 1.25rem;
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.players-filters__grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 1rem;
}

.players-filters__group label {
    display: block;
    margin-bottom: 0.35rem;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--color-muted);
}

.players-filters__group select,
.players-filters__group input {
    width: 100%;
    padding: 0.65rem 0.75rem;
    font: inherit;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    background: #fff;
}

.players-filters__group--search {
    grid-column: span 1;
}

.players-filters__search {
    display: flex;
    gap: 0.5rem;
}

.players-filters__search input {
    flex: 1;
}

.players-filters__actions {
    margin-top: 0.85rem;
    padding-top: 0.85rem;
    border-top: 1px solid var(--color-border);
}

.players-filters__clear {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-muted);
}

.players-filters__clear:hover {
    color: var(--color-primary);
}

.players-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}

.player-card {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1.25rem;
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: box-shadow 0.15s, transform 0.15s;
}

.player-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.player-card__top {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.player-card__name {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--color-navy);
}

.player-card__city {
    margin: 0.15rem 0 0;
    font-size: 0.85rem;
    color: var(--color-muted);
}

.player-card__stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
    margin: 0;
}

.player-card__stats div {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.player-card__stats dt {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--color-muted);
}

.player-card__stats dd {
    margin: 0;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-navy);
}

.player-card__stat--wide {
    grid-column: 1 / -1;
}

.player-card__points {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--color-primary);
}

.standings-win--compact {
    max-width: 100%;
}

.player-card__btn {
    margin-top: auto;
}

/* Player avatar */
.player-avatar {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-primary), #36a8eb);
    color: #fff;
    font-weight: 800;
}

.player-avatar--card {
    width: 3.5rem;
    height: 3.5rem;
    font-size: 1rem;
}

.player-avatar--md {
    width: 4rem;
    height: 4rem;
    font-size: 1.1rem;
}

.player-avatar--hero {
    width: clamp(7rem, 18vw, 10rem);
    height: clamp(7rem, 18vw, 10rem);
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    box-shadow: var(--shadow-lg);
    border: 4px solid #fff;
}

.player-avatar--dashboard {
    width: clamp(4.5rem, 12vw, 6rem);
    height: clamp(4.5rem, 12vw, 6rem);
    font-size: clamp(1.25rem, 3vw, 1.75rem);
    box-shadow: var(--shadow-md);
    border: 3px solid #fff;
}

.player-avatar__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.player-avatar__initials {
    line-height: 1;
}

/* Player profile */
.player-profile-hero {
    background: linear-gradient(180deg, rgba(0, 143, 227, 0.1) 0%, #fff 100%);
    border-bottom: 1px solid var(--color-border);
}

.player-profile-hero__inner {
    display: grid;
    gap: 1.5rem;
    align-items: center;
    padding: 2.5rem 0 3rem;
}

.player-profile-hero__avatar-wrap {
    display: flex;
    justify-content: center;
}

.player-profile-hero__eyebrow {
    margin: 0 0 0.35rem;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-accent);
}

.player-profile-hero__name {
    margin: 0;
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    color: var(--color-navy);
    line-height: 1.1;
}

.player-profile-hero__nickname {
    margin: 0.35rem 0 0;
    font-size: 1.05rem;
    color: var(--color-muted);
    font-style: italic;
}

.player-profile-hero__city {
    margin: 0.5rem 0 0;
    font-size: 1.05rem;
    color: var(--color-muted);
}

.player-profile-hero__highlights {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem;
    margin-top: 1.5rem;
}

.player-profile-hero__highlight {
    padding: 0.85rem 1rem;
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
}

.player-profile-hero__highlight-label {
    display: block;
    margin-bottom: 0.25rem;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--color-muted);
}

.player-profile-hero__highlight-value {
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-navy);
}

.player-profile-hero__highlight-value--points {
    font-size: 1.35rem;
    color: var(--color-primary);
}

.player-stat-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.player-stat-card {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    padding: 1.25rem;
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.player-stat-card__label {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--color-muted);
}

.player-stat-card__value {
    font-size: clamp(1.35rem, 3vw, 1.85rem);
    font-weight: 800;
    color: var(--color-navy);
    line-height: 1.1;
}

.player-content-grid {
    display: grid;
    gap: 1.5rem;
}

.player-panel {
    padding: 1.25rem;
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.player-panel + .player-panel {
    margin-top: 1.25rem;
}

.player-panel__header {
    margin-bottom: 1rem;
}

.player-panel__title {
    margin: 0;
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--color-navy);
}

.player-panel__subtitle {
    margin: 0.25rem 0 0;
    font-size: 0.9rem;
    color: var(--color-muted);
}

.player-panel__link {
    display: inline-block;
    margin-top: 0.85rem;
    font-size: 0.9rem;
    font-weight: 600;
}

.player-placeholder {
    padding: 2rem 1rem;
    text-align: center;
    background: var(--color-bg-muted);
    border: 1px dashed var(--color-border);
    border-radius: var(--radius);
}

.player-placeholder--chart {
    min-height: 10rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
}

.player-placeholder__title {
    margin: 0;
    font-weight: 700;
    color: var(--color-navy);
}

.player-placeholder__text {
    margin: 0;
    color: var(--color-muted);
}

.player-match-list,
.player-upcoming-list {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.player-match-row,
.player-upcoming-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.85rem;
    padding: 1rem;
    background: var(--color-bg-muted);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    border-left: 4px solid var(--color-border);
}

.player-match-row--win {
    border-left-color: #16a34a;
    background: rgba(22, 163, 74, 0.05);
}

.player-match-row--loss {
    border-left-color: #dc2626;
    background: rgba(220, 38, 38, 0.04);
}

.player-match-row__main {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem 1rem;
    flex: 1;
    min-width: min(100%, 20rem);
}

.player-match-row__label,
.player-upcoming-row__label {
    display: block;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--color-muted);
    margin-bottom: 0.15rem;
}

.player-match-row__opponent-name {
    font-weight: 700;
    color: var(--color-navy);
}

.player-match-row__badge {
    display: inline-flex;
    padding: 0.15rem 0.55rem;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 999px;
}

.player-match-row__badge--win {
    color: #166534;
    background: #dcfce7;
}

.player-match-row__badge--loss {
    color: #b91c1c;
    background: #fee2e2;
}

.player-match-row__sets {
    display: block;
    margin-top: 0.15rem;
    font-size: 0.8rem;
    color: var(--color-muted);
}

.player-upcoming-row {
    border-left-color: var(--color-primary);
}

.player-upcoming-row__date {
    font-weight: 700;
    color: var(--color-navy);
}

.player-standings-mini-wrap {
    overflow-x: auto;
}

.player-standings-mini {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.player-standings-mini th,
.player-standings-mini td {
    padding: 0.65rem 0.5rem;
    text-align: center;
    border-bottom: 1px solid var(--color-border);
}

.player-standings-mini th {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--color-muted);
    background: var(--color-bg-muted);
}

.player-standings-mini__points {
    font-weight: 800;
    color: var(--color-primary);
}

.player-achievements-grid {
    display: grid;
    gap: 0.75rem;
}

.player-achievement-card {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    padding: 0.85rem 1rem;
    background: var(--color-bg-muted);
    border: 1px dashed var(--color-border);
    border-radius: var(--radius);
}

.player-achievement-card__title {
    font-weight: 700;
    color: var(--color-navy);
}

.player-achievement-card__status {
    font-size: 0.85rem;
    color: var(--color-muted);
}

@media (min-width: 640px) {
    .players-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .player-stat-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .player-match-row__main {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (min-width: 768px) {
    .players-hero__inner {
        padding: 3.5rem 0 4rem;
    }

    .players-filters-section {
        margin-top: -2.25rem;
    }

    .players-filters__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .players-filters__group--search {
        grid-column: span 3;
    }

    .player-profile-hero__inner {
        grid-template-columns: auto 1fr;
        gap: 2rem;
        padding: 3rem 0 3.5rem;
    }

    .player-profile-hero__avatar-wrap {
        justify-content: flex-start;
    }

    .player-profile-hero__highlights {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .player-content-grid {
        grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.8fr);
        align-items: start;
    }

    .player-content-sidebar .player-panel + .player-panel {
        margin-top: 1.25rem;
    }
}

@media (min-width: 1024px) {
    .players-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .players-filters__grid {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }

    .players-filters__group--search {
        grid-column: span 1;
    }

    .player-stat-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .player-match-row__main {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .players-filters__grid {
        grid-template-columns: 1fr;
    }

    .players-filters__group--search {
        grid-column: auto;
    }

    .players-filters__search {
        flex-direction: column;
    }

    .player-profile-hero__highlights {
        grid-template-columns: 1fr;
    }

    .player-stat-grid {
        grid-template-columns: 1fr;
    }
}

/* Player rating */
.player-rating-change {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.5rem;
    padding: 0.15rem 0.55rem;
    font-size: 0.9rem;
    font-weight: 700;
    border-radius: 999px;
}

.player-rating-change--positive {
    color: #166534;
    background: #dcfce7;
}

.player-rating-change--negative {
    color: #b91c1c;
    background: #fee2e2;
}

.player-rating-change--zero {
    color: #64748b;
    background: #f1f5f9;
}

.player-rating-summary {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.player-rating-summary__card {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    padding: 1.15rem 1.25rem;
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.player-rating-summary__label {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--color-muted);
}

.player-rating-summary__value {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--color-navy);
}

.player-rating-progress + .player-rating-history {
    margin-top: 1.25rem;
}

.player-rating-progress__list {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.player-rating-progress__item {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.player-rating-progress__meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    font-size: 0.85rem;
    color: var(--color-muted);
}

.player-rating-progress__meta span:last-child {
    font-weight: 700;
    color: var(--color-navy);
}

.player-rating-progress__bar {
    height: 8px;
    background: var(--color-bg-muted);
    border-radius: 999px;
    overflow: hidden;
}

.player-rating-progress__fill {
    display: block;
    height: 100%;
    background: linear-gradient(90deg, var(--color-primary), #36a8eb);
    border-radius: 999px;
}

.player-rating-history__wrap {
    overflow-x: auto;
}

.player-rating-history__table {
    width: 100%;
    min-width: 640px;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.player-rating-history__table th,
.player-rating-history__table td {
    padding: 0.75rem 0.85rem;
    text-align: left;
    border-bottom: 1px solid var(--color-border);
}

.player-rating-history__table th {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--color-muted);
    background: var(--color-bg-muted);
}

@media (max-width: 767px) {
    .player-rating-summary {
        grid-template-columns: 1fr;
    }
}

/* Statistics center */
.statistics-hero {
    background: linear-gradient(135deg, rgba(0, 143, 227, 0.1) 0%, rgba(255, 106, 0, 0.06) 100%);
    border-bottom: 1px solid var(--color-border);
}

.statistics-hero__inner {
    padding: 2.75rem 0 3.25rem;
    text-align: center;
}

.statistics-hero__title {
    margin: 0 0 0.5rem;
    font-size: clamp(1.85rem, 4vw, 2.5rem);
    font-weight: 800;
    color: var(--color-navy);
}

.statistics-hero__subtitle {
    margin: 0 auto;
    max-width: 38rem;
    color: var(--color-muted);
    font-size: 1.05rem;
}

.statistics-filters-section {
    position: relative;
    z-index: 2;
    margin-top: -1.75rem;
    padding-bottom: 0.5rem;
}

.statistics-filters {
    padding: 1.25rem;
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.statistics-filters__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.statistics-filters__group label {
    display: block;
    margin-bottom: 0.35rem;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--color-muted);
}

.statistics-filters__group select {
    width: 100%;
    padding: 0.65rem 0.75rem;
    font: inherit;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    background: #fff;
}

.statistics-scope {
    margin-bottom: 1.5rem;
}

.statistics-scope__title {
    margin: 0;
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--color-navy);
}

.statistics-scope__subtitle {
    margin: 0.25rem 0 0;
    color: var(--color-muted);
}

.statistics-section {
    margin-bottom: 2rem;
}

.statistics-section__header {
    margin-bottom: 1rem;
}

.statistics-section__title {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--color-navy);
}

.statistics-section__subtitle {
    margin: 0.25rem 0 0;
    color: var(--color-muted);
    font-size: 0.95rem;
}

.statistics-overview-grid,
.statistics-match-grid,
.statistics-links-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.statistics-stat-card,
.statistics-match-card,
.statistics-link-card {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    padding: 1.15rem 1.25rem;
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.statistics-stat-card__label,
.statistics-match-card__label {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--color-muted);
}

.statistics-stat-card__value,
.statistics-match-card__value {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--color-navy);
}

.statistics-match-card--played { border-left: 4px solid #16a34a; }
.statistics-match-card--scheduled { border-left: 4px solid #d97706; }
.statistics-match-card--walkover { border-left: 4px solid #64748b; }
.statistics-match-card--cancelled { border-left: 4px solid #dc2626; }

.statistics-current-one {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem 1rem;
    margin-bottom: 1rem;
    padding: 1rem 1.25rem;
    background: linear-gradient(90deg, rgba(0, 143, 227, 0.08), rgba(255, 106, 0, 0.08));
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
}

.statistics-current-one__label {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--color-accent);
}

.statistics-current-one__name {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--color-navy);
}

.statistics-current-one__meta {
    color: var(--color-muted);
    font-size: 0.9rem;
}

.statistics-leaderboards-grid,
.statistics-distribution-grid,
.statistics-activity-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.stats-leaderboard-card,
.statistics-distribution-card,
.statistics-activity-card {
    padding: 1.15rem;
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.stats-leaderboard-card__title,
.statistics-distribution-card__title,
.statistics-activity-card__title {
    margin: 0 0 0.85rem;
    font-size: 1rem;
    font-weight: 800;
    color: var(--color-navy);
}

.stats-leaderboard-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.stats-leaderboard-list__item {
    display: grid;
    grid-template-columns: 2rem 1fr auto;
    gap: 0.65rem;
    align-items: center;
    padding: 0.55rem 0;
    border-bottom: 1px solid var(--color-border);
}

.stats-leaderboard-list__item:last-child {
    border-bottom: none;
}

.stats-leaderboard-list__rank {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.75rem;
    height: 1.75rem;
    font-size: 0.8rem;
    font-weight: 800;
    color: var(--color-primary);
    background: rgba(0, 143, 227, 0.08);
    border-radius: 999px;
}

.stats-leaderboard-list__name {
    font-weight: 700;
    color: var(--color-navy);
}

.stats-leaderboard-list__value {
    font-weight: 700;
    color: var(--color-primary);
}

.statistics-distribution-list {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.statistics-distribution-item__meta {
    display: flex;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.35rem;
    font-size: 0.9rem;
}

.statistics-distribution-item__bar {
    height: 8px;
    background: var(--color-bg-muted);
    border-radius: 999px;
    overflow: hidden;
}

.statistics-distribution-item__bar span {
    display: block;
    height: 100%;
    background: linear-gradient(90deg, var(--color-primary), #36a8eb);
    border-radius: 999px;
}

.statistics-form-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.statistics-form-row {
    display: grid;
    grid-template-columns: 2rem 1fr auto auto auto;
    gap: 0.75rem;
    align-items: center;
    padding: 0.85rem 1rem;
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
}

.statistics-form-row__rank {
    font-weight: 800;
    color: var(--color-primary);
}

.statistics-form-row__name {
    font-weight: 700;
    color: var(--color-navy);
}

.statistics-form-row__results {
    display: flex;
    gap: 0.25rem;
}

.statistics-form-dot {
    width: 0.65rem;
    height: 0.65rem;
    border-radius: 999px;
    background: #cbd5e1;
}

.statistics-form-dot--win { background: #16a34a; }
.statistics-form-dot--loss { background: #dc2626; }

.statistics-form-row__record,
.statistics-form-row__pct {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--color-muted);
    white-space: nowrap;
}

.statistics-link-card {
    align-items: center;
    justify-content: center;
    min-height: 4.5rem;
    font-weight: 800;
    color: var(--color-navy);
    text-align: center;
    transition: transform 0.15s, box-shadow 0.15s, color 0.15s;
}

.statistics-link-card:hover {
    color: var(--color-primary);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

@media (min-width: 1024px) {
    .statistics-leaderboards-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .statistics-filters__grid,
    .statistics-overview-grid,
    .statistics-match-grid,
    .statistics-links-grid,
    .statistics-leaderboards-grid,
    .statistics-distribution-grid,
    .statistics-activity-grid {
        grid-template-columns: 1fr;
    }

    .statistics-form-row {
        grid-template-columns: 2rem 1fr;
        grid-template-areas:
            "rank name"
            "results results"
            "record pct";
    }

    .statistics-form-row__results {
        grid-area: results;
    }

    .statistics-form-row__record {
        grid-area: record;
    }

    .statistics-form-row__pct {
        grid-area: pct;
        justify-self: end;
    }
}

/* Head-to-head comparison */
.h2h-hero {
    background: linear-gradient(135deg, rgba(0, 143, 227, 0.1) 0%, rgba(255, 106, 0, 0.06) 100%);
    border-bottom: 1px solid var(--color-border);
}

.h2h-hero__inner {
    padding: 2.75rem 0 3.25rem;
    text-align: center;
}

.h2h-hero__title {
    margin: 0 0 0.5rem;
    font-size: clamp(1.85rem, 4vw, 2.5rem);
    font-weight: 800;
    color: var(--color-navy);
}

.h2h-hero__subtitle {
    margin: 0 auto;
    max-width: 38rem;
    color: var(--color-muted);
    font-size: 1.05rem;
}

.h2h-filters-section {
    position: relative;
    z-index: 2;
    margin-top: -1.75rem;
    padding-bottom: 0.5rem;
}

.h2h-filters {
    padding: 1.25rem;
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.h2h-filters__grid {
    display: grid;
    gap: 1rem;
}

.h2h-filters__grid--players {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.h2h-filters__grid--scope {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.h2h-filters__group label {
    display: block;
    margin-bottom: 0.35rem;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--color-muted);
}

.h2h-filters__optional {
    font-weight: 500;
    text-transform: none;
    letter-spacing: 0;
}

.h2h-filters__group select {
    width: 100%;
    padding: 0.65rem 0.75rem;
    font: inherit;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    background: #fff;
}

.h2h-summary {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 1rem;
    align-items: stretch;
    margin-bottom: 2rem;
}

.h2h-summary__vs {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 4rem;
    font-size: 1.35rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    color: var(--color-accent);
}

.h2h-player-card {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1.35rem;
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.h2h-player-card--right {
    text-align: right;
    align-items: flex-end;
}

.h2h-player-card--right .h2h-player-card__stats {
    text-align: right;
}

.h2h-player-card__name {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 800;
}

.h2h-player-card__name a {
    color: var(--color-navy);
    text-decoration: none;
}

.h2h-player-card__name a:hover {
    color: var(--color-primary);
}

.h2h-player-card__city {
    margin: 0.25rem 0 0;
    color: var(--color-muted);
}

.h2h-player-card__stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
    margin: 0;
    width: 100%;
}

.h2h-player-card__stats div {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.h2h-player-card--right .h2h-player-card__stats div {
    align-items: flex-end;
}

.h2h-player-card__stats dt {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--color-muted);
}

.h2h-player-card__stats dd {
    margin: 0;
    font-weight: 800;
    color: var(--color-navy);
}

.h2h-section {
    margin-bottom: 2rem;
}

.h2h-section__header {
    margin-bottom: 1rem;
}

.h2h-section__title {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--color-navy);
}

.h2h-section__subtitle {
    margin: 0.25rem 0 0;
    color: var(--color-muted);
    font-size: 0.95rem;
}

.h2h-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.h2h-stat-card {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    padding: 1.1rem 1.2rem;
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.h2h-stat-card--accent {
    border-left: 4px solid var(--color-accent);
}

.h2h-stat-card__label {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--color-muted);
}

.h2h-stat-card__value {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--color-navy);
}

.h2h-stat-card__meta {
    font-size: 0.9rem;
    color: var(--color-muted);
}

.h2h-walkovers-note {
    margin-top: 1rem;
    padding: 0.85rem 1rem;
    font-size: 0.92rem;
    color: var(--color-muted);
    background: var(--color-bg-muted);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
}

.h2h-meetings-table {
    min-width: 920px;
}

.h2h-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.h2h-form-panel {
    padding: 1.15rem;
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.h2h-form-panel__title {
    margin: 0 0 0.85rem;
    font-size: 1rem;
    font-weight: 800;
    color: var(--color-navy);
}

.h2h-form-list {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.h2h-form-row {
    display: grid;
    grid-template-columns: 2.25rem 1fr auto;
    gap: 0.75rem;
    align-items: center;
    padding: 0.75rem 0.85rem;
    background: var(--color-bg-muted);
    border-radius: var(--radius);
}

.h2h-form-row__indicator {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    font-size: 0.8rem;
    font-weight: 800;
    border-radius: 999px;
}

.h2h-form-row__indicator--win {
    color: #166534;
    background: #dcfce7;
}

.h2h-form-row__indicator--loss {
    color: #991b1b;
    background: #fee2e2;
}

.h2h-form-row__main {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem 0.75rem;
    align-items: center;
}

.h2h-form-row__opponent a {
    font-weight: 700;
    color: var(--color-navy);
}

.h2h-form-row__score {
    font-weight: 800;
    color: var(--color-primary);
}

.h2h-form-row__date {
    font-size: 0.85rem;
    color: var(--color-muted);
    white-space: nowrap;
}

.h2h-comparison-bars {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.h2h-comparison-bar {
    padding: 1.15rem 1.25rem;
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.h2h-comparison-bar__label {
    display: block;
    margin-bottom: 0.75rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--color-muted);
}

.h2h-comparison-bar__values {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.65rem;
}

.h2h-comparison-bar__side {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.h2h-comparison-bar__side--two {
    align-items: flex-end;
    text-align: right;
}

.h2h-comparison-bar__name {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-muted);
}

.h2h-comparison-bar__value {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--color-navy);
}

.h2h-comparison-bar__track {
    display: flex;
    height: 10px;
    overflow: hidden;
    background: var(--color-bg-muted);
    border-radius: 999px;
}

.h2h-comparison-bar__fill--one {
    background: linear-gradient(90deg, var(--color-primary), #36a8eb);
}

.h2h-comparison-bar__fill--two {
    background: linear-gradient(90deg, #ff8a3d, var(--color-accent));
}

@media (max-width: 991px) {
    .h2h-summary {
        grid-template-columns: 1fr;
    }

    .h2h-summary__vs {
        min-height: 2.5rem;
    }

    .h2h-player-card--right {
        text-align: left;
        align-items: flex-start;
    }

    .h2h-player-card--right .h2h-player-card__stats {
        text-align: left;
    }

    .h2h-player-card--right .h2h-player-card__stats div {
        align-items: flex-start;
    }

    .h2h-stats-grid,
    .h2h-form-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767px) {
    .h2h-filters__grid--players,
    .h2h-filters__grid--scope {
        grid-template-columns: 1fr;
    }

    .h2h-form-row {
        grid-template-columns: 2.25rem 1fr;
        grid-template-areas:
            "indicator main"
            "date date";
    }

    .h2h-form-row__date {
        grid-area: date;
    }
}

.player-profile-hero__actions,
.match-detail-scoreboard__actions {
    margin-top: 1.25rem;
}

.match-detail-scoreboard__actions {
    text-align: center;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.venue-card__title a {
    color: inherit;
    text-decoration: none;
}

.venue-card__title a:hover {
    color: var(--color-primary);
}

.venue-card__btn {
    margin-top: 1rem;
}

.venue-detail-hero {
    background: linear-gradient(135deg, rgba(0, 143, 227, 0.1) 0%, rgba(255, 106, 0, 0.06) 100%);
    border-bottom: 1px solid var(--color-border);
}

.venue-detail-hero__inner {
    padding: 2.5rem 0;
}

.venue-detail-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: var(--color-muted);
}

.venue-detail-breadcrumb a {
    color: var(--color-primary);
    text-decoration: none;
}

.venue-detail-hero__header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem 1rem;
}

.venue-detail-hero__title {
    margin: 0;
    font-size: clamp(1.85rem, 4vw, 2.5rem);
    font-weight: 800;
    color: var(--color-navy);
}

.venue-detail-hero__city {
    margin: 0.5rem 0 0;
    color: var(--color-muted);
    font-size: 1.05rem;
}

.venue-detail-info-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.venue-detail-actions {
    padding-top: 0;
}

@media (max-width: 991px) {
    .venue-detail-info-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .venue-detail-info-grid {
        grid-template-columns: 1fr;
    }
}

/* Hall of Fame */
.hof-hero {
    background: linear-gradient(135deg, rgba(0, 143, 227, 0.12) 0%, rgba(255, 106, 0, 0.08) 55%, rgba(255, 255, 255, 1) 100%);
    border-bottom: 1px solid var(--color-border);
}

.hof-hero__inner {
    padding: 3rem 0 3.5rem;
    text-align: center;
}

.hof-hero__trophy {
    font-size: 3rem;
    line-height: 1;
    margin-bottom: 0.75rem;
    filter: drop-shadow(0 8px 16px rgba(255, 106, 0, 0.25));
}

.hof-hero__title {
    margin: 0 0 0.5rem;
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 900;
    color: var(--color-navy);
}

.hof-hero__subtitle {
    margin: 0 auto;
    max-width: 40rem;
    color: var(--color-muted);
    font-size: 1.05rem;
}

.hof-filters-section {
    position: relative;
    z-index: 2;
    margin-top: -1.75rem;
    padding-bottom: 0.5rem;
}

.hof-filters {
    padding: 1.25rem;
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.hof-filters__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.hof-filters__group label {
    display: block;
    margin-bottom: 0.35rem;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--color-muted);
}

.hof-filters__group select {
    width: 100%;
    padding: 0.65rem 0.75rem;
    font: inherit;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    background: #fff;
}

.hof-section {
    margin-bottom: 2.5rem;
}

.hof-section__header {
    margin-bottom: 1.25rem;
}

.hof-section__title {
    margin: 0;
    font-size: 1.35rem;
    font-weight: 900;
    color: var(--color-navy);
}

.hof-section__subtitle {
    margin: 0.35rem 0 0;
    color: var(--color-muted);
}

.hof-champions-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.hof-podium {
    padding: 1.35rem;
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.hof-podium--featured {
    padding: 2rem 1.5rem 2.25rem;
    background: linear-gradient(180deg, rgba(255, 106, 0, 0.08) 0%, #fff 28%);
    border: 1px solid rgba(255, 106, 0, 0.18);
    box-shadow: var(--shadow-md);
}

.hof-podium__header {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 0.5rem 1rem;
    margin-bottom: 1.25rem;
}

.hof-podium__scope {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--color-primary);
}

.hof-podium__score {
    font-size: 0.85rem;
    font-weight: 800;
    color: var(--color-accent);
}

.hof-podium__stage {
    display: grid;
    grid-template-columns: 1fr 1.2fr 1fr;
    gap: 1rem;
    align-items: end;
}

.hof-podium--featured .hof-podium__stage {
    min-height: 18rem;
}

.hof-podium__slot {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.45rem;
    text-align: center;
}

.hof-podium__stage--solo {
    grid-template-columns: 1fr;
    justify-items: center;
}

.hof-podium__slot--second {
    align-self: end;
    padding-bottom: 1.5rem;
}

.hof-podium__slot--first {
    align-self: start;
}

.hof-podium__slot--spacer {
    visibility: hidden;
}

.hof-podium__place {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    font-size: 0.9rem;
    font-weight: 900;
    color: var(--color-muted);
    background: var(--color-bg-muted);
    border-radius: 999px;
}

.hof-podium__place--gold {
    width: 2.5rem;
    height: 2.5rem;
    color: #fff;
    background: linear-gradient(135deg, #ff8a3d, var(--color-accent));
    box-shadow: 0 8px 20px rgba(255, 106, 0, 0.28);
}

.hof-podium__avatar--champion {
    transform: scale(1.05);
}

.hof-podium__label {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--color-muted);
}

.hof-podium__label--gold {
    color: var(--color-accent);
}

.hof-podium__name {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--color-navy);
    text-decoration: none;
}

.hof-podium__name--champion {
    font-size: clamp(1.15rem, 2vw, 1.45rem);
}

.hof-podium__name:hover {
    color: var(--color-primary);
}

.hof-podium__meta {
    font-size: 0.85rem;
    color: var(--color-muted);
}

.hof-records-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 1rem;
}

.hof-record-card,
.hof-leader-card {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    min-height: 8.5rem;
    padding: 1.15rem;
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.hof-record-card__title,
.hof-leader-card__title {
    margin: 0 0 0.35rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--color-muted);
}

.hof-record-card__name,
.hof-leader-card__name {
    font-size: 1rem;
    font-weight: 800;
    color: var(--color-navy);
    text-decoration: none;
}

.hof-record-card__name:hover,
.hof-leader-card__name:hover {
    color: var(--color-primary);
}

.hof-record-card__value,
.hof-leader-card__value {
    font-size: 1.35rem;
    font-weight: 900;
    color: var(--color-primary);
}

.hof-record-card__meta,
.hof-leader-card__meta {
    font-size: 0.82rem;
    color: var(--color-muted);
    line-height: 1.4;
}

.hof-leaders-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}

.hof-leader-card {
    border-top: 4px solid var(--color-primary);
}

@media (max-width: 1199px) {
    .hof-records-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 991px) {
    .hof-champions-grid,
    .hof-leaders-grid {
        grid-template-columns: 1fr;
    }

    .hof-records-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hof-podium__stage {
        grid-template-columns: 1fr;
    }

    .hof-podium__slot--second,
    .hof-podium__slot--spacer {
        display: none;
    }
}

@media (max-width: 767px) {
    .hof-filters__grid,
    .hof-records-grid {
        grid-template-columns: 1fr;
    }
}

/* Floating Ace Arena Shop widget */
.shop-widget {
    position: fixed;
    right: 20px;
    bottom: 24px;
    z-index: 150;
    max-width: calc(100vw - 24px);
    transition: opacity var(--transition-fast), transform var(--transition-fast);
}

body.mobile-menu-open .shop-widget {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.shop-widget__card {
    position: relative;
    width: min(280px, calc(100vw - 40px));
    padding: 1.35rem 1.25rem 1.25rem;
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: 18px;
    box-shadow: 0 12px 36px rgba(11, 31, 51, 0.14);
    transition: opacity 220ms ease, transform 220ms ease;
}

.shop-widget--minimized .shop-widget__card {
    opacity: 0;
    transform: translateY(8px);
    pointer-events: none;
}

.shop-widget__minimize {
    position: absolute;
    top: 0.65rem;
    right: 0.65rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    padding: 0;
    color: var(--color-muted);
    background: transparent;
    border: 1px solid transparent;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: color var(--transition-fast), background var(--transition-fast), border-color var(--transition-fast);
}

.shop-widget__minimize svg {
    width: 1rem;
    height: 1rem;
}

.shop-widget__minimize:hover {
    color: var(--color-navy);
    background: var(--color-bg-muted);
}

.shop-widget__minimize:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

.shop-widget__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    margin-bottom: 0.75rem;
    color: var(--color-primary);
    background: rgba(0, 143, 227, 0.1);
    border-radius: 12px;
}

.shop-widget__icon svg {
    width: 1.35rem;
    height: 1.35rem;
}

.shop-widget__label {
    margin: 0 0 0.35rem;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--color-accent);
}

.shop-widget__title {
    margin: 0 0 0.5rem;
    padding-right: 1.5rem;
    font-size: 1.05rem;
    font-weight: 800;
    line-height: 1.25;
    color: var(--color-navy);
}

.shop-widget__text {
    margin: 0 0 1rem;
    font-size: 0.875rem;
    line-height: 1.55;
    color: var(--color-muted);
}

.shop-widget__cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
    font-weight: 700;
    color: #fff;
    background: var(--color-accent);
    border-radius: var(--radius-sm);
    box-shadow: 0 4px 14px rgba(255, 106, 0, 0.28);
    transition: transform var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast);
}

.shop-widget__cta:hover {
    color: #fff;
    background: var(--color-accent-dark);
    transform: translateY(-1px);
    box-shadow: 0 8px 18px rgba(255, 106, 0, 0.34);
}

.shop-widget__cta:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

.shop-widget__cta-arrow {
    transition: transform var(--transition-fast);
}

.shop-widget__cta:hover .shop-widget__cta-arrow {
    transform: translateX(3px);
}

.shop-widget__pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.7rem 1rem;
    font-size: 0.875rem;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(135deg, var(--color-primary) 0%, #0070b8 100%);
    border: none;
    border-radius: 999px;
    box-shadow: 0 8px 24px rgba(0, 143, 227, 0.32);
    cursor: pointer;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.shop-widget__pill[hidden] {
    display: none;
}

.shop-widget__card[hidden] {
    display: none;
}

.shop-widget--minimized .shop-widget__pill {
    display: inline-flex;
}

.shop-widget__pill svg {
    width: 1.1rem;
    height: 1.1rem;
    flex-shrink: 0;
}

.shop-widget__pill-arrow {
    font-size: 0.95rem;
    line-height: 1;
    transition: transform var(--transition-fast);
}

.shop-widget__pill:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(0, 143, 227, 0.38);
}

.shop-widget__pill:focus-visible {
    outline: 2px solid var(--color-accent);
    outline-offset: 2px;
}

.shop-widget__pill:hover .shop-widget__pill-arrow {
    transform: translateX(3px);
}

@media (max-width: 767px) {
    .shop-widget {
        right: 12px;
        bottom: 12px;
        left: auto;
        width: auto;
    }

    .shop-widget:not(.shop-widget--minimized) {
        left: 12px;
        right: 12px;
        width: calc(100% - 24px);
        max-width: none;
    }

    .shop-widget:not(.shop-widget--minimized) .shop-widget__card {
        width: 100%;
        max-width: none;
    }

    .shop-widget--minimized {
        left: auto;
        right: 12px;
        width: auto;
        max-width: 140px;
    }

    .shop-widget--minimized .shop-widget__pill {
        width: auto;
        max-width: 140px;
    }
}

/* Player dashboard (My Ace Arena) */
.page-dashboard .site-main {
    background: linear-gradient(180deg, rgba(0, 143, 227, 0.06) 0%, var(--color-bg-muted) 12rem, var(--color-bg-muted) 100%);
}

.player-dashboard {
    padding-bottom: 5rem;
}

.player-dashboard__container {
    padding-top: 1.5rem;
    padding-bottom: 2rem;
}

.player-dashboard-hero {
    margin-bottom: 1.5rem;
    padding: clamp(1.5rem, 4vw, 2.5rem);
    background: linear-gradient(135deg, #0070b8 0%, var(--color-primary) 45%, #36a8eb 100%);
    border-radius: var(--radius-lg);
    box-shadow: 0 16px 40px rgba(0, 112, 184, 0.22);
    color: #fff;
    animation: player-dashboard-fade-in 0.5s ease;
}

@keyframes player-dashboard-fade-in {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.player-dashboard-hero__main {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.player-dashboard-hero__identity {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.player-dashboard-hero__eyebrow {
    margin: 0 0 0.35rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.78);
}

.player-dashboard-hero__greeting {
    margin: 0;
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    font-weight: 900;
    line-height: 1.1;
}

.player-dashboard-hero__subtitle {
    margin: 0.5rem 0 0;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.88);
    max-width: 36rem;
}

.player-dashboard-hero__meta {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
}

.player-dashboard-hero__meta-item {
    padding: 0.85rem 1rem;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: var(--radius);
    backdrop-filter: blur(4px);
}

.player-dashboard-hero__meta-label {
    display: block;
    margin-bottom: 0.2rem;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.72);
}

.player-dashboard-hero__meta-value {
    font-size: 1rem;
    font-weight: 800;
}

.player-dashboard-hero__meta-value--accent {
    color: #ffe0c2;
}

.player-dashboard__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}

.player-dashboard-panel {
    padding: 1.25rem;
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.player-dashboard-panel:hover {
    box-shadow: var(--shadow-md);
}

.player-dashboard-panel__header {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 0.5rem 1rem;
    margin-bottom: 1rem;
}

.player-dashboard-panel__title {
    margin: 0;
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--color-navy);
}

.player-dashboard-panel__subtitle {
    margin: 0;
    font-size: 0.85rem;
    color: var(--color-muted);
}

.player-dashboard-panel__link {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-primary);
    text-decoration: none;
}

.player-dashboard-panel__link:hover {
    text-decoration: underline;
}

.player-dashboard-stat-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
}

.player-dashboard-stat {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    padding: 0.85rem 1rem;
    background: var(--color-bg-muted);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
}

.player-dashboard-stat__label {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--color-muted);
}

.player-dashboard-stat__value {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--color-navy);
}

.player-dashboard-panel--featured {
    background: linear-gradient(180deg, rgba(0, 143, 227, 0.06) 0%, #fff 40%);
    border-color: rgba(0, 143, 227, 0.2);
}

.player-dashboard-next-match__label {
    margin: 0 0 0.35rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-accent);
}

.player-dashboard-next-match__opponent {
    margin: 0 0 1rem;
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 900;
    color: var(--color-navy);
}

.player-dashboard-next-match__details {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
    margin: 0 0 1rem;
}

.player-dashboard-next-match__details dt {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--color-muted);
}

.player-dashboard-next-match__details dd {
    margin: 0.15rem 0 0;
    font-weight: 700;
    color: var(--color-navy);
}

.player-dashboard-next-match__countdown {
    margin: 0 0 1.25rem;
    padding: 0.75rem 1rem;
    font-weight: 700;
    color: var(--color-primary);
    background: rgba(0, 143, 227, 0.08);
    border-radius: var(--radius);
}

.player-dashboard-next-match__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.player-dashboard-empty {
    padding: 2rem 1rem;
    text-align: center;
    color: var(--color-muted);
    background: var(--color-bg-muted);
    border: 1px dashed var(--color-border);
    border-radius: var(--radius);
}

.player-dashboard-empty--compact {
    padding: 1.25rem 1rem;
    margin: 0;
}

.player-dashboard-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.player-dashboard-results {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.player-dashboard-result {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.85rem 1rem;
    background: var(--color-bg-muted);
    border: 1px solid var(--color-border);
    border-left: 4px solid var(--color-border);
    border-radius: var(--radius);
}

.player-dashboard-result--win {
    border-left-color: #16a34a;
    background: rgba(22, 163, 74, 0.05);
}

.player-dashboard-result--loss {
    border-left-color: #dc2626;
    background: rgba(220, 38, 38, 0.04);
}

.player-dashboard-result__main {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.5rem 1rem;
    flex: 1;
    min-width: min(100%, 18rem);
    align-items: center;
}

.player-dashboard-result__opponent {
    font-weight: 700;
    color: var(--color-navy);
}

.player-dashboard-result__score {
    font-weight: 800;
    color: var(--color-primary);
}

.player-dashboard-result__badge {
    display: inline-flex;
    padding: 0.15rem 0.55rem;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 999px;
}

.player-dashboard-result__badge--win {
    color: #166534;
    background: #dcfce7;
}

.player-dashboard-result__badge--loss {
    color: #b91c1c;
    background: #fee2e2;
}

.player-dashboard-result__date {
    font-size: 0.85rem;
    color: var(--color-muted);
}

.player-dashboard-form {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.player-dashboard-form__pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    font-size: 0.95rem;
    font-weight: 900;
    border-radius: var(--radius-sm);
    background: var(--color-bg-muted);
    color: var(--color-muted);
}

.player-dashboard-form__pill--win {
    color: #166534;
    background: #dcfce7;
}

.player-dashboard-form__pill--loss {
    color: #b91c1c;
    background: #fee2e2;
}

.player-dashboard-standings__row--current {
    background: rgba(0, 143, 227, 0.08);
    font-weight: 700;
}

.player-dashboard-standings__row--current td {
    color: var(--color-navy);
}

.player-dashboard-chart {
    min-height: 12rem;
    padding: 0.5rem;
}

.player-dashboard-chart__empty {
    margin: 0;
    padding: 3rem 1rem;
    text-align: center;
    color: var(--color-muted);
}

.player-dashboard-chart__svg {
    width: 100%;
    height: auto;
    display: block;
}

.player-dashboard-chart__axis {
    font-size: 11px;
    fill: var(--color-muted);
}

.player-dashboard-achievements {
    display: grid;
    gap: 0.75rem;
}

.player-dashboard-achievement {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    padding: 0.85rem 1rem;
    background: var(--color-bg-muted);
    border: 1px dashed var(--color-border);
    border-radius: var(--radius);
    opacity: 0.72;
}

.player-dashboard-achievement--earned {
    opacity: 1;
    border-style: solid;
    border-color: rgba(255, 106, 0, 0.25);
    background: linear-gradient(90deg, rgba(255, 106, 0, 0.06), rgba(0, 143, 227, 0.04));
}

.player-dashboard-achievement__icon {
    font-size: 1.25rem;
    color: var(--color-accent);
    line-height: 1;
}

.player-dashboard-achievement__title {
    margin: 0 0 0.2rem;
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--color-navy);
}

.player-dashboard-achievement__text {
    margin: 0;
    font-size: 0.85rem;
    color: var(--color-muted);
}

.player-dashboard-notifications {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.player-dashboard-notification {
    display: grid;
    gap: 0.2rem;
    padding: 0.85rem 1rem;
    background: var(--color-bg-muted);
    border: 1px solid var(--color-border);
    border-left: 4px solid var(--color-primary);
    border-radius: var(--radius);
    font-size: 0.9rem;
}

.player-dashboard-notification strong {
    color: var(--color-navy);
}

.player-dashboard-notification span {
    color: var(--color-muted);
}

.player-dashboard-notification time {
    font-size: 0.8rem;
    color: var(--color-muted);
}

.player-dashboard-notification--promotion {
    border-left-color: var(--color-accent);
}

.player-dashboard-notification--result {
    border-left-color: #16a34a;
}

.player-dashboard-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
}

.player-dashboard-actions__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 3rem;
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--color-navy);
    text-align: center;
    text-decoration: none;
    background: var(--color-bg-muted);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    transition: color 0.15s, background 0.15s, border-color 0.15s, transform 0.15s;
}

.player-dashboard-actions__btn:hover {
    color: var(--color-primary);
    background: rgba(0, 143, 227, 0.08);
    border-color: rgba(0, 143, 227, 0.25);
    transform: translateY(-1px);
}

.player-dashboard-panel--shop {
    padding: 0;
    overflow: hidden;
    border-radius: 20px;
    border: none;
    min-height: 300px;
    box-shadow: 0 12px 32px rgba(11, 31, 51, 0.12);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.player-dashboard-panel--shop:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 40px rgba(11, 31, 51, 0.18);
}

.player-dashboard-shop {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    align-items: stretch;
    min-height: 300px;
    overflow: hidden;
    border-radius: 20px;
    background-color: #0c203e;
}

.player-dashboard-shop::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background:
        linear-gradient(
            90deg,
            rgba(12, 32, 62, 0.98) 0%,
            rgba(12, 32, 62, 0.92) 38%,
            rgba(12, 32, 62, 0.55) 62%,
            rgba(12, 32, 62, 0.18) 100%
        ),
        url('/images/shop/shop-bg.webp') right center / cover no-repeat;
}

.player-dashboard-shop__content {
    position: relative;
    z-index: 1;
    grid-column: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 0.35rem;
    max-width: 22rem;
    padding: clamp(1.5rem, 3vw, 2.25rem);
}

.player-dashboard-shop__eyebrow {
    margin: 0 0 0.35rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-accent);
}

.player-dashboard-shop__title {
    margin: 0 0 0.5rem;
    font-size: clamp(1.35rem, 2.4vw, 1.75rem);
    font-weight: 900;
    line-height: 1.15;
    color: #fff;
}

.player-dashboard-shop__text,
.player-dashboard-shop__promo {
    margin: 0 0 0.65rem;
    font-size: 0.95rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.86);
}

.player-dashboard-shop__promo {
    margin-bottom: 1.15rem;
    color: rgba(255, 255, 255, 0.72);
}

.player-dashboard-shop__cta {
    margin-top: 0.25rem;
}

@media (max-width: 1023px) {
    .player-dashboard-shop {
        grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
    }

    .player-dashboard-shop::before {
        background:
            linear-gradient(
                90deg,
                rgba(12, 32, 62, 0.98) 0%,
                rgba(12, 32, 62, 0.9) 48%,
                rgba(12, 32, 62, 0.35) 100%
            ),
            url('/images/shop/shop-bg.webp') right center / cover no-repeat;
    }

    .player-dashboard-shop__content {
        max-width: 20rem;
    }
}

@media (max-width: 767px) {
    .player-dashboard-panel--shop {
        min-height: 280px;
    }

    .player-dashboard-shop {
        grid-template-columns: 1fr;
        min-height: 280px;
    }

    .player-dashboard-shop::before {
        background:
            linear-gradient(
                180deg,
                rgba(12, 32, 62, 0.94) 0%,
                rgba(12, 32, 62, 0.88) 55%,
                rgba(12, 32, 62, 0.72) 100%
            ),
            url('/images/shop/shop-bg.webp') center / cover no-repeat;
    }

    .player-dashboard-shop__content {
        max-width: none;
        padding: 1.5rem 1.25rem;
    }
}

.player-dashboard-profile {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
    align-items: flex-start;
}

.player-dashboard-profile__details {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem 1.25rem;
    margin: 0;
    flex: 1;
    min-width: min(100%, 16rem);
}

.player-dashboard-profile__details dt {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--color-muted);
}

.player-dashboard-profile__details dd {
    margin: 0.15rem 0 0;
    font-weight: 700;
    color: var(--color-navy);
}

.player-dashboard-insights {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.player-dashboard-insight {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 0.5rem;
    padding: 0.85rem 1rem;
    background: var(--color-bg-muted);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
}

.player-dashboard-insight__label {
    font-size: 0.85rem;
    color: var(--color-muted);
}

.player-dashboard-insight__value {
    font-weight: 800;
    color: var(--color-navy);
}

.player-dashboard-sticky-actions {
    display: none;
}

@media (min-width: 640px) {
    .player-dashboard-stat-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .player-dashboard-result__main {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (min-width: 768px) {
    .player-dashboard-hero__meta {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .player-dashboard__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .player-dashboard-panel--stats,
    .player-dashboard-panel--featured {
        grid-column: 1 / -1;
    }

    .player-dashboard-actions {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .player-dashboard-hero__main {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }

    .player-dashboard-hero__meta {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        min-width: min(100%, 28rem);
        flex: 1;
    }

    .player-dashboard-stat-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .player-dashboard__grid {
        grid-template-columns: repeat(12, minmax(0, 1fr));
    }

    .player-dashboard__grid > .player-dashboard-panel:nth-child(1) { grid-column: 1 / -1; }
    .player-dashboard__grid > .player-dashboard-panel:nth-child(2) { grid-column: 1 / 9; }
    .player-dashboard__grid > .player-dashboard-panel:nth-child(3) { grid-column: 1 / 7; }
    .player-dashboard__grid > .player-dashboard-panel:nth-child(4) { grid-column: 7 / -1; }
    .player-dashboard__grid > .player-dashboard-panel:nth-child(5) { grid-column: 9 / -1; grid-row: 2; }
    .player-dashboard__grid > .player-dashboard-panel:nth-child(6) { grid-column: 1 / 7; }
    .player-dashboard__grid > .player-dashboard-panel:nth-child(7) { grid-column: 7 / -1; }
    .player-dashboard__grid > .player-dashboard-panel:nth-child(8) { grid-column: 1 / 7; }
    .player-dashboard__grid > .player-dashboard-panel:nth-child(9) { grid-column: 7 / -1; }
    .player-dashboard__grid > .player-dashboard-panel:nth-child(10) { grid-column: 1 / 9; }
    .player-dashboard__grid > .player-dashboard-panel:nth-child(11) { grid-column: 9 / -1; }
    .player-dashboard__grid > .player-dashboard-panel:nth-child(12) { grid-column: 1 / 7; }
    .player-dashboard__grid > .player-dashboard-panel:nth-child(13) { grid-column: 7 / -1; }

    .player-dashboard-result__main {
        grid-template-columns: 2fr 1fr auto auto auto;
    }
}

@media (max-width: 767px) {
    .player-dashboard {
        padding-bottom: 4.5rem;
    }

    .player-dashboard-next-match__details {
        grid-template-columns: 1fr;
    }

    .player-dashboard-profile__details {
        grid-template-columns: 1fr;
    }

    .player-dashboard-sticky-actions {
        display: flex;
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 120;
        gap: 0;
        padding: 0.5rem;
        background: rgba(255, 255, 255, 0.96);
        border-top: 1px solid var(--color-border);
        box-shadow: 0 -8px 24px rgba(11, 31, 51, 0.1);
        backdrop-filter: blur(8px);
    }

    .player-dashboard-sticky-actions a {
        flex: 1;
        display: flex;
        align-items: center;
        justify-content: center;
        min-height: 2.75rem;
        padding: 0.5rem 0.35rem;
        font-size: 0.75rem;
        font-weight: 700;
        color: var(--color-navy);
        text-align: center;
        text-decoration: none;
        border-radius: var(--radius-sm);
        transition: color 0.15s, background 0.15s;
    }

    .player-dashboard-sticky-actions a:hover,
    .player-dashboard-sticky-actions a:focus-visible {
        color: var(--color-primary);
        background: rgba(0, 143, 227, 0.08);
    }
}

/* =========================================================
   Player Profile 2.0
   ========================================================= */
.page-player-profile .site-main {
    background: linear-gradient(180deg, rgba(0, 143, 227, 0.06) 0%, #f5f8fb 14rem, #f5f8fb 100%);
    overflow-x: hidden;
}

.pp2__container {
    padding-top: 1.75rem;
    padding-bottom: 3rem;
}

.pp2-hero {
    background: linear-gradient(135deg, #063a63 0%, #008FE3 52%, #36a8eb 100%);
    color: #fff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.pp2-hero__inner {
    display: grid;
    gap: 2rem;
    padding: clamp(2rem, 4vw, 3.25rem) 0;
}

.pp2-hero__identity {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1.25rem 1.5rem;
}

.pp2-hero__eyebrow {
    margin: 0 0 0.35rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.72);
}

.pp2-hero__name {
    margin: 0;
    font-size: clamp(2rem, 4.5vw, 3rem);
    font-weight: 900;
    line-height: 1.1;
}

.pp2-hero__nickname {
    margin: 0.35rem 0 0;
    font-size: 1.05rem;
    font-style: italic;
    color: rgba(255, 255, 255, 0.82);
}

.pp2-hero__meta-line {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.4rem 0.55rem;
    margin-top: 0.75rem;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
}

.pp2-hero__flag {
    width: 28px;
    height: 21px;
    object-fit: cover;
    border-radius: 3px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.pp2-hero__dot {
    opacity: 0.55;
}

.pp2-hero__facts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
    margin: 1.5rem 0 0;
}

.pp2-hero__facts > div {
    padding: 0.85rem 1rem;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 14px;
    backdrop-filter: blur(4px);
}

.pp2-hero__facts dt {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
}

.pp2-hero__facts dd {
    margin: 0.2rem 0 0;
    font-size: 1rem;
    font-weight: 800;
}

.pp2-hero__right {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.pp2-elo-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 8.5rem;
    padding: 1.25rem;
    background: linear-gradient(160deg, rgba(255, 106, 0, 0.95), #ff8a3d);
    border-radius: 20px;
    box-shadow: 0 16px 36px rgba(255, 106, 0, 0.28);
    text-align: center;
}

.pp2-elo-badge__label {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.85);
}

.pp2-elo-badge__value {
    margin-top: 0.25rem;
    font-size: clamp(2.4rem, 5vw, 3.25rem);
    font-weight: 900;
    line-height: 1;
}

.pp2-hero__stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
}

.pp2-hero__stats article {
    padding: 0.85rem 1rem;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 14px;
}

.pp2-hero__stat-label {
    display: block;
    margin-bottom: 0.2rem;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
}

.pp2-hero__stat-value {
    font-size: 1.15rem;
    font-weight: 800;
}

.pp2-hero__stat--form {
    grid-column: 1 / -1;
}

.pp2-form-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin-top: 0.35rem;
}

.pp2-form-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.85rem;
    height: 1.85rem;
    font-size: 0.8rem;
    font-weight: 900;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.18);
}

.pp2-form-pill--win {
    color: #166534;
    background: #dcfce7;
}

.pp2-form-pill--loss {
    color: #991b1b;
    background: #fee2e2;
}

.pp2-section {
    margin-bottom: 1.75rem;
}

.pp2-section__header {
    margin-bottom: 1rem;
}

.pp2-section__title,
.pp2-panel__title {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 900;
    color: var(--color-navy);
}

.pp2-section__subtitle,
.pp2-panel__subtitle {
    margin: 0.3rem 0 0;
    color: var(--color-muted);
    font-size: 0.92rem;
}

.pp2-stat-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem;
}

.pp2-stat-grid--compact {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.pp2-stat-card {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    padding: 1.1rem 1.15rem;
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: 16px;
    box-shadow: 0 8px 20px rgba(11, 31, 51, 0.05);
}

.pp2-stat-card__label {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--color-muted);
}

.pp2-stat-card__value {
    font-size: clamp(1.05rem, 2.5vw, 1.35rem);
    font-weight: 800;
    color: var(--color-navy);
    word-break: break-word;
}

.pp2-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}

.pp2-panel {
    padding: 1.25rem;
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: 18px;
    box-shadow: 0 10px 28px rgba(11, 31, 51, 0.06);
}

.pp2-panel__header {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 0.5rem 1rem;
    margin-bottom: 1rem;
}

.pp2-panel__link {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-primary);
    text-decoration: none;
}

.pp2-panel__link:hover {
    text-decoration: underline;
}

.pp2-empty {
    margin: 0;
    padding: 1.25rem 1rem;
    text-align: center;
    color: var(--color-muted);
    background: var(--color-bg-muted);
    border: 1px dashed var(--color-border);
    border-radius: 12px;
}

.pp2-rating-summary {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.pp2-rating-summary div {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    padding: 0.85rem 1rem;
    background: linear-gradient(180deg, rgba(0, 143, 227, 0.08), rgba(255, 255, 255, 0.4));
    border: 1px solid var(--color-border);
    border-radius: 12px;
}

.pp2-rating-summary span {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--color-muted);
}

.pp2-rating-summary strong {
    font-size: 1.25rem;
    color: var(--color-navy);
}

.pp2-chart {
    min-height: 12rem;
}

.pp2-chart__svg {
    display: block;
    width: 100%;
    height: auto;
}

.pp2-chart__axis {
    font-size: 11px;
    fill: var(--color-muted);
}

.pp2-form-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.pp2-form-row {
    display: grid;
    grid-template-columns: 2.25rem 1fr auto;
    gap: 0.75rem;
    align-items: center;
    padding: 0.75rem 0.85rem;
    border-radius: 12px;
    border: 1px solid var(--color-border);
    background: var(--color-bg-muted);
}

.pp2-form-row--win {
    border-left: 4px solid #16a34a;
    background: rgba(22, 163, 74, 0.05);
}

.pp2-form-row--loss {
    border-left: 4px solid #dc2626;
    background: rgba(220, 38, 38, 0.04);
}

.pp2-form-result {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.1rem;
    height: 2.1rem;
    font-weight: 900;
    border-radius: 999px;
}

.pp2-form-result--win {
    color: #166534;
    background: #dcfce7;
}

.pp2-form-result--loss {
    color: #991b1b;
    background: #fee2e2;
}

.pp2-form-row__main {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    min-width: 0;
}

.pp2-form-row__opponent {
    font-weight: 700;
    color: var(--color-navy);
}

.pp2-form-row__score {
    font-weight: 800;
    color: var(--color-primary);
}

.pp2-form-row time {
    font-size: 0.8rem;
    color: var(--color-muted);
    white-space: nowrap;
}

.pp2-h2h {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.pp2-h2h__label {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--color-muted);
}

.pp2-h2h__select {
    width: 100%;
    padding: 0.75rem 0.85rem;
    font: inherit;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    background: #fff;
}

.pp2-achievements {
    display: grid;
    gap: 0.75rem;
}

.pp2-achievement {
    display: flex;
    gap: 0.85rem;
    align-items: flex-start;
    padding: 0.9rem 1rem;
    border-radius: 14px;
    border: 1px dashed var(--color-border);
    background: var(--color-bg-muted);
    opacity: 0.72;
}

.pp2-achievement--earned {
    opacity: 1;
    border-style: solid;
    border-color: rgba(255, 106, 0, 0.25);
    background: linear-gradient(90deg, rgba(255, 106, 0, 0.07), rgba(0, 143, 227, 0.05));
}

.pp2-achievement__icon {
    color: var(--color-accent);
    font-size: 1.2rem;
    line-height: 1;
}

.pp2-achievement__title {
    margin: 0 0 0.2rem;
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--color-navy);
}

.pp2-achievement__text {
    margin: 0;
    font-size: 0.85rem;
    color: var(--color-muted);
}

.pp2-standings__current {
    background: rgba(0, 143, 227, 0.08);
    font-weight: 700;
}

.pp2-match-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.pp2-panel--shop {
    padding: 0;
    overflow: hidden;
    border: none;
}

.pp2-shop {
    position: relative;
    min-height: 220px;
    border-radius: 18px;
    overflow: hidden;
    background-color: #0c203e;
}

.pp2-shop::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            90deg,
            rgba(12, 32, 62, 0.96) 0%,
            rgba(12, 32, 62, 0.82) 48%,
            rgba(12, 32, 62, 0.25) 100%
        ),
        url("/images/shop/shop-bg.webp") right center / cover no-repeat;
}

.pp2-shop__content {
    position: relative;
    z-index: 1;
    max-width: 22rem;
    padding: 1.5rem;
}

.pp2-shop__eyebrow {
    margin: 0 0 0.35rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-accent);
}

.pp2-shop__title {
    margin: 0 0 0.5rem;
    font-size: 1.35rem;
    font-weight: 900;
    color: #fff;
}

.pp2-shop__text {
    margin: 0 0 1rem;
    color: rgba(255, 255, 255, 0.85);
}

.pp2-share {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.65rem;
}

.pp2-share__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.75rem;
    padding: 0.65rem 0.85rem;
    font: inherit;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--color-navy);
    text-decoration: none;
    background: var(--color-bg-muted);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    cursor: pointer;
    transition: color 0.15s, background 0.15s, border-color 0.15s, transform 0.15s;
}

.pp2-share__btn:hover,
.pp2-share__btn:focus-visible {
    color: var(--color-primary);
    background: rgba(0, 143, 227, 0.08);
    border-color: rgba(0, 143, 227, 0.25);
    transform: translateY(-1px);
}

.pp2-bio {
    margin: 0;
    font-size: 1.02rem;
    line-height: 1.7;
    color: var(--color-text);
}

@media (min-width: 640px) {
    .pp2-stat-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .pp2-hero__facts {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .pp2-hero__stats {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .pp2-share {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (min-width: 768px) {
    .pp2-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .pp2-panel--wide,
    .pp2-panel--chart,
    .pp2-panel--shop {
        grid-column: 1 / -1;
    }

    .pp2-stat-grid--compact {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .pp2-hero__inner {
        grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.9fr);
        align-items: center;
        gap: 2.5rem;
    }

    .pp2-stat-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .pp2-stat-grid--compact {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .pp2-form-row {
        grid-template-columns: 2.25rem 1fr;
    }

    .pp2-shop::before {
        background:
            linear-gradient(
                180deg,
                rgba(12, 32, 62, 0.94) 0%,
                rgba(12, 32, 62, 0.86) 100%
            ),
            url("/images/shop/shop-bg.webp") center / cover no-repeat;
    }

    .pp2-shop__content {
        max-width: none;
    }
}

/* =========================================================
   Launch pages + error pages
   ========================================================= */
.page-error .site-main,
.page-about .site-main,
.page-rules .site-main,
.page-contact .site-main,
.page-legal .site-main {
    overflow-x: hidden;
}

.launch-error {
    min-height: calc(100vh - var(--header-height) - 220px);
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #063a63 0%, #008FE3 55%, #36a8eb 100%);
    color: #fff;
}

.launch-error--500 {
    background: linear-gradient(135deg, #0B1F33 0%, #0a4a7a 50%, #008FE3 100%);
}

.launch-error__inner {
    max-width: 40rem;
    margin: 0 auto;
    padding: 4rem 1rem;
    text-align: center;
}

.launch-error__icon {
    width: 7rem;
    height: 7rem;
    margin: 0 auto 1rem;
    color: #fff;
}

.launch-error__icon svg {
    width: 100%;
    height: 100%;
}

.launch-error__code {
    margin: 0;
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    color: rgba(255, 255, 255, 0.7);
}

.launch-error__title {
    margin: 0.75rem 0;
    font-size: clamp(1.85rem, 4vw, 2.6rem);
    font-weight: 900;
}

.launch-error__text {
    margin: 0 auto 1.75rem;
    max-width: 32rem;
    color: rgba(255, 255, 255, 0.88);
    line-height: 1.6;
}

.launch-error__cta {
    background: var(--color-accent) !important;
    border-color: var(--color-accent) !important;
    box-shadow: 0 8px 24px rgba(255, 106, 0, 0.3);
}

.launch-error__cta:hover {
    background: var(--color-accent-dark) !important;
}

.launch-hero {
    background: linear-gradient(135deg, rgba(0, 143, 227, 0.14) 0%, rgba(255, 106, 0, 0.08) 55%, #fff 100%);
    border-bottom: 1px solid var(--color-border);
}

.launch-hero--compact .launch-hero__inner {
    padding: 2.5rem 0 2.75rem;
}

.launch-hero__inner {
    padding: 3rem 0 3.5rem;
    max-width: 46rem;
}

.launch-hero__eyebrow {
    margin: 0 0 0.4rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-accent);
}

.launch-hero__title {
    margin: 0;
    font-size: clamp(2rem, 4.5vw, 3rem);
    font-weight: 900;
    color: var(--color-navy);
    line-height: 1.1;
}

.launch-hero__text {
    margin: 0.85rem 0 0;
    font-size: 1.08rem;
    color: var(--color-muted);
    line-height: 1.6;
}

.launch-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.launch-page {
    padding: 2.5rem 0 3.5rem;
}

.launch-page--narrow {
    max-width: 52rem;
}

.launch-section {
    margin-bottom: 2.5rem;
}

.launch-section__title {
    margin: 0 0 0.75rem;
    font-size: 1.45rem;
    font-weight: 900;
    color: var(--color-navy);
}

.launch-section__lead,
.launch-section__text {
    margin: 0 0 1rem;
    color: var(--color-text);
    line-height: 1.7;
    font-size: 1.02rem;
}

.launch-card-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.launch-card,
.launch-panel {
    padding: 1.25rem 1.35rem;
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: 18px;
    box-shadow: 0 10px 28px rgba(11, 31, 51, 0.06);
}

.launch-card__title,
.launch-panel__title {
    margin: 0 0 0.45rem;
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--color-navy);
}

.launch-card__text,
.launch-panel__text {
    margin: 0;
    color: var(--color-muted);
    line-height: 1.55;
}

.launch-steps,
.launch-list {
    margin: 0;
    padding-left: 1.25rem;
    color: var(--color-text);
    line-height: 1.7;
}

.launch-steps li,
.launch-list li {
    margin-bottom: 0.65rem;
}

.launch-faq {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.launch-faq__item {
    padding: 1rem 1.15rem;
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: 14px;
    box-shadow: var(--shadow-sm);
}

.launch-faq__item summary {
    cursor: pointer;
    font-weight: 700;
    color: var(--color-navy);
}

.launch-faq__item p {
    margin: 0.65rem 0 0;
    color: var(--color-muted);
    line-height: 1.55;
}

.launch-cta {
    margin-top: 1rem;
    padding: 2rem 1.5rem;
    text-align: center;
    background: linear-gradient(135deg, rgba(0, 143, 227, 0.1), rgba(255, 106, 0, 0.08));
    border: 1px solid var(--color-border);
    border-radius: 20px;
}

.launch-cta__title {
    margin: 0 0 0.5rem;
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--color-navy);
}

.launch-cta__text {
    margin: 0 0 1.25rem;
    color: var(--color-muted);
}

.launch-alert {
    margin-bottom: 1.25rem;
    padding: 0.9rem 1rem;
    color: #166534;
    background: #dcfce7;
    border: 1px solid #bbf7d0;
    border-radius: 12px;
    font-weight: 600;
}

.launch-contact-grid {
    display: grid;
    gap: 1.25rem;
}

.launch-contact-aside {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.launch-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.launch-form__field {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.launch-form__field label {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--color-muted);
}

.launch-form__field input,
.launch-form__field select,
.launch-form__field textarea {
    width: 100%;
    padding: 0.75rem 0.85rem;
    font: inherit;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    background: #fff;
}

.launch-form__field input:focus,
.launch-form__field select:focus,
.launch-form__field textarea:focus {
    outline: 2px solid var(--color-primary);
    outline-offset: 1px;
}

.launch-form__error {
    margin: 0;
    font-size: 0.85rem;
    color: #b91c1c;
}

.launch-map {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    min-height: 10rem;
    padding: 1.25rem;
    text-align: center;
    color: var(--color-muted);
    background:
        linear-gradient(135deg, rgba(0, 143, 227, 0.08), rgba(11, 31, 51, 0.06)),
        repeating-linear-gradient(
            -45deg,
            transparent,
            transparent 8px,
            rgba(0, 143, 227, 0.05) 8px,
            rgba(0, 143, 227, 0.05) 16px
        );
    border: 1px dashed var(--color-border);
    border-radius: 14px;
}

.launch-map p {
    margin: 0;
    font-weight: 700;
    color: var(--color-navy);
}

.launch-map span {
    font-size: 0.9rem;
}

.launch-social-placeholder {
    font-style: italic;
}

@media (min-width: 768px) {
    .launch-card-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .launch-contact-grid {
        grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.8fr);
        align-items: start;
    }
}
/* =========================================================
   League Dashboard
   ========================================================= */
.page-league-dashboard .site-main {
    overflow-x: hidden;
}

.ld-kicker {
    margin: 0 0 0.35rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent);
}

.ld-kicker--light {
    color: rgba(255, 255, 255, 0.72);
}

.ld-hero,
.ld-empty-hero {
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background: linear-gradient(135deg, #071526 0%, #0b2a4a 42%, #0d3d6e 72%, #0a4f86 100%);
    color: #fff;
}

.ld-empty-hero {
    background: linear-gradient(135deg, rgba(0, 143, 227, 0.14) 0%, rgba(255, 106, 0, 0.08) 50%, #fff 100%);
    color: inherit;
    border-bottom: 1px solid var(--color-border);
}

.ld-hero__glow {
    position: absolute;
    inset: -20% auto auto 40%;
    width: 55%;
    height: 140%;
    background: radial-gradient(circle, rgba(0, 143, 227, 0.28) 0%, transparent 68%);
    pointer-events: none;
}

.ld-hero__figure {
    position: absolute;
    right: -2%;
    bottom: -8%;
    width: min(42vw, 420px);
    height: 108%;
    background: url("/images/league-dashboard/tt-player.svg") right bottom / contain no-repeat;
    opacity: 0.22;
    pointer-events: none;
}

.ld-hero__inner,
.ld-empty-hero__inner {
    position: relative;
    z-index: 1;
    padding: 2.25rem 0 2.75rem;
}

.ld-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-bottom: 1.1rem;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.62);
}

.ld-breadcrumb a {
    color: rgba(255, 255, 255, 0.82);
}

.ld-empty-hero .ld-breadcrumb,
.ld-empty-hero .ld-breadcrumb a {
    color: var(--color-muted);
}

.ld-hero__grid {
    display: grid;
    gap: 1.5rem;
}

.ld-hero__eyebrow {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.55rem;
}

.ld-hero__title,
.ld-empty-hero__title {
    margin: 0;
    font-size: clamp(1.9rem, 4vw, 2.75rem);
    font-weight: 900;
    color: #fff;
    line-height: 1.12;
    letter-spacing: -0.02em;
}

.ld-empty-hero__title {
    color: var(--secondary);
}

.ld-hero__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    margin: 0.85rem 0 0;
}

.ld-hero__meta span {
    padding: 0.3rem 0.7rem;
    font-size: 0.8rem;
    font-weight: 700;
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 999px;
    backdrop-filter: blur(6px);
}

.ld-hero__desc,
.ld-empty-hero__text {
    margin: 1rem 0 0;
    max-width: 36rem;
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.6;
}

.ld-empty-hero__text {
    color: var(--color-muted);
}

.ld-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.4rem;
}

.btn--ghost-light {
    color: #fff !important;
    background: rgba(255, 255, 255, 0.08) !important;
    border-color: rgba(255, 255, 255, 0.28) !important;
}

.btn--ghost-light:hover {
    background: rgba(255, 255, 255, 0.16) !important;
}

.ld-hero__stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
}

.ld-hero-stat {
    padding: 1rem 1.05rem;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
    backdrop-filter: blur(8px);
    transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.ld-hero-stat:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.12);
    box-shadow: 0 16px 34px rgba(0, 0, 0, 0.22);
}

.ld-hero-stat__icon {
    display: inline-flex;
    font-size: 1.15rem;
    line-height: 1;
}

.ld-hero-stat__value {
    margin: 0.45rem 0 0;
    font-size: clamp(1.35rem, 3vw, 1.7rem);
    font-weight: 900;
    line-height: 1.1;
    color: #fff;
}

.ld-hero-stat__label {
    margin: 0.3rem 0 0;
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.62);
}

.ld-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.4rem 0.85rem;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    border-radius: 999px;
}

.ld-badge--active {
    color: #166534;
    background: #dcfce7;
}

.ld-badge--completed {
    color: #1e3a5f;
    background: #e2e8f0;
}

.ld-badge--upcoming {
    color: #9a3412;
    background: #ffedd5;
}

.ld-page {
    padding: 2rem 0 3.5rem;
}

.ld-section {
    margin-bottom: 2rem;
}

.ld-section__head {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.ld-section__title {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 900;
    color: var(--secondary);
}

.ld-section__link {
    font-size: 0.9rem;
    font-weight: 700;
    transition: color 0.15s ease, transform 0.15s ease;
}

.ld-section__link:hover {
    transform: translateX(2px);
}

.ld-section__note {
    margin: 0;
    font-size: 0.85rem;
    color: var(--color-muted);
}

.ld-kpi-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem;
}

.ld-kpi,
.ld-leader,
.ld-highlight,
.ld-venue,
.ld-progress,
.ld-movers__col,
.ld-match {
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: 18px;
    box-shadow: 0 10px 28px rgba(11, 31, 51, 0.05);
}

.ld-kpi {
    position: relative;
    overflow: hidden;
    padding: 1.15rem 1.15rem 1.05rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.ld-kpi::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 4px;
    background: var(--primary);
}

.ld-kpi--progress::before,
.ld-kpi--elo::before { background: var(--accent); }
.ld-kpi--played::before,
.ld-kpi--avg::before { background: #16a34a; }
.ld-kpi--remaining::before { background: #64748b; }

.ld-kpi:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 34px rgba(11, 31, 51, 0.1);
    border-color: rgba(0, 143, 227, 0.28);
}

.ld-kpi__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.4rem;
    height: 2.4rem;
    margin-bottom: 0.55rem;
    font-size: 1.2rem;
    border-radius: 12px;
    background: rgba(0, 143, 227, 0.1);
}

.ld-kpi__label {
    margin: 0;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--color-muted);
}

.ld-kpi__value {
    margin: 0.15rem 0 0.35rem;
    font-size: clamp(1.45rem, 2.6vw, 1.85rem);
    font-weight: 900;
    color: var(--secondary);
    line-height: 1.1;
}

.ld-progress {
    padding: 1.25rem;
}

.ld-progress__bar {
    height: 12px;
    overflow: hidden;
    background: var(--color-bg-muted);
    border-radius: 999px;
}

.ld-progress__bar span {
    display: block;
    height: 100%;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    border-radius: inherit;
}

.ld-progress__meta {
    display: grid;
    gap: 0.35rem;
    margin-top: 0.9rem;
    color: var(--color-muted);
    font-size: 0.95rem;
}

.ld-progress__meta p {
    margin: 0;
}

.ld-split {
    display: grid;
    gap: 1.25rem;
}

.ld-leader {
    display: grid;
    gap: 1.15rem;
    padding: 1.35rem;
    background:
        linear-gradient(160deg, rgba(0, 143, 227, 0.08), rgba(255, 255, 255, 0.96) 42%),
        #fff;
    border-color: rgba(0, 143, 227, 0.18);
    box-shadow: 0 16px 36px rgba(11, 31, 51, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ld-leader:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 40px rgba(11, 31, 51, 0.12);
}

.ld-leader__media {
    position: relative;
    width: fit-content;
}

.ld-leader__avatar,
.ld-mover__avatar {
    width: 96px;
    height: 96px;
    object-fit: cover;
    border-radius: 22px;
    background: var(--color-bg-muted);
    border: 3px solid #fff;
    box-shadow: 0 10px 24px rgba(11, 31, 51, 0.14);
}

.ld-leader__crown {
    position: absolute;
    left: 50%;
    bottom: -0.55rem;
    transform: translateX(-50%);
    padding: 0.28rem 0.65rem;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #7c2d12;
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    border-radius: 999px;
    white-space: nowrap;
    box-shadow: 0 6px 14px rgba(245, 158, 11, 0.35);
}

.ld-leader__badges {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.45rem;
    margin-bottom: 0.45rem;
}

.ld-leader__rank-badge,
.ld-leader__elo {
    display: inline-flex;
    align-items: center;
    padding: 0.28rem 0.65rem;
    font-size: 0.72rem;
    font-weight: 800;
    border-radius: 999px;
}

.ld-leader__rank-badge {
    color: #fff;
    background: var(--secondary);
}

.ld-leader__elo {
    color: #075985;
    background: #e0f2fe;
}

.ld-leader__flag {
    font-size: 1.15rem;
    line-height: 1;
}

.ld-leader__name {
    margin: 0.15rem 0 0.55rem;
    font-size: 1.35rem;
    font-weight: 900;
    color: var(--secondary);
}

.ld-leader__stats {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin: 0;
    color: var(--color-muted);
}

.ld-leader__cta {
    margin-top: 1rem;
}

.ld-form {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin-top: 0.85rem;
}

.ld-form__pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.75rem;
    height: 1.75rem;
    font-size: 0.72rem;
    font-weight: 800;
    border-radius: 999px;
}

.ld-form__pill--w {
    color: #166534;
    background: #dcfce7;
}

.ld-form__pill--l {
    color: #991b1b;
    background: #fee2e2;
}

.ld-table-wrap {
    overflow-x: auto;
    border: 1px solid var(--color-border);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 10px 28px rgba(11, 31, 51, 0.05);
}

.ld-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 520px;
}

.ld-table th,
.ld-table td {
    padding: 0.8rem 0.85rem;
    text-align: left;
    border-bottom: 1px solid var(--color-border);
    font-size: 0.92rem;
}

.ld-table th {
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--color-muted);
    background: var(--color-bg-muted);
}

.ld-table tbody tr {
    transition: background 0.15s ease;
}

.ld-table tbody tr:hover {
    background: rgba(0, 143, 227, 0.04);
}

.ld-table__row--leader {
    background: linear-gradient(90deg, rgba(251, 191, 36, 0.16), rgba(0, 143, 227, 0.05));
}

.ld-table__row--leader td:first-child,
.ld-table__rank {
    font-size: 1.05rem;
    font-weight: 800;
}

.ld-movers {
    display: grid;
    gap: 1rem;
}

.ld-movers__col {
    padding: 1rem;
}

.ld-movers__col--up {
    background: linear-gradient(180deg, rgba(22, 163, 74, 0.08), #fff 42%);
    border-color: rgba(22, 163, 74, 0.18);
}

.ld-movers__col--down {
    background: linear-gradient(180deg, rgba(220, 38, 38, 0.07), #fff 42%);
    border-color: rgba(220, 38, 38, 0.16);
}

.ld-movers__heading {
    margin: 0 0 0.75rem;
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--secondary);
}

.ld-mover {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr) auto;
    gap: 0.75rem;
    align-items: center;
    padding: 0.7rem 0.55rem;
    margin: 0 -0.35rem;
    border-radius: 12px;
    border-bottom: none;
    transition: background 0.15s ease, transform 0.15s ease;
}

.ld-mover:hover {
    background: rgba(255, 255, 255, 0.8);
    transform: translateX(2px);
}

.ld-mover__avatar {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    border: 0;
    box-shadow: none;
}

.ld-mover__meta {
    margin: 0.15rem 0 0;
    font-size: 0.82rem;
    color: var(--color-muted);
}

.ld-mover__change {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.35rem 0.65rem;
    font-weight: 800;
    border-radius: 999px;
    white-space: nowrap;
}

.ld-mover__change--up {
    color: #166534;
    background: #dcfce7;
}

.ld-mover__change--down {
    color: #b91c1c;
    background: #fee2e2;
}

.ld-highlights,
.ld-venues {
    display: grid;
    gap: 0.85rem;
}

.ld-highlight,
.ld-venue {
    display: flex;
    gap: 0.9rem;
    align-items: flex-start;
    padding: 1.15rem 1.2rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ld-highlight:hover,
a.ld-venue:hover,
a.ld-match:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 34px rgba(11, 31, 51, 0.1);
}

.ld-highlight__icon,
.ld-venue__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.6rem;
    height: 2.6rem;
    flex-shrink: 0;
    font-size: 1.25rem;
    border-radius: 14px;
    background: rgba(0, 143, 227, 0.1);
}

.ld-highlight__body,
.ld-venue__body {
    min-width: 0;
}

.ld-highlight__label,
.ld-venue__meta {
    margin: 0;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--color-muted);
}

.ld-highlight__value,
.ld-venue__name {
    margin: 0.35rem 0 0;
    font-size: 1.08rem;
    font-weight: 800;
    color: var(--secondary);
    line-height: 1.3;
}

.ld-highlight__meta,
.ld-venue__address {
    margin: 0.3rem 0 0;
    color: var(--color-muted);
    line-height: 1.45;
    font-size: 0.9rem;
}

.ld-venue__badge {
    display: inline-flex;
    margin-top: 0.65rem;
    padding: 0.28rem 0.65rem;
    font-size: 0.72rem;
    font-weight: 800;
    color: #075985;
    background: #e0f2fe;
    border-radius: 999px;
}

.ld-match {
    display: block;
    padding: 0.95rem 1.05rem;
    margin-bottom: 0.65rem;
    color: inherit;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.ld-match__players {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 0.5rem;
    align-items: center;
    font-weight: 700;
    color: var(--secondary);
}

.ld-match__players span:last-child,
.ld-match__player:last-child {
    text-align: right;
}

.ld-match__player--winner {
    color: var(--secondary);
    font-weight: 900;
}

.ld-match__player--loser {
    color: #94a3b8;
    font-weight: 600;
}

.ld-match__score {
    min-width: 3.2rem;
    padding: 0.2rem 0.55rem;
    text-align: center;
    font-size: 1.2rem;
    font-weight: 900;
    color: var(--primary);
    background: rgba(0, 143, 227, 0.08);
    border-radius: 10px;
}

.ld-match__vs {
    font-weight: 900;
    color: var(--primary);
}

.ld-match__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem 0.85rem;
    margin-top: 0.55rem;
    font-size: 0.82rem;
    color: var(--color-muted);
}

.ld-match__upcoming-row {
    display: flex;
    gap: 0.85rem;
    align-items: stretch;
}

.ld-match__upcoming-body {
    min-width: 0;
    flex: 1;
}

.ld-match__players--upcoming {
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
}

.ld-date-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 3.6rem;
    padding: 0.55rem 0.45rem;
    border-radius: 14px;
    background: linear-gradient(160deg, #0b2a4a, #0d4f86);
    color: #fff;
    text-align: center;
    line-height: 1.1;
}

.ld-date-badge__month {
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    opacity: 0.8;
}

.ld-date-badge__day {
    margin-top: 0.15rem;
    font-size: 1.25rem;
    font-weight: 900;
}

.ld-date-badge__time {
    margin-top: 0.25rem;
    font-size: 0.68rem;
    font-weight: 700;
    opacity: 0.85;
}

.ld-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.22rem 0.55rem;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 999px;
    background: var(--color-bg-muted);
    color: var(--secondary);
}

.ld-chip--round {
    color: #9a3412;
    background: #ffedd5;
}

.ld-chip--venue {
    color: #075985;
    background: #e0f2fe;
}

.ld-timeline {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin: 0;
    padding: 1.2rem 1.1rem 1.2rem 1.35rem;
    list-style: none;
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: 18px;
    box-shadow: 0 10px 28px rgba(11, 31, 51, 0.05);
    overflow: hidden;
}

.ld-timeline__item {
    position: relative;
    display: flex;
    gap: 0.85rem;
    align-items: flex-start;
    z-index: 1;
}

.ld-timeline__dot {
    width: 14px;
    height: 14px;
    margin-top: 0.25rem;
    border-radius: 50%;
    background: #cbd5e1;
    flex-shrink: 0;
    box-shadow: 0 0 0 4px rgba(148, 163, 184, 0.15);
}

.ld-timeline__item--completed .ld-timeline__dot {
    background: #f97316;
    box-shadow: 0 0 0 4px rgba(249, 115, 22, 0.2);
}

.ld-timeline__item--current .ld-timeline__dot {
    background: #0284c7;
    box-shadow: 0 0 0 5px rgba(2, 132, 199, 0.22);
    animation: ld-pulse 1.8s ease-in-out infinite;
}

.ld-timeline__item--upcoming .ld-timeline__dot {
    background: #94a3b8;
}

.ld-timeline__label {
    margin: 0;
    font-weight: 800;
    color: var(--secondary);
}

.ld-timeline__date {
    margin: 0.2rem 0 0;
    font-size: 0.85rem;
    color: var(--color-muted);
}

@keyframes ld-pulse {
    0%, 100% { box-shadow: 0 0 0 4px rgba(2, 132, 199, 0.18); }
    50% { box-shadow: 0 0 0 8px rgba(2, 132, 199, 0.08); }
}

.ld-store {
    margin-top: 0.5rem;
    padding: 2rem 1.5rem;
    border-radius: 22px;
    overflow: hidden;
    color: #fff;
    background:
        linear-gradient(135deg, rgba(7, 21, 38, 0.94), rgba(0, 143, 227, 0.78)),
        url("/images/shop/shop-bg.webp") center / cover no-repeat;
    box-shadow: 0 18px 40px rgba(11, 31, 51, 0.16);
}

.ld-store__title {
    margin: 0.25rem 0;
    font-size: 1.55rem;
    font-weight: 900;
}

.ld-store__text {
    margin: 0 0 1rem;
    max-width: 34rem;
    color: rgba(255, 255, 255, 0.88);
}

.ld-store__brands {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    margin: 0 0 1.2rem;
}

.ld-store__brand {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 5.5rem;
    padding: 0.55rem 0.9rem;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.92);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 12px;
    backdrop-filter: blur(6px);
}

.ld-empty,
.ld-empty-hero__inner {
    text-align: left;
}

.ld-empty {
    padding: 1.25rem;
    color: var(--color-muted);
    background: var(--color-bg-muted);
    border: 1px dashed var(--color-border);
    border-radius: 14px;
}

.ld-empty--compact {
    padding: 0.85rem;
}

.ld-empty p {
    margin: 0;
}

.ld-reveal {
    animation: ld-fade-up 0.45s ease both;
}

@keyframes ld-fade-up {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .ld-reveal,
    .ld-timeline__item--current .ld-timeline__dot,
    .ld-kpi,
    .ld-leader,
    .ld-highlight,
    .ld-venue,
    .ld-match,
    .ld-hero-stat,
    .ld-mover,
    .ld-table tbody tr {
        animation: none !important;
        transition: none !important;
    }
}

@media (min-width: 768px) {
    .ld-hero__grid {
        grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.8fr);
        align-items: end;
        gap: 2rem;
    }

    .ld-kpi-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .ld-split,
    .ld-movers,
    .ld-highlights,
    .ld-venues {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ld-leader {
        grid-template-columns: auto minmax(0, 1fr);
        align-items: center;
    }

    .ld-timeline {
        flex-direction: row;
        justify-content: space-between;
        gap: 0.75rem;
        padding: 1.45rem 1.25rem 1.35rem;
    }

    .ld-timeline::before {
        content: "";
        position: absolute;
        left: 8%;
        right: 8%;
        top: 1.85rem;
        height: 3px;
        background: linear-gradient(90deg, #f97316 0%, #0284c7 48%, #cbd5e1 100%);
        border-radius: 999px;
        opacity: 0.85;
    }

    .ld-timeline__item {
        flex: 1;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}

@media (min-width: 1100px) {
    .ld-hero__inner {
        padding: 2.75rem 0 3.1rem;
    }

    .ld-kpi-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

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

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

@media (max-width: 575px) {
    .ld-hero__figure {
        width: 58vw;
        opacity: 0.16;
    }

    .ld-match__players {
        font-size: 0.9rem;
    }

    .ld-match__score {
        font-size: 1.05rem;
        min-width: 2.8rem;
    }

    .ld-table {
        min-width: 460px;
    }
}
