﻿:root {
    --bg-deep: #02071b;
    --bg-mid: #0a1e74;
    --bg-soft: #1840d5;
    --bg-glow: #63dbff;
    --panel: rgba(7, 20, 84, 0.34);
    --line: rgba(112, 206, 255, 0.16);
    --text: #f4f8ff;
    --muted: rgba(225, 237, 255, 0.72);
    --gold: #ffd86b;
    --green: #89f0b4;
    --red: #ff99a5;
    --shadow: 0 18px 40px rgba(0, 0, 0, 0.24);
}

html {
    background-color: var(--bg-deep);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    min-height: 100vh;
    color: var(--text);
    font-family: "Oxanium", sans-serif;
    background:
        radial-gradient(circle at 50% 46%, rgba(65, 126, 255, 0.08), transparent 16%),
        radial-gradient(circle at 16% 18%, rgba(24, 74, 210, 0.16), transparent 22%),
        radial-gradient(circle at 84% 18%, rgba(34, 101, 236, 0.12), transparent 20%),
        radial-gradient(circle at 50% 80%, rgba(12, 35, 124, 0.22), transparent 30%),
        linear-gradient(145deg, rgba(88, 160, 255, 0.05) 0%, transparent 28%),
        linear-gradient(220deg, rgba(42, 90, 220, 0.07) 0%, transparent 34%),
        linear-gradient(180deg, #050b34 0%, #04092b 24%, #03071f 52%, #020515 78%, #01030c 100%);
    overflow-x: hidden;
}

body.modal-open {
    overflow: hidden;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at 50% 42%, rgba(99, 205, 255, 0.035), transparent 13%),
        radial-gradient(circle at 50% 62%, rgba(39, 92, 233, 0.025), transparent 18%),
        linear-gradient(180deg, rgba(2, 7, 24, 0.08), rgba(2, 7, 24, 0.32));
    opacity: 1;
}

body::after {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at 8% 14%, rgba(255,255,255,0.5) 0 1px, transparent 2px),
        radial-gradient(circle at 14% 72%, rgba(180,226,255,0.36) 0 1px, transparent 2px),
        radial-gradient(circle at 22% 34%, rgba(255,255,255,0.44) 0 1.5px, transparent 2.5px),
        radial-gradient(circle at 30% 58%, rgba(171,223,255,0.34) 0 1px, transparent 2px),
        radial-gradient(circle at 36% 18%, rgba(255,255,255,0.52) 0 1px, transparent 2px),
        radial-gradient(circle at 48% 26%, rgba(180,226,255,0.32) 0 1px, transparent 2px),
        radial-gradient(circle at 56% 12%, rgba(255,255,255,0.4) 0 1.5px, transparent 2.5px),
        radial-gradient(circle at 64% 74%, rgba(178,224,255,0.3) 0 1px, transparent 2px),
        radial-gradient(circle at 72% 30%, rgba(255,255,255,0.46) 0 1px, transparent 2px),
        radial-gradient(circle at 78% 56%, rgba(160,220,255,0.3) 0 1px, transparent 2px),
        radial-gradient(circle at 86% 20%, rgba(255,255,255,0.48) 0 1.5px, transparent 2.5px),
        radial-gradient(circle at 92% 66%, rgba(176,224,255,0.3) 0 1px, transparent 2px),
        radial-gradient(ellipse at 50% 86%, rgba(82, 170, 255, 0.14), transparent 24%),
        linear-gradient(90deg, transparent 0%, rgba(84, 178, 255, 0.03) 50%, transparent 100%);
    opacity: 0.38;
}

.shell {
    position: relative;
    width: 100%;
    max-width: none;
    min-height: 100vh;
    margin: 0 auto;
    padding: 24px 32px 72px;
}

.topline {
    display: none;
}

.nav-wrap {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: center;
    padding-top: 2px;
}

.fullscreen-btn {
    position: absolute;
    top: 12px;
    right: 18px;
    width: 36px;
    height: 36px;
    padding: 7px;
    border-radius: 999px;
    border: 1px solid rgba(112, 208, 255, 0.16);
    background: rgba(255, 255, 255, 0.05);
    color: rgba(228, 238, 255, 0.72);
    cursor: pointer;
    z-index: 3;
    transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.fullscreen-btn:hover {
    color: white;
    border-color: rgba(106, 196, 255, 0.4);
    background: rgba(58, 133, 255, 0.15);
    box-shadow: 0 0 12px rgba(86, 184, 255, 0.18);
}

.fullscreen-btn .fs-icon {
    width: 100%;
    height: 100%;
    display: block;
}

.fullscreen-btn .fs-icon.fs-exit {
    display: none;
}

.fullscreen-btn.is-fullscreen .fs-icon.fs-enter {
    display: none;
}

.fullscreen-btn.is-fullscreen .fs-icon.fs-exit {
    display: block;
}

.nav {
    position: relative;
    display: flex;
    align-items: stretch;
    gap: 8px;
    filter: drop-shadow(0 14px 26px rgba(0, 0, 0, 0.28));
    margin-top: 2px;
}

.nav-logo-btn {
    position: absolute;
    right: calc(100% + 22px);
    top: 50%;
    width: 118px;
    min-width: 118px;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transform: translateY(-50%);
    transition: transform 0.22s ease, filter 0.22s ease;
}

.nav-logo-btn img {
    width: 108px;
    height: auto;
    object-fit: contain;
    filter:
        drop-shadow(0 0 12px rgba(87, 196, 255, 0.28))
        drop-shadow(0 0 28px rgba(62, 132, 255, 0.18));
}

.nav-logo-btn:hover,
.nav-logo-btn.active {
    transform: translateY(calc(-50% - 1px)) scale(1.03);
}

.nav-btn {
    position: relative;
    min-width: clamp(190px, 14.4vw, 264px);
    padding: 19px 34px 17px;
    border: 1px solid rgba(116, 207, 255, 0.34);
    background:
        linear-gradient(180deg, rgba(39, 92, 190, 0.24), rgba(7, 19, 61, 0.68)),
        radial-gradient(circle at top, rgba(127, 218, 255, 0.12), transparent 56%),
        linear-gradient(180deg, rgba(255,255,255,0.055), rgba(255,255,255,0.012));
    background-size: 100% 100%, 150% 150%, 100% 100%;
    background-position: 0 0, 50% 0, 0 0;
    color: rgba(231, 244, 255, 0.86);
    font-family: inherit;
    font-size: 17px;
    font-weight: 600;
    letter-spacing: 1.45px;
    text-transform: uppercase;
    cursor: pointer;
    border-radius: 6px;
    transition: transform 0.22s ease, color 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease, background 0.22s ease;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.1),
        inset 0 -18px 38px rgba(2, 9, 34, 0.34),
        inset 0 0 0 1px rgba(112, 206, 255, 0.08),
        0 0 18px rgba(24, 64, 213, 0.08);
    overflow: hidden;
}

.nav-btn::before {
    content: "";
    position: absolute;
    inset: 3px;
    border: 1px solid rgba(133, 221, 255, 0.18);
    border-radius: 4px;
    background:
        linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.008)),
        linear-gradient(90deg, rgba(99, 219, 255, 0.045), transparent 28%, transparent 72%, rgba(99, 219, 255, 0.045));
    pointer-events: none;
    opacity: 1;
}

.nav-btn::after {
    content: none;
}

.nav-corner {
    position: absolute;
    width: 24px;
    height: 24px;
    pointer-events: none;
    opacity: 0.76;
    transition: opacity 0.22s ease, transform 0.22s ease, filter 0.22s ease;
}

.nav-corner::before {
    z-index: 2;
}

.nav-corner::before,
.nav-corner::after {
    content: "";
    position: absolute;
    box-shadow:
        0 0 6px rgba(164, 240, 255, 0.44),
        0 0 16px rgba(82, 204, 255, 0.22),
        0 0 30px rgba(37, 108, 255, 0.12);
}

.nav-corner-tl {
    top: 9px;
    left: 9px;
    background: radial-gradient(circle at 0 0, rgba(219, 251, 255, 0.28), rgba(79, 208, 255, 0.14) 28%, transparent 64%);
}

.nav-corner-tl::before {
    top: 0;
    left: 0;
    width: 24px;
    height: 1px;
    background: linear-gradient(90deg, #f4fdff 0 10%, rgba(173, 243, 255, 0.96) 10% 28%, rgba(90, 218, 255, 0.74) 28% 66%, transparent 100%);
}

.nav-corner-tl::after {
    top: 0;
    left: 0;
    width: 1px;
    height: 24px;
    background: linear-gradient(180deg, #f4fdff 0 10%, rgba(173, 243, 255, 0.96) 10% 28%, rgba(90, 218, 255, 0.74) 28% 66%, transparent 100%);
}

.nav-corner-tr {
    top: 9px;
    right: 9px;
    background: radial-gradient(circle at 100% 0, rgba(219, 251, 255, 0.28), rgba(79, 208, 255, 0.14) 28%, transparent 64%);
}

.nav-corner-tr::before {
    top: 0;
    right: 0;
    width: 24px;
    height: 1px;
    background: linear-gradient(270deg, #f4fdff 0 10%, rgba(173, 243, 255, 0.96) 10% 28%, rgba(90, 218, 255, 0.74) 28% 66%, transparent 100%);
}

.nav-corner-tr::after {
    top: 0;
    right: 0;
    width: 1px;
    height: 24px;
    background: linear-gradient(180deg, #f4fdff 0 10%, rgba(173, 243, 255, 0.96) 10% 28%, rgba(90, 218, 255, 0.74) 28% 66%, transparent 100%);
}

.nav-corner-bl {
    bottom: 9px;
    left: 9px;
    background: radial-gradient(circle at 0 100%, rgba(219, 251, 255, 0.28), rgba(79, 208, 255, 0.14) 28%, transparent 64%);
}

.nav-corner-bl::before {
    bottom: 0;
    left: 0;
    width: 24px;
    height: 1px;
    background: linear-gradient(90deg, #f4fdff 0 10%, rgba(173, 243, 255, 0.96) 10% 28%, rgba(90, 218, 255, 0.74) 28% 66%, transparent 100%);
}

.nav-corner-bl::after {
    bottom: 0;
    left: 0;
    width: 1px;
    height: 24px;
    background: linear-gradient(0deg, #f4fdff 0 10%, rgba(173, 243, 255, 0.96) 10% 28%, rgba(90, 218, 255, 0.74) 28% 66%, transparent 100%);
}

.nav-corner-br {
    bottom: 9px;
    right: 9px;
    background: radial-gradient(circle at 100% 100%, rgba(219, 251, 255, 0.28), rgba(79, 208, 255, 0.14) 28%, transparent 64%);
}

.nav-corner-br::before {
    bottom: 0;
    right: 0;
    width: 24px;
    height: 1px;
    background: linear-gradient(270deg, #f4fdff 0 10%, rgba(173, 243, 255, 0.96) 10% 28%, rgba(90, 218, 255, 0.74) 28% 66%, transparent 100%);
}

.nav-corner-br::after {
    bottom: 0;
    right: 0;
    width: 1px;
    height: 24px;
    background: linear-gradient(0deg, #f4fdff 0 10%, rgba(173, 243, 255, 0.96) 10% 28%, rgba(90, 218, 255, 0.74) 28% 66%, transparent 100%);
}

.nav-btn:hover,
.nav-btn.active {
    color: #f4f8ff;
    border-color: rgba(146, 224, 255, 0.68);
    background:
        linear-gradient(180deg, rgba(58, 124, 226, 0.38), rgba(7, 22, 70, 0.82)),
        radial-gradient(circle at top, rgba(150, 232, 255, 0.22), transparent 58%),
        linear-gradient(180deg, rgba(255,255,255,0.1), rgba(255,255,255,0.018));
    background-size: 100% 100%, 150% 150%, 100% 100%;
    background-position: 0 0, 50% 0, 0 0;
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.16),
        inset 0 0 0 1px rgba(133, 221, 255, 0.12),
        inset 0 0 42px rgba(99, 219, 255, 0.16),
        inset 0 -18px 38px rgba(2, 9, 34, 0.22),
        0 0 16px rgba(99, 219, 255, 0.16),
        0 0 34px rgba(24, 64, 213, 0.16);
    transform: translateY(-1px);
}

.nav-btn:hover .nav-corner,
.nav-btn.active .nav-corner {
    opacity: 1;
    filter:
        drop-shadow(0 0 6px rgba(178, 246, 255, 0.58))
        drop-shadow(0 0 17px rgba(80, 207, 255, 0.32))
        drop-shadow(0 0 28px rgba(37, 108, 255, 0.18));
}

.nav-btn:hover .nav-corner::before,
.nav-btn:hover .nav-corner::after,
.nav-btn.active .nav-corner::before,
.nav-btn.active .nav-corner::after {
    box-shadow:
        0 0 10px rgba(220, 252, 255, 0.72),
        0 0 24px rgba(82, 214, 255, 0.4),
        0 0 42px rgba(37, 108, 255, 0.24);
}

.nav-btn.active {
    border-color: rgba(172, 235, 255, 0.78);
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.18),
        inset 0 0 0 1px rgba(156, 228, 255, 0.18),
        inset 0 0 52px rgba(99, 219, 255, 0.18),
        inset 0 -18px 40px rgba(2, 9, 34, 0.2),
        0 0 18px rgba(99, 219, 255, 0.2),
        0 0 42px rgba(24, 64, 213, 0.2);
}

.view {
    display: none;
}

.view.active {
    display: block;
}

.hero {
    min-height: calc(100vh - 110px);
    padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.coaches-panel {
    position: relative;
    width: 100%;
    margin-top: 34px;
    overflow: visible;
}

.coaches-intro {
    width: min(1180px, calc(100vw - 64px));
    margin: 0 auto;
    padding: 0 4px;
}

.coaches-head {
    margin-bottom: 22px;
}

.coaches-stage {
    display: grid;
    gap: 18px;
    width: 100%;
}

.coach-card-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    user-select: none;
    -webkit-user-drag: none;
}

.coach-card-placeholder {
    width: 76%;
    aspect-ratio: 1;
    border-radius: 32px;
    display: grid;
    place-items: center;
    font-family: "Michroma", sans-serif;
    font-size: clamp(44px, 6vw, 78px);
    letter-spacing: 3px;
    color: #f5fbff;
    background:
        linear-gradient(145deg, rgba(99, 219, 255, 0.22), rgba(26, 68, 208, 0.12)),
        linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.02));
    border: 1px solid rgba(130, 222, 255, 0.24);
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.08),
        0 0 26px rgba(91, 200, 255, 0.16);
}

.coach-drag-note {
    width: min(1180px, calc(100vw - 64px));
    margin: 0 auto;
    justify-self: end;
    margin-top: -2px;
    color: rgba(207, 229, 255, 0.54);
    font-size: 12px;
    letter-spacing: 1.8px;
    text-transform: uppercase;
}

.coaches-rail-shell {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.coaches-rail {
    display: flex;
    gap: 18px;
    overflow-x: auto;
    align-items: flex-start;
    width: 100%;
    padding: 10px max(32px, calc((100vw - 1460px) / 2 + 32px)) 24px;
    scroll-snap-type: none;
    scrollbar-width: none;
    cursor: grab;
    user-select: none;
    -webkit-user-select: none;
    overscroll-behavior-inline: contain;
    scroll-behavior: auto;
    touch-action: pan-y;
}

.coaches-rail::-webkit-scrollbar {
    display: none;
}

.coaches-rail.is-dragging {
    cursor: grabbing;
}

.coach-card {
    position: relative;
    flex: 0 0 322px;
    min-height: 508px;
    padding: 14px 14px 18px;
    display: grid;
    grid-template-rows: minmax(0, 1fr) auto;
    gap: 14px;
    text-align: center;
    color: inherit;
    border-radius: 18px;
    border: 1px solid rgba(112, 208, 255, 0.12);
    background:
        linear-gradient(180deg, rgba(11, 27, 98, 0.14), rgba(4, 12, 44, 0.2)),
        radial-gradient(circle at 50% 12%, rgba(99, 219, 255, 0.05), transparent 54%);
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.04),
        0 12px 22px rgba(0, 0, 0, 0.14);
    overflow: hidden;
    cursor: pointer;
    user-select: none;
    -webkit-user-select: none;
    transition: transform 0.3s ease, border-color 0.28s ease, box-shadow 0.28s ease, background 0.28s ease, opacity 0.28s ease;
}

.coach-card:focus-visible {
    outline: none;
    border-color: rgba(145, 225, 255, 0.32);
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.06),
        0 18px 34px rgba(0, 0, 0, 0.22),
        0 0 24px rgba(84, 182, 255, 0.14);
}

.coach-card:hover,
.coach-card.active {
    transform: translateY(-6px);
    border-color: rgba(145, 225, 255, 0.24);
    background:
        linear-gradient(180deg, rgba(18, 44, 144, 0.18), rgba(5, 14, 50, 0.24)),
        radial-gradient(circle at 50% 10%, rgba(99, 219, 255, 0.12), transparent 56%);
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.06),
        0 18px 34px rgba(0, 0, 0, 0.22),
        0 0 22px rgba(84, 182, 255, 0.08);
}

.coaches-rail:hover .coach-card:not(:hover):not(.active) {
    opacity: 0.88;
}

.coach-card-glow {
    position: absolute;
    inset: auto 36px -42px;
    height: 96px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(99, 219, 255, 0.16), rgba(99, 219, 255, 0));
    filter: blur(16px);
    opacity: 0.36;
    pointer-events: none;
}

.coach-card-media {
    position: relative;
    min-height: 430px;
    border-radius: 14px;
    border: 1px solid rgba(112, 208, 255, 0.14);
    background:
        linear-gradient(180deg, rgba(16, 36, 126, 0.28), rgba(5, 14, 48, 0.42)),
        radial-gradient(circle at top, rgba(93, 212, 255, 0.12), transparent 50%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.08),
        inset 0 -84px 120px rgba(1, 6, 26, 0.42);
}

.coach-card-gallery {
    position: absolute;
    inset: 0;
}

.coach-card-media::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 36%;
    background: linear-gradient(180deg, rgba(1, 5, 19, 0), rgba(1, 5, 19, 0.82));
    pointer-events: none;
}

.coach-card-content {
    position: relative;
    z-index: 1;
    display: grid;
    justify-items: center;
    gap: 0;
}

.coach-card-name {
    font-family: "Michroma", sans-serif;
    font-size: 18px;
    line-height: 1.18;
    color: #f7fbff;
    text-transform: none;
    letter-spacing: 0.4px;
    text-shadow:
        0 0 12px rgba(99, 219, 255, 0.08),
        0 0 22px rgba(255,255,255,0.03);
}

.coach-modal {
    position: fixed;
    inset: 0;
    z-index: 30;
    overflow-y: auto;
}

.coach-modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(1, 5, 19, 0.72);
    backdrop-filter: blur(10px);
}

.coach-modal-dialog {
    position: relative;
    width: min(1040px, calc(100vw - 40px));
    margin: min(8vh, 72px) auto min(4vh, 36px);
    padding: 28px;
    display: grid;
    align-items: stretch;
    grid-template-columns: minmax(280px, 360px) minmax(0, 1fr);
    gap: 18px;
    border-radius: 24px;
    border: 1px solid rgba(112, 208, 255, 0.16);
    background:
        linear-gradient(135deg, rgba(9, 24, 92, 0.88), rgba(4, 12, 46, 0.94)),
        radial-gradient(circle at 18% 18%, rgba(108, 217, 255, 0.1), transparent 34%),
        radial-gradient(circle at 78% 24%, rgba(72, 128, 255, 0.12), transparent 40%);
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.06),
        inset 0 0 44px rgba(82, 165, 255, 0.08),
        0 24px 46px rgba(0, 0, 0, 0.34);
}

.coach-modal-close {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 3;
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    border: 1px solid rgba(112, 208, 255, 0.16);
    background: rgba(255,255,255,0.04);
    color: #eaf6ff;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
}

.coach-modal-nav {
    position: absolute;
    top: 50%;
    z-index: 2;
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    border: 1px solid rgba(112, 208, 255, 0.16);
    background: rgba(4, 12, 42, 0.5);
    color: #eef7ff;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    transform: translateY(-50%);
    backdrop-filter: blur(8px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.2);
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.coach-modal-nav.prev {
    left: -54px;
}

.coach-modal-nav.next {
    right: -54px;
}

.coach-modal-nav:hover {
    background: rgba(18, 43, 120, 0.62);
    border-color: rgba(145, 225, 255, 0.3);
    transform: translateY(-50%) scale(1.04);
}

.coach-modal-media {
    height: 100%;
    min-height: clamp(420px, 58vh, 560px);
    border-radius: 18px;
    border: 1px solid rgba(112, 208, 255, 0.14);
    background:
        linear-gradient(180deg, rgba(16, 36, 126, 0.36), rgba(5, 14, 48, 0.54)),
        radial-gradient(circle at top, rgba(93, 212, 255, 0.12), transparent 50%);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.08),
        inset 0 -84px 120px rgba(1, 6, 26, 0.42);
    align-self: stretch;
}

.coach-modal-gallery {
    position: relative;
    width: 100%;
    height: 100%;
}

.coach-modal-photo-nav {
    position: absolute;
    top: 50%;
    z-index: 2;
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.14);
    background: rgba(3, 10, 30, 0.2);
    color: #f3f8ff;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    transform: translateY(-50%);
    backdrop-filter: blur(8px);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.1);
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.coach-modal-photo-nav.prev {
    left: 16px;
}

.coach-modal-photo-nav.next {
    right: 16px;
}

.coach-modal-photo-nav:hover {
    background: rgba(16, 38, 108, 0.38);
    border-color: rgba(145, 225, 255, 0.24);
    transform: translateY(-50%) scale(1.06);
}

.coach-modal-content {
    display: grid;
    align-content: start;
    justify-items: start;
    gap: 14px;
    padding-top: 2px;
    text-align: left;
}

.coach-modal-wide-panel {
    grid-column: 1 / -1;
    width: 100%;
}

.coach-modal-wide-panel:not(.active) {
    display: none;
}

.coach-modal-tabs {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px;
    border-radius: 999px;
    border: 1px solid rgba(112, 208, 255, 0.14);
    background: rgba(255, 255, 255, 0.04);
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.05),
        0 10px 24px rgba(0, 0, 0, 0.14);
}

.coach-modal-tab {
    min-width: 134px;
    padding: 11px 18px;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: rgba(223, 240, 255, 0.74);
    font-family: "Oxanium", sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    cursor: pointer;
    transition:
        background 0.22s ease,
        color 0.22s ease,
        box-shadow 0.22s ease,
        transform 0.22s ease;
}

.coach-modal-tab:hover {
    color: #f4fbff;
    background: rgba(74, 134, 255, 0.12);
}

.coach-modal-tab.active {
    color: #f6fbff;
    background:
        linear-gradient(180deg, rgba(97, 186, 255, 0.22), rgba(42, 95, 219, 0.16));
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.1),
        0 0 24px rgba(70, 142, 255, 0.18);
}

.coach-modal-panel {
    display: grid;
    justify-items: start;
    gap: 14px;
    width: 100%;
}

.coach-modal-panel:not(.active) {
    display: none;
}

.coach-modal-kicker {
    color: rgba(196, 231, 255, 0.62);
    font-size: 12px;
    letter-spacing: 2.6px;
    text-transform: uppercase;
}

.coach-modal-name {
    margin: 0;
    font-family: "Michroma", sans-serif;
    font-size: clamp(22px, 3.2vw, 34px);
    line-height: 1.06;
    color: #f5fbff;
    text-transform: uppercase;
    text-shadow:
        0 0 16px rgba(99, 219, 255, 0.16),
        0 0 34px rgba(255,255,255,0.04);
}

.coach-modal-name-small {
    font-size: clamp(24px, 3vw, 34px);
}

.coach-modal-role {
    color: var(--gold);
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 2px;
    line-height: 1.2;
    text-transform: uppercase;
    opacity: 0.94;
}

.coach-modal-description {
    margin: 0;
    color: rgba(233, 242, 255, 0.84);
    font-size: 16px;
    line-height: 1.76;
}

.coach-modal-description {
    display: grid;
    gap: 14px;
    max-width: 100%;
}

.coach-modal-paragraph {
    margin: 0;
    text-align: justify;
    text-justify: inter-word;
    hyphens: auto;
}

.coach-modal-highlight {
    width: 100%;
    max-width: 100%;
    padding: 14px 2px 0;
    border: 0;
    background: transparent;
    color: rgba(221, 240, 255, 0.86);
    font-size: 14px;
    font-weight: 500;
    font-style: italic;
    line-height: 1.65;
    letter-spacing: 0.15px;
    text-shadow:
        0 0 10px rgba(99, 219, 255, 0.08),
        0 0 18px rgba(255,255,255,0.03);
}

.coach-modal-stats-wide {
    width: 100%;
    padding-top: 0;
    border-top: 1px solid rgba(170, 224, 255, 0.2);
}

.coach-modal-stats-media {
    width: 100%;
    display: block;
    border-radius: 18px;
    border: 1px solid rgba(112, 208, 255, 0.14);
    background:
        linear-gradient(180deg, rgba(8, 20, 74, 0.58), rgba(4, 11, 40, 0.72)),
        radial-gradient(circle at top, rgba(104, 214, 255, 0.08), transparent 54%);
    overflow: hidden;
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.06),
        inset 0 -50px 90px rgba(1, 6, 26, 0.34);
    align-self: start;
}

.coach-modal-stats-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    width: 100%;
    padding: 10px;
}

.coach-stat-card {
    min-height: 58px;
    padding: 10px 12px 9px;
    border-radius: 16px;
    border: 1px solid rgba(112, 208, 255, 0.12);
    background:
        linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.015)),
        radial-gradient(circle at top, rgba(98, 210, 255, 0.08), transparent 65%);
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.05),
        0 8px 18px rgba(0, 0, 0, 0.12);
}

.coach-stat-label {
    color: rgba(255, 255, 255, 0.88);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 1.3px;
    line-height: 1.3;
    text-transform: uppercase;
}

.coach-stat-value {
    margin-top: 5px;
    color: #f6fbff;
    font-family: "Michroma", sans-serif;
    font-size: 18px;
    line-height: 1.1;
    text-shadow:
        0 0 16px rgba(99, 219, 255, 0.12),
        0 0 26px rgba(255,255,255,0.03);
}

.coach-stats-section {
    display: grid;
    gap: 9px;
    width: 100%;
    padding: 0 0 10px;
    justify-items: center;
}

.coach-stats-section-title {
    margin: 0;
    color: rgba(224, 241, 255, 0.78);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    line-height: 1.2;
    text-transform: uppercase;
    justify-self: start;
}

/* --- Palmarés flag rail --- */
.coach-palmares-flags-rail {
    display: flex;
    gap: 10px;
    justify-content: flex-start;
    justify-self: start;
    padding: 4px 0 2px;
    overflow-x: auto;
    scrollbar-width: none;
}
.coach-palmares-flags-rail::-webkit-scrollbar { display: none; }

.coach-palmares-flag-item {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 9px 13px;
    border-radius: 12px;
    border: 1px solid rgba(112, 208, 255, 0.08);
    background:
        linear-gradient(180deg, rgba(255,255,255,0.025), rgba(255,255,255,0.01));
    cursor: pointer;
    transition: border-color 0.25s, box-shadow 0.25s, transform 0.15s;
    overflow: hidden;
    min-width: 82px;
    flex-shrink: 0;
}
.coach-palmares-flag-item:hover:not(.coach-palmares-flag-item--disabled) {
    border-color: rgba(112, 208, 255, 0.2);
    transform: translateY(-2px);
}
.coach-palmares-flag-item.active {
    border-color: rgba(238, 196, 84, 0.4);
    box-shadow: 0 0 20px rgba(232, 188, 74, 0.1);
}
.coach-palmares-flag-item--disabled {
    pointer-events: none;
    opacity: 0.45;
    filter: grayscale(0.8);
}

.coach-palmares-flag-img {
    width: 72px;
    height: 46px;
    object-fit: cover;
    border-radius: 5px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.coach-palmares-flag-label {
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    color: rgba(224, 241, 255, 0.7);
}

.coach-palmares-coming-soon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-20deg);
    background: rgba(220, 50, 50, 0.85);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    padding: 4px 18px;
    white-space: nowrap;
    border-radius: 3px;
    z-index: 2;
    pointer-events: none;
}

/* --- Palmarés expanded trophies panel --- */
.coach-palmares-trophies-panel {
    width: 100%;
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.35s ease, margin 0.35s ease;
    margin-top: 0;
}
.coach-palmares-trophies-panel.expanded {
    max-height: 214px;
    margin-top: 8px;
}

.coach-palmares-trophies-panel .coach-trophy-cabinet {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 4px;
}
.coach-palmares-trophies-panel .coach-trophy-cabinet::-webkit-scrollbar { display: none; }

.coach-palmares-trophies-panel .coach-trophy-slot {
    flex: 0 0 auto;
    min-width: 120px;
    scroll-snap-align: start;
}

/* --- Trophy lightbox --- */
.trophy-lightbox {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: grid;
    place-items: center;
    cursor: pointer;
}
.trophy-lightbox-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(1, 5, 21, 0.85);
    backdrop-filter: blur(6px);
}
.trophy-lightbox-content {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}
.trophy-lightbox-content img {
    max-width: min(360px, 80vw);
    max-height: 60vh;
    object-fit: contain;
    filter: drop-shadow(0 8px 32px rgba(0,0,0,0.5));
}
.trophy-lightbox-label {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: rgba(224, 241, 255, 0.8);
}

/* --- Trophy cabinet (standalone grid, kept for any non-palmares usage) --- */
.coach-trophy-cabinet {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 10px;
    width: 100%;
}

.coach-trophy-slot {
    position: relative;
    display: grid;
    justify-items: center;
    gap: 8px;
    min-height: 120px;
    padding: 14px 10px 12px;
    border-radius: 16px;
    border: 1px solid rgba(112, 208, 255, 0.08);
    background:
        linear-gradient(180deg, rgba(255,255,255,0.025), rgba(255,255,255,0.01)),
        radial-gradient(circle at top, rgba(92, 205, 255, 0.05), transparent 65%);
    color: rgba(165, 183, 213, 0.5);
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.03),
        0 10px 20px rgba(1, 5, 21, 0.16);
}

.coach-trophy-slot.unlocked {
    border-color: rgba(238, 196, 84, 0.28);
    background:
        linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.015)),
        radial-gradient(circle at top, rgba(244, 209, 103, 0.12), transparent 62%);
    color: rgba(255, 226, 145, 0.96);
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.06),
        0 14px 28px rgba(2, 7, 26, 0.2),
        0 0 26px rgba(232, 188, 74, 0.08);
}

.coach-trophy-icon {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
}

.coach-trophy-icon svg {
    width: 100%;
    height: 100%;
}

.coach-trophy-img {
    width: 48px;
    height: 48px;
    object-fit: contain;
}

.coach-trophy-img.locked {
    opacity: 0.72;
    filter: grayscale(1) brightness(0.9) drop-shadow(0 0 10px rgba(118, 161, 214, 0.08));
}

.coach-trophy-img.unlocked {
    filter: drop-shadow(0 0 12px rgba(238, 196, 84, 0.12));
}

.coach-trophy-label {
    color: inherit;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1px;
    line-height: 1.4;
    text-align: center;
    text-transform: uppercase;
    text-wrap: balance;
    margin-top: 8px;
}

.coach-trophy-count {
    min-width: 34px;
    padding: 6px 10px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.04);
    background: rgba(3, 8, 29, 0.28);
    color: inherit;
    font-family: "Oxanium", sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    line-height: 1;
    text-align: center;
}

.coach-insight-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 10px;
    width: 100%;
}

.coach-insight-grid--narrativa {
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.coach-insight-grid--identidade {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.coach-insight-card {
    position: relative;
    min-height: 96px;
    display: grid;
    align-content: start;
    gap: 9px;
    padding: 13px 14px 12px;
    border-radius: 15px;
    border: 1px solid rgba(112, 208, 255, 0.12);
    background:
        linear-gradient(180deg, rgba(255,255,255,0.045), rgba(255,255,255,0.015)),
        radial-gradient(circle at top left, rgba(94, 206, 255, 0.08), transparent 64%),
        linear-gradient(135deg, rgba(14, 40, 132, 0.16), transparent 58%);
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.055),
        inset 0 0 0 1px rgba(255,255,255,0.015),
        0 14px 28px rgba(2, 8, 30, 0.16);
    overflow: hidden;
}

.coach-insight-card::before {
    content: "";
    position: absolute;
    left: 17px;
    right: 17px;
    top: 0;
    height: 1px;
    background: linear-gradient(90deg, rgba(126, 216, 255, 0), rgba(126, 216, 255, 0.48), rgba(126, 216, 255, 0));
}

.coach-insight-card.empty {
    border-style: dashed;
    border-color: rgba(112, 208, 255, 0.08);
    background:
        linear-gradient(180deg, rgba(255,255,255,0.018), rgba(255,255,255,0.008));
    color: rgba(183, 201, 226, 0.55);
}

.coach-insight-label {
    display: inline-flex;
    align-items: center;
    justify-self: center;
    width: fit-content;
    max-width: 100%;
    text-align: center;
}

.coach-insight-label span {
    padding: 6px 9px 5px;
    border-radius: 999px;
    border: 1px solid rgba(118, 213, 255, 0.14);
    background: rgba(255,255,255,0.035);
    color: rgba(255, 255, 255, 0.88);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 1.55px;
    line-height: 1.35;
    text-transform: uppercase;
}

.coach-insight-value {
    color: #f5fbff;
    font-family: "Michroma", sans-serif;
    font-size: 15px;
    line-height: 1.42;
    text-shadow:
        0 0 14px rgba(99, 219, 255, 0.12),
        0 0 22px rgba(255,255,255,0.03);
}

.coach-insight-line + .coach-insight-line {
    margin-top: 6px;
}

.coach-insight-player {
    color: inherit;
}

.coach-insight-inline-meta {
    color: rgba(221, 236, 255, 0.72);
    font-family: "Oxanium", sans-serif;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.2px;
    line-height: 1.5;
}

.coach-insight-meta {
    color: rgba(221, 236, 255, 0.7);
    font-size: 12px;
    line-height: 1.48;
    letter-spacing: 0.16px;
    max-width: 34ch;
}

.coach-stats-section--narrativa .coach-insight-card {
    min-height: 104px;
}

.coach-stats-section--narrativa .coach-insight-card::before {
    background: linear-gradient(90deg, rgba(126, 216, 255, 0), rgba(126, 216, 255, 0.52), rgba(126, 216, 255, 0));
}

.coach-narrative-target {
    display: block;
    width: 100%;
    min-width: 0;
    max-width: 100%;
}

.coach-insight-line--match {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
}

.coach-narrative-link {
    display: block;
    color: #f6fbff;
    font-family: "Michroma", sans-serif;
    font-size: 13px;
    line-height: 1.1;
    letter-spacing: 0.2px;
    white-space: nowrap;
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
}

.coach-narrative-link:hover {
    color: #dff7ff;
}

.coach-narrative-match-target {
    flex: 1 1 auto;
    min-width: 0;
    max-width: 100%;
}

.coach-narrative-score {
    display: inline-grid;
    justify-items: center;
    gap: 2px;
    flex-shrink: 0;
    min-width: 82px;
    padding-left: 10px;
    border-left: 1px solid rgba(126, 216, 255, 0.16);
    white-space: nowrap;
}

.coach-narrative-score-label {
    color: rgba(255, 255, 255, 0.86);
    font-family: "Oxanium", sans-serif;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 1.2px;
    line-height: 1;
    text-transform: uppercase;
}

.coach-narrative-score-value {
    color: rgba(230, 247, 255, 0.94);
    font-family: "Michroma", sans-serif;
    font-size: 15px;
    line-height: 1.08;
    letter-spacing: 0.5px;
    text-shadow:
        0 0 10px rgba(109, 212, 255, 0.12),
        0 0 20px rgba(109, 212, 255, 0.04);
}

.coach-narrative-separator {
    margin: 0 6px;
    color: rgba(208, 225, 246, 0.48);
    font-family: "Oxanium", sans-serif;
    font-size: 12px;
    font-weight: 600;
}

.coach-stats-section--legado .coach-insight-card::before {
    background: linear-gradient(90deg, rgba(255, 216, 79, 0), rgba(255, 216, 79, 0.52), rgba(255, 216, 79, 0));
}

.coach-stats-section--legado .coach-insight-label span {
    border-color: rgba(255, 216, 79, 0.16);
    background: rgba(255, 216, 79, 0.05);
    color: rgba(255, 255, 255, 0.9);
}

.coach-stats-section--legado .coach-insight-card {
    min-height: 106px;
    gap: 8px;
}

.coach-insight-value--legacy {
    display: grid;
    gap: 8px;
}

.coach-legacy-player-block {
    display: grid;
    gap: 6px;
}

.coach-stats-section--legado .coach-insight-player {
    color: #f7fbff;
    font-family: "Michroma", sans-serif;
    font-size: 14px;
    line-height: 1.32;
    text-shadow:
        0 0 10px rgba(255, 216, 79, 0.08),
        0 0 18px rgba(255,255,255,0.03);
}

.coach-stats-section--legado .coach-insight-line + .coach-insight-line {
    margin-top: 0;
}

.coach-legacy-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.coach-legacy-stat-chip {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 4px 8px 3px;
    border-radius: 999px;
    border: 1px solid rgba(255, 216, 79, 0.14);
    background:
        linear-gradient(180deg, rgba(255, 216, 79, 0.08), rgba(255, 216, 79, 0.025)),
        rgba(255,255,255,0.025);
    color: rgba(255, 239, 191, 0.92);
    font-family: "Oxanium", sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.24px;
    line-height: 1.2;
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.05),
        0 4px 12px rgba(0, 0, 0, 0.1);
}

.coach-legacy-stat-chip--rating {
    border-color: rgba(104, 234, 170, 0.22);
    background:
        linear-gradient(180deg, rgba(104, 234, 170, 0.14), rgba(104, 234, 170, 0.05)),
        rgba(255,255,255,0.03);
    color: #dfffee;
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.06),
        0 6px 14px rgba(0, 0, 0, 0.1),
        0 0 20px rgba(104, 234, 170, 0.08);
}

.coach-legacy-stat-prefix {
    margin-right: 7px;
    color: rgba(212, 255, 235, 0.78);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.6px;
    text-transform: uppercase;
}

.coach-legacy-stat-value {
    display: inline-flex;
    align-items: center;
}

.coach-legacy-stat-secondary {
    margin-left: 4px;
    color: inherit;
    font-family: "Oxanium", sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.18px;
}

.coach-legacy-stat-chip--games {
    padding-right: 10px;
}

.coach-legacy-stat-chip--rating .coach-legacy-stat-value {
    color: #7dffb9;
    text-shadow:
        0 0 10px rgba(104, 234, 170, 0.16),
        0 0 18px rgba(104, 234, 170, 0.08);
}

.coach-insight-meta--legacy-note {
    color: rgba(255, 232, 164, 0.72);
    font-size: 12px;
    letter-spacing: 0.18px;
    max-width: none;
}

.coach-stats-section--identidade .coach-insight-card {
    min-height: 104px;
}

.coach-stats-section--identidade .coach-insight-value {
    font-size: 15px;
    line-height: 1.48;
}

.coach-stats-section--identidade .coach-insight-meta {
    display: none;
}

.coach-modal-stats-empty {
    color: rgba(223, 240, 255, 0.72);
    font-size: 15px;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    padding: 28px 22px;
}

.hero-shell {
    width: min(560px, 82vw);
    margin: 0 auto;
    position: relative;
    padding: 34px 32px 38px;
    border: 2px solid rgba(121, 212, 255, 0.48);
    background:
        linear-gradient(180deg, rgba(10, 29, 122, 0.8), rgba(4, 13, 62, 0.88)),
        radial-gradient(circle at top, rgba(117, 215, 255, 0.18), transparent 70%);
    clip-path: polygon(14% 0, 86% 0, 100% 18%, 96% 80%, 50% 100%, 4% 80%, 0 18%);
    box-shadow:
        inset 0 0 26px rgba(77, 176, 255, 0.22),
        0 0 46px rgba(38, 111, 255, 0.24);
}

.hero-shell::before,
.hero-shell::after {
    content: "";
    position: absolute;
    inset: 14px;
    border: 2px solid rgba(126, 222, 255, 0.2);
    clip-path: inherit;
}

.hero-kicker {
    margin: 0 0 6px;
    font-size: clamp(32px, 4vw, 46px);
    font-weight: 700;
    letter-spacing: 10px;
    text-transform: uppercase;
}

.hero-title {
    margin: 0;
    font-size: clamp(94px, 14vw, 148px);
    font-weight: 700;
    line-height: 0.88;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: #f8fbff;
    text-shadow: 0 0 18px rgba(146, 223, 255, 0.32), 0 10px 18px rgba(0, 0, 0, 0.36);
}

.hero-ring {
    position: absolute;
    right: -42px;
    bottom: 2px;
    width: 260px;
    height: 112px;
    border: 8px solid transparent;
    border-top-color: rgba(116, 237, 255, 0.96);
    border-right-color: rgba(79, 180, 255, 0.9);
    border-radius: 50%;
    transform: rotate(-9deg);
    filter: drop-shadow(0 0 12px rgba(80, 210, 255, 0.72));
}

.hero-subtitle {
    margin: 12px 0 0;
    max-width: 520px;
    color: rgba(229, 239, 255, 0.68);
    font-size: 16px;
    line-height: 1.6;
}

.page-panel,
.score-panel,
.league-panel {
    width: min(1080px, calc(100vw - 64px));
    margin: 220px auto 0;
    padding: 26px 22px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background:
        linear-gradient(180deg, rgba(7, 20, 84, 0.34), rgba(4, 12, 44, 0.62)),
        radial-gradient(circle at top, rgba(103, 219, 255, 0.07), transparent 60%);
    box-shadow: var(--shadow);
    backdrop-filter: blur(10px);
}

.page-panel .league-panel {
    width: 100%;
    margin: 32px 0 0;
}

#pastView .page-panel,
#generalView .page-panel {
    margin-top: 32px;
}

#pastView .page-panel {
    width: min(1560px, calc(100vw - 48px));
}

#drawView .page-panel {
    margin-top: 32px;
    max-width: 1000px;
}

.panel-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 18px;
    margin-bottom: 20px;
}

.panel-head.centered {
    justify-content: center;
    text-align: center;
}

.title-with-info {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.panel-title {
    margin: 0;
    font-family: inherit;
    font-size: 26px;
    letter-spacing: 1.6px;
    text-transform: uppercase;
}

.info-tip {
    position: relative;
    width: 26px;
    height: 26px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    border: 1px solid rgba(112, 208, 255, 0.18);
    background: rgba(255,255,255,0.04);
    box-shadow: none;
    text-transform: none;
}

.info-tip:focus-visible {
    border-color: rgba(112, 208, 255, 0.34);
    box-shadow: 0 0 14px rgba(84, 182, 255, 0.14);
    outline: none;
}

.info-tip-icon {
    color: #bfe9ff;
    font-size: 13px;
    font-weight: 800;
    line-height: 1;
}

.formula-popover {
    margin: -2px 0 18px;
    width: min(520px, 100%);
    padding: 16px 18px;
    border-radius: 18px;
    border: 1px solid rgba(112, 208, 255, 0.16);
    background:
        linear-gradient(180deg, rgba(10, 25, 92, 0.88), rgba(6, 16, 56, 0.94)),
        radial-gradient(circle at top, rgba(93, 212, 255, 0.08), transparent 62%);
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.05),
        0 18px 30px rgba(0, 0, 0, 0.2);
}

.formula-section + .formula-section {
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid rgba(112, 208, 255, 0.08);
}

.formula-heading {
    margin-bottom: 8px;
    color: #dff3ff;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.formula-line,
.formula-list {
    color: rgba(236, 244, 255, 0.92);
    font-size: 14px;
    line-height: 1.5;
}

.formula-list {
    display: grid;
    gap: 4px;
}

.formula-list strong,
.formula-line strong {
    color: var(--gold);
}

.panel-copy {
    margin: 8px 0 0;
    max-width: 720px;
    color: rgba(229, 239, 255, 0.68);
    font-size: 16px;
    line-height: 1.5;
}

.league-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 18px;
}

.league-chip {
    min-height: 48px;
    padding: 12px 18px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border-radius: 14px;
    background: linear-gradient(180deg, rgba(57, 194, 194, 0.16), rgba(57, 194, 194, 0.08));
    border: 1px solid rgba(112, 208, 255, 0.16);
    color: #eaf6ff;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.2px;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
}

.league-chip-logo {
    width: 108px;
    height: 28px;
    object-fit: contain;
    display: block;
}

.league-chip.muted {
    background: linear-gradient(180deg, rgba(255,255,255,0.045), rgba(255,255,255,0.02));
}

.league-status-chip {
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.league-status-chip.live {
    color: #89f0b4;
    border-color: rgba(137, 240, 180, 0.24);
    background: linear-gradient(180deg, rgba(34,197,94,0.14), rgba(34,197,94,0.06));
}

.league-status-chip.completed {
    color: rgba(229, 239, 255, 0.78);
}

.league-live-tip {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.league-info-tip {
    width: 48px;
    height: 48px;
    background: linear-gradient(180deg, rgba(255,255,255,0.045), rgba(255,255,255,0.02));
}

.league-live-popover {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    z-index: 20;
    width: min(430px, calc(100vw - 48px));
    padding: 14px 16px;
    border-radius: 16px;
    border: 1px solid rgba(112, 208, 255, 0.16);
    background:
        linear-gradient(180deg, rgba(10, 25, 92, 0.95), rgba(6, 16, 56, 0.98)),
        radial-gradient(circle at top, rgba(93, 212, 255, 0.08), transparent 62%);
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.05),
        0 18px 30px rgba(0, 0, 0, 0.24);
    opacity: 0;
    transform: translateY(-4px);
    pointer-events: none;
    transition: opacity 0.18s ease, transform 0.18s ease;
}

.league-live-tip:hover .league-live-popover,
.league-live-tip:focus-within .league-live-popover {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.league-live-popover .formula-section + .formula-section {
    border-top-color: rgba(112, 208, 255, 0.14);
}

.league-chip-icon {
    color: rgba(109, 220, 255, 0.82);
    font-size: 16px;
}

.league-season-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 340px);
    gap: 18px;
    align-items: stretch;
}

.league-season-layout.live {
    grid-template-columns: 1fr;
}

.league-main-column {
    min-width: 0;
}

.league-bonuses-column {
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-self: stretch;
}

.league-lower-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    align-items: stretch;
    margin-top: 18px;
    min-width: 0;
    isolation: isolate;
}

.league-calendar-card {
    grid-column: auto;
}

.league-side-card {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    min-height: 560px;
    height: 560px;
    display: flex;
    flex-direction: column;
    border-radius: 20px;
    border: 1px solid rgba(122, 210, 255, 0.08);
    background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02));
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.04);
}

.league-side-card::before {
    display: none;
}

.league-side-head {
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 16px 12px;
    border-bottom: 1px solid rgba(118, 211, 255, 0.1);
}

.league-side-head.centered {
    justify-content: center;
    text-align: center;
}

.league-side-head.centered strong {
    font-family: "Oxanium", sans-serif;
    font-size: 16px;
    font-weight: 800;
    letter-spacing: 1.8px;
}

.league-side-head span {
    color: rgba(205, 228, 255, 0.58);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.3px;
    text-transform: uppercase;
}

.league-side-head strong {
    color: #f4fbff;
    font-family: "Michroma", sans-serif;
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 0.8px;
    text-transform: uppercase;
}

.league-awards-grid {
    position: relative;
    display: grid;
    gap: 10px;
    padding: 14px 14px 16px;
    flex: 1;
    align-content: stretch;
    grid-template-rows: repeat(6, minmax(0, 1fr));
    isolation: isolate;
}

.league-award-card {
    min-height: 0;
    padding: 10px 12px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-radius: 13px;
    border: 1px solid rgba(122, 210, 255, 0.08);
    background: rgba(18, 39, 95, 0.52);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.025);
    isolation: isolate;
}

.league-award-label {
    color: rgba(255, 255, 255, 0.88);
    font-size: 8.5px;
    font-weight: 800;
    letter-spacing: 1.1px;
    text-transform: uppercase;
}

.league-award-name {
    margin-top: 4px;
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.2px;
}

.league-award-meta {
    margin-top: 2px;
    color: rgba(229, 239, 255, 0.66);
    font-size: 10.5px;
    line-height: 1.25;
}

.league-live-grid {
    position: relative;
    display: grid;
    gap: 12px;
    padding: 14px;
    flex: 1;
    align-content: start;
}

.league-live-selector {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 8px;
    margin: 12px 14px 0;
}

.league-live-selector.single {
    grid-template-columns: minmax(0, 1fr);
}

.league-live-select-wrap {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px 12px;
    border-radius: 14px;
    border: 1px solid rgba(112, 208, 255, 0.16);
    background:
        linear-gradient(180deg, rgba(18, 50, 118, 0.82), rgba(8, 22, 72, 0.82));
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.05),
        inset 0 0 18px rgba(112, 208, 255, 0.035),
        0 0 14px rgba(36, 205, 255, 0.035);
    z-index: 10;
}

.league-live-section-arrow {
    width: 18px;
    height: 26px;
    display: grid;
    place-items: center;
    padding: 0;
    border: 0;
    color: rgba(158, 218, 255, 0.82);
    background: transparent;
    font-size: 20px;
    font-weight: 900;
    line-height: 1;
    cursor: pointer;
    transition: color 0.18s ease, transform 0.18s ease, text-shadow 0.18s ease;
}

.league-live-section-arrow:hover {
    color: #ffffff;
    transform: translateY(-1px);
    text-shadow: 0 0 12px rgba(112, 208, 255, 0.72);
}

.league-live-select-wrap::after {
    content: "›";
    position: absolute;
    right: 12px;
    top: 50%;
    color: rgba(112, 208, 255, 0.92);
    font-size: 18px;
    font-weight: 900;
    line-height: 1;
    transform: translateY(-50%) rotate(90deg);
    pointer-events: none;
}

.league-live-select {
    min-width: 0;
    width: 100%;
    padding: 4px 24px;
    border: 0;
    outline: 0;
    color: #ffffff;
    background: transparent;
    font-family: "Oxanium", sans-serif;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 1px;
    text-align: center;
    text-transform: uppercase;
    cursor: pointer;
}

.league-live-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    left: 0;
    display: grid;
    gap: 5px;
    padding: 7px;
    border-radius: 14px;
    border: 1px solid rgba(112, 208, 255, 0.24);
    background:
        linear-gradient(180deg, rgba(7, 23, 76, 0.98), rgba(3, 12, 45, 0.98));
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.06),
        0 18px 34px rgba(0, 0, 0, 0.34),
        0 0 24px rgba(36, 205, 255, 0.08);
    opacity: 0;
    transform: translateY(-4px);
    pointer-events: none;
    transition: opacity 0.16s ease, transform 0.16s ease;
}

.league-live-select-wrap.open .league-live-menu {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.league-live-option {
    width: 100%;
    padding: 9px 10px;
    border: 1px solid transparent;
    border-radius: 10px;
    color: rgba(222, 239, 255, 0.78);
    background: transparent;
    font-family: "Oxanium", sans-serif;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 0.9px;
    text-align: left;
    text-transform: uppercase;
    cursor: pointer;
    transition: color 0.16s ease, background 0.16s ease, border-color 0.16s ease, transform 0.16s ease;
}

.league-live-option:hover,
.league-live-option.active {
    color: #ffffff;
    border-color: rgba(112, 208, 255, 0.18);
    background:
        radial-gradient(circle at 12% 50%, rgba(112, 208, 255, 0.18), transparent 48%),
        rgba(30, 73, 148, 0.52);
}

.league-live-option:hover {
    transform: translateX(2px);
}

.league-live-page {
    position: relative;
    margin: 14px;
    min-height: 0;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 18px;
    padding: 22px;
    border-radius: 17px;
    border: 1px solid rgba(122, 210, 255, 0.1);
    color: inherit;
    background: rgba(11, 29, 85, 0.82) !important;
    background-image: none !important;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.045);
    isolation: auto;
    animation: league-live-page-in 0.26s ease both;
    text-align: left;
    cursor: pointer;
    appearance: none;
    transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.league-live-page:hover {
    border-color: rgba(112, 208, 255, 0.2);
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.055),
        0 0 24px rgba(36, 205, 255, 0.055);
}

.league-live-page::before {
    content: none !important;
    display: none !important;
}

.league-live-page::after {
    content: none !important;
    display: none !important;
}

.league-live-page.is-news {
    min-height: 0;
    flex: 1;
    margin: 0;
    padding: 28px 24px 72px;
    overflow: hidden;
    border: 0;
    border-radius: 0 0 20px 20px;
    background:
        var(--news-bg) 82% 46% / auto 100% no-repeat,
        linear-gradient(180deg, rgba(7, 20, 64, 0.94), rgba(5, 14, 46, 0.98)) !important;
    box-shadow: none;
    cursor: pointer;
    isolation: isolate;
}

.league-live-page.is-news:hover {
    border-color: transparent;
    box-shadow: inset 0 0 0 1px rgba(112, 208, 255, 0.18);
    transform: none;
}

.league-live-page.is-news::before {
    content: "" !important;
    position: absolute;
    inset: 0;
    z-index: 0;
    display: block !important;
    background:
        linear-gradient(90deg, rgba(2, 10, 34, 0.99) 0%, rgba(2, 12, 38, 0.94) 39%, rgba(3, 15, 46, 0.48) 66%, rgba(2, 10, 34, 0.18) 100%),
        linear-gradient(180deg, rgba(2, 10, 34, 0.06) 0%, rgba(3, 12, 40, 0.1) 52%, rgba(2, 9, 30, 0.94) 100%),
        radial-gradient(circle at 18% 19%, rgba(50, 200, 255, 0.18), transparent 30%);
    pointer-events: none;
}

.league-live-page.is-news::after {
    content: "" !important;
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1;
    display: block !important;
    height: 128px;
    background:
        linear-gradient(
            180deg,
            rgba(2, 9, 30, 0) 0%,
            rgba(2, 9, 30, 0) 26%,
            rgba(2, 9, 30, 0.28) 56%,
            rgba(2, 9, 30, 0.84) 100%
        );
    backdrop-filter: blur(4px);
    mask-image: linear-gradient(180deg, transparent 0%, transparent 36%, #000 68%, #000 100%);
    pointer-events: none;
}

.league-live-page-content {
    position: relative;
    z-index: 2;
    max-width: 92%;
}

.league-live-page.is-news .league-live-page-content {
    max-width: min(30ch, 56%);
}

.league-live-page.is-news .league-live-page-kicker {
    gap: 10px;
    color: #25bfff;
    font-size: 11px;
    letter-spacing: 1.5px;
    text-shadow: 0 0 16px rgba(37, 191, 255, 0.28);
}

.league-live-page-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.88);
    font-size: 9px;
    font-weight: 900;
    letter-spacing: 1.3px;
    text-transform: uppercase;
}

.league-live-status-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #70d0ff;
    box-shadow: 0 0 14px rgba(112, 208, 255, 0.8);
}

.league-live-page-title {
    margin-top: 10px;
    color: #ffffff;
    font-family: "Michroma", sans-serif;
    font-size: clamp(18px, 2.1vw, 27px);
    font-weight: 400;
    letter-spacing: 0.4px;
    text-shadow: 0 0 18px rgba(112, 208, 255, 0.12);
}

.league-live-page.is-news .league-live-page-title {
    max-width: 11ch;
    margin-top: 18px;
    font-family: "Oxanium", sans-serif;
    font-size: clamp(26px, 2.4vw, 38px);
    font-weight: 900;
    line-height: 1;
    letter-spacing: 0.9px;
    text-transform: uppercase;
    text-shadow:
        0 3px 18px rgba(0, 0, 0, 0.72),
        0 0 18px rgba(112, 208, 255, 0.12);
}

.league-live-page.is-news .league-live-page-title span {
    color: #25bfff;
    text-shadow:
        0 2px 18px rgba(0, 0, 0, 0.5),
        0 0 20px rgba(37, 191, 255, 0.32);
}

.league-live-page.is-news .league-live-page-title::after {
    content: "";
    display: block;
    width: 42px;
    height: 3px;
    margin-top: 16px;
    border-radius: 999px;
    background: #70d0ff;
    box-shadow: 0 0 16px rgba(112, 208, 255, 0.6);
}

.league-live-page-copy {
    max-width: 44ch;
    margin: 14px 0 0;
    color: rgba(229, 239, 255, 0.78);
    font-size: 12.2px;
    line-height: 1.6;
}

.league-live-page.is-news .league-live-page-copy {
    max-width: 28ch;
    color: rgba(239, 247, 255, 0.9);
    font-size: clamp(11px, 0.72vw, 13px);
    font-weight: 600;
    line-height: 1.5;
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.45);
}

.league-live-page.is-news .league-live-page-copy + .league-live-page-copy {
    display: none;
}

.league-live-page.is-news .news-inline-highlight {
    color: #25bfff;
    font-weight: 900;
}

.league-news-read-more {
    position: relative;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 16px;
    color: #70d0ff;
    font-size: 9px;
    font-weight: 900;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-shadow: 0 0 14px rgba(112, 208, 255, 0.28);
}

.league-news-read-more::after {
    content: "›";
    font-size: 14px;
    line-height: 1;
}

.league-live-page-tags {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin-top: auto;
}

.league-live-page-tags span {
    min-width: 0;
    padding: 9px 8px;
    border-radius: 12px;
    color: rgba(224, 243, 255, 0.86);
    background: rgba(17, 48, 116, 0.72);
    border: 1px solid rgba(112, 208, 255, 0.15);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
    font-size: 8.1px;
    font-weight: 900;
    letter-spacing: 0.75px;
    line-height: 1.2;
    text-align: center;
    text-transform: uppercase;
}

.league-news-quote {
    position: absolute;
    z-index: 2;
    right: 30px;
    bottom: 98px;
    width: min(44%, 260px);
    padding: 22px 24px 20px;
    border-radius: 18px;
    color: #ffffff;
    background:
        linear-gradient(180deg, rgba(13, 83, 184, 0.9), rgba(4, 28, 91, 0.94));
    border: 1px solid rgba(112, 208, 255, 0.28);
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.1),
        0 22px 46px rgba(0, 0, 0, 0.36),
        0 0 30px rgba(38, 154, 255, 0.16);
}

.league-live-page.is-news .league-news-quote {
    display: none;
}

.league-news-quote span {
    display: block;
    color: #70d0ff;
    font-size: 42px;
    font-weight: 900;
    line-height: 0.65;
}

.league-news-quote p {
    margin: 14px 0 16px;
    color: rgba(255,255,255,0.92);
    font-size: clamp(11px, 0.82vw, 15px);
    font-weight: 800;
    line-height: 1.5;
}

.league-news-quote strong {
    color: #70d0ff;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.league-news-carousel {
    display: grid;
    grid-template-columns: 28px minmax(0, 1fr) 28px;
    align-items: center;
    gap: 10px;
    margin: -4px 22px 16px;
}

.league-live-page.is-news .league-news-carousel {
    position: absolute;
    right: 24px;
    bottom: 20px;
    left: 24px;
    z-index: 3;
    margin: 0;
    grid-template-columns: 34px minmax(0, 1fr) 34px;
}

.league-news-arrow {
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    padding: 0;
    border: 1px solid rgba(112, 208, 255, 0.14);
    border-radius: 50%;
    color: rgba(216, 240, 255, 0.86);
    background: rgba(15, 45, 105, 0.5);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.05);
    font-size: 18px;
    font-weight: 900;
    line-height: 1;
    cursor: pointer;
    transition: color 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.league-live-page.is-news .league-news-arrow {
    width: 34px;
    height: 34px;
    border-color: rgba(112, 208, 255, 0.18);
    background: rgba(6, 25, 72, 0.58);
    backdrop-filter: blur(12px);
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.07),
        0 0 22px rgba(24, 118, 255, 0.16);
}

.league-news-article-modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: grid;
    place-items: center;
    padding: 28px;
}

.league-news-article-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(1, 7, 26, 0.78);
    backdrop-filter: blur(14px);
}

.league-news-article-dialog {
    position: relative;
    z-index: 1;
    width: min(1160px, calc(100vw - 48px));
    height: min(840px, calc(100vh - 48px));
    overflow: hidden;
    border: 1px solid rgba(112, 208, 255, 0.18);
    border-radius: 28px;
    background:
        linear-gradient(180deg, rgba(7, 22, 68, 0.98), rgba(4, 13, 43, 0.98));
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.05),
        0 34px 90px rgba(0, 0, 0, 0.58),
        0 0 38px rgba(37, 139, 255, 0.14);
}

.league-news-article-close {
    position: absolute;
    top: 24px;
    right: 24px;
    z-index: 6;
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    padding: 0;
    border: 1px solid rgba(112, 208, 255, 0.24);
    border-radius: 50%;
    color: #ffffff;
    background: rgba(16, 58, 139, 0.72);
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.08),
        0 0 22px rgba(60, 164, 255, 0.14);
    font-size: 28px;
    font-weight: 900;
    line-height: 1;
    cursor: pointer;
}

.league-news-article-header {
    height: 88px;
    display: grid;
    place-items: center;
    border-bottom: 1px solid rgba(112, 208, 255, 0.14);
    background:
        linear-gradient(180deg, rgba(10, 32, 88, 0.78), rgba(5, 17, 52, 0.62));
}

.league-news-article-header strong {
    color: #ffffff;
    font-size: clamp(20px, 2.2vw, 32px);
    font-weight: 900;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.league-news-article-body {
    position: relative;
    height: calc(100% - 88px);
    padding: 42px 48px 104px;
    overflow: hidden;
    background: #06143c;
}

.league-news-article-body::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    background:
        linear-gradient(90deg, rgba(1, 7, 24, 0.99) 0%, rgba(1, 9, 31, 0.9) 31%, rgba(4, 16, 48, 0.5) 54%, rgba(2, 8, 26, 0.1) 100%),
        linear-gradient(180deg, rgba(2, 8, 28, 0.02) 0%, rgba(2, 8, 28, 0.1) 62%, rgba(4, 18, 54, 0.32) 100%),
        radial-gradient(circle at 88% 18%, rgba(255,255,255,0.08), transparent 22%),
        var(--news-bg) 72% center / cover no-repeat;
    pointer-events: none;
}

.league-news-article-body::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1;
    height: 190px;
    background:
        linear-gradient(
            180deg,
            rgba(2, 9, 30, 0) 0%,
            rgba(7, 34, 88, 0.035) 48%,
            rgba(7, 34, 88, 0.08) 78%,
            rgba(7, 34, 88, 0.12) 100%
        );
    backdrop-filter: blur(2px);
    mask-image: linear-gradient(180deg, transparent 0%, transparent 30%, #000 72%, #000 100%);
    pointer-events: none;
}

.league-news-article-copy {
    position: relative;
    z-index: 2;
    width: min(43ch, 43%);
}

.league-news-article-title {
    max-width: 13.4ch;
    margin: 26px 0 0;
    color: #ffffff;
    font-family: "Oxanium", sans-serif;
    font-size: clamp(38px, 4vw, 58px);
    font-weight: 900;
    line-height: 1.02;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-shadow:
        0 3px 22px rgba(0, 0, 0, 0.72),
        0 0 24px rgba(112, 208, 255, 0.12);
}

.league-news-article-title span {
    color: #25bfff;
    text-shadow:
        0 2px 20px rgba(0, 0, 0, 0.58),
        0 0 22px rgba(37, 191, 255, 0.34);
}

.league-news-article-divider {
    width: 56px;
    height: 4px;
    margin: 22px 0;
    border-radius: 999px;
    background: #70d0ff;
    box-shadow: 0 0 18px rgba(112, 208, 255, 0.55);
}

.league-news-article-text p {
    margin: 0 0 15px;
    color: rgba(240, 247, 255, 0.92);
    font-size: clamp(14px, 1.05vw, 17px);
    font-weight: 500;
    line-height: 1.55;
    text-shadow: 0 1px 14px rgba(0, 0, 0, 0.54);
}

.league-news-article-text strong,
.league-news-article-text .news-inline-highlight {
    color: #70d0ff;
    font-weight: 900;
}

.league-news-article-quote {
    position: absolute;
    right: 56px;
    bottom: 112px;
    z-index: 3;
    width: min(36%, 360px);
    padding: 22px 26px;
    border: 1px solid rgba(112, 208, 255, 0.25);
    border-radius: 22px;
    background:
        linear-gradient(180deg, rgba(14, 87, 195, 0.84), rgba(4, 24, 78, 0.9));
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.12),
        0 24px 52px rgba(0, 0, 0, 0.4),
        0 0 36px rgba(44, 154, 255, 0.16);
}

.league-news-article-quote span {
    display: block;
    color: #70d0ff;
    font-size: 42px;
    font-weight: 900;
    line-height: 0.65;
}

.league-news-article-quote p {
    margin: 14px 0 14px;
    color: rgba(255,255,255,0.94);
    font-size: clamp(14px, 1.12vw, 18px);
    font-weight: 800;
    line-height: 1.45;
}

.league-news-article-quote strong {
    color: #70d0ff;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.league-news-article-carousel {
    position: absolute;
    right: clamp(42px, 5vw, 64px);
    bottom: 28px;
    left: clamp(42px, 5vw, 64px);
    z-index: 4;
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr) 58px;
    align-items: center;
}

.league-news-article-arrow {
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    padding: 0;
    border: 1px solid rgba(112, 208, 255, 0.2);
    border-radius: 50%;
    color: rgba(235, 247, 255, 0.94);
    background: rgba(7, 31, 84, 0.64);
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.08),
        0 0 24px rgba(24, 118, 255, 0.18);
    backdrop-filter: blur(12px);
    font-size: 40px;
    font-weight: 900;
    line-height: 1;
    cursor: pointer;
    transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.league-news-article-arrow:hover {
    border-color: rgba(112, 208, 255, 0.42);
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.1),
        0 0 30px rgba(112, 208, 255, 0.22);
    transform: translateY(-1px);
}

.league-news-article-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.league-news-arrow:hover {
    color: #ffffff;
    border-color: rgba(112, 208, 255, 0.34);
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.08),
        0 0 16px rgba(112, 208, 255, 0.12);
    transform: translateY(-1px);
}

.league-news-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
}

.league-news-dot {
    width: 7px;
    height: 7px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(139, 193, 232, 0.34);
    box-shadow: none;
    cursor: pointer;
    transition: width 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

.league-news-dot.active {
    width: 24px;
    background: #70d0ff;
    box-shadow: 0 0 14px rgba(112, 208, 255, 0.42);
}

@keyframes league-live-page-in {
    from {
        opacity: 0;
        transform: translateY(5px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.league-live-card {
    padding: 16px 14px;
    border-radius: 15px;
    border: 1px solid rgba(122, 210, 255, 0.08);
    background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.016));
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.035);
}

.league-live-label {
    color: rgba(255, 255, 255, 0.88);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1.1px;
    text-transform: uppercase;
}

.league-live-value {
    margin-top: 7px;
    color: #ffffff;
    font-family: "Michroma", sans-serif;
    font-size: 15px;
    font-weight: 400;
    letter-spacing: 0.4px;
}

.league-live-meta {
    margin-top: 5px;
    color: rgba(229, 239, 255, 0.66);
    font-size: 11px;
    line-height: 1.35;
}

.league-transfers-scroll {
    position: relative;
    flex: 1;
    min-height: 0;
    display: grid;
    align-content: start;
    gap: 0;
    padding: 0 10px 10px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(112, 208, 255, 0.35) rgba(255,255,255,0.04);
}

.league-transfer-table-head,
.league-transfer-row {
    display: grid;
    grid-template-columns: 50px minmax(104px, 1fr) minmax(138px, 1.28fr) minmax(58px, 0.5fr);
    align-items: center;
    gap: 8px;
    min-width: 0;
}

.league-transfer-table-head {
    padding: 8px 10px 7px;
    color: rgba(255, 255, 255, 0.92);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-top: 1px solid rgba(112, 208, 255, 0.08);
    border-bottom: 1px solid rgba(112, 208, 255, 0.08);
}

.league-transfer-table-head span {
    text-align: center;
}

.league-transfer-table-head span:nth-child(2) {
    text-align: left;
}

.league-transfer-row {
    min-height: 42px;
    padding: 7px 8px;
    border-radius: 11px;
    border: 1px solid transparent;
    color: rgba(241, 248, 255, 0.92);
    background: rgba(18, 39, 95, 0.52);
}

.league-transfer-row:nth-child(even) {
    background: rgba(20, 45, 104, 0.58);
}

.league-transfer-row:hover {
    border-color: rgba(112, 208, 255, 0.2);
    box-shadow:
        inset 0 0 0 1px rgba(255,255,255,0.03),
        0 0 22px rgba(36, 205, 255, 0.06);
}

.league-transfer-row.incoming {
    box-shadow: inset 2px 0 0 rgba(110, 255, 193, 0.55);
}

.league-transfer-row.outgoing {
    box-shadow: inset 2px 0 0 rgba(255, 86, 107, 0.62);
}

.league-transfer-date {
    justify-self: center;
    text-align: center;
    color: rgba(242, 248, 255, 0.86);
    font-size: 9.5px;
    font-weight: 700;
}

.league-transfer-player {
    min-width: 0;
    display: grid;
    gap: 2px;
}

.league-transfer-player-name {
    color: #ffffff;
    font-size: 11.8px;
    font-weight: 800;
    letter-spacing: 0.1px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.league-transfer-type {
    width: fit-content;
    justify-self: start;
    padding: 2px 5px;
    border-radius: 999px;
    color: rgba(214, 243, 255, 0.82);
    font-size: 6.8px;
    font-weight: 900;
    letter-spacing: 1.1px;
    text-transform: uppercase;
    background: rgba(112, 208, 255, 0.08);
    border: 1px solid rgba(112, 208, 255, 0.1);
}

.league-transfer-route {
    min-width: 0;
    display: grid;
    grid-template-columns: minmax(22px, 1fr) 12px minmax(22px, 1fr);
    align-items: center;
    gap: 5px;
}

.league-transfer-club-cell {
    min-width: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 3px 5px;
    border-radius: 8px;
    background: rgba(3, 15, 53, 0.22);
    border: 1px solid rgba(112, 208, 255, 0.045);
}

.league-transfer-club-cell--logo-only {
    justify-content: center;
    justify-self: center;
    width: 31px;
    height: 28px;
    padding: 3px;
}

.league-transfer-club-cell:last-child {
    justify-content: flex-start;
}

.league-transfer-club-cell--logo-only:last-child {
    justify-content: center;
}

.league-transfer-team-logo {
    width: 21px;
    height: 21px;
    flex: 0 0 auto;
    object-fit: contain;
    filter: drop-shadow(0 0 7px rgba(112, 208, 255, 0.16));
}

.league-transfer-club-name {
    min-width: 0;
    color: rgba(246, 250, 255, 0.92);
    font-size: 10.6px;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.league-transfer-club-name.muted {
    color: rgba(194, 214, 235, 0.45);
    font-style: italic;
}

.league-transfer-arrow {
    color: rgba(93, 230, 220, 0.82);
    font-size: 11px;
    text-align: center;
    justify-self: center;
}

.league-transfer-value {
    justify-self: center;
    max-width: 100%;
    color: #ffffff;
    font-size: 9.4px;
    font-weight: 800;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: center;
}

.league-toty-panel {
    position: relative;
    margin: 0;
    padding: 12px;
    flex: 1;
    display: flex;
    border-radius: 16px;
    border: 0;
    background: transparent;
}

.league-toty-pitch {
    position: relative;
    min-height: 0;
    flex: 1;
    width: 100%;
    overflow: hidden;
    border-radius: 14px;
    border: 1px solid rgba(122, 210, 255, 0.11);
    background: rgba(5, 52, 61, 0.78);
    box-shadow:
        inset 0 0 0 1px rgba(255,255,255,0.035),
        inset 0 0 34px rgba(0,0,0,0.18);
}

.league-toty-lines,
.league-toty-lines span {
    position: absolute;
    pointer-events: none;
}

.league-toty-lines {
    inset: 0;
    z-index: 0;
}

.league-toty-halfway {
    top: 0;
    bottom: 0;
    left: 50%;
    width: 1px;
    background: rgba(155, 225, 255, 0.14);
}

.league-toty-centre-circle {
    top: 50%;
    left: 50%;
    width: 58px;
    height: 58px;
    border: 1px solid rgba(155, 225, 255, 0.14);
    border-radius: 999px;
    transform: translate(-50%, -50%);
}

.league-toty-box {
    top: 27%;
    bottom: 27%;
    width: 17%;
    border: 1px solid rgba(155, 225, 255, 0.12);
}

.league-toty-box-left {
    left: 0;
    border-left: 0;
}

.league-toty-box-right {
    right: 0;
    border-right: 0;
}

.league-toty-small-box {
    top: 39%;
    bottom: 39%;
    width: 7%;
    border: 1px solid rgba(155, 225, 255, 0.11);
}

.league-toty-small-box-left {
    left: 0;
    border-left: 0;
}

.league-toty-small-box-right {
    right: 0;
    border-right: 0;
}

.league-toty-player {
    position: absolute;
    left: var(--x);
    top: var(--y);
    width: 90px;
    display: grid;
    justify-items: center;
    gap: 2px;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 1;
}

.league-toty-shirt {
    width: 23px;
    height: 21px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px 8px 11px 11px;
    color: #eaf8ff;
    font-size: 9px;
    font-weight: 800;
    background: linear-gradient(180deg, rgba(39, 125, 255, 0.58), rgba(7, 35, 103, 0.86));
    border: 1px solid rgba(143, 220, 255, 0.22);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.16);
}

.league-toty-name {
    max-width: 100%;
    overflow: hidden;
    color: #f5fbff;
    font-size: 9.6px;
    font-weight: 700;
    line-height: 1.1;
    white-space: nowrap;
    text-overflow: ellipsis;
    text-shadow: 0 1px 5px rgba(0,0,0,0.55);
}

.league-toty-meta {
    max-width: 100%;
    overflow: hidden;
    color: rgba(219, 239, 255, 0.72);
    font-size: 7.5px;
    font-weight: 800;
    letter-spacing: 0.35px;
    white-space: nowrap;
    text-overflow: ellipsis;
    text-transform: uppercase;
}

.league-calendar-card {
    max-height: 560px;
}

.league-calendar-scroll {
    position: relative;
    max-height: none;
    overflow: auto;
    display: block;
    flex: 1;
    padding: 14px;
    scrollbar-width: thin;
    scrollbar-color: rgba(118, 211, 255, 0.42) rgba(255,255,255,0.05);
}

.league-calendar-scroll::-webkit-scrollbar {
    width: 8px;
}

.league-calendar-scroll::-webkit-scrollbar-track {
    background: rgba(255,255,255,0.05);
    border-radius: 999px;
}

.league-calendar-scroll::-webkit-scrollbar-thumb {
    background: rgba(118, 211, 255, 0.42);
    border-radius: 999px;
}

.league-fixture-month + .league-fixture-month {
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px solid rgba(118, 211, 255, 0.08);
}

.league-fixture-month-title {
    position: sticky;
    top: -14px;
    z-index: 2;
    margin: 0 0 8px;
    padding: 7px 10px;
    border-radius: 12px;
    color: #f2fbff;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    background:
        linear-gradient(180deg, rgba(11, 34, 102, 0.98), rgba(8, 22, 72, 0.88)),
        radial-gradient(circle at left, rgba(103, 219, 255, 0.14), transparent 60%);
    backdrop-filter: blur(8px);
}

.league-fixture-list {
    display: grid;
    gap: 8px;
}

.league-fixture-row {
    padding: 8px 9px;
    border-radius: 12px;
    border: 1px solid rgba(118, 211, 255, 0.09);
    background: rgba(18, 39, 95, 0.52);
}

.league-fixture-meta {
    display: grid;
    grid-template-columns: minmax(54px, 0.7fr) minmax(0, 1.6fr) minmax(54px, 0.7fr);
    align-items: center;
    margin-bottom: 7px;
    color: rgba(245, 250, 255, 0.9);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.85px;
    text-transform: uppercase;
}

.league-fixture-meta span:first-child {
    justify-self: start;
}

.league-fixture-meta span:last-child {
    grid-column: 2;
    justify-self: center;
    color: #ffffff;
}

.league-fixture-match {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 44px minmax(0, 1fr);
    align-items: center;
    gap: 7px;
}

.league-match-team {
    min-width: 0;
    display: grid;
    gap: 3px;
    justify-items: center;
    text-align: center;
}

.league-match-team:last-child {
    text-align: center;
}

.league-match-club-row {
    max-width: 100%;
    min-width: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.league-match-logo {
    width: 18px;
    height: 18px;
    flex: 0 0 auto;
    object-fit: contain;
    filter: drop-shadow(0 0 8px rgba(112, 208, 255, 0.16));
}

.league-match-club {
    max-width: 100%;
    overflow: hidden;
    color: #ffffff;
    font-size: 10.5px;
    font-weight: 700;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.league-match-team.winner .league-match-club {
    color: #ffffff;
    text-shadow: 0 0 12px rgba(116, 218, 255, 0.18);
}

.league-match-coach {
    max-width: 100%;
    overflow: hidden;
    color: rgba(145, 211, 255, 0.62);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.league-match-coach .coach-link {
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
}

.league-match-coach-empty {
    color: rgba(205, 228, 255, 0.36);
}

.league-fixture-score {
    min-width: 44px;
    padding: 6px 5px;
    border-radius: 12px;
    border: 1px solid rgba(118, 211, 255, 0.16);
    background:
        radial-gradient(circle at top, rgba(116, 218, 255, 0.18), transparent 58%),
        rgba(255,255,255,0.05);
    color: #ffffff;
    font-family: "Michroma", sans-serif;
    font-size: 10px;
    text-align: center;
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.08),
        0 0 16px rgba(72, 178, 255, 0.08);
}

button.league-fixture-score {
    appearance: none;
    cursor: pointer;
}

.league-fixture-score.is-clickable {
    border-color: rgba(58, 240, 220, 0.42);
    background:
        radial-gradient(circle at top, rgba(80, 232, 255, 0.24), transparent 62%),
        linear-gradient(180deg, rgba(19, 52, 114, 0.88), rgba(10, 25, 72, 0.9));
    transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.league-fixture-score.is-clickable:hover {
    transform: translateY(-1px);
    border-color: rgba(100, 255, 238, 0.7);
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.12),
        0 0 20px rgba(62, 225, 255, 0.18);
}

.match-report-modal {
    position: fixed;
    inset: 0;
    z-index: 90;
    display: grid;
    place-items: center;
    padding: 28px;
}

.match-report-backdrop {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 50% 10%, rgba(40, 126, 255, 0.18), transparent 42%),
        rgba(1, 8, 31, 0.82);
    backdrop-filter: blur(14px);
}

.match-report-dialog {
    position: relative;
    width: min(1680px, 97vw);
    max-height: min(860px, 92vh);
    overflow: auto;
    border: 1px solid rgba(106, 214, 255, 0.22);
    border-radius: 28px;
    background:
        linear-gradient(180deg, rgba(15, 34, 86, 0.98), rgba(4, 13, 45, 0.98)),
        radial-gradient(circle at top, rgba(82, 185, 255, 0.18), transparent 42%);
    box-shadow:
        0 28px 80px rgba(0, 0, 0, 0.48),
        inset 0 1px 0 rgba(255,255,255,0.08);
}

.match-report-close {
    position: absolute;
    top: 18px;
    right: 18px;
    z-index: 2;
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    padding: 0 0 2px;
    border: 1px solid rgba(130, 218, 255, 0.26);
    border-radius: 50%;
    background: rgba(20, 47, 116, 0.86);
    color: #ffffff;
    font-size: 26px;
    line-height: 0;
    font-weight: 900;
    cursor: pointer;
    box-shadow: 0 0 22px rgba(83, 199, 255, 0.14);
}

.match-report-hero {
    padding: 34px 70px 28px;
    text-align: center;
    border-bottom: 1px solid rgba(118, 211, 255, 0.12);
    background:
        radial-gradient(circle at 50% 0%, rgba(255, 142, 160, 0.16), transparent 48%),
        linear-gradient(180deg, rgba(98, 67, 93, 0.56), rgba(6, 12, 39, 0.18));
}

.match-report-league {
    display: block;
    margin-bottom: 16px;
    color: rgba(205, 229, 255, 0.72);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.2px;
    text-transform: uppercase;
}

.match-report-scoreline {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    gap: 24px;
}

.match-report-team {
    display: flex;
    align-items: center;
    gap: 12px;
}

.match-report-team-home {
    justify-content: flex-end;
    text-align: right;
}

.match-report-team-away {
    justify-content: flex-start;
    text-align: left;
}

.match-report-team strong {
    display: block;
    color: #ffffff;
    font-size: clamp(20px, 2.4vw, 32px);
    font-weight: 900;
    letter-spacing: 0.3px;
}

.match-report-team span {
    display: block;
    margin-top: 2px;
    color: rgba(220, 234, 255, 0.68);
    font-size: 12px;
    font-weight: 700;
}

.match-report-team-logo {
    width: 42px;
    height: 42px;
    object-fit: contain;
    filter: drop-shadow(0 0 14px rgba(112, 218, 255, 0.18));
}

.match-report-score {
    min-width: 112px;
    padding: 10px 18px;
    border-radius: 18px;
    border: 1px solid rgba(118, 211, 255, 0.25);
    color: #ffffff;
    font-family: "Michroma", sans-serif;
    font-size: clamp(24px, 3vw, 38px);
    background: rgba(6, 18, 55, 0.66);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.08);
}

.match-report-meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-top: 22px;
    color: rgba(230, 241, 255, 0.78);
    font-size: 12px;
    font-weight: 700;
}

.match-report-meta span {
    padding: 7px 11px;
    border-radius: 999px;
    border: 1px solid rgba(118, 211, 255, 0.13);
    background: rgba(9, 25, 70, 0.54);
}

.match-report-mvp b {
    margin-left: 6px;
    color: #9dffb3;
}

.match-report-body {
    display: grid;
    grid-template-columns: minmax(420px, 1.04fr) minmax(400px, 0.86fr) minmax(420px, 1.04fr);
    gap: 16px;
    padding: 20px;
    align-items: start;
}

.match-report-center {
    display: grid;
    gap: 18px;
    align-content: start;
}

.match-report-tactic-card {
    min-width: 0;
    align-self: start;
    padding: 12px;
    border: 1px solid rgba(118, 211, 255, 0.13);
    border-radius: 20px;
    background:
        radial-gradient(circle at 50% 0%, rgba(92, 216, 255, 0.13), transparent 58%),
        linear-gradient(180deg, rgba(16, 42, 100, 0.64), rgba(7, 20, 59, 0.82));
    box-shadow: inset 0 0 28px rgba(36, 113, 207, 0.08);
}

.match-report-tactic-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 10px;
}

.match-report-tactic-head span {
    min-width: 0;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #f7fbff;
    font-family: "Rajdhani", sans-serif;
    font-size: 15px;
    font-weight: 800;
    letter-spacing: 0.25px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.match-report-tactic-head img {
    width: 24px;
    height: 24px;
    object-fit: contain;
    filter: drop-shadow(0 0 8px rgba(115, 213, 255, 0.28));
}

.match-report-tactic-head strong {
    flex: 0 0 auto;
    padding: 5px 9px;
    border: 1px solid rgba(118, 211, 255, 0.16);
    border-radius: 999px;
    color: rgba(127, 217, 255, 0.9);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    background: rgba(17, 48, 108, 0.62);
}

.match-report-pitch {
    position: relative;
    min-height: 0;
    aspect-ratio: 0.86;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 6px;
    padding: 22px 12px;
    overflow: hidden;
    border: 1px solid rgba(98, 211, 224, 0.18);
    border-radius: 18px;
    background:
        linear-gradient(rgba(168, 233, 255, 0.13), rgba(168, 233, 255, 0.13)) center 66px / 46% 1px no-repeat,
        linear-gradient(rgba(168, 233, 255, 0.13), rgba(168, 233, 255, 0.13)) left 27% top 0 / 1px 66px no-repeat,
        linear-gradient(rgba(168, 233, 255, 0.13), rgba(168, 233, 255, 0.13)) right 27% top 0 / 1px 66px no-repeat,
        linear-gradient(rgba(168, 233, 255, 0.12), rgba(168, 233, 255, 0.12)) center 34px / 22% 1px no-repeat,
        linear-gradient(rgba(168, 233, 255, 0.12), rgba(168, 233, 255, 0.12)) left 39% top 0 / 1px 34px no-repeat,
        linear-gradient(rgba(168, 233, 255, 0.12), rgba(168, 233, 255, 0.12)) right 39% top 0 / 1px 34px no-repeat,
        linear-gradient(rgba(168, 233, 255, 0.13), rgba(168, 233, 255, 0.13)) center calc(100% - 66px) / 46% 1px no-repeat,
        linear-gradient(rgba(168, 233, 255, 0.13), rgba(168, 233, 255, 0.13)) left 27% bottom 0 / 1px 66px no-repeat,
        linear-gradient(rgba(168, 233, 255, 0.13), rgba(168, 233, 255, 0.13)) right 27% bottom 0 / 1px 66px no-repeat,
        linear-gradient(rgba(168, 233, 255, 0.12), rgba(168, 233, 255, 0.12)) center calc(100% - 34px) / 22% 1px no-repeat,
        linear-gradient(rgba(168, 233, 255, 0.12), rgba(168, 233, 255, 0.12)) left 39% bottom 0 / 1px 34px no-repeat,
        linear-gradient(rgba(168, 233, 255, 0.12), rgba(168, 233, 255, 0.12)) right 39% bottom 0 / 1px 34px no-repeat,
        radial-gradient(circle at 50% 50%, rgba(58, 156, 172, 0.12), transparent 27%),
        linear-gradient(180deg, rgba(4, 54, 68, 0.84), rgba(3, 42, 57, 0.9));
}

.match-report-pitch::before,
.match-report-pitch::after {
    content: "";
    position: absolute;
    pointer-events: none;
}

.match-report-pitch::before {
    inset: 50% 0 auto;
    height: 1px;
    background: rgba(168, 233, 255, 0.18);
}

.match-report-pitch::after {
    left: 50%;
    top: 50%;
    width: 70px;
    height: 70px;
    border: 1px solid rgba(168, 233, 255, 0.15);
    border-radius: 999px;
    transform: translate(-50%, -50%);
}

.match-report-pitch-row {
    position: relative;
    z-index: 1;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    gap: clamp(14px, 2.4vw, 42px);
}

.match-report-pitch-row:nth-last-child(2) {
    margin-top: clamp(2px, 0.45vw, 8px);
}

.match-report-pitch-row:last-child {
    margin-top: 0;
}

.match-report-pitch-row:first-child::before,
.match-report-pitch-row:last-child::before {
    content: none;
}

.match-report-player-node {
    position: relative;
    min-width: 72px;
    max-width: 104px;
    display: inline-grid;
    justify-items: center;
    gap: 1px;
    padding: 0;
    border: 0;
    border-radius: 0;
    color: #f7fbff;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.15px;
    text-align: center;
    background: none;
    box-shadow: none;
}

.match-report-shirt {
    width: 42px;
    height: 36px;
    display: grid;
    place-items: center;
    border-radius: 9px 9px 5px 5px;
    color: #ffffff;
    font-size: 14px;
    font-weight: 950;
    line-height: 1;
    background:
        radial-gradient(circle at 50% 0%, rgba(122, 220, 255, 0.36), transparent 66%),
        linear-gradient(180deg, rgba(35, 103, 196, 0.98), rgba(13, 50, 127, 0.98));
    border: 1px solid rgba(129, 220, 255, 0.34);
    box-shadow:
        0 0 13px rgba(60, 165, 255, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.match-report-player-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    max-width: 78px;
    margin-top: -7px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    background: rgba(6, 16, 43, 0.86);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
}

.match-report-player-badge b,
.match-report-player-badge em {
    min-width: 0;
    padding: 4px 7px;
    color: #ffffff;
    font-size: 10px;
    line-height: 1;
    font-style: normal;
    font-weight: 900;
}

.match-report-player-badge b {
    background: linear-gradient(180deg, rgba(116, 171, 47, 0.94), rgba(63, 122, 34, 0.94));
}

.match-report-player-badge em {
    color: rgba(237, 247, 255, 0.86);
    background: rgba(20, 35, 68, 0.9);
}

.match-report-player-name {
    max-width: 104px;
    overflow: hidden;
    color: rgba(249, 252, 255, 0.95);
    font-size: 11px;
    line-height: 1.08;
    font-weight: 900;
    text-overflow: ellipsis;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.42);
    white-space: nowrap;
}

.match-report-player-goal {
    position: absolute;
    top: -7px;
    left: 8px;
    z-index: 2;
    font-size: 12px;
    line-height: 1;
    filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.35));
}

.match-report-player-node.is-placeholder {
    min-width: 36px;
    height: 28px;
    display: inline-grid;
    place-items: center;
    padding: 0 8px;
    border: 1px solid rgba(129, 220, 255, 0.28);
    border-radius: 11px;
    background:
        radial-gradient(circle at 45% 0%, rgba(112, 221, 255, 0.34), transparent 70%),
        linear-gradient(180deg, rgba(23, 92, 166, 0.94), rgba(12, 44, 112, 0.94));
}

.match-report-player-pos-only {
    color: #f7fbff;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 0.7px;
    text-transform: uppercase;
}

.match-report-grid {
    display: grid;
    grid-template-columns: minmax(260px, 0.8fr) minmax(360px, 1.2fr);
    gap: 18px;
    padding: 20px;
}

.match-report-card {
    border: 1px solid rgba(118, 211, 255, 0.14);
    border-radius: 22px;
    background:
        linear-gradient(180deg, rgba(21, 47, 107, 0.72), rgba(9, 22, 64, 0.76));
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.05);
}

.match-report-card h3 {
    margin: 0;
    padding: 16px 18px 12px;
    color: #ffffff;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 1.3px;
    text-transform: uppercase;
}

.match-report-events-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    padding: 0 18px 18px;
}

.match-report-events-grid > div {
    display: grid;
    align-content: start;
    gap: 8px;
    min-height: 160px;
    padding: 14px;
    border-radius: 16px;
    background: rgba(5, 16, 50, 0.44);
}

.match-report-goal {
    display: inline-flex;
    align-items: flex-start;
    gap: 8px;
    color: rgba(245, 250, 255, 0.92);
    font-size: 13px;
    line-height: 1.35;
}

.match-report-goal i {
    display: inline-grid;
    place-items: center;
    width: 18px;
    height: 18px;
    flex: 0 0 auto;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    font-style: normal;
    font-size: 12px;
    font-weight: 900;
    filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.22));
}

.match-report-goal-minute {
    flex: 0 0 auto;
    min-width: 30px;
    color: #78d9ff;
    font-family: "Rajdhani", sans-serif;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0.4px;
}

.match-report-goal-main {
    min-width: 0;
    display: grid;
    gap: 2px;
}

.match-report-goal-main b {
    color: #ffffff;
    font-size: 14px;
    font-weight: 900;
    letter-spacing: 0.1px;
}

.match-report-goal-main em {
    color: rgba(143, 207, 255, 0.78);
    font-size: 11px;
    font-style: normal;
    font-weight: 800;
    letter-spacing: 0.35px;
}

.match-report-empty {
    color: rgba(213, 231, 255, 0.48);
    font-size: 12px;
    font-weight: 700;
}

.match-report-data {
    padding-bottom: 8px;
}

.match-report-stat {
    padding: 8px 18px 10px;
}

.match-report-stat + .match-report-stat {
    border-top: 1px solid rgba(118, 211, 255, 0.07);
}

.match-report-stat-label {
    margin-bottom: 6px;
    color: rgba(214, 231, 255, 0.68);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.4px;
    text-align: center;
}

.match-report-stat-row {
    display: grid;
    grid-template-columns: 48px minmax(120px, 1fr) 48px;
    align-items: center;
    gap: 10px;
    color: #ffffff;
    font-size: 13px;
    font-weight: 800;
}

.match-report-stat-row span:first-child {
    text-align: right;
}

.match-report-bars {
    display: flex;
    align-items: center;
    gap: 4px;
    height: 10px;
}

.match-report-bars i {
    display: block;
    height: 8px;
    border-radius: 999px;
}

.match-report-bars .home {
    margin-left: auto;
    background: linear-gradient(90deg, rgba(115, 220, 255, 0.42), rgba(255,255,255,0.9));
}

.match-report-bars .away {
    margin-right: auto;
    background: linear-gradient(90deg, rgba(94, 189, 255, 0.86), rgba(60, 238, 216, 0.48));
}

.league-table-wrap {
    overflow-x: auto;
    padding-bottom: 0;
    width: 100%;
    box-sizing: border-box;
}

.standings-standings {
    min-width: 0;
    width: 100%;
    display: grid;
    gap: 7px;
    isolation: isolate;
}

.standings-row {
    position: relative;
    display: grid;
    width: 100%;
    grid-template-columns: 32px 24px minmax(116px, 2.42fr) minmax(70px, 0.88fr) 26px 26px 26px 26px 32px 32px 36px 38px 36px 52px;
    align-items: center;
    gap: 5px;
    padding: 10px 9px 10px 11px;
    border-radius: 14px;
    background: rgba(18, 39, 95, 0.52);
    border: 1px solid rgba(122, 210, 255, 0.08);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
    isolation: isolate;
}

.standings-row.live {
    grid-template-columns: 32px 24px minmax(168px, 2.45fr) minmax(78px, 0.72fr) 28px 28px 28px 28px 34px 34px 38px 40px 38px 52px minmax(104px, 0.86fr);
}

.standings-row > [data-col] {
    position: relative;
    width: 100%;
    min-width: 0;
    z-index: 1;
}

.standings-row:not(.header)::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background:
        linear-gradient(90deg, rgba(95, 190, 255, 0.14), rgba(76, 143, 255, 0.08)),
        rgba(82, 166, 255, 0.06);
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.06),
        0 0 18px rgba(74, 174, 255, 0.08);
    opacity: 0;
    transition: opacity 0.18s ease, box-shadow 0.18s ease;
    pointer-events: none;
    z-index: 0;
}

.standings-row:not(.header):hover::after,
.standings-row:not(.header):focus-within::after {
    opacity: 1;
}

.standings-row::before {
    content: "";
    position: absolute;
    left: 0;
    top: 12px;
    bottom: 12px;
    width: 3px;
    border-radius: 999px;
    background: transparent;
    z-index: 2;
    pointer-events: none;
}

.standings-row.header {
    padding-top: 9px;
    padding-bottom: 9px;
    background: rgba(59,130,246,0.1);
    color: #cbe7ff;
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.45px;
    text-transform: uppercase;
}

.standings-row.header::before {
    display: none;
}

.standings-row.header > div {
    text-align: center;
}

.standings-row.header > div:nth-child(3),
.standings-row.header > div:nth-child(4) {
    text-align: left;
    min-width: 0;
}

.standings-row.zone-championship::before {
    background: linear-gradient(180deg, #5ef2ff, #1fbbff);
}

.standings-row.zone-europe::before {
    background: linear-gradient(180deg, #ff63c6, #ff6ba1);
}

.standings-row.zone-playoff::before {
    background: linear-gradient(180deg, #ffb347, #ff8b2b);
}

.standings-row.zone-relegated::before {
    background: linear-gradient(180deg, #ff7373, #ff3f56);
}

.standings-cell-center {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 12.5px;
    font-weight: 600;
    color: #f3f8ff;
    font-variant-numeric: tabular-nums;
}

.standings-pos {
    font-size: 19px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.5px;
}

.standings-inf {
    color: rgba(233, 242, 255, 0.58);
    font-weight: 900;
}

.standings-inf.up {
    color: #63ff9a;
    text-shadow: 0 0 12px rgba(99, 255, 154, 0.35);
}

.standings-inf.down {
    color: #ff5d7a;
    text-shadow: 0 0 12px rgba(255, 93, 122, 0.32);
}

.standings-team {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

.standings-team-logo {
    width: 24px;
    height: 24px;
    object-fit: contain;
    flex: 0 0 auto;
}

.standings-team-stack {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
    width: 100%;
}

.standings-team-name {
    color: #f4f8ff;
    max-width: 100%;
    font-size: 12.8px;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.standings-team-sub {
    display: none;
}

.standings-player-cell {
    display: flex;
    align-items: center;
    justify-self: start;
    width: 100%;
    min-width: 0;
}

.standings-points-cell {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-width: 0;
}

.standings-player {
    font-family: "Michroma", sans-serif;
    padding: 7px 9px 6px;
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(101, 214, 255, 0.14), rgba(101, 214, 255, 0.05));
    border: 1px solid rgba(122, 210, 255, 0.16);
    color: #f5fbff;
    font-size: 10.5px;
    font-weight: 400;
    letter-spacing: 0.55px;
    line-height: 1.22;
    white-space: nowrap;
    text-shadow: none;
    -webkit-font-smoothing: antialiased;
    text-rendering: geometricPrecision;
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.08),
        inset 0 0 18px rgba(99, 219, 255, 0.05),
        0 0 14px rgba(87, 196, 255, 0.08);
}

.standings-player .coach-link {
    text-shadow: none;
}

.coach-link {
    appearance: none;
    padding: 0;
    border: 0;
    background: transparent;
    color: inherit;
    font: inherit;
    letter-spacing: inherit;
    line-height: inherit;
    text-shadow: inherit;
    cursor: pointer;
    transition: color 0.18s ease, text-shadow 0.18s ease, opacity 0.18s ease;
}

.coach-link:hover {
    color: #ffffff;
}

.score-player-link:hover,
.bonus-player-link:hover {
    text-shadow:
        0 0 16px rgba(108, 220, 255, 0.18),
        0 0 28px rgba(255,255,255,0.08);
}

.standings-player-link:hover {
    opacity: 0.92;
}

.standings-player.empty {
    color: rgba(228, 238, 255, 0.66);
    background: rgba(255,255,255,0.03);
    border-color: rgba(255,255,255,0.05);
    box-shadow: none;
}

.standings-points {
    min-width: 48px;
    padding: 6px 5px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.08);
    background: rgba(255,255,255,0.05);
    text-align: center;
    font-size: 11.5px;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

.standings-points.positive {
    color: var(--green);
    background: rgba(34,197,94,0.12);
    border-color: rgba(137,240,180,0.24);
}

.standings-points.negative {
    color: var(--red);
    background: rgba(239,68,68,0.11);
    border-color: rgba(255,153,165,0.2);
}

.standings-points.neutral {
    color: #f0f6ff;
}

.standings-form-cell {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
}

.standings-form {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.standings-form-dot {
    width: 20px;
    height: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    color: #ffffff;
    font-size: 8.5px;
    font-weight: 900;
    line-height: 1;
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.16),
        0 0 10px rgba(0,0,0,0.12);
}

.standings-form-dot.win {
    background: rgba(34, 197, 94, 0.9);
}

.standings-form-dot.draw {
    color: #09102f;
    background: rgba(236, 229, 255, 0.92);
}

.standings-form-dot.loss {
    background: rgba(244, 27, 62, 0.92);
}

.standings-form-dot.empty {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.07);
    box-shadow: none;
}

.bonuses-section {
    margin-top: 0;
}

.bonuses-title {
    margin: 0 0 8px;
    font-family: inherit;
    font-size: 15px;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: #eaf6ff;
}

.bonuses-list {
    display: grid;
    gap: 5px;
}

.bonus-row {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.3fr) 54px;
    gap: 7px;
    align-items: center;
    padding: 6px 8px;
    border-radius: 11px;
    background: rgba(18, 39, 95, 0.52);
    border: 1px solid rgba(122, 210, 255, 0.08);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
}

.bonus-row.header {
    padding-top: 6px;
    padding-bottom: 6px;
    color: #c8e7ff;
    font-size: 10px;
    letter-spacing: 0.75px;
    text-transform: uppercase;
    background: rgba(59,130,246,0.12);
}

.bonus-player {
    font-family: "Michroma", sans-serif;
    color: #f4f8ff;
    font-size: 10px;
    font-weight: 400;
    letter-spacing: 0.55px;
    line-height: 1.18;
    text-rendering: geometricPrecision;
    text-shadow:
        0 0 6px rgba(99, 219, 255, 0.08),
        0 0 12px rgba(255,255,255,0.03);
}

.bonus-player .coach-link {
    display: inline-block;
    line-height: inherit;
    text-rendering: geometricPrecision;
}

.bonus-tipo {
    color: rgba(240, 246, 255, 0.85);
    font-size: 10.8px;
    line-height: 1.25;
}

.bonus-pontos {
    justify-self: end;
    min-width: 42px;
    padding: 5px 7px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.08);
    background: rgba(255,255,255,0.05);
    font-size: 12px;
    font-weight: 700;
    text-align: center;
}

.bonus-pontos.positive {
    color: var(--green);
    background: rgba(34,197,94,0.12);
    border-color: rgba(137,240,180,0.24);
}

.bonus-pontos.negative {
    color: var(--red);
    background: rgba(239,68,68,0.11);
    border-color: rgba(255,153,165,0.2);
}

button {
    padding: 14px 24px;
    border: 1px solid rgba(132, 208, 255, 0.28);
    border-radius: 14px;
    background: linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.05));
    color: white;
    cursor: pointer;
    font-family: inherit;
    font-size: 17px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

button:hover {
    background: linear-gradient(180deg, rgba(58, 133, 255, 0.2), rgba(91, 221, 255, 0.08));
    border-color: rgba(106, 196, 255, 0.5);
    box-shadow: 0 0 18px rgba(86, 184, 255, 0.22);
}

button:active {
    transform: scale(0.98);
}

button:disabled {
    opacity: 0.45;
    cursor: not-allowed;
    box-shadow: none;
}

.mute-btn {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 40px;
    height: 40px;
    padding: 8px;
    border-radius: 999px;
    border: 1px solid rgba(112, 208, 255, 0.16);
    background: rgba(255, 255, 255, 0.05);
    color: rgba(228, 238, 255, 0.72);
    cursor: pointer;
    z-index: 3;
    transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.mute-btn:hover {
    color: white;
    border-color: rgba(106, 196, 255, 0.4);
    background: rgba(58, 133, 255, 0.15);
    box-shadow: 0 0 12px rgba(86, 184, 255, 0.18);
}

.mute-btn .mute-icon {
    width: 100%;
    height: 100%;
    display: block;
}

.mute-btn .mute-icon.muted {
    display: none;
}

.mute-btn.is-muted .mute-icon.unmuted {
    display: none;
}

.mute-btn.is-muted .mute-icon.muted {
    display: block;
}

.draw-league-info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin: 4px 0 0;
}

.draw-league-logo {
    width: 160px;
    height: auto;
    object-fit: contain;
}

.draw-league-name {
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 1px;
    color: var(--muted);
}

.draw-actions {
    display: flex;
    justify-content: center;
    margin: 20px 0 4px;
}

.action-btn {
    margin-top: 24px;
}

.action-btn.gold {
    border-color: rgba(255,216,107,0.38);
    box-shadow: 0 0 18px rgba(255,216,107,0.18);
}

.action-btn.gold:hover {
    background: rgba(255,216,107,0.12);
    border-color: rgba(255,216,107,0.62);
}

.current {
    margin-top: 14px;
    padding: 6px 0 0;
    text-align: center;
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
}

.round-info {
    margin-bottom: 16px;
    color: rgba(233, 241, 255, 0.56);
    font-size: 14px;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.remaining-sidebar {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    width: 200px;
    display: none;
    flex-direction: column;
    gap: 8px;
    padding: 18px 16px;
    border-radius: 16px;
    border: 1px solid rgba(112, 206, 255, 0.12);
    background: linear-gradient(180deg, rgba(7, 20, 84, 0.6), rgba(4, 12, 44, 0.8));
    backdrop-filter: blur(10px);
    z-index: 10;
    max-height: 70vh;
    overflow-y: auto;
}

.remaining-sidebar.active {
    display: flex;
}

.remaining-sidebar.left {
    left: 16px;
}

.remaining-sidebar.right {
    right: 16px;
}

.remaining-title {
    margin-bottom: 6px;
    color: rgba(233, 241, 255, 0.5);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.remaining-chip {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 10px;
    border-radius: 8px;
    border: 1px solid rgba(112, 206, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
    color: var(--muted);
    font-size: 14px;
    white-space: nowrap;
    transition: opacity 0.3s ease;
}

.remaining-chip.used {
    opacity: 0.25;
    text-decoration: line-through;
}

.remaining-chip-logo {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

.roulette-container {
    position: relative;
    max-width: 680px;
    width: min(680px, 92vw);
    margin: 26px auto 0;
}

.roulette-marker {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 12px solid transparent;
    border-right: 12px solid transparent;
    border-top: 16px solid var(--gold);
    filter: drop-shadow(0 0 10px rgba(255, 216, 107, 0.76));
    z-index: 5;
}

.roulette-viewport {
    overflow: hidden;
    width: 100%;
    height: 146px;
    position: relative;
    border-radius: 18px;
    border: 1px solid rgba(124, 206, 255, 0.12);
    background:
        linear-gradient(180deg, rgba(8, 24, 86, 0.56), rgba(5, 13, 44, 0.84)),
        radial-gradient(circle at center, rgba(91, 221, 255, 0.08), transparent 70%);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.06);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 12%, black 88%, transparent 100%);
    mask-image: linear-gradient(to right, transparent 0%, black 12%, black 88%, transparent 100%);
}

.roulette-strip {
    display: flex;
    will-change: transform;
}

.roulette-item {
    flex: 0 0 126px;
    height: 146px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-right: 1px solid rgba(255,255,255,0.05);
}

.roulette-item img {
    width: 84px;
    height: 84px;
    object-fit: contain;
    filter: drop-shadow(0 0 10px rgba(87, 182, 255, 0.34));
}

.roulette-item.name-item {
    flex: 0 0 164px;
    font-family: "Cinzel", serif;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.roulette-item.winner {
    background: linear-gradient(180deg, rgba(255,216,107,0.13), rgba(255,216,107,0.06));
    box-shadow: inset 1px 0 0 rgba(255,216,107,0.32), inset -1px 0 0 rgba(255,216,107,0.32);
}

.team-info {
    margin-top: 24px;
    animation: fadeIn 0.4s ease;
    text-align: center;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
}

.logo-big {
    width: 180px;
    height: 180px;
    object-fit: contain;
    filter: drop-shadow(0 0 14px rgba(74, 184, 255, 0.48));
}

.team-name-big {
    margin-top: 12px;
    color: #ffd84f;
    font-family: "Cinzel", serif;
    font-size: 31px;
    font-weight: 700;
    line-height: 1.02;
    letter-spacing: 1.1px;
    text-transform: uppercase;
    text-shadow:
        0 0 4px rgba(255, 225, 96, 0.55),
        0 0 10px rgba(255, 210, 68, 0.28),
        0 2px 8px rgba(0, 0, 0, 0.18);
}

.team-rank {
    margin-top: 6px;
    color: rgba(228, 238, 255, 0.76);
    font-size: 17px;
}

.team-rank sup {
    font-size: 0.58em;
    vertical-align: super;
    line-height: 0;
}

.final-reveal {
    margin-top: 20px;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
    padding: 28px 24px 22px;
    text-align: center;
    border-radius: 28px;
    background:
        linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.025)),
        radial-gradient(circle at top, rgba(93, 212, 255, 0.08), transparent 62%);
    border: 1px solid rgba(122, 210, 255, 0.12);
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.05),
        0 18px 38px rgba(0, 0, 0, 0.2),
        0 0 28px rgba(84, 182, 255, 0.08);
    animation: revealCardIn 0.55s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.final-logo-wrap {
    width: 230px;
    height: 230px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background:
        radial-gradient(circle at center, rgba(84, 182, 255, 0.22), rgba(84, 182, 255, 0.04) 62%),
        linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.01));
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.05),
        0 0 28px rgba(72, 167, 255, 0.12);
}

.final-logo-wrap img {
    width: 180px;
    height: 180px;
    object-fit: contain;
    filter:
        drop-shadow(0 0 16px rgba(74, 184, 255, 0.42))
        drop-shadow(0 0 28px rgba(74, 184, 255, 0.14));
}

.final-player-label {
    margin-top: 18px;
    color: rgba(228, 238, 255, 0.52);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2.1px;
    text-transform: uppercase;
}

.final-team-name {
    margin-top: 12px;
    color: #ffd84f;
    font-family: "Cinzel", serif;
    font-size: 31px;
    font-weight: 700;
    line-height: 1.02;
    letter-spacing: 1.1px;
    text-transform: uppercase;
    text-shadow:
        0 0 4px rgba(255, 225, 96, 0.55),
        0 0 10px rgba(255, 210, 68, 0.28),
        0 2px 8px rgba(0, 0, 0, 0.18);
}

.final-player-name {
    margin-top: 8px;
    color: #f7fbff;
    font-family: "Cinzel", serif;
    font-size: 34px;
    font-weight: 800;
    line-height: 1.04;
    text-shadow:
        0 0 8px rgba(109, 212, 255, 0.14),
        0 0 18px rgba(109, 212, 255, 0.06);
}

.table {
    margin-top: 26px;
    width: min(100%, 920px);
    max-width: 920px;
    margin-left: auto;
    margin-right: auto;
    display: grid;
    gap: 10px;
}

.row {
    display: grid;
    grid-template-columns: 88px minmax(0, 1fr) 88px;
    align-items: center;
    gap: 16px;
    padding: 14px 20px;
    border-radius: 20px;
    background:
        linear-gradient(180deg, rgba(255,255,255,0.045), rgba(255,255,255,0.018)),
        radial-gradient(circle at left center, rgba(91, 195, 255, 0.05), transparent 42%);
    border: 1px solid rgba(122, 210, 255, 0.1);
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.045),
        0 12px 28px rgba(0, 0, 0, 0.12);
}

.row::after {
    content: "";
    display: block;
    width: 100%;
    height: 1px;
}

.table-rank {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0 10px;
    border-radius: 14px;
    color: rgba(230, 240, 255, 0.72);
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 0.4px;
    text-align: center;
    background: linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.012));
    border: 1px solid rgba(122, 210, 255, 0.08);
}

.table-team {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    min-width: 0;
    max-width: max-content;
}

.table-match {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    gap: 16px;
}

.table-player {
    justify-self: end;
    font-family: "Michroma", sans-serif;
    font-size: 15px;
    font-weight: 400;
    text-align: right;
    color: #8edfff;
    letter-spacing: 0.9px;
    line-height: 1.1;
    text-transform: uppercase;
    text-shadow:
        0 0 12px rgba(109, 212, 255, 0.1),
        0 0 24px rgba(109, 212, 255, 0.04);
}

.table-connector {
    position: relative;
    width: 72px;
    height: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.table-connector::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    height: 1px;
    transform: translateY(-50%);
    background: linear-gradient(90deg, rgba(126, 216, 255, 0.08), rgba(126, 216, 255, 0.42) 50%, rgba(126, 216, 255, 0.08));
}

.table-connector::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 12px;
    height: 12px;
    border-radius: 999px;
    transform: translate(-50%, -50%);
    background:
        radial-gradient(circle at center, rgba(255,255,255,0.98) 0 24%, rgba(154, 228, 255, 1) 25% 56%, rgba(126, 216, 255, 0.34) 57% 100%);
    box-shadow:
        0 0 14px rgba(109, 212, 255, 0.32),
        0 0 30px rgba(109, 212, 255, 0.14),
        0 0 48px rgba(109, 212, 255, 0.08);
}

.table-logo {
    width: 32px;
    height: 32px;
    object-fit: contain;
    flex-shrink: 0;
    filter: drop-shadow(0 0 10px rgba(255,255,255,0.08));
}

.table-team-name {
    color: var(--gold);
    font-family: "Cinzel", serif;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 0.7px;
    line-height: 1.15;
    text-wrap: balance;
    text-shadow:
        0 0 4px rgba(255, 225, 96, 0.38),
        0 0 10px rgba(255, 210, 68, 0.16);
}

.results-player-link:hover {
    color: #d9f6ff;
    text-shadow:
        0 0 16px rgba(109, 212, 255, 0.18),
        0 0 28px rgba(255,255,255,0.08);
}

.score-table {
    display: grid;
    gap: 12px;
}

.score-table.general .score-row {
    grid-template-columns: 74px 1fr 150px;
}

.score-table.general .score-row > :nth-child(3) {
    justify-self: center;
    text-align: center;
}

.score-table.general .score-points {
    justify-self: center;
}

.score-row {
    display: grid;
    grid-template-columns: 74px 1.25fr 1.35fr 110px 110px 126px;
    gap: 14px;
    align-items: center;
    padding: 16px 18px;
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.02));
    border: 1px solid rgba(122, 210, 255, 0.08);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
    transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.score-row.header {
    color: #c8e7ff;
    font-size: 14px;
    letter-spacing: 1px;
    text-transform: uppercase;
    background: rgba(59,130,246,0.12);
}

.score-row:not(.header):hover,
.row:hover {
    transform: translateY(-1px);
    border-color: rgba(122, 210, 255, 0.16);
    background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.025));
}

.score-rank {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.09);
    color: #d8e8ff;
    font-weight: 700;
}

.score-cell {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.score-mobile-label {
    display: none;
    color: rgba(228, 238, 255, 0.54);
    font-size: 11px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.score-player {
    font-family: "Michroma", sans-serif;
    color: #f4f8ff;
    font-size: 17px;
    font-weight: 400;
    letter-spacing: 0.8px;
    line-height: 1.08;
    text-shadow:
        0 0 12px rgba(99, 219, 255, 0.14),
        0 0 22px rgba(255,255,255,0.05);
}

.score-team {
    color: rgba(240, 246, 255, 0.9);
    font-size: 18px;
    font-weight: 600;
}

.score-value {
    color: white;
    font-size: 18px;
    font-weight: 700;
}

.home-logo {
    display: block;
    width: min(780px, 72vw);
    max-width: 100%;
    margin: 0 auto;
    cursor: pointer;
    transform-origin: center;
    transition: transform 0.32s ease, filter 0.32s ease;
    clip-path: polygon(
        28% 20%, 38% 17%, 50% 16%, 62% 17%, 73% 19%, 82% 22%,
        87% 27%, 89% 33%, 90% 39%, 93% 44%, 95% 49%, 94% 54%,
        90% 59%, 84% 62%, 77% 65%, 70% 69%, 62% 75%, 56% 81%,
        50% 87%, 44% 82%, 37% 76%, 30% 70%, 23% 65%, 16% 59%,
        12% 53%, 12% 46%, 13% 39%, 15% 31%, 19% 24%
    );
    filter:
        drop-shadow(0 0 16px rgba(74, 168, 255, 0.22))
        drop-shadow(0 0 44px rgba(54, 131, 255, 0.16));
}

.home-logo:hover {
    transform: translateY(-4px) scale(1.02);
    filter:
        drop-shadow(0 0 20px rgba(99, 219, 255, 0.28))
        drop-shadow(0 0 56px rgba(54, 131, 255, 0.22));
}

.social-dock {
    margin-top: 18px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    width: min(760px, 92vw);
}

.social-btn {
    position: relative;
    width: 88px;
    height: 88px;
    padding: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 24px;
    border: 1px solid rgba(112, 208, 255, 0.14);
    background:
        linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02)),
        radial-gradient(circle at top, rgba(93, 212, 255, 0.08), transparent 62%);
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.05),
        inset 0 0 0 1px rgba(130, 226, 255, 0.08),
        0 16px 28px rgba(0, 0, 0, 0.18),
        0 0 18px rgba(84, 182, 255, 0.06);
    backdrop-filter: blur(10px);
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.social-btn::after {
    content: "";
    position: absolute;
    inset: -6px;
    border-radius: 28px;
    background: radial-gradient(circle, rgba(103, 219, 255, 0.14), rgba(103, 219, 255, 0) 70%);
    opacity: 0.7;
    filter: blur(10px);
    z-index: -1;
    pointer-events: none;
}

.social-btn:hover {
    transform: translateY(-3px) scale(1.03);
    border-color: rgba(112, 208, 255, 0.28);
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.07),
        0 18px 32px rgba(0, 0, 0, 0.22),
        0 0 22px rgba(84, 182, 255, 0.12);
}

.social-btn img {
    width: 108%;
    height: 108%;
    object-fit: contain;
    filter:
        drop-shadow(0 0 10px rgba(114, 215, 255, 0.18))
        drop-shadow(0 0 20px rgba(84, 182, 255, 0.08));
}

.social-discord:hover {
    border-color: rgba(126, 146, 255, 0.34);
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.07),
        0 18px 32px rgba(0, 0, 0, 0.22),
        0 0 24px rgba(88, 101, 242, 0.22);
}

.social-instagram:hover {
    border-color: rgba(255, 98, 182, 0.34);
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.07),
        0 18px 32px rgba(0, 0, 0, 0.22),
        0 0 24px rgba(225, 48, 108, 0.2);
}

.social-twitch:hover {
    border-color: rgba(177, 124, 255, 0.34);
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.07),
        0 18px 32px rgba(0, 0, 0, 0.22),
        0 0 24px rgba(145, 70, 255, 0.22);
}

.social-x:hover {
    border-color: rgba(160, 210, 255, 0.26);
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.07),
        0 18px 32px rgba(0, 0, 0, 0.22),
        0 0 22px rgba(164, 214, 255, 0.14);
}

.social-youtube:hover {
    border-color: rgba(255, 106, 106, 0.34);
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.07),
        0 18px 32px rgba(0, 0, 0, 0.22),
        0 0 24px rgba(255, 0, 0, 0.18);
}

.score-points {
    justify-self: end;
    min-width: 108px;
    padding: 10px 14px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.08);
    background: rgba(255,255,255,0.05);
    font-size: 18px;
    font-weight: 700;
    text-align: center;
}

.score-points.positive {
    color: var(--green);
    background: rgba(34,197,94,0.12);
    border-color: rgba(137,240,180,0.24);
}

.score-points.negative {
    color: var(--red);
    background: rgba(239,68,68,0.11);
    border-color: rgba(255,153,165,0.2);
}

.league-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 18px;
    margin-bottom: 26px;
}

.league-card {
    padding: 22px 20px;
    border-radius: 18px;
    border: 1px solid rgba(112, 206, 255, 0.1);
    background:
        linear-gradient(180deg, rgba(14, 34, 122, 0.28), rgba(5, 13, 58, 0.54)),
        radial-gradient(circle at top, rgba(115, 222, 255, 0.07), transparent 70%);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
}

.league-selector {
    margin-bottom: 22px;
    position: relative;
    z-index: 30;
}

.league-main-select-wrap {
    position: relative;
    width: 100%;
    max-width: 340px;
}

.league-main-select-wrap::after {
    content: "›";
    position: absolute;
    right: 16px;
    top: 25px;
    color: rgba(112, 208, 255, 0.92);
    font-size: 18px;
    font-weight: 900;
    line-height: 1;
    transform: translateY(-50%) rotate(90deg);
    pointer-events: none;
}

.league-main-select {
    width: 100%;
    min-height: 50px;
    padding: 13px 44px 13px 18px;
    border-radius: 14px;
    border: 1px solid rgba(112, 208, 255, 0.16);
    color: #eaf6ff;
    background: linear-gradient(180deg, rgba(18, 50, 118, 0.82), rgba(8, 22, 72, 0.82));
    font-family: "Oxanium", sans-serif;
    font-size: 15px;
    font-weight: 800;
    letter-spacing: 0.2px;
    text-align: left;
    cursor: pointer;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.05),
        inset 0 0 18px rgba(112, 208, 255, 0.035),
        0 0 14px rgba(36, 205, 255, 0.035);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.league-main-select:hover,
.league-main-select:focus {
    border-color: rgba(106, 196, 255, 0.4);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.055),
        inset 0 0 22px rgba(112, 208, 255, 0.045),
        0 0 18px rgba(86, 184, 255, 0.12);
    outline: none;
}

.league-main-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    left: 0;
    display: grid;
    gap: 5px;
    padding: 7px;
    border-radius: 14px;
    border: 1px solid rgba(112, 208, 255, 0.24);
    background: linear-gradient(180deg, rgba(7, 23, 76, 0.98), rgba(3, 12, 45, 0.98));
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.06),
        0 18px 34px rgba(0, 0, 0, 0.34),
        0 0 24px rgba(36, 205, 255, 0.08);
    opacity: 0;
    transform: translateY(-4px);
    pointer-events: none;
    transition: opacity 0.16s ease, transform 0.16s ease;
}

.league-main-select-wrap.open .league-main-menu {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.league-main-option {
    width: 100%;
    padding: 10px 11px;
    border: 1px solid transparent;
    border-radius: 10px;
    color: rgba(222, 239, 255, 0.82);
    background: transparent;
    font-family: "Oxanium", sans-serif;
    font-size: 13px;
    font-weight: 800;
    text-align: left;
    cursor: pointer;
    transition: color 0.16s ease, background 0.16s ease, border-color 0.16s ease, transform 0.16s ease;
}

.league-main-option:hover,
.league-main-option.active {
    color: #ffffff;
    border-color: rgba(112, 208, 255, 0.18);
    background:
        radial-gradient(circle at 12% 50%, rgba(112, 208, 255, 0.18), transparent 48%),
        rgba(30, 73, 148, 0.52);
}

.league-main-option:hover {
    transform: translateX(2px);
}

.league-card h3 {
    margin: 0;
    font-family: inherit;
    font-size: 22px;
    text-transform: uppercase;
}

.league-card p {
    margin: 10px 0 0;
    color: var(--muted);
    font-size: 17px;
}

.league-card strong {
    color: var(--gold);
}

@keyframes fadeIn {
    0% { opacity: 0; transform: translateY(10px); }
    100% { opacity: 1; transform: translateY(0); }
}

@keyframes revealCardIn {
    0% { opacity: 0; transform: translateY(16px) scale(0.96); }
    100% { opacity: 1; transform: translateY(0) scale(1); }
}

@media (max-width: 980px) {
    .nav { width: 100%; flex-direction: column; max-width: 560px; }
    .nav-logo-btn { position: static; width: 150px; min-width: 0; margin: 0 auto 4px; padding: 0; transform: none; }
    .nav-logo-btn img { width: 136px; }
    .nav-logo-btn:hover,
    .nav-logo-btn.active { transform: translateY(-1px) scale(1.03); }
    .nav-btn { min-width: 0; width: 100%; }
    .hero { min-height: calc(100vh - 150px); }
    .page-panel, .score-panel, .league-panel,
    #pastView .page-panel { width: min(100%, calc(100vw - 36px)); margin-top: 34px; }
    .coaches-panel { margin-top: 34px; }
    .coaches-intro,
    .coach-drag-note { width: min(100%, calc(100vw - 36px)); }
    .coaches-rail { padding-inline: 18px; }
    .coach-card { flex-basis: 290px; min-height: 430px; }
    .coach-card-media { min-height: 386px; }
    .coach-modal-dialog { grid-template-columns: 1fr; width: min(860px, calc(100vw - 36px)); }
    .coach-modal-media { height: 340px; }
    .coach-trophy-cabinet:not(.coach-palmares-trophies-panel .coach-trophy-cabinet) { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .coach-insight-grid--narrativa { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .league-season-layout { grid-template-columns: 1fr; }
    .league-lower-grid { grid-template-columns: 1fr; }
    .league-awards-grid { grid-template-columns: 1fr; }
    .league-side-card { height: auto; min-height: 0; }
    .league-calendar-card { height: 560px; max-height: 560px; }
    .league-calendar-scroll { grid-template-columns: 1fr; }
    .match-report-grid { grid-template-columns: 1fr; }
    .match-report-body { grid-template-columns: 1fr; }
    .match-report-scoreline { grid-template-columns: 1fr; gap: 14px; }
    .match-report-team,
    .match-report-team-home,
    .match-report-team-away { justify-content: center; text-align: center; }
    .match-report-team-home { flex-direction: row-reverse; }
    .match-report-pitch { min-height: 500px; }
    .match-report-hero { padding: 30px 54px 24px; }
}

.league-side-stats {
    margin-top: 12px;
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.side-stats-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.side-stats-title {
    margin: 0;
    color: #eaf6ff;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    white-space: nowrap;
}

.side-stat-controls {
    min-width: 0;
    max-width: 190px;
    flex: 1 1 150px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    justify-self: end;
    gap: 5px;
    width: auto;
}

.side-stat-current {
    flex: 1 1 auto;
    min-width: 0;
    padding: 0;
    color: rgba(238, 248, 255, 0.92);
    background: transparent;
    border: 0;
    font-size: 8.2px;
    font-weight: 900;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.side-stat-arrow {
    width: auto;
    height: auto;
    padding: 0 2px;
    display: grid;
    place-items: center;
    border: 0;
    border-radius: 0;
    color: rgba(255, 255, 255, 0.76);
    background: transparent;
    font-size: 15px;
    font-weight: 900;
    line-height: 1;
    cursor: pointer;
    transition: color 0.18s ease, transform 0.18s ease;
}

.side-stat-arrow:hover {
    color: #ffffff;
    transform: translateY(-1px);
}

.side-stat-table {
    display: none;
    overflow: hidden;
    flex: 1;
    min-height: 0;
    border-radius: 15px;
    border: 1px solid rgba(122, 210, 255, 0.08);
    background: rgba(10, 25, 76, 0.46);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.035);
    isolation: isolate;
}

.side-stat-table.active {
    display: flex;
    flex-direction: column;
}

.side-stat-head,
.side-stat-row {
    display: grid;
    grid-template-columns: 30px minmax(104px, 1.45fr) 50px 38px 44px 50px;
    align-items: center;
    gap: 4px;
}

.side-stat-head {
    padding: 7px 8px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 7.8px;
    font-weight: 900;
    letter-spacing: 0.7px;
    text-transform: uppercase;
    background: rgba(59,130,246,0.12);
}

.side-stat-head span {
    display: block;
    width: 100%;
    min-width: 0;
    text-align: center;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.side-stat-head span:nth-child(2) {
    text-align: left;
}

.side-stat-body {
    min-height: 0;
    flex: 1;
    display: grid;
    grid-template-rows: repeat(12, minmax(0, 1fr));
}

.side-stat-row {
    min-height: 0;
    padding: 6px 8px;
    color: rgba(238, 247, 255, 0.88);
    font-size: 9.3px;
    border-top: 1px solid rgba(112, 208, 255, 0.055);
    background: rgba(18, 39, 95, 0.48);
}

.side-stat-row:nth-child(even) {
    background: rgba(22, 48, 108, 0.5);
}

.side-stat-pos,
.side-stat-row strong,
.side-stat-row > span:not(.side-stat-team) {
    display: block;
    width: 100%;
    min-width: 0;
    justify-self: center;
    text-align: center;
}

.side-stat-row strong {
    color: #ffffff;
    font-size: 10.2px;
}

.side-stat-team {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 6px;
    justify-self: stretch;
}

.side-stat-team span {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.side-stat-logo {
    width: 17px;
    height: 17px;
    object-fit: contain;
    flex: 0 0 auto;
}

@media (max-width: 760px) {
    .shell { padding-inline: 14px; }
    .panel-head { flex-direction: column; align-items: flex-start; }
    .title-with-info { align-items: flex-start; }
    .formula-popover { width: 100%; }
    .page-panel, .score-panel, .league-panel { padding: 18px; border-radius: 18px; margin-top: 24px; }
    .row { grid-template-columns: 58px 1fr; }
    .table-match { grid-template-columns: 1fr; gap: 12px; }
    .table-player, .table-team { text-align: left; justify-content: flex-start; }
    .table-connector { margin: 0 auto; }
    .score-row, .score-table.general .score-row { grid-template-columns: 58px 1fr; gap: 12px; }
    .score-row.header { display: none; }
    .score-mobile-label { display: inline-block; }
    .score-points { justify-self: start; }
    .home-logo { width: min(92vw, 620px); }
    .social-dock { gap: 12px; margin-top: 26px; }
    .social-btn { width: 74px; height: 74px; padding: 9px; border-radius: 20px; }
    .nav-logo-btn { width: 126px; }
    .nav-logo-btn img { width: 118px; }
    .coaches-panel { margin-top: 24px; }
    .coaches-intro,
    .coach-drag-note { width: min(100%, calc(100vw - 28px)); }
    .coaches-head { margin-bottom: 18px; }
    .coaches-stage { gap: 18px; }
    .coach-drag-note { justify-self: start; margin-top: -2px; }
    .coach-card { flex-basis: 236px; min-height: 404px; padding: 10px 10px 14px; border-radius: 16px; }
    .coach-card-media { min-height: 334px; border-radius: 12px; }
    .coach-card-placeholder { width: 68%; border-radius: 22px; }
    .coach-card-name { font-size: 16px; }
    .coaches-rail { gap: 14px; padding-inline: 14px; }
    .coach-modal-dialog { width: min(100vw - 24px, 100%); margin-top: 18px; padding: 18px; gap: 18px; }
    .coach-modal-media { height: 260px; }
    .coach-modal-tabs { width: 100%; }
    .coach-modal-tab { flex: 1; min-width: 0; padding-inline: 14px; }
    .coach-modal-nav.prev { left: 8px; }
    .coach-modal-nav.next { right: 8px; }
    .coach-modal-nav { width: 36px; height: 36px; font-size: 24px; }
    .coach-modal-name { font-size: clamp(22px, 7vw, 30px); }
    .coach-modal-role { font-size: 16px; }
    .coach-modal-tag,
    .coach-modal-description { font-size: 14px; line-height: 1.64; }
    .coach-modal-highlight { font-size: 12px; }
    .coach-modal-stats-wide { padding-top: 0; border-top: 0; }
    .coach-modal-stats-grid { grid-template-columns: 1fr; gap: 10px; padding: 14px; }
    .coach-stat-card { min-height: 76px; }
    .coach-stat-value { font-size: 20px; }
    .coach-stats-section { padding: 0 0 16px; }
    .coach-trophy-cabinet:not(.coach-palmares-trophies-panel .coach-trophy-cabinet),
    .coach-insight-grid { grid-template-columns: 1fr; }
    .coach-insight-grid--narrativa { grid-template-columns: 1fr; }
    .coach-trophy-slot { min-height: 106px; }
    .coach-palmares-flag-item { min-width: 85px; padding: 10px 14px; }
    .coach-palmares-flag-img { width: 72px; height: 48px; }
    .coach-insight-card { min-height: 96px; }
    .league-toty-card { height: 430px; }
    .league-toty-pitch { min-height: 0; }
    .league-fixture-match { grid-template-columns: 1fr 52px 1fr; }
    .league-match-club { font-size: 10.5px; }
    .match-report-modal { padding: 12px; }
    .match-report-dialog { border-radius: 20px; }
    .match-report-hero { padding: 56px 18px 22px; }
    .match-report-events-grid { grid-template-columns: 1fr; }
    .match-report-stat-row { grid-template-columns: 42px minmax(90px, 1fr) 42px; }
    .match-report-body { padding: 14px; gap: 14px; }
    .match-report-pitch { min-height: 430px; padding-inline: 8px; }
    .match-report-player-node { min-width: 44px; max-width: 62px; }
    .match-report-player-name { max-width: 62px; font-size: 7.8px; }
    .match-report-player-badge b,
    .match-report-player-badge em { font-size: 7px; padding-inline: 4px; }
    .final-reveal { padding: 24px 18px 20px; }
    .final-logo-wrap { width: 200px; height: 200px; }
    .final-logo-wrap img { width: 156px; height: 156px; }
    .final-player-name { font-size: 29px; }
}

/* Photo lightbox */
.photo-lightbox {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    animation: lightbox-in 0.2s ease;
}

.photo-lightbox.active {
    display: flex;
}

.photo-lightbox-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.88);
    cursor: pointer;
}

.photo-lightbox-img {
    position: relative;
    max-width: 92vw;
    max-height: 92vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.6);
    cursor: pointer;
}

@keyframes lightbox-in {
    from { opacity: 0; }
    to { opacity: 1; }
}

.coach-modal-photo-main {
    cursor: pointer;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
    flex: 0 0 auto;
