/* WhiteLine Fever website starter
   Palette sampled and adapted from the supplied logo.
*/

:root {
    --wlf-black: #030504;
    --wlf-ink: #07110b;
    --wlf-panel: #0b1510;
    --wlf-panel-soft: #112019;
    --wlf-white: #f8fbf8;
    --wlf-silver: #cbd2cf;
    --wlf-muted: #9aa7a0;
    --wlf-green: #9bd62f;
    --wlf-green-strong: #71bd2b;
    --wlf-green-dark: #24551f;
    --wlf-gold: #d8bf42;
    --header-height: 84px;
    --content-width: 1440px;
    --logo-size: clamp(138px, 11vw, 184px);
    --page-padding: clamp(18px, 3.4vw, 52px);
    --radius-lg: 24px;
    --radius-md: 15px;
    --transition: 180ms ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    min-width: 320px;
    margin: 0;
    color: var(--wlf-white);
    background:
        radial-gradient(circle at 78% 8%, rgba(113, 189, 43, 0.11), transparent 28rem),
        linear-gradient(180deg, #061009 0%, #040806 46%, #020403 100%);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

body.menu-open {
    overflow: hidden;
}

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

a {
    color: inherit;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

.skip-link {
    position: fixed;
    top: 12px;
    left: 12px;
    z-index: 3000;
    padding: 11px 15px;
    color: var(--wlf-black);
    background: var(--wlf-green);
    border-radius: 9px;
    font-weight: 800;
    transform: translateY(-160%);
    transition: transform var(--transition);
}

.skip-link:focus {
    transform: translateY(0);
}

/* Sticky header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    isolation: isolate;
}

.site-header::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: -1px;
    left: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(155, 214, 47, 0.72) 50%, transparent 100%);
    pointer-events: none;
}

.header-shell {
    position: relative;
    width: 100%;
    min-height: var(--header-height);
}

.navigation-panel {
    position: relative;
    display: flex;
    min-height: var(--header-height);
    align-items: center;
    justify-content: flex-end;
    padding: 0 var(--page-padding) 0 max(calc(var(--logo-size) + 62px), 250px);
    background:
        linear-gradient(90deg, rgba(3, 5, 4, 0.98) 0%, rgba(8, 18, 12, 0.97) 50%, rgba(3, 5, 4, 0.98) 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 12px 34px rgba(0, 0, 0, 0.38);
    backdrop-filter: blur(16px);
}

.navigation-panel::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    opacity: 0.37;
    background:
        linear-gradient(115deg, transparent 0 61%, rgba(155, 214, 47, 0.08) 61% 63%, transparent 63%),
        repeating-linear-gradient(135deg, transparent 0 24px, rgba(255, 255, 255, 0.012) 24px 25px);
}

/* Logo is a separate overlay, not part of the navigation. */
.brand-overlay {
    position: absolute;
    top: 7px;
    left: clamp(10px, 2.3vw, 36px);
    z-index: 5;
    display: grid;
    width: var(--logo-size);
    height: var(--logo-size);
    place-items: center;
    text-decoration: none;
    transform-origin: top left;
    transition: transform var(--transition), filter var(--transition);
}

.brand-overlay::before {
    content: "";
    position: absolute;
    inset: 3%;
    z-index: -2;
    background:
        linear-gradient(145deg, rgba(18, 31, 23, 0.96), rgba(2, 5, 3, 0.93));
    border: 1px solid rgba(196, 211, 203, 0.2);
    border-radius: 28px;
    box-shadow:
        0 20px 45px rgba(0, 0, 0, 0.52),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
    clip-path: polygon(9% 0, 91% 0, 100% 12%, 100% 82%, 83% 100%, 17% 100%, 0 82%, 0 12%);
}

.brand-overlay__glow {
    position: absolute;
    inset: 17%;
    z-index: -1;
    border-radius: 50%;
    background: rgba(122, 202, 48, 0.19);
    filter: blur(24px);
}

.brand-overlay__logo {
    width: 92%;
    height: 92%;
    object-fit: contain;
    filter: drop-shadow(0 9px 12px rgba(0, 0, 0, 0.48));
}

.brand-overlay:hover,
.brand-overlay:focus-visible {
    transform: translateY(-2px) scale(1.015);
    filter: brightness(1.05);
}

.brand-overlay:focus-visible,
.primary-navigation__link:focus-visible,
.menu-toggle:focus-visible,
.button:focus-visible {
    outline: 3px solid rgba(155, 214, 47, 0.65);
    outline-offset: 4px;
}

.primary-navigation {
    width: min(100%, 1050px);
}

.primary-navigation__list {
    display: flex;
    min-height: var(--header-height);
    align-items: stretch;
    justify-content: flex-end;
    gap: clamp(4px, 0.8vw, 13px);
    margin: 0;
    padding: 0;
    list-style: none;
}

.primary-navigation__item {
    display: flex;
}

.primary-navigation__link {
    position: relative;
    display: flex;
    min-height: var(--header-height);
    align-items: center;
    padding: 0 clamp(12px, 1.15vw, 19px);
    color: #dce4df;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.055em;
    font-size: clamp(0.76rem, 0.78vw, 0.94rem);
    font-weight: 800;
    white-space: nowrap;
    transition: color var(--transition), background var(--transition);
}

.primary-navigation__link::before {
    content: "";
    position: absolute;
    right: 14px;
    bottom: 0;
    left: 14px;
    height: 4px;
    border-radius: 4px 4px 0 0;
    background: linear-gradient(90deg, var(--wlf-green-strong), var(--wlf-green));
    box-shadow: 0 -3px 18px rgba(155, 214, 47, 0.32);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform var(--transition);
}

.primary-navigation__link:hover {
    color: var(--wlf-white);
    background: rgba(255, 255, 255, 0.035);
}

.primary-navigation__link:hover::before,
.primary-navigation__link.is-active::before {
    transform: scaleX(1);
}

.primary-navigation__link.is-active {
    color: var(--wlf-green);
}


.primary-navigation__item {
    position: relative;
}

.primary-navigation__trigger {
    display: flex;
    min-height: var(--header-height);
    align-items: stretch;
}

.has-submenu .primary-navigation__link {
    padding-right: 7px;
}

.submenu-toggle {
    display: inline-grid;
    width: 30px;
    min-height: var(--header-height);
    place-items: center;
    padding: 0;
    color: #b9c4be;
    background: transparent;
    border: 0;
    cursor: pointer;
    transition: color var(--transition), background var(--transition);
}

.submenu-toggle:hover,
.submenu-toggle[aria-expanded="true"] {
    color: var(--wlf-green);
    background: rgba(255, 255, 255, 0.035);
}

.submenu-toggle:focus-visible {
    outline: 3px solid rgba(155, 214, 47, 0.65);
    outline-offset: -5px;
}

.submenu-toggle__chevron {
    width: 8px;
    height: 8px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: translateY(-3px) rotate(45deg);
    transition: transform var(--transition);
}

.submenu-toggle[aria-expanded="true"] .submenu-toggle__chevron {
    transform: translateY(2px) rotate(225deg);
}

.nav-dropdown {
    position: absolute;
    z-index: 1200;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transition:
        opacity var(--transition),
        transform var(--transition),
        visibility var(--transition);
}

.nav-dropdown--standard {
    top: calc(100% - 1px);
    left: 50%;
    width: min(320px, calc(100vw - 24px));
    transform: translate(-50%, 12px);
}

.nav-dropdown--standard::before {
    content: "";
    position: absolute;
    top: -8px;
    left: 50%;
    width: 16px;
    height: 16px;
    background: #102018;
    border-top: 1px solid rgba(255, 255, 255, 0.13);
    border-left: 1px solid rgba(255, 255, 255, 0.13);
    transform: translateX(-50%) rotate(45deg);
}

.standard-menu__inner {
    overflow: hidden;
    padding: 11px;
    background:
        linear-gradient(155deg, rgba(17, 32, 24, 0.995), rgba(3, 7, 4, 0.995));
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 16px;
    box-shadow: 0 24px 68px rgba(0, 0, 0, 0.58);
}

.standard-menu__title {
    margin: 0;
    padding: 10px 12px 9px;
    color: var(--wlf-green);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.69rem;
    font-weight: 900;
}

.standard-menu {
    display: grid;
    gap: 3px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.standard-menu__link {
    display: flex;
    min-height: 45px;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 0 13px;
    color: #e1e9e4;
    background: transparent;
    border-radius: 9px;
    text-decoration: none;
    font-size: 0.91rem;
    font-weight: 750;
    transition:
        color var(--transition),
        background var(--transition),
        transform var(--transition);
}

.standard-menu__link:hover,
.standard-menu__link:focus-visible {
    color: var(--wlf-white);
    background: rgba(155, 214, 47, 0.10);
    transform: translateX(2px);
    outline: none;
}

.standard-menu__arrow {
    color: var(--wlf-green);
    font-size: 1.05rem;
}

.nav-dropdown--mega {
    position: fixed;
    top: var(--header-height);
    right: 0;
    left: 0;
    transform: translateY(13px);
}

.mega-menu__inner {
    width: min(calc(100% - 32px), 1480px);
    margin-inline: auto;
    padding: clamp(20px, 2.1vw, 31px);
    background:
        linear-gradient(150deg, rgba(17, 33, 24, 0.995), rgba(3, 7, 4, 0.995));
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-top: 3px solid var(--wlf-green-strong);
    border-radius: 0 0 23px 23px;
    box-shadow: 0 28px 84px rgba(0, 0, 0, 0.66);
}

.mega-menu__heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 28px;
    margin-bottom: 20px;
    padding-bottom: 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}

.mega-menu__eyebrow {
    margin: 0 0 4px;
    color: var(--wlf-green);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-size: 0.69rem;
    font-weight: 900;
}

.mega-menu__heading h2 {
    margin: 0;
    text-transform: uppercase;
    letter-spacing: -0.025em;
    font-size: clamp(1.45rem, 2.2vw, 2.2rem);
    line-height: 1;
}

.mega-menu__view-all {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: #dce5df;
    text-decoration: none;
    font-size: 0.86rem;
    font-weight: 800;
    white-space: nowrap;
}

.mega-menu__view-all span {
    color: var(--wlf-green);
    font-size: 1.1rem;
    transition: transform var(--transition);
}

.mega-menu__view-all:hover span {
    transform: translateX(4px);
}

.competition-menu {
    display: grid;
    grid-template-columns: repeat(8, minmax(0, 1fr));
    gap: 11px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.competition-menu__link {
    display: grid;
    min-height: 123px;
    place-items: center;
    align-content: center;
    gap: 9px;
    padding: 13px 8px;
    color: #e4ebe7;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.018));
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 13px;
    text-align: center;
    text-decoration: none;
    transition:
        color var(--transition),
        border-color var(--transition),
        background var(--transition),
        transform var(--transition),
        box-shadow var(--transition);
}

.competition-menu__link:hover,
.competition-menu__link:focus-visible {
    color: var(--wlf-white);
    background:
        linear-gradient(145deg, rgba(155, 214, 47, 0.12), rgba(255, 255, 255, 0.025));
    border-color: rgba(155, 214, 47, 0.42);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.24);
    transform: translateY(-3px);
    outline: none;
}

.competition-logo-placeholder {
    position: relative;
    display: grid;
    width: 57px;
    height: 64px;
    place-items: center;
    color: var(--wlf-white);
    background:
        linear-gradient(145deg, #264a2d 0%, #101d15 58%, #070b08 100%);
    border: 2px solid #bcc7c0;
    border-radius: 12px 12px 18px 18px;
    box-shadow:
        inset 0 0 0 3px rgba(0, 0, 0, 0.4),
        0 8px 18px rgba(0, 0, 0, 0.36);
    clip-path: polygon(50% 0, 92% 13%, 88% 73%, 50% 100%, 12% 73%, 8% 13%);
}

.competition-logo-placeholder::before {
    content: "";
    position: absolute;
    inset: 7px;
    border: 1px solid rgba(155, 214, 47, 0.72);
    clip-path: inherit;
}

.competition-logo-placeholder span {
    position: relative;
    z-index: 1;
    color: var(--wlf-green);
    letter-spacing: -0.04em;
    font-size: 0.74rem;
    font-weight: 950;
}

.competition-menu__name {
    font-size: 0.76rem;
    font-weight: 800;
    line-height: 1.18;
}

.has-submenu:hover > .nav-dropdown,
.has-submenu:focus-within > .nav-dropdown,
.nav-dropdown.is-open {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
}

.has-submenu:hover > .nav-dropdown--standard,
.has-submenu:focus-within > .nav-dropdown--standard,
.nav-dropdown--standard.is-open {
    transform: translate(-50%, 0);
}

.has-submenu:hover > .nav-dropdown--mega,
.has-submenu:focus-within > .nav-dropdown--mega,
.nav-dropdown--mega.is-open {
    transform: translateY(0);
}


.menu-toggle {
    display: none;
}

/* Main preview/content */
.site-main {
    position: relative;
    min-height: calc(100vh - var(--header-height));
}

.hero {
    position: relative;
    display: grid;
    min-height: min(760px, calc(100vh - var(--header-height)));
    align-items: center;
    overflow: hidden;
    padding: clamp(118px, 13vw, 178px) var(--page-padding) clamp(72px, 9vw, 120px);
    isolation: isolate;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -3;
    background:
        linear-gradient(90deg, rgba(2, 5, 3, 0.98) 0%, rgba(2, 5, 3, 0.85) 42%, rgba(2, 5, 3, 0.22) 75%, rgba(2, 5, 3, 0.72) 100%),
        radial-gradient(ellipse at 78% 86%, rgba(155, 214, 47, 0.25), transparent 34%),
        linear-gradient(180deg, #0d2817 0%, #07130c 58%, #020403 100%);
}

.hero::after {
    content: "";
    position: absolute;
    right: -8%;
    bottom: -23%;
    z-index: -2;
    width: min(900px, 80vw);
    aspect-ratio: 1.8 / 1;
    opacity: 0.82;
    background:
        linear-gradient(90deg, transparent 49.7%, rgba(255,255,255,.72) 49.7% 50.3%, transparent 50.3%),
        linear-gradient(0deg, transparent 49.4%, rgba(255,255,255,.72) 49.4% 50.6%, transparent 50.6%),
        repeating-linear-gradient(90deg, transparent 0 11.9%, rgba(255,255,255,.16) 11.9% 12.2%),
        linear-gradient(180deg, #0b6c30 0%, #075326 100%);
    border: 5px solid rgba(255,255,255,.42);
    border-radius: 50%;
    box-shadow: 0 0 90px rgba(124, 206, 51, 0.24);
    transform: perspective(780px) rotateX(63deg) rotateZ(-7deg);
}

.hero__inner,
.page-banner__inner,
.content-section__inner {
    width: min(100%, var(--content-width));
    margin-inline: auto;
}

.hero__content {
    width: min(720px, 100%);
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 18px;
    color: var(--wlf-green);
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-size: 0.78rem;
    font-weight: 900;
}

.eyebrow::before {
    content: "";
    width: 36px;
    height: 3px;
    background: var(--wlf-green);
    border-radius: 999px;
    box-shadow: 0 0 16px rgba(155, 214, 47, 0.5);
}

.hero h1,
.page-banner h1 {
    max-width: 920px;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: -0.045em;
    line-height: 0.93;
    font-size: clamp(3rem, 7.8vw, 7.35rem);
    font-weight: 950;
}

.hero h1 span {
    color: var(--wlf-green);
    text-shadow: 0 0 32px rgba(155, 214, 47, 0.18);
}

.hero__lead {
    max-width: 635px;
    margin: 28px 0 0;
    color: #d3ddd7;
    font-size: clamp(1rem, 1.4vw, 1.22rem);
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 13px;
    margin-top: 34px;
}

.button {
    display: inline-flex;
    min-height: 50px;
    align-items: center;
    justify-content: center;
    padding: 0 23px;
    border: 1px solid transparent;
    border-radius: 10px;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.055em;
    font-size: 0.83rem;
    font-weight: 900;
    transition: transform var(--transition), background var(--transition), border-color var(--transition);
}

.button:hover {
    transform: translateY(-2px);
}

.button--primary {
    color: #071007;
    background: linear-gradient(135deg, #b5e842, #72bd2b);
    box-shadow: 0 10px 30px rgba(111, 184, 40, 0.22);
}

.button--secondary {
    color: var(--wlf-white);
    background: rgba(255, 255, 255, 0.045);
    border-color: rgba(255, 255, 255, 0.18);
}

.page-banner {
    position: relative;
    overflow: hidden;
    padding: clamp(120px, 14vw, 190px) var(--page-padding) clamp(62px, 8vw, 105px);
    background:
        linear-gradient(90deg, rgba(2, 5, 3, 0.97), rgba(5, 15, 9, 0.8)),
        radial-gradient(circle at 82% 35%, rgba(155, 214, 47, 0.19), transparent 29rem);
    border-bottom: 1px solid rgba(255,255,255,.08);
}

.page-banner h1 {
    font-size: clamp(2.65rem, 6.2vw, 6rem);
}

.page-banner p {
    max-width: 700px;
    margin: 24px 0 0;
    color: var(--wlf-silver);
    font-size: clamp(1rem, 1.4vw, 1.2rem);
}

.content-section {
    padding: clamp(58px, 8vw, 110px) var(--page-padding);
}

.placeholder-card {
    position: relative;
    max-width: 880px;
    overflow: hidden;
    padding: clamp(26px, 4vw, 48px);
    background: linear-gradient(145deg, rgba(18, 32, 24, 0.94), rgba(7, 13, 9, 0.96));
    border: 1px solid rgba(255,255,255,.09);
    border-radius: var(--radius-lg);
    box-shadow: 0 22px 70px rgba(0,0,0,.3);
}

.placeholder-card::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--wlf-green), transparent);
}

.placeholder-card h2 {
    margin: 0 0 13px;
    font-size: clamp(1.6rem, 3vw, 2.55rem);
}

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

.site-footer {
    padding: 32px var(--page-padding);
    color: var(--wlf-muted);
    background: #010201;
    border-top: 1px solid rgba(255,255,255,.07);
}

.site-footer__inner {
    display: flex;
    width: min(100%, var(--content-width));
    align-items: center;
    gap: 15px;
    margin-inline: auto;
}

.site-footer img {
    width: 54px;
    height: 54px;
    object-fit: contain;
}

.site-footer p {
    margin: 0;
    font-size: 0.88rem;
}

/* Tablet */
@media (max-width: 1120px) {
    :root {
        --logo-size: 148px;
    }

    .navigation-panel {
        padding-left: 205px;
    }

    .primary-navigation__list {
        gap: 0;
    }

    .primary-navigation__link {
        padding-inline: 10px;
        letter-spacing: 0.035em;
        font-size: 0.74rem;
    }

    .competition-menu {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        max-height: min(58vh, 520px);
        overflow-y: auto;
        padding-right: 4px;
    }

    .competition-menu__link {
        min-height: 111px;
    }
}


/* Mobile navigation */
@media (max-width: 820px) {
    :root {
        --header-height: 72px;
        --logo-size: 106px;
    }

    .navigation-panel {
        min-height: var(--header-height);
        padding: 0 16px 0 132px;
    }

    .brand-overlay {
        top: 5px;
        left: 10px;
    }

    .brand-overlay::before {
        border-radius: 19px;
    }

    .menu-toggle {
        position: relative;
        display: inline-flex;
        width: 48px;
        height: 46px;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        gap: 6px;
        margin-left: auto;
        padding: 0;
        color: var(--wlf-white);
        background: rgba(255,255,255,.045);
        border: 1px solid rgba(255,255,255,.13);
        border-radius: 11px;
        cursor: pointer;
    }

    .menu-toggle__line {
        width: 22px;
        height: 2px;
        background: currentColor;
        border-radius: 999px;
        transition: transform var(--transition), opacity var(--transition);
    }

    .menu-toggle[aria-expanded="true"] .menu-toggle__line:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .menu-toggle[aria-expanded="true"] .menu-toggle__line:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle[aria-expanded="true"] .menu-toggle__line:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .primary-navigation {
        position: fixed;
        top: calc(var(--header-height) + 13px);
        right: 12px;
        left: 12px;
        width: auto;
        max-height: calc(100vh - var(--header-height) - 28px);
        overflow-y: auto;
        visibility: hidden;
        opacity: 0;
        background:
            linear-gradient(160deg, rgba(15, 28, 20, 0.99), rgba(3, 6, 4, 0.99));
        border: 1px solid rgba(255,255,255,.12);
        border-radius: 18px;
        box-shadow: 0 24px 80px rgba(0,0,0,.64);
        transform: translateY(-12px) scale(.985);
        transform-origin: top;
        transition:
            opacity var(--transition),
            transform var(--transition),
            visibility var(--transition);
    }

    .primary-navigation.is-open {
        visibility: visible;
        opacity: 1;
        transform: translateY(0) scale(1);
    }

    .primary-navigation__list {
        display: grid;
        min-height: 0;
        gap: 3px;
        padding: 12px;
    }

    .primary-navigation__item {
        display: block;
    }

    .primary-navigation__link {
        min-height: 54px;
        padding: 0 17px;
        border-radius: 10px;
        font-size: 0.86rem;
    }

    .primary-navigation__link::before {
        top: 12px;
        right: auto;
        bottom: 12px;
        left: 0;
        width: 4px;
        height: auto;
        border-radius: 0 4px 4px 0;
        transform: scaleY(0);
    }

    .primary-navigation__link:hover::before,
    .primary-navigation__link.is-active::before {
        transform: scaleY(1);
    }


    .primary-navigation__trigger {
        min-height: 54px;
    }

    .has-submenu .primary-navigation__link {
        flex: 1;
        padding-right: 10px;
    }

    .submenu-toggle {
        width: 50px;
        min-height: 54px;
        border-left: 1px solid rgba(255, 255, 255, 0.06);
        border-radius: 9px;
    }

    .nav-dropdown,
    .nav-dropdown--standard,
    .nav-dropdown--mega {
        position: static;
        display: none;
        width: auto;
        visibility: visible;
        opacity: 1;
        pointer-events: auto;
        transform: none;
        transition: none;
    }

    .nav-dropdown.is-open {
        display: block;
    }

    .nav-dropdown--standard::before {
        display: none;
    }

    .standard-menu__inner,
    .mega-menu__inner {
        width: auto;
        margin: 2px 0 8px;
        padding: 8px;
        background: rgba(0, 0, 0, 0.24);
        border: 1px solid rgba(255, 255, 255, 0.07);
        border-radius: 11px;
        box-shadow: none;
    }

    .standard-menu__title {
        padding: 8px 10px 7px;
    }

    .standard-menu__link {
        min-height: 43px;
        font-size: 0.85rem;
    }

    .mega-menu__heading {
        display: block;
        margin-bottom: 10px;
        padding: 8px 8px 12px;
    }

    .mega-menu__heading h2 {
        font-size: 1.25rem;
    }

    .mega-menu__view-all {
        margin-top: 11px;
        font-size: 0.8rem;
    }

    .competition-menu {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        max-height: none;
        overflow: visible;
        gap: 7px;
        padding: 0;
    }

    .competition-menu__link {
        min-height: 96px;
        padding: 9px 5px;
    }

    .competition-logo-placeholder {
        width: 43px;
        height: 49px;
    }

    .competition-logo-placeholder::before {
        inset: 6px;
    }

    .competition-menu__name {
        font-size: 0.7rem;
    }

    /* Desktop hover must not force menus open inside the mobile accordion. */
    .has-submenu:hover > .nav-dropdown:not(.is-open),
    .has-submenu:focus-within > .nav-dropdown:not(.is-open) {
        display: none;
    }

    .hero {
        min-height: 690px;
        padding-top: 118px;
    }

    .hero::after {
        right: -38%;
        bottom: -12%;
        width: 115vw;
        opacity: .55;
    }

    .hero h1 {
        max-width: 600px;
    }

    .page-banner {
        padding-top: 124px;
    }
}

@media (max-width: 520px) {
    .hero h1 {
        font-size: clamp(2.85rem, 15vw, 4.7rem);
    }

    .hero__actions {
        display: grid;
    }

    .button {
        width: 100%;
    }

    .site-footer__inner {
        align-items: flex-start;
    }
}


@media (max-width: 420px) {
    .competition-menu {
        grid-template-columns: 1fr;
    }

    .competition-menu__link {
        display: flex;
        min-height: 70px;
        justify-content: flex-start;
        gap: 13px;
        padding: 9px 12px;
        text-align: left;
    }
}


/* ------------------------------------------------------------------
   Vault: Players directory
------------------------------------------------------------------- */

.players-page {
    background:
        radial-gradient(circle at 84% 4%, rgba(155, 214, 47, 0.13), transparent 30rem),
        linear-gradient(180deg, #07110b 0%, #030604 38%, #020302 100%);
}

.players-directory-header {
    position: relative;
    overflow: hidden;
    padding: clamp(112px, 10vw, 150px) var(--page-padding) clamp(34px, 4.6vw, 60px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    isolation: isolate;
}

.players-directory-header::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -2;
    background:
        linear-gradient(90deg, rgba(2, 5, 3, 0.97), rgba(7, 17, 10, 0.78)),
        repeating-linear-gradient(
            135deg,
            transparent 0 36px,
            rgba(255, 255, 255, 0.018) 36px 37px
        );
}

.players-directory-header::after {
    content: "";
    position: absolute;
    right: -8%;
    bottom: -78%;
    z-index: -1;
    width: min(760px, 68vw);
    aspect-ratio: 1;
    border: 2px solid rgba(155, 214, 47, 0.13);
    border-radius: 50%;
    box-shadow:
        0 0 0 62px rgba(155, 214, 47, 0.025),
        0 0 0 124px rgba(155, 214, 47, 0.018);
}

.players-directory-header__inner,
.player-results__inner {
    width: min(100%, var(--content-width));
    margin-inline: auto;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 26px;
    color: #9aa7a0;
    text-transform: uppercase;
    letter-spacing: 0.11em;
    font-size: 0.71rem;
    font-weight: 850;
}

.breadcrumb a {
    color: var(--wlf-green);
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
    text-underline-offset: 4px;
}

.players-title-row {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 32px;
}

.players-title-row h1 {
    margin: 0;
    text-transform: uppercase;
    letter-spacing: -0.055em;
    line-height: 0.88;
    font-size: clamp(3.1rem, 7.5vw, 7rem);
    font-weight: 950;
}

.players-title-row__intro {
    max-width: 690px;
    margin: 24px 0 0;
    color: #c6d0ca;
    font-size: clamp(1rem, 1.25vw, 1.16rem);
}

.spotlight-return {
    display: inline-flex;
    min-height: 47px;
    align-items: center;
    gap: 9px;
    padding: 0 17px;
    color: var(--wlf-black);
    background: linear-gradient(135deg, #b5e842, #72bd2b);
    border-radius: 10px;
    box-shadow: 0 10px 28px rgba(111, 184, 40, 0.2);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.77rem;
    font-weight: 900;
    white-space: nowrap;
    transition: transform var(--transition), box-shadow var(--transition);
}

.spotlight-return:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 34px rgba(111, 184, 40, 0.27);
}

.alphabet-panel {
    margin-top: clamp(35px, 5vw, 64px);
    padding: clamp(16px, 2.2vw, 24px);
    background:
        linear-gradient(145deg, rgba(20, 36, 26, 0.94), rgba(5, 10, 7, 0.96));
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-top: 3px solid var(--wlf-green-strong);
    border-radius: 17px;
    box-shadow: 0 22px 60px rgba(0, 0, 0, 0.34);
}

.alphabet-panel__heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 22px;
    margin-bottom: 16px;
}

.alphabet-panel__label {
    margin: 0;
    color: var(--wlf-white);
    text-transform: uppercase;
    letter-spacing: 0.065em;
    font-size: 0.91rem;
    font-weight: 900;
}

.alphabet-panel__help {
    margin: 4px 0 0;
    color: var(--wlf-muted);
    font-size: 0.83rem;
}

.alphabet-panel__status {
    padding: 7px 10px;
    color: var(--wlf-green);
    background: rgba(155, 214, 47, 0.08);
    border: 1px solid rgba(155, 214, 47, 0.19);
    border-radius: 999px;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    font-size: 0.67rem;
    font-weight: 900;
    white-space: nowrap;
}

.alphabet-nav {
    display: grid;
    grid-template-columns: repeat(26, minmax(34px, 1fr));
    gap: 5px;
}

.alphabet-nav__link {
    display: grid;
    min-height: 42px;
    place-items: center;
    color: #dce4df;
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(255, 255, 255, 0.075);
    border-radius: 8px;
    text-decoration: none;
    font-size: 0.79rem;
    font-weight: 900;
    transition:
        color var(--transition),
        background var(--transition),
        border-color var(--transition),
        transform var(--transition);
}

.alphabet-nav__link:hover,
.alphabet-nav__link:focus-visible {
    color: var(--wlf-black);
    background: var(--wlf-green);
    border-color: var(--wlf-green);
    transform: translateY(-2px);
    outline: none;
}

.alphabet-nav__link.is-active {
    color: var(--wlf-black);
    background: linear-gradient(135deg, #b5e842, #72bd2b);
    border-color: transparent;
    box-shadow: 0 7px 20px rgba(111, 184, 40, 0.22);
}

.player-results {
    padding: clamp(48px, 6vw, 86px) var(--page-padding) clamp(72px, 9vw, 125px);
}

.player-results__heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 28px;
    margin-bottom: clamp(27px, 3.7vw, 46px);
}

.player-results__kicker {
    margin: 0 0 7px;
    color: var(--wlf-green);
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 0.69rem;
    font-weight: 900;
}

.player-results__heading h2 {
    margin: 0;
    text-transform: uppercase;
    letter-spacing: -0.038em;
    line-height: 1;
    font-size: clamp(2rem, 4.4vw, 4.35rem);
}

.player-results__heading p:not(.player-results__kicker) {
    max-width: 760px;
    margin: 14px 0 0;
    color: var(--wlf-muted);
}

.player-count {
    display: inline-flex;
    min-height: 40px;
    align-items: center;
    padding: 0 14px;
    color: #dce5df;
    background: rgba(255, 255, 255, 0.045);
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 999px;
    font-size: 0.76rem;
    font-weight: 850;
    white-space: nowrap;
}

.player-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: clamp(14px, 1.7vw, 24px);
}

.player-card {
    position: relative;
    min-width: 0;
    overflow: hidden;
    background:
        linear-gradient(160deg, rgba(18, 32, 24, 0.98), rgba(5, 9, 6, 0.99));
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 17px;
    box-shadow: 0 16px 45px rgba(0, 0, 0, 0.29);
    transition:
        transform var(--transition),
        border-color var(--transition),
        box-shadow var(--transition);
}

.player-card:hover {
    border-color: rgba(155, 214, 47, 0.35);
    box-shadow: 0 23px 54px rgba(0, 0, 0, 0.42);
    transform: translateY(-5px);
}


.player-card__link {
    display: block;
    color: inherit;
    text-decoration: none;
}

.player-card__link:focus-visible {
    outline: 3px solid rgba(155, 214, 47, 0.68);
    outline-offset: -4px;
    border-radius: 17px;
}

.player-card__media {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4 / 4.85;
    background:
        radial-gradient(circle at 50% 68%, rgba(155, 214, 47, 0.18), transparent 45%),
        #08110b;
    border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}

.player-card__media::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 42%;
    background: linear-gradient(180deg, transparent, rgba(2, 4, 3, 0.74));
    pointer-events: none;
}

.player-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: transform 300ms ease, filter 300ms ease;
}

.player-card:hover .player-card__media img {
    filter: brightness(1.045);
    transform: scale(1.025);
}

.player-card__number,
.player-card__placeholder-label {
    position: absolute;
    z-index: 2;
    top: 12px;
    display: inline-grid;
    min-height: 29px;
    place-items: center;
    padding: 0 9px;
    border-radius: 7px;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    font-size: 0.61rem;
    font-weight: 900;
}

.player-card__number {
    left: 12px;
    min-width: 31px;
    color: var(--wlf-black);
    background: var(--wlf-green);
}

.player-card__placeholder-label {
    right: 12px;
    color: #d6dfda;
    background: rgba(2, 5, 3, 0.76);
    border: 1px solid rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(8px);
}

.player-card__body {
    position: relative;
    padding: clamp(17px, 1.7vw, 23px);
}

.player-card__identity {
    min-height: 72px;
    padding-bottom: 16px;
}

.player-card__position {
    margin: 0 0 5px;
    color: var(--wlf-green);
    text-transform: uppercase;
    letter-spacing: 0.11em;
    font-size: 0.65rem;
    font-weight: 900;
}

.player-card h3 {
    margin: 0;
    color: var(--wlf-white);
    letter-spacing: -0.025em;
    line-height: 1.02;
    font-size: clamp(1.18rem, 1.55vw, 1.58rem);
}

.player-card__details {
    display: grid;
    gap: 11px;
    margin: 0;
    padding: 16px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.player-card__details > div {
    display: grid;
    grid-template-columns: minmax(75px, 0.78fr) minmax(0, 1fr);
    align-items: baseline;
    gap: 8px;
}

.player-card__details dt {
    color: #839087;
    text-transform: uppercase;
    letter-spacing: 0.055em;
    font-size: 0.58rem;
    font-weight: 850;
}

.player-card__details dd {
    margin: 0;
    color: #dce4df;
    text-align: right;
    font-size: 0.73rem;
    font-weight: 750;
}

.player-card__footer {
    display: flex;
    min-height: 43px;
    align-items: end;
    justify-content: space-between;
    gap: 10px;
    padding-top: 14px;
    color: #8d9b92;
    text-transform: uppercase;
    letter-spacing: 0.055em;
    font-size: 0.59rem;
    font-weight: 850;
}

.player-card__footer span:last-child {
    color: var(--wlf-green);
    font-size: 1rem;
}

.empty-player-state {
    display: flex;
    align-items: center;
    gap: 26px;
    max-width: 780px;
    padding: clamp(25px, 4vw, 46px);
    background: linear-gradient(145deg, rgba(18, 32, 24, 0.96), rgba(5, 9, 6, 0.98));
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 18px;
}

.empty-player-state__letter {
    display: grid;
    width: 100px;
    aspect-ratio: 1;
    flex: 0 0 auto;
    place-items: center;
    color: var(--wlf-black);
    background: var(--wlf-green);
    border-radius: 15px;
    font-size: 3rem;
    font-weight: 950;
}

.empty-player-state h3 {
    margin: 0;
    font-size: 1.6rem;
}

.empty-player-state p {
    margin: 8px 0 15px;
    color: var(--wlf-muted);
}

.empty-player-state a {
    color: var(--wlf-green);
    font-weight: 800;
    text-underline-offset: 4px;
}

@media (max-width: 1280px) {
    .alphabet-nav {
        grid-template-columns: repeat(13, minmax(34px, 1fr));
    }

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

@media (max-width: 960px) {
    .player-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 720px) {
    .players-title-row,
    .player-results__heading {
        display: block;
    }

    .spotlight-return {
        margin-top: 24px;
    }

    .alphabet-panel__heading {
        align-items: start;
    }

    .alphabet-nav {
        grid-template-columns: repeat(7, minmax(34px, 1fr));
    }

    .player-results__heading .player-count {
        margin-top: 18px;
    }

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

@media (max-width: 480px) {
    .players-directory-header {
        padding-top: 112px;
    }

    .alphabet-panel__heading {
        display: block;
    }

    .alphabet-panel__status {
        display: inline-flex;
        margin-top: 12px;
    }

    .alphabet-nav {
        grid-template-columns: repeat(5, minmax(34px, 1fr));
    }

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

    .player-card__media {
        aspect-ratio: 4 / 4.35;
    }

    .player-card__identity {
        min-height: 0;
    }

    .empty-player-state {
        display: block;
    }

    .empty-player-state__letter {
        width: 74px;
        margin-bottom: 20px;
        font-size: 2.2rem;
    }
}



/* ------------------------------------------------------------------
   Vault: Player profile
------------------------------------------------------------------- */

.player-profile-page {
    background:
        radial-gradient(circle at 82% 14%, rgba(155, 214, 47, 0.09), transparent 29rem),
        linear-gradient(180deg, #061009 0%, #020403 58%, #010201 100%);
}

.player-profile-hero {
    position: relative;
    min-height: 650px;
    overflow: hidden;
    padding: clamp(110px, 10vw, 148px) var(--page-padding) 0;
    isolation: isolate;
}

.player-profile-hero__background,
.player-profile-hero__shade {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.player-profile-hero__background {
    z-index: -4;
    object-fit: cover;
    object-position: center;
    filter: saturate(0.86) contrast(1.08);
}

.player-profile-hero__shade {
    z-index: -3;
    background:
        linear-gradient(90deg, rgba(2, 5, 3, 0.99) 0%, rgba(2, 5, 3, 0.90) 39%, rgba(2, 5, 3, 0.56) 73%, rgba(2, 5, 3, 0.78) 100%),
        linear-gradient(0deg, rgba(2, 4, 3, 0.98) 0%, transparent 48%);
}

.player-profile-hero__inner {
    width: min(100%, var(--content-width));
    margin-inline: auto;
}

.breadcrumb--profile {
    position: relative;
    z-index: 5;
    margin-bottom: 10px;
}

.player-profile-hero__layout {
    display: grid;
    grid-template-columns: minmax(320px, 0.8fr) minmax(540px, 1.4fr);
    min-height: 540px;
    align-items: end;
    gap: clamp(35px, 5vw, 82px);
}

.player-profile-portrait {
    position: relative;
    align-self: stretch;
    min-height: 520px;
}

.player-profile-portrait::after {
    content: "";
    position: absolute;
    right: -5%;
    bottom: 0;
    left: -5%;
    height: 33%;
    background: linear-gradient(180deg, transparent, rgba(2, 4, 3, 0.96));
    pointer-events: none;
}

.player-profile-portrait__glow {
    position: absolute;
    right: 4%;
    bottom: 5%;
    left: 4%;
    height: 55%;
    background: radial-gradient(ellipse, rgba(155, 214, 47, 0.27), transparent 68%);
    filter: blur(20px);
}

.player-profile-portrait img {
    position: absolute;
    right: 50%;
    bottom: 0;
    width: min(540px, 115%);
    height: 100%;
    max-width: none;
    object-fit: cover;
    object-position: center top;
    filter: drop-shadow(0 20px 26px rgba(0, 0, 0, 0.62));
    transform: translateX(50%);
}

.player-profile-portrait__placeholder {
    position: absolute;
    bottom: 25px;
    left: 50%;
    z-index: 3;
    padding: 7px 10px;
    color: #d6dfda;
    background: rgba(2, 5, 3, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 999px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.59rem;
    font-weight: 900;
    white-space: nowrap;
    transform: translateX(-50%);
    backdrop-filter: blur(8px);
}

.player-profile-summary {
    padding-bottom: clamp(30px, 4vw, 54px);
}

.player-profile-summary__position {
    display: inline-flex;
    margin: 0 0 13px;
    padding: 7px 10px;
    color: var(--wlf-black);
    background: var(--wlf-green);
    border-radius: 7px;
    text-transform: uppercase;
    letter-spacing: 0.09em;
    font-size: 0.67rem;
    font-weight: 950;
}

.player-profile-summary h1 {
    margin: 0;
    text-transform: uppercase;
    letter-spacing: -0.052em;
    line-height: 0.84;
    font-size: clamp(4rem, 7.1vw, 7.2rem);
    font-weight: 950;
}

.player-profile-summary h1 span,
.player-profile-summary h1 strong {
    display: block;
}

.player-profile-summary h1 span {
    color: #dce4df;
    font-size: 0.55em;
    letter-spacing: -0.025em;
}

.player-profile-summary h1 strong {
    color: var(--wlf-white);
    font-weight: 950;
}

.player-profile-facts {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-top: clamp(28px, 3.8vw, 45px);
    background: rgba(2, 5, 3, 0.46);
    border-top: 1px solid rgba(255, 255, 255, 0.13);
    border-bottom: 1px solid rgba(255, 255, 255, 0.13);
    backdrop-filter: blur(8px);
}

.player-profile-fact {
    min-width: 0;
    padding: 17px 16px;
    border-right: 1px solid rgba(255, 255, 255, 0.09);
}

.player-profile-fact:last-child {
    border-right: 0;
}

.player-profile-fact__label {
    display: block;
    margin-bottom: 6px;
    color: #8f9d94;
    text-transform: uppercase;
    letter-spacing: 0.09em;
    font-size: 0.6rem;
    font-weight: 900;
}

.player-profile-fact strong {
    display: block;
    overflow: hidden;
    color: #eef4f0;
    text-overflow: ellipsis;
    font-size: clamp(0.77rem, 0.92vw, 0.93rem);
    line-height: 1.25;
}

.player-profile-stats {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    margin-top: 18px;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(20, 38, 26, 0.93), rgba(4, 8, 5, 0.94));
    border: 1px solid rgba(255, 255, 255, 0.11);
    border-top: 3px solid var(--wlf-green-strong);
    border-radius: 13px;
    box-shadow: 0 16px 38px rgba(0, 0, 0, 0.33);
}

.player-profile-stat {
    min-width: 0;
    padding: 17px 12px;
    text-align: center;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.player-profile-stat:last-child {
    border-right: 0;
}

.player-profile-stat span {
    display: block;
    margin-bottom: 4px;
    color: #8f9d94;
    text-transform: uppercase;
    letter-spacing: 0.09em;
    font-size: 0.59rem;
    font-weight: 900;
    white-space: nowrap;
}

.player-profile-stat strong {
    color: var(--wlf-white);
    font-size: clamp(1.35rem, 2vw, 2.05rem);
    line-height: 1;
}

.profile-navigation {
    position: sticky;
    top: var(--header-height);
    z-index: 800;
    background: rgba(3, 7, 4, 0.97);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
    backdrop-filter: blur(14px);
}

.profile-navigation__inner {
    display: flex;
    width: min(100%, var(--content-width));
    margin-inline: auto;
    padding-inline: var(--page-padding);
    overflow-x: auto;
    scrollbar-width: thin;
}

.profile-navigation__link {
    position: relative;
    display: inline-flex;
    min-height: 70px;
    flex: 0 0 auto;
    align-items: center;
    padding: 0 clamp(15px, 1.6vw, 25px);
    color: #aebbb3;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.045em;
    font-size: clamp(0.69rem, 0.78vw, 0.82rem);
    font-weight: 900;
    white-space: nowrap;
    transition: color var(--transition), background var(--transition);
}

.profile-navigation__link::after {
    content: "";
    position: absolute;
    right: 16px;
    bottom: 0;
    left: 16px;
    height: 4px;
    background: var(--wlf-green);
    border-radius: 4px 4px 0 0;
    transform: scaleX(0);
    transition: transform var(--transition);
}

.profile-navigation__link:hover,
.profile-navigation__link.is-active {
    color: var(--wlf-white);
    background: rgba(255, 255, 255, 0.028);
}

.profile-navigation__link.is-active::after {
    transform: scaleX(1);
}

.profile-content {
    padding: clamp(52px, 7vw, 100px) var(--page-padding) clamp(78px, 9vw, 128px);
}

.profile-content__inner {
    width: min(100%, var(--content-width));
    margin-inline: auto;
}

.profile-section-heading {
    max-width: 880px;
    margin-bottom: clamp(30px, 4vw, 48px);
}

.profile-section-heading__kicker {
    margin: 0 0 8px;
    color: var(--wlf-green);
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 0.68rem;
    font-weight: 900;
}

.profile-section-heading h2 {
    margin: 0;
    text-transform: uppercase;
    letter-spacing: -0.04em;
    line-height: 0.95;
    font-size: clamp(2.4rem, 5.1vw, 5rem);
}

.profile-section-heading p:not(.profile-section-heading__kicker) {
    margin: 18px 0 0;
    color: var(--wlf-muted);
    font-size: clamp(0.98rem, 1.2vw, 1.12rem);
}

.profile-overview-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.85fr);
    gap: clamp(17px, 2.2vw, 29px);
}

.profile-panel {
    position: relative;
    overflow: hidden;
    padding: clamp(24px, 3vw, 38px);
    background:
        linear-gradient(145deg, rgba(18, 33, 24, 0.97), rgba(5, 9, 6, 0.99));
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 18px;
    box-shadow: 0 18px 52px rgba(0, 0, 0, 0.28);
}

.profile-panel::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--wlf-green), transparent 72%);
}

.profile-panel--biography {
    grid-row: span 2;
}

.profile-panel__heading p {
    margin: 0 0 5px;
    color: var(--wlf-green);
    text-transform: uppercase;
    letter-spacing: 0.11em;
    font-size: 0.64rem;
    font-weight: 900;
}

.profile-panel__heading h3 {
    margin: 0;
    text-transform: uppercase;
    letter-spacing: -0.025em;
    font-size: clamp(1.5rem, 2.3vw, 2.35rem);
}

.profile-panel--biography > p {
    margin: 25px 0;
    color: #c4cec8;
    line-height: 1.75;
}

.profile-biography-list {
    display: grid;
    margin: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.profile-biography-list > div {
    display: grid;
    grid-template-columns: minmax(120px, 0.75fr) minmax(0, 1fr);
    gap: 24px;
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.profile-biography-list dt {
    color: #849188;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-size: 0.66rem;
    font-weight: 900;
}

.profile-biography-list dd {
    margin: 0;
    color: #e2e9e5;
    text-align: right;
    font-weight: 750;
}

.profile-snapshot-score {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
    margin: 24px 0;
    padding-bottom: 21px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.profile-snapshot-score span {
    color: #94a097;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.67rem;
    font-weight: 900;
}

.profile-snapshot-score strong {
    color: var(--wlf-green);
    font-size: clamp(2.4rem, 4vw, 4rem);
    line-height: 0.82;
}

.profile-snapshot-bars {
    display: grid;
    gap: 16px;
}

.profile-snapshot-bar > div {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 7px;
    color: #bdc7c1;
    font-size: 0.76rem;
    font-weight: 750;
}

.profile-snapshot-bar__track {
    display: block;
    height: 7px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.07);
    border-radius: 999px;
}

.profile-snapshot-bar__track > span {
    display: block;
    height: 100%;
    background: linear-gradient(90deg, var(--wlf-green-dark), var(--wlf-green));
    border-radius: inherit;
}

.profile-status-list {
    display: grid;
    gap: 17px;
    margin-top: 24px;
}

.profile-status-list > div {
    display: grid;
    grid-template-columns: 32px minmax(0, 1fr);
    align-items: start;
    gap: 12px;
}

.profile-status-list__icon {
    display: grid;
    width: 30px;
    height: 30px;
    place-items: center;
    color: #929f97;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 50%;
    font-weight: 900;
}

.profile-status-list__icon.is-ready {
    color: var(--wlf-black);
    background: var(--wlf-green);
    border-color: var(--wlf-green);
}

.profile-status-list strong,
.profile-status-list span {
    display: block;
}

.profile-status-list strong {
    color: #e0e8e3;
    font-size: 0.83rem;
}

.profile-status-list div div span {
    margin-top: 3px;
    color: #87948b;
    font-size: 0.72rem;
    line-height: 1.45;
}

.profile-record-placeholder {
    display: flex;
    max-width: 900px;
    align-items: center;
    gap: 25px;
    padding: clamp(27px, 4vw, 48px);
    background: linear-gradient(145deg, rgba(18, 33, 24, 0.97), rgba(5, 9, 6, 0.99));
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-top: 3px solid var(--wlf-green);
    border-radius: 18px;
}

.profile-record-placeholder__icon {
    display: grid;
    width: 92px;
    aspect-ratio: 1;
    flex: 0 0 auto;
    place-items: center;
    color: var(--wlf-green);
    background: #07110b;
    border: 2px solid #aeb9b2;
    border-radius: 22px;
    box-shadow: inset 0 0 0 5px rgba(155, 214, 47, 0.07);
    font-size: 1.2rem;
    font-weight: 950;
}

.profile-record-placeholder h3 {
    margin: 0;
    font-size: clamp(1.35rem, 2.4vw, 2.15rem);
}

.profile-record-placeholder p {
    margin: 10px 0 0;
    color: var(--wlf-muted);
    line-height: 1.65;
}

.profile-not-found {
    display: grid;
    min-height: calc(100vh - var(--header-height));
    place-items: center;
    padding: 150px var(--page-padding) 90px;
}

.profile-not-found__inner {
    width: min(100%, 780px);
    text-align: center;
}

.profile-not-found h1 {
    margin: 0;
    text-transform: uppercase;
    letter-spacing: -0.04em;
    font-size: clamp(2.8rem, 7vw, 6rem);
}

.profile-not-found p:not(.eyebrow) {
    margin: 18px 0 28px;
    color: var(--wlf-muted);
}

@media (max-width: 1080px) {
    .player-profile-hero__layout {
        grid-template-columns: minmax(280px, 0.75fr) minmax(470px, 1.25fr);
        gap: 28px;
    }

    .player-profile-facts {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .player-profile-fact:nth-child(2) {
        border-right: 0;
    }

    .player-profile-fact:nth-child(-n + 2) {
        border-bottom: 1px solid rgba(255, 255, 255, 0.09);
    }
}

@media (max-width: 820px) {
    .player-profile-hero {
        min-height: 0;
        padding-top: 112px;
    }

    .player-profile-hero__layout {
        grid-template-columns: 1fr;
        min-height: 0;
        gap: 0;
    }

    .player-profile-portrait {
        min-height: 500px;
        order: 2;
    }

    .player-profile-summary {
        position: relative;
        z-index: 3;
        order: 1;
        padding: 25px 0 0;
    }

    .player-profile-summary h1 {
        font-size: clamp(3.8rem, 13vw, 6.2rem);
    }

    .player-profile-facts,
    .player-profile-stats {
        background: rgba(3, 8, 5, 0.79);
    }

    .profile-navigation {
        top: var(--header-height);
    }

    .profile-navigation__inner {
        padding-inline: 8px;
    }

    .profile-navigation__link {
        min-height: 61px;
    }

    .profile-overview-grid {
        grid-template-columns: 1fr;
    }

    .profile-panel--biography {
        grid-row: auto;
    }
}

@media (max-width: 560px) {
    .player-profile-hero {
        padding-inline: 17px;
    }

    .breadcrumb--profile {
        overflow: hidden;
        white-space: nowrap;
    }

    .breadcrumb--profile span:last-child {
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .player-profile-facts {
        grid-template-columns: 1fr;
    }

    .player-profile-fact,
    .player-profile-fact:nth-child(2) {
        border-right: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.09);
    }

    .player-profile-fact:last-child {
        border-bottom: 0;
    }

    .player-profile-stats {
        grid-template-columns: repeat(5, minmax(72px, 1fr));
        overflow-x: auto;
    }

    .player-profile-stat {
        min-width: 72px;
    }

    .player-profile-stat span {
        font-size: 0.52rem;
    }

    .player-profile-portrait {
        min-height: 430px;
    }

    .player-profile-portrait img {
        width: min(460px, 134%);
    }

    .profile-biography-list > div {
        grid-template-columns: 1fr;
        gap: 5px;
    }

    .profile-biography-list dd {
        text-align: left;
    }

    .profile-record-placeholder {
        display: block;
    }

    .profile-record-placeholder__icon {
        width: 72px;
        margin-bottom: 20px;
    }
}



/* ------------------------------------------------------------------
   Vault: Teams directory
------------------------------------------------------------------- */

.teams-page {
    background:
        radial-gradient(circle at 86% 5%, rgba(155, 214, 47, 0.12), transparent 31rem),
        linear-gradient(180deg, #07110b 0%, #030604 40%, #020302 100%);
}

.teams-directory-header {
    position: relative;
    overflow: hidden;
    padding: clamp(112px, 10vw, 150px) var(--page-padding) clamp(34px, 4.6vw, 60px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    isolation: isolate;
}

.teams-directory-header::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -2;
    background:
        linear-gradient(90deg, rgba(2, 5, 3, 0.97), rgba(7, 17, 10, 0.78)),
        repeating-linear-gradient(
            45deg,
            transparent 0 42px,
            rgba(155, 214, 47, 0.018) 42px 43px
        );
}

.teams-directory-header::after {
    content: "WLF";
    position: absolute;
    right: -0.05em;
    bottom: -0.25em;
    z-index: -1;
    color: rgba(155, 214, 47, 0.035);
    letter-spacing: -0.08em;
    font-size: clamp(14rem, 31vw, 34rem);
    font-weight: 950;
    line-height: 0.7;
}

.teams-directory-header__inner,
.team-results__inner {
    width: min(100%, var(--content-width));
    margin-inline: auto;
}

.teams-title-row {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 32px;
}

.teams-title-row h1 {
    margin: 0;
    text-transform: uppercase;
    letter-spacing: -0.055em;
    line-height: 0.88;
    font-size: clamp(3.1rem, 7.5vw, 7rem);
    font-weight: 950;
}

.teams-title-row__intro {
    max-width: 690px;
    margin: 24px 0 0;
    color: #c6d0ca;
    font-size: clamp(1rem, 1.25vw, 1.16rem);
}

.alphabet-panel--teams {
    position: relative;
}

.team-results {
    padding: clamp(48px, 6vw, 86px) var(--page-padding) clamp(72px, 9vw, 125px);
}

.team-results__heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 28px;
    margin-bottom: clamp(27px, 3.7vw, 46px);
}

.team-results__kicker {
    margin: 0 0 7px;
    color: var(--wlf-green);
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 0.69rem;
    font-weight: 900;
}

.team-results__heading h2 {
    margin: 0;
    text-transform: uppercase;
    letter-spacing: -0.038em;
    line-height: 1;
    font-size: clamp(2rem, 4.4vw, 4.35rem);
}

.team-results__heading p:not(.team-results__kicker) {
    max-width: 760px;
    margin: 14px 0 0;
    color: var(--wlf-muted);
}

.team-count {
    display: inline-flex;
    min-height: 40px;
    align-items: center;
    padding: 0 14px;
    color: #dce5df;
    background: rgba(255, 255, 255, 0.045);
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 999px;
    font-size: 0.76rem;
    font-weight: 850;
    white-space: nowrap;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: clamp(14px, 1.7vw, 24px);
}

.team-card {
    position: relative;
    min-width: 0;
    overflow: hidden;
    background:
        linear-gradient(160deg, rgba(18, 32, 24, 0.98), rgba(5, 9, 6, 0.99));
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 17px;
    box-shadow: 0 16px 45px rgba(0, 0, 0, 0.29);
    transition:
        transform var(--transition),
        border-color var(--transition),
        box-shadow var(--transition);
}

.team-card::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    z-index: 3;
    height: 3px;
    background: linear-gradient(90deg, var(--wlf-green), rgba(216, 191, 66, 0.8), transparent);
}

.team-card:hover {
    border-color: rgba(155, 214, 47, 0.34);
    box-shadow: 0 23px 54px rgba(0, 0, 0, 0.42);
    transform: translateY(-5px);
}

.team-card__top {
    position: relative;
    display: grid;
    min-height: 264px;
    align-content: start;
    justify-items: center;
    padding: 30px 18px 22px;
    background:
        radial-gradient(circle at 50% 45%, rgba(155, 214, 47, 0.11), transparent 54%),
        linear-gradient(180deg, rgba(20, 38, 27, 0.84), rgba(6, 12, 8, 0.36));
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    text-align: center;
}

.team-card__top::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 48px;
    opacity: 0.18;
    background:
        linear-gradient(90deg, transparent 49.5%, #fff 49.5% 50.5%, transparent 50.5%),
        linear-gradient(0deg, transparent 47%, #fff 47% 53%, transparent 53%);
}

.team-card__placeholder {
    position: absolute;
    top: 13px;
    right: 13px;
    z-index: 2;
    padding: 6px 8px;
    color: #d6dfda;
    background: rgba(2, 5, 3, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    font-size: 0.56rem;
    font-weight: 900;
}

.team-card__logo-wrap {
    display: grid;
    min-height: 160px;
    place-items: center;
}

.team-logo {
    --team-logo-a: #9bd62f;
    --team-logo-b: #184621;
    --team-logo-c: #07110b;
    position: relative;
    display: grid;
    width: 118px;
    height: 138px;
    place-items: center;
    color: var(--wlf-white);
    background:
        linear-gradient(145deg, var(--team-logo-a), var(--team-logo-b) 56%, var(--team-logo-c));
    border: 3px solid #d1d8d4;
    border-radius: 22px 22px 34px 34px;
    box-shadow:
        inset 0 0 0 5px rgba(0, 0, 0, 0.32),
        0 16px 28px rgba(0, 0, 0, 0.38);
    clip-path: polygon(50% 0, 93% 13%, 88% 72%, 50% 100%, 12% 72%, 7% 13%);
    transition: transform 260ms ease, filter 260ms ease;
}

.team-logo::before,
.team-logo::after {
    content: "";
    position: absolute;
    pointer-events: none;
}

.team-logo::before {
    inset: 12px;
    border: 2px solid rgba(255, 255, 255, 0.56);
    clip-path: inherit;
}

.team-logo::after {
    width: 62%;
    height: 5px;
    bottom: 35px;
    background: var(--wlf-gold);
    border-radius: 999px;
    box-shadow: 0 -14px 0 rgba(255, 255, 255, 0.72);
    transform: skewY(-8deg);
}

.team-logo > span {
    position: relative;
    z-index: 1;
    margin-top: -7px;
    text-shadow: 0 3px 8px rgba(0, 0, 0, 0.55);
    letter-spacing: -0.07em;
    font-size: 1.75rem;
    font-weight: 950;
}

.team-card:hover .team-logo {
    filter: brightness(1.06);
    transform: translateY(-4px) scale(1.025);
}

.team-logo--1 { --team-logo-a: #9bd62f; --team-logo-b: #265b24; --team-logo-c: #061008; }
.team-logo--2 { --team-logo-a: #d8bf42; --team-logo-b: #765b13; --team-logo-c: #160f03; }
.team-logo--3 { --team-logo-a: #d7dfdc; --team-logo-b: #48645b; --team-logo-c: #07100b; }
.team-logo--4 { --team-logo-a: #51b9d0; --team-logo-b: #135468; --team-logo-c: #04131a; }
.team-logo--5 { --team-logo-a: #d94f4f; --team-logo-b: #762222; --team-logo-c: #180505; }
.team-logo--6 { --team-logo-a: #a671d1; --team-logo-b: #4e266b; --team-logo-c: #100517; }
.team-logo--7 { --team-logo-a: #f08b32; --team-logo-b: #7e3e0b; --team-logo-c: #160b02; }
.team-logo--8 { --team-logo-a: #4b8ee2; --team-logo-b: #1c467f; --team-logo-c: #06101e; }

.team-card h3 {
    position: relative;
    z-index: 2;
    min-height: 52px;
    margin: 10px 0 0;
    color: var(--wlf-white);
    letter-spacing: -0.026em;
    line-height: 1.05;
    font-size: clamp(1.15rem, 1.45vw, 1.48rem);
}

.team-card__details {
    display: grid;
    gap: 0;
    margin: 0;
    padding: 7px 19px 0;
}

.team-card__details > div {
    display: grid;
    grid-template-columns: minmax(82px, 0.8fr) minmax(0, 1.2fr);
    align-items: start;
    gap: 10px;
    padding: 13px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.075);
}

.team-card__details dt {
    color: #829087;
    text-transform: uppercase;
    letter-spacing: 0.055em;
    font-size: 0.57rem;
    font-weight: 900;
}

.team-card__details dd {
    margin: 0;
    color: #dce4df;
    text-align: right;
    font-size: 0.7rem;
    font-weight: 760;
    line-height: 1.35;
}

.team-card__profile-link {
    display: flex;
    min-height: 52px;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 14px 18px 18px;
    padding: 0 15px;
    color: var(--wlf-black);
    background: linear-gradient(135deg, #b5e842, #72bd2b);
    border-radius: 9px;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.055em;
    font-size: 0.66rem;
    font-weight: 950;
    transition: transform var(--transition), filter var(--transition);
}

.team-card__profile-link span:last-child {
    font-size: 1.05rem;
}

.team-card__profile-link:hover,
.team-card__profile-link:focus-visible {
    filter: brightness(1.06);
    transform: translateY(-2px);
    outline: none;
}

/* Team profile placeholder */
.team-profile-page {
    background:
        radial-gradient(circle at 83% 9%, rgba(155, 214, 47, 0.13), transparent 32rem),
        linear-gradient(180deg, #07110b, #020403 65%);
}

.team-profile-hero {
    position: relative;
    overflow: hidden;
    padding: clamp(122px, 12vw, 172px) var(--page-padding) clamp(64px, 8vw, 108px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.09);
    isolation: isolate;
}

.team-profile-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -3;
    background:
        linear-gradient(90deg, rgba(2, 5, 3, 0.98), rgba(7, 18, 11, 0.74)),
        repeating-linear-gradient(135deg, transparent 0 50px, rgba(255, 255, 255, 0.017) 50px 51px);
}

.team-profile-hero::after {
    content: "";
    position: absolute;
    right: -10%;
    bottom: -75%;
    z-index: -2;
    width: min(850px, 72vw);
    aspect-ratio: 1;
    border: 2px solid rgba(155, 214, 47, 0.14);
    border-radius: 50%;
    box-shadow: 0 0 0 70px rgba(155, 214, 47, 0.025);
}

.team-profile-hero__inner,
.team-profile-content__inner {
    width: min(100%, var(--content-width));
    margin-inline: auto;
}

.team-profile-hero__layout {
    display: grid;
    grid-template-columns: minmax(250px, 0.58fr) minmax(500px, 1.42fr);
    align-items: center;
    gap: clamp(36px, 6vw, 95px);
    margin-top: 32px;
}

.team-profile-badge {
    display: grid;
    min-height: 390px;
    place-items: center;
    background:
        radial-gradient(circle, rgba(155, 214, 47, 0.15), transparent 64%);
}

.team-logo--profile {
    width: clamp(215px, 20vw, 315px);
    height: clamp(250px, 23vw, 365px);
    border-width: 6px;
    box-shadow:
        inset 0 0 0 10px rgba(0, 0, 0, 0.33),
        0 30px 64px rgba(0, 0, 0, 0.48);
}

.team-logo--profile::before {
    inset: 24px;
    border-width: 4px;
}

.team-logo--profile::after {
    bottom: 86px;
    height: 10px;
    box-shadow: 0 -32px 0 rgba(255, 255, 255, 0.72);
}

.team-logo--profile > span {
    margin-top: -15px;
    font-size: clamp(3rem, 5vw, 5.2rem);
}

.team-profile-summary__eyebrow {
    margin: 0 0 12px;
    color: var(--wlf-green);
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-size: 0.71rem;
    font-weight: 950;
}

.team-profile-summary h1 {
    max-width: 930px;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: -0.052em;
    line-height: 0.88;
    font-size: clamp(3.3rem, 7vw, 7.2rem);
    font-weight: 950;
}

.team-profile-summary > p:not(.team-profile-summary__eyebrow) {
    max-width: 710px;
    margin: 25px 0 0;
    color: #c2cdc6;
    font-size: clamp(0.98rem, 1.25vw, 1.15rem);
}

.team-profile-facts {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 34px;
    overflow: hidden;
    background: rgba(3, 8, 5, 0.68);
    border: 1px solid rgba(255, 255, 255, 0.11);
    border-top: 3px solid var(--wlf-green);
    border-radius: 13px;
    backdrop-filter: blur(9px);
}

.team-profile-facts > div {
    padding: 19px 17px;
    border-right: 1px solid rgba(255, 255, 255, 0.09);
}

.team-profile-facts > div:last-child {
    border-right: 0;
}

.team-profile-facts span,
.team-profile-facts strong {
    display: block;
}

.team-profile-facts span {
    margin-bottom: 7px;
    color: #87958c;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.59rem;
    font-weight: 900;
}

.team-profile-facts strong {
    color: #edf3ef;
    font-size: clamp(0.83rem, 1vw, 1rem);
    line-height: 1.3;
}

.team-profile-content {
    padding: clamp(55px, 7vw, 102px) var(--page-padding) clamp(78px, 9vw, 126px);
}

.team-profile-panels {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(18px, 2.5vw, 31px);
}

@media (max-width: 1280px) {
    .team-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 960px) {
    .team-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .team-profile-hero__layout {
        grid-template-columns: minmax(220px, 0.7fr) minmax(430px, 1.3fr);
        gap: 28px;
    }

    .team-profile-badge {
        min-height: 320px;
    }
}

@media (max-width: 720px) {
    .teams-title-row,
    .team-results__heading {
        display: block;
    }

    .team-results__heading .team-count {
        margin-top: 18px;
    }

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

    .team-profile-hero__layout,
    .team-profile-panels {
        grid-template-columns: 1fr;
    }

    .team-profile-badge {
        min-height: 300px;
    }

    .team-logo--profile {
        width: 210px;
        height: 245px;
    }
}

@media (max-width: 480px) {
    .teams-directory-header {
        padding-top: 112px;
    }

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

    .team-card__top {
        min-height: 235px;
    }

    .team-profile-hero {
        padding-top: 116px;
    }

    .team-profile-facts {
        grid-template-columns: 1fr;
    }

    .team-profile-facts > div {
        border-right: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.09);
    }

    .team-profile-facts > div:last-child {
        border-bottom: 0;
    }
}



/* Team profile navigation and record-section placeholders */
.team-profile-navigation .profile-navigation__inner {
    padding-right: max(var(--page-padding), 12px);
    padding-left: max(var(--page-padding), 12px);
}

.team-profile-navigation .profile-navigation__link {
    min-height: 66px;
    padding-inline: clamp(13px, 1.25vw, 20px);
    font-size: clamp(0.64rem, 0.7vw, 0.76rem);
}

.team-record-placeholder {
    display: grid;
    grid-template-columns: minmax(170px, 0.36fr) minmax(0, 1.64fr);
    max-width: 1040px;
    overflow: hidden;
    background:
        linear-gradient(145deg, rgba(18, 33, 24, 0.97), rgba(5, 9, 6, 0.99));
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-top: 3px solid var(--wlf-green);
    border-radius: 20px;
    box-shadow: 0 20px 58px rgba(0, 0, 0, 0.3);
}

.team-record-placeholder__badge {
    display: grid;
    min-height: 300px;
    place-items: center;
    padding: 28px;
    background:
        radial-gradient(circle, rgba(155, 214, 47, 0.16), transparent 62%),
        linear-gradient(180deg, rgba(17, 32, 23, 0.82), rgba(5, 10, 7, 0.88));
    border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.team-logo--record {
    width: 126px;
    height: 148px;
}

.team-logo--record > span {
    font-size: 1.9rem;
}

.team-record-placeholder__content {
    align-self: center;
    padding: clamp(28px, 4vw, 50px);
}

.team-record-placeholder__eyebrow {
    margin: 0 0 7px;
    color: var(--wlf-green);
    text-transform: uppercase;
    letter-spacing: 0.13em;
    font-size: 0.66rem;
    font-weight: 900;
}

.team-record-placeholder h3 {
    margin: 0;
    text-transform: uppercase;
    letter-spacing: -0.025em;
    line-height: 1;
    font-size: clamp(1.7rem, 3.3vw, 3.2rem);
}

.team-record-placeholder__content > p:not(.team-record-placeholder__eyebrow) {
    max-width: 700px;
    margin: 19px 0 0;
    color: var(--wlf-muted);
    line-height: 1.7;
}

.team-record-placeholder__features {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 25px;
}

.team-record-placeholder__features span {
    display: inline-flex;
    min-height: 34px;
    align-items: center;
    padding: 0 11px;
    color: #c9d3cd;
    background: rgba(255, 255, 255, 0.045);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 999px;
    text-transform: uppercase;
    letter-spacing: 0.055em;
    font-size: 0.58rem;
    font-weight: 850;
}

@media (max-width: 820px) {
    .team-profile-navigation .profile-navigation__inner {
        padding-inline: 8px;
    }

    .team-profile-navigation .profile-navigation__link {
        min-height: 60px;
        padding-inline: 15px;
        font-size: 0.68rem;
    }
}

@media (max-width: 660px) {
    .team-record-placeholder {
        grid-template-columns: 1fr;
    }

    .team-record-placeholder__badge {
        min-height: 220px;
        border-right: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    .team-logo--record {
        width: 112px;
        height: 132px;
    }
}



/* ------------------------------------------------------------------
   Fanzone: Logo Album
------------------------------------------------------------------- */

.logo-album-page,
.logo-detail-page {
    background:
        radial-gradient(circle at 85% 3%, rgba(155, 214, 47, 0.12), transparent 33rem),
        linear-gradient(180deg, #07110b 0%, #030604 44%, #010201 100%);
}

.logo-album-hero,
.logo-collection-hero,
.logo-history-hero,
.logo-detail-hero {
    position: relative;
    overflow: hidden;
    padding: clamp(114px, 11vw, 162px) var(--page-padding) clamp(54px, 7vw, 92px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    isolation: isolate;
}

.logo-album-hero::before,
.logo-collection-hero::before,
.logo-history-hero::before,
.logo-detail-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -3;
    background:
        linear-gradient(90deg, rgba(2, 5, 3, 0.98), rgba(7, 18, 11, 0.78)),
        repeating-linear-gradient(
            135deg,
            transparent 0 42px,
            rgba(255, 255, 255, 0.016) 42px 43px
        );
}

.logo-album-hero::after,
.logo-collection-hero::after,
.logo-history-hero::after,
.logo-detail-hero::after {
    content: "";
    position: absolute;
    right: -9%;
    bottom: -92%;
    z-index: -2;
    width: min(900px, 78vw);
    aspect-ratio: 1;
    border: 2px solid rgba(155, 214, 47, 0.14);
    border-radius: 50%;
    box-shadow:
        0 0 0 70px rgba(155, 214, 47, 0.025),
        0 0 0 140px rgba(155, 214, 47, 0.015);
}

.logo-album-hero__inner,
.logo-collection-hero__inner,
.logo-history-hero__inner,
.logo-detail-hero__inner,
.logo-album-section__inner,
.logo-detail-main__inner {
    width: min(100%, var(--content-width));
    margin-inline: auto;
}

.logo-album-hero__content {
    max-width: 930px;
}

.logo-album-hero h1,
.logo-collection-hero h1,
.logo-history-hero h1,
.logo-detail-hero h1 {
    margin: 0;
    text-transform: uppercase;
    letter-spacing: -0.052em;
    line-height: 0.9;
    font-size: clamp(3rem, 7.2vw, 7rem);
    font-weight: 950;
}

.logo-album-hero__content > p:last-child,
.logo-collection-hero__content > p,
.logo-history-hero__layout > div:last-child > p,
.logo-detail-title > div > p:last-child {
    max-width: 760px;
    margin: 24px 0 0;
    color: #c5cfc9;
    font-size: clamp(0.98rem, 1.3vw, 1.16rem);
}

.logo-album-section {
    padding: clamp(52px, 7vw, 94px) var(--page-padding) clamp(70px, 9vw, 120px);
}

.logo-album-section--teams {
    padding-top: 0;
}

.logo-album-section__heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: clamp(28px, 4vw, 48px);
}

.logo-album-section__kicker,
.logo-sidebar-kicker {
    margin: 0 0 7px;
    color: var(--wlf-green);
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 0.67rem;
    font-weight: 900;
}

.logo-album-section__heading h2 {
    margin: 0;
    text-transform: uppercase;
    letter-spacing: -0.04em;
    line-height: 0.96;
    font-size: clamp(2.2rem, 4.7vw, 4.8rem);
}

.logo-album-section__heading p:not(.logo-album-section__kicker) {
    max-width: 760px;
    margin: 14px 0 0;
    color: var(--wlf-muted);
}

.logo-album-count {
    display: inline-flex;
    min-height: 39px;
    align-items: center;
    padding: 0 13px;
    color: #dce5df;
    background: rgba(255, 255, 255, 0.045);
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 999px;
    text-transform: uppercase;
    letter-spacing: 0.055em;
    font-size: 0.66rem;
    font-weight: 850;
    white-space: nowrap;
}

.logo-album-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: clamp(14px, 1.7vw, 24px);
}

.logo-album-grid--single {
    grid-template-columns: minmax(0, 1fr);
    width: min(100%, 310px);
    max-width: 310px;
}

.logo-album-card,
.logo-history-card {
    position: relative;
    min-width: 0;
    overflow: hidden;
    background:
        linear-gradient(160deg, rgba(18, 32, 24, 0.98), rgba(5, 9, 6, 0.99));
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 17px;
    box-shadow: 0 16px 45px rgba(0, 0, 0, 0.29);
    transition:
        transform var(--transition),
        border-color var(--transition),
        box-shadow var(--transition);
}

.logo-album-card::before,
.logo-history-card::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    z-index: 4;
    height: 3px;
    background: linear-gradient(90deg, var(--wlf-green), var(--wlf-gold), transparent);
}

.logo-album-card:hover,
.logo-history-card:hover {
    border-color: rgba(155, 214, 47, 0.37);
    box-shadow: 0 24px 58px rgba(0, 0, 0, 0.44);
    transform: translateY(-5px);
}

.logo-album-card__link,
.logo-history-card__link {
    display: block;
    height: 100%;
    color: inherit;
    text-decoration: none;
}

.logo-album-card__link:focus-visible,
.logo-history-card__link:focus-visible {
    outline: 3px solid rgba(155, 214, 47, 0.72);
    outline-offset: -4px;
    border-radius: 17px;
}

.logo-album-card__stage,
.logo-history-card__stage {
    position: relative;
    display: grid;
    min-height: 245px;
    place-items: center;
    overflow: hidden;
    padding: 34px 20px 22px;
    background:
        radial-gradient(circle at 50% 45%, rgba(155, 214, 47, 0.12), transparent 55%),
        linear-gradient(180deg, #f4f7f5 0%, #d7dfda 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}

.logo-album-card__stage::after,
.logo-history-card__stage::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 38px;
    opacity: 0.16;
    background:
        linear-gradient(90deg, transparent 49.5%, #0b2111 49.5% 50.5%, transparent 50.5%),
        linear-gradient(0deg, transparent 47%, #0b2111 47% 53%, transparent 53%);
}

.logo-album-card__type {
    position: absolute;
    top: 13px;
    left: 13px;
    z-index: 3;
    padding: 6px 8px;
    color: #dfe8e2;
    background: rgba(3, 8, 5, 0.82);
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 999px;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    font-size: 0.53rem;
    font-weight: 900;
}

.logo-album-card__body {
    display: flex;
    min-height: 175px;
    flex-direction: column;
    padding: 20px;
}

.logo-album-card__body h3 {
    min-height: 48px;
    margin: 0;
    color: var(--wlf-white);
    letter-spacing: -0.026em;
    line-height: 1.08;
    font-size: clamp(1.08rem, 1.36vw, 1.42rem);
}

.logo-album-card__body > p {
    margin: 9px 0 0;
    color: var(--wlf-green);
    text-transform: uppercase;
    letter-spacing: 0.055em;
    font-size: 0.65rem;
    font-weight: 850;
}

.logo-album-card__action {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: auto;
    padding-top: 19px;
    color: #9aa79f;
    border-top: 1px solid rgba(255, 255, 255, 0.075);
    text-transform: uppercase;
    letter-spacing: 0.055em;
    font-size: 0.58rem;
    font-weight: 850;
}

.logo-album-card__action span {
    color: var(--wlf-green);
    font-size: 1rem;
}

/* Placeholder logo mark */
.logo-archive-mark {
    --logo-a: #9bd62f;
    --logo-b: #285d26;
    --logo-c: #07110b;
    position: relative;
    display: grid;
    width: 132px;
    height: 152px;
    place-items: center;
    color: #fff;
    background:
        linear-gradient(145deg, var(--logo-a), var(--logo-b) 55%, var(--logo-c));
    border: 4px solid #aeb9b2;
    border-radius: 24px 24px 38px 38px;
    box-shadow:
        inset 0 0 0 6px rgba(0, 0, 0, 0.28),
        0 18px 32px rgba(0, 0, 0, 0.34);
    clip-path: polygon(50% 0, 93% 13%, 89% 72%, 50% 100%, 11% 72%, 7% 13%);
    transition: transform 260ms ease, filter 260ms ease;
}

.logo-album-card:hover .logo-archive-mark,
.logo-history-card:hover .logo-archive-mark {
    filter: brightness(1.06);
    transform: translateY(-4px) scale(1.025);
}

.logo-archive-mark__ring {
    position: absolute;
    inset: 13px;
    border: 2px solid rgba(255, 255, 255, 0.58);
    clip-path: inherit;
}

.logo-archive-mark__text {
    position: relative;
    z-index: 2;
    margin-top: -15px;
    text-shadow: 0 4px 9px rgba(0, 0, 0, 0.52);
    letter-spacing: -0.08em;
    font-size: 1.75rem;
    font-weight: 950;
}

.logo-archive-mark__stripe {
    position: absolute;
    z-index: 1;
    right: 22%;
    bottom: 32px;
    left: 22%;
    height: 7px;
    background: var(--wlf-gold);
    border-radius: 999px;
    box-shadow: 0 -17px 0 rgba(255, 255, 255, 0.72);
    transform: skewY(-8deg);
}

.logo-archive-mark--colour-1 { --logo-a: #9bd62f; --logo-b: #265b24; --logo-c: #061008; }
.logo-archive-mark--colour-2 { --logo-a: #d8bf42; --logo-b: #765b13; --logo-c: #160f03; }
.logo-archive-mark--colour-3 { --logo-a: #d7dfdc; --logo-b: #48645b; --logo-c: #07100b; }
.logo-archive-mark--colour-4 { --logo-a: #51b9d0; --logo-b: #135468; --logo-c: #04131a; }
.logo-archive-mark--colour-5 { --logo-a: #d94f4f; --logo-b: #762222; --logo-c: #180505; }
.logo-archive-mark--colour-6 { --logo-a: #a671d1; --logo-b: #4e266b; --logo-c: #100517; }
.logo-archive-mark--colour-7 { --logo-a: #f08b32; --logo-b: #7e3e0b; --logo-c: #160b02; }
.logo-archive-mark--colour-8 { --logo-a: #4b8ee2; --logo-b: #1c467f; --logo-c: #06101e; }

.logo-archive-mark--variant-2 {
    border-radius: 50% 50% 36% 36%;
    clip-path: polygon(50% 0, 92% 20%, 82% 83%, 50% 100%, 18% 83%, 8% 20%);
}

.logo-archive-mark--variant-3 {
    border-radius: 18px;
    clip-path: polygon(15% 0, 85% 0, 100% 30%, 83% 100%, 17% 100%, 0 30%);
}

.logo-archive-mark--variant-4 {
    border-radius: 50%;
    clip-path: circle(49% at 50% 50%);
}

.logo-archive-mark--variant-5 {
    clip-path: polygon(50% 0, 100% 32%, 82% 100%, 18% 100%, 0 32%);
}

.logo-archive-mark--variant-6 {
    border-radius: 15px 45px 15px 45px;
    clip-path: polygon(7% 0, 93% 0, 100% 78%, 50% 100%, 0 78%);
}

.logo-archive-mark--variant-4 .logo-archive-mark__ring {
    border-radius: 50%;
    clip-path: circle(49% at 50% 50%);
}

.logo-archive-mark--hero {
    width: clamp(190px, 18vw, 265px);
    height: clamp(220px, 21vw, 305px);
    border-width: 6px;
}

.logo-archive-mark--hero .logo-archive-mark__ring {
    inset: 23px;
    border-width: 4px;
}

.logo-archive-mark--hero .logo-archive-mark__text {
    font-size: clamp(2.7rem, 4vw, 4.4rem);
}

.logo-archive-mark--hero .logo-archive-mark__stripe {
    bottom: 68px;
    height: 10px;
    box-shadow: 0 -30px 0 rgba(255, 255, 255, 0.72);
}

.logo-archive-mark--history-hero {
    width: clamp(160px, 15vw, 220px);
    height: clamp(185px, 18vw, 255px);
}

.logo-archive-mark--history-hero .logo-archive-mark__text {
    font-size: clamp(2.2rem, 3.5vw, 3.6rem);
}

/* Collection + history heroes */
.logo-collection-hero__layout,
.logo-history-hero__layout {
    display: grid;
    grid-template-columns: minmax(230px, 0.52fr) minmax(0, 1.48fr);
    align-items: center;
    gap: clamp(35px, 6vw, 90px);
    margin-top: 24px;
}

.logo-collection-hero__mark,
.logo-history-hero__mark {
    display: grid;
    min-height: 330px;
    place-items: center;
    background: radial-gradient(circle, rgba(155, 214, 47, 0.15), transparent 65%);
}

.logo-collection-hero__period,
.logo-history-hero__period {
    display: inline-flex;
    margin-top: 27px;
    padding: 8px 11px;
    color: var(--wlf-green);
    background: rgba(155, 214, 47, 0.08);
    border: 1px solid rgba(155, 214, 47, 0.2);
    border-radius: 999px;
    text-transform: uppercase;
    letter-spacing: 0.065em;
    font-size: 0.68rem;
    font-weight: 900;
}

/* History cards */
.logo-history-card__stage {
    min-height: 275px;
}

.logo-current-badge {
    position: absolute;
    top: 13px;
    right: 13px;
    z-index: 3;
    padding: 6px 8px;
    color: var(--wlf-black);
    background: var(--wlf-green);
    border-radius: 999px;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    font-size: 0.55rem;
    font-weight: 950;
}

.logo-history-card__body {
    display: flex;
    min-height: 92px;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 17px 19px;
}

.logo-history-card__body > p {
    margin: 0;
    color: var(--wlf-white);
    font-size: 0.84rem;
    font-weight: 850;
}

.logo-history-card__body > span {
    color: #89968d;
    text-transform: uppercase;
    letter-spacing: 0.055em;
    font-size: 0.56rem;
    font-weight: 850;
}

.logo-history-card__body > span span {
    color: var(--wlf-green);
    font-size: 0.95rem;
}

/* Logo detail */
.logo-detail-title {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 30px;
}

.logo-detail-current {
    display: inline-flex;
    min-height: 39px;
    align-items: center;
    padding: 0 13px;
    color: var(--wlf-black);
    background: var(--wlf-green);
    border-radius: 999px;
    text-transform: uppercase;
    letter-spacing: 0.065em;
    font-size: 0.65rem;
    font-weight: 950;
    white-space: nowrap;
}

.logo-detail-main {
    padding: clamp(48px, 6vw, 84px) var(--page-padding) clamp(80px, 10vw, 132px);
}

.logo-detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.48fr) minmax(310px, 0.52fr);
    align-items: start;
    gap: clamp(20px, 3vw, 38px);
}

.logo-detail-viewer {
    overflow: hidden;
    background: #eef3f0;
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 21px;
    box-shadow: 0 22px 70px rgba(0, 0, 0, 0.38);
}

.logo-detail-viewer__button {
    position: relative;
    display: grid;
    width: 100%;
    min-height: clamp(520px, 55vw, 690px);
    place-items: center;
    padding: clamp(35px, 6vw, 78px);
    background:
        radial-gradient(circle at 50% 46%, rgba(155, 214, 47, 0.12), transparent 48%),
        linear-gradient(145deg, #ffffff, #dbe3de);
    border: 0;
    cursor: zoom-in;
}

.logo-detail-viewer__button:focus-visible {
    outline: 4px solid var(--wlf-green);
    outline-offset: -6px;
}

.logo-detail-viewer__hint {
    position: absolute;
    top: 17px;
    right: 17px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 10px;
    color: #dce5df;
    background: rgba(3, 8, 5, 0.82);
    border-radius: 999px;
    text-transform: uppercase;
    letter-spacing: 0.055em;
    font-size: 0.57rem;
    font-weight: 850;
}

.logo-archive-mark--detail {
    width: clamp(260px, 31vw, 430px);
    height: clamp(300px, 36vw, 495px);
    border-width: 8px;
    box-shadow:
        inset 0 0 0 12px rgba(0, 0, 0, 0.28),
        0 34px 60px rgba(0, 0, 0, 0.34);
}

.logo-archive-mark--detail .logo-archive-mark__ring {
    inset: 34px;
    border-width: 5px;
}

.logo-archive-mark--detail .logo-archive-mark__text {
    font-size: clamp(4rem, 7vw, 7.5rem);
}

.logo-archive-mark--detail .logo-archive-mark__stripe {
    bottom: 105px;
    height: 15px;
    box-shadow: 0 -48px 0 rgba(255, 255, 255, 0.72);
}

.logo-detail-viewer__caption {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    background:
        linear-gradient(145deg, rgba(18, 32, 24, 0.99), rgba(5, 9, 6, 0.99));
}

.logo-detail-viewer__caption > div {
    padding: 18px 21px;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.logo-detail-viewer__caption > div:last-child {
    border-right: 0;
}

.logo-detail-viewer__caption span,
.logo-detail-viewer__caption strong {
    display: block;
}

.logo-detail-viewer__caption span {
    margin-bottom: 4px;
    color: #849188;
    text-transform: uppercase;
    letter-spacing: 0.075em;
    font-size: 0.57rem;
    font-weight: 900;
}

.logo-detail-viewer__caption strong {
    color: #e8efeb;
    font-size: 0.88rem;
}

.logo-detail-sidebar {
    display: grid;
    gap: 16px;
}

.logo-rating-panel,
.logo-share-panel,
.logo-information-panel,
.logo-description-panel,
.logo-comments {
    padding: clamp(22px, 2.5vw, 31px);
    background:
        linear-gradient(145deg, rgba(18, 32, 24, 0.98), rgba(5, 9, 6, 0.99));
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 17px;
    box-shadow: 0 16px 45px rgba(0, 0, 0, 0.27);
}

.logo-rating-panel {
    border-top: 3px solid var(--wlf-green);
}

.logo-rating-panel__score {
    display: flex;
    align-items: baseline;
    gap: 5px;
    margin-top: 16px;
}

.logo-rating-panel__score strong {
    color: var(--wlf-white);
    letter-spacing: -0.055em;
    line-height: 0.8;
    font-size: clamp(3.3rem, 5vw, 5rem);
}

.logo-rating-panel__score span {
    color: var(--wlf-green);
    font-size: 1.25rem;
    font-weight: 900;
}

.logo-rating-panel__votes,
.logo-rating-panel__prompt,
.logo-rating-panel__status,
.logo-share-status {
    color: #8f9c93;
    font-size: 0.72rem;
}

.logo-rating-panel__votes {
    margin: 11px 0 22px;
}

.logo-rating-panel__prompt {
    margin: 0 0 9px;
    text-transform: uppercase;
    letter-spacing: 0.065em;
    font-weight: 850;
}

.logo-rating-buttons {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 6px;
}

.logo-rating-buttons button {
    min-height: 39px;
    color: #dce5df;
    background: rgba(255, 255, 255, 0.045);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 7px;
    cursor: pointer;
    font-weight: 900;
    transition: color var(--transition), background var(--transition), transform var(--transition);
}

.logo-rating-buttons button:hover,
.logo-rating-buttons button.is-selected {
    color: var(--wlf-black);
    background: var(--wlf-green);
    border-color: var(--wlf-green);
    transform: translateY(-2px);
}

.logo-rating-panel__status,
.logo-share-status {
    min-height: 18px;
    margin: 10px 0 0;
    color: var(--wlf-green);
}

.logo-share-buttons {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-top: 15px;
}

.logo-share-buttons button {
    min-height: 42px;
    padding: 0 9px;
    color: #dce5df;
    background: rgba(255, 255, 255, 0.045);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.045em;
    font-size: 0.58rem;
    font-weight: 850;
}

.logo-share-buttons button:hover {
    color: var(--wlf-black);
    background: var(--wlf-green);
    border-color: var(--wlf-green);
}

.logo-information-panel dl {
    display: grid;
    margin: 13px 0 0;
}

.logo-information-panel dl > div {
    display: grid;
    grid-template-columns: minmax(90px, 0.75fr) minmax(0, 1.25fr);
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.075);
}

.logo-information-panel dl > div:last-child {
    border-bottom: 0;
}

.logo-information-panel dt {
    color: #849188;
    text-transform: uppercase;
    letter-spacing: 0.055em;
    font-size: 0.57rem;
    font-weight: 900;
}

.logo-information-panel dd {
    margin: 0;
    color: #dce5df;
    text-align: right;
    font-size: 0.72rem;
    font-weight: 760;
}

.logo-description-panel {
    margin-top: clamp(22px, 3vw, 38px);
}

.logo-description-panel h2 {
    max-width: 930px;
    margin: 0;
    letter-spacing: -0.035em;
    line-height: 1;
    font-size: clamp(1.8rem, 3.5vw, 3.4rem);
}

.logo-description-panel > p:not(.logo-sidebar-kicker) {
    max-width: 950px;
    margin: 21px 0 0;
    color: #bdc8c1;
    line-height: 1.75;
}

.logo-placeholder-notice {
    display: inline-flex;
    margin-top: 22px;
    padding: 8px 10px;
    color: var(--wlf-green);
    background: rgba(155, 214, 47, 0.07);
    border: 1px solid rgba(155, 214, 47, 0.18);
    border-radius: 8px;
    font-size: 0.72rem;
    font-weight: 750;
}

.logo-comments {
    margin-top: clamp(28px, 4vw, 50px);
}

.logo-comments__heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 25px;
    padding-bottom: 22px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.logo-comments__heading h2 {
    margin: 0;
    text-transform: uppercase;
    letter-spacing: -0.035em;
    font-size: clamp(2rem, 4vw, 3.8rem);
}

.logo-comments__heading p:not(.logo-sidebar-kicker) {
    margin: 10px 0 0;
    color: var(--wlf-muted);
}

.logo-comments__count {
    color: var(--wlf-green);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-size: 0.68rem;
    font-weight: 900;
    white-space: nowrap;
}

.logo-comments__layout {
    display: grid;
    grid-template-columns: minmax(300px, 0.72fr) minmax(0, 1.28fr);
    align-items: start;
    gap: clamp(22px, 4vw, 54px);
    padding-top: 28px;
}

.logo-comment-form {
    display: grid;
    gap: 15px;
    padding: 22px;
    background: rgba(255, 255, 255, 0.026);
    border: 1px solid rgba(255, 255, 255, 0.075);
    border-radius: 13px;
}

.logo-comment-form__field {
    display: grid;
    gap: 7px;
}

.logo-comment-form label {
    color: #bfc9c3;
    text-transform: uppercase;
    letter-spacing: 0.055em;
    font-size: 0.61rem;
    font-weight: 900;
}

.logo-comment-form input,
.logo-comment-form textarea {
    width: 100%;
    color: var(--wlf-white);
    background: #060c08;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    font: inherit;
}

.logo-comment-form input {
    min-height: 47px;
    padding: 0 13px;
}

.logo-comment-form textarea {
    min-height: 132px;
    padding: 12px 13px;
    resize: vertical;
}

.logo-comment-form input:focus,
.logo-comment-form textarea:focus {
    border-color: var(--wlf-green);
    outline: 2px solid rgba(155, 214, 47, 0.22);
}

.logo-comment-form__note,
.logo-comment-form__status {
    margin: 0;
    color: #7f8d84;
    font-size: 0.66rem;
    line-height: 1.5;
}

.logo-comment-form__status {
    min-height: 18px;
    color: var(--wlf-green);
}

.logo-comment-list {
    display: grid;
    gap: 13px;
}

.logo-comment {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 13px;
    padding: 18px;
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid rgba(255, 255, 255, 0.075);
    border-radius: 12px;
}

.logo-comment__avatar {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    color: var(--wlf-black);
    background: var(--wlf-green);
    border-radius: 50%;
    font-size: 0.7rem;
    font-weight: 950;
}

.logo-comment header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 15px;
}

.logo-comment header strong {
    color: #e3ebe6;
    font-size: 0.84rem;
}

.logo-comment time {
    color: #758279;
    font-size: 0.61rem;
}

.logo-comment p {
    margin: 8px 0 0;
    color: #aebbb3;
    line-height: 1.6;
    font-size: 0.78rem;
}

/* Lightbox */
body.logo-lightbox-open {
    overflow: hidden;
}

.logo-lightbox {
    position: fixed;
    inset: 0;
    z-index: 4000;
    display: grid;
    place-items: center;
    padding: 20px;
}

.logo-lightbox[hidden] {
    display: none;
}

.logo-lightbox__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.88);
    backdrop-filter: blur(9px);
}

.logo-lightbox__dialog {
    position: relative;
    z-index: 1;
    display: grid;
    width: min(900px, 96vw);
    max-height: 94vh;
    place-items: center;
    overflow-y: auto;
    padding: clamp(28px, 5vw, 58px);
    color: var(--wlf-white);
    background:
        radial-gradient(circle at 50% 47%, rgba(155, 214, 47, 0.14), transparent 48%),
        linear-gradient(145deg, #f8fbf9, #dce4df);
    border: 2px solid rgba(155, 214, 47, 0.52);
    border-radius: 22px;
    box-shadow: 0 34px 110px rgba(0, 0, 0, 0.75);
    text-align: center;
}

.logo-lightbox__dialog h2 {
    margin: 0;
    color: #07110b;
    text-transform: uppercase;
    letter-spacing: -0.035em;
    font-size: clamp(1.8rem, 4vw, 3.8rem);
}

.logo-lightbox__dialog > p:last-child {
    margin: 22px 0 0;
    color: #315039;
    font-weight: 800;
}

.logo-lightbox__eyebrow {
    margin: 0 0 7px;
    color: #477b2b;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 0.67rem;
    font-weight: 900;
}

.logo-lightbox__close {
    position: absolute;
    top: 13px;
    right: 13px;
    display: grid;
    width: 43px;
    height: 43px;
    place-items: center;
    color: #fff;
    background: #07110b;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.55rem;
    line-height: 1;
}

.logo-lightbox__mark {
    display: grid;
    min-height: min(590px, 60vh);
    place-items: center;
    padding: 30px;
}

.logo-archive-mark--lightbox {
    width: clamp(280px, 44vw, 510px);
    height: clamp(325px, 51vw, 588px);
    border-width: 9px;
    box-shadow:
        inset 0 0 0 14px rgba(0, 0, 0, 0.28),
        0 38px 70px rgba(0, 0, 0, 0.34);
}

.logo-archive-mark--lightbox .logo-archive-mark__ring {
    inset: 39px;
    border-width: 6px;
}

.logo-archive-mark--lightbox .logo-archive-mark__text {
    font-size: clamp(4.5rem, 9vw, 9rem);
}

.logo-archive-mark--lightbox .logo-archive-mark__stripe {
    bottom: 125px;
    height: 18px;
    box-shadow: 0 -58px 0 rgba(255, 255, 255, 0.72);
}

@media (max-width: 1280px) {
    .logo-album-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 980px) {
    .logo-album-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .logo-detail-layout {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 760px) {
    .logo-album-section__heading,
    .logo-detail-title,
    .logo-comments__heading {
        display: block;
    }

    .logo-album-count,
    .logo-detail-current,
    .logo-comments__count {
        margin-top: 18px;
    }

    .logo-collection-hero__layout,
    .logo-history-hero__layout {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .logo-collection-hero__mark,
    .logo-history-hero__mark {
        min-height: 285px;
        order: 2;
    }

    .logo-collection-hero__content,
    .logo-history-hero__layout > div:last-child {
        order: 1;
    }

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

    .logo-detail-sidebar {
        grid-template-columns: 1fr;
    }

    .logo-comments__layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .logo-album-hero,
    .logo-collection-hero,
    .logo-history-hero,
    .logo-detail-hero {
        padding-top: 112px;
    }

    .logo-album-grid {
        grid-template-columns: 1fr;
        max-width: none;
    }

    .logo-album-grid--single {
        grid-template-columns: 1fr;
        width: min(100%, 340px);
        max-width: 340px;
    }

    .logo-album-card__stage,
    .logo-history-card__stage {
        min-height: 225px;
    }

    .logo-detail-viewer__button {
        min-height: 440px;
        padding: 42px 20px;
    }

    .logo-detail-viewer__caption {
        grid-template-columns: 1fr;
    }

    .logo-detail-viewer__caption > div {
        border-right: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    .logo-detail-viewer__caption > div:last-child {
        border-bottom: 0;
    }

    .logo-archive-mark--detail {
        width: 245px;
        height: 282px;
    }

    .logo-share-buttons {
        grid-template-columns: 1fr;
    }

    .logo-comment header {
        display: block;
    }

    .logo-comment time {
        display: block;
        margin-top: 3px;
    }

    .logo-lightbox {
        padding: 8px;
    }

    .logo-lightbox__dialog {
        padding: 55px 15px 25px;
    }

    .logo-lightbox__mark {
        min-height: 440px;
        padding: 15px;
    }

    .logo-archive-mark--lightbox {
        width: 250px;
        height: 288px;
    }
}


@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}


/* ------------------------------------------------------------------
   v1.7.0 Advanced User System
------------------------------------------------------------------- */

.sr-only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.navigation-panel {
    gap: 12px;
}

.primary-navigation {
    flex: 1 1 auto;
    min-width: 0;
}

.account-navigation {
    position: relative;
    z-index: 25;
    flex: 0 0 auto;
}

.account-guest-actions {
    display: flex;
    align-items: center;
    gap: 7px;
}

.account-sign-in,
.account-register {
    display: inline-flex;
    min-height: 42px;
    align-items: center;
    justify-content: center;
    padding: 0 13px;
    border-radius: 9px;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.055em;
    font-size: 0.68rem;
    font-weight: 900;
    white-space: nowrap;
}

.account-sign-in {
    color: #e4ebe7;
    background: rgba(255, 255, 255, 0.045);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.account-register {
    color: var(--wlf-black);
    background: linear-gradient(135deg, #b5e842, #72bd2b);
    border: 1px solid transparent;
}

.account-toggle {
    display: flex;
    min-height: 50px;
    align-items: center;
    gap: 9px;
    padding: 5px 11px 5px 6px;
    color: var(--wlf-white);
    background: rgba(255, 255, 255, 0.045);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    cursor: pointer;
}

.account-toggle:hover,
.account-toggle[aria-expanded="true"] {
    background: rgba(155, 214, 47, 0.08);
    border-color: rgba(155, 214, 47, 0.32);
}

.account-toggle__avatar,
.account-menu__avatar,
.member-avatar {
    display: grid;
    place-items: center;
    color: var(--wlf-black);
    background: linear-gradient(135deg, #b5e842, #72bd2b);
    border-radius: 50%;
    font-weight: 950;
}

.account-toggle__avatar {
    width: 37px;
    height: 37px;
    font-size: 0.67rem;
}

.account-toggle__identity {
    display: grid;
    min-width: 0;
    text-align: left;
}

.account-toggle__identity strong {
    max-width: 130px;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 0.75rem;
    white-space: nowrap;
}

.account-toggle__identity small {
    color: #8f9c94;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.52rem;
    font-weight: 850;
}

.account-toggle__chevron {
    width: 7px;
    height: 7px;
    margin-left: 2px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: translateY(-2px) rotate(45deg);
    transition: transform var(--transition);
}

.account-toggle[aria-expanded="true"] .account-toggle__chevron {
    transform: translateY(2px) rotate(225deg);
}

.account-menu {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    width: min(330px, calc(100vw - 24px));
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    background:
        linear-gradient(155deg, rgba(17, 32, 24, 0.995), rgba(3, 7, 4, 0.995));
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-top: 3px solid var(--wlf-green);
    border-radius: 15px;
    box-shadow: 0 25px 75px rgba(0, 0, 0, 0.62);
    transform: translateY(-8px);
    transition:
        opacity var(--transition),
        transform var(--transition),
        visibility var(--transition);
}

.account-menu.is-open {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.account-menu__header {
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr);
    align-items: center;
    gap: 12px;
    padding: 17px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.account-menu__avatar {
    width: 44px;
    height: 44px;
    font-size: 0.76rem;
}

.account-menu__header strong,
.account-menu__header span {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.account-menu__header strong {
    font-size: 0.87rem;
}

.account-menu__header span {
    margin-top: 3px;
    color: #8d9a92;
    font-size: 0.65rem;
}

.account-menu__links {
    display: grid;
    gap: 3px;
    padding: 10px;
}

.account-menu__links a {
    display: flex;
    min-height: 44px;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 0 12px;
    color: #dce5df;
    border-radius: 8px;
    text-decoration: none;
    font-size: 0.78rem;
    font-weight: 800;
}

.account-menu__links a:hover {
    color: var(--wlf-white);
    background: rgba(155, 214, 47, 0.09);
}

.account-menu__links a span:last-child {
    color: var(--wlf-green);
}

.account-menu__logout {
    padding: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.account-menu__logout button {
    width: 100%;
    min-height: 42px;
    color: #f0d8d8;
    background: rgba(205, 80, 80, 0.08);
    border: 1px solid rgba(205, 80, 80, 0.18);
    border-radius: 8px;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.055em;
    font-size: 0.63rem;
    font-weight: 900;
}

/* Authentication pages */
.auth-page {
    min-height: calc(100vh - var(--header-height));
    background:
        radial-gradient(circle at 78% 10%, rgba(155, 214, 47, 0.14), transparent 32rem),
        linear-gradient(180deg, #07110b 0%, #020403 100%);
}

.auth-shell {
    padding: clamp(112px, 12vw, 170px) var(--page-padding) clamp(70px, 9vw, 120px);
}

.auth-shell__inner {
    width: min(100%, 840px);
    margin-inline: auto;
}

.auth-card {
    padding: clamp(25px, 4.4vw, 48px);
    background:
        linear-gradient(145deg, rgba(18, 33, 24, 0.98), rgba(4, 8, 5, 0.99));
    border: 1px solid rgba(255, 255, 255, 0.11);
    border-top: 4px solid var(--wlf-green);
    border-radius: 22px;
    box-shadow: 0 28px 85px rgba(0, 0, 0, 0.45);
}

.auth-card--wide {
    width: min(100%, 960px);
}

.auth-card--register {
    width: min(100%, 900px);
}

.auth-card__heading {
    margin-bottom: 28px;
}

.auth-card__heading h1,
.auth-card__brand h1 {
    margin: 0;
    text-transform: uppercase;
    letter-spacing: -0.045em;
    line-height: 0.95;
    font-size: clamp(2.45rem, 5.8vw, 5rem);
}

.auth-card__heading > p:last-child,
.auth-card__brand p:last-child {
    margin: 15px 0 0;
    color: var(--wlf-muted);
}

.auth-kicker {
    margin: 0 0 8px;
    color: var(--wlf-green);
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 0.67rem;
    font-weight: 900;
}

.auth-card__brand {
    display: grid;
    grid-template-columns: 105px minmax(0, 1fr);
    align-items: center;
    gap: 25px;
    margin-bottom: 28px;
}

.auth-card__brand img {
    width: 100px;
    height: 100px;
    object-fit: contain;
}

.auth-alert {
    margin: 0 0 14px;
    padding: 13px 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-left-width: 4px;
    border-radius: 9px;
    font-size: 0.78rem;
    line-height: 1.55;
}

.auth-alert--success {
    color: #dff1d5;
    background: rgba(113, 189, 43, 0.09);
    border-color: rgba(113, 189, 43, 0.25);
    border-left-color: var(--wlf-green);
}

.auth-alert--error {
    color: #f2d6d6;
    background: rgba(207, 73, 73, 0.08);
    border-color: rgba(207, 73, 73, 0.2);
    border-left-color: #dc6262;
}

.auth-alert--warning {
    color: #f1e4b3;
    background: rgba(216, 191, 66, 0.08);
    border-color: rgba(216, 191, 66, 0.22);
    border-left-color: var(--wlf-gold);
}

.auth-alert--info {
    color: #d7e7ee;
    background: rgba(81, 185, 208, 0.08);
    border-color: rgba(81, 185, 208, 0.2);
    border-left-color: #51b9d0;
}

.auth-alert code {
    color: var(--wlf-green);
}

.auth-form {
    display: grid;
    gap: 18px;
}

.auth-form__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.auth-field {
    display: grid;
    gap: 7px;
}

.auth-field label,
.auth-field__label-row {
    color: #c6d0ca;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-size: 0.63rem;
    font-weight: 900;
}

.auth-field__label-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}

.auth-field__label-row a {
    color: var(--wlf-green);
    text-decoration: none;
    text-transform: none;
    letter-spacing: 0;
    font-size: 0.68rem;
}

.auth-field input,
.auth-field select,
.auth-field textarea,
.admin-user-toolbar input,
.admin-user-access-form select {
    width: 100%;
    color: var(--wlf-white);
    background: #050b07;
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 9px;
    font: inherit;
}

.auth-field input,
.auth-field select {
    min-height: 49px;
    padding: 0 13px;
}

.auth-field select,
.admin-user-access-form select {
    color-scheme: dark;
}

.auth-field input:focus,
.auth-field select:focus,
.auth-field textarea:focus,
.admin-user-toolbar input:focus,
.admin-user-access-form select:focus {
    border-color: var(--wlf-green);
    outline: 2px solid rgba(155, 214, 47, 0.2);
}

.auth-field > span {
    color: #78867d;
    font-size: 0.65rem;
    line-height: 1.5;
}

.auth-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: #aeb9b2;
    font-size: 0.72rem;
    line-height: 1.5;
}

.auth-checkbox input {
    width: 17px;
    height: 17px;
    margin: 2px 0 0;
    accent-color: var(--wlf-green);
}

.auth-password-note {
    margin: -4px 0 0;
    color: #7f8d84;
    font-size: 0.66rem;
}

.auth-card__footer {
    margin: 24px 0 0;
    padding-top: 19px;
    color: #8f9c94;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    text-align: center;
    font-size: 0.74rem;
}

.auth-card__footer a {
    color: var(--wlf-green);
    font-weight: 850;
}

.auth-sso-button {
    display: grid;
    grid-template-columns: 49px minmax(0, 1fr);
    align-items: center;
    gap: 13px;
    min-height: 68px;
    padding: 9px 15px 9px 9px;
    color: #e7eee9;
    background: rgba(255, 255, 255, 0.045);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    text-decoration: none;
}

.auth-sso-button:hover {
    background: rgba(155, 214, 47, 0.08);
    border-color: rgba(155, 214, 47, 0.3);
}

.auth-sso-button__icon {
    display: grid;
    width: 48px;
    height: 48px;
    place-items: center;
    color: var(--wlf-black);
    background: var(--wlf-green);
    border-radius: 10px;
    font-size: 0.8rem;
    font-weight: 950;
}

.auth-sso-button strong,
.auth-sso-button small {
    display: block;
}

.auth-sso-button strong {
    font-size: 0.82rem;
}

.auth-sso-button small {
    margin-top: 3px;
    color: #849188;
    font-size: 0.64rem;
}

.auth-divider {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 12px;
    margin: 22px 0;
    color: #748178;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    font-size: 0.55rem;
    font-weight: 850;
}

.auth-divider::before,
.auth-divider::after {
    content: "";
    height: 1px;
    background: rgba(255, 255, 255, 0.08);
}

.auth-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 11px;
    margin-top: 20px;
}

/* Member profile */
.member-profile-page,
.admin-user-page {
    background:
        radial-gradient(circle at 82% 4%, rgba(155, 214, 47, 0.12), transparent 32rem),
        linear-gradient(180deg, #07110b 0%, #020403 100%);
}

.member-profile-hero,
.admin-user-hero {
    position: relative;
    overflow: hidden;
    padding: clamp(116px, 11vw, 155px) var(--page-padding) clamp(50px, 7vw, 82px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    isolation: isolate;
}

.member-profile-hero::before,
.admin-user-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -2;
    background:
        linear-gradient(90deg, rgba(2, 5, 3, 0.98), rgba(8, 19, 12, 0.76)),
        repeating-linear-gradient(135deg, transparent 0 42px, rgba(255, 255, 255, 0.016) 42px 43px);
}

.member-profile-hero__inner,
.member-profile-content__inner,
.admin-user-hero__inner,
.admin-user-content__inner {
    width: min(100%, var(--content-width));
    margin-inline: auto;
}

.member-profile-hero__layout {
    display: grid;
    grid-template-columns: 120px minmax(0, 1fr);
    align-items: center;
    gap: 25px;
    margin-top: 25px;
}

.member-avatar--large {
    width: 112px;
    height: 112px;
    box-shadow: 0 15px 38px rgba(111, 184, 40, 0.24);
    font-size: 2rem;
}

.member-profile-hero h1,
.admin-user-hero h1 {
    margin: 0;
    text-transform: uppercase;
    letter-spacing: -0.05em;
    line-height: 0.9;
    font-size: clamp(3rem, 7vw, 6.5rem);
}

.member-profile-hero__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 9px 15px;
    margin-top: 19px;
    color: #a8b4ac;
    font-size: 0.73rem;
}

.member-role {
    display: inline-flex;
    min-height: 28px;
    align-items: center;
    padding: 0 9px;
    border-radius: 999px;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    font-size: 0.56rem;
    font-weight: 950;
}

.member-role--user {
    color: #dce5df;
    background: rgba(255, 255, 255, 0.07);
}

.member-role--moderator {
    color: #07110b;
    background: #51b9d0;
}

.member-role--admin {
    color: #07110b;
    background: var(--wlf-gold);
}

.member-profile-nav {
    position: sticky;
    top: var(--header-height);
    z-index: 700;
    display: flex;
    min-height: 58px;
    align-items: stretch;
    justify-content: center;
    overflow-x: auto;
    background: rgba(3, 7, 4, 0.96);
    border-bottom: 1px solid rgba(255, 255, 255, 0.09);
    backdrop-filter: blur(12px);
}

.member-profile-nav a {
    display: inline-flex;
    min-height: 58px;
    flex: 0 0 auto;
    align-items: center;
    padding: 0 19px;
    color: #9daaA2;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.055em;
    font-size: 0.65rem;
    font-weight: 900;
}

.member-profile-nav a:hover {
    color: var(--wlf-green);
}

.member-profile-content,
.admin-user-content {
    padding: clamp(50px, 7vw, 92px) var(--page-padding) clamp(75px, 9vw, 125px);
}

.member-profile-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(17px, 2.3vw, 29px);
}

.member-panel {
    scroll-margin-top: calc(var(--header-height) + 75px);
    padding: clamp(23px, 3vw, 36px);
    background:
        linear-gradient(145deg, rgba(18, 33, 24, 0.98), rgba(5, 9, 6, 0.99));
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-top: 3px solid var(--wlf-green);
    border-radius: 18px;
    box-shadow: 0 18px 52px rgba(0, 0, 0, 0.28);
}

.member-panel--full {
    grid-column: 1 / -1;
}

.member-panel__heading {
    margin-bottom: 23px;
}

.member-panel__heading p {
    margin: 0 0 5px;
    color: var(--wlf-green);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.62rem;
    font-weight: 900;
}

.member-panel__heading h2 {
    margin: 0;
    text-transform: uppercase;
    letter-spacing: -0.03em;
    font-size: clamp(1.5rem, 2.5vw, 2.5rem);
}

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

.connection-status__icon {
    display: grid;
    width: 54px;
    height: 54px;
    place-items: center;
    color: var(--wlf-black);
    background: var(--wlf-green);
    border-radius: 13px;
    font-weight: 950;
}

.connection-status strong,
.connection-status p {
    display: block;
}

.connection-status p {
    margin: 5px 0 0;
    color: #859288;
    font-size: 0.72rem;
}

/* Admin users */
.admin-user-hero > .admin-user-hero__inner > p:last-child {
    max-width: 650px;
    margin: 20px 0 0;
    color: var(--wlf-muted);
}

.admin-user-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 21px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.026);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
}

.admin-user-toolbar form {
    display: flex;
    width: min(100%, 570px);
    gap: 9px;
}

.admin-user-toolbar input {
    min-height: 46px;
    padding: 0 13px;
}

.admin-user-toolbar > span {
    color: var(--wlf-green);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-size: 0.65rem;
    font-weight: 900;
    white-space: nowrap;
}

.admin-user-table-wrap {
    overflow-x: auto;
    background:
        linear-gradient(145deg, rgba(18, 33, 24, 0.98), rgba(5, 9, 6, 0.99));
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    box-shadow: 0 18px 52px rgba(0, 0, 0, 0.28);
}

.admin-user-table {
    width: 100%;
    min-width: 980px;
    border-collapse: collapse;
}

.admin-user-table th,
.admin-user-table td {
    padding: 15px 17px;
    text-align: left;
    vertical-align: middle;
    border-bottom: 1px solid rgba(255, 255, 255, 0.075);
}

.admin-user-table th {
    color: #829087;
    background: rgba(255, 255, 255, 0.025);
    text-transform: uppercase;
    letter-spacing: 0.07em;
    font-size: 0.58rem;
    font-weight: 900;
}

.admin-user-table td {
    color: #cad4ce;
    font-size: 0.72rem;
}

.admin-user-table td:first-child strong,
.admin-user-table td:first-child span,
.admin-user-table td:first-child small {
    display: block;
}

.admin-user-table td:first-child strong {
    color: var(--wlf-white);
    font-size: 0.81rem;
}

.admin-user-table td:first-child span {
    margin-top: 3px;
    color: #94a198;
}

.admin-user-table td:first-child small {
    margin-top: 5px;
    color: #68756d;
}

.admin-user-access-form {
    display: grid;
    grid-template-columns: 1fr 1fr auto;
    gap: 6px;
}

.admin-user-access-form select {
    min-height: 38px;
    padding: 0 8px;
    font-size: 0.65rem;
}

.admin-user-access-form button {
    min-height: 38px;
    padding: 0 11px;
    color: var(--wlf-black);
    background: var(--wlf-green);
    border: 0;
    border-radius: 7px;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.58rem;
    font-weight: 950;
}

.admin-pagination {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 22px;
}

.admin-pagination a {
    display: grid;
    width: 39px;
    height: 39px;
    place-items: center;
    color: #c7d1cb;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 7px;
    text-decoration: none;
    font-size: 0.7rem;
    font-weight: 850;
}

.admin-pagination a.is-active {
    color: var(--wlf-black);
    background: var(--wlf-green);
    border-color: var(--wlf-green);
}

@media (max-width: 1260px) {
    .account-toggle__identity {
        display: none;
    }

    .account-toggle {
        padding-right: 8px;
    }
}

@media (max-width: 980px) {
    .account-register {
        display: none;
    }

    .member-profile-grid {
        grid-template-columns: 1fr;
    }

    .member-panel--full {
        grid-column: auto;
    }
}

@media (max-width: 820px) {
    .navigation-panel {
        padding-left: 132px;
        gap: 7px;
    }

    .account-sign-in {
        min-height: 42px;
        padding-inline: 10px;
        font-size: 0.62rem;
    }

    .account-toggle {
        min-height: 44px;
        padding: 4px 7px 4px 4px;
    }

    .account-toggle__avatar {
        width: 34px;
        height: 34px;
    }

    .account-toggle__chevron {
        display: none;
    }

    .account-menu {
        position: fixed;
        top: calc(var(--header-height) + 10px);
        right: 10px;
    }

    .auth-shell {
        padding-top: 112px;
    }

    .member-profile-hero,
    .admin-user-hero {
        padding-top: 112px;
    }
}

@media (max-width: 650px) {
    .auth-form__grid {
        grid-template-columns: 1fr;
    }

    .auth-card__brand {
        grid-template-columns: 76px minmax(0, 1fr);
        gap: 15px;
    }

    .auth-card__brand img {
        width: 72px;
        height: 72px;
    }

    .member-profile-hero__layout {
        grid-template-columns: 78px minmax(0, 1fr);
        gap: 16px;
    }

    .member-avatar--large {
        width: 74px;
        height: 74px;
        font-size: 1.3rem;
    }

    .connection-status {
        grid-template-columns: 52px minmax(0, 1fr);
    }

    .connection-status .button {
        grid-column: 1 / -1;
        width: 100%;
    }

    .admin-user-toolbar {
        align-items: stretch;
        flex-direction: column;
    }

    .admin-user-toolbar form {
        width: 100%;
    }
}

@media (max-width: 430px) {
    .account-sign-in {
        width: 39px;
        overflow: hidden;
        color: transparent;
        padding: 0;
    }

    .account-sign-in::before {
        content: "↪";
        color: var(--wlf-white);
        font-size: 1rem;
    }

    .auth-card {
        padding-inline: 19px;
    }

    .auth-card__brand {
        display: block;
    }

    .auth-card__brand img {
        margin-bottom: 15px;
    }

    .member-profile-hero__layout {
        display: block;
    }

    .member-avatar--large {
        margin-bottom: 20px;
    }

    .member-profile-nav {
        justify-content: flex-start;
    }

    .admin-user-toolbar form {
        display: grid;
    }
}


/* ------------------------------------------------------------------
   v1.7.1 Role Panels
------------------------------------------------------------------- */

.role-panel-page {
    background:
        radial-gradient(circle at 83% 4%, rgba(155, 214, 47, 0.12), transparent 34rem),
        linear-gradient(180deg, #07110b 0%, #020403 100%);
}

.role-panel-hero {
    position: relative;
    overflow: hidden;
    padding: clamp(116px, 11vw, 158px) var(--page-padding) clamp(56px, 7vw, 90px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    isolation: isolate;
}

.role-panel-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -2;
    background:
        linear-gradient(90deg, rgba(2, 5, 3, 0.98), rgba(8, 19, 12, 0.74)),
        repeating-linear-gradient(
            135deg,
            transparent 0 42px,
            rgba(255, 255, 255, 0.016) 42px 43px
        );
}

.role-panel-hero::after {
    content: "";
    position: absolute;
    right: -8%;
    bottom: -110%;
    z-index: -1;
    width: min(900px, 76vw);
    aspect-ratio: 1;
    border: 2px solid rgba(155, 214, 47, 0.14);
    border-radius: 50%;
    box-shadow:
        0 0 0 72px rgba(155, 214, 47, 0.024),
        0 0 0 144px rgba(155, 214, 47, 0.014);
}

.role-panel-hero--admin::after {
    border-color: rgba(216, 191, 66, 0.18);
    box-shadow:
        0 0 0 72px rgba(216, 191, 66, 0.026),
        0 0 0 144px rgba(216, 191, 66, 0.015);
}

.role-panel-hero__inner,
.role-panel-content__inner {
    width: min(100%, var(--content-width));
    margin-inline: auto;
}

.role-panel-hero h1 {
    margin: 0;
    text-transform: uppercase;
    letter-spacing: -0.05em;
    line-height: 0.9;
    font-size: clamp(3rem, 7vw, 6.6rem);
}

.role-panel-hero__inner > p:last-child {
    max-width: 720px;
    margin: 21px 0 0;
    color: var(--wlf-muted);
    font-size: clamp(0.98rem, 1.25vw, 1.14rem);
}

.role-panel-content {
    padding: clamp(50px, 7vw, 94px) var(--page-padding) clamp(78px, 9vw, 126px);
}

.role-panel-stat-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(12px, 1.8vw, 22px);
    margin-bottom: clamp(45px, 6vw, 78px);
}

.role-panel-stat-grid article {
    position: relative;
    overflow: hidden;
    padding: clamp(21px, 2.6vw, 32px);
    background:
        linear-gradient(145deg, rgba(18, 33, 24, 0.98), rgba(5, 9, 6, 0.99));
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-top: 3px solid var(--wlf-green);
    border-radius: 15px;
    box-shadow: 0 17px 45px rgba(0, 0, 0, 0.28);
}

.role-panel-stat-grid span,
.role-panel-stat-grid strong {
    display: block;
}

.role-panel-stat-grid span {
    color: #89968d;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    font-size: 0.61rem;
    font-weight: 900;
}

.role-panel-stat-grid strong {
    margin-top: 9px;
    color: var(--wlf-white);
    letter-spacing: -0.045em;
    font-size: clamp(2rem, 4vw, 3.8rem);
    line-height: 0.9;
}

.role-panel-section-heading {
    max-width: 850px;
    margin-bottom: clamp(25px, 3.5vw, 42px);
}

.role-panel-section-heading p {
    margin: 0 0 6px;
    color: var(--wlf-green);
    text-transform: uppercase;
    letter-spacing: 0.13em;
    font-size: 0.64rem;
    font-weight: 900;
}

.role-panel-section-heading h2 {
    margin: 0;
    text-transform: uppercase;
    letter-spacing: -0.04em;
    font-size: clamp(2rem, 4.5vw, 4.4rem);
    line-height: 0.96;
}

.role-panel-section-heading span {
    display: block;
    margin-top: 13px;
    color: var(--wlf-muted);
}

.role-panel-tool-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(14px, 2vw, 24px);
}

.role-panel-tool-card {
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr) auto;
    align-items: center;
    gap: 17px;
    min-height: 150px;
    padding: clamp(20px, 2.6vw, 30px);
    color: inherit;
    background:
        linear-gradient(145deg, rgba(18, 33, 24, 0.98), rgba(5, 9, 6, 0.99));
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    box-shadow: 0 17px 48px rgba(0, 0, 0, 0.28);
    text-decoration: none;
    transition:
        transform var(--transition),
        border-color var(--transition),
        box-shadow var(--transition);
}

a.role-panel-tool-card:hover,
a.role-panel-tool-card:focus-visible {
    border-color: rgba(155, 214, 47, 0.36);
    box-shadow: 0 23px 58px rgba(0, 0, 0, 0.42);
    transform: translateY(-4px);
    outline: none;
}

.role-panel-tool-card--placeholder {
    opacity: 0.72;
}

.role-panel-tool-card__icon {
    display: grid;
    width: 62px;
    height: 62px;
    place-items: center;
    color: var(--wlf-black);
    background: linear-gradient(135deg, #b5e842, #72bd2b);
    border-radius: 13px;
    font-size: 0.78rem;
    font-weight: 950;
}

.role-panel-tool-card p {
    margin: 0 0 5px;
    color: var(--wlf-green);
    text-transform: uppercase;
    letter-spacing: 0.09em;
    font-size: 0.57rem;
    font-weight: 900;
}

.role-panel-tool-card h3 {
    margin: 0;
    color: var(--wlf-white);
    letter-spacing: -0.025em;
    font-size: clamp(1.2rem, 2vw, 1.85rem);
}

.role-panel-tool-card div > span {
    display: block;
    margin-top: 8px;
    color: #8f9c94;
    font-size: 0.72rem;
    line-height: 1.5;
}

.role-panel-tool-card > strong {
    color: var(--wlf-green);
    font-size: 1.35rem;
}

.role-panel-access-banner {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 16px;
    margin-bottom: clamp(42px, 6vw, 72px);
    padding: 20px 22px;
    background: rgba(155, 214, 47, 0.065);
    border: 1px solid rgba(155, 214, 47, 0.18);
    border-left: 4px solid var(--wlf-green);
    border-radius: 12px;
}

.role-panel-access-banner strong {
    color: var(--wlf-white);
}

.role-panel-access-banner p {
    margin: 5px 0 0;
    color: #8f9c94;
    font-size: 0.74rem;
}

.role-panel-admin-return {
    margin-top: 28px;
}

@media (max-width: 980px) {
    .role-panel-stat-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .role-panel-tool-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 520px) {
    .role-panel-hero {
        padding-top: 112px;
    }

    .role-panel-stat-grid {
        grid-template-columns: 1fr;
    }

    .role-panel-tool-card {
        grid-template-columns: 52px minmax(0, 1fr);
    }

    .role-panel-tool-card__icon {
        width: 50px;
        height: 50px;
    }

    .role-panel-tool-card > strong {
        display: none;
    }

    .role-panel-access-banner {
        grid-template-columns: 1fr;
    }
}


/* ------------------------------------------------------------------
   v1.8.0 Logo Database, Community Activity and Administration
------------------------------------------------------------------- */

/* Stored logo images use the same visual footprints as generated marks. */
.logo-archive-image {
    display: grid;
    width: 132px;
    height: 152px;
    place-items: center;
}

.logo-archive-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 15px 22px rgba(0, 0, 0, 0.28));
    transition: transform 260ms ease, filter 260ms ease;
}

.logo-album-card:hover .logo-archive-image img,
.logo-history-card:hover .logo-archive-image img {
    filter: drop-shadow(0 19px 26px rgba(0, 0, 0, 0.33)) brightness(1.035);
    transform: translateY(-4px) scale(1.025);
}

.logo-archive-image--hero {
    width: clamp(190px, 18vw, 265px);
    height: clamp(220px, 21vw, 305px);
}

.logo-archive-image--history-hero {
    width: clamp(160px, 15vw, 220px);
    height: clamp(185px, 18vw, 255px);
}

.logo-archive-image--detail {
    width: clamp(260px, 31vw, 430px);
    height: clamp(300px, 36vw, 495px);
}

.logo-archive-image--lightbox {
    width: clamp(280px, 44vw, 510px);
    height: clamp(325px, 51vw, 588px);
}

.logo-community-notice {
    margin-top: 16px;
    padding: 12px 13px;
    color: #aebbb3;
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(255, 255, 255, 0.085);
    border-left: 3px solid var(--wlf-green);
    border-radius: 8px;
    font-size: 0.7rem;
    line-height: 1.55;
}

.logo-community-notice a {
    color: var(--wlf-green);
    font-weight: 900;
    text-underline-offset: 3px;
}

.logo-rating-buttons button:disabled {
    cursor: not-allowed;
    opacity: 0.48;
    transform: none;
}

.logo-rating-buttons button.is-selected:disabled {
    color: var(--wlf-black);
    background: var(--wlf-green);
    border-color: var(--wlf-green);
    opacity: 1;
}

.logo-comment-access {
    align-self: start;
    padding: clamp(22px, 3vw, 32px);
    background: rgba(255, 255, 255, 0.026);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-left: 4px solid var(--wlf-green);
    border-radius: 13px;
}

.logo-comment-access strong {
    display: block;
    color: var(--wlf-white);
    font-size: 1.04rem;
}

.logo-comment-access p {
    margin: 9px 0 18px;
    color: #8f9c94;
    font-size: 0.75rem;
    line-height: 1.55;
}

.logo-comment-access .button + .button {
    margin-left: 7px;
}

.logo-comment-form__member {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    align-items: center;
    gap: 11px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.075);
}

.logo-comment-form__member > span {
    display: grid;
    width: 41px;
    height: 41px;
    place-items: center;
    color: var(--wlf-black);
    background: var(--wlf-green);
    border-radius: 50%;
    font-size: 0.68rem;
    font-weight: 950;
}

.logo-comment-form__member strong,
.logo-comment-form__member small {
    display: block;
}

.logo-comment-form__member strong {
    color: #e5ece8;
    font-size: 0.8rem;
}

.logo-comment-form__member small {
    margin-top: 3px;
    color: #79867e;
    font-size: 0.61rem;
}

.logo-comments-empty {
    padding: 28px;
    color: #8b988f;
    background: rgba(255, 255, 255, 0.024);
    border: 1px dashed rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    text-align: center;
}

.logo-comments-empty strong {
    display: block;
    color: #dce5df;
    font-size: 0.9rem;
}

.logo-comments-empty p {
    margin: 6px 0 0;
    font-size: 0.7rem;
}

/* Logo administration */
.logo-admin-page {
    background:
        radial-gradient(circle at 83% 4%, rgba(155, 214, 47, 0.12), transparent 34rem),
        linear-gradient(180deg, #07110b 0%, #020403 100%);
}

.logo-admin-hero {
    position: relative;
    overflow: hidden;
    padding: clamp(116px, 11vw, 158px) var(--page-padding) clamp(54px, 7vw, 88px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    isolation: isolate;
}

.logo-admin-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -2;
    background:
        linear-gradient(90deg, rgba(2, 5, 3, 0.98), rgba(8, 19, 12, 0.74)),
        repeating-linear-gradient(135deg, transparent 0 42px, rgba(255, 255, 255, 0.016) 42px 43px);
}

.logo-admin-hero::after {
    content: "LG";
    position: absolute;
    right: -0.05em;
    bottom: -0.28em;
    z-index: -1;
    color: rgba(155, 214, 47, 0.035);
    letter-spacing: -0.08em;
    font-size: clamp(14rem, 31vw, 34rem);
    font-weight: 950;
    line-height: 0.7;
}

.logo-admin-hero__inner,
.logo-admin-content__inner {
    width: min(100%, var(--content-width));
    margin-inline: auto;
}

.logo-admin-hero__title {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 28px;
}

.logo-admin-hero h1 {
    margin: 0;
    text-transform: uppercase;
    letter-spacing: -0.05em;
    line-height: 0.9;
    font-size: clamp(3rem, 7vw, 6.5rem);
}

.logo-admin-hero__title p:last-child {
    max-width: 720px;
    margin: 21px 0 0;
    color: var(--wlf-muted);
}

.logo-admin-content {
    padding: clamp(48px, 7vw, 92px) var(--page-padding) clamp(78px, 9vw, 126px);
}

.logo-admin-toolbar {
    display: grid;
    grid-template-columns: minmax(250px, 1.5fr) minmax(170px, 0.6fr) minmax(180px, 0.6fr) auto;
    align-items: end;
    gap: 12px;
    margin-bottom: 14px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid rgba(255, 255, 255, 0.085);
    border-radius: 13px;
}

.logo-admin-toolbar .button {
    min-height: 49px;
}

.logo-admin-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 24px;
    color: #849188;
    font-size: 0.67rem;
}

.logo-admin-summary span:first-child {
    color: var(--wlf-green);
    text-transform: uppercase;
    letter-spacing: 0.065em;
    font-weight: 900;
}

.logo-admin-summary code,
.logo-storage-path code,
.logo-admin-setup code {
    color: #b4c2b9;
    background: rgba(255, 255, 255, 0.045);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 6px;
    font-size: 0.66rem;
}

.logo-admin-summary code {
    padding: 5px 7px;
}

.logo-admin-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(14px, 1.8vw, 23px);
}

.logo-admin-card {
    min-width: 0;
    overflow: hidden;
    background:
        linear-gradient(160deg, rgba(18, 32, 24, 0.98), rgba(5, 9, 6, 0.99));
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    box-shadow: 0 16px 45px rgba(0, 0, 0, 0.29);
}

.logo-admin-card__stage {
    position: relative;
    display: grid;
    min-height: 225px;
    place-items: center;
    padding: 32px 20px 20px;
    background:
        radial-gradient(circle at 50% 45%, rgba(155, 214, 47, 0.12), transparent 55%),
        linear-gradient(180deg, #f4f7f5 0%, #d7dfda 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}

.logo-admin-card__status {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 6px 8px;
    color: #dfe7e2;
    background: #07110b;
    border-radius: 999px;
    text-transform: uppercase;
    letter-spacing: 0.065em;
    font-size: 0.52rem;
    font-weight: 900;
}

.logo-admin-card__status--published {
    color: var(--wlf-black);
    background: var(--wlf-green);
}

.logo-admin-card__status--draft {
    color: var(--wlf-black);
    background: var(--wlf-gold);
}

.logo-admin-card__status--deleted {
    color: #fff;
    background: #b83f3f;
}

.logo-admin-card__body {
    padding: 19px;
}

.logo-admin-card__body > p {
    margin: 0 0 5px;
    color: var(--wlf-green);
    text-transform: uppercase;
    letter-spacing: 0.09em;
    font-size: 0.56rem;
    font-weight: 900;
}

.logo-admin-card__body h2 {
    min-height: 48px;
    margin: 0;
    color: var(--wlf-white);
    letter-spacing: -0.025em;
    line-height: 1.06;
    font-size: 1.25rem;
}

.logo-admin-card__body > strong {
    display: block;
    margin-top: 11px;
    color: #b8c4bd;
    font-size: 0.72rem;
}

.logo-admin-card__body > span {
    display: block;
    margin-top: 5px;
    color: #7f8d84;
    font-size: 0.68rem;
}

.logo-admin-card dl {
    display: grid;
    margin: 15px 0 0;
    border-top: 1px solid rgba(255, 255, 255, 0.075);
}

.logo-admin-card dl > div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 9px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.075);
}

.logo-admin-card dt {
    color: #748178;
    text-transform: uppercase;
    letter-spacing: 0.055em;
    font-size: 0.54rem;
    font-weight: 900;
}

.logo-admin-card dd {
    margin: 0;
    color: #ccd5cf;
    text-align: right;
    font-size: 0.65rem;
}

.logo-admin-card__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 15px;
}

.logo-admin-card__actions a,
.logo-admin-card__actions button {
    display: inline-flex;
    min-height: 35px;
    align-items: center;
    justify-content: center;
    padding: 0 10px;
    color: #dce5df;
    background: rgba(255, 255, 255, 0.045);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 7px;
    cursor: pointer;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.55rem;
    font-weight: 900;
}

.logo-admin-card__actions button.is-danger {
    color: #f0d5d5;
    background: rgba(205, 76, 76, 0.08);
    border-color: rgba(205, 76, 76, 0.2);
}

.logo-admin-empty,
.logo-admin-setup {
    padding: clamp(28px, 4vw, 48px);
    background:
        linear-gradient(145deg, rgba(18, 33, 24, 0.98), rgba(5, 9, 6, 0.99));
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-left: 4px solid var(--wlf-green);
    border-radius: 16px;
}

.logo-admin-empty h2,
.logo-admin-setup h2 {
    margin: 0;
    font-size: clamp(1.6rem, 3vw, 2.8rem);
}

.logo-admin-empty p,
.logo-admin-setup p {
    margin: 10px 0 0;
    color: var(--wlf-muted);
}

.logo-admin-setup code {
    display: inline-block;
    margin-top: 18px;
    padding: 8px 10px;
}

.logo-admin-edit-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.42fr) minmax(300px, 0.58fr);
    align-items: start;
    gap: clamp(20px, 3vw, 38px);
}

.logo-admin-form {
    display: grid;
    gap: 20px;
}

.logo-admin-form__section,
.logo-admin-preview {
    padding: clamp(23px, 3vw, 35px);
    background:
        linear-gradient(145deg, rgba(18, 33, 24, 0.98), rgba(5, 9, 6, 0.99));
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 17px;
    box-shadow: 0 17px 48px rgba(0, 0, 0, 0.28);
}

.logo-admin-form__section {
    display: grid;
    gap: 17px;
}

.logo-admin-form__section h2,
.logo-admin-preview h2 {
    margin: -1px 0 6px;
    text-transform: uppercase;
    letter-spacing: -0.028em;
    font-size: clamp(1.45rem, 2.5vw, 2.5rem);
}

.logo-admin-form textarea {
    width: 100%;
    min-height: 155px;
    padding: 12px 13px;
    color: var(--wlf-white);
    background: #050b07;
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 9px;
    font: inherit;
    resize: vertical;
}

.logo-admin-form input[type="file"] {
    min-height: 56px;
    padding: 12px;
}

.logo-storage-path {
    display: grid;
    gap: 6px;
    padding: 13px;
    background: rgba(255, 255, 255, 0.027);
    border: 1px solid rgba(255, 255, 255, 0.075);
    border-radius: 9px;
}

.logo-storage-path > span {
    color: #849188;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-size: 0.58rem;
    font-weight: 900;
}

.logo-storage-path code {
    padding: 7px 8px;
    overflow-wrap: anywhere;
}

.logo-admin-form__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
}

.logo-admin-preview {
    position: sticky;
    top: calc(var(--header-height) + 20px);
}

.logo-admin-preview__stage {
    display: grid;
    min-height: 340px;
    place-items: center;
    margin-top: 20px;
    padding: 28px;
    background:
        radial-gradient(circle at 50% 45%, rgba(155, 214, 47, 0.12), transparent 55%),
        linear-gradient(180deg, #f4f7f5 0%, #d7dfda 100%);
    border-radius: 13px;
}

.logo-admin-preview__empty {
    max-width: 190px;
    color: #46604e;
    text-align: center;
    font-size: 0.75rem;
    font-weight: 800;
}

.logo-admin-preview__facts {
    display: grid;
    margin: 20px 0 0;
}

.logo-admin-preview__facts > div {
    display: grid;
    grid-template-columns: 90px minmax(0, 1fr);
    gap: 12px;
    padding: 11px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.075);
}

.logo-admin-preview__facts dt {
    color: #78857d;
    text-transform: uppercase;
    letter-spacing: 0.055em;
    font-size: 0.56rem;
    font-weight: 900;
}

.logo-admin-preview__facts dd {
    margin: 0;
    color: #d3dcd6;
    text-align: right;
    font-size: 0.68rem;
    overflow-wrap: anywhere;
}

@media (max-width: 1280px) {
    .logo-admin-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 980px) {
    .logo-admin-toolbar {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

    .logo-admin-edit-layout {
        grid-template-columns: 1fr;
    }

    .logo-admin-preview {
        position: static;
    }
}

@media (max-width: 700px) {
    .logo-admin-hero__title {
        display: block;
    }

    .logo-admin-hero__title .button {
        margin-top: 22px;
    }

    .logo-admin-toolbar {
        grid-template-columns: 1fr;
    }

    .logo-admin-summary {
        align-items: flex-start;
        flex-direction: column;
    }

    .logo-admin-summary code {
        overflow-wrap: anywhere;
    }
}

@media (max-width: 520px) {
    .logo-archive-image--detail {
        width: 245px;
        height: 282px;
    }

    .logo-archive-image--lightbox {
        width: 250px;
        height: 288px;
    }

    .logo-comment-access .button {
        width: 100%;
    }

    .logo-comment-access .button + .button {
        margin: 7px 0 0;
    }

    .logo-admin-hero {
        padding-top: 112px;
    }

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

    .logo-admin-form__section,
    .logo-admin-preview {
        padding-inline: 19px;
    }
}


/* ------------------------------------------------------------------
   v1.8.4 Competition Team Assignments
------------------------------------------------------------------- */

.logo-admin-hero__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 9px;
}

.logo-owner-assignment-callout {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 14px 15px;
    background: rgba(155, 214, 47, 0.055);
    border: 1px solid rgba(155, 214, 47, 0.17);
    border-left: 4px solid var(--wlf-green);
    border-radius: 10px;
}

.logo-owner-assignment-callout strong {
    display: block;
    color: var(--wlf-white);
    font-size: 0.78rem;
}

.logo-owner-assignment-callout p {
    margin: 4px 0 0;
    color: #8f9c94;
    font-size: 0.68rem;
    line-height: 1.5;
}

.logo-owner-assignment-callout a {
    flex: 0 0 auto;
    color: var(--wlf-black);
    background: var(--wlf-green);
    border-radius: 7px;
    padding: 10px 12px;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.055em;
    font-size: 0.56rem;
    font-weight: 950;
}

.logo-album-empty-state {
    padding: clamp(28px, 4vw, 46px);
    color: #8e9b92;
    background:
        linear-gradient(145deg, rgba(18, 33, 24, 0.98), rgba(5, 9, 6, 0.99));
    border: 1px dashed rgba(255, 255, 255, 0.13);
    border-left: 4px solid var(--wlf-green);
    border-radius: 15px;
    text-align: center;
}

.logo-album-empty-state strong {
    display: block;
    color: var(--wlf-white);
    font-size: 1.12rem;
}

.logo-album-empty-state p {
    margin: 8px 0 0;
    font-size: 0.74rem;
}

.competition-team-selector {
    display: flex;
    align-items: end;
    gap: 12px;
    margin-bottom: 20px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.026);
    border: 1px solid rgba(255, 255, 255, 0.085);
    border-radius: 13px;
}

.competition-team-selector .auth-field {
    width: min(100%, 620px);
}

.competition-team-summary {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(420px, 0.9fr);
    align-items: center;
    gap: clamp(22px, 4vw, 55px);
    margin-bottom: clamp(28px, 4vw, 48px);
    padding: clamp(23px, 3.5vw, 38px);
    background:
        linear-gradient(145deg, rgba(18, 33, 24, 0.98), rgba(5, 9, 6, 0.99));
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-top: 3px solid var(--wlf-green);
    border-radius: 17px;
    box-shadow: 0 17px 48px rgba(0, 0, 0, 0.28);
}

.competition-team-summary h2 {
    margin: 0;
    text-transform: uppercase;
    letter-spacing: -0.04em;
    font-size: clamp(1.8rem, 3.8vw, 3.7rem);
    line-height: 0.95;
}

.competition-team-summary > div:first-child > span {
    display: block;
    margin-top: 13px;
    color: #89968d;
    font-size: 0.72rem;
}

.competition-team-summary__stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
}

.competition-team-summary__stats article {
    min-width: 0;
    padding: 15px 11px;
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(255, 255, 255, 0.075);
    border-radius: 10px;
    text-align: center;
}

.competition-team-summary__stats span,
.competition-team-summary__stats strong {
    display: block;
}

.competition-team-summary__stats span {
    color: #78857d;
    text-transform: uppercase;
    letter-spacing: 0.055em;
    font-size: 0.5rem;
    font-weight: 900;
}

.competition-team-summary__stats strong {
    margin-top: 6px;
    color: var(--wlf-white);
    font-size: clamp(1.35rem, 2vw, 2.05rem);
    line-height: 1;
}

.competition-team-admin-layout {
    display: grid;
    grid-template-columns: minmax(290px, 0.36fr) minmax(0, 0.64fr);
    align-items: start;
    gap: clamp(19px, 2.7vw, 34px);
}

.competition-team-add-panel,
.competition-team-assigned-panel {
    padding: clamp(22px, 2.8vw, 33px);
    background:
        linear-gradient(145deg, rgba(18, 33, 24, 0.98), rgba(5, 9, 6, 0.99));
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 17px;
    box-shadow: 0 17px 48px rgba(0, 0, 0, 0.28);
}

.competition-team-add-panel {
    position: sticky;
    top: calc(var(--header-height) + 20px);
}

.competition-team-add-panel header,
.competition-team-assigned-panel > header {
    margin-bottom: 22px;
}

.competition-team-add-panel h2,
.competition-team-assigned-panel h2 {
    margin: 0;
    text-transform: uppercase;
    letter-spacing: -0.035em;
    font-size: clamp(1.45rem, 2.6vw, 2.6rem);
}

.competition-team-add-panel header p:last-child,
.competition-team-assigned-panel > header p:last-child {
    margin: 10px 0 0;
    color: #8b9890;
    font-size: 0.7rem;
    line-height: 1.55;
}

.competition-team-empty {
    padding: 23px;
    color: #8e9b92;
    background: rgba(255, 255, 255, 0.025);
    border: 1px dashed rgba(255, 255, 255, 0.12);
    border-radius: 11px;
    text-align: center;
}

.competition-team-empty strong {
    display: block;
    color: #dce5df;
    font-size: 0.85rem;
}

.competition-team-empty p {
    margin: 7px 0 0;
    font-size: 0.68rem;
    line-height: 1.5;
}

.competition-team-assignment-list {
    display: grid;
    gap: 13px;
}

.competition-team-assignment-card {
    position: relative;
    padding: 18px;
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid rgba(255, 255, 255, 0.085);
    border-radius: 13px;
}

.competition-team-assignment-card__heading {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.075);
}

.competition-team-assignment-card__badge {
    display: grid;
    width: 47px;
    height: 47px;
    place-items: center;
    color: var(--wlf-black);
    background: linear-gradient(135deg, #b5e842, #72bd2b);
    border-radius: 11px;
    font-size: 0.68rem;
    font-weight: 950;
}

.competition-team-assignment-card__heading p {
    margin: 0 0 3px;
    color: var(--wlf-green);
    text-transform: uppercase;
    letter-spacing: 0.07em;
    font-size: 0.51rem;
    font-weight: 900;
}

.competition-team-assignment-card__heading h3 {
    margin: 0;
    color: var(--wlf-white);
    letter-spacing: -0.02em;
    font-size: 1.12rem;
}

.competition-team-assignment-card__heading div:nth-child(2) > span {
    display: block;
    margin-top: 4px;
    color: #7d8a82;
    font-size: 0.62rem;
}

.competition-team-status {
    display: inline-flex;
    min-height: 28px;
    align-items: center;
    padding: 0 9px;
    border-radius: 999px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-size: 0.51rem;
    font-weight: 950;
}

.competition-team-status.is-current {
    color: var(--wlf-black);
    background: var(--wlf-green);
}

.competition-team-status.is-historical {
    color: #d7e0da;
    background: rgba(255, 255, 255, 0.075);
}

.competition-team-assignment-form {
    display: grid;
    gap: 13px;
    margin-top: 15px;
}

.competition-team-assignment-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.competition-team-assignment-card__meta span {
    padding: 5px 7px;
    color: #7f8c84;
    background: rgba(255, 255, 255, 0.035);
    border-radius: 999px;
    font-size: 0.57rem;
}

.competition-team-assignment-card__meta span.is-warning {
    color: #f0df9f;
    background: rgba(216, 191, 66, 0.075);
}

.competition-team-assignment-card__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 7px;
}

.competition-team-assignment-card__actions .button {
    min-height: 39px;
}

.competition-team-assignment-card__actions a {
    display: inline-flex;
    min-height: 39px;
    align-items: center;
    justify-content: center;
    padding: 0 11px;
    color: #c8d2cc;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 7px;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.55rem;
    font-weight: 900;
}

.competition-team-remove-form {
    position: absolute;
    top: 74px;
    right: 18px;
}

.competition-team-remove-form button {
    padding: 0;
    color: #d58d8d;
    background: transparent;
    border: 0;
    cursor: pointer;
    text-decoration: underline;
    text-underline-offset: 3px;
    text-transform: uppercase;
    letter-spacing: 0.055em;
    font-size: 0.49rem;
    font-weight: 900;
}

@media (max-width: 1120px) {
    .competition-team-summary {
        grid-template-columns: 1fr;
    }

    .competition-team-admin-layout {
        grid-template-columns: 1fr;
    }

    .competition-team-add-panel {
        position: static;
    }
}

@media (max-width: 720px) {
    .logo-admin-hero__actions {
        justify-content: flex-start;
        margin-top: 20px;
    }

    .logo-owner-assignment-callout {
        align-items: flex-start;
        flex-direction: column;
    }

    .competition-team-summary__stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 520px) {
    .competition-team-selector {
        align-items: stretch;
        flex-direction: column;
    }

    .competition-team-assignment-card__heading {
        grid-template-columns: 45px minmax(0, 1fr);
    }

    .competition-team-status {
        grid-column: 1 / -1;
        justify-self: start;
    }

    .competition-team-remove-form {
        position: static;
        margin-top: 12px;
    }

    .competition-team-remove-form button {
        min-height: 34px;
    }
}


/* ------------------------------------------------------------------
   v1.8.5 Direct Competition and Team Logo Directories
------------------------------------------------------------------- */

.logo-directory-jump {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 27px;
}

.logo-directory-jump a {
    display: inline-flex;
    min-height: 46px;
    align-items: center;
    gap: 11px;
    padding: 0 15px;
    color: #dce5df;
    background: rgba(255, 255, 255, 0.045);
    border: 1px solid rgba(255, 255, 255, 0.11);
    border-radius: 10px;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.055em;
    font-size: 0.65rem;
    font-weight: 900;
}

.logo-directory-jump a:hover,
.logo-directory-jump a:focus-visible {
    color: var(--wlf-black);
    background: var(--wlf-green);
    border-color: var(--wlf-green);
    outline: none;
}

.logo-directory-jump a span {
    display: inline-grid;
    min-width: 27px;
    height: 27px;
    place-items: center;
    padding: 0 7px;
    color: var(--wlf-black);
    background: var(--wlf-green);
    border-radius: 999px;
    font-size: 0.58rem;
}

.logo-directory-jump a:hover span,
.logo-directory-jump a:focus-visible span {
    color: var(--wlf-white);
    background: var(--wlf-ink);
}

.logo-album-section--directory-teams {
    position: relative;
    border-top: 1px solid rgba(255, 255, 255, 0.085);
    background:
        radial-gradient(circle at 13% 8%, rgba(155, 214, 47, 0.055), transparent 27rem),
        rgba(255, 255, 255, 0.012);
}

#competition-logo-directory,
#team-logo-directory {
    scroll-margin-top: calc(var(--header-height) + 28px);
}

@media (max-width: 520px) {
    .logo-directory-jump {
        display: grid;
        grid-template-columns: 1fr;
    }

    .logo-directory-jump a {
        justify-content: space-between;
    }
}


/* ------------------------------------------------------------------
   v1.8.6 Setup Key Diagnostics
------------------------------------------------------------------- */

.setup-key-diagnostic {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin: 18px 0;
}

.setup-key-diagnostic > div {
    padding: 14px 15px;
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(255, 255, 255, 0.085);
    border-radius: 9px;
}

.setup-key-diagnostic span,
.setup-key-diagnostic strong {
    display: block;
}

.setup-key-diagnostic span {
    color: #7f8d84;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-size: 0.56rem;
    font-weight: 900;
}

.setup-key-diagnostic strong {
    margin-top: 6px;
    color: var(--wlf-white);
    font-size: 0.86rem;
}

.setup-key-unlock-form {
    margin-top: 20px;
    padding: 20px;
    background: rgba(155, 214, 47, 0.04);
    border: 1px solid rgba(155, 214, 47, 0.15);
    border-left: 4px solid var(--wlf-green);
    border-radius: 11px;
}

.setup-key-instructions {
    margin-top: 20px;
    padding: 20px;
    color: #a8b4ac;
    background: rgba(255, 255, 255, 0.028);
    border: 1px solid rgba(255, 255, 255, 0.085);
    border-left: 4px solid var(--wlf-gold);
    border-radius: 11px;
    font-size: 0.74rem;
    line-height: 1.6;
}

.setup-key-instructions p {
    margin: 0;
}

.setup-key-instructions p + p {
    margin-top: 13px;
}

.setup-key-instructions pre {
    margin: 14px 0;
    padding: 13px;
    overflow-x: auto;
    background: #020503;
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 8px;
}

.setup-key-instructions code {
    color: var(--wlf-green);
    font-size: 0.72rem;
}

@media (max-width: 560px) {
    .setup-key-diagnostic {
        grid-template-columns: 1fr;
    }
}


/* ------------------------------------------------------------------
   v1.9.0 Team Management
------------------------------------------------------------------- */

.team-admin-page {
    background:
        radial-gradient(circle at 84% 3%, rgba(155, 214, 47, 0.12), transparent 35rem),
        linear-gradient(180deg, #07110b 0%, #020403 100%);
}

.team-admin-hero {
    position: relative;
    overflow: hidden;
    padding: clamp(116px, 11vw, 158px) var(--page-padding) clamp(54px, 7vw, 88px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    isolation: isolate;
}

.team-admin-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -2;
    background:
        linear-gradient(90deg, rgba(2, 5, 3, 0.98), rgba(8, 19, 12, 0.74)),
        repeating-linear-gradient(
            135deg,
            transparent 0 42px,
            rgba(255, 255, 255, 0.016) 42px 43px
        );
}

.team-admin-hero::after {
    content: "TM";
    position: absolute;
    right: -0.05em;
    bottom: -0.29em;
    z-index: -1;
    color: rgba(155, 214, 47, 0.035);
    letter-spacing: -0.08em;
    font-size: clamp(14rem, 31vw, 34rem);
    font-weight: 950;
    line-height: 0.7;
}

.team-admin-hero__inner,
.team-admin-content__inner {
    width: min(100%, var(--content-width));
    margin-inline: auto;
}

.team-admin-content__inner--wide {
    width: min(100%, 1760px);
}

.team-admin-hero__title {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 28px;
}

.team-admin-hero h1 {
    margin: 0;
    text-transform: uppercase;
    letter-spacing: -0.05em;
    line-height: 0.9;
    font-size: clamp(3rem, 7vw, 6.5rem);
}

.team-admin-hero__title > div:first-child > p:last-child {
    max-width: 730px;
    margin: 21px 0 0;
    color: var(--wlf-muted);
}

.team-admin-hero__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 9px;
}

.team-admin-content {
    padding: clamp(48px, 7vw, 92px) var(--page-padding) clamp(78px, 9vw, 126px);
}

.team-admin-stat-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(12px, 1.8vw, 22px);
    margin-bottom: 28px;
}

.team-admin-stat-grid article {
    padding: clamp(20px, 2.5vw, 30px);
    background:
        linear-gradient(145deg, rgba(18, 33, 24, 0.98), rgba(5, 9, 6, 0.99));
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-top: 3px solid var(--wlf-green);
    border-radius: 15px;
    box-shadow: 0 17px 45px rgba(0, 0, 0, 0.28);
}

.team-admin-stat-grid span,
.team-admin-stat-grid strong {
    display: block;
}

.team-admin-stat-grid span {
    color: #829087;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    font-size: 0.58rem;
    font-weight: 900;
}

.team-admin-stat-grid strong {
    margin-top: 8px;
    color: var(--wlf-white);
    letter-spacing: -0.045em;
    font-size: clamp(1.9rem, 3.7vw, 3.5rem);
    line-height: 0.95;
}

.team-admin-toolbar {
    display: grid;
    grid-template-columns: minmax(260px, 1fr) minmax(180px, 0.35fr) auto;
    align-items: end;
    gap: 12px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid rgba(255, 255, 255, 0.085);
    border-radius: 13px;
}

.team-admin-toolbar .button {
    min-height: 49px;
}

.team-admin-list-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin: 14px 0 20px;
    color: #829087;
    font-size: 0.68rem;
}

.team-admin-list-summary span {
    color: var(--wlf-green);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: 900;
}

.team-admin-list-summary a {
    color: #cbd6cf;
    text-decoration: none;
    font-weight: 850;
}

.team-admin-table-wrap {
    overflow-x: auto;
    background:
        linear-gradient(145deg, rgba(18, 33, 24, 0.98), rgba(5, 9, 6, 0.99));
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    box-shadow: 0 18px 52px rgba(0, 0, 0, 0.28);
}

.team-admin-table {
    width: 100%;
    min-width: 1180px;
    border-collapse: collapse;
}

.team-admin-table th,
.team-admin-table td {
    padding: 14px 15px;
    text-align: left;
    vertical-align: middle;
    border-bottom: 1px solid rgba(255, 255, 255, 0.075);
}

.team-admin-table th {
    color: #829087;
    background: rgba(255, 255, 255, 0.025);
    text-transform: uppercase;
    letter-spacing: 0.07em;
    font-size: 0.56rem;
    font-weight: 900;
}

.team-admin-table td {
    color: #cbd4ce;
    font-size: 0.69rem;
}

.team-admin-table td strong,
.team-admin-table td span,
.team-admin-table td small {
    display: block;
}

.team-admin-table td strong {
    color: var(--wlf-white);
    font-size: 0.8rem;
}

.team-admin-table td > span {
    margin-top: 3px;
    color: #95a299;
}

.team-admin-table td small {
    margin-top: 4px;
    color: #6e7b73;
    line-height: 1.45;
}

.team-source-id-list {
    display: flex;
    min-width: 150px;
    flex-wrap: wrap;
    gap: 4px;
}

.team-source-id-list span {
    display: inline-flex !important;
    padding: 4px 6px;
    color: #9caaa1 !important;
    background: rgba(255, 255, 255, 0.035);
    border-radius: 999px;
    font-size: 0.52rem;
}

.team-status-badge {
    display: inline-flex !important;
    min-height: 28px;
    align-items: center;
    padding: 0 9px;
    border-radius: 999px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-size: 0.52rem;
    font-weight: 950;
}

.team-status-badge.is-active {
    color: var(--wlf-black);
    background: var(--wlf-green);
}

.team-status-badge.is-inactive {
    color: #d4ddd7;
    background: rgba(255, 255, 255, 0.075);
}

.team-admin-row-actions {
    display: flex;
    min-width: 180px;
    flex-wrap: wrap;
    gap: 6px;
}

.team-admin-row-actions a,
.team-admin-row-actions button {
    display: inline-flex;
    min-height: 34px;
    align-items: center;
    justify-content: center;
    padding: 0 9px;
    color: #dce5df;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.095);
    border-radius: 7px;
    cursor: pointer;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.52rem;
    font-weight: 900;
}

.team-admin-row-actions button {
    color: #efcaca;
    background: rgba(202, 73, 73, 0.07);
    border-color: rgba(202, 73, 73, 0.18);
}

.team-admin-empty {
    margin-top: 18px;
    padding: 34px;
    color: #8d9991;
    background: rgba(255, 255, 255, 0.025);
    border: 1px dashed rgba(255, 255, 255, 0.12);
    border-left: 4px solid var(--wlf-green);
    border-radius: 13px;
    text-align: center;
}

.team-admin-empty strong {
    display: block;
    color: var(--wlf-white);
    font-size: 1rem;
}

.team-admin-empty p {
    margin: 7px 0 0;
    font-size: 0.7rem;
}

/* Team edit */
.team-edit-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.42fr) minmax(300px, 0.58fr);
    align-items: start;
    gap: clamp(20px, 3vw, 38px);
}

.team-edit-form {
    display: grid;
    gap: 20px;
}

.team-edit-section,
.team-edit-sidebar-card {
    padding: clamp(23px, 3vw, 35px);
    background:
        linear-gradient(145deg, rgba(18, 33, 24, 0.98), rgba(5, 9, 6, 0.99));
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 17px;
    box-shadow: 0 17px 48px rgba(0, 0, 0, 0.28);
}

.team-edit-section {
    display: grid;
    gap: 17px;
}

.team-edit-section h2,
.team-edit-sidebar-card h2 {
    margin: -1px 0 6px;
    text-transform: uppercase;
    letter-spacing: -0.03em;
    font-size: clamp(1.45rem, 2.5vw, 2.5rem);
}

.team-source-id-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.team-edit-note,
.team-delete-safety-note {
    padding: 13px 14px;
    color: #9ba89f;
    background: rgba(255, 255, 255, 0.027);
    border: 1px solid rgba(255, 255, 255, 0.075);
    border-left: 3px solid var(--wlf-green);
    border-radius: 9px;
    font-size: 0.67rem;
    line-height: 1.55;
}

.team-delete-safety-note {
    margin-top: 17px;
    color: #e3d7a8;
    border-left-color: var(--wlf-gold);
}

.team-edit-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
}

.team-edit-sidebar {
    position: sticky;
    top: calc(var(--header-height) + 20px);
    display: grid;
    gap: 18px;
}

.team-edit-sidebar-card dl {
    display: grid;
    margin: 17px 0 0;
}

.team-edit-sidebar-card dl > div {
    display: grid;
    grid-template-columns: minmax(110px, 0.8fr) minmax(0, 1fr);
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.075);
}

.team-edit-sidebar-card dt {
    color: #79867e;
    text-transform: uppercase;
    letter-spacing: 0.055em;
    font-size: 0.55rem;
    font-weight: 900;
}

.team-edit-sidebar-card dd {
    margin: 0;
    color: #d6ded8;
    text-align: right;
    font-size: 0.68rem;
}

.team-edit-sidebar-card > p:not(.logo-sidebar-kicker) {
    color: #8b9890;
    font-size: 0.72rem;
    line-height: 1.55;
}

.team-membership-list {
    display: grid;
    gap: 8px;
    margin: 17px 0;
}

.team-membership-list article {
    padding: 11px 12px;
    background: rgba(255, 255, 255, 0.028);
    border: 1px solid rgba(255, 255, 255, 0.075);
    border-radius: 9px;
}

.team-membership-list strong,
.team-membership-list span {
    display: block;
}

.team-membership-list strong {
    color: #dfe7e2;
    font-size: 0.72rem;
}

.team-membership-list span {
    margin-top: 4px;
    color: #7f8c84;
    font-size: 0.62rem;
}

.team-sidebar-empty {
    margin: 14px 0 18px;
    color: #7f8c84;
    font-size: 0.7rem;
}

/* Team import */
.team-import-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.55fr);
    align-items: start;
    gap: clamp(20px, 3vw, 38px);
}

.team-import-upload,
.team-import-guidance,
.team-import-preview,
.team-import-result {
    padding: clamp(24px, 3.2vw, 38px);
    background:
        linear-gradient(145deg, rgba(18, 33, 24, 0.98), rgba(5, 9, 6, 0.99));
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 17px;
    box-shadow: 0 17px 48px rgba(0, 0, 0, 0.28);
}

.team-import-upload {
    display: grid;
    gap: 18px;
}

.team-import-upload h2,
.team-import-guidance h2,
.team-import-preview h2,
.team-import-result h2 {
    margin: 0;
    text-transform: uppercase;
    letter-spacing: -0.035em;
    font-size: clamp(1.6rem, 3vw, 3rem);
}

.team-import-upload > p:not(.logo-sidebar-kicker),
.team-import-guidance > p:not(.logo-sidebar-kicker),
.team-import-preview header p,
.team-import-result > p {
    color: #8b9890;
    font-size: 0.72rem;
    line-height: 1.55;
}

.team-import-heading-list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 18px 0;
}

.team-import-heading-list code {
    padding: 6px 8px;
    color: var(--wlf-green);
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(255, 255, 255, 0.075);
    border-radius: 6px;
    font-size: 0.6rem;
}

.team-import-guidance ul {
    margin: 18px 0 0;
    padding-left: 19px;
    color: #98a59c;
    font-size: 0.68rem;
    line-height: 1.65;
}

.team-import-preview header {
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 20px;
}

.team-import-preview header > span {
    color: var(--wlf-green);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-size: 0.62rem;
    font-weight: 900;
}

.team-import-preview-table {
    overflow-x: auto;
    background: #030704;
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 12px;
}

.team-import-preview-table table {
    width: 100%;
    min-width: 2300px;
    border-collapse: collapse;
}

.team-import-preview-table th,
.team-import-preview-table td {
    padding: 10px 11px;
    text-align: left;
    white-space: nowrap;
    border-right: 1px solid rgba(255, 255, 255, 0.065);
    border-bottom: 1px solid rgba(255, 255, 255, 0.065);
}

.team-import-preview-table th {
    color: #86938b;
    background: rgba(255, 255, 255, 0.035);
    text-transform: uppercase;
    letter-spacing: 0.055em;
    font-size: 0.53rem;
}

.team-import-preview-table td {
    color: #cbd5cf;
    font-size: 0.63rem;
}

.team-import-preview__note {
    margin: 12px 0 0;
    color: #78857d;
    font-size: 0.64rem;
}

.team-import-rules {
    margin-top: 20px;
    padding: 16px;
    background: rgba(155, 214, 47, 0.045);
    border: 1px solid rgba(155, 214, 47, 0.14);
    border-left: 4px solid var(--wlf-green);
    border-radius: 10px;
}

.team-import-rules h3 {
    margin: 0;
    color: var(--wlf-white);
    font-size: 0.9rem;
}

.team-import-rules p {
    margin: 7px 0 0;
    color: #95a299;
    font-size: 0.66rem;
    line-height: 1.55;
}

.team-import-preview__actions,
.team-import-result__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 21px;
}

.team-import-count-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    margin-top: 24px;
}

.team-import-count {
    padding: 18px;
    background: rgba(255, 255, 255, 0.028);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-top: 3px solid #7c897f;
    border-radius: 11px;
}

.team-import-count--added {
    border-top-color: var(--wlf-green);
}

.team-import-count--updated {
    border-top-color: #51b9d0;
}

.team-import-count--failed {
    border-top-color: #d85d5d;
}

.team-import-count span,
.team-import-count strong {
    display: block;
}

.team-import-count span {
    color: #7f8c84;
    text-transform: uppercase;
    letter-spacing: 0.055em;
    font-size: 0.54rem;
    font-weight: 900;
}

.team-import-count strong {
    margin-top: 6px;
    color: var(--wlf-white);
    font-size: 2rem;
}

.team-import-failures {
    margin-top: 24px;
}

.team-import-failures h3 {
    margin: 0 0 12px;
    color: var(--wlf-white);
}

/* Mass Smart Editor */
.team-mass-edit-content {
    padding-left: clamp(10px, 2vw, 28px);
    padding-right: clamp(10px, 2vw, 28px);
}

.team-mass-editor-status-bar,
.team-mass-editor-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 14px;
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.026);
    border: 1px solid rgba(255, 255, 255, 0.085);
    border-radius: 12px;
}

.team-mass-editor-summary {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
}

.team-mass-editor-summary span {
    padding: 6px 9px;
    color: #8c9991;
    background: rgba(255, 255, 255, 0.035);
    border-radius: 999px;
    font-size: 0.62rem;
}

.team-mass-editor-summary strong {
    color: var(--wlf-white);
}

.team-mass-editor-save-state {
    color: #9eaba3;
    font-size: 0.66rem;
    font-weight: 850;
}

.team-mass-editor-save-state[data-state="saving"] {
    color: var(--wlf-gold);
}

.team-mass-editor-save-state[data-state="saved"] {
    color: var(--wlf-green);
}

.team-mass-editor-save-state[data-state="error"] {
    color: #e68c8c;
}

.team-mass-editor-toolbar {
    display: grid;
    grid-template-columns: minmax(260px, 1fr) minmax(180px, 0.3fr) auto;
    align-items: end;
}

.team-mass-editor-visible-count {
    align-self: center;
    color: #87948c;
    text-transform: uppercase;
    letter-spacing: 0.055em;
    font-size: 0.57rem;
    font-weight: 900;
}

.team-mass-editor-visible-count strong {
    color: var(--wlf-green);
}

.team-mass-editor-help {
    margin-bottom: 14px;
    padding: 12px 14px;
    color: #8e9b92;
    background: rgba(155, 214, 47, 0.04);
    border: 1px solid rgba(155, 214, 47, 0.12);
    border-left: 4px solid var(--wlf-green);
    border-radius: 9px;
    font-size: 0.65rem;
    line-height: 1.55;
}

.team-mass-editor-help strong {
    color: var(--wlf-white);
}

.team-mass-table-wrap {
    max-height: calc(100vh - 210px);
    overflow: auto;
    background: #030704;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 13px;
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
}

.team-mass-table {
    width: max-content;
    min-width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}

.team-mass-table th,
.team-mass-table td {
    min-width: 132px;
    padding: 6px;
    background: #07100a;
    border-right: 1px solid rgba(255, 255, 255, 0.065);
    border-bottom: 1px solid rgba(255, 255, 255, 0.065);
}

.team-mass-table th {
    position: sticky;
    top: 0;
    z-index: 4;
    color: #829087;
    background: #0c1710;
    text-align: left;
    text-transform: uppercase;
    letter-spacing: 0.055em;
    font-size: 0.52rem;
    font-weight: 900;
}

.team-mass-table th.is-sticky,
.team-mass-table td.is-sticky {
    left: 0;
    z-index: 5;
    min-width: 76px;
    max-width: 76px;
    background: #0c1710;
}

.team-mass-table td.is-sticky a {
    color: var(--wlf-green);
    text-decoration: none;
    font-size: 0.67rem;
    font-weight: 900;
}

.team-mass-table input,
.team-mass-table select {
    width: 100%;
    min-width: 118px;
    min-height: 36px;
    padding: 0 8px;
    color: #dfe7e2;
    background: #040805;
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 6px;
    font: inherit;
    font-size: 0.62rem;
}

.team-mass-table input:focus,
.team-mass-table select:focus {
    border-color: var(--wlf-green);
    outline: 2px solid rgba(155, 214, 47, 0.15);
}

.team-mass-table td[data-state="pending"] input,
.team-mass-table td[data-state="pending"] select {
    border-color: rgba(216, 191, 66, 0.6);
}

.team-mass-table td[data-state="saving"] input,
.team-mass-table td[data-state="saving"] select {
    border-color: #51b9d0;
}

.team-mass-table td[data-state="saved"] input,
.team-mass-table td[data-state="saved"] select {
    border-color: var(--wlf-green);
}

.team-mass-table td[data-state="error"] input,
.team-mass-table td[data-state="error"] select {
    border-color: #d85d5d;
}

.team-smart-cell-state {
    display: block;
    min-height: 12px;
    margin-top: 3px;
    color: #748178;
    font-size: 0.48rem;
}

.team-mass-table td[data-state="error"] .team-smart-cell-state {
    color: #e68c8c;
}

.team-mass-readonly {
    min-width: 150px !important;
    color: #78857d;
    font-size: 0.57rem;
    white-space: nowrap;
}

@media (max-width: 1100px) {
    .team-admin-stat-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .team-edit-layout,
    .team-import-layout {
        grid-template-columns: 1fr;
    }

    .team-edit-sidebar {
        position: static;
    }
}

@media (max-width: 800px) {
    .team-admin-hero__title {
        display: block;
    }

    .team-admin-hero__actions {
        justify-content: flex-start;
        margin-top: 22px;
    }

    .team-admin-toolbar,
    .team-mass-editor-toolbar {
        grid-template-columns: 1fr;
    }

    .team-source-id-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .team-mass-editor-status-bar {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 560px) {
    .team-admin-hero {
        padding-top: 112px;
    }

    .team-admin-stat-grid,
    .team-import-count-grid,
    .team-source-id-grid {
        grid-template-columns: 1fr;
    }

    .team-admin-list-summary {
        align-items: flex-start;
        flex-direction: column;
    }

    .team-edit-section,
    .team-edit-sidebar-card,
    .team-import-upload,
    .team-import-guidance,
    .team-import-preview,
    .team-import-result {
        padding-inline: 19px;
    }
}


/* ------------------------------------------------------------------
   v1.10.0 Player Management
------------------------------------------------------------------- */

.player-admin-page {
    background:
        radial-gradient(circle at 84% 3%, rgba(155, 214, 47, 0.12), transparent 35rem),
        linear-gradient(180deg, #07110b 0%, #020403 100%);
}

.player-admin-hero {
    position: relative;
    overflow: hidden;
    padding: clamp(116px, 11vw, 158px) var(--page-padding) clamp(54px, 7vw, 88px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    isolation: isolate;
}

.player-admin-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -2;
    background:
        linear-gradient(90deg, rgba(2, 5, 3, 0.98), rgba(8, 19, 12, 0.74)),
        repeating-linear-gradient(
            135deg,
            transparent 0 42px,
            rgba(255, 255, 255, 0.016) 42px 43px
        );
}

.player-admin-hero::after {
    content: "PL";
    position: absolute;
    right: -0.05em;
    bottom: -0.29em;
    z-index: -1;
    color: rgba(155, 214, 47, 0.035);
    letter-spacing: -0.08em;
    font-size: clamp(14rem, 31vw, 34rem);
    font-weight: 950;
    line-height: 0.7;
}

.player-admin-hero__inner,
.player-admin-content__inner {
    width: min(100%, var(--content-width));
    margin-inline: auto;
}

.player-admin-content__inner--wide {
    width: min(100%, 1820px);
}

.player-admin-hero__title {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 28px;
}

.player-admin-hero h1 {
    margin: 0;
    text-transform: uppercase;
    letter-spacing: -0.05em;
    line-height: 0.9;
    font-size: clamp(3rem, 7vw, 6.5rem);
}

.player-admin-hero__title > div:first-child > p:last-child {
    max-width: 760px;
    margin: 21px 0 0;
    color: var(--wlf-muted);
}

.player-admin-hero__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 9px;
}

.player-admin-content {
    padding: clamp(48px, 7vw, 92px) var(--page-padding) clamp(78px, 9vw, 126px);
}

.player-admin-stat-grid,
.player-mass-summary-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(12px, 1.8vw, 22px);
    margin-bottom: 28px;
}

.player-admin-stat-grid article,
.player-mass-summary-grid article {
    padding: clamp(20px, 2.5vw, 30px);
    background:
        linear-gradient(145deg, rgba(18, 33, 24, 0.98), rgba(5, 9, 6, 0.99));
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-top: 3px solid var(--wlf-green);
    border-radius: 15px;
    box-shadow: 0 17px 45px rgba(0, 0, 0, 0.28);
}

.player-admin-stat-grid span,
.player-admin-stat-grid strong,
.player-mass-summary-grid span,
.player-mass-summary-grid strong {
    display: block;
}

.player-admin-stat-grid span,
.player-mass-summary-grid span {
    color: #829087;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    font-size: 0.58rem;
    font-weight: 900;
}

.player-admin-stat-grid strong,
.player-mass-summary-grid strong {
    margin-top: 8px;
    color: var(--wlf-white);
    letter-spacing: -0.045em;
    font-size: clamp(1.9rem, 3.7vw, 3.5rem);
    line-height: 0.95;
}

.player-admin-toolbar {
    display: grid;
    grid-template-columns: minmax(280px, 1fr) minmax(180px, 0.35fr) minmax(160px, 0.25fr) auto;
    align-items: end;
    gap: 12px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid rgba(255, 255, 255, 0.085);
    border-radius: 13px;
}

.player-admin-toolbar .button {
    min-height: 49px;
}

.player-admin-list-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin: 14px 0 20px;
    color: #829087;
    font-size: 0.68rem;
}

.player-admin-list-summary span {
    color: var(--wlf-green);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: 900;
}

.player-admin-list-summary a {
    color: #cbd6cf;
    text-decoration: none;
    font-weight: 850;
}

.player-admin-table-wrap {
    overflow-x: auto;
    background:
        linear-gradient(145deg, rgba(18, 33, 24, 0.98), rgba(5, 9, 6, 0.99));
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    box-shadow: 0 18px 52px rgba(0, 0, 0, 0.28);
}

.player-admin-table {
    width: 100%;
    min-width: 1180px;
    border-collapse: collapse;
}

.player-admin-table th,
.player-admin-table td {
    padding: 14px 15px;
    text-align: left;
    vertical-align: middle;
    border-bottom: 1px solid rgba(255, 255, 255, 0.075);
}

.player-admin-table th {
    color: #829087;
    background: rgba(255, 255, 255, 0.025);
    text-transform: uppercase;
    letter-spacing: 0.07em;
    font-size: 0.56rem;
    font-weight: 900;
}

.player-admin-table td {
    color: #cbd4ce;
    font-size: 0.69rem;
}

.player-admin-table td strong,
.player-admin-table td span,
.player-admin-table td small {
    display: block;
}

.player-admin-table td strong {
    color: var(--wlf-white);
    font-size: 0.8rem;
}

.player-admin-table td > small {
    margin-top: 4px;
    color: #6e7b73;
    line-height: 1.45;
}

.player-admin-identity {
    display: grid;
    min-width: 240px;
    grid-template-columns: 52px minmax(0, 1fr);
    align-items: center;
    gap: 12px;
}

.player-admin-avatar {
    overflow: hidden;
    width: 50px;
    height: 62px;
    background: #dce3de;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 9px;
}

.player-admin-avatar img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.player-admin-identity span {
    margin-top: 3px;
    color: #95a299;
}

.player-admin-identity small {
    color: #6f7c74;
}

.player-source-id-list {
    display: flex;
    min-width: 155px;
    flex-wrap: wrap;
    gap: 4px;
}

.player-source-id-list span {
    display: inline-flex !important;
    padding: 4px 6px;
    color: #9caaa1 !important;
    background: rgba(255, 255, 255, 0.035);
    border-radius: 999px;
    font-size: 0.52rem;
}

.player-status-badge {
    display: inline-flex !important;
    min-height: 28px;
    align-items: center;
    padding: 0 9px;
    border-radius: 999px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-size: 0.52rem;
    font-weight: 950;
}

.player-status-badge.is-active {
    color: var(--wlf-black);
    background: var(--wlf-green);
}

.player-status-badge.is-inactive {
    color: #d4ddd7;
    background: rgba(255, 255, 255, 0.075);
}

.player-admin-row-actions {
    display: flex;
    min-width: 180px;
    flex-wrap: wrap;
    gap: 6px;
}

.player-admin-row-actions a,
.player-admin-row-actions button {
    display: inline-flex;
    min-height: 34px;
    align-items: center;
    justify-content: center;
    padding: 0 9px;
    color: #dce5df;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.095);
    border-radius: 7px;
    cursor: pointer;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.52rem;
    font-weight: 900;
}

.player-admin-row-actions button {
    color: #efcaca;
    background: rgba(202, 73, 73, 0.07);
    border-color: rgba(202, 73, 73, 0.18);
}

.player-admin-empty,
.player-admin-setup {
    margin-top: 18px;
    padding: clamp(30px, 4vw, 48px);
    color: #8d9991;
    background:
        linear-gradient(145deg, rgba(18, 33, 24, 0.98), rgba(5, 9, 6, 0.99));
    border: 1px dashed rgba(255, 255, 255, 0.12);
    border-left: 4px solid var(--wlf-green);
    border-radius: 14px;
    text-align: center;
}

.player-admin-empty strong,
.player-admin-setup h2 {
    display: block;
    margin: 0;
    color: var(--wlf-white);
    font-size: clamp(1.3rem, 2.6vw, 2.5rem);
}

.player-admin-empty p,
.player-admin-setup p {
    margin: 8px 0 18px;
    font-size: 0.72rem;
}

.player-admin-setup code {
    color: var(--wlf-green);
}

/* Player edit */
.player-edit-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.42fr) minmax(310px, 0.58fr);
    align-items: start;
    gap: clamp(20px, 3vw, 38px);
}

.player-edit-form {
    display: grid;
    gap: 20px;
}

.player-edit-section,
.player-edit-sidebar-card {
    padding: clamp(23px, 3vw, 35px);
    background:
        linear-gradient(145deg, rgba(18, 33, 24, 0.98), rgba(5, 9, 6, 0.99));
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 17px;
    box-shadow: 0 17px 48px rgba(0, 0, 0, 0.28);
}

.player-edit-section {
    display: grid;
    gap: 17px;
}

.player-edit-section h2,
.player-edit-sidebar-card h2 {
    margin: -1px 0 6px;
    text-transform: uppercase;
    letter-spacing: -0.03em;
    font-size: clamp(1.45rem, 2.5vw, 2.5rem);
}

.player-source-id-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.player-edit-note,
.player-delete-safety-note {
    padding: 13px 14px;
    color: #9ba89f;
    background: rgba(255, 255, 255, 0.027);
    border: 1px solid rgba(255, 255, 255, 0.075);
    border-left: 3px solid var(--wlf-green);
    border-radius: 9px;
    font-size: 0.67rem;
    line-height: 1.55;
}

.player-delete-safety-note {
    margin-top: 17px;
    color: #e3d7a8;
    border-left-color: var(--wlf-gold);
}

.player-image-storage-note {
    display: grid;
    gap: 6px;
    padding: 13px;
    background: rgba(255, 255, 255, 0.027);
    border: 1px solid rgba(255, 255, 255, 0.075);
    border-radius: 9px;
}

.player-image-storage-note span {
    color: #849188;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-size: 0.58rem;
    font-weight: 900;
}

.player-image-storage-note code {
    color: var(--wlf-green);
    overflow-wrap: anywhere;
}

.player-edit-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
}

.player-edit-sidebar {
    position: sticky;
    top: calc(var(--header-height) + 20px);
    display: grid;
    gap: 18px;
}

.player-edit-image-preview {
    display: grid;
    min-height: 390px;
    place-items: end center;
    margin-top: 18px;
    overflow: hidden;
    background:
        radial-gradient(circle at 50% 35%, rgba(155, 214, 47, 0.13), transparent 58%),
        linear-gradient(180deg, #e5ebe7, #bdc7c0);
    border-radius: 13px;
}

.player-edit-image-preview img {
    display: block;
    width: 100%;
    height: 390px;
    object-fit: contain;
    object-position: center bottom;
}

.player-edit-sidebar-card dl {
    display: grid;
    margin: 17px 0 0;
}

.player-edit-sidebar-card dl > div {
    display: grid;
    grid-template-columns: minmax(105px, 0.8fr) minmax(0, 1fr);
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.075);
}

.player-edit-sidebar-card dt {
    color: #79867e;
    text-transform: uppercase;
    letter-spacing: 0.055em;
    font-size: 0.55rem;
    font-weight: 900;
}

.player-edit-sidebar-card dd {
    margin: 0;
    color: #d6ded8;
    text-align: right;
    overflow-wrap: anywhere;
    font-size: 0.68rem;
}

.player-image-remove-button {
    width: 100%;
    min-height: 40px;
    margin-top: 16px;
    color: #efcaca;
    background: rgba(202, 73, 73, 0.07);
    border: 1px solid rgba(202, 73, 73, 0.18);
    border-radius: 8px;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.055em;
    font-size: 0.57rem;
    font-weight: 900;
}

/* Player importer */
.player-import-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(330px, 0.55fr);
    align-items: start;
    gap: clamp(20px, 3vw, 38px);
}

.player-import-upload,
.player-import-guidance,
.player-import-preview,
.player-import-result {
    padding: clamp(24px, 3.2vw, 38px);
    background:
        linear-gradient(145deg, rgba(18, 33, 24, 0.98), rgba(5, 9, 6, 0.99));
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 17px;
    box-shadow: 0 17px 48px rgba(0, 0, 0, 0.28);
}

.player-import-upload {
    display: grid;
    gap: 18px;
}

.player-import-upload h2,
.player-import-guidance h2,
.player-import-preview h2,
.player-import-result h2 {
    margin: 0;
    text-transform: uppercase;
    letter-spacing: -0.035em;
    font-size: clamp(1.6rem, 3vw, 3rem);
}

.player-import-upload > p:not(.logo-sidebar-kicker),
.player-import-guidance > p:not(.logo-sidebar-kicker),
.player-import-preview header p,
.player-import-result > p {
    color: #8b9890;
    font-size: 0.72rem;
    line-height: 1.55;
}

.player-import-heading-list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 18px 0;
}

.player-import-heading-list code {
    padding: 6px 8px;
    color: var(--wlf-green);
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(255, 255, 255, 0.075);
    border-radius: 6px;
    font-size: 0.6rem;
}

.player-import-guidance ul {
    margin: 18px 0 0;
    padding-left: 19px;
    color: #98a59c;
    font-size: 0.68rem;
    line-height: 1.65;
}

.player-import-preview header {
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 20px;
}

.player-import-preview header > span {
    color: var(--wlf-green);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-size: 0.62rem;
    font-weight: 900;
}

.player-import-preview-table {
    overflow-x: auto;
    background: #030704;
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 12px;
}

.player-import-preview-table table {
    width: 100%;
    min-width: 2200px;
    border-collapse: collapse;
}

.player-import-preview-table th,
.player-import-preview-table td {
    padding: 10px 11px;
    text-align: left;
    white-space: nowrap;
    border-right: 1px solid rgba(255, 255, 255, 0.065);
    border-bottom: 1px solid rgba(255, 255, 255, 0.065);
}

.player-import-preview-table th {
    color: #86938b;
    background: rgba(255, 255, 255, 0.035);
    text-transform: uppercase;
    letter-spacing: 0.055em;
    font-size: 0.53rem;
}

.player-import-preview-table td {
    color: #cbd5cf;
    font-size: 0.63rem;
}

.player-import-rules {
    margin-top: 20px;
    padding: 16px;
    background: rgba(155, 214, 47, 0.045);
    border: 1px solid rgba(155, 214, 47, 0.14);
    border-left: 4px solid var(--wlf-green);
    border-radius: 10px;
}

.player-import-rules h3 {
    margin: 0;
    color: var(--wlf-white);
    font-size: 0.9rem;
}

.player-import-rules p {
    margin: 7px 0 0;
    color: #95a299;
    font-size: 0.66rem;
    line-height: 1.55;
}

.player-import-preview__actions,
.player-import-result__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 21px;
}

.player-import-progress {
    margin-top: 22px;
    padding: 18px;
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid rgba(255, 255, 255, 0.085);
    border-radius: 12px;
}

.player-import-progress[data-state="error"] {
    border-color: rgba(216, 93, 93, 0.45);
}

.player-import-progress[data-state="complete"] {
    border-color: rgba(155, 214, 47, 0.45);
}

.player-import-progress__heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    color: #d9e2dc;
    font-size: 0.72rem;
}

.player-import-progress__heading span {
    color: var(--wlf-green);
    font-weight: 900;
}

.player-import-progress__track {
    height: 8px;
    margin: 12px 0 18px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.065);
    border-radius: 999px;
}

.player-import-progress__track span {
    display: block;
    width: 0;
    height: 100%;
    background: linear-gradient(90deg, #77bd2f, #b0e842);
    border-radius: inherit;
    transition: width 180ms ease;
}

.player-import-count-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    margin-top: 22px;
}

.player-import-count {
    padding: 18px;
    background: rgba(255, 255, 255, 0.028);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-top: 3px solid #7c897f;
    border-radius: 11px;
}

.player-import-count--added {
    border-top-color: var(--wlf-green);
}

.player-import-count--updated {
    border-top-color: #51b9d0;
}

.player-import-count--failed {
    border-top-color: #d85d5d;
}

.player-import-count span,
.player-import-count strong {
    display: block;
}

.player-import-count span {
    color: #7f8c84;
    text-transform: uppercase;
    letter-spacing: 0.055em;
    font-size: 0.54rem;
    font-weight: 900;
}

.player-import-count strong {
    margin-top: 6px;
    color: var(--wlf-white);
    font-size: 2rem;
}

.player-import-failures,
.player-import-live-errors {
    margin-top: 24px;
}

.player-import-failures h3,
.player-import-live-errors h3 {
    margin: 0 0 12px;
    color: var(--wlf-white);
}

.player-import-live-errors [data-import-error-list] {
    display: grid;
    gap: 7px;
}

.player-import-live-errors [data-import-error-list] > div {
    padding: 10px 11px;
    background: rgba(216, 93, 93, 0.06);
    border: 1px solid rgba(216, 93, 93, 0.18);
    border-radius: 8px;
}

.player-import-live-errors strong,
.player-import-live-errors span {
    display: block;
}

.player-import-live-errors strong {
    color: #efd0d0;
    font-size: 0.64rem;
}

.player-import-live-errors span {
    margin-top: 3px;
    color: #a99494;
    font-size: 0.6rem;
}

/* Chunked Player Mass Smart Editor */
.player-mass-edit-content {
    padding-left: clamp(10px, 2vw, 28px);
    padding-right: clamp(10px, 2vw, 28px);
}

.player-mass-load-status,
.player-mass-toolbar,
.player-mass-help {
    margin-bottom: 14px;
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.026);
    border: 1px solid rgba(255, 255, 255, 0.085);
    border-radius: 12px;
}

.player-mass-load-status > div:first-child {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    color: #dbe4de;
    font-size: 0.68rem;
}

.player-mass-load-status span {
    color: #8e9b92;
}

.player-mass-load-track {
    height: 7px;
    margin-top: 10px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.065);
    border-radius: 999px;
}

.player-mass-load-track > span {
    display: block;
    width: 0;
    height: 100%;
    background: linear-gradient(90deg, #77bd2f, #b0e842);
    border-radius: inherit;
    transition: width 180ms ease;
}

.player-mass-load-track[data-state="error"] > span {
    background: #d85d5d;
}

.player-mass-toolbar {
    display: grid;
    grid-template-columns: minmax(280px, 1fr) minmax(170px, 0.28fr) auto;
    align-items: end;
    gap: 12px;
}

.player-mass-toolbar__status {
    display: grid;
    justify-items: end;
    gap: 4px;
    align-self: center;
    color: #87948c;
    font-size: 0.61rem;
}

.player-mass-toolbar__status strong {
    color: #aebbb3;
}

.player-mass-toolbar__status strong[data-state="saving"] {
    color: var(--wlf-gold);
}

.player-mass-toolbar__status strong[data-state="saved"] {
    color: var(--wlf-green);
}

.player-mass-toolbar__status strong[data-state="error"] {
    color: #e68c8c;
}

.player-mass-help {
    color: #8e9b92;
    background: rgba(155, 214, 47, 0.04);
    border-color: rgba(155, 214, 47, 0.12);
    border-left: 4px solid var(--wlf-green);
    font-size: 0.65rem;
    line-height: 1.55;
}

.player-mass-help strong {
    color: var(--wlf-white);
}

.player-mass-table-wrap {
    max-height: calc(100vh - 220px);
    overflow: auto;
    background: #030704;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 13px;
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
}

.player-mass-table {
    width: max-content;
    min-width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}

.player-mass-table th,
.player-mass-table td {
    min-width: 130px;
    padding: 6px;
    background: #07100a;
    border-right: 1px solid rgba(255, 255, 255, 0.065);
    border-bottom: 1px solid rgba(255, 255, 255, 0.065);
}

.player-mass-table th {
    position: sticky;
    top: 0;
    z-index: 4;
    color: #829087;
    background: #0c1710;
    text-align: left;
    text-transform: uppercase;
    letter-spacing: 0.055em;
    font-size: 0.52rem;
    font-weight: 900;
}

.player-mass-table th.is-sticky,
.player-mass-table td.is-sticky {
    left: 0;
    z-index: 5;
    min-width: 190px;
    max-width: 190px;
    background: #0c1710;
}

.player-mass-identity {
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr);
    align-items: center;
    gap: 8px;
}

.player-mass-identity img {
    width: 38px;
    height: 48px;
    object-fit: cover;
    object-position: center top;
    background: #d9e1dc;
    border-radius: 6px;
}

.player-mass-identity a,
.player-mass-identity small {
    display: block;
}

.player-mass-identity a {
    color: var(--wlf-green);
    text-decoration: none;
    font-size: 0.62rem;
    font-weight: 900;
}

.player-mass-identity small {
    margin-top: 3px;
    color: #6e7b73;
    font-size: 0.5rem;
}

.player-mass-table input,
.player-mass-table select {
    width: 100%;
    min-width: 116px;
    min-height: 36px;
    padding: 0 8px;
    color: #dfe7e2;
    background: #040805;
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 6px;
    font: inherit;
    font-size: 0.62rem;
}

.player-mass-table input:focus,
.player-mass-table select:focus {
    border-color: var(--wlf-green);
    outline: 2px solid rgba(155, 214, 47, 0.15);
}

.player-mass-table td[data-state="pending"] input,
.player-mass-table td[data-state="pending"] select {
    border-color: rgba(216, 191, 66, 0.6);
}

.player-mass-table td[data-state="saving"] input,
.player-mass-table td[data-state="saving"] select {
    border-color: #51b9d0;
}

.player-mass-table td[data-state="saved"] input,
.player-mass-table td[data-state="saved"] select {
    border-color: var(--wlf-green);
}

.player-mass-table td[data-state="error"] input,
.player-mass-table td[data-state="error"] select {
    border-color: #d85d5d;
}

.player-smart-cell-state {
    display: block;
    min-height: 12px;
    margin-top: 3px;
    color: #748178;
    font-size: 0.48rem;
}

.player-mass-table td[data-state="error"] .player-smart-cell-state {
    color: #e68c8c;
}

.player-mass-readonly {
    min-width: 150px !important;
    color: #78857d;
    font-size: 0.57rem;
    white-space: nowrap;
}

.player-mass-loading-cell {
    padding: 34px !important;
    color: #8c9991;
    text-align: center !important;
}

.player-mass-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 16px;
}

.player-mass-pagination button {
    min-height: 38px;
    padding: 0 13px;
    color: #dce5df;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 7px;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.55rem;
    font-weight: 900;
}

.player-mass-pagination button:disabled {
    cursor: not-allowed;
    opacity: 0.4;
}

.player-mass-pagination span {
    color: #849188;
    font-size: 0.65rem;
}

.player-mass-pagination strong {
    color: var(--wlf-white);
}

.player-card__media img,
.player-profile-portrait img {
    object-fit: contain;
    object-position: center bottom;
}

@media (max-width: 1150px) {
    .player-admin-stat-grid,
    .player-mass-summary-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .player-edit-layout,
    .player-import-layout {
        grid-template-columns: 1fr;
    }

    .player-edit-sidebar {
        position: static;
    }
}

@media (max-width: 860px) {
    .player-admin-hero__title {
        display: block;
    }

    .player-admin-hero__actions {
        justify-content: flex-start;
        margin-top: 22px;
    }

    .player-admin-toolbar,
    .player-mass-toolbar {
        grid-template-columns: 1fr;
    }

    .player-source-id-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .player-mass-toolbar__status {
        justify-items: start;
    }
}

@media (max-width: 560px) {
    .player-admin-hero {
        padding-top: 112px;
    }

    .player-admin-stat-grid,
    .player-mass-summary-grid,
    .player-import-count-grid,
    .player-source-id-grid {
        grid-template-columns: 1fr;
    }

    .player-admin-list-summary,
    .player-import-preview header,
    .player-mass-load-status > div:first-child {
        align-items: flex-start;
        flex-direction: column;
    }

    .player-edit-section,
    .player-edit-sidebar-card,
    .player-import-upload,
    .player-import-guidance,
    .player-import-preview,
    .player-import-result {
        padding-inline: 19px;
    }
}


/* ------------------------------------------------------------------
   v1.10.1 Compact Player Pagination
------------------------------------------------------------------- */

.admin-pagination--compact {
    display: grid;
    gap: 10px;
    margin-top: 24px;
}

.admin-pagination__controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.admin-pagination__pages {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.admin-pagination--compact .admin-pagination__page,
.admin-pagination--compact .admin-pagination__direction {
    display: inline-flex;
    width: auto;
    min-width: 39px;
    height: 39px;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 0 11px;
    color: #c7d1cb;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 7px;
    text-decoration: none;
    font-size: 0.68rem;
    font-weight: 850;
}

.admin-pagination--compact .admin-pagination__page {
    padding-inline: 8px;
}

.admin-pagination--compact .admin-pagination__page.is-active {
    color: var(--wlf-black);
    background: var(--wlf-green);
    border-color: var(--wlf-green);
}

.admin-pagination--compact .admin-pagination__direction:hover,
.admin-pagination--compact .admin-pagination__page:not(.is-active):hover {
    color: var(--wlf-white);
    background: rgba(255, 255, 255, 0.085);
    border-color: rgba(255, 255, 255, 0.17);
}

.admin-pagination--compact .admin-pagination__direction.is-disabled {
    cursor: not-allowed;
    opacity: 0.36;
}

.admin-pagination__ellipsis {
    display: inline-grid;
    width: 23px;
    height: 39px;
    place-items: center;
    color: #6f7c74;
    font-size: 0.84rem;
    font-weight: 900;
}

.admin-pagination__summary {
    margin: 0;
    color: #7e8b83;
    text-align: center;
    font-size: 0.63rem;
}

@media (max-width: 680px) {
    .admin-pagination__controls {
        flex-wrap: wrap;
    }

    .admin-pagination__pages {
        order: 3;
        width: 100%;
    }

    .admin-pagination--compact .admin-pagination__direction {
        flex: 1 1 130px;
        max-width: 180px;
    }
}

@media (max-width: 430px) {
    .admin-pagination--compact .admin-pagination__page {
        min-width: 34px;
        height: 36px;
        padding-inline: 6px;
    }

    .admin-pagination__ellipsis {
        width: 16px;
        height: 36px;
    }

    .admin-pagination--compact .admin-pagination__direction {
        height: 38px;
    }
}

/* ------------------------------------------------------------------
   v1.11.0 Competition Management
------------------------------------------------------------------- */

.competition-admin-page {
    background:
        radial-gradient(circle at 84% 3%, rgba(155, 214, 47, 0.12), transparent 35rem),
        linear-gradient(180deg, #07110b 0%, #020403 100%);
}

.competition-admin-hero {
    position: relative;
    overflow: hidden;
    padding: clamp(116px, 11vw, 158px) var(--page-padding) clamp(54px, 7vw, 88px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    isolation: isolate;
}

.competition-admin-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -2;
    background:
        linear-gradient(90deg, rgba(2, 5, 3, 0.98), rgba(8, 19, 12, 0.74)),
        repeating-linear-gradient(
            135deg,
            transparent 0 42px,
            rgba(255, 255, 255, 0.016) 42px 43px
        );
}

.competition-admin-hero::after {
    content: "CM";
    position: absolute;
    right: -0.05em;
    bottom: -0.29em;
    z-index: -1;
    color: rgba(155, 214, 47, 0.035);
    letter-spacing: -0.08em;
    font-size: clamp(14rem, 31vw, 34rem);
    font-weight: 950;
    line-height: 0.7;
}

.competition-admin-hero__inner,
.competition-admin-content__inner {
    width: min(100%, var(--content-width));
    margin-inline: auto;
}

.competition-admin-content__inner--wide {
    width: min(100%, 1760px);
}

.competition-admin-hero__title {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 28px;
}

.competition-admin-hero h1 {
    margin: 0;
    text-transform: uppercase;
    letter-spacing: -0.05em;
    line-height: 0.9;
    font-size: clamp(3rem, 7vw, 6.5rem);
}

.competition-admin-hero__title > div:first-child > p:last-child {
    max-width: 730px;
    margin: 21px 0 0;
    color: var(--wlf-muted);
}

.competition-admin-hero__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 9px;
}

.competition-admin-content {
    padding: clamp(48px, 7vw, 92px) var(--page-padding) clamp(78px, 9vw, 126px);
}

.competition-admin-stat-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(12px, 1.8vw, 22px);
    margin-bottom: 28px;
}

.competition-admin-stat-grid article {
    padding: clamp(20px, 2.5vw, 30px);
    background:
        linear-gradient(145deg, rgba(18, 33, 24, 0.98), rgba(5, 9, 6, 0.99));
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-top: 3px solid var(--wlf-green);
    border-radius: 15px;
    box-shadow: 0 17px 45px rgba(0, 0, 0, 0.28);
}

.competition-admin-stat-grid span,
.competition-admin-stat-grid strong {
    display: block;
}

.competition-admin-stat-grid span {
    color: #829087;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    font-size: 0.58rem;
    font-weight: 900;
}

.competition-admin-stat-grid strong {
    margin-top: 8px;
    color: var(--wlf-white);
    letter-spacing: -0.045em;
    font-size: clamp(1.9rem, 3.7vw, 3.5rem);
    line-height: 0.95;
}

.competition-admin-toolbar {
    display: grid;
    grid-template-columns: minmax(260px, 1fr) minmax(180px, 0.35fr) auto;
    align-items: end;
    gap: 12px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid rgba(255, 255, 255, 0.085);
    border-radius: 13px;
}

.competition-admin-toolbar .button {
    min-height: 49px;
}

.competition-admin-list-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin: 14px 0 20px;
    color: #829087;
    font-size: 0.68rem;
}

.competition-admin-list-summary span {
    color: var(--wlf-green);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: 900;
}

.competition-admin-list-summary a {
    color: #cbd6cf;
    text-decoration: none;
    font-weight: 850;
}

.competition-admin-table-wrap {
    overflow-x: auto;
    background:
        linear-gradient(145deg, rgba(18, 33, 24, 0.98), rgba(5, 9, 6, 0.99));
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    box-shadow: 0 18px 52px rgba(0, 0, 0, 0.28);
}

.competition-admin-table {
    width: 100%;
    min-width: 1180px;
    border-collapse: collapse;
}

.competition-admin-table th,
.competition-admin-table td {
    padding: 14px 15px;
    text-align: left;
    vertical-align: middle;
    border-bottom: 1px solid rgba(255, 255, 255, 0.075);
}

.competition-admin-table th {
    color: #829087;
    background: rgba(255, 255, 255, 0.025);
    text-transform: uppercase;
    letter-spacing: 0.07em;
    font-size: 0.56rem;
    font-weight: 900;
}

.competition-admin-table td {
    color: #cbd4ce;
    font-size: 0.69rem;
}

.competition-admin-table td strong,
.competition-admin-table td span,
.competition-admin-table td small {
    display: block;
}

.competition-admin-table td strong {
    color: var(--wlf-white);
    font-size: 0.8rem;
}

.competition-admin-table td > span {
    margin-top: 3px;
    color: #95a299;
}

.competition-admin-table td small {
    margin-top: 4px;
    color: #6e7b73;
    line-height: 1.45;
}

.competition-source-id-list {
    display: flex;
    min-width: 150px;
    flex-wrap: wrap;
    gap: 4px;
}

.competition-source-id-list span {
    display: inline-flex !important;
    padding: 4px 6px;
    color: #9caaa1 !important;
    background: rgba(255, 255, 255, 0.035);
    border-radius: 999px;
    font-size: 0.52rem;
}

.competition-status-badge {
    display: inline-flex !important;
    min-height: 28px;
    align-items: center;
    padding: 0 9px;
    border-radius: 999px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-size: 0.52rem;
    font-weight: 950;
}

.competition-status-badge.is-active {
    color: var(--wlf-black);
    background: var(--wlf-green);
}

.competition-status-badge.is-inactive {
    color: #d4ddd7;
    background: rgba(255, 255, 255, 0.075);
}

.competition-admin-row-actions {
    display: flex;
    min-width: 180px;
    flex-wrap: wrap;
    gap: 6px;
}

.competition-admin-row-actions a,
.competition-admin-row-actions button {
    display: inline-flex;
    min-height: 34px;
    align-items: center;
    justify-content: center;
    padding: 0 9px;
    color: #dce5df;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.095);
    border-radius: 7px;
    cursor: pointer;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.52rem;
    font-weight: 900;
}

.competition-admin-row-actions button {
    color: #efcaca;
    background: rgba(202, 73, 73, 0.07);
    border-color: rgba(202, 73, 73, 0.18);
}

.competition-admin-empty {
    margin-top: 18px;
    padding: 34px;
    color: #8d9991;
    background: rgba(255, 255, 255, 0.025);
    border: 1px dashed rgba(255, 255, 255, 0.12);
    border-left: 4px solid var(--wlf-green);
    border-radius: 13px;
    text-align: center;
}

.competition-admin-empty strong {
    display: block;
    color: var(--wlf-white);
    font-size: 1rem;
}

.competition-admin-empty p {
    margin: 7px 0 0;
    font-size: 0.7rem;
}

/* Team edit */
.competition-edit-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.42fr) minmax(300px, 0.58fr);
    align-items: start;
    gap: clamp(20px, 3vw, 38px);
}

.competition-edit-form {
    display: grid;
    gap: 20px;
}

.competition-edit-section,
.competition-edit-sidebar-card {
    padding: clamp(23px, 3vw, 35px);
    background:
        linear-gradient(145deg, rgba(18, 33, 24, 0.98), rgba(5, 9, 6, 0.99));
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 17px;
    box-shadow: 0 17px 48px rgba(0, 0, 0, 0.28);
}

.competition-edit-section {
    display: grid;
    gap: 17px;
}

.competition-edit-section h2,
.competition-edit-sidebar-card h2 {
    margin: -1px 0 6px;
    text-transform: uppercase;
    letter-spacing: -0.03em;
    font-size: clamp(1.45rem, 2.5vw, 2.5rem);
}

.competition-source-id-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.competition-edit-note,
.competition-delete-safety-note {
    padding: 13px 14px;
    color: #9ba89f;
    background: rgba(255, 255, 255, 0.027);
    border: 1px solid rgba(255, 255, 255, 0.075);
    border-left: 3px solid var(--wlf-green);
    border-radius: 9px;
    font-size: 0.67rem;
    line-height: 1.55;
}

.competition-delete-safety-note {
    margin-top: 17px;
    color: #e3d7a8;
    border-left-color: var(--wlf-gold);
}

.competition-edit-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
}

.competition-edit-sidebar {
    position: sticky;
    top: calc(var(--header-height) + 20px);
    display: grid;
    gap: 18px;
}

.competition-edit-sidebar-card dl {
    display: grid;
    margin: 17px 0 0;
}

.competition-edit-sidebar-card dl > div {
    display: grid;
    grid-template-columns: minmax(110px, 0.8fr) minmax(0, 1fr);
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.075);
}

.competition-edit-sidebar-card dt {
    color: #79867e;
    text-transform: uppercase;
    letter-spacing: 0.055em;
    font-size: 0.55rem;
    font-weight: 900;
}

.competition-edit-sidebar-card dd {
    margin: 0;
    color: #d6ded8;
    text-align: right;
    font-size: 0.68rem;
}

.competition-edit-sidebar-card > p:not(.logo-sidebar-kicker) {
    color: #8b9890;
    font-size: 0.72rem;
    line-height: 1.55;
}

.competition-membership-list {
    display: grid;
    gap: 8px;
    margin: 17px 0;
}

.competition-membership-list article {
    padding: 11px 12px;
    background: rgba(255, 255, 255, 0.028);
    border: 1px solid rgba(255, 255, 255, 0.075);
    border-radius: 9px;
}

.competition-membership-list strong,
.competition-membership-list span {
    display: block;
}

.competition-membership-list strong {
    color: #dfe7e2;
    font-size: 0.72rem;
}

.competition-membership-list span {
    margin-top: 4px;
    color: #7f8c84;
    font-size: 0.62rem;
}

.competition-sidebar-empty {
    margin: 14px 0 18px;
    color: #7f8c84;
    font-size: 0.7rem;
}

/* Team import */
.competition-import-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.55fr);
    align-items: start;
    gap: clamp(20px, 3vw, 38px);
}

.competition-import-upload,
.competition-import-guidance,
.competition-import-preview,
.competition-import-result {
    padding: clamp(24px, 3.2vw, 38px);
    background:
        linear-gradient(145deg, rgba(18, 33, 24, 0.98), rgba(5, 9, 6, 0.99));
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 17px;
    box-shadow: 0 17px 48px rgba(0, 0, 0, 0.28);
}

.competition-import-upload {
    display: grid;
    gap: 18px;
}

.competition-import-upload h2,
.competition-import-guidance h2,
.competition-import-preview h2,
.competition-import-result h2 {
    margin: 0;
    text-transform: uppercase;
    letter-spacing: -0.035em;
    font-size: clamp(1.6rem, 3vw, 3rem);
}

.competition-import-upload > p:not(.logo-sidebar-kicker),
.competition-import-guidance > p:not(.logo-sidebar-kicker),
.competition-import-preview header p,
.competition-import-result > p {
    color: #8b9890;
    font-size: 0.72rem;
    line-height: 1.55;
}

.competition-import-heading-list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 18px 0;
}

.competition-import-heading-list code {
    padding: 6px 8px;
    color: var(--wlf-green);
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(255, 255, 255, 0.075);
    border-radius: 6px;
    font-size: 0.6rem;
}

.competition-import-guidance ul {
    margin: 18px 0 0;
    padding-left: 19px;
    color: #98a59c;
    font-size: 0.68rem;
    line-height: 1.65;
}

.competition-import-preview header {
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 20px;
}

.competition-import-preview header > span {
    color: var(--wlf-green);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-size: 0.62rem;
    font-weight: 900;
}

.competition-import-preview-table {
    overflow-x: auto;
    background: #030704;
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 12px;
}

.competition-import-preview-table table {
    width: 100%;
    min-width: 2300px;
    border-collapse: collapse;
}

.competition-import-preview-table th,
.competition-import-preview-table td {
    padding: 10px 11px;
    text-align: left;
    white-space: nowrap;
    border-right: 1px solid rgba(255, 255, 255, 0.065);
    border-bottom: 1px solid rgba(255, 255, 255, 0.065);
}

.competition-import-preview-table th {
    color: #86938b;
    background: rgba(255, 255, 255, 0.035);
    text-transform: uppercase;
    letter-spacing: 0.055em;
    font-size: 0.53rem;
}

.competition-import-preview-table td {
    color: #cbd5cf;
    font-size: 0.63rem;
}

.competition-import-preview__note {
    margin: 12px 0 0;
    color: #78857d;
    font-size: 0.64rem;
}

.competition-import-rules {
    margin-top: 20px;
    padding: 16px;
    background: rgba(155, 214, 47, 0.045);
    border: 1px solid rgba(155, 214, 47, 0.14);
    border-left: 4px solid var(--wlf-green);
    border-radius: 10px;
}

.competition-import-rules h3 {
    margin: 0;
    color: var(--wlf-white);
    font-size: 0.9rem;
}

.competition-import-rules p {
    margin: 7px 0 0;
    color: #95a299;
    font-size: 0.66rem;
    line-height: 1.55;
}

.competition-import-preview__actions,
.competition-import-result__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 21px;
}

.competition-import-count-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    margin-top: 24px;
}

.competition-import-count {
    padding: 18px;
    background: rgba(255, 255, 255, 0.028);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-top: 3px solid #7c897f;
    border-radius: 11px;
}

.competition-import-count--added {
    border-top-color: var(--wlf-green);
}

.competition-import-count--updated {
    border-top-color: #51b9d0;
}

.competition-import-count--failed {
    border-top-color: #d85d5d;
}

.competition-import-count span,
.competition-import-count strong {
    display: block;
}

.competition-import-count span {
    color: #7f8c84;
    text-transform: uppercase;
    letter-spacing: 0.055em;
    font-size: 0.54rem;
    font-weight: 900;
}

.competition-import-count strong {
    margin-top: 6px;
    color: var(--wlf-white);
    font-size: 2rem;
}

.competition-import-failures {
    margin-top: 24px;
}

.competition-import-failures h3 {
    margin: 0 0 12px;
    color: var(--wlf-white);
}

/* Mass Smart Editor */
.competition-mass-edit-content {
    padding-left: clamp(10px, 2vw, 28px);
    padding-right: clamp(10px, 2vw, 28px);
}

.competition-mass-editor-status-bar,
.competition-mass-editor-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 14px;
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.026);
    border: 1px solid rgba(255, 255, 255, 0.085);
    border-radius: 12px;
}

.competition-mass-editor-summary {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
}

.competition-mass-editor-summary span {
    padding: 6px 9px;
    color: #8c9991;
    background: rgba(255, 255, 255, 0.035);
    border-radius: 999px;
    font-size: 0.62rem;
}

.competition-mass-editor-summary strong {
    color: var(--wlf-white);
}

.competition-mass-editor-save-state {
    color: #9eaba3;
    font-size: 0.66rem;
    font-weight: 850;
}

.competition-mass-editor-save-state[data-state="saving"] {
    color: var(--wlf-gold);
}

.competition-mass-editor-save-state[data-state="saved"] {
    color: var(--wlf-green);
}

.competition-mass-editor-save-state[data-state="error"] {
    color: #e68c8c;
}

.competition-mass-editor-toolbar {
    display: grid;
    grid-template-columns: minmax(260px, 1fr) minmax(180px, 0.3fr) auto;
    align-items: end;
}

.competition-mass-editor-visible-count {
    align-self: center;
    color: #87948c;
    text-transform: uppercase;
    letter-spacing: 0.055em;
    font-size: 0.57rem;
    font-weight: 900;
}

.competition-mass-editor-visible-count strong {
    color: var(--wlf-green);
}

.competition-mass-editor-help {
    margin-bottom: 14px;
    padding: 12px 14px;
    color: #8e9b92;
    background: rgba(155, 214, 47, 0.04);
    border: 1px solid rgba(155, 214, 47, 0.12);
    border-left: 4px solid var(--wlf-green);
    border-radius: 9px;
    font-size: 0.65rem;
    line-height: 1.55;
}

.competition-mass-editor-help strong {
    color: var(--wlf-white);
}

.competition-mass-table-wrap {
    max-height: calc(100vh - 210px);
    overflow: auto;
    background: #030704;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 13px;
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
}

.competition-mass-table {
    width: max-content;
    min-width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}

.competition-mass-table th,
.competition-mass-table td {
    min-width: 132px;
    padding: 6px;
    background: #07100a;
    border-right: 1px solid rgba(255, 255, 255, 0.065);
    border-bottom: 1px solid rgba(255, 255, 255, 0.065);
}

.competition-mass-table th {
    position: sticky;
    top: 0;
    z-index: 4;
    color: #829087;
    background: #0c1710;
    text-align: left;
    text-transform: uppercase;
    letter-spacing: 0.055em;
    font-size: 0.52rem;
    font-weight: 900;
}

.competition-mass-table th.is-sticky,
.competition-mass-table td.is-sticky {
    left: 0;
    z-index: 5;
    min-width: 76px;
    max-width: 76px;
    background: #0c1710;
}

.competition-mass-table td.is-sticky a {
    color: var(--wlf-green);
    text-decoration: none;
    font-size: 0.67rem;
    font-weight: 900;
}

.competition-mass-table input,
.competition-mass-table select {
    width: 100%;
    min-width: 118px;
    min-height: 36px;
    padding: 0 8px;
    color: #dfe7e2;
    background: #040805;
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 6px;
    font: inherit;
    font-size: 0.62rem;
}

.competition-mass-table input:focus,
.competition-mass-table select:focus {
    border-color: var(--wlf-green);
    outline: 2px solid rgba(155, 214, 47, 0.15);
}

.competition-mass-table td[data-state="pending"] input,
.competition-mass-table td[data-state="pending"] select {
    border-color: rgba(216, 191, 66, 0.6);
}

.competition-mass-table td[data-state="saving"] input,
.competition-mass-table td[data-state="saving"] select {
    border-color: #51b9d0;
}

.competition-mass-table td[data-state="saved"] input,
.competition-mass-table td[data-state="saved"] select {
    border-color: var(--wlf-green);
}

.competition-mass-table td[data-state="error"] input,
.competition-mass-table td[data-state="error"] select {
    border-color: #d85d5d;
}

.competition-smart-cell-state {
    display: block;
    min-height: 12px;
    margin-top: 3px;
    color: #748178;
    font-size: 0.48rem;
}

.competition-mass-table td[data-state="error"] .competition-smart-cell-state {
    color: #e68c8c;
}

.competition-mass-readonly {
    min-width: 150px !important;
    color: #78857d;
    font-size: 0.57rem;
    white-space: nowrap;
}

@media (max-width: 1100px) {
    .competition-admin-stat-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .competition-edit-layout,
    .competition-import-layout {
        grid-template-columns: 1fr;
    }

    .competition-edit-sidebar {
        position: static;
    }
}

@media (max-width: 800px) {
    .competition-admin-hero__title {
        display: block;
    }

    .competition-admin-hero__actions {
        justify-content: flex-start;
        margin-top: 22px;
    }

    .competition-admin-toolbar,
    .competition-mass-editor-toolbar {
        grid-template-columns: 1fr;
    }

    .competition-source-id-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .competition-mass-editor-status-bar {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 560px) {
    .competition-admin-hero {
        padding-top: 112px;
    }

    .competition-admin-stat-grid,
    .competition-import-count-grid,
    .competition-source-id-grid {
        grid-template-columns: 1fr;
    }

    .competition-admin-list-summary {
        align-items: flex-start;
        flex-direction: column;
    }

    .competition-edit-section,
    .competition-edit-sidebar-card,
    .competition-import-upload,
    .competition-import-guidance,
    .competition-import-preview,
    .competition-import-result {
        padding-inline: 19px;
    }
}




.competition-acomp-badge {
    display: inline-flex !important;
    min-height: 28px;
    align-items: center;
    padding: 0 9px;
    border-radius: 999px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-size: 0.52rem;
    font-weight: 950;
}

.competition-acomp-badge.is-yes {
    color: #061006;
    background: #64d5e7;
}

.competition-acomp-badge.is-no {
    color: #c9d3cc;
    background: rgba(255, 255, 255, 0.075);
}

.competition-admin-list-summary > div {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.competition-admin-toolbar {
    grid-template-columns:
        minmax(260px, 1fr)
        minmax(150px, 0.3fr)
        minmax(140px, 0.25fr)
        minmax(120px, 0.2fr)
        auto;
}

.competition-mass-editor-toolbar {
    grid-template-columns:
        minmax(260px, 1fr)
        minmax(150px, 0.25fr)
        minmax(130px, 0.2fr)
        auto;
}

.competition-mass-table-wrap {
    max-height: calc(100vh - 220px);
}

.competition-mass-table {
    min-width: 2750px;
}

.competition-mass-table th.is-sticky,
.competition-mass-table td.is-sticky {
    min-width: 78px;
    max-width: 78px;
}

.competition-edit-sidebar-card > p:not(.logo-sidebar-kicker) {
    color: #8b9890;
    font-size: 0.72rem;
    line-height: 1.55;
}

@media (max-width: 1050px) {
    .competition-admin-toolbar,
    .competition-mass-editor-toolbar {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 700px) {
    .competition-admin-toolbar,
    .competition-mass-editor-toolbar {
        grid-template-columns: 1fr;
    }
}


/* ------------------------------------------------------------------
   v1.11.1 Vault Teams Database Integration
------------------------------------------------------------------- */

.team-card__database-logo {
    display: block;
    width: min(170px, 86%);
    height: 160px;
    object-fit: contain;
    object-position: center;
    filter: drop-shadow(0 16px 20px rgba(0, 0, 0, 0.36));
    transition: transform 260ms ease, filter 260ms ease;
}

.team-card:hover .team-card__database-logo {
    filter: drop-shadow(0 19px 23px rgba(0, 0, 0, 0.42));
    transform: translateY(-4px) scale(1.035);
}

.team-card__placeholder--historical {
    color: #e8d7aa;
    background: rgba(216, 191, 66, 0.1);
    border-color: rgba(216, 191, 66, 0.24);
}

.team-card__short-name {
    position: relative;
    z-index: 2;
    min-height: 20px;
    margin: 7px 0 0;
    color: #8f9d94;
    font-size: 0.68rem;
    font-weight: 750;
}

.team-profile-database-logo {
    display: block;
    width: min(360px, 88%);
    height: 360px;
    object-fit: contain;
    object-position: center;
    filter: drop-shadow(0 28px 38px rgba(0, 0, 0, 0.46));
}

.team-profile-database-logo--record {
    width: 155px;
    height: 170px;
    filter: drop-shadow(0 18px 24px rgba(0, 0, 0, 0.4));
}

.team-profile-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 25px;
}

.team-social-panel {
    grid-column: 1 / -1;
}

.team-social-links {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-top: 18px;
}

.team-social-links a {
    display: flex;
    min-height: 54px;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 0 15px;
    color: #dce6df;
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 9px;
    text-decoration: none;
    font-size: 0.7rem;
    font-weight: 850;
    transition:
        background var(--transition),
        border-color var(--transition),
        transform var(--transition);
}

.team-social-links a:hover {
    color: var(--wlf-white);
    background: rgba(155, 214, 47, 0.07);
    border-color: rgba(155, 214, 47, 0.28);
    transform: translateY(-2px);
}

.team-social-links strong {
    color: var(--wlf-green);
}

.team-competition-history {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(15px, 2vw, 24px);
}

.team-competition-history__card {
    display: grid;
    align-content: start;
    overflow: hidden;
    background:
        linear-gradient(145deg, rgba(18, 33, 24, 0.98), rgba(5, 9, 6, 0.99));
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-top: 3px solid var(--wlf-green);
    border-radius: 15px;
    box-shadow: 0 18px 46px rgba(0, 0, 0, 0.28);
}

.team-competition-history__card > div:first-child {
    min-height: 145px;
    padding: 22px 22px 18px;
}

.team-competition-history__card h3 {
    margin: 13px 0 0;
    color: var(--wlf-white);
    letter-spacing: -0.025em;
    line-height: 1.03;
    font-size: clamp(1.25rem, 2vw, 1.9rem);
}

.team-competition-history__card > div:first-child > p {
    margin: 7px 0 0;
    color: #859289;
    font-size: 0.67rem;
    font-weight: 800;
}

.team-competition-history__status {
    display: inline-flex;
    min-height: 27px;
    align-items: center;
    padding: 0 9px;
    border-radius: 999px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-size: 0.52rem;
    font-weight: 950;
}

.team-competition-history__status.is-current {
    color: #061006;
    background: var(--wlf-green);
}

.team-competition-history__status.is-historical {
    color: #e8d7aa;
    background: rgba(216, 191, 66, 0.1);
    border: 1px solid rgba(216, 191, 66, 0.22);
}

.team-competition-history__card dl {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.075);
    border-bottom: 1px solid rgba(255, 255, 255, 0.075);
}

.team-competition-history__card dl > div {
    padding: 14px 18px;
}

.team-competition-history__card dl > div + div {
    border-left: 1px solid rgba(255, 255, 255, 0.075);
}

.team-competition-history__card dt,
.team-competition-history__card dd {
    display: block;
}

.team-competition-history__card dt {
    color: #78857d;
    text-transform: uppercase;
    letter-spacing: 0.055em;
    font-size: 0.54rem;
    font-weight: 900;
}

.team-competition-history__card dd {
    margin: 5px 0 0;
    color: #dfe7e2;
    font-size: 0.76rem;
    font-weight: 850;
}

.team-competition-history__card > a {
    display: flex;
    min-height: 49px;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 0 18px;
    color: var(--wlf-green);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.57rem;
    font-weight: 900;
}

.team-competition-history__card > a:hover {
    background: rgba(155, 214, 47, 0.055);
}

@media (max-width: 980px) {
    .team-competition-history {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .team-social-links {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 620px) {
    .team-profile-database-logo {
        width: 250px;
        height: 270px;
    }

    .team-competition-history,
    .team-social-links {
        grid-template-columns: 1fr;
    }
}

/* ------------------------------------------------------------------
   v1.12.0 Venue Management
------------------------------------------------------------------- */

.venue-admin-page {
    background:
        radial-gradient(circle at 84% 3%, rgba(155, 214, 47, 0.12), transparent 35rem),
        linear-gradient(180deg, #07110b 0%, #020403 100%);
}

.venue-admin-hero {
    position: relative;
    overflow: hidden;
    padding: clamp(116px, 11vw, 158px) var(--page-padding) clamp(54px, 7vw, 88px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    isolation: isolate;
}

.venue-admin-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -2;
    background:
        linear-gradient(90deg, rgba(2, 5, 3, 0.98), rgba(8, 19, 12, 0.74)),
        repeating-linear-gradient(
            135deg,
            transparent 0 42px,
            rgba(255, 255, 255, 0.016) 42px 43px
        );
}

.venue-admin-hero::after {
    content: "VM";
    position: absolute;
    right: -0.05em;
    bottom: -0.29em;
    z-index: -1;
    color: rgba(155, 214, 47, 0.035);
    letter-spacing: -0.08em;
    font-size: clamp(14rem, 31vw, 34rem);
    font-weight: 950;
    line-height: 0.7;
}

.venue-admin-hero__inner,
.venue-admin-content__inner {
    width: min(100%, var(--content-width));
    margin-inline: auto;
}

.venue-admin-content__inner--wide {
    width: min(100%, 1760px);
}

.venue-admin-hero__title {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 28px;
}

.venue-admin-hero h1 {
    margin: 0;
    text-transform: uppercase;
    letter-spacing: -0.05em;
    line-height: 0.9;
    font-size: clamp(3rem, 7vw, 6.5rem);
}

.venue-admin-hero__title > div:first-child > p:last-child {
    max-width: 730px;
    margin: 21px 0 0;
    color: var(--wlf-muted);
}

.venue-admin-hero__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 9px;
}

.venue-admin-content {
    padding: clamp(48px, 7vw, 92px) var(--page-padding) clamp(78px, 9vw, 126px);
}

.venue-admin-stat-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(12px, 1.8vw, 22px);
    margin-bottom: 28px;
}

.venue-admin-stat-grid article {
    padding: clamp(20px, 2.5vw, 30px);
    background:
        linear-gradient(145deg, rgba(18, 33, 24, 0.98), rgba(5, 9, 6, 0.99));
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-top: 3px solid var(--wlf-green);
    border-radius: 15px;
    box-shadow: 0 17px 45px rgba(0, 0, 0, 0.28);
}

.venue-admin-stat-grid span,
.venue-admin-stat-grid strong {
    display: block;
}

.venue-admin-stat-grid span {
    color: #829087;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    font-size: 0.58rem;
    font-weight: 900;
}

.venue-admin-stat-grid strong {
    margin-top: 8px;
    color: var(--wlf-white);
    letter-spacing: -0.045em;
    font-size: clamp(1.9rem, 3.7vw, 3.5rem);
    line-height: 0.95;
}

.venue-admin-toolbar {
    display: grid;
    grid-template-columns: minmax(260px, 1fr) minmax(180px, 0.35fr) auto;
    align-items: end;
    gap: 12px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid rgba(255, 255, 255, 0.085);
    border-radius: 13px;
}

.venue-admin-toolbar .button {
    min-height: 49px;
}

.venue-admin-list-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin: 14px 0 20px;
    color: #829087;
    font-size: 0.68rem;
}

.venue-admin-list-summary span {
    color: var(--wlf-green);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: 900;
}

.venue-admin-list-summary a {
    color: #cbd6cf;
    text-decoration: none;
    font-weight: 850;
}

.venue-admin-table-wrap {
    overflow-x: auto;
    background:
        linear-gradient(145deg, rgba(18, 33, 24, 0.98), rgba(5, 9, 6, 0.99));
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    box-shadow: 0 18px 52px rgba(0, 0, 0, 0.28);
}

.venue-admin-table {
    width: 100%;
    min-width: 1180px;
    border-collapse: collapse;
}

.venue-admin-table th,
.venue-admin-table td {
    padding: 14px 15px;
    text-align: left;
    vertical-align: middle;
    border-bottom: 1px solid rgba(255, 255, 255, 0.075);
}

.venue-admin-table th {
    color: #829087;
    background: rgba(255, 255, 255, 0.025);
    text-transform: uppercase;
    letter-spacing: 0.07em;
    font-size: 0.56rem;
    font-weight: 900;
}

.venue-admin-table td {
    color: #cbd4ce;
    font-size: 0.69rem;
}

.venue-admin-table td strong,
.venue-admin-table td span,
.venue-admin-table td small {
    display: block;
}

.venue-admin-table td strong {
    color: var(--wlf-white);
    font-size: 0.8rem;
}

.venue-admin-table td > span {
    margin-top: 3px;
    color: #95a299;
}

.venue-admin-table td small {
    margin-top: 4px;
    color: #6e7b73;
    line-height: 1.45;
}

.venue-source-id-list {
    display: flex;
    min-width: 150px;
    flex-wrap: wrap;
    gap: 4px;
}

.venue-source-id-list span {
    display: inline-flex !important;
    padding: 4px 6px;
    color: #9caaa1 !important;
    background: rgba(255, 255, 255, 0.035);
    border-radius: 999px;
    font-size: 0.52rem;
}

.venue-status-badge {
    display: inline-flex !important;
    min-height: 28px;
    align-items: center;
    padding: 0 9px;
    border-radius: 999px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-size: 0.52rem;
    font-weight: 950;
}

.venue-status-badge.is-active {
    color: var(--wlf-black);
    background: var(--wlf-green);
}

.venue-status-badge.is-inactive {
    color: #d4ddd7;
    background: rgba(255, 255, 255, 0.075);
}

.venue-admin-row-actions {
    display: flex;
    min-width: 180px;
    flex-wrap: wrap;
    gap: 6px;
}

.venue-admin-row-actions a,
.venue-admin-row-actions button {
    display: inline-flex;
    min-height: 34px;
    align-items: center;
    justify-content: center;
    padding: 0 9px;
    color: #dce5df;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.095);
    border-radius: 7px;
    cursor: pointer;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.52rem;
    font-weight: 900;
}

.venue-admin-row-actions button {
    color: #efcaca;
    background: rgba(202, 73, 73, 0.07);
    border-color: rgba(202, 73, 73, 0.18);
}

.venue-admin-empty {
    margin-top: 18px;
    padding: 34px;
    color: #8d9991;
    background: rgba(255, 255, 255, 0.025);
    border: 1px dashed rgba(255, 255, 255, 0.12);
    border-left: 4px solid var(--wlf-green);
    border-radius: 13px;
    text-align: center;
}

.venue-admin-empty strong {
    display: block;
    color: var(--wlf-white);
    font-size: 1rem;
}

.venue-admin-empty p {
    margin: 7px 0 0;
    font-size: 0.7rem;
}

/* Team edit */
.venue-edit-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.42fr) minmax(300px, 0.58fr);
    align-items: start;
    gap: clamp(20px, 3vw, 38px);
}

.venue-edit-form {
    display: grid;
    gap: 20px;
}

.venue-edit-section,
.venue-edit-sidebar-card {
    padding: clamp(23px, 3vw, 35px);
    background:
        linear-gradient(145deg, rgba(18, 33, 24, 0.98), rgba(5, 9, 6, 0.99));
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 17px;
    box-shadow: 0 17px 48px rgba(0, 0, 0, 0.28);
}

.venue-edit-section {
    display: grid;
    gap: 17px;
}

.venue-edit-section h2,
.venue-edit-sidebar-card h2 {
    margin: -1px 0 6px;
    text-transform: uppercase;
    letter-spacing: -0.03em;
    font-size: clamp(1.45rem, 2.5vw, 2.5rem);
}

.venue-source-id-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.venue-edit-note,
.venue-delete-safety-note {
    padding: 13px 14px;
    color: #9ba89f;
    background: rgba(255, 255, 255, 0.027);
    border: 1px solid rgba(255, 255, 255, 0.075);
    border-left: 3px solid var(--wlf-green);
    border-radius: 9px;
    font-size: 0.67rem;
    line-height: 1.55;
}

.venue-delete-safety-note {
    margin-top: 17px;
    color: #e3d7a8;
    border-left-color: var(--wlf-gold);
}

.venue-edit-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
}

.venue-edit-sidebar {
    position: sticky;
    top: calc(var(--header-height) + 20px);
    display: grid;
    gap: 18px;
}

.venue-edit-sidebar-card dl {
    display: grid;
    margin: 17px 0 0;
}

.venue-edit-sidebar-card dl > div {
    display: grid;
    grid-template-columns: minmax(110px, 0.8fr) minmax(0, 1fr);
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.075);
}

.venue-edit-sidebar-card dt {
    color: #79867e;
    text-transform: uppercase;
    letter-spacing: 0.055em;
    font-size: 0.55rem;
    font-weight: 900;
}

.venue-edit-sidebar-card dd {
    margin: 0;
    color: #d6ded8;
    text-align: right;
    font-size: 0.68rem;
}

.venue-edit-sidebar-card > p:not(.logo-sidebar-kicker) {
    color: #8b9890;
    font-size: 0.72rem;
    line-height: 1.55;
}

.venue-membership-list {
    display: grid;
    gap: 8px;
    margin: 17px 0;
}

.venue-membership-list article {
    padding: 11px 12px;
    background: rgba(255, 255, 255, 0.028);
    border: 1px solid rgba(255, 255, 255, 0.075);
    border-radius: 9px;
}

.venue-membership-list strong,
.venue-membership-list span {
    display: block;
}

.venue-membership-list strong {
    color: #dfe7e2;
    font-size: 0.72rem;
}

.venue-membership-list span {
    margin-top: 4px;
    color: #7f8c84;
    font-size: 0.62rem;
}

.venue-sidebar-empty {
    margin: 14px 0 18px;
    color: #7f8c84;
    font-size: 0.7rem;
}

/* Team import */
.venue-import-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.55fr);
    align-items: start;
    gap: clamp(20px, 3vw, 38px);
}

.venue-import-upload,
.venue-import-guidance,
.venue-import-preview,
.venue-import-result {
    padding: clamp(24px, 3.2vw, 38px);
    background:
        linear-gradient(145deg, rgba(18, 33, 24, 0.98), rgba(5, 9, 6, 0.99));
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 17px;
    box-shadow: 0 17px 48px rgba(0, 0, 0, 0.28);
}

.venue-import-upload {
    display: grid;
    gap: 18px;
}

.venue-import-upload h2,
.venue-import-guidance h2,
.venue-import-preview h2,
.venue-import-result h2 {
    margin: 0;
    text-transform: uppercase;
    letter-spacing: -0.035em;
    font-size: clamp(1.6rem, 3vw, 3rem);
}

.venue-import-upload > p:not(.logo-sidebar-kicker),
.venue-import-guidance > p:not(.logo-sidebar-kicker),
.venue-import-preview header p,
.venue-import-result > p {
    color: #8b9890;
    font-size: 0.72rem;
    line-height: 1.55;
}

.venue-import-heading-list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 18px 0;
}

.venue-import-heading-list code {
    padding: 6px 8px;
    color: var(--wlf-green);
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(255, 255, 255, 0.075);
    border-radius: 6px;
    font-size: 0.6rem;
}

.venue-import-guidance ul {
    margin: 18px 0 0;
    padding-left: 19px;
    color: #98a59c;
    font-size: 0.68rem;
    line-height: 1.65;
}

.venue-import-preview header {
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 20px;
}

.venue-import-preview header > span {
    color: var(--wlf-green);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-size: 0.62rem;
    font-weight: 900;
}

.venue-import-preview-table {
    overflow-x: auto;
    background: #030704;
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 12px;
}

.venue-import-preview-table table {
    width: 100%;
    min-width: 2300px;
    border-collapse: collapse;
}

.venue-import-preview-table th,
.venue-import-preview-table td {
    padding: 10px 11px;
    text-align: left;
    white-space: nowrap;
    border-right: 1px solid rgba(255, 255, 255, 0.065);
    border-bottom: 1px solid rgba(255, 255, 255, 0.065);
}

.venue-import-preview-table th {
    color: #86938b;
    background: rgba(255, 255, 255, 0.035);
    text-transform: uppercase;
    letter-spacing: 0.055em;
    font-size: 0.53rem;
}

.venue-import-preview-table td {
    color: #cbd5cf;
    font-size: 0.63rem;
}

.venue-import-preview__note {
    margin: 12px 0 0;
    color: #78857d;
    font-size: 0.64rem;
}

.venue-import-rules {
    margin-top: 20px;
    padding: 16px;
    background: rgba(155, 214, 47, 0.045);
    border: 1px solid rgba(155, 214, 47, 0.14);
    border-left: 4px solid var(--wlf-green);
    border-radius: 10px;
}

.venue-import-rules h3 {
    margin: 0;
    color: var(--wlf-white);
    font-size: 0.9rem;
}

.venue-import-rules p {
    margin: 7px 0 0;
    color: #95a299;
    font-size: 0.66rem;
    line-height: 1.55;
}

.venue-import-preview__actions,
.venue-import-result__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 21px;
}

.venue-import-count-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    margin-top: 24px;
}

.venue-import-count {
    padding: 18px;
    background: rgba(255, 255, 255, 0.028);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-top: 3px solid #7c897f;
    border-radius: 11px;
}

.venue-import-count--added {
    border-top-color: var(--wlf-green);
}

.venue-import-count--updated {
    border-top-color: #51b9d0;
}

.venue-import-count--failed {
    border-top-color: #d85d5d;
}

.venue-import-count span,
.venue-import-count strong {
    display: block;
}

.venue-import-count span {
    color: #7f8c84;
    text-transform: uppercase;
    letter-spacing: 0.055em;
    font-size: 0.54rem;
    font-weight: 900;
}

.venue-import-count strong {
    margin-top: 6px;
    color: var(--wlf-white);
    font-size: 2rem;
}

.venue-import-failures {
    margin-top: 24px;
}

.venue-import-failures h3 {
    margin: 0 0 12px;
    color: var(--wlf-white);
}

/* Mass Smart Editor */
.venue-mass-edit-content {
    padding-left: clamp(10px, 2vw, 28px);
    padding-right: clamp(10px, 2vw, 28px);
}

.venue-mass-editor-status-bar,
.venue-mass-editor-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 14px;
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.026);
    border: 1px solid rgba(255, 255, 255, 0.085);
    border-radius: 12px;
}

.venue-mass-editor-summary {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
}

.venue-mass-editor-summary span {
    padding: 6px 9px;
    color: #8c9991;
    background: rgba(255, 255, 255, 0.035);
    border-radius: 999px;
    font-size: 0.62rem;
}

.venue-mass-editor-summary strong {
    color: var(--wlf-white);
}

.venue-mass-editor-save-state {
    color: #9eaba3;
    font-size: 0.66rem;
    font-weight: 850;
}

.venue-mass-editor-save-state[data-state="saving"] {
    color: var(--wlf-gold);
}

.venue-mass-editor-save-state[data-state="saved"] {
    color: var(--wlf-green);
}

.venue-mass-editor-save-state[data-state="error"] {
    color: #e68c8c;
}

.venue-mass-editor-toolbar {
    display: grid;
    grid-template-columns: minmax(260px, 1fr) minmax(180px, 0.3fr) auto;
    align-items: end;
}

.venue-mass-editor-visible-count {
    align-self: center;
    color: #87948c;
    text-transform: uppercase;
    letter-spacing: 0.055em;
    font-size: 0.57rem;
    font-weight: 900;
}

.venue-mass-editor-visible-count strong {
    color: var(--wlf-green);
}

.venue-mass-editor-help {
    margin-bottom: 14px;
    padding: 12px 14px;
    color: #8e9b92;
    background: rgba(155, 214, 47, 0.04);
    border: 1px solid rgba(155, 214, 47, 0.12);
    border-left: 4px solid var(--wlf-green);
    border-radius: 9px;
    font-size: 0.65rem;
    line-height: 1.55;
}

.venue-mass-editor-help strong {
    color: var(--wlf-white);
}

.venue-mass-table-wrap {
    max-height: calc(100vh - 210px);
    overflow: auto;
    background: #030704;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 13px;
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
}

.venue-mass-table {
    width: max-content;
    min-width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}

.venue-mass-table th,
.venue-mass-table td {
    min-width: 132px;
    padding: 6px;
    background: #07100a;
    border-right: 1px solid rgba(255, 255, 255, 0.065);
    border-bottom: 1px solid rgba(255, 255, 255, 0.065);
}

.venue-mass-table th {
    position: sticky;
    top: 0;
    z-index: 4;
    color: #829087;
    background: #0c1710;
    text-align: left;
    text-transform: uppercase;
    letter-spacing: 0.055em;
    font-size: 0.52rem;
    font-weight: 900;
}

.venue-mass-table th.is-sticky,
.venue-mass-table td.is-sticky {
    left: 0;
    z-index: 5;
    min-width: 76px;
    max-width: 76px;
    background: #0c1710;
}

.venue-mass-table td.is-sticky a {
    color: var(--wlf-green);
    text-decoration: none;
    font-size: 0.67rem;
    font-weight: 900;
}

.venue-mass-table input,
.venue-mass-table select {
    width: 100%;
    min-width: 118px;
    min-height: 36px;
    padding: 0 8px;
    color: #dfe7e2;
    background: #040805;
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 6px;
    font: inherit;
    font-size: 0.62rem;
}

.venue-mass-table input:focus,
.venue-mass-table select:focus {
    border-color: var(--wlf-green);
    outline: 2px solid rgba(155, 214, 47, 0.15);
}

.venue-mass-table td[data-state="pending"] input,
.venue-mass-table td[data-state="pending"] select {
    border-color: rgba(216, 191, 66, 0.6);
}

.venue-mass-table td[data-state="saving"] input,
.venue-mass-table td[data-state="saving"] select {
    border-color: #51b9d0;
}

.venue-mass-table td[data-state="saved"] input,
.venue-mass-table td[data-state="saved"] select {
    border-color: var(--wlf-green);
}

.venue-mass-table td[data-state="error"] input,
.venue-mass-table td[data-state="error"] select {
    border-color: #d85d5d;
}

.venue-smart-cell-state {
    display: block;
    min-height: 12px;
    margin-top: 3px;
    color: #748178;
    font-size: 0.48rem;
}

.venue-mass-table td[data-state="error"] .venue-smart-cell-state {
    color: #e68c8c;
}

.venue-mass-readonly {
    min-width: 150px !important;
    color: #78857d;
    font-size: 0.57rem;
    white-space: nowrap;
}

@media (max-width: 1100px) {
    .venue-admin-stat-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .venue-edit-layout,
    .venue-import-layout {
        grid-template-columns: 1fr;
    }

    .venue-edit-sidebar {
        position: static;
    }
}

@media (max-width: 800px) {
    .venue-admin-hero__title {
        display: block;
    }

    .venue-admin-hero__actions {
        justify-content: flex-start;
        margin-top: 22px;
    }

    .venue-admin-toolbar,
    .venue-mass-editor-toolbar {
        grid-template-columns: 1fr;
    }

    .venue-source-id-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .venue-mass-editor-status-bar {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 560px) {
    .venue-admin-hero {
        padding-top: 112px;
    }

    .venue-admin-stat-grid,
    .venue-import-count-grid,
    .venue-source-id-grid {
        grid-template-columns: 1fr;
    }

    .venue-admin-list-summary {
        align-items: flex-start;
        flex-direction: column;
    }

    .venue-edit-section,
    .venue-edit-sidebar-card,
    .venue-import-upload,
    .venue-import-guidance,
    .venue-import-preview,
    .venue-import-result {
        padding-inline: 19px;
    }
}





/* ------------------------------------------------------------------
   v1.12.0 Vault Venues
------------------------------------------------------------------- */

.venues-page,
.venue-profile-page,
.venue-admin-page {
    background:
        radial-gradient(circle at 84% 3%, rgba(155, 214, 47, 0.12), transparent 35rem),
        linear-gradient(180deg, #07110b 0%, #020403 100%);
}

.venues-directory-header {
    position: relative;
    overflow: hidden;
    padding: clamp(116px, 11vw, 158px) var(--page-padding) clamp(48px, 6vw, 76px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    isolation: isolate;
}

.venues-directory-header::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -2;
    background:
        linear-gradient(90deg, rgba(2, 5, 3, 0.98), rgba(8, 19, 12, 0.72)),
        repeating-linear-gradient(
            135deg,
            transparent 0 42px,
            rgba(255, 255, 255, 0.016) 42px 43px
        );
}

.venues-directory-header::after {
    content: "VENUES";
    position: absolute;
    right: -0.03em;
    bottom: -0.2em;
    z-index: -1;
    color: rgba(155, 214, 47, 0.035);
    letter-spacing: -0.08em;
    font-size: clamp(8rem, 18vw, 18rem);
    font-weight: 950;
    line-height: 0.72;
}

.venues-directory-header__inner,
.venue-results__inner,
.venue-profile-hero__inner,
.venue-profile-content__inner {
    width: min(100%, var(--content-width));
    margin-inline: auto;
}

.venues-title-row {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
}

.venues-title-row h1 {
    margin: 0;
    text-transform: uppercase;
    letter-spacing: -0.05em;
    line-height: 0.9;
    font-size: clamp(3.2rem, 7vw, 6.8rem);
}

.venues-title-row__intro {
    max-width: 720px;
    margin: 20px 0 0;
    color: var(--wlf-muted);
}

.alphabet-panel--venues {
    margin-top: 34px;
}

.venue-results {
    padding: clamp(48px, 7vw, 88px) var(--page-padding) clamp(78px, 9vw, 126px);
}

.venue-results__heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 28px;
}

.venue-results__kicker {
    margin: 0 0 8px;
    color: var(--wlf-green);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.64rem;
    font-weight: 950;
}

.venue-results__heading h2 {
    margin: 0;
    text-transform: uppercase;
    letter-spacing: -0.035em;
    font-size: clamp(2rem, 4.4vw, 4rem);
}

.venue-results__heading p:last-child {
    max-width: 720px;
    margin: 10px 0 0;
    color: #87948c;
}

.venue-count {
    color: #9daaa1;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    font-size: 0.63rem;
    font-weight: 900;
}

.venue-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(16px, 2vw, 25px);
}

.venue-card {
    overflow: hidden;
    background:
        linear-gradient(145deg, rgba(18, 33, 24, 0.98), rgba(5, 9, 6, 0.99));
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-top: 3px solid var(--wlf-green);
    border-radius: 17px;
    box-shadow: 0 18px 52px rgba(0, 0, 0, 0.3);
    transition:
        transform var(--transition),
        border-color var(--transition);
}

.venue-card:hover {
    border-color: rgba(155, 214, 47, 0.3);
    transform: translateY(-4px);
}

.venue-card__media {
    position: relative;
    min-height: 225px;
    overflow: hidden;
    background:
        radial-gradient(circle at 50% 40%, rgba(155, 214, 47, 0.15), transparent 58%),
        linear-gradient(180deg, #14271a, #061008);
}

.venue-card__media > img {
    display: block;
    width: 100%;
    height: 225px;
    object-fit: cover;
}

.venue-card__status {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
    display: inline-flex;
    min-height: 27px;
    align-items: center;
    padding: 0 9px;
    color: #071008;
    background: var(--wlf-green);
    border-radius: 999px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-size: 0.52rem;
    font-weight: 950;
}

.venue-card__status--historical {
    color: #eadcb7;
    background: rgba(24, 19, 7, 0.88);
    border: 1px solid rgba(216, 191, 66, 0.3);
}

.venue-card__photo-placeholder,
.venue-profile-photo__placeholder,
.venue-edit-photo-placeholder {
    position: relative;
    display: grid;
    width: 100%;
    height: 100%;
    min-height: inherit;
    place-items: center;
    overflow: hidden;
    background:
        linear-gradient(180deg, rgba(22, 45, 28, 0.88), rgba(5, 12, 7, 0.98));
}

.venue-card__photo-placeholder span,
.venue-profile-photo__placeholder span,
.venue-edit-photo-placeholder span {
    position: absolute;
    width: 78%;
    height: 52%;
    bottom: -10%;
    border: 3px solid rgba(255, 255, 255, 0.18);
    border-radius: 50% 50% 0 0;
    transform: perspective(300px) rotateX(58deg);
}

.venue-card__photo-placeholder::before,
.venue-profile-photo__placeholder::before,
.venue-edit-photo-placeholder::before {
    content: "";
    position: absolute;
    width: 72%;
    height: 4px;
    top: 31%;
    background: rgba(155, 214, 47, 0.65);
    box-shadow:
        0 24px 0 rgba(255, 255, 255, 0.24),
        0 48px 0 rgba(255, 255, 255, 0.12);
}

.venue-card__photo-placeholder strong,
.venue-profile-photo__placeholder strong,
.venue-edit-photo-placeholder strong {
    position: relative;
    z-index: 1;
    color: rgba(255, 255, 255, 0.84);
    text-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
    font-size: clamp(2rem, 4vw, 4.2rem);
    font-weight: 950;
}

.venue-card__content {
    padding: 20px;
}

.venue-card h3 {
    min-height: 52px;
    margin: 0;
    color: var(--wlf-white);
    letter-spacing: -0.028em;
    line-height: 1.05;
    font-size: clamp(1.25rem, 1.8vw, 1.75rem);
}

.venue-card__original-name {
    min-height: 38px;
    margin: 7px 0 0;
    color: #849188;
    font-size: 0.67rem;
}

.venue-card__details {
    display: grid;
    margin: 17px 0 0;
}

.venue-card__details > div {
    display: grid;
    grid-template-columns: minmax(85px, 0.75fr) minmax(0, 1.25fr);
    gap: 10px;
    padding: 11px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.075);
}

.venue-card__details dt {
    color: #748179;
    text-transform: uppercase;
    letter-spacing: 0.055em;
    font-size: 0.55rem;
    font-weight: 900;
}

.venue-card__details dd {
    margin: 0;
    color: #dce5df;
    text-align: right;
    font-size: 0.69rem;
    font-weight: 800;
}

.venue-card__profile-link {
    display: flex;
    min-height: 50px;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 18px;
    padding: 0 14px;
    color: #061006;
    background: linear-gradient(135deg, #b5e842, #72bd2b);
    border-radius: 9px;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.055em;
    font-size: 0.61rem;
    font-weight: 950;
}

/* Venue profile */
.venue-profile-hero {
    position: relative;
    overflow: hidden;
    padding: clamp(116px, 11vw, 158px) var(--page-padding) clamp(54px, 7vw, 88px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.venue-profile-hero__layout {
    display: grid;
    grid-template-columns: minmax(360px, 0.85fr) minmax(0, 1.15fr);
    align-items: center;
    gap: clamp(30px, 5vw, 70px);
    margin-top: 34px;
}

.venue-profile-photo {
    overflow: hidden;
    min-height: 410px;
    background: #061008;
    border: 1px solid rgba(255, 255, 255, 0.11);
    border-radius: 19px;
    box-shadow: 0 28px 68px rgba(0, 0, 0, 0.42);
}

.venue-profile-photo > img {
    display: block;
    width: 100%;
    height: 410px;
    object-fit: cover;
}

.venue-profile-photo__placeholder {
    min-height: 410px;
}

.venue-profile-summary__eyebrow {
    margin: 0 0 12px;
    color: var(--wlf-green);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-size: 0.68rem;
    font-weight: 950;
}

.venue-profile-summary h1 {
    margin: 0;
    text-transform: uppercase;
    letter-spacing: -0.052em;
    line-height: 0.9;
    font-size: clamp(3rem, 6.2vw, 6.4rem);
}

.venue-profile-summary__original {
    margin: 18px 0 0;
    color: #a9b4ad;
}

.venue-profile-summary__intro {
    max-width: 720px;
    margin: 22px 0 0;
    color: #c1cbc5;
}

.venue-profile-facts {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 31px;
    overflow: hidden;
    background: rgba(3, 8, 5, 0.68);
    border: 1px solid rgba(255, 255, 255, 0.11);
    border-top: 3px solid var(--wlf-green);
    border-radius: 13px;
}

.venue-profile-facts > div {
    padding: 17px;
    border-right: 1px solid rgba(255, 255, 255, 0.09);
}

.venue-profile-facts > div:last-child {
    border-right: 0;
}

.venue-profile-facts span,
.venue-profile-facts strong {
    display: block;
}

.venue-profile-facts span {
    margin-bottom: 7px;
    color: #859289;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    font-size: 0.56rem;
    font-weight: 900;
}

.venue-profile-facts strong {
    color: #edf3ef;
    font-size: 0.84rem;
}

.venue-profile-navigation .profile-navigation__inner {
    justify-content: center;
}

.venue-profile-content {
    padding: clamp(55px, 7vw, 102px) var(--page-padding) clamp(78px, 9vw, 126px);
}

.venue-profile-panels {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(18px, 2.5vw, 31px);
}

.venue-record-placeholder {
    display: grid;
    grid-template-columns: minmax(280px, 0.7fr) minmax(0, 1.3fr);
    max-width: 1100px;
    overflow: hidden;
    background:
        linear-gradient(145deg, rgba(18, 33, 24, 0.98), rgba(5, 9, 6, 0.99));
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-top: 3px solid var(--wlf-green);
    border-radius: 18px;
    box-shadow: 0 20px 58px rgba(0, 0, 0, 0.3);
}

.venue-record-placeholder__media {
    min-height: 300px;
    overflow: hidden;
    background: #061008;
}

.venue-record-placeholder__media > img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.venue-profile-photo__placeholder--small {
    min-height: 300px;
}

.venue-record-placeholder__content {
    align-self: center;
    padding: clamp(28px, 4vw, 50px);
}

.venue-record-placeholder__eyebrow {
    margin: 0 0 7px;
    color: var(--wlf-green);
    text-transform: uppercase;
    letter-spacing: 0.13em;
    font-size: 0.66rem;
    font-weight: 900;
}

.venue-record-placeholder h3 {
    margin: 0;
    text-transform: uppercase;
    letter-spacing: -0.025em;
    line-height: 1;
    font-size: clamp(1.7rem, 3.3vw, 3.2rem);
}

.venue-record-placeholder__content > p:not(.venue-record-placeholder__eyebrow) {
    max-width: 700px;
    margin: 19px 0 0;
    color: var(--wlf-muted);
    line-height: 1.7;
}

/* Venue Management additions */
.venue-admin-toolbar {
    grid-template-columns:
        minmax(260px, 1fr)
        minmax(150px, 0.3fr)
        minmax(140px, 0.25fr)
        minmax(140px, 0.25fr)
        auto;
}

.venue-admin-list-summary > div {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.venue-admin-identity {
    display: grid;
    min-width: 260px;
    grid-template-columns: 72px minmax(0, 1fr);
    align-items: center;
    gap: 12px;
}

.venue-admin-photo {
    display: grid;
    width: 70px;
    height: 48px;
    place-items: center;
    overflow: hidden;
    color: #061006;
    background: var(--wlf-green);
    border-radius: 7px;
    font-size: 0.65rem;
    font-weight: 950;
}

.venue-admin-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.venue-feature-badges {
    display: flex;
    min-width: 170px;
    flex-wrap: wrap;
    gap: 5px;
}

.venue-feature-badges span {
    display: inline-flex;
    min-height: 24px;
    align-items: center;
    padding: 0 7px;
    color: #75827a;
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 999px;
    text-transform: uppercase;
    letter-spacing: 0.045em;
    font-size: 0.46rem;
    font-weight: 900;
}

.venue-feature-badges span.is-yes {
    color: #061006;
    background: var(--wlf-green);
    border-color: var(--wlf-green);
}

.venue-feature-editor-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.venue-photo-storage-note {
    display: grid;
    gap: 6px;
    padding: 13px;
    background: rgba(255, 255, 255, 0.027);
    border: 1px solid rgba(255, 255, 255, 0.075);
    border-radius: 9px;
}

.venue-photo-storage-note span {
    color: #849188;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-size: 0.58rem;
    font-weight: 900;
}

.venue-photo-storage-note code {
    color: var(--wlf-green);
    overflow-wrap: anywhere;
}

.venue-edit-photo-preview {
    min-height: 285px;
    margin-top: 16px;
    overflow: hidden;
    background: #061008;
    border-radius: 12px;
}

.venue-edit-photo-preview > img {
    display: block;
    width: 100%;
    height: 285px;
    object-fit: cover;
}

.venue-edit-photo-placeholder {
    min-height: 285px;
}

.venue-photo-remove-button {
    width: 100%;
    min-height: 40px;
    margin-top: 16px;
    color: #efcaca;
    background: rgba(202, 73, 73, 0.07);
    border: 1px solid rgba(202, 73, 73, 0.18);
    border-radius: 8px;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.055em;
    font-size: 0.57rem;
    font-weight: 900;
}

.venue-mass-editor-toolbar {
    grid-template-columns:
        minmax(260px, 1fr)
        minmax(150px, 0.25fr)
        minmax(150px, 0.25fr)
        auto;
}

.venue-mass-table {
    min-width: 2500px;
}

.venue-mass-table th.is-sticky,
.venue-mass-table td.is-sticky {
    min-width: 78px;
    max-width: 78px;
}

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

    .venue-profile-hero__layout {
        grid-template-columns: 1fr;
    }

    .venue-profile-photo {
        max-width: 780px;
    }

    .venue-admin-toolbar,
    .venue-mass-editor-toolbar {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .venues-title-row,
    .venue-results__heading {
        display: block;
    }

    .venue-count {
        display: inline-block;
        margin-top: 15px;
    }

    .venue-profile-panels,
    .venue-record-placeholder {
        grid-template-columns: 1fr;
    }

    .venue-profile-facts {
        grid-template-columns: 1fr;
    }

    .venue-profile-facts > div {
        border-right: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.09);
    }

    .venue-profile-facts > div:last-child {
        border-bottom: 0;
    }

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

@media (max-width: 620px) {
    .venue-grid,
    .venue-admin-toolbar,
    .venue-mass-editor-toolbar {
        grid-template-columns: 1fr;
    }

    .venue-profile-photo,
    .venue-profile-photo > img,
    .venue-profile-photo__placeholder {
        min-height: 310px;
        height: 310px;
    }
}


/* ------------------------------------------------------------------
   v1.12.1 Venue Source IDs
------------------------------------------------------------------- */

.venue-mass-table {
    min-width: 3300px;
}

@media (max-width: 860px) {
    .venue-source-id-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 560px) {
    .venue-source-id-grid {
        grid-template-columns: 1fr;
    }
}


/* ------------------------------------------------------------------
   v1.12.2 Venue Region
------------------------------------------------------------------- */

.venue-mass-table {
    min-width: 3450px;
}

/* ------------------------------------------------------------------
   v1.15.0 Bulk Image Import Manager
------------------------------------------------------------------- */
.media-import-page .role-panel-content__inner {
    max-width: 1500px;
}

.media-import-layout {
    grid-template-columns: minmax(0, 1fr) minmax(360px, 0.62fr);
}

.media-import-guidance h3 {
    margin: 28px 0 10px;
    color: var(--wlf-white);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-size: 0.78rem;
}

.media-import-examples {
    display: grid;
    gap: 7px;
    margin: 18px 0;
}

.media-import-examples code {
    display: block;
    padding: 10px 12px;
    color: #b9df75;
    background: rgba(155, 214, 47, 0.055);
    border: 1px solid rgba(155, 214, 47, 0.13);
    border-radius: 8px;
    overflow-wrap: anywhere;
    font-size: 0.65rem;
}

.media-import-template-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.media-import-template-links a {
    padding: 8px 10px;
    color: #d7e2da;
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 7px;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.045em;
    font-size: 0.56rem;
    font-weight: 900;
}

.media-import-template-links a:hover {
    color: var(--wlf-green);
    border-color: rgba(155, 214, 47, 0.34);
}

.media-import-job {
    max-width: none;
}

.media-import-status,
.media-import-item-status {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 7px 10px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: 0.055em;
    font-size: 0.53rem;
    font-weight: 900;
}

.media-import-status--ready,
.media-import-status--completed,
.media-import-item-status--ready,
.media-import-item-status--imported {
    color: #bde879;
    background: rgba(155, 214, 47, 0.08);
    border-color: rgba(155, 214, 47, 0.25);
}

.media-import-status--analysing,
.media-import-status--importing,
.media-import-status--uploaded {
    color: #8ed7e6;
    background: rgba(81, 185, 208, 0.08);
    border-color: rgba(81, 185, 208, 0.25);
}

.media-import-item-status--skipped {
    color: #d8c88c;
    background: rgba(204, 172, 74, 0.08);
    border-color: rgba(204, 172, 74, 0.23);
}

.media-import-item-status--invalid,
.media-import-item-status--conflict,
.media-import-item-status--failed,
.media-import-status--expired,
.media-import-status--cancelled {
    color: #efb1b1;
    background: rgba(216, 93, 93, 0.08);
    border-color: rgba(216, 93, 93, 0.25);
}

.media-import-count-grid {
    grid-template-columns: repeat(7, minmax(110px, 1fr));
}

.media-import-progress-note {
    margin: 0;
    color: #7f8d84;
    font-size: 0.62rem;
}

.media-import-table-wrap {
    margin-top: 22px;
    overflow-x: auto;
    background: #030704;
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 12px;
}

.media-import-table {
    width: 100%;
    min-width: 1180px;
    border-collapse: collapse;
}

.media-import-table th,
.media-import-table td {
    padding: 11px 12px;
    text-align: left;
    vertical-align: top;
    border-right: 1px solid rgba(255, 255, 255, 0.06);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.media-import-table th {
    color: #89958d;
    background: rgba(255, 255, 255, 0.035);
    text-transform: uppercase;
    letter-spacing: 0.055em;
    font-size: 0.52rem;
}

.media-import-table td {
    color: #cbd5cf;
    font-size: 0.64rem;
    line-height: 1.45;
}

.media-import-table td:last-child {
    min-width: 260px;
    color: #96a39a;
    white-space: normal;
}

.media-import-table code {
    color: #b9df75;
    overflow-wrap: anywhere;
}

.media-import-complete-note {
    border-left-color: #51b9d0;
}

.media-import-history {
    margin-top: 44px;
}

.media-import-history-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.media-import-history-grid a {
    display: grid;
    gap: 7px;
    min-height: 130px;
    padding: 19px;
    color: inherit;
    background: linear-gradient(145deg, rgba(18, 33, 24, 0.94), rgba(5, 9, 6, 0.98));
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 12px;
    text-decoration: none;
}

.media-import-history-grid a:hover {
    border-color: rgba(155, 214, 47, 0.32);
    transform: translateY(-2px);
}

.media-import-history-grid span,
.media-import-history-grid small {
    color: #7f8d84;
    font-size: 0.58rem;
}

.media-import-history-grid span {
    color: var(--wlf-green);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 900;
}

.media-import-history-grid strong {
    color: var(--wlf-white);
    overflow-wrap: anywhere;
    font-size: 0.82rem;
}

@media (max-width: 1250px) {
    .media-import-count-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

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

@media (max-width: 720px) {
    .media-import-layout,
    .media-import-count-grid,
    .media-import-history-grid {
        grid-template-columns: 1fr;
    }
}

/* Competition History Management v1.16.1 */
.competition-history-table {
    min-width: 1540px;
}

.competition-history-flags {
    display: flex;
    min-width: 150px;
    flex-wrap: wrap;
    gap: 4px;
}

.competition-history-flags .competition-acomp-badge {
    display: inline-flex !important;
    margin: 0;
}

.competition-history-form {
    display: grid;
    gap: 22px;
}

.competition-history-form-section {
    padding: 24px;
    background: linear-gradient(145deg, rgba(18, 33, 24, 0.96), rgba(5, 9, 6, 0.99));
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 15px;
}

.competition-history-form-section__heading {
    margin-bottom: 18px;
}

.competition-history-form-section__heading h2,
.competition-history-form-section__heading p {
    margin-top: 0;
}

.competition-history-form-section__heading p:last-child {
    margin-bottom: 0;
    color: #89968d;
    font-size: 0.72rem;
}

.competition-history-form-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.competition-history-form-grid--pairs {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.competition-history-audit-row,
.competition-history-form-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

.competition-history-audit-row {
    justify-content: space-between;
    padding: 13px 16px;
    color: #849188;
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 10px;
    font-size: 0.65rem;
}

.competition-history-preview-table,
.competition-history-mass-table {
    min-width: 3500px;
}

.competition-history-mass-table input,
.competition-history-mass-table select {
    min-width: 120px;
}

.competition-history-mass-table input[data-comp-history-field="Competition"],
.competition-history-mass-table input[data-comp-history-field="Premiers"],
.competition-history-mass-table input[data-comp-history-field="runup"],
.competition-history-mass-table input[data-comp-history-field="mpremiers"],
.competition-history-mass-table input[data-comp-history-field="wspon"] {
    min-width: 190px;
}

@media (max-width: 1100px) {
    .competition-history-form-grid,
    .competition-history-form-grid--pairs {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 660px) {
    .competition-history-form-grid,
    .competition-history-form-grid--pairs {
        grid-template-columns: 1fr;
    }
}

/* Competition History source-ID mapping v1.16.2 */
.competition-history-source-id {
    display: block;
    margin-top: 0.25rem;
    color: var(--muted, #667085);
    font-size: 0.72rem;
    white-space: nowrap;
}

.competition-history-source-status {
    display: inline-block;
    max-width: 24rem;
    font-size: 0.78rem;
    font-weight: 700;
    line-height: 1.35;
}

.competition-history-source-status--ready {
    color: #067647;
}

.competition-history-source-status--error {
    color: #b42318;
}

/* Current-year competitions live database directory v1.16.4 */
.competition-logo-placeholder--image {
    overflow: hidden;
    padding: 6px;
    background: rgba(255, 255, 255, 0.94);
    clip-path: none;
    border-radius: 14px;
}

.competition-logo-placeholder--image::before {
    display: none;
}

.competition-menu__logo-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.competition-menu__empty {
    grid-column: 1 / -1;
    padding: 24px;
    color: var(--wlf-muted);
    background: rgba(255, 255, 255, 0.035);
    border: 1px dashed rgba(255, 255, 255, 0.13);
    border-radius: 13px;
    text-align: center;
    font-size: 0.84rem;
    font-weight: 700;
}

.competition-page-banner code,
.current-competition-directory code,
.current-competition-empty code {
    padding: 0.12em 0.38em;
    color: #dff3ca;
    background: rgba(155, 214, 47, 0.1);
    border: 1px solid rgba(155, 214, 47, 0.2);
    border-radius: 5px;
    font-size: 0.86em;
}

.current-competition-feature,
.current-competition-directory {
    padding: clamp(48px, 6vw, 86px) var(--page-padding);
}

.current-competition-feature {
    padding-bottom: 0;
}

.current-competition-feature__inner,
.current-competition-directory__inner {
    width: min(100%, var(--content-width));
    margin-inline: auto;
}

.current-competition-feature__back {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 20px;
    color: #dce5df;
    text-decoration: none;
    font-size: 0.83rem;
    font-weight: 850;
}

.current-competition-feature__back span {
    color: var(--wlf-green);
    transition: transform var(--transition);
}

.current-competition-feature__back:hover span {
    transform: translateX(-4px);
}

.current-competition-hero {
    position: relative;
    overflow: hidden;
    padding: clamp(24px, 4vw, 46px);
    background:
        radial-gradient(circle at 88% 12%, rgba(155, 214, 47, 0.15), transparent 29rem),
        linear-gradient(145deg, rgba(19, 35, 25, 0.98), rgba(5, 10, 7, 0.99));
    border: 1px solid rgba(255, 255, 255, 0.11);
    border-radius: 24px;
    box-shadow: 0 26px 72px rgba(0, 0, 0, 0.34);
}

.current-competition-hero::before,
.current-competition-card::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--wlf-green), rgba(216, 191, 66, 0.8), transparent 65%);
}

.current-competition-hero__identity {
    display: flex;
    align-items: center;
    gap: clamp(20px, 3vw, 38px);
    padding-bottom: clamp(24px, 3vw, 36px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}

.current-competition-logo {
    position: relative;
    display: grid;
    width: 84px;
    height: 84px;
    flex: 0 0 auto;
    place-items: center;
    overflow: hidden;
    padding: 10px;
    color: var(--wlf-green);
    background:
        radial-gradient(circle at 38% 30%, rgba(155, 214, 47, 0.19), transparent 44%),
        linear-gradient(145deg, #1d3825, #07100a);
    border: 1px solid rgba(255, 255, 255, 0.17);
    border-radius: 20px;
    box-shadow:
        inset 0 0 0 4px rgba(0, 0, 0, 0.18),
        0 14px 34px rgba(0, 0, 0, 0.34);
    letter-spacing: -0.045em;
    font-size: 1.1rem;
    font-weight: 950;
}

.current-competition-logo--hero {
    width: clamp(108px, 12vw, 148px);
    height: clamp(108px, 12vw, 148px);
    padding: 16px;
    border-radius: 28px;
    font-size: clamp(1.5rem, 3vw, 2.35rem);
}

.current-competition-logo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.current-competition-hero__eyebrow,
.current-competition-directory__kicker,
.current-competition-card__identity p {
    margin: 0 0 8px;
    color: var(--wlf-green);
    text-transform: uppercase;
    letter-spacing: 0.13em;
    font-size: 0.67rem;
    font-weight: 900;
}

.current-competition-hero h2 {
    margin: 0;
    letter-spacing: -0.045em;
    line-height: 0.98;
    font-size: clamp(2rem, 5vw, 5rem);
}

.current-competition-hero__parent,
.current-competition-hero__country {
    margin: 11px 0 0;
    color: var(--wlf-muted);
}

.current-competition-hero__country {
    color: #dfe8e2;
    font-weight: 750;
}

.current-competition-stat-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 1px;
    overflow: hidden;
    margin: clamp(24px, 3vw, 36px) 0 0;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
}

.current-competition-stat-grid > div {
    min-width: 0;
    padding: 17px 13px;
    background: rgba(5, 11, 7, 0.94);
    text-align: center;
}

.current-competition-stat-grid dt,
.current-competition-honours dt,
.current-competition-card__stats dt,
.current-competition-card__premier span {
    color: #829087;
    text-transform: uppercase;
    letter-spacing: 0.075em;
    font-size: 0.56rem;
    font-weight: 900;
}

.current-competition-stat-grid dd {
    margin: 7px 0 0;
    color: var(--wlf-white);
    font-size: clamp(1rem, 1.6vw, 1.35rem);
    font-weight: 900;
}

.current-competition-honours {
    margin-top: clamp(24px, 3vw, 36px);
}

.current-competition-honours h3 {
    margin: 0 0 13px;
    text-transform: uppercase;
    letter-spacing: -0.025em;
    font-size: clamp(1.35rem, 2.5vw, 2rem);
}

.current-competition-honours dl {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin: 0;
}

.current-competition-honours dl > div {
    padding: 17px;
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 13px;
}

.current-competition-honours dd {
    margin: 7px 0 0;
    color: #e4ebe7;
    line-height: 1.3;
    font-size: 0.9rem;
    font-weight: 800;
}

.current-competition-capabilities {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 22px;
}

.current-competition-capabilities span {
    display: inline-flex;
    min-height: 31px;
    align-items: center;
    padding: 0 10px;
    border-radius: 999px;
    text-transform: uppercase;
    letter-spacing: 0.055em;
    font-size: 0.57rem;
    font-weight: 900;
}

.current-competition-capabilities .is-enabled {
    color: #dcf6c2;
    background: rgba(155, 214, 47, 0.1);
    border: 1px solid rgba(155, 214, 47, 0.25);
}

.current-competition-capabilities .is-disabled {
    color: #aab4ae;
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(255, 255, 255, 0.09);
}

.current-competition-directory__heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 28px;
    margin-bottom: clamp(27px, 3.7vw, 46px);
}

.current-competition-directory__heading h2 {
    margin: 0;
    text-transform: uppercase;
    letter-spacing: -0.04em;
    line-height: 1;
    font-size: clamp(2rem, 4.4vw, 4.35rem);
}

.current-competition-directory__heading p:not(.current-competition-directory__kicker) {
    max-width: 780px;
    margin: 14px 0 0;
    color: var(--wlf-muted);
}

.current-competition-directory__count {
    display: inline-flex;
    min-height: 40px;
    align-items: center;
    padding: 0 14px;
    color: #dce5df;
    background: rgba(255, 255, 255, 0.045);
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 999px;
    font-size: 0.76rem;
    font-weight: 850;
    white-space: nowrap;
}

.current-competition-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(14px, 1.7vw, 24px);
}

.current-competition-card {
    position: relative;
    min-width: 0;
    overflow: hidden;
    background: linear-gradient(155deg, rgba(18, 32, 24, 0.98), rgba(5, 9, 6, 0.99));
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 18px;
    box-shadow: 0 16px 45px rgba(0, 0, 0, 0.29);
    transition:
        transform var(--transition),
        border-color var(--transition),
        box-shadow var(--transition);
}

.current-competition-card:hover,
.current-competition-card.is-selected {
    border-color: rgba(155, 214, 47, 0.4);
    box-shadow: 0 23px 54px rgba(0, 0, 0, 0.42);
    transform: translateY(-4px);
}

.current-competition-card__identity {
    display: flex;
    min-height: 151px;
    align-items: center;
    gap: 16px;
    padding: 25px 19px 19px;
    color: inherit;
    background:
        radial-gradient(circle at 17% 50%, rgba(155, 214, 47, 0.1), transparent 12rem),
        rgba(255, 255, 255, 0.018);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    text-decoration: none;
}

.current-competition-card__identity > div:last-child {
    min-width: 0;
}

.current-competition-card__identity h3 {
    margin: 0;
    color: var(--wlf-white);
    letter-spacing: -0.03em;
    line-height: 1.08;
    font-size: clamp(1.15rem, 1.6vw, 1.52rem);
}

.current-competition-card__identity small {
    display: block;
    margin-top: 7px;
    overflow: hidden;
    color: var(--wlf-muted);
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 0.68rem;
}

.current-competition-card__stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1px;
    margin: 0;
    background: rgba(255, 255, 255, 0.07);
}

.current-competition-card__stats > div {
    padding: 13px 8px;
    background: rgba(5, 10, 7, 0.96);
    text-align: center;
}

.current-competition-card__stats dd {
    margin: 4px 0 0;
    color: #e3ebe6;
    font-size: 0.95rem;
    font-weight: 900;
}

.current-competition-card__premier {
    display: grid;
    gap: 5px;
    min-height: 70px;
    align-content: center;
    padding: 13px 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.075);
}

.current-competition-card__premier strong {
    overflow: hidden;
    color: #e2eae5;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 0.78rem;
}

.current-competition-card__link {
    display: flex;
    min-height: 50px;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 0 18px;
    color: #dce5df;
    text-decoration: none;
    font-size: 0.76rem;
    font-weight: 850;
}

.current-competition-card__link span {
    color: var(--wlf-green);
    transition: transform var(--transition);
}

.current-competition-card__link:hover span {
    transform: translateX(4px);
}

.current-competition-empty {
    padding: clamp(26px, 4vw, 46px);
    background: linear-gradient(145deg, rgba(18, 32, 24, 0.94), rgba(7, 13, 9, 0.96));
    border: 1px dashed rgba(255, 255, 255, 0.14);
    border-radius: 18px;
    text-align: center;
}

.current-competition-empty h3 {
    margin: 0 0 11px;
    font-size: clamp(1.4rem, 3vw, 2.25rem);
}

.current-competition-empty p {
    max-width: 720px;
    margin: 0 auto;
    color: var(--wlf-muted);
}

@media (max-width: 1180px) {
    .current-competition-stat-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

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

@media (max-width: 900px) {
    .current-competition-stat-grid,
    .current-competition-honours dl {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

@media (max-width: 620px) {
    .current-competition-hero__identity,
    .current-competition-directory__heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .current-competition-logo--hero {
        width: 104px;
        height: 104px;
        border-radius: 23px;
    }

    .current-competition-stat-grid,
    .current-competition-honours dl,
    .current-competition-grid {
        grid-template-columns: 1fr;
    }

    .current-competition-stat-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .current-competition-card__identity {
        min-height: 132px;
    }
}

/* Competition current-season home v1.16.6 */
.competition-season-hero {
    position: relative;
    overflow: hidden;
    padding: clamp(54px, 7vw, 104px) var(--page-padding) clamp(38px, 5vw, 68px);
    background:
        radial-gradient(circle at 82% 18%, rgba(155, 214, 47, 0.19), transparent 29rem),
        linear-gradient(135deg, #14281b 0%, #07100a 48%, #030604 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.competition-season-hero__backdrop {
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0.52;
    background:
        linear-gradient(90deg, transparent 0 49.7%, rgba(255, 255, 255, 0.045) 49.7% 50.3%, transparent 50.3%),
        linear-gradient(0deg, transparent 0 49.7%, rgba(255, 255, 255, 0.035) 49.7% 50.3%, transparent 50.3%),
        repeating-linear-gradient(90deg, transparent 0 11.8%, rgba(255, 255, 255, 0.025) 11.8% 12%, transparent 12% 24%);
    mask-image: linear-gradient(to right, transparent, #000 24%, #000 100%);
}

.competition-season-hero__inner,
.competition-season-tabs__inner,
.competition-home__inner,
.competition-section-placeholder__inner {
    position: relative;
    z-index: 1;
    width: min(100%, var(--content-width));
    margin-inline: auto;
}

.competition-season-hero__back {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-bottom: clamp(24px, 3vw, 38px);
    color: #dce5df;
    text-decoration: none;
    font-size: 0.78rem;
    font-weight: 850;
}

.competition-season-hero__back span {
    color: var(--wlf-green);
    transition: transform var(--transition);
}

.competition-season-hero__back:hover span {
    transform: translateX(-4px);
}

.competition-season-hero__content {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: clamp(22px, 3.5vw, 52px);
}

.competition-season-hero__logo {
    display: grid;
    width: clamp(118px, 12vw, 176px);
    height: clamp(118px, 12vw, 176px);
    place-items: center;
    overflow: hidden;
    padding: clamp(14px, 2vw, 24px);
    color: var(--wlf-green);
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.26);
    border-radius: clamp(22px, 3vw, 34px);
    box-shadow: 0 28px 75px rgba(0, 0, 0, 0.38);
    font-size: clamp(1.6rem, 3vw, 2.7rem);
    font-weight: 950;
}

.competition-season-hero__logo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.competition-season-hero__year {
    margin: 0 0 8px;
    color: var(--wlf-green);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-size: clamp(0.8rem, 1.4vw, 1.04rem);
    font-weight: 950;
}

.competition-season-hero__identity h1 {
    max-width: 930px;
    margin: 0;
    letter-spacing: -0.055em;
    line-height: 0.95;
    font-size: clamp(2.45rem, 6vw, 6.4rem);
}

.competition-season-hero__summary {
    max-width: 760px;
    margin: 18px 0 0;
    color: #c3cec7;
    line-height: 1.65;
    font-size: clamp(0.92rem, 1.4vw, 1.08rem);
}

.competition-season-hero__quick-stats {
    display: grid;
    min-width: 210px;
    gap: 1px;
    overflow: hidden;
    margin: 0;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.11);
    border-radius: 18px;
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.24);
}

.competition-season-hero__quick-stats > div {
    display: flex;
    min-height: 67px;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 12px 18px;
    background: rgba(4, 10, 6, 0.86);
}

.competition-season-hero__quick-stats dt {
    color: #93a098;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.59rem;
    font-weight: 900;
}

.competition-season-hero__quick-stats dd {
    margin: 0;
    color: var(--wlf-white);
    font-size: 1.22rem;
    font-weight: 950;
}

.competition-season-tabs {
    position: sticky;
    top: var(--header-height, 86px);
    z-index: 20;
    background: rgba(5, 11, 7, 0.95);
    border-bottom: 1px solid rgba(255, 255, 255, 0.09);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.23);
    backdrop-filter: blur(18px);
}

.competition-season-tabs__inner {
    display: flex;
    overflow-x: auto;
    scrollbar-width: thin;
}

.competition-season-tabs__link {
    position: relative;
    display: inline-flex;
    min-height: 64px;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    padding: 0 clamp(17px, 2.2vw, 32px);
    color: #aeb9b2;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.075em;
    font-size: 0.72rem;
    font-weight: 900;
    transition: color var(--transition), background var(--transition);
}

.competition-season-tabs__link::after {
    content: "";
    position: absolute;
    right: 16px;
    bottom: 0;
    left: 16px;
    height: 3px;
    background: var(--wlf-green);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform var(--transition);
}

.competition-season-tabs__link:hover,
.competition-season-tabs__link.is-active {
    color: var(--wlf-white);
    background: rgba(255, 255, 255, 0.035);
}

.competition-season-tabs__link.is-active::after {
    transform: scaleX(1);
}

.competition-home {
    padding: clamp(46px, 6vw, 86px) var(--page-padding) clamp(68px, 8vw, 118px);
    background:
        radial-gradient(circle at 7% 8%, rgba(155, 214, 47, 0.055), transparent 28rem),
        var(--wlf-black);
}

.competition-home__layout {
    display: grid;
    grid-template-columns: minmax(0, 4fr) minmax(245px, 1fr);
    align-items: start;
    gap: clamp(20px, 2.2vw, 34px);
}

.competition-home__main,
.competition-home__sidebar {
    min-width: 0;
}

.competition-home__main {
    display: grid;
    gap: clamp(52px, 6vw, 86px);
}

.competition-home__sidebar {
    display: grid;
    gap: 24px;
}

.competition-home-section__heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: clamp(22px, 2.8vw, 34px);
}

.competition-home-section__eyebrow,
.competition-side-card__heading p {
    margin: 0 0 7px;
    color: var(--wlf-green);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.64rem;
    font-weight: 950;
}

.competition-home-section__heading h2,
.competition-side-card__heading h2,
.competition-section-placeholder h2 {
    margin: 0;
    text-transform: uppercase;
    letter-spacing: -0.045em;
    line-height: 1;
    font-size: clamp(1.8rem, 3.5vw, 3.35rem);
}

.competition-home-section__heading > a {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding-bottom: 4px;
    color: #d7e1db;
    text-decoration: none;
    white-space: nowrap;
    font-size: 0.74rem;
    font-weight: 850;
}

.competition-home-section__heading > a span {
    color: var(--wlf-green);
    transition: transform var(--transition);
}

.competition-home-section__heading > a:hover span {
    transform: translateX(4px);
}

.competition-news-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: clamp(10px, 1.15vw, 18px);
}

.competition-news-card {
    min-width: 0;
    overflow: hidden;
    background: linear-gradient(155deg, rgba(19, 33, 25, 0.97), rgba(6, 11, 8, 0.99));
    border: 1px solid rgba(255, 255, 255, 0.085);
    border-radius: 14px;
    box-shadow: 0 13px 32px rgba(0, 0, 0, 0.24);
    transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.competition-news-card:hover {
    border-color: rgba(155, 214, 47, 0.32);
    box-shadow: 0 21px 46px rgba(0, 0, 0, 0.34);
    transform: translateY(-4px);
}

.competition-news-card__image {
    position: relative;
    display: grid;
    aspect-ratio: 16 / 10;
    place-items: center;
    overflow: hidden;
    padding: 24px;
    background:
        linear-gradient(145deg, rgba(155, 214, 47, 0.19), rgba(8, 18, 11, 0.7)),
        repeating-linear-gradient(45deg, transparent 0 18px, rgba(255, 255, 255, 0.035) 18px 19px);
}

.competition-news-card__image--2 {
    background: linear-gradient(145deg, rgba(216, 191, 66, 0.2), rgba(8, 18, 11, 0.8));
}

.competition-news-card__image--3 {
    background: linear-gradient(145deg, rgba(41, 121, 86, 0.34), rgba(5, 12, 8, 0.85));
}

.competition-news-card__image--4 {
    background: linear-gradient(145deg, rgba(84, 105, 94, 0.34), rgba(6, 12, 8, 0.9));
}

.competition-news-card__image--5 {
    background: linear-gradient(145deg, rgba(155, 214, 47, 0.12), rgba(38, 48, 42, 0.54));
}

.competition-news-card__image img {
    display: block;
    width: min(72%, 92px);
    height: min(72%, 92px);
    object-fit: contain;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.35));
}

.competition-news-card__image strong {
    color: var(--wlf-green);
    font-size: clamp(1.1rem, 2vw, 1.8rem);
    font-weight: 950;
}

.competition-news-card__category {
    position: absolute;
    top: 9px;
    left: 9px;
    padding: 5px 7px;
    color: #dff3ca;
    background: rgba(4, 9, 6, 0.78);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 999px;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    font-size: 0.48rem;
    font-weight: 900;
}

.competition-news-card__body {
    display: flex;
    min-height: 224px;
    flex-direction: column;
    padding: 14px 13px 13px;
}

.competition-news-card__body h3 {
    margin: 0;
    color: #f1f5f2;
    letter-spacing: -0.02em;
    line-height: 1.28;
    font-size: clamp(0.83rem, 1.08vw, 1.02rem);
}

.competition-news-card__body p {
    display: -webkit-box;
    margin: 10px 0 14px;
    overflow: hidden;
    color: #9eaaa3;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 5;
    line-height: 1.5;
    font-size: 0.69rem;
}

.competition-news-card__placeholder {
    margin-top: auto;
    color: #6f7c74;
    text-transform: uppercase;
    letter-spacing: 0.075em;
    font-size: 0.51rem;
    font-weight: 850;
}

.competition-season-spotlight {
    margin-top: clamp(56px, 7vw, 96px);
    padding-top: clamp(38px, 5vw, 64px);
    border-top: 1px solid rgba(255, 255, 255, 0.085);
}

.competition-season-spotlight__grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: clamp(12px, 1.35vw, 20px);
}

.competition-stat-card,
.competition-side-card {
    background: linear-gradient(155deg, rgba(18, 33, 24, 0.98), rgba(5, 10, 7, 0.99));
    border: 1px solid rgba(255, 255, 255, 0.09);
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.28);
}

.competition-stat-card {
    position: relative;
    min-width: 0;
    overflow: hidden;
    border-radius: 17px;
}

.competition-stat-card::before,
.competition-side-card::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    z-index: 1;
    height: 3px;
    background: linear-gradient(90deg, var(--wlf-green), rgba(216, 191, 66, 0.8), transparent 76%);
}

.competition-stat-card__header {
    display: flex;
    min-height: 72px;
    align-items: center;
    padding: 19px 17px 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.085);
}

.competition-stat-card__header p {
    margin: 0;
    color: var(--wlf-green);
    text-transform: uppercase;
    letter-spacing: 0.075em;
    line-height: 1.2;
    font-size: clamp(0.68rem, 0.9vw, 0.82rem);
    font-weight: 950;
}

.competition-stat-card__featured {
    border-bottom: 1px solid rgba(255, 255, 255, 0.085);
}

.competition-stat-card__image {
    position: relative;
    display: grid;
    height: clamp(170px, 15vw, 230px);
    overflow: hidden;
    place-items: end center;
    background:
        radial-gradient(circle at 50% 42%, rgba(155, 214, 47, 0.22), transparent 9.5rem),
        linear-gradient(155deg, #203827, #09130d);
}

.competition-stat-card__image img {
    display: block;
    width: min(82%, 210px);
    max-height: 94%;
    object-fit: contain;
    object-position: bottom;
}

.competition-stat-card__image span {
    position: absolute;
    top: 13px;
    left: 13px;
    display: grid;
    width: 31px;
    height: 31px;
    place-items: center;
    color: #071008;
    background: var(--wlf-green);
    border-radius: 50%;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3);
    font-size: 0.75rem;
    font-weight: 950;
}

.competition-stat-card__featured-details {
    display: flex;
    min-height: 88px;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 15px 16px 17px;
}

.competition-stat-card__featured-details h3,
.competition-stat-card__leaders h4 {
    margin: 0;
    color: #f0f5f1;
    letter-spacing: -0.02em;
    line-height: 1.15;
}

.competition-stat-card__featured-details h3 {
    font-size: clamp(0.98rem, 1.2vw, 1.2rem);
}

.competition-stat-card__featured-details p,
.competition-stat-card__leaders p {
    margin: 5px 0 0;
    color: #8e9a92;
    line-height: 1.25;
    font-size: 0.68rem;
}

.competition-stat-card__featured-details > strong {
    flex: 0 0 auto;
    color: var(--wlf-white);
    font-size: clamp(1.45rem, 2vw, 2rem);
    font-weight: 950;
}

.competition-stat-card__leaders {
    display: grid;
    margin: 0;
    padding: 0;
    list-style: none;
}

.competition-stat-card__leaders li {
    display: grid;
    min-height: 70px;
    grid-template-columns: 26px minmax(0, 1fr) auto;
    align-items: center;
    gap: 9px;
    padding: 11px 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.065);
}

.competition-stat-card__leaders li:last-child {
    border-bottom: 0;
}

.competition-stat-card__rank {
    display: grid;
    width: 24px;
    height: 24px;
    place-items: center;
    color: #aab5ae;
    background: rgba(255, 255, 255, 0.055);
    border: 1px solid rgba(255, 255, 255, 0.075);
    border-radius: 50%;
    font-size: 0.63rem;
    font-weight: 900;
}

.competition-stat-card__leaders h4 {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 0.78rem;
}

.competition-stat-card__leaders strong {
    flex: 0 0 auto;
    color: var(--wlf-white);
    font-size: 1rem;
    font-weight: 950;
}

.competition-side-card {
    background: linear-gradient(155deg, rgba(18, 33, 24, 0.98), rgba(5, 10, 7, 0.99));
    border: 1px solid rgba(255, 255, 255, 0.09);
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.28);
}

.competition-season-leader {
    position: relative;
    display: grid;
    min-height: 330px;
    grid-template-rows: minmax(190px, 1fr) auto;
    overflow: hidden;
    border-radius: 18px;
}

.competition-season-leader::before,
.competition-side-card::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    z-index: 1;
    height: 3px;
    background: linear-gradient(90deg, var(--wlf-green), rgba(216, 191, 66, 0.8), transparent 76%);
}

.competition-season-leader__image {
    display: grid;
    overflow: hidden;
    place-items: end center;
    background:
        radial-gradient(circle at 50% 40%, rgba(155, 214, 47, 0.2), transparent 11rem),
        linear-gradient(155deg, #203827, #09130d);
}

.competition-season-leader__image img {
    display: block;
    width: min(74%, 250px);
    max-height: 220px;
    object-fit: contain;
    object-position: bottom;
}

.competition-season-leader__content {
    position: relative;
    padding: 19px 20px 22px;
}

.competition-season-leader__content p,
.competition-season-leader-row p {
    margin: 0 0 5px;
    color: var(--wlf-green);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.57rem;
    font-weight: 900;
}

.competition-season-leader__content h3,
.competition-season-leader-row h3 {
    margin: 0;
    color: #f0f5f1;
    letter-spacing: -0.026em;
    line-height: 1.1;
}

.competition-season-leader__content h3 {
    font-size: clamp(1.25rem, 2.2vw, 1.8rem);
}

.competition-season-leader__content span,
.competition-season-leader-row span {
    display: block;
    margin-top: 6px;
    color: #8e9a92;
    font-size: 0.73rem;
}

.competition-season-leader__content > strong {
    position: absolute;
    right: 19px;
    bottom: 18px;
    color: var(--wlf-white);
    font-size: 2rem;
    font-weight: 950;
}

.competition-season-leader-list {
    display: grid;
    gap: 10px;
}

.competition-season-leader-row {
    display: flex;
    min-height: 76px;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 13px 16px;
    border-radius: 13px;
}

.competition-season-leader-row h3 {
    font-size: 0.92rem;
}

.competition-season-leader-row > strong {
    flex: 0 0 auto;
    color: var(--wlf-white);
    font-size: 1.4rem;
    font-weight: 950;
}

.competition-side-card {
    position: relative;
    min-width: 0;
    overflow: hidden;
    border-radius: 17px;
}

.competition-side-card__heading {
    padding: 20px 18px 17px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.085);
}

.competition-side-card__heading h2 {
    font-size: clamp(1.25rem, 2vw, 1.7rem);
}

.competition-scoreboard__tabs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 9px;
    background: rgba(255, 255, 255, 0.025);
    border-bottom: 1px solid rgba(255, 255, 255, 0.075);
}

.competition-scoreboard__tab {
    min-height: 39px;
    color: #909c94;
    background: transparent;
    border: 0;
    border-radius: 9px;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    cursor: pointer;
    font: inherit;
    font-size: 0.62rem;
    font-weight: 900;
}

.competition-scoreboard__tab:hover,
.competition-scoreboard__tab.is-active {
    color: #eef5f0;
    background: rgba(155, 214, 47, 0.1);
    box-shadow: inset 0 0 0 1px rgba(155, 214, 47, 0.2);
}

.competition-scoreboard__panel {
    max-height: 655px;
    overflow-y: auto;
    scrollbar-width: thin;
}

.competition-scoreboard__panel[hidden] {
    display: none;
}

.competition-scoreboard-item {
    padding: 13px 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.065);
}

.competition-scoreboard-item:last-child {
    border-bottom: 0;
}

.competition-scoreboard-item > p {
    margin: 0 0 9px;
    color: #77847c;
    text-transform: uppercase;
    letter-spacing: 0.075em;
    font-size: 0.49rem;
    font-weight: 900;
}

.competition-scoreboard-item__teams {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    gap: 7px;
    color: #dde6e0;
    line-height: 1.25;
    font-size: 0.71rem;
    font-weight: 800;
}

.competition-scoreboard-item__teams span:last-child {
    text-align: right;
}

.competition-scoreboard-item__teams strong {
    color: var(--wlf-green);
    font-size: 0.57rem;
}

.competition-scoreboard-item small {
    display: block;
    margin-top: 8px;
    color: #78857d;
    line-height: 1.35;
    font-size: 0.57rem;
}

.competition-scoreboard-result {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto minmax(0, 1fr);
    align-items: center;
    gap: 7px;
    color: #dde6e0;
    line-height: 1.25;
    font-size: 0.69rem;
    font-weight: 800;
}

.competition-scoreboard-result span:last-child {
    text-align: right;
}

.competition-scoreboard-result strong {
    display: grid;
    width: 25px;
    height: 25px;
    place-items: center;
    color: #eff7f1;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 6px;
}

.competition-player-spotlight__image {
    display: grid;
    min-height: 235px;
    place-items: end center;
    overflow: hidden;
    background:
        radial-gradient(circle at 50% 42%, rgba(155, 214, 47, 0.2), transparent 12rem),
        linear-gradient(155deg, #1d3424, #07100a);
}

.competition-player-spotlight__image img {
    display: block;
    width: min(80%, 245px);
    max-height: 228px;
    object-fit: contain;
    object-position: bottom;
}

.competition-player-spotlight__identity {
    padding: 17px 17px 15px;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.competition-player-spotlight__identity h3 {
    margin: 0;
    color: #f1f5f2;
    letter-spacing: -0.025em;
    font-size: 1.1rem;
}

.competition-player-spotlight__identity p {
    margin: 6px 0 0;
    color: #8d9991;
    font-size: 0.69rem;
}

.competition-player-spotlight__stats {
    display: grid;
    gap: 15px;
    padding: 17px;
}

.competition-player-spotlight__stat-group h4 {
    margin: 0 0 9px;
    color: var(--wlf-green);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.56rem;
}

.competition-player-spotlight__stat-group dl {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1px;
    overflow: hidden;
    margin: 0;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.075);
    border-radius: 9px;
}

.competition-player-spotlight__stat-group dl > div {
    min-width: 0;
    padding: 9px 3px;
    background: rgba(4, 9, 6, 0.88);
    text-align: center;
}

.competition-player-spotlight__stat-group dt {
    color: #78847c;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.43rem;
    font-weight: 900;
}

.competition-player-spotlight__stat-group dd {
    margin: 4px 0 0;
    color: #ecf3ee;
    font-size: 0.82rem;
    font-weight: 900;
}

.competition-player-spotlight__note {
    margin: 0;
    padding: 0 17px 18px;
    color: #77837b;
    line-height: 1.5;
    font-size: 0.58rem;
}

.competition-section-placeholder {
    min-height: 540px;
    padding: clamp(70px, 9vw, 130px) var(--page-padding);
    background: var(--wlf-black);
}

.competition-section-placeholder__inner {
    padding: clamp(32px, 5vw, 64px);
    background:
        radial-gradient(circle at 88% 18%, rgba(155, 214, 47, 0.13), transparent 25rem),
        linear-gradient(145deg, rgba(18, 32, 24, 0.98), rgba(5, 10, 7, 0.99));
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 22px;
    box-shadow: 0 24px 65px rgba(0, 0, 0, 0.32);
}

.competition-section-placeholder p:not(.competition-home-section__eyebrow) {
    max-width: 760px;
    margin: 17px 0 0;
    color: #9da9a1;
    line-height: 1.7;
}

.competition-section-placeholder a {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-top: 28px;
    color: #eef5f0;
    text-decoration: none;
    font-size: 0.78rem;
    font-weight: 850;
}

.competition-section-placeholder a span {
    color: var(--wlf-green);
}

@media (max-width: 1320px) {
    .competition-news-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

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

    .competition-home__layout {
        grid-template-columns: minmax(0, 3.35fr) minmax(245px, 1fr);
    }
}

@media (max-width: 1080px) {
    .competition-season-hero__content {
        grid-template-columns: auto minmax(0, 1fr);
    }

    .competition-season-hero__quick-stats {
        grid-column: 1 / -1;
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .competition-season-hero__quick-stats > div {
        min-height: 58px;
    }

    .competition-home__layout {
        grid-template-columns: 1fr;
    }

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

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

    .competition-season-spotlight__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 820px) {
    .competition-season-hero__content {
        align-items: flex-start;
    }

    .competition-season-hero__logo {
        width: 112px;
        height: 112px;
    }

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

    .competition-home__sidebar {
        grid-template-columns: 1fr;
    }

    .competition-season-spotlight__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 620px) {
    .competition-season-hero {
        padding-top: 40px;
    }

    .competition-season-hero__content {
        grid-template-columns: 1fr;
    }

    .competition-season-hero__logo {
        width: 102px;
        height: 102px;
        border-radius: 22px;
    }

    .competition-season-hero__quick-stats {
        grid-template-columns: 1fr;
        width: 100%;
    }

    .competition-season-tabs {
        top: 72px;
    }

    .competition-season-tabs__link {
        min-height: 56px;
        padding-inline: 16px;
    }

    .competition-home-section__heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .competition-news-grid {
        grid-template-columns: 1fr;
    }

    .competition-news-card {
        display: grid;
        grid-template-columns: minmax(118px, 0.78fr) minmax(0, 1.22fr);
    }

    .competition-news-card__image {
        aspect-ratio: auto;
        min-height: 100%;
    }

    .competition-news-card__body {
        min-height: 195px;
    }

    .competition-season-spotlight__grid {
        grid-template-columns: 1fr;
    }

    .competition-stat-card__image {
        height: 220px;
    }
}

/* Competition season Teams directory and club profiles — v1.16.7 */
.competition-teams-directory,
.competition-team-season-profile {
    padding: clamp(42px, 6vw, 88px) var(--page-padding) clamp(70px, 8vw, 120px);
    background:
        radial-gradient(circle at 78% 8%, rgba(155, 214, 47, 0.08), transparent 28rem),
        var(--wlf-black);
}

.competition-teams-directory__inner,
.competition-team-season-profile__inner {
    width: min(100%, 1540px);
    margin: 0 auto;
}

.competition-teams-directory__heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 30px;
}

.competition-teams-directory__heading h2,
.competition-team-season-header h2,
.competition-team-section-heading h3 {
    margin: 4px 0 0;
    color: #f4f8f5;
    letter-spacing: -0.045em;
}

.competition-teams-directory__heading h2 {
    font-size: clamp(2rem, 3.6vw, 4rem);
}

.competition-teams-directory__heading p:not(.competition-home-section__eyebrow) {
    max-width: 780px;
    margin: 14px 0 0;
    color: #9ba79f;
    line-height: 1.65;
}

.competition-teams-directory__count {
    flex: 0 0 auto;
    padding: 11px 16px;
    color: #eaf3ed;
    background: rgba(255, 255, 255, 0.055);
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 850;
}

.competition-club-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.competition-club-card {
    display: flex;
    min-width: 0;
    min-height: 390px;
    overflow: hidden;
    flex-direction: column;
    background:
        linear-gradient(165deg, rgba(24, 39, 29, 0.97), rgba(5, 11, 7, 0.99));
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 20px;
    box-shadow: 0 22px 55px rgba(0, 0, 0, 0.24);
    transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.competition-club-card:hover {
    transform: translateY(-4px);
    border-color: rgba(155, 214, 47, 0.42);
    box-shadow: 0 28px 65px rgba(0, 0, 0, 0.34);
}

.competition-club-card__header {
    display: flex;
    min-height: 75px;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 20px 14px;
}

.competition-club-card__header h3 {
    margin: 0;
    color: #f5f8f6;
    line-height: 1.15;
    font-size: 1.05rem;
}

.competition-club-card__header span {
    color: var(--wlf-green);
    font-size: 0.58rem;
    font-weight: 900;
}

.competition-club-card__logo {
    display: grid;
    min-height: 205px;
    place-items: center;
    padding: 20px;
    color: #f6faf7;
    text-decoration: none;
    background:
        radial-gradient(circle, rgba(155, 214, 47, 0.12), transparent 55%),
        rgba(255, 255, 255, 0.018);
    border-block: 1px solid rgba(255, 255, 255, 0.065);
}

.competition-club-card__logo img {
    display: block;
    width: min(72%, 185px);
    height: 165px;
    object-fit: contain;
}

.competition-club-card__logo > span {
    display: grid;
    width: 140px;
    height: 140px;
    place-items: center;
    color: var(--wlf-green);
    background: rgba(155, 214, 47, 0.08);
    border: 1px solid rgba(155, 214, 47, 0.22);
    border-radius: 50%;
    font-size: 1.55rem;
    font-weight: 950;
}

.competition-club-card__ladder {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.065);
}

.competition-club-card__ladder > div {
    padding: 13px 8px;
    text-align: center;
    border-right: 1px solid rgba(255, 255, 255, 0.065);
}

.competition-club-card__ladder > div:last-child {
    border-right: 0;
}

.competition-club-card__ladder dt {
    color: #738078;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.49rem;
    font-weight: 900;
}

.competition-club-card__ladder dd {
    margin: 4px 0 0;
    color: #edf4ef;
    font-size: 0.95rem;
    font-weight: 950;
}

.competition-club-card__profile {
    display: flex;
    min-height: 52px;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding: 0 20px;
    color: #eaf2ec;
    text-decoration: none;
    font-size: 0.72rem;
    font-weight: 900;
}

.competition-club-card__profile span {
    color: var(--wlf-green);
    font-size: 1rem;
}

.competition-teams-empty {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 30px;
    background: rgba(255, 255, 255, 0.035);
    border: 1px dashed rgba(255, 255, 255, 0.13);
    border-radius: 18px;
}

.competition-teams-empty__mark {
    display: grid;
    width: 88px;
    height: 88px;
    flex: 0 0 auto;
    place-items: center;
    color: var(--wlf-green);
    background: rgba(155, 214, 47, 0.08);
    border-radius: 50%;
    font-weight: 950;
}

.competition-teams-empty h3 {
    margin: 0;
    color: #edf4ef;
}

.competition-teams-empty p {
    margin: 8px 0 0;
    color: #8f9b93;
    line-height: 1.6;
}

.competition-team-season-header {
    position: relative;
    overflow: hidden;
    padding: 24px clamp(22px, 4vw, 48px) 30px;
    background:
        radial-gradient(circle at 82% 18%, rgba(155, 214, 47, 0.18), transparent 20rem),
        linear-gradient(140deg, #173321, #07110b 72%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px 24px 0 0;
}

.competition-team-season-header__back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 24px;
    color: #a8b4ac;
    text-decoration: none;
    font-size: 0.68rem;
    font-weight: 850;
}

.competition-team-season-header__back span {
    color: var(--wlf-green);
}

.competition-team-season-header__identity {
    display: flex;
    align-items: center;
    gap: 24px;
}

.competition-team-season-header__logo,
.competition-team-sidebar-card__logo {
    display: grid;
    place-items: center;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.055);
    border: 1px solid rgba(255, 255, 255, 0.11);
}

.competition-team-season-header__logo {
    width: 124px;
    height: 124px;
    flex: 0 0 auto;
    border-radius: 24px;
}

.competition-team-season-header__logo img,
.competition-team-sidebar-card__logo img {
    display: block;
    width: 78%;
    height: 78%;
    object-fit: contain;
}

.competition-team-season-header__logo span,
.competition-team-sidebar-card__logo span {
    color: var(--wlf-green);
    font-weight: 950;
}

.competition-team-season-header__identity p {
    margin: 0 0 5px;
    color: var(--wlf-green);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.64rem;
    font-weight: 900;
}

.competition-team-season-header h2 {
    font-size: clamp(2rem, 4vw, 4.4rem);
}

.competition-team-season-header__identity > div > span {
    display: block;
    margin-top: 9px;
    color: #91a097;
    font-size: 0.76rem;
}

.competition-team-profile-tabs {
    display: flex;
    overflow-x: auto;
    background: #0d1911;
    border: 1px solid rgba(255, 255, 255, 0.085);
    border-top: 0;
    border-radius: 0 0 17px 17px;
}

.competition-team-profile-tabs__link {
    position: relative;
    display: grid;
    min-width: 130px;
    min-height: 58px;
    place-items: center;
    padding: 0 23px;
    color: #86938b;
    text-decoration: none;
    font-size: 0.72rem;
    font-weight: 900;
}

.competition-team-profile-tabs__link::after {
    position: absolute;
    right: 18px;
    bottom: 0;
    left: 18px;
    height: 3px;
    content: '';
    background: transparent;
    border-radius: 999px 999px 0 0;
}

.competition-team-profile-tabs__link.is-active,
.competition-team-profile-tabs__link:hover {
    color: #f0f5f2;
}

.competition-team-profile-tabs__link.is-active::after {
    background: var(--wlf-green);
}

.competition-team-summary-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 350px);
    gap: 22px;
    margin-top: 26px;
    align-items: start;
}

.competition-team-fixtures,
.competition-team-statistics,
.competition-team-squad {
    min-width: 0;
    padding: clamp(20px, 3vw, 34px);
    background: linear-gradient(150deg, rgba(18, 31, 23, 0.98), rgba(5, 10, 7, 0.99));
    border: 1px solid rgba(255, 255, 255, 0.085);
    border-radius: 18px;
}

.competition-team-statistics,
.competition-team-squad {
    margin-top: 26px;
}

.competition-team-section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 22px;
}

.competition-team-section-heading h3 {
    font-size: clamp(1.65rem, 3vw, 2.8rem);
}

.competition-team-section-heading > span {
    color: #78857d;
    font-size: 0.6rem;
    font-weight: 850;
}

.competition-team-table-wrap {
    overflow-x: auto;
    border: 1px solid rgba(255, 255, 255, 0.075);
    border-radius: 13px;
}

.competition-team-fixture-table,
.competition-team-mini-table {
    width: 100%;
    border-collapse: collapse;
}

.competition-team-fixture-table th,
.competition-team-mini-table th {
    color: #7f8c84;
    background: rgba(255, 255, 255, 0.035);
    text-align: left;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    font-size: 0.51rem;
    font-weight: 900;
}

.competition-team-fixture-table th,
.competition-team-fixture-table td {
    padding: 14px 13px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.065);
}

.competition-team-fixture-table tbody tr:last-child td {
    border-bottom: 0;
}

.competition-team-fixture-table td {
    color: #aab5ae;
    font-size: 0.68rem;
}

.competition-team-fixture-table td strong {
    color: #eff5f1;
}

.competition-team-fixture-table__pending {
    color: #f0cb74;
    font-weight: 900;
}

.competition-team-fixture-table__view {
    display: inline-grid;
    min-height: 28px;
    place-items: center;
    padding: 0 10px;
    color: #75827a;
    background: rgba(255, 255, 255, 0.045);
    border-radius: 6px;
    font-size: 0.55rem;
    font-weight: 900;
}

.competition-team-sidebar {
    display: grid;
    gap: 14px;
}

.competition-team-sidebar-card {
    overflow: hidden;
    background: linear-gradient(150deg, rgba(18, 31, 23, 0.98), rgba(5, 10, 7, 0.99));
    border: 1px solid rgba(255, 255, 255, 0.085);
    border-radius: 14px;
}

.competition-team-sidebar-card--identity {
    padding: 22px;
    text-align: center;
}

.competition-team-sidebar-card__logo {
    width: 130px;
    height: 130px;
    margin: 0 auto 14px;
    border-radius: 50%;
}

.competition-team-sidebar-card--identity h3 {
    margin: 0;
    color: #eff5f1;
    font-size: 1.1rem;
}

.competition-team-sidebar-card--identity p {
    margin: 6px 0 0;
    color: #7e8b82;
    font-size: 0.65rem;
}

.competition-team-sidebar-card > header,
.competition-team-people-block > header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 13px 15px;
    background: rgba(255, 255, 255, 0.035);
    border-bottom: 1px solid rgba(255, 255, 255, 0.065);
}

.competition-team-sidebar-card > header h3 {
    margin: 0;
    color: #e9f0eb;
    font-size: 0.77rem;
}

.competition-team-sidebar-card > header span {
    color: #748078;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-size: 0.47rem;
    font-weight: 900;
}

.competition-team-mini-table th,
.competition-team-mini-table td {
    padding: 10px 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.055);
    font-size: 0.61rem;
}

.competition-team-mini-table td {
    color: #aab5ae;
}

.competition-team-mini-table tr.is-current td {
    color: #f1f7f3;
    background: rgba(155, 214, 47, 0.09);
    font-weight: 900;
}

.competition-team-sidebar-card__note {
    margin: 0;
    padding: 11px 13px;
    color: #6e7a72;
    line-height: 1.45;
    font-size: 0.53rem;
}

.competition-team-people-block > div,
.competition-team-leader-block > div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.competition-team-people-block > div:last-child {
    border-bottom: 0;
}

.competition-team-people-block strong,
.competition-team-leader-block strong {
    color: #dfe7e2;
    font-size: 0.64rem;
}

.competition-team-people-block > div > span,
.competition-team-leader-block > div > span {
    color: var(--wlf-green);
    font-weight: 950;
}

.competition-team-leader-block > p {
    margin: 0;
    padding: 12px 15px 0;
    color: #7c8980;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    font-size: 0.49rem;
    font-weight: 900;
}

.competition-team-statistics__tabs {
    display: inline-flex;
    gap: 4px;
    margin-bottom: 22px;
    padding: 4px;
    background: rgba(255, 255, 255, 0.045);
    border-radius: 10px;
}

.competition-team-statistics__tabs button {
    min-height: 38px;
    padding: 0 17px;
    color: #849188;
    background: transparent;
    border: 0;
    border-radius: 7px;
    cursor: pointer;
    font: inherit;
    font-size: 0.65rem;
    font-weight: 900;
}

.competition-team-statistics__tabs button.is-active {
    color: #10180f;
    background: var(--wlf-green);
}

.competition-team-statistics__panel[hidden] {
    display: none;
}

.competition-team-stat-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 10px;
}

.competition-team-stat-grid article {
    min-height: 120px;
    padding: 17px;
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(255, 255, 255, 0.065);
    border-radius: 12px;
}

.competition-team-stat-grid span {
    color: #7c8980;
    font-size: 0.58rem;
    font-weight: 850;
}

.competition-team-stat-grid strong {
    display: block;
    margin-top: 26px;
    color: var(--wlf-green);
    font-size: 1.65rem;
}

.competition-player-stat-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.competition-player-stat-list article {
    display: grid;
    grid-template-columns: minmax(140px, 0.8fr) minmax(0, 1fr) auto;
    align-items: center;
    gap: 14px;
    padding: 15px 17px;
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(255, 255, 255, 0.065);
    border-radius: 11px;
}

.competition-player-stat-list span {
    color: #7c8980;
    font-size: 0.58rem;
    font-weight: 850;
}

.competition-player-stat-list strong {
    color: #e8efea;
    font-size: 0.69rem;
}

.competition-player-stat-list b {
    color: var(--wlf-green);
}

.competition-team-squad__list {
    display: grid;
    gap: 14px;
}

.competition-team-squad-card {
    display: grid;
    grid-template-columns: 165px minmax(0, 1fr);
    min-width: 0;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 14px;
}

.competition-team-squad-card__image {
    position: relative;
    display: grid;
    min-height: 235px;
    place-items: end center;
    overflow: hidden;
    background:
        radial-gradient(circle at 50% 50%, rgba(155, 214, 47, 0.16), transparent 10rem),
        #0b1710;
}

.competition-team-squad-card__image img {
    display: block;
    width: 88%;
    max-height: 220px;
    object-fit: contain;
    object-position: bottom;
}

.competition-team-squad-card__image span {
    position: absolute;
    top: 11px;
    left: 12px;
    color: var(--wlf-green);
    font-size: 0.66rem;
    font-weight: 950;
}

.competition-team-squad-card__content {
    display: grid;
    min-width: 0;
    gap: 16px;
    padding: 18px 20px;
}

.competition-team-squad-card__identity {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
}

.competition-team-squad-card__identity p {
    margin: 0 0 4px;
    color: var(--wlf-green);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.5rem;
    font-weight: 900;
}

.competition-team-squad-card__identity h4 {
    margin: 0;
    color: #eef4f0;
    font-size: 1.05rem;
}

.competition-team-squad-card__identity > span {
    color: #748078;
    font-size: 0.54rem;
}

.competition-team-squad-card__stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.competition-team-squad-card__stats h5 {
    margin: 0 0 8px;
    color: #87948b;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    font-size: 0.5rem;
}

.competition-team-squad-card__stats dl {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    margin: 0;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.055);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 9px;
}

.competition-team-squad-card__stats dl > div {
    padding: 9px 4px;
    background: #09120c;
    text-align: center;
    border-right: 1px solid rgba(255, 255, 255, 0.055);
}

.competition-team-squad-card__stats dl > div:last-child {
    border-right: 0;
}

.competition-team-squad-card__stats dt {
    min-height: 22px;
    color: #6d7971;
    line-height: 1.15;
    text-transform: uppercase;
    font-size: 0.39rem;
    font-weight: 900;
}

.competition-team-squad-card__stats dd {
    margin: 4px 0 0;
    color: #edf3ef;
    font-size: 0.73rem;
    font-weight: 950;
}

.competition-team-squad-card__content > a {
    justify-self: start;
    color: #e6eee9;
    text-decoration: none;
    font-size: 0.64rem;
    font-weight: 900;
}

.competition-team-squad-card__content > a span {
    color: var(--wlf-green);
}

@media (max-width: 1250px) {
    .competition-club-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

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

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

    .competition-team-summary-layout {
        grid-template-columns: 1fr;
    }

    .competition-team-sidebar {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .competition-team-sidebar-card--identity {
        grid-row: span 2;
    }

    .competition-team-squad-card__stats {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 720px) {
    .competition-teams-directory__heading,
    .competition-team-section-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .competition-club-grid,
    .competition-team-sidebar,
    .competition-player-stat-list {
        grid-template-columns: 1fr;
    }

    .competition-team-season-header__identity {
        align-items: flex-start;
        flex-direction: column;
    }

    .competition-team-fixture-table thead {
        display: none;
    }

    .competition-team-fixture-table,
    .competition-team-fixture-table tbody,
    .competition-team-fixture-table tr,
    .competition-team-fixture-table td {
        display: block;
        width: 100%;
    }

    .competition-team-fixture-table tr {
        padding: 11px 13px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    }

    .competition-team-fixture-table td {
        display: grid;
        grid-template-columns: 90px minmax(0, 1fr);
        gap: 12px;
        padding: 6px 0;
        border: 0;
    }

    .competition-team-fixture-table td::before {
        color: #6f7b73;
        content: attr(data-label);
        text-transform: uppercase;
        letter-spacing: 0.06em;
        font-size: 0.46rem;
        font-weight: 900;
    }

    .competition-team-stat-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .competition-team-squad-card {
        grid-template-columns: 1fr;
    }

    .competition-team-squad-card__image {
        min-height: 210px;
    }
}

@media (max-width: 480px) {
    .competition-club-grid,
    .competition-team-stat-grid {
        grid-template-columns: 1fr;
    }

    .competition-teams-empty {
        align-items: flex-start;
        flex-direction: column;
    }

    .competition-team-squad-card__identity {
        flex-direction: column;
    }
}

/* Competition History future management routes — v1.16.9 */
.competition-history-row-actions {
    min-width: 310px;
}

.competition-future-manager__context {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 18px;
}

.competition-future-manager__context article {
    min-width: 0;
    padding: 16px;
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 11px;
}

.competition-future-manager__context span,
.competition-future-manager__context strong {
    display: block;
}

.competition-future-manager__context span {
    margin-bottom: 6px;
    color: #88958d;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.62rem;
    font-weight: 900;
}

.competition-future-manager__context strong {
    overflow-wrap: anywhere;
    color: var(--wlf-white);
    font-size: 1rem;
}

.competition-future-manager {
    padding: clamp(22px, 4vw, 38px);
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-left: 4px solid var(--wlf-green);
    border-radius: 14px;
}

.competition-future-manager__heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 22px;
}

.competition-future-manager__heading h2 {
    margin: 4px 0 8px;
    color: var(--wlf-white);
}

.competition-future-manager__heading p {
    max-width: 780px;
    margin: 0;
    color: #9ca8a0;
    line-height: 1.7;
}

.competition-future-manager__status {
    flex: 0 0 auto;
    padding: 7px 10px;
    color: #d9c795;
    background: rgba(218, 174, 61, 0.08);
    border: 1px solid rgba(218, 174, 61, 0.22);
    border-radius: 999px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-size: 0.59rem;
    font-weight: 900;
}

.competition-future-manager__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 22px;
}

.competition-future-manager__actions button:disabled {
    opacity: 0.48;
    cursor: not-allowed;
}

.competition-future-manager__field-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-top: 24px;
}

.competition-future-manager__field-grid article {
    padding: 18px;
    background: rgba(0, 0, 0, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.075);
    border-radius: 11px;
}

.competition-future-manager__field-grid strong {
    display: block;
    margin-bottom: 7px;
    color: var(--wlf-white);
}

.competition-future-manager__field-grid p {
    margin: 0;
    color: #8f9b93;
    line-height: 1.6;
}

.competition-future-manager__empty {
    margin-top: 24px;
}

@media (max-width: 900px) {
    .competition-future-manager__context,
    .competition-future-manager__field-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 620px) {
    .competition-history-row-actions {
        min-width: 220px;
    }

    .competition-future-manager__context,
    .competition-future-manager__field-grid {
        grid-template-columns: 1fr;
    }

    .competition-future-manager__heading {
        display: block;
    }

    .competition-future-manager__status {
        display: inline-flex;
        margin-top: 14px;
    }
}

/* Competition History Table Management v1.16.9 */
.competition-table-admin-content .competition-future-manager__context {
    margin-bottom: 22px;
}

.competition-table-upload {
    margin-bottom: 24px;
}

.competition-table-upload-form {
    display: grid;
    grid-template-columns: minmax(280px, 1fr) auto;
    align-items: end;
    gap: 14px;
}

.competition-table-smart-editor {
    margin-top: 26px;
    padding: clamp(20px, 3vw, 34px);
    background: linear-gradient(145deg, rgba(18, 33, 24, 0.98), rgba(5, 9, 6, 0.99));
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 17px;
    box-shadow: 0 17px 48px rgba(0, 0, 0, 0.28);
}

.competition-table-smart-editor__heading {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 0.35fr);
    align-items: end;
    gap: 22px;
    margin-bottom: 16px;
}

.competition-table-smart-editor__heading h2 {
    margin: 4px 0 7px;
    color: var(--wlf-white);
    text-transform: uppercase;
    letter-spacing: -0.035em;
    font-size: clamp(1.45rem, 2.5vw, 2.6rem);
}

.competition-table-smart-editor__heading p {
    margin: 0;
    color: #89968d;
    font-size: 0.7rem;
}

.competition-table-preview-table table,
.competition-table-mass-table {
    min-width: 4300px;
}

.competition-table-mass-table input[data-comp-table-field="Team"] {
    min-width: 190px;
}

.competition-table-mass-table input[data-comp-table-field="Group"] {
    min-width: 145px;
}

.competition-table-editor-wrap {
    max-height: 72vh;
}

.competition-table-row-action {
    min-width: 92px !important;
    vertical-align: top;
}

.competition-table-delete-all {
    display: flex;
    align-items: end;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.competition-table-delete-all .auth-field {
    width: min(260px, 100%);
}

@media (max-width: 760px) {
    .competition-table-upload-form,
    .competition-table-smart-editor__heading {
        grid-template-columns: 1fr;
    }

    .competition-table-delete-all {
        display: grid;
        justify-content: stretch;
    }

    .competition-table-delete-all .auth-field {
        width: 100%;
    }
}

/* Public competition ladder and live team-table wiring — v1.16.11 */
.competition-public-table {
    padding: clamp(42px, 6vw, 88px) var(--page-padding) clamp(70px, 8vw, 120px);
    background:
        radial-gradient(circle at 80% 6%, rgba(155, 214, 47, 0.09), transparent 30rem),
        var(--wlf-black);
}

.competition-public-table__inner {
    width: min(100%, 1540px);
    margin: 0 auto;
}

.competition-public-table__heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 28px;
    margin-bottom: 28px;
}

.competition-public-table__heading h2 {
    margin: 4px 0 0;
    color: #f4f8f5;
    letter-spacing: -0.045em;
    font-size: clamp(2rem, 3.6vw, 4rem);
}

.competition-public-table__heading p:not(.competition-home-section__eyebrow) {
    max-width: 790px;
    margin: 13px 0 0;
    color: #9ba79f;
    line-height: 1.65;
}

.competition-public-table__heading code {
    color: #dff8b1;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

.competition-public-table__future {
    display: flex;
    flex: 0 0 auto;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
}

.competition-public-table__future span {
    display: inline-flex;
    min-height: 34px;
    align-items: center;
    padding: 0 13px;
    color: #8f9b93;
    background: rgba(255, 255, 255, 0.045);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 999px;
    font-size: 0.58rem;
    font-weight: 850;
}

.competition-public-table-card {
    overflow: hidden;
    margin-top: 20px;
    background: #f2f5f3;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 22px;
    box-shadow: 0 28px 70px rgba(0, 0, 0, 0.32);
}

.competition-public-table-card:first-of-type {
    margin-top: 0;
}

.competition-public-table-card__header {
    display: flex;
    min-height: 84px;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 18px 24px;
    color: #f5f8f6;
    background:
        radial-gradient(circle at 86% 15%, rgba(155, 214, 47, 0.23), transparent 17rem),
        linear-gradient(135deg, #16351f, #07140d 72%);
}

.competition-public-table-card__header p {
    margin: 0 0 3px;
    color: var(--wlf-green);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.53rem;
    font-weight: 900;
}

.competition-public-table-card__header h3 {
    margin: 0;
    letter-spacing: -0.035em;
    font-size: clamp(1.25rem, 2vw, 2rem);
}

.competition-public-table-card__header > span {
    padding: 8px 12px;
    color: #eaf2ec;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 999px;
    font-size: 0.58rem;
    font-weight: 900;
}

.competition-public-table__scroll {
    overflow-x: auto;
    overscroll-behavior-inline: contain;
}

.competition-public-ladder {
    width: 100%;
    min-width: 920px;
    border-collapse: separate;
    border-spacing: 0;
    color: #152019;
}

.competition-public-ladder th,
.competition-public-ladder td {
    min-width: 66px;
    padding: 15px 12px;
    text-align: center;
    border-bottom: 1px solid #dbe1dd;
    white-space: nowrap;
}

.competition-public-ladder th {
    position: sticky;
    top: 0;
    z-index: 3;
    color: #607067;
    background: #e8ece9;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    font-size: 0.54rem;
    font-weight: 950;
}

.competition-public-ladder th:first-child,
.competition-public-ladder td:first-child {
    position: sticky;
    left: 0;
    z-index: 4;
    width: 70px;
    min-width: 70px;
}

.competition-public-ladder th:nth-child(2),
.competition-public-ladder td:nth-child(2) {
    position: sticky;
    left: 70px;
    z-index: 4;
    min-width: 300px;
    text-align: left;
    box-shadow: 8px 0 16px rgba(7, 20, 13, 0.06);
}

.competition-public-ladder th:first-child,
.competition-public-ladder th:nth-child(2) {
    z-index: 5;
    background: #e8ece9;
}

.competition-public-ladder td:first-child,
.competition-public-ladder td:nth-child(2) {
    background: #f2f5f3;
}

.competition-public-ladder tbody tr:last-child td {
    border-bottom: 0;
}

.competition-public-ladder tbody tr:hover td {
    background: #e9f2e8;
}

.competition-public-ladder tbody tr:hover td:first-child,
.competition-public-ladder tbody tr:hover td:nth-child(2) {
    background: #e9f2e8;
}

.competition-public-ladder td {
    color: #4d5d53;
    font-size: 0.72rem;
    font-variant-numeric: tabular-nums;
}

.competition-public-ladder__position strong {
    display: inline-grid;
    width: 34px;
    height: 34px;
    place-items: center;
    color: #102018;
    background: #dce5dd;
    border-radius: 9px;
    font-size: 0.76rem;
}

.competition-public-ladder__team a {
    display: inline-flex;
    align-items: center;
    gap: 13px;
    color: #142019;
    text-decoration: none;
}

.competition-public-ladder__team a:hover strong {
    color: #397822;
}

.competition-public-ladder__team a > span:last-child {
    display: grid;
    gap: 2px;
}

.competition-public-ladder__team strong {
    font-size: 0.78rem;
    transition: color 160ms ease;
}

.competition-public-ladder__team small {
    color: #7b8980;
    font-size: 0.55rem;
}

.competition-public-ladder__logo {
    display: grid;
    width: 42px;
    height: 42px;
    flex: 0 0 auto;
    place-items: center;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid #d7ded9;
    border-radius: 50%;
}

.competition-public-ladder__logo img {
    width: 75%;
    height: 75%;
    object-fit: contain;
}

.competition-public-ladder__logo b {
    color: #377a21;
    font-size: 0.55rem;
}

.competition-public-ladder__points {
    color: #102018 !important;
    background: rgba(155, 214, 47, 0.18);
    font-weight: 950;
}

.competition-public-table-empty {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 30px;
    background: rgba(255, 255, 255, 0.035);
    border: 1px dashed rgba(255, 255, 255, 0.13);
    border-radius: 18px;
}

.competition-public-table-empty__mark {
    display: grid;
    width: 88px;
    height: 88px;
    flex: 0 0 auto;
    place-items: center;
    color: var(--wlf-green);
    background: rgba(155, 214, 47, 0.08);
    border-radius: 50%;
    font-weight: 950;
}

.competition-public-table-empty h3 {
    margin: 0;
    color: #edf4ef;
}

.competition-public-table-empty p {
    margin: 8px 0 0;
    color: #8f9b93;
}

@media (max-width: 900px) {
    .competition-public-table__heading {
        display: block;
    }

    .competition-public-table__future {
        justify-content: flex-start;
        margin-top: 18px;
    }
}

@media (max-width: 620px) {
    .competition-public-table-card__header,
    .competition-public-table-empty {
        align-items: flex-start;
    }

    .competition-public-table-card__header {
        padding: 17px 18px;
    }

    .competition-public-table-card__header > span {
        flex: 0 0 auto;
    }

    .competition-public-ladder th,
    .competition-public-ladder td {
        padding: 13px 10px;
    }

    .competition-public-ladder th:nth-child(2),
    .competition-public-ladder td:nth-child(2) {
        min-width: 245px;
    }

    .competition-public-table-empty {
        display: grid;
    }
}

/* Competition History Matches schema and source upload workspace — v1.16.12 */
.competition-match-upload .competition-table-upload-form {
    align-items: end;
}

.competition-match-upload .competition-import-note {
    grid-column: 1 / -1;
    margin: 0;
}

.competition-match-headings {
    margin-top: 1.25rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.035);
    padding: 1rem;
}

.competition-match-headings summary {
    cursor: pointer;
    font-weight: 800;
}

.competition-match-headings__list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin-top: 1rem;
}

.competition-match-headings__list code {
    padding: 0.38rem 0.55rem;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.08);
    color: inherit;
}
