@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Bricolage+Grotesque:opsz,wght@12..96,200..800&family=DM+Serif+Display:ital@0;1&family=Gabarito:wght@400..900&family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&family=Libre+Baskerville:ital,wght@0,400;0,700;1,400&family=Montserrat:ital,wght@0,100..900;1,100..900&family=Plus+Jakarta+Sans:ital,wght@0,200..800;1,200..800&family=Raleway:ital,wght@0,100..900;1,100..900&display=swap');

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    height: 100%;
    scroll-behavior: smooth;
}

body {
    min-height: 100%;
    margin: 0;
    padding: 0;
}

img,
picture,
video,
canvas {
    display: block;
    max-width: 100%;
}

img,
svg {
    vertical-align: middle;
}

svg {
    flex-shrink: 0;
}

[data-dropdown].is-open [data-dropdown-panel] {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

[data-dropdown].is-open [data-dropdown-chevron] {
    transform: rotate(180deg);
}

.champions-1,
.league-1 {
    font-family: "Bebas Neue", sans-serif;
}

.asset-fallback {
    display: flex;
    min-height: 100%;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(97, 155, 75, 0.25);
    background: linear-gradient(135deg, #0a0f18 0%, #1f3a27 55%, #5ba04b 100%);
    color: rgba(255, 255, 255, 0.78);
    font-family: Inter, system-ui, sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-align: center;
    text-transform: uppercase;
}

@media (max-width: 1279px) {
    html,
    body {
        overflow-x: hidden;
        max-width: 100%;
    }
}

.home-board {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow-x: hidden;
}

.home-board__inner,
.home-board__grid,
.home-board__col {
    width: 100%;
    max-width: 100%;
    min-width: 0;
}

.home-board article,
.home-board__schedule {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

.home-announcement-body,
.home-announcement-body * {
    max-width: 100% !important;
    box-sizing: border-box;
}

.home-announcement-body p,
.home-announcement-body div,
.home-announcement-body span,
.home-announcement-body li,
.home-announcement-body td,
.home-announcement-body th {
    white-space: normal !important;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.home-announcement-body table {
    display: block;
    width: 100% !important;
    overflow-x: auto;
}

.home-announcement-title {
    overflow-wrap: anywhere;
    word-break: break-word;
}
.site-hero {
    min-height: 0;
    height: auto;
}

.site-header {
    position: relative;
    color: #1a1a1a;
    min-height: 4.5rem;
    overflow: visible;
    background-color: #ffffff;
    background-image: url('../images/header-strip.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: right center;
    border-bottom: 1px solid #5E9E52;
    box-shadow: 0 4px 16px rgba(15, 60, 20, 0.12);
}

.site-header-brand {
    position: relative;
}

.site-header-brand::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 30%;
    z-index: 0;
    width: 5.25rem;
    height: 5.25rem;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.78) 40%, rgba(255, 255, 255, 0.28) 64%, rgba(255, 255, 255, 0) 78%);
    pointer-events: none;
}

.site-header-brand > img,
.site-header-brand > span {
    position: relative;
    z-index: 1;
}

.site-header-brand > img {
    filter: drop-shadow(0 0 8px #fff) drop-shadow(0 0 16px rgba(255, 255, 255, 0.85));
}

.site-header__inner {
    position: relative;
    z-index: 1;
    min-height: inherit;
}

@media (min-width: 640px) {
    .site-header-brand::after {
        width: 7.5rem;
        height: 7.5rem;
    }
}

@media (min-width: 768px) {
    .site-header {
        min-height: 7.5rem;
    }
}

@media (min-width: 1024px) {
    .site-header {
        min-height: 8.5rem;
    }
}

/* Mobile navigation */
.site-nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 20;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.08);
    color: inherit;
    cursor: pointer;
    flex-shrink: 0;
}

[data-header-theme="light"] .site-nav-toggle {
    border-color: rgba(26, 26, 26, 0.15);
    background: rgba(255, 255, 255, 0.85);
    color: #1a1a1a;
}

.site-nav-toggle__icon--close {
    display: none;
}

.site-nav-toggle[aria-expanded="true"] .site-nav-toggle__icon--open {
    display: none;
}

.site-nav-toggle[aria-expanded="true"] .site-nav-toggle__icon--close {
    display: block;
}

.site-mobile-nav-backdrop {
    position: fixed;
    inset: 0;
    z-index: 190;
    border: 0;
    padding: 0;
    background: rgba(10, 15, 24, 0.55);
    cursor: pointer;
    pointer-events: auto;
}

.site-mobile-nav-backdrop[hidden] {
    display: none;
}

.site-mobile-nav {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 200;
    display: flex;
    flex-direction: column;
    width: min(320px, 88vw);
    height: auto;
    max-height: 100vh;
    max-height: 100dvh;
    padding: 16px 20px 24px;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    background: #0a0f18;
    color: #fff;
    box-shadow: -8px 0 32px rgba(0, 0, 0, 0.35);
    transform: translateX(105%);
    transition: transform 0.25s ease;
    pointer-events: auto;
}

[data-header-theme="light"] .site-mobile-nav {
    background: #E4F7E7;
    color: #1a1a1a;
}

.site-mobile-nav.is-open {
    transform: translateX(0);
}

.site-mobile-nav[hidden]:not(.is-open) {
    display: none;
}

.site-mobile-nav:not([hidden]),
.site-mobile-nav.is-open {
    display: flex;
}

body.site-mobile-nav-open {
    overflow: hidden;
}

body.site-mobile-nav-open .site-nav-toggle {
    opacity: 0;
    pointer-events: none;
}

.site-mobile-nav__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.site-mobile-nav__top-label {
    margin: 0;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.55);
}

[data-header-theme="light"] .site-mobile-nav__top {
    border-bottom-color: rgba(26, 26, 26, 0.1);
}

[data-header-theme="light"] .site-mobile-nav__top-label {
    color: rgba(26, 26, 26, 0.5);
}

.site-mobile-nav__close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    cursor: pointer;
}

[data-header-theme="light"] .site-mobile-nav__close {
    border-color: rgba(26, 26, 26, 0.15);
    background: #fff;
    color: #1a1a1a;
}

.site-mobile-nav__links {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.site-mobile-nav__link {
    display: block;
    padding: 14px 12px;
    border-radius: 8px;
    font-size: 17px;
    font-weight: 600;
    text-decoration: none;
    color: rgba(255, 255, 255, 0.92);
    transition: background 0.15s ease;
}

[data-header-theme="light"] .site-mobile-nav__link {
    color: #1a1a1a;
}

.site-mobile-nav__link:hover,
.site-mobile-nav__link.is-active {
    background: rgba(193, 232, 44, 0.12);
    color: #c1e82c;
}

[data-header-theme="light"] .site-mobile-nav__link:hover,
[data-header-theme="light"] .site-mobile-nav__link.is-active {
    color: #4a7c3f;
    background: rgba(85, 166, 78, 0.12);
}

.site-mobile-nav__group {
    padding: 8px 0 4px;
}

.site-mobile-nav__group-label {
    display: block;
    padding: 8px 12px 6px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
}

[data-header-theme="light"] .site-mobile-nav__group-label {
    color: rgba(26, 26, 26, 0.55);
}

.site-mobile-nav__sublink {
    display: block;
    padding: 10px 12px 10px 20px;
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    color: rgba(255, 255, 255, 0.82);
}

[data-header-theme="light"] .site-mobile-nav__sublink {
    color: rgba(26, 26, 26, 0.82);
}

.site-mobile-nav__sublink.is-muted {
    color: rgba(255, 255, 255, 0.45);
    font-style: italic;
}

.site-mobile-nav__auth {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 16px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

[data-header-theme="light"] .site-mobile-nav__auth {
    border-top-color: rgba(26, 26, 26, 0.1);
}

.site-mobile-nav__profile {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border-radius: 8px;
    font-weight: 700;
    text-decoration: none;
    color: inherit;
    background: rgba(255, 255, 255, 0.06);
}

.site-mobile-nav__button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 44px;
    border: 0;
    border-radius: 7px;
    padding: 12px 16px;
    font: inherit;
    font-size: 16px;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
}

.site-mobile-nav__button--primary {
    background: #4CAF50;
    color: #fff;
}

.site-mobile-nav__button--accent {
    background: #C1D72E;
    color: #1a1a1a;
}

.site-mobile-nav__button--secondary {
    background: rgba(255, 255, 255, 0.1);
    color: inherit;
}

[data-header-theme="light"] .site-mobile-nav__button--secondary {
    background: rgba(26, 26, 26, 0.08);
}

/* League detail tabs — one compact row on phones */
.league-tab-bar {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 6px;
}

.league-tab-bar .league-tab-btn {
    min-height: 40px;
    border: 1px solid #E0E0E0;
    border-radius: 8px;
    background: #fff;
    padding: 0.45rem 0.25rem;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: 0.01em;
    color: #333333;
    cursor: pointer;
}

.league-tab-bar .league-tab-btn.is-active {
    border-color: #5E9E52;
    background: #5E9E52;
    color: #fff;
    box-shadow: 0 1px 4px rgba(94, 158, 82, 0.28);
}

@media (min-width: 640px) {
    .league-tab-bar {
        display: flex;
        flex-wrap: wrap;
        gap: 12px;
    }

    .league-tab-bar .league-tab-btn {
        min-height: 0;
        padding: 0.65rem 1.25rem;
        font-size: 15px;
    }
}

.league-week-bar {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    margin: 0 0 14px;
    padding: 2px 0 8px;
    scrollbar-width: thin;
    -webkit-overflow-scrolling: touch;
}

.league-week-btn {
    flex: 0 0 auto;
    min-height: 36px;
    border: 1px solid #d7ead9;
    border-radius: 999px;
    background: #fff;
    padding: 0.4rem 0.95rem;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.2;
    color: #2d4a2d;
    white-space: nowrap;
    cursor: pointer;
}

.league-week-btn.is-active {
    border-color: #5E9E52;
    background: #5E9E52;
    color: #fff;
    box-shadow: 0 1px 4px rgba(94, 158, 82, 0.28);
}

.league-week-panel__count {
    margin: 0 0 12px;
    font-size: 13px;
    font-weight: 600;
    color: #6b7a6b;
}

@media (min-width: 640px) {
    .league-week-bar {
        flex-wrap: wrap;
        overflow: visible;
        gap: 10px;
        margin-bottom: 18px;
        padding-bottom: 0;
    }

    .league-week-btn {
        min-height: 40px;
        padding: 0.5rem 1.15rem;
        font-size: 14px;
    }

    .league-week-panel__count {
        margin-bottom: 16px;
        font-size: 14px;
    }
}

.league-roster-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

.league-roster-card {
    overflow: hidden;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 2px 16px rgba(45, 74, 45, 0.07);
    outline: 1px solid #e1f0e1;
}

.league-roster-card__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 14px;
    background: #eef7ee;
    border-bottom: 1px solid #d7ead9;
}

.league-roster-card__title {
    margin: 0;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.2;
    color: #2d4a2d;
}

.league-roster-card__count {
    flex-shrink: 0;
    border-radius: 999px;
    background: #fff;
    padding: 4px 10px;
    font-size: 11px;
    font-weight: 700;
    color: #4a7a4a;
    outline: 1px solid #cfe8d2;
}

.league-roster-row {
    display: grid;
    grid-template-columns: 22px 36px minmax(0, 1fr) auto;
    align-items: start;
    gap: 10px;
    padding: 12px 14px;
    border-top: 1px solid #eef2ee;
}

.league-roster-row:first-child {
    border-top: 0;
}

.league-roster-row__index {
    padding-top: 8px;
    font-size: 11px;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    color: #7a8b7a;
    text-align: center;
}

.league-roster-row__avatar {
    width: 36px;
    height: 36px;
    margin-top: 2px;
    border-radius: 999px;
    object-fit: cover;
    outline: 2px solid #fff;
    box-shadow: 0 0 0 1px #d7ead9;
}

.league-roster-row__team {
    margin: 0;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.3;
    color: #1f2d1f;
}

.league-roster-row__players {
    margin: 4px 0 0;
    padding: 0;
    list-style: none;
}

.league-roster-row__players li {
    font-size: 12px;
    font-weight: 500;
    line-height: 1.35;
    color: #5a6d5a;
}

.league-roster-view {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 4px;
    border: 0;
    border-radius: 999px;
    background: #eef7ee;
    padding: 6px;
    color: #4a8f4a;
    cursor: pointer;
}

.league-roster-view:hover {
    background: #dff0df;
}

.league-roster-view__label {
    display: none;
}

@media (min-width: 768px) {
    .league-roster-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 22px;
    }

    .league-roster-card__head {
        padding: 16px 22px;
    }

    .league-roster-card__title {
        font-size: 18px;
    }

    .league-roster-card__count {
        padding: 5px 12px;
        font-size: 13px;
    }

    .league-roster-row {
        grid-template-columns: 28px 48px minmax(0, 1fr) auto;
        gap: 14px;
        padding: 16px 22px;
    }

    .league-roster-row__index {
        padding-top: 12px;
        font-size: 13px;
    }

    .league-roster-row__avatar {
        width: 48px;
        height: 48px;
        margin-top: 0;
    }

    .league-roster-row__team {
        font-size: 16px;
    }

    .league-roster-row__players li {
        font-size: 13px;
    }

    .league-roster-view {
        padding: 7px 12px 7px 10px;
    }

    .league-roster-view__label {
        display: inline;
        font-size: 13px;
        font-weight: 700;
    }
}

.league-schedule-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

.league-schedule-card {
    overflow: visible;
    border-radius: 14px;
    background: #fff;
    padding: 14px;
    box-shadow: 0 2px 14px rgba(45, 74, 45, 0.06);
    outline: 1px solid #e1f0e1;
}

.league-schedule-card.is-cancelled {
    outline-color: #e57373;
}

.league-schedule-card__status {
    margin-bottom: 10px;
}

.league-schedule-card__sides {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
}

.league-schedule-card__badge {
    display: inline-block;
    margin-bottom: 6px;
    border-radius: 4px;
    padding: 2px 7px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.league-schedule-card__badge--home {
    background: #2E7D32;
    color: #fff;
}

.league-schedule-card__badge--away {
    background: #fff;
    color: #2E7D32;
    outline: 1px solid #b7d8b8;
}

.league-schedule-card__meta {
    margin: 4px 0 0;
    font-size: 12px;
    line-height: 1.3;
    color: #6b7a6b;
}

.league-schedule-card__vs {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 2px 0;
    padding: 6px 0;
    border-top: 1px solid #eef2ee;
    border-bottom: 1px solid #eef2ee;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: #8a9a8a;
}

.league-schedule-card__footer {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 14px;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #e8eee8;
    font-size: 12px;
    font-weight: 600;
    color: #4a5a4a;
}

.league-schedule-card__footer svg {
    color: #5E9E52;
}

.league-schedule-card .match-side-display__team,
.league-schedule-card .match-side-display__name {
    font-size: 14px;
    font-weight: 700;
    color: #1f2d1f;
}

.league-schedule-card .match-side-display__players {
    margin-top: 4px;
    font-size: 12px;
    font-weight: 500;
    color: #5a6d5a;
}

.league-schedule-card .match-side-display__player-name {
    display: block;
    white-space: normal;
}

@media (min-width: 768px) {
    .league-schedule-card {
        padding: 18px 20px;
    }

    .league-schedule-card__status {
        margin-bottom: 14px;
    }

    .league-schedule-card__sides {
        grid-template-columns: minmax(0, 1fr) 48px minmax(0, 1fr);
        align-items: start;
        gap: 16px;
    }

    .league-schedule-card__vs {
        margin: 0;
        padding: 28px 0 0;
        border: 0;
        border-left: 1px solid #e8eee8;
        border-right: 1px solid #e8eee8;
        font-size: 12px;
    }

    .league-schedule-card__badge {
        font-size: 11px;
        padding: 3px 8px;
    }

    .league-schedule-card__meta {
        font-size: 13px;
    }

    .league-schedule-card__footer {
        gap: 16px 22px;
        margin-top: 16px;
        padding-top: 14px;
        font-size: 13px;
    }

    .league-schedule-card .match-side-display__team,
    .league-schedule-card .match-side-display__name {
        font-size: 16px;
    }

    .league-schedule-card .match-side-display__players {
        font-size: 13px;
    }
}

@media (min-width: 1280px) {
    .league-schedule-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px;
    }
}

