:root {
    --bg: #050505;
    --bg-soft: #0a0a0a;
    --surface: rgba(16, 16, 16, 0.92);
    --surface-2: rgba(255, 255, 255, 0.03);
    --text: #f5f1ea;
    --muted: #bcb4a5;
    --gold: #d7c2a0;
    --red: #b4141c;
    --red-strong: #e11f2b;
    --line: rgba(255, 255, 255, 0.08);
    --shadow: 0 18px 50px rgba(0, 0, 0, 0.28);
    --radius: 22px;
    --container: min(1160px, calc(100vw - 2rem));
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: Inter, system-ui, sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at top left, rgba(180, 20, 28, 0.09), transparent 25%),
        linear-gradient(180deg, #0a0a0a 0%, #040404 100%);
    overflow-x: hidden;
}

body.has-open-lightbox {
    overflow: hidden;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
select,
textarea {
    font: inherit;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 3px;
}

.container {
    width: var(--container);
    margin: 0 auto;
}

.bg-noise {
    position: fixed;
    inset: 0;
    pointer-events: none;
    opacity: 0.03;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 32px 32px;
}

.topbar {
    position: sticky;
    top: 0;
    z-index: 30;
    background: rgba(6, 6, 6, 0.9);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--line);
}

.nav-shell {
    min-height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    position: relative;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.85rem;
}

.brand img {
    width: 50px;
    height: 50px;
    border-radius: 999px;
    object-fit: cover;
}

.brand strong,
.brand em {
    display: block;
    font-style: normal;
}

.brand strong {
    font-family: Oswald, sans-serif;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.brand em {
    color: var(--muted);
    font-size: 0.82rem;
}

.nav {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.nav a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--muted);
    font-size: 0.95rem;
    padding: 0.45rem 0.8rem;
    border-radius: 999px;
    border: 1px solid transparent;
    transition: color 160ms ease, background 160ms ease, border-color 160ms ease;
}

.nav a:hover {
    color: white;
}

.nav a.is-active {
    color: white;
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.14);
}

.nav-cta,
.button,
.quick-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: 0.9rem 1.2rem;
    font-weight: 700;
    border: 1px solid transparent;
    transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.nav-cta,
.button-primary {
    background: linear-gradient(135deg, var(--red), var(--red-strong));
    color: white;
}

.button-secondary,
.quick-link {
    background: rgba(255, 255, 255, 0.03);
    border-color: var(--line);
    color: var(--text);
}

.nav-cta:hover,
.button:hover,
.quick-link:hover {
    transform: translateY(-1px);
}

.menu-toggle {
    display: none;
    border: 0;
    background: transparent;
    flex-direction: column;
    gap: 0.35rem;
    padding: 0.5rem;
}

.menu-toggle span {
    width: 24px;
    height: 2px;
    border-radius: 999px;
    background: white;
}

.hero {
    padding: 3.5rem 0 2rem;
}

.hero-grid,
.split-grid,
.auth-shell,
.admin-hero-grid,
.contact-grid {
    display: grid;
    gap: 1.25rem;
}

.hero-grid {
    grid-template-columns: 1.15fr 0.85fr;
    align-items: center;
}

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

.hero-copy h1,
.section-head h2,
.contact-grid h2,
.admin-hero h1,
.auth-brand h1,
.auth-card h2,
.news-item h3 {
    margin: 0;
    font-family: Oswald, sans-serif;
    text-transform: uppercase;
    line-height: 0.96;
}

.hero-copy h1 {
    font-size: clamp(2.9rem, 6vw, 5.1rem);
    max-width: 12ch;
}

.eyebrow {
    margin: 0 0 1rem;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 0.22em;
    font-size: 0.74rem;
}

.lead,
.section-head p,
.news-item p,
.contact-grid p,
.admin-hero p,
.auth-card p,
.module-card p,
.panel-card p,
.activity-item p,
.workflow-list,
.module-editor textarea {
    color: var(--muted);
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    gap: 0.85rem;
    flex-wrap: wrap;
    margin-top: 1.25rem;
}

.hero-carousel-copy .button {
    padding: 0.78rem 1.05rem;
    font-size: 0.92rem;
}

.inline-form {
    display: inline-flex;
}

.hero-spotlight {
    padding: 0.75rem 0 1.75rem;
}

.hero-carousel {
    position: relative;
    overflow: hidden;
    min-height: clamp(620px, 84vh, 920px);
    border-bottom: 1px solid var(--line);
    background:
        radial-gradient(circle at top left, rgba(180, 20, 28, 0.2), transparent 28%),
        linear-gradient(135deg, #090909 0%, #0f0f0f 44%, #050505 100%);
}

.hero-carousel-track {
    position: relative;
    min-height: inherit;
}

.hero-carousel-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transform: scale(1.02);
    transition: opacity 360ms ease, transform 360ms ease;
    pointer-events: none;
}

.hero-carousel-slide.is-active {
    opacity: 1;
    transform: scale(1);
    pointer-events: auto;
}

.hero-carousel-slide::before,
.hero-carousel-slide::after {
    content: "";
    position: absolute;
    inset: 0;
}

.hero-carousel-slide::before {
    background:
        linear-gradient(90deg, rgba(0, 0, 0, 0.66) 0%, rgba(0, 0, 0, 0.28) 22%, rgba(0, 0, 0, 0.1) 44%, rgba(0, 0, 0, 0.04) 70%, rgba(0, 0, 0, 0.02) 100%),
        radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.09), transparent 18%),
        radial-gradient(circle at 80% 18%, rgba(255, 255, 255, 0.08), transparent 15%);
    z-index: 1;
}

.hero-carousel-slide::after {
    background:
        linear-gradient(135deg, rgba(180, 20, 28, 0.14), transparent 34%),
        radial-gradient(circle at 62% 34%, rgba(215, 194, 160, 0.12), transparent 24%);
    mix-blend-mode: screen;
    z-index: 1;
    opacity: 0.45;
}

.hero-carousel-backdrop {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-carousel-backdrop img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    filter: saturate(1.04) contrast(1.08);
    opacity: 0.58;
}

.tone-red {
    background:
        linear-gradient(90deg, rgba(180, 20, 28, 0.24), transparent 34%),
        linear-gradient(135deg, #090909 0%, #12080a 56%, #050505 100%);
}

.tone-gold {
    background:
        linear-gradient(90deg, rgba(215, 194, 160, 0.16), transparent 36%),
        linear-gradient(135deg, #0a0907 0%, #16120d 56%, #050505 100%);
}

.tone-dark {
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.06), transparent 36%),
        linear-gradient(135deg, #060606 0%, #101010 56%, #050505 100%);
}

.hero-carousel-inner {
    position: relative;
    z-index: 2;
    min-height: inherit;
    display: grid;
    grid-template-columns: 1fr;
    align-items: end;
    justify-items: start;
    gap: 1rem;
    padding-top: 2.5rem;
    padding-bottom: 3rem;
}

.hero-carousel-copy {
    width: min(440px, 100%);
    padding: 1.15rem 1.15rem 1.05rem;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(0, 0, 0, 0.14);
    backdrop-filter: blur(4px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}

.hero-carousel-copy h1 {
    margin: 0;
    font-family: Oswald, sans-serif;
    text-transform: uppercase;
    line-height: 0.92;
    font-size: clamp(2.35rem, 5vw, 4.7rem);
    max-width: 8ch;
}

.hero-carousel-copy .lead {
    max-width: 34ch;
    font-size: 0.95rem;
}

.hero-carousel-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    width: 54px;
    height: 54px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(0, 0, 0, 0.36);
    color: white;
    font-size: 1.9rem;
    line-height: 1;
    cursor: pointer;
    backdrop-filter: blur(10px);
}

.hero-carousel-control-prev {
    left: 1rem;
}

.hero-carousel-control-next {
    right: 1rem;
}

.hero-carousel-dots {
    position: absolute;
    left: 50%;
    bottom: 1.4rem;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.45rem 0.65rem;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.32);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.hero-carousel-dot {
    width: 12px;
    height: 12px;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.35);
    cursor: pointer;
    transition: transform 160ms ease, background 160ms ease, width 160ms ease;
}

.hero-carousel-dot.is-active {
    width: 34px;
    background: var(--gold);
}

.hero-carousel-dot:hover {
    transform: scale(1.08);
}

.hero-panel {
    display: grid;
    gap: 1rem;
}

.hero-feature {
    display: grid;
    align-content: end;
    min-height: 420px;
    padding: 1.25rem;
    border-radius: var(--radius);
    border: 1px solid var(--line);
    background:
        linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.72)),
        radial-gradient(circle at top right, rgba(180, 20, 28, 0.36), transparent 34%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.01));
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
}

.hero-feature::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.12), transparent 18%),
        radial-gradient(circle at 70% 18%, rgba(255, 255, 255, 0.08), transparent 15%),
        radial-gradient(circle at 45% 50%, rgba(216, 194, 160, 0.14), transparent 28%);
    opacity: 0.9;
}

.hero-feature > * {
    position: relative;
    z-index: 1;
}

.hero-feature-badge {
    display: inline-flex;
    align-self: start;
    margin-bottom: auto;
    padding: 0.45rem 0.7rem;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.34);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-size: 0.72rem;
}

.hero-feature strong {
    font-family: Oswald, sans-serif;
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 0.95;
    margin: 0.9rem 0 0.5rem;
}

.hero-feature p {
    margin: 0;
    color: var(--muted);
    max-width: 42ch;
}

.hero-feature-link {
    margin-top: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-weight: 700;
}

.match-card,
.news-item,
.panel-card,
.module-card,
.status-chip,
.kpi-card,
.auth-brand,
.auth-card {
    background: var(--surface);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    border-radius: var(--radius);
}

.match-card {
    padding: 1.2rem;
}

.match-card h2 {
    font-size: 2.35rem;
    margin-bottom: 0.75rem;
}

.match-badge,
.card-tag,
.news-meta span,
.news-meta small,
.status-chip span,
.module-slug,
.activity-item span,
.kpi-card span {
    display: block;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-size: 0.72rem;
}

.match-kicker {
    margin: 0.4rem 0 0.25rem;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 0.78rem;
}

.match-card dl {
    display: grid;
    gap: 0.8rem;
    margin: 0;
}

.match-card dt {
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 0.72rem;
}

.match-card dd {
    margin: 0.2rem 0 0;
    font-weight: 600;
}

.section {
    padding: 2.75rem 0;
}

.section-alt,
.section-minimal {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.015), transparent);
}

.section-head {
    display: grid;
    gap: 0.6rem;
    margin-bottom: 1.35rem;
}

.home-section-head {
    justify-items: center;
    text-align: center;
}

.home-section-head .section-kicker {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 0.22em;
    font-size: 0.72rem;
}

.home-section-head h2 {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.home-section-head h2::before,
.home-section-head h2::after {
    content: "";
    width: clamp(40px, 10vw, 180px);
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.24), transparent);
}

.section-head h2 {
    font-size: clamp(1.8rem, 4vw, 2.7rem);
}

.section-head p {
    max-width: 70ch;
}

.news-list,
.quick-links,
.card-grid,
.fixture-list,
.partner-row,
.kpi-grid,
.module-grid,
.timeline {
    display: grid;
    gap: 1rem;
}

.slider-shell {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 0.75rem;
    align-items: center;
}

.slider-track {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: clamp(220px, 28vw, 320px);
    gap: 1rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding: 0.25rem 0 0.5rem;
    scrollbar-width: none;
}

.slider-track::-webkit-scrollbar {
    display: none;
}

.slider-button {
    width: 44px;
    height: 44px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.04);
    color: white;
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
}

.slide-card {
    position: relative;
    display: grid;
    gap: 0.75rem;
    padding: 1rem;
    min-height: 100%;
    border-radius: var(--radius);
    border: 1px solid var(--line);
    background: var(--surface);
    box-shadow: var(--shadow);
    scroll-snap-align: start;
}

.slide-label {
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 0.7rem;
}

.slide-media {
    min-height: 180px;
    border-radius: 18px;
    padding: 1rem;
    display: flex;
    align-items: end;
    justify-content: start;
    overflow: hidden;
    position: relative;
}

.slide-media::before,
.slide-media::after {
    content: "";
    position: absolute;
    inset: 0;
}

.slide-media::before {
    background:
        radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.14), transparent 20%),
        radial-gradient(circle at 75% 28%, rgba(255, 255, 255, 0.1), transparent 18%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.04), rgba(0, 0, 0, 0.18));
}

.slide-media::after {
    background:
        radial-gradient(circle at 65% 60%, rgba(255, 255, 255, 0.12), transparent 12%),
        radial-gradient(circle at 55% 48%, rgba(255, 255, 255, 0.06), transparent 32%);
    opacity: 0.8;
}

.slide-media span {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    padding: 0.4rem 0.7rem;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.28);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.slide-card strong {
    font-family: Oswald, sans-serif;
    font-size: 1.55rem;
    text-transform: uppercase;
    line-height: 1;
}

.slide-card p {
    margin: 0;
    color: var(--muted);
}

.slide-one .slide-media {
    background:
        linear-gradient(180deg, rgba(0, 0, 0, 0.14), rgba(0, 0, 0, 0.56)),
        radial-gradient(circle at 30% 30%, rgba(180, 20, 28, 0.6), transparent 30%),
        linear-gradient(135deg, #1c1c1c, #0f0f0f);
}

.slide-two .slide-media {
    background:
        linear-gradient(180deg, rgba(0, 0, 0, 0.14), rgba(0, 0, 0, 0.56)),
        radial-gradient(circle at 70% 20%, rgba(216, 194, 160, 0.5), transparent 30%),
        linear-gradient(135deg, #1a1411, #0f0f0f);
}

.slide-three .slide-media {
    background:
        linear-gradient(180deg, rgba(0, 0, 0, 0.14), rgba(0, 0, 0, 0.56)),
        radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.16), transparent 25%),
        linear-gradient(135deg, #141414, #0d0d0d);
}

.slide-four .slide-media {
    background:
        linear-gradient(180deg, rgba(0, 0, 0, 0.14), rgba(0, 0, 0, 0.56)),
        radial-gradient(circle at 55% 30%, rgba(180, 20, 28, 0.42), transparent 26%),
        linear-gradient(135deg, #111111, #0b0b0b);
}

.match-band {
    background:
        radial-gradient(circle at top, rgba(180, 20, 28, 0.28), transparent 30%),
        linear-gradient(180deg, rgba(18, 6, 7, 0.96), rgba(8, 8, 8, 0.98));
    color: white;
    border-top: 1px solid rgba(180, 20, 28, 0.32);
    border-bottom: 1px solid rgba(180, 20, 28, 0.24);
}

.match-band .section-kicker {
    color: var(--gold);
}

.match-band .home-section-head h2 {
    color: white;
}

.match-band .home-section-head h2::before,
.match-band .home-section-head h2::after {
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.22), transparent);
}

.match-shell {
    display: grid;
    gap: 1rem;
}

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

.match-track {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 100%;
    gap: 1rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;
}

.match-track::-webkit-scrollbar {
    display: none;
}

.match-board {
    display: grid;
    gap: 1rem;
    padding: 1.25rem;
    border-radius: 28px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.025)),
        radial-gradient(circle at top, rgba(180, 20, 28, 0.16), transparent 35%);
    box-shadow: 0 28px 50px rgba(0, 0, 0, 0.28);
    scroll-snap-align: start;
}

.match-board-top,
.match-board-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    color: rgba(255, 255, 255, 0.66);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.72rem;
}

.match-board-top strong {
    color: rgba(255, 255, 255, 0.9);
}

.match-board-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 360px) minmax(0, 1fr);
    align-items: center;
    gap: 1rem;
    padding: 0.95rem 0.75rem;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.match-team {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    min-width: 0;
}

.match-team-home {
    justify-self: start;
}

.match-team-away {
    justify-self: end;
    flex-direction: row-reverse;
    text-align: right;
}

.match-team-mark {
    width: 74px;
    height: 74px;
    border-radius: 50%;
    flex: 0 0 auto;
    overflow: hidden;
    display: grid;
    place-items: center;
    border: 2px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
}

.match-team-mark img {
    width: 78%;
    height: 78%;
    object-fit: contain;
    display: block;
}

.match-team-mark-away {
    background: linear-gradient(135deg, var(--red), #7d0f14);
    color: white;
    font-family: Oswald, sans-serif;
    font-size: 1.45rem;
    letter-spacing: 0.08em;
}

.match-team-copy strong {
    display: block;
    font-family: Oswald, sans-serif;
    text-transform: uppercase;
    font-size: clamp(1.45rem, 2.8vw, 2rem);
    line-height: 1;
    color: white;
}

.match-team-copy span {
    display: block;
    margin-top: 0.25rem;
    color: rgba(255, 255, 255, 0.68);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.7rem;
}

.match-score-card {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.85rem;
    padding: 0.95rem 1.1rem;
    border-radius: 24px;
    background: linear-gradient(135deg, #311112, #1a0d0d);
    color: white;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.match-score-card span {
    width: 62px;
    height: 62px;
    display: grid;
    place-items: center;
    border-radius: 18px;
    background: linear-gradient(135deg, #f7d7d9, #ffffff);
    color: #1d1d1d;
    font-family: Oswald, sans-serif;
    font-size: 2.2rem;
}

.match-score-card b {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    font-family: Oswald, sans-serif;
    font-size: 0.85rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.88);
}

.match-board-bottom {
    color: rgba(255, 255, 255, 0.62);
}

.match-board-empty {
    place-items: center;
    min-height: 220px;
}

.match-board-empty-copy {
    display: grid;
    gap: 0.5rem;
    justify-items: center;
    text-align: center;
    padding: 1rem;
}

.match-board-empty-copy span {
    font-family: Oswald, sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--gold);
    font-size: 0.78rem;
}

.match-board-empty-copy strong {
    max-width: 34ch;
    font-size: clamp(1.35rem, 3vw, 1.8rem);
    line-height: 1.05;
}

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

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

.editorial-page {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.5fr);
    gap: clamp(2rem, 5vw, 5rem);
    align-items: start;
}

.editorial-page-head {
    position: sticky;
    top: 6rem;
    display: grid;
    gap: 1rem;
    padding: clamp(1.25rem, 3vw, 2rem);
    border: 1px solid var(--line);
    border-radius: 26px;
    background:
        linear-gradient(135deg, rgba(225, 19, 35, 0.16), rgba(255, 255, 255, 0.035)),
        rgba(255, 255, 255, 0.025);
    box-shadow: var(--shadow);
}

.editorial-page-head span {
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--gold);
}

.editorial-page-head h2 {
    max-width: 10ch;
    font-size: clamp(2.2rem, 5vw, 4.6rem);
    line-height: 0.92;
}

.editorial-page-head p {
    color: var(--muted);
    font-size: 1.05rem;
}

.editorial-page-body {
    display: grid;
    gap: 1.25rem;
    padding: clamp(1.5rem, 4vw, 3rem);
    border-top: 4px solid var(--red);
    border-bottom: 1px solid var(--line);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.015)),
        rgba(255, 255, 255, 0.02);
    box-shadow: var(--shadow);
}

.editorial-page-image {
    width: 100%;
    max-height: 420px;
    object-fit: cover;
    border-radius: 20px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.04);
}

.editorial-page-gallery {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.8rem;
    margin-top: 1rem;
}

.editorial-page-gallery img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 16px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.04);
}

.editorial-page-body p {
    margin: 0;
    color: rgba(255, 255, 255, 0.78);
    font-size: clamp(1rem, 1.3vw, 1.15rem);
    line-height: 1.85;
}

.editorial-page-body h3 {
    margin: 1rem 0 0;
    color: var(--text);
    font-size: clamp(1.5rem, 3vw, 2.2rem);
}

.news-item,
.content-card,
.timeline-card {
    padding: 1.25rem;
}

.news-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.75rem;
}

.news-meta small {
    color: var(--muted);
}

.news-item h3,
.content-card h3,
.panel-card h2,
.timeline-card h3,
.module-card h3 {
    font-size: 1.55rem;
    margin-bottom: 0.55rem;
}

.news-item p {
    margin: 0;
}

.news-directory {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 0.8rem;
}

.news-directory-card,
.news-directory-empty,
.news-article {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background:
        radial-gradient(circle at 16% 18%, rgba(225, 20, 35, 0.18), transparent 24%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.018));
    box-shadow: var(--shadow);
}

.news-directory-card {
    display: grid;
    grid-template-rows: 128px 1fr;
    min-height: 0;
    overflow: hidden;
}

.news-directory-media {
    display: flex;
    min-height: 0;
    height: 128px;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.04);
    color: var(--gold);
    font-weight: 800;
    letter-spacing: 0.16em;
    text-decoration: none;
    text-transform: uppercase;
}

.news-directory-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.news-directory-card:hover .news-directory-media img {
    transform: scale(1.045);
}

.news-directory-copy {
    display: grid;
    align-content: start;
    gap: 0.45rem;
    padding: 0.85rem;
}

.news-directory-copy time,
.news-article-meta {
    color: var(--gold);
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.news-directory-copy h3 {
    margin: 0;
    font-size: clamp(1rem, 1.4vw, 1.22rem);
    line-height: 1.12;
}

.news-directory-copy h3 a,
.news-read-more {
    color: var(--text);
    text-decoration: none;
}

.news-directory-copy p {
    display: none;
    max-width: 70ch;
    margin: 0;
    color: rgba(255, 255, 255, 0.72);
    line-height: 1.45;
    overflow: hidden;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.news-read-more {
    justify-self: start;
    margin-top: 0.25rem;
    padding: 0.42rem 0.72rem;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.04);
    font-size: 0.82rem;
    font-weight: 800;
}

.news-read-more:hover {
    border-color: rgba(225, 20, 35, 0.7);
    background: rgba(225, 20, 35, 0.2);
}

.news-directory-empty {
    padding: 2rem;
}

.news-directory-empty h3 {
    margin: 0;
}

.news-article {
    display: grid;
    gap: 1.15rem;
    padding: clamp(1rem, 3vw, 1.8rem);
}

.news-article-image {
    width: 100%;
    max-height: 420px;
    object-fit: cover;
    border-radius: 22px;
    border: 1px solid var(--line);
}

.news-article-meta {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
}

.news-article-body {
    display: grid;
    gap: 1.1rem;
    max-width: 86ch;
}

.news-article-body p {
    margin: 0;
    color: rgba(255, 255, 255, 0.8);
    font-size: clamp(0.98rem, 1.2vw, 1.08rem);
    line-height: 1.65;
}

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

.quick-link {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--line);
}

.fixture-strip {
    display: grid;
    gap: 1rem;
}

.sponsor-band {
    padding-top: 1rem;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.sponsor-shell {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 0.75rem;
    align-items: center;
}

.sponsor-grid {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: clamp(220px, 24vw, 280px);
    gap: 1rem;
    overflow-x: auto;
    padding-bottom: 0.25rem;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

.sponsor-grid::-webkit-scrollbar {
    display: none;
}

.sponsor-card {
    height: 150px;
    display: grid;
    place-items: center;
    padding: 1rem 1.25rem;
    border-radius: 18px;
    border: 1px solid var(--line);
    background:
        radial-gradient(circle at top, rgba(255, 255, 255, 0.05), transparent 55%),
        rgba(255, 255, 255, 0.03);
    box-shadow: var(--shadow);
    transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
    scroll-snap-align: start;
}

.sponsor-card:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.18);
    background:
        radial-gradient(circle at top, rgba(255, 255, 255, 0.08), transparent 55%),
        rgba(255, 255, 255, 0.05);
}

.sponsor-card img {
    width: auto;
    height: auto;
    max-width: 180px;
    max-height: 88px;
    object-fit: contain;
}

.sponsor-card span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    text-align: center;
    color: var(--muted);
    font-family: Oswald, sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 0.92rem;
}

.squad-section {
    padding-top: 1rem;
}

.squad-layout {
    display: grid;
    gap: 1rem;
}

.squad-panel {
    position: relative;
    overflow: hidden;
    padding: 1rem;
    border-radius: 24px;
    border: 1px solid var(--line);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.06), transparent 25%),
        rgba(255, 255, 255, 0.03);
    box-shadow: var(--shadow);
}

.squad-panel::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    border-left: 4px solid rgba(180, 20, 28, 0.8);
    opacity: 0.7;
}

.squad-panel-keeper::before {
    border-left-color: rgba(255, 255, 255, 0.45);
}

.squad-panel-defense::before {
    border-left-color: rgba(255, 198, 88, 0.85);
}

.squad-panel-midfield::before {
    border-left-color: rgba(46, 184, 113, 0.85);
}

.squad-panel-attack::before {
    border-left-color: rgba(226, 58, 64, 0.88);
}

.squad-panel-head {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.85rem;
}

.squad-panel-label {
    display: inline-block;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 0.72rem;
    margin-bottom: 0.2rem;
}

.squad-panel-head h3 {
    font-family: Oswald, sans-serif;
    text-transform: uppercase;
    font-size: clamp(1.35rem, 2.8vw, 1.8rem);
    line-height: 1;
}

.squad-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(118px, 1fr));
    gap: 0.75rem 0.6rem;
    align-items: start;
    justify-items: center;
}

.squad-player {
    width: 100%;
    max-width: 122px;
    display: grid;
    justify-items: center;
    gap: 0.38rem;
    text-align: center;
}

.squad-player-avatar {
    width: clamp(54px, 5vw, 76px);
    height: clamp(54px, 5vw, 76px);
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid rgba(255, 255, 255, 0.88);
    background: rgba(9, 17, 10, 0.95);
    display: grid;
    place-items: center;
    color: white;
    font-family: Oswald, sans-serif;
    font-size: 0.96rem;
    letter-spacing: 0.08em;
    box-shadow: 0 14px 24px rgba(0, 0, 0, 0.28);
}

.squad-player-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.squad-player-name {
    display: block;
    width: 100%;
    font-family: Oswald, sans-serif;
    font-size: 0.72rem;
    text-transform: uppercase;
    line-height: 1.08;
    color: rgba(255, 244, 219, 0.96);
    text-wrap: balance;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.45);
}

.squad-empty {
    display: grid;
    place-items: center;
    min-height: 72px;
    width: 100%;
    border-radius: 18px;
    border: 1px dashed rgba(255, 255, 255, 0.18);
    color: rgba(255, 255, 255, 0.62);
    background: rgba(255, 255, 255, 0.03);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.72rem;
}

.contact-band {
    background: linear-gradient(135deg, rgba(180, 20, 28, 0.13), rgba(255, 255, 255, 0.02));
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.contact-strap {
    margin: 0;
    color: var(--muted);
}

.contact-grid {
    grid-template-columns: 1.3fr auto;
    align-items: center;
}

.contact-page-grid {
    grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
    align-items: stretch;
}

.contact-copy-stack {
    display: grid;
    gap: 1rem;
}

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

.contact-info-card {
    display: grid;
    gap: 0.45rem;
    align-content: start;
}

.contact-info-card p {
    margin: 0;
    color: var(--text);
    font-weight: 700;
    word-break: break-word;
}

.contact-map-card {
    padding: 1rem;
    display: grid;
    min-height: 100%;
}

.contact-map {
    height: 100%;
    min-height: 420px;
    border-radius: 18px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.04);
}

.contact-map.leaflet-container {
    height: 100%;
    width: 100%;
    border-radius: inherit;
}

.footer {
    padding: 1.4rem 0 2rem;
}

.footer-grid {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    color: var(--muted);
}

.footer a {
    color: white;
    font-weight: 700;
}

.footer-home {
    position: relative;
    margin-top: 0;
    padding: 2.4rem 0 1.6rem;
    background:
        radial-gradient(circle at top, rgba(255, 255, 255, 0.05), transparent 30%),
        linear-gradient(180deg, rgba(18, 18, 18, 0.94), rgba(8, 8, 8, 0.98));
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.86);
}

.home-footer-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
}

.home-footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
}

.home-footer-brand img {
    width: 58px;
    height: 58px;
    object-fit: contain;
    display: block;
}

.home-footer-brand strong {
    display: block;
    font-family: Oswald, sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    font-size: clamp(1.5rem, 3vw, 2.35rem);
    line-height: 0.95;
}

.home-footer-brand span {
    display: block;
    margin-top: 0.2rem;
    color: rgba(255, 255, 255, 0.66);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 0.72rem;
}

.home-footer-socials {
    display: inline-flex;
    align-items: center;
    gap: 0.95rem;
}

.home-footer-socials a,
.home-footer-social-link {
    width: 24px;
    height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.7);
    transition: color 160ms ease, transform 160ms ease;
}

.home-footer-social-link.is-disabled {
    opacity: 0.42;
    cursor: default;
}

.home-footer-socials a:hover {
    color: white;
    transform: translateY(-1px);
}

.home-footer-socials svg {
    width: 100%;
    height: 100%;
    fill: currentColor;
}

.home-footer-divider {
    margin-top: 1.4rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.home-footer-copy {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
    padding-top: 1rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.58);
    font-size: 0.92rem;
}

.home-footer-copy p {
    margin: 0;
}

.home-footer-copy a {
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.home-footer-copy a:hover {
    color: white;
}

.admin-body {
    background: linear-gradient(180deg, #070707 0%, #040404 100%);
}

.auth-body {
    background: linear-gradient(180deg, #090909 0%, #040404 100%);
}

.auth-page {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 2rem 0;
}

.auth-shell {
    grid-template-columns: 1fr 0.9fr;
    width: min(1080px, calc(100vw - 2rem));
}

.auth-brand {
    padding: 2rem;
    background:
        radial-gradient(circle at top left, rgba(180, 20, 28, 0.18), transparent 35%),
        rgba(255, 255, 255, 0.03);
}

.auth-brand img {
    width: 104px;
    height: 104px;
    border-radius: 999px;
}

.auth-brand h1 {
    font-size: clamp(2.3rem, 5vw, 4rem);
}

.auth-card {
    padding: 2rem;
}

.auth-form {
    display: grid;
    gap: 0.95rem;
}

.auth-form label {
    display: grid;
    gap: 0.4rem;
}

.auth-form span {
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-size: 0.72rem;
}

.auth-form input {
    width: 100%;
    padding: 0.92rem 1rem;
    border-radius: 16px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.04);
    color: var(--text);
}

.auth-check {
    display: flex !important;
    align-items: center;
    gap: 0.6rem;
    color: var(--muted);
}

.auth-check input {
    width: 18px;
    height: 18px;
    accent-color: var(--red);
}

.auth-submit {
    width: 100%;
}

.auth-alert {
    padding: 1rem;
    border-radius: 16px;
    background: rgba(180, 20, 28, 0.14);
    border: 1px solid rgba(180, 20, 28, 0.22);
}

.auth-footnote {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    color: var(--muted);
}

.admin-page {
    position: relative;
}

.admin-hero {
    padding: 3rem 0 1rem;
}

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

.admin-hero h1 {
    font-size: clamp(2.8rem, 6vw, 5rem);
}

.status-stack {
    display: grid;
    gap: 0.8rem;
}

.status-chip,
.kpi-card,
.module-card,
.panel-card {
    padding: 1rem;
}

.status-chip strong,
.kpi-card strong {
    display: block;
    font-family: Oswald, sans-serif;
    font-size: 1.45rem;
}

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

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

.module-card {
    display: grid;
    gap: 0.8rem;
}

.module-card-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
}

.module-card-actions .button {
    flex: 1 1 130px;
    padding-inline: 0.9rem;
}

.module-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.module-pills span {
    display: inline-flex;
    padding: 0.4rem 0.75rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--line);
    color: var(--muted);
    font-size: 0.88rem;
}

.split-grid {
    grid-template-columns: 1fr 1fr;
    align-items: start;
    gap: 1rem;
}

.split-grid-compact {
    grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
}

.split-grid > .panel-card,
.split-grid > .hero-editor-card {
    min-width: 0;
    align-self: start;
}

.activity-list,
.table-list {
    display: grid;
    gap: 0.8rem;
}

.activity-item,
.table-row {
    padding: 0.95rem 1rem;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--line);
}

.diagnostic-list {
    display: grid;
    gap: 0.85rem;
}

.diagnostic-actions {
    display: flex;
    justify-content: flex-start;
    margin-bottom: 1rem;
}

.diagnostic-item {
    display: grid;
    grid-template-columns: minmax(0, 0.7fr) minmax(0, 1fr);
    gap: 1rem;
    align-items: center;
    padding: 1rem;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--line);
}

.diagnostic-item span {
    display: block;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-size: 0.72rem;
}

.diagnostic-item strong {
    display: block;
    margin-top: 0.2rem;
    font-family: Oswald, sans-serif;
    font-size: 1.3rem;
}

.diagnostic-item p {
    margin: 0;
    color: var(--muted);
    overflow-wrap: anywhere;
}

.diagnostic-item-ok {
    border-color: rgba(116, 196, 118, 0.28);
}

.diagnostic-item-warning {
    border-color: rgba(221, 174, 82, 0.35);
}

.diagnostic-item-error,
.status-chip-danger {
    border-color: rgba(180, 20, 28, 0.45);
    background: rgba(180, 20, 28, 0.12);
}

.workflow-list {
    margin: 0;
    padding-left: 1.15rem;
}

.module-editor {
    display: grid;
    gap: 0.7rem;
}

.module-editor label {
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-size: 0.72rem;
}

.editor-status {
    padding: 0.85rem 1rem;
    border-radius: 16px;
    background: rgba(180, 20, 28, 0.12);
    border: 1px solid rgba(180, 20, 28, 0.18);
}

.album-photo-panel {
    display: grid;
    gap: 0.8rem;
    padding-top: 1rem;
    border-top: 1px solid var(--line);
}

.album-photo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 0.75rem;
}

.album-photo-card {
    display: grid;
    gap: 0.45rem;
    padding: 0.55rem;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.03);
}

.album-photo-card img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 10px;
}

.album-photo-card span {
    color: var(--muted);
    font-size: 0.78rem;
    overflow-wrap: anywhere;
}

.media-album-cover {
    position: relative;
    display: block;
    width: 100%;
    padding: 0;
    margin: 0.75rem 0 1rem;
    border: 0;
    border-radius: 16px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.05);
    color: var(--text);
    cursor: pointer;
}

.media-album-cover img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    transition: transform 0.25s ease;
}

.media-album-cover:hover img {
    transform: scale(1.03);
}

.media-album-cover span {
    position: absolute;
    right: 0.8rem;
    bottom: 0.8rem;
    padding: 0.4rem 0.7rem;
    border-radius: 999px;
    background: rgba(8, 8, 8, 0.78);
    border: 1px solid var(--line);
    font-size: 0.78rem;
    font-weight: 800;
}

.media-lightbox {
    position: fixed;
    inset: 0;
    z-index: 90;
    display: none;
    place-items: center;
    padding: 1rem;
}

.media-lightbox.is-open {
    display: grid;
}

.media-lightbox-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.82);
    backdrop-filter: blur(10px);
}

.media-lightbox-dialog {
    position: relative;
    z-index: 1;
    width: min(1040px, 100%);
    max-height: min(760px, 92vh);
    display: grid;
    gap: 0.9rem;
    padding: 1rem;
    border-radius: 24px;
    border: 1px solid var(--line);
    background: rgba(14, 14, 14, 0.96);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}

.media-lightbox-close {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    width: 42px;
    height: 42px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.08);
    color: var(--text);
    font-size: 1.6rem;
    cursor: pointer;
}

.media-lightbox-head {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding-right: 3rem;
}

.media-lightbox-head strong {
    font-family: Oswald, sans-serif;
    font-size: 1.4rem;
}

.media-lightbox-head span,
.media-lightbox-dialog p {
    color: var(--muted);
}

.media-lightbox-stage {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 0.8rem;
    align-items: center;
}

.media-lightbox-stage img {
    width: 100%;
    max-height: 62vh;
    object-fit: contain;
    border-radius: 18px;
    background: #050505;
}

.media-lightbox-nav {
    width: 46px;
    height: 46px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.08);
    color: var(--text);
    font-size: 2rem;
    cursor: pointer;
}

.media-lightbox-nav:disabled {
    opacity: 0.35;
    cursor: not-allowed;
}

.media-lightbox-dialog p {
    margin: 0;
}

.content-card-image {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 16px;
    margin-bottom: 1rem;
    background: rgba(255, 255, 255, 0.05);
}

.module-editor textarea {
    width: 100%;
    min-height: 150px;
    resize: vertical;
    border-radius: 16px;
    padding: 1rem;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.03);
    color: var(--text);
}

.hero-editor-card {
    display: grid;
    gap: 1.1rem;
}

.hero-editor {
    display: grid;
    gap: 1rem;
}

.user-admin-form {
    display: grid;
    gap: 0.85rem;
    width: 100%;
}

.hero-editor-controls {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.9rem;
    padding: 1rem;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.03);
}

.hero-editor-controls-copy {
    display: grid;
    gap: 0.15rem;
}

.hero-editor-controls-copy strong {
    font-family: Oswald, sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.hero-editor-controls-copy span {
    color: var(--muted);
    font-size: 0.9rem;
}

.hero-editor-slides {
    display: grid;
    gap: 1rem;
}

.hero-editor-item {
    padding: 1rem;
    border-radius: 18px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.03);
}

.hero-editor-item-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.85rem;
}

.hero-editor-item-head strong {
    font-family: Oswald, sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.hero-editor-item-head span {
    color: var(--muted);
    font-size: 0.9rem;
}

.hero-editor-remove {
    white-space: nowrap;
}

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

.hero-editor-grid label {
    display: grid;
    gap: 0.45rem;
}

.hero-editor-player .hero-editor-grid {
    align-items: start;
}

.hero-editor-player .hero-editor-grid label {
    align-self: start;
}

.hero-editor-player .module-field-shirt-number,
.hero-editor-player .module-field-status,
.hero-editor-player .module-field-goals,
.hero-editor-player .module-field-sort-order {
    min-height: 0;
}

.hero-editor-player .module-field-photo-file {
    gap: 0.55rem;
}

.hero-editor-grid label input[type="file"] {
    width: 100%;
    border-radius: 16px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.04);
    color: var(--text);
    padding: 0.78rem 1rem;
}

.hero-editor-grid span {
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-size: 0.72rem;
}

.hero-editor-grid input[type="text"],
.hero-editor-grid input[type="number"],
.hero-editor-grid input[type="url"],
.hero-editor-grid input[type="datetime-local"],
.hero-editor-grid select,
.hero-editor-grid textarea {
    width: 100%;
    border-radius: 16px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.04);
    color: var(--text);
    padding: 0.92rem 1rem;
}

.hero-editor-grid textarea {
    min-height: 120px;
    resize: vertical;
}

.hero-editor-grid select,
.hero-editor-grid input[type="datetime-local"],
.hero-editor-grid input[type="url"] {
    min-height: 52px;
}

.hero-editor-grid select,
.auth-form select,
.user-admin-form select {
    color-scheme: dark;
    background-color: #191919;
    color: var(--text);
}

.hero-editor-grid select option,
.auth-form select option,
.user-admin-form select option {
    background-color: #191919;
    color: var(--text);
}

.hero-editor-grid select option:checked,
.auth-form select option:checked,
.user-admin-form select option:checked {
    background-color: var(--red);
    color: #fff;
}

.hero-editor-preview {
    display: block;
    margin-top: 0.15rem;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.03);
}

.hero-editor-preview img {
    display: block;
    width: 100%;
    height: 120px;
    object-fit: cover;
}

.admin-current-upload-preview {
    display: block;
    width: 100%;
    max-width: 180px;
    height: 120px;
    margin-top: 0.15rem;
    border-radius: 14px;
    border: 1px solid var(--line);
    background: #111;
    object-fit: cover;
}

.hero-editor-player .admin-current-upload-preview,
.hero-editor-player .hero-editor-preview-live img {
    max-width: none;
    height: 120px;
}

.hero-editor-preview-live[hidden],
.upload-field-summary:empty {
    display: none;
}

.hero-editor-full {
    grid-column: 1 / -1;
}

.hero-editor-check {
    display: flex !important;
    align-items: center;
    gap: 0.6rem;
}

.hero-editor-check input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--red);
    padding: 0;
    border: 0;
    background: transparent;
}

.hero-editor-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.hero-editor-compact {
    gap: 0.9rem;
}

.hero-editor-compact .hero-editor-grid {
    gap: 0.8rem;
}

.hero-editor-compact textarea {
    min-height: 0;
}

.hero-editor-compact img {
    max-height: 120px;
    object-fit: cover;
}

.panel-card-compact-list .table-list {
    gap: 0.65rem;
}

.panel-card-compact-list .table-row {
    padding: 0.75rem;
    border-radius: 14px;
}

.panel-card-compact-list .table-row-media {
    width: 44px;
    height: 44px;
    flex-basis: 44px;
    border-radius: 12px;
}

.panel-card-compact-list .table-row strong {
    font-size: 0.95rem;
}

.panel-card-compact-list .table-row span {
    font-size: 0.84rem;
}

.panel-card-compact-list .row-actions {
    margin-top: 0.55rem;
}

.table-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.table-row-stack {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-items: flex-start;
}

.table-row-copy {
    flex: 1 1 auto;
    display: grid;
    gap: 0.2rem;
    min-width: 0;
}

.table-row-main {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    min-width: 0;
}

.table-row-media {
    width: 56px;
    height: 56px;
    flex: 0 0 56px;
    object-fit: cover;
    border-radius: 14px;
    background: #111;
}

.table-row-text {
    min-width: 0;
}

.table-row strong {
    display: block;
    margin-bottom: 0.2rem;
    line-height: 1.15;
    overflow-wrap: anywhere;
}

.table-row span {
    color: var(--muted);
    font-size: 0.92rem;
    line-height: 1.35;
}

.table-row small {
    color: var(--gold);
    font-size: 0.84rem;
}

.table-row-copy span {
    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.row-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
    gap: 0.5rem;
    flex-shrink: 0;
    margin-top: 0.75rem;
}

.table-meta {
    color: var(--muted);
    font-size: 0.9rem;
}

.button-small {
    padding: 0.72rem 0.95rem;
    font-size: 0.9rem;
}

.field-help {
    color: var(--muted);
    font-size: 0.8rem;
    line-height: 1.4;
}

.panel-card h2 {
    font-size: clamp(1.55rem, 3vw, 2.25rem);
}

.match-card-simple {
    min-height: 100%;
}

.hero-compact {
    padding-bottom: 1.75rem;
}

.quick-link,
.news-item,
.content-card,
.panel-card,
.module-card,
.timeline-card {
    box-shadow: var(--shadow);
}

@media (max-width: 1080px) {
    .hero-grid,
    .contact-grid,
    .auth-shell,
    .admin-hero-grid,
    .split-grid {
        grid-template-columns: 1fr;
    }

    .slider-shell {
        grid-template-columns: 1fr;
    }

    .slider-button {
        display: none;
    }

    .sponsor-shell {
        grid-template-columns: 1fr;
    }

    .match-carousel {
        grid-template-columns: 1fr;
    }

    .match-button-left,
    .match-button-right {
        display: none;
    }

    .contact-page-grid {
        grid-template-columns: 1fr;
    }

    .contact-card-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .media-card-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .editorial-page {
        grid-template-columns: 1fr;
    }

    .editorial-page-head {
        position: static;
    }

    .editorial-page-head h2 {
        max-width: none;
    }

    .editorial-page-gallery {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .news-directory-media {
        height: 120px;
    }

    .hero-carousel {
        min-height: 760px;
    }

    .hero-carousel-inner {
        grid-template-columns: 1fr;
        align-items: start;
        justify-items: start;
        padding-top: 2.5rem;
        padding-bottom: 5rem;
    }

    .home-section-head h2::before,
    .home-section-head h2::after {
        width: clamp(28px, 8vw, 80px);
    }

    .match-board-row {
        grid-template-columns: 1fr;
        justify-items: center;
        text-align: center;
    }

    .match-team-home,
    .match-team-away {
        justify-self: center;
    }

    .match-team-away {
        flex-direction: row;
        text-align: left;
    }

    .match-board-top,
    .match-board-bottom {
        flex-direction: column;
        text-align: center;
    }

    .news-list,
    .quick-links,
    .kpi-grid,
    .module-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .nav {
        display: none;
        position: absolute;
        top: calc(100% + 0.75rem);
        left: 0;
        right: 0;
        flex-direction: column;
        gap: 0.8rem;
        padding: 1rem;
        background: rgba(8, 8, 8, 0.98);
        border: 1px solid var(--line);
        border-radius: 18px;
        max-height: calc(100svh - 96px);
        overflow-y: auto;
    }

    .nav.is-open {
        display: flex;
    }

    .nav a {
        width: 100%;
    }

    .menu-toggle {
        display: inline-flex;
    }

    .hero {
        padding-top: 2.25rem;
    }

    .hero-copy h1 {
        max-width: 100%;
    }

    .news-directory-copy {
        padding: 0.8rem;
    }

    .news-directory-media {
        height: 115px;
    }

    .news-article-meta {
        flex-direction: column;
    }

    .hero-carousel {
        min-height: clamp(560px, calc(100svh - 80px), 720px);
    }

    .hero-carousel-inner {
        padding-left: 3.35rem;
        padding-right: 3.35rem;
    }

    .hero-carousel-control {
        width: 44px;
        height: 44px;
        font-size: 1.5rem;
    }

    .hero-carousel-control-prev {
        left: 0.6rem;
    }

    .hero-carousel-control-next {
        right: 0.6rem;
    }

    .hero-carousel-dots {
        bottom: 0.95rem;
    }

    .hero-carousel-copy {
        width: 100%;
        padding: 1.45rem 1.35rem;
    }

    .match-team-mark {
        width: 62px;
        height: 62px;
    }

    .match-score-card span {
        width: 58px;
        height: 58px;
        font-size: 1.9rem;
    }

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

    .squad-player {
        min-width: 0;
        max-width: 100%;
    }

    .squad-grid {
        grid-template-columns: repeat(auto-fit, minmax(84px, 1fr));
        gap: 0.65rem 0.5rem;
    }

    .squad-panel {
        width: 100%;
        padding: 0.9rem;
    }

    .squad-panel-head {
        align-items: flex-start;
    }

    .squad-player-avatar {
        width: 60px;
        height: 60px;
    }

    .squad-player-name {
        font-size: 0.75rem;
    }

    .news-list,
    .quick-links,
    .kpi-grid,
    .module-grid {
        grid-template-columns: 1fr;
    }

    .sponsor-card {
        height: 140px;
    }

    .footer-grid {
        flex-direction: column;
        align-items: flex-start;
    }

    .home-footer-top {
        flex-direction: column;
        align-items: flex-start;
    }

    .home-footer-copy {
        align-items: flex-start;
        text-align: left;
    }

    .table-row {
        align-items: flex-start;
        flex-direction: column;
    }

    .row-actions {
        width: 100%;
        justify-content: flex-start;
    }

    .row-actions .button-small {
        flex: 1 1 130px;
    }

    .diagnostic-item {
        grid-template-columns: 1fr;
    }

    .media-lightbox-dialog {
        padding: 0.8rem;
        border-radius: 18px;
    }

    .media-lightbox-stage {
        grid-template-columns: 1fr;
    }

    .media-lightbox-nav {
        width: 100%;
        height: 42px;
    }

    .contact-card-grid {
        grid-template-columns: 1fr;
    }

    .media-card-grid {
        grid-template-columns: 1fr;
    }

    .editorial-page-gallery {
        grid-template-columns: 1fr;
    }

    .contact-map {
        min-height: 320px;
    }
}
