:root {
    --bg: #07070a;
    --bg-deep: #040405;
    --surface: #0d0d12;
    --surface-2: #121219;
    --surface-3: #17171f;
    --text: #f7f6fb;
    --muted: #9b98a6;
    --muted-2: #686571;
    --line: rgba(255, 255, 255, .09);
    --line-strong: rgba(255, 255, 255, .16);
    --purple: #8c52ff;
    --purple-bright: #ae83ff;
    --purple-soft: #c6adff;
    --purple-dark: #5120bd;
    --green: #65d99e;
    --red: #ff6f7d;
    --amber: #f3bd63;
    --max: 1220px;
    --radius: 20px;
    --shadow: 0 30px 90px rgba(0, 0, 0, .35);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; color-scheme: dark; }
body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}
body.public-shell { padding-top: 82px; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
img, svg { display: block; max-width: 100%; }
fieldset { min-width: 0; }
code {
    padding: .2em .45em;
    border: 1px solid var(--line);
    border-radius: 5px;
    background: rgba(255, 255, 255, .05);
    color: var(--purple-soft);
}
.container { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
.skip-link {
    position: fixed;
    z-index: 999;
    top: 12px;
    left: 12px;
    padding: 10px 16px;
    border-radius: 8px;
    background: white;
    color: #111;
    transform: translateY(-150%);
}
.skip-link:focus { transform: translateY(0); }
:focus-visible { outline: 2px solid var(--purple-bright); outline-offset: 3px; }
.page-noise {
    position: fixed;
    z-index: 100;
    inset: 0;
    pointer-events: none;
    opacity: .022;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Header */
.site-header {
    position: fixed;
    z-index: 80;
    inset: 0 0 auto;
    height: 82px;
    border-bottom: 1px solid var(--line);
    background: rgba(7, 7, 10, .78);
    backdrop-filter: blur(22px);
    transition: background .25s ease, height .25s ease;
}
.site-header.scrolled { height: 72px; background: rgba(5, 5, 7, .93); }
.nav-wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.brand { display: inline-flex; align-items: center; gap: 11px; flex: 0 0 auto; }
.brand-mark { width: 46px; height: 42px; display: grid; place-items: center; }
.brand-mark img { width: 100%; height: 100%; display: block; object-fit: contain; }
.brand-copy { width: 116px; display: block; }
.brand-copy img { width: 100%; height: auto; display: block; }
.main-nav { display: flex; align-items: center; gap: 26px; }
.main-nav > a {
    position: relative;
    color: #cac7d1;
    font-size: 12px;
    font-weight: 600;
    transition: color .2s ease;
}
.main-nav > a::after {
    content: "";
    position: absolute;
    inset: auto 0 -11px;
    height: 1px;
    background: var(--purple);
    transform: scaleX(0);
    transition: transform .2s ease;
}
.main-nav > a:hover, .main-nav > a[aria-current="page"] { color: white; }
.main-nav > a[aria-current="page"]::after { transform: scaleX(1); }
.main-nav .nav-cta {
    min-height: 39px;
    padding: 0 17px;
    display: inline-flex;
    align-items: center;
    border: 1px solid rgba(173, 129, 255, .4);
    border-radius: 999px;
    background: rgba(140, 82, 255, .12);
    color: white;
}
.main-nav .nav-cta::after { display: none; }
.menu-toggle, .app-menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
}
.menu-toggle > span:not(.sr-only), .app-menu-toggle > span:not(.sr-only) {
    display: block;
    width: 24px;
    height: 1.5px;
    margin: 6px auto;
    background: white;
    transition: transform .25s ease;
}

/* Shared components */
.eyebrow {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 20px;
    color: var(--purple-soft);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .2em;
    text-transform: uppercase;
}
.eyebrow > span { width: 25px; height: 1px; background: var(--purple); }
.button {
    min-height: 51px;
    padding: 0 23px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 13px;
    border: 1px solid transparent;
    border-radius: 999px;
    cursor: pointer;
    font-size: 12px;
    font-weight: 700;
    transition: transform .2s ease, border-color .2s ease, background .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary {
    border-color: rgba(192, 160, 255, .26);
    background: linear-gradient(135deg, #955fff, #6732d7);
    box-shadow: 0 16px 45px rgba(102, 50, 215, .25);
}
.button-ghost { border-color: var(--line-strong); background: rgba(255, 255, 255, .035); color: #e8e5ee; }
.button-ghost:hover { border-color: rgba(180, 142, 255, .4); background: rgba(140, 82, 255, .08); }
.button-light { background: white; color: #111; }
.button-small { min-height: 40px; padding-inline: 17px; font-size: 11px; }
.button-full { width: 100%; }
.text-link {
    display: inline-flex;
    align-items: center;
    gap: 13px;
    color: #c8c4ce;
    font-size: 12px;
    font-weight: 600;
}
.text-link span { color: var(--purple-bright); transition: transform .2s ease; }
.text-link:hover span { transform: translateX(4px); }
.section { position: relative; padding: 112px 0; }
.section-dark { background: #09090d; border-block: 1px solid rgba(255, 255, 255, .055); }
.section-intro { display: flex; align-items: end; justify-content: space-between; gap: 40px; margin-bottom: 50px; }
.section-intro h2, .stats-copy h2, .recruitment-panel h2 {
    margin: 0;
    font-family: "Space Grotesk", sans-serif;
    font-size: clamp(38px, 5vw, 66px);
    line-height: 1.02;
    letter-spacing: -.045em;
}
.section-intro h2 em, .stats-copy h2 em, .recruitment-panel h2 em, .page-hero h1 em, .auth-brand h1 em {
    color: transparent;
    font-style: normal;
    -webkit-text-stroke: 1px rgba(211, 193, 255, .65);
}
.section-aside { width: min(100%, 390px); margin: 0; color: var(--muted); font-size: 14px; }
.content-card-label, .card-kicker {
    color: var(--purple-soft);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .17em;
    text-transform: uppercase;
}
.status-badge, .source-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 25px;
    padding: 0 9px;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--muted);
    background: rgba(255, 255, 255, .035);
    font-size: 8px;
    font-style: normal;
    font-weight: 700;
    letter-spacing: .1em;
    white-space: nowrap;
    text-transform: uppercase;
}
.status-active { border-color: rgba(101, 217, 158, .24); color: var(--green); background: rgba(101, 217, 158, .08); }
.source-badge { color: var(--purple-soft); border-color: rgba(174, 131, 255, .25); }
.text-success { color: var(--green) !important; }
.text-danger { color: var(--red) !important; }
.text-warning { color: var(--amber) !important; }
.data-state { color: var(--muted-2); font-size: 10px; text-transform: uppercase; letter-spacing: .12em; }

/* Home */
.hero {
    position: relative;
    min-height: calc(100svh - 82px);
    padding: 72px 0 38px;
    display: grid;
    align-items: center;
    overflow: hidden;
    background:
        radial-gradient(circle at 77% 42%, rgba(108, 54, 223, .16), transparent 28%),
        linear-gradient(125deg, #08080c, #060608 60%);
}
.hero-grid-lines, .page-hero-grid {
    position: absolute;
    inset: 0;
    opacity: .65;
    background:
        linear-gradient(rgba(255, 255, 255, .026) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .026) 1px, transparent 1px);
    background-size: 58px 58px;
    mask-image: linear-gradient(to bottom, black, transparent 96%);
}
.hero::after {
    content: "";
    position: absolute;
    width: 760px;
    height: 240px;
    right: -140px;
    bottom: 10%;
    border: 1px solid rgba(255, 255, 255, .06);
    border-radius: 50%;
    transform: rotate(-14deg);
}
.hero-layout {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    align-items: center;
    gap: 70px;
}
.hero-copy h1 {
    max-width: 760px;
    margin: 0;
    font-family: "Space Grotesk", sans-serif;
    font-size: clamp(70px, 8vw, 112px);
    line-height: .83;
    letter-spacing: -.07em;
    text-transform: uppercase;
}
.hero-copy h1 em { display: inline-block; color: var(--purple-bright); font-style: normal; }
.hero-lead { max-width: 640px; margin: 30px 0 0; color: var(--muted); font-size: 16px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-proof { display: flex; gap: 36px; margin-top: 47px; padding-top: 24px; border-top: 1px solid var(--line); }
.hero-proof > div { display: grid; gap: 1px; }
.hero-proof strong { font-family: "Space Grotesk", sans-serif; font-size: 19px; }
.hero-proof span { color: var(--muted-2); font-size: 8px; letter-spacing: .13em; text-transform: uppercase; }
.hero-orbit-panel {
    position: relative;
    width: min(100%, 510px);
    aspect-ratio: 1;
    justify-self: end;
    display: grid;
    place-items: center;
}
.orbit-visual { position: absolute; inset: 3%; display: grid; place-items: center; }
.orbit-visual::before, .orbit-visual::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, .08);
}
.orbit-visual::before { inset: 5%; }
.orbit-visual::after { inset: 22%; }
.orbit-ring { position: absolute; width: 98%; height: 35%; border: 1px solid rgba(179, 142, 255, .27); border-radius: 50%; }
.orbit-ring-a { transform: rotate(-19deg); box-shadow: 0 0 30px rgba(137, 81, 255, .08); }
.orbit-ring-b { transform: rotate(38deg); border-color: rgba(255, 255, 255, .07); }
.black-hole {
    position: relative;
    z-index: 2;
    width: 45%;
    aspect-ratio: 1;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: radial-gradient(circle at 35% 25%, #272033, #070609 60%);
    box-shadow: 0 0 90px rgba(120, 63, 243, .3), inset -25px -30px 55px black;
}
.black-hole::after {
    content: "";
    position: absolute;
    inset: -12%;
    border: 1px solid rgba(185, 151, 255, .18);
    border-radius: 50%;
}
.black-hole span {
    width: 42%;
    aspect-ratio: 1;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .26);
    border-radius: 50%;
    font-family: "Space Grotesk", sans-serif;
    font-size: 35px;
}
.orbit-visual > i { position: absolute; z-index: 3; width: 7px; aspect-ratio: 1; border-radius: 50%; background: var(--purple-soft); box-shadow: 0 0 16px var(--purple); }
.satellite-one { left: 8%; top: 41%; }
.satellite-two { right: 16%; bottom: 27%; width: 4px !important; }
.status-chip, .season-chip {
    position: absolute;
    z-index: 4;
    padding: 12px 15px;
    border: 1px solid var(--line-strong);
    border-radius: 11px;
    background: rgba(10, 10, 14, .78);
    backdrop-filter: blur(14px);
    box-shadow: var(--shadow);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .12em;
}
.status-chip { top: 13%; right: 0; }
.status-chip i { display: inline-block; width: 6px; height: 6px; margin-right: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 5px rgba(101, 217, 158, .08); }
.season-chip { bottom: 17%; left: 0; display: grid; }
.season-chip small { color: var(--muted); font-size: 7px; }
.season-chip strong { font-family: "Space Grotesk", sans-serif; font-size: 14px; }
.coordinates { position: absolute; bottom: 4%; color: var(--muted-2); font-size: 8px; letter-spacing: .16em; }
.hero-bottom-line {
    position: absolute;
    z-index: 3;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--muted-2);
    font-size: 8px;
    letter-spacing: .16em;
}
.hero-bottom-line a { display: inline-flex; align-items: center; gap: 12px; text-transform: uppercase; }
.hero-bottom-line i { color: var(--purple-bright); font-style: normal; }
.gravity-well { position: absolute; left: -420px; top: -400px; width: 800px; aspect-ratio: 1; opacity: .25; }
.gravity-well span { position: absolute; inset: calc(var(--i, 0) * 10%); border: 1px solid rgba(158, 106, 255, .14); border-radius: 50%; }
.gravity-well span:nth-child(2) { inset: 12%; }
.gravity-well span:nth-child(3) { inset: 24%; }
.gravity-well span:nth-child(4) { inset: 36%; }
.hero-glow { position: absolute; width: 400px; height: 400px; right: 10%; top: 20%; border-radius: 50%; background: rgba(123, 64, 245, .1); filter: blur(100px); }

.match-feature {
    min-height: 245px;
    padding: 32px;
    display: grid;
    grid-template-columns: 220px 1fr 220px;
    align-items: center;
    gap: 28px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: linear-gradient(120deg, rgba(140, 82, 255, .09), rgba(255, 255, 255, .025) 40%, rgba(255, 255, 255, .012));
}
.match-feature-meta { display: flex; gap: 13px; align-items: center; }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 7px rgba(101, 217, 158, .07); }
.match-feature-meta div { display: grid; }
.match-feature-meta small { color: var(--muted); font-size: 8px; letter-spacing: .12em; text-transform: uppercase; }
.match-feature-meta strong { font-family: "Space Grotesk", sans-serif; font-size: 13px; }
.match-versus { display: grid; grid-template-columns: 1fr 80px 1fr; align-items: center; gap: 16px; }
.team-lockup { display: grid; justify-items: center; gap: 11px; text-align: center; }
.team-lockup strong { font-family: "Space Grotesk", sans-serif; font-size: 15px; letter-spacing: .06em; }
.team-emblem { width: 72px; height: 72px; display: grid; place-items: center; border: 1px solid rgba(173, 128, 255, .3); border-radius: 50%; background: rgba(140, 82, 255, .09); font-family: "Space Grotesk", sans-serif; font-size: 25px; }
.team-emblem-away { border-color: var(--line); background: rgba(255, 255, 255, .035); color: var(--muted); }
.versus-mark { display: grid; justify-items: center; gap: 2px; }
.versus-mark span, .versus-mark small { color: var(--muted-2); font-size: 8px; letter-spacing: .12em; }
.versus-mark strong { font-family: "Space Grotesk", sans-serif; font-size: 25px; }
.match-feature-action { display: flex; justify-content: end; }
.empty-orbit {
    min-height: 150px;
    padding: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    border: 1px dashed var(--line-strong);
    border-radius: var(--radius);
    color: var(--muted);
    background: rgba(255, 255, 255, .018);
}
.empty-orbit-icon { width: 45px; height: 45px; display: grid; place-items: center; border: 1px solid rgba(174, 131, 255, .24); border-radius: 50%; color: var(--purple-soft); }
.empty-orbit strong { display: block; color: var(--text); }
.empty-orbit p { margin: 2px 0 0; font-size: 13px; }

.roster-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; }
.player-card {
    position: relative;
    min-height: 430px;
    padding: 24px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: linear-gradient(155deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .012));
}
.player-card::before {
    content: "";
    position: absolute;
    width: 240px;
    height: 240px;
    right: -80px;
    top: 70px;
    border-radius: 50%;
    background: rgba(127, 69, 247, .11);
    filter: blur(60px);
}
.player-card-top { display: flex; justify-content: space-between; color: var(--muted-2); font-size: 9px; letter-spacing: .12em; }
.player-card-top i { font-style: normal; }
.player-silhouette { height: 255px; display: grid; place-items: center; }
.player-silhouette span {
    position: relative;
    width: 155px;
    aspect-ratio: 1;
    display: grid;
    place-items: center;
    border: 1px solid rgba(174, 131, 255, .15);
    border-radius: 50%;
    color: rgba(255, 255, 255, .18);
    background: radial-gradient(circle at 40% 30%, #2a2437, #0b0a10 65%);
    box-shadow: 0 0 50px rgba(122, 67, 241, .13);
    font-family: "Space Grotesk", sans-serif;
    font-size: 70px;
}
.player-card-copy { position: relative; z-index: 2; padding-top: 18px; border-top: 1px solid var(--line); }
.player-card-copy small { color: var(--purple-soft); font-size: 8px; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; }
.player-card-copy h3 { margin: 4px 0; font-family: "Space Grotesk", sans-serif; font-size: 31px; letter-spacing: -.04em; }
.player-card-copy p { margin: 0; color: var(--muted); font-size: 10px; text-transform: uppercase; letter-spacing: .08em; }
.roster-link { margin-top: 30px; }

.stats-section {
    overflow: hidden;
    border-block: 1px solid var(--line);
    background: radial-gradient(circle at 73% 50%, rgba(116, 61, 230, .13), transparent 33%), #09090d;
}
.stats-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 80px; align-items: center; }
.stats-copy p:not(.eyebrow) { max-width: 520px; margin: 25px 0 32px; color: var(--muted); font-size: 14px; }
.stats-console { padding: 27px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(6, 6, 9, .65); box-shadow: var(--shadow); }
.console-head { display: flex; justify-content: space-between; padding-bottom: 18px; border-bottom: 1px solid var(--line); color: var(--muted-2); font-size: 8px; letter-spacing: .13em; }
.console-metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; padding: 28px 0 18px; }
.console-metrics > div { display: grid; gap: 4px; }
.console-metrics small { color: var(--muted); font-size: 8px; letter-spacing: .13em; }
.console-metrics strong { font-family: "Space Grotesk", sans-serif; font-size: 44px; line-height: 1; }
.console-metrics sup { color: var(--purple-soft); font-size: 15px; }
.chart-placeholder { position: relative; height: 160px; overflow: hidden; border-block: 1px solid var(--line); }
.chart-grid { position: absolute; inset: 0; background: linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px); background-size: 20% 25%; }
.chart-placeholder svg { position: absolute; inset: 18px 0 0; width: 100%; height: calc(100% - 18px); }
.chart-placeholder path { fill: none; stroke: var(--purple-bright); stroke-width: 2; }
.chart-placeholder .chart-fill { fill: url("#none"); stroke: none; opacity: .1; }
.source-note { margin: 15px 0 0; color: var(--muted-2); font-size: 8px; letter-spacing: .1em; text-transform: uppercase; }
.source-note i { display: inline-block; width: 5px; height: 5px; margin-right: 7px; border-radius: 50%; background: var(--green); }

.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.news-card { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255, 255, 255, .02); }
.news-visual { height: 180px; display: grid; place-items: center; background: radial-gradient(circle, rgba(142, 82, 255, .16), transparent 56%), linear-gradient(135deg, #13121a, #08080b); }
.news-visual span { width: 66px; aspect-ratio: 1; display: grid; place-items: center; border: 1px solid rgba(174, 131, 255, .25); border-radius: 50%; color: var(--purple-soft); font-family: "Space Grotesk", sans-serif; font-size: 19px; }
.news-copy { padding: 24px; }
.news-copy small { color: var(--purple-soft); font-size: 8px; letter-spacing: .12em; text-transform: uppercase; }
.news-copy h2, .news-copy h3 { margin: 9px 0; font-family: "Space Grotesk", sans-serif; font-size: 21px; line-height: 1.2; }
.news-copy p { margin: 0; color: var(--muted); font-size: 12px; }
.article-body { display: none; margin-top: 18px; color: var(--muted); font-size: 13px; }

.recruitment-banner { padding-top: 30px; }
.recruitment-panel {
    position: relative;
    min-height: 470px;
    padding: 60px;
    display: grid;
    grid-template-columns: 1.25fr .75fr;
    align-items: center;
    gap: 60px;
    overflow: hidden;
    border: 1px solid rgba(180, 143, 255, .25);
    border-radius: 28px;
    background: linear-gradient(120deg, rgba(122, 61, 246, .18), rgba(255, 255, 255, .025) 50%), #0e0d14;
}
.recruitment-panel > div:not(.recruitment-orbit) { position: relative; z-index: 2; }
.recruitment-panel p:not(.eyebrow) { max-width: 630px; color: #aaa6b4; font-size: 14px; }
.roles-sought { display: grid; }
.roles-sought span { padding: 15px 0; display: flex; align-items: center; gap: 18px; border-bottom: 1px solid var(--line); font-family: "Space Grotesk", sans-serif; font-size: 20px; }
.roles-sought i { color: var(--purple-soft); font-family: Inter, sans-serif; font-size: 8px; font-style: normal; }
.recruitment-orbit { position: absolute; width: 600px; aspect-ratio: 1; right: -250px; top: -70px; border: 1px solid rgba(255, 255, 255, .07); border-radius: 50%; box-shadow: 0 0 100px rgba(122, 61, 246, .08); }
.recruitment-orbit::before, .recruitment-orbit::after { content: ""; position: absolute; border: 1px solid rgba(255, 255, 255, .06); border-radius: 50%; }
.recruitment-orbit::before { inset: 17%; }
.recruitment-orbit::after { inset: 34%; }
.partners-strip { padding: 42px 0; border-top: 1px solid var(--line); }
.partners-strip .container { display: flex; align-items: center; gap: 50px; }
.partners-label { color: var(--muted-2); font-size: 8px; letter-spacing: .16em; }
.partner-name { color: #c7c3cd; font-family: "Space Grotesk", sans-serif; font-size: 17px; }
.partners-empty { color: var(--muted); }
.partners-strip a { margin-left: auto; color: var(--purple-soft); font-size: 11px; }

/* Public inner pages */
.page-hero {
    position: relative;
    min-height: 430px;
    padding: 95px 0 70px;
    display: grid;
    align-items: center;
    overflow: hidden;
    border-bottom: 1px solid var(--line);
    background: radial-gradient(circle at 82% 32%, rgba(123, 65, 241, .15), transparent 24%), #08080c;
}
.page-hero::before { content: ""; position: absolute; width: 540px; height: 220px; right: -100px; top: 30px; border: 1px solid rgba(255, 255, 255, .06); border-radius: 50%; transform: rotate(-16deg); }
.page-hero-compact { min-height: 510px; }
.page-hero-content { position: relative; z-index: 2; }
.page-hero-content h1 {
    max-width: 900px;
    margin: 0;
    font-family: "Space Grotesk", sans-serif;
    font-size: clamp(50px, 7vw, 88px);
    line-height: .96;
    letter-spacing: -.06em;
}
.page-hero-content > p:last-child { max-width: 720px; margin: 24px 0 0; color: var(--muted); font-size: 16px; }
.page-index { position: absolute; right: 5%; bottom: 35px; color: rgba(255, 255, 255, .1); font-family: "Space Grotesk", sans-serif; font-size: 60px; }
.page-content-section { min-height: 520px; }
.directory-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.directory-grid-compact { grid-template-columns: repeat(3, 1fr); }
.directory-card { min-height: 240px; padding: 26px; display: flex; align-items: center; gap: 27px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255, 255, 255, .02); }
.directory-avatar { flex: 0 0 auto; width: 120px; aspect-ratio: 1; display: grid; place-items: center; border: 1px solid rgba(170, 128, 255, .19); border-radius: 50%; color: rgba(255, 255, 255, .28); background: radial-gradient(circle at 40% 30%, #262031, #09090c 70%); font-family: "Space Grotesk", sans-serif; font-size: 48px; }
.directory-card small { color: var(--purple-soft); font-size: 8px; letter-spacing: .12em; text-transform: uppercase; }
.directory-card h2 { margin: 4px 0 0; font-family: "Space Grotesk", sans-serif; font-size: 30px; }
.directory-card p { margin: 0 0 12px; color: var(--muted); font-size: 13px; }
.metric-pill { padding: 6px 9px; border: 1px solid var(--line); border-radius: 999px; color: #bcb8c5; font-size: 8px; letter-spacing: .08em; }
.match-list { display: grid; gap: 10px; }
.match-row { min-height: 115px; padding: 20px 25px; display: grid; grid-template-columns: 75px 1fr 120px; align-items: center; gap: 25px; border: 1px solid var(--line); border-radius: 14px; background: rgba(255, 255, 255, .018); }
.match-date { display: grid; justify-items: center; padding-right: 20px; border-right: 1px solid var(--line); }
.match-date strong { font-family: "Space Grotesk", sans-serif; font-size: 28px; line-height: 1; }
.match-date span { color: var(--muted-2); font-size: 8px; letter-spacing: .12em; }
.match-row-main small { color: var(--muted-2); font-size: 8px; letter-spacing: .1em; text-transform: uppercase; }
.match-row-main > div { display: flex; align-items: center; gap: 17px; margin-top: 5px; }
.match-row-main strong { font-family: "Space Grotesk", sans-serif; font-size: 18px; }
.match-row-main span { color: var(--purple-soft); font-size: 10px; }
.match-row-status { display: grid; justify-items: end; }
.match-row-status strong { font-family: "Space Grotesk", sans-serif; font-size: 20px; }
.match-row-status small { color: var(--muted-2); font-size: 8px; letter-spacing: .1em; }
.content-card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 17px; }
.content-card, .prose-card {
    min-height: 290px;
    padding: 30px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: linear-gradient(145deg, rgba(255, 255, 255, .035), rgba(255, 255, 255, .012));
}
.content-card h2, .prose-card h2 { margin: 22px 0 10px; font-family: "Space Grotesk", sans-serif; font-size: 26px; line-height: 1.15; }
.content-card > p, .prose-card > p { color: var(--muted); font-size: 13px; }
.content-card dl { margin: 28px 0 0; display: grid; gap: 9px; }
.content-card dl > div { padding-top: 9px; display: flex; justify-content: space-between; border-top: 1px solid var(--line); }
.content-card dt { color: var(--muted-2); font-size: 9px; text-transform: uppercase; }
.content-card dd { margin: 0; color: #d2ced8; font-size: 11px; }
.info-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.state-panel { margin-top: 25px; padding: 17px; display: flex; gap: 13px; border: 1px solid var(--line); border-radius: 11px; background: rgba(255, 255, 255, .025); }
.state-panel i { flex: 0 0 auto; width: 7px; height: 7px; margin-top: 7px; border-radius: 50%; background: var(--amber); }
.state-panel div { display: grid; }
.state-panel span { color: var(--muted); font-size: 11px; }
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.process-card { min-height: 280px; padding: 27px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255, 255, 255, .02); }
.process-card > span { color: var(--purple-soft); font-size: 10px; }
.process-card h2 { margin: 75px 0 8px; font-family: "Space Grotesk", sans-serif; font-size: 24px; }
.process-card p { margin: 0; color: var(--muted); font-size: 12px; }
.center-cta { margin-top: 38px; display: flex; justify-content: center; }
.form-layout { display: grid; grid-template-columns: .75fr 1.25fr; gap: 80px; align-items: start; }
.form-intro h2 { margin: 24px 0; font-family: "Space Grotesk", sans-serif; font-size: 48px; line-height: 1.02; letter-spacing: -.04em; }
.form-intro > p { color: var(--muted); font-size: 14px; }
.form-card, .application-form, .auth-card { padding: 34px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255, 255, 255, .025); box-shadow: var(--shadow); }
.legal-content { max-width: 820px; margin-inline: auto; }
.legal-content h2 { margin: 42px 0 8px; font-family: "Space Grotesk", sans-serif; font-size: 26px; }
.legal-content h2:first-child { margin-top: 0; }
.legal-content p { color: var(--muted); }
.legal-updated { margin-top: 60px !important; padding-top: 18px; border-top: 1px solid var(--line); font-size: 11px; }

/* Forms */
form { margin: 0; }
label { display: grid; gap: 7px; margin-bottom: 16px; }
label > span { color: #c7c3ce; font-size: 10px; font-weight: 600; letter-spacing: .06em; }
label > span i { color: var(--muted-2); font-size: 8px; font-style: normal; font-weight: 400; }
label > small { margin-top: -3px; color: var(--muted-2); font-size: 9px; }
input, textarea, select {
    width: 100%;
    min-height: 48px;
    padding: 0 14px;
    border: 1px solid var(--line);
    border-radius: 9px;
    outline: 0;
    background: rgba(0, 0, 0, .22);
    color: var(--text);
    transition: border-color .2s ease, background .2s ease;
}
textarea { min-height: 100px; padding-block: 12px; resize: vertical; }
select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 17px) 21px, calc(100% - 12px) 21px; background-size: 5px 5px; background-repeat: no-repeat; }
select option {
    background: #121219;
    color: #f7f6fb;
}
select option:disabled {
    color: #77727e;
}
input:focus, textarea:focus, select:focus { border-color: var(--purple); background-color: rgba(140, 82, 255, .035); }
input::placeholder, textarea::placeholder { color: #55525d; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 15px; }
.form-span-2 { grid-column: 1 / -1; }
.check-label { display: flex; align-items: flex-start; gap: 10px; }
.check-label input { width: 17px; min-height: 17px; height: 17px; margin-top: 2px; accent-color: var(--purple); }
.check-label span { line-height: 1.5; letter-spacing: 0; }
.check-label a { color: var(--purple-soft); text-decoration: underline; }
.check-label.compact { margin: 0; align-items: center; }
.form-between { display: flex; justify-content: space-between; gap: 20px; margin-bottom: 18px; color: var(--muted); font-size: 10px; }
.form-submit-row { padding-top: 20px; display: flex; align-items: center; justify-content: space-between; gap: 25px; border-top: 1px solid var(--line); }
.form-submit-row p { margin: 0; max-width: 460px; color: var(--muted); font-size: 10px; }
.service-state { margin-bottom: 22px; padding: 16px; border: 1px solid var(--line); border-radius: 10px; }
.service-state strong { font-size: 12px; }
.service-state p { margin: 3px 0 0; color: var(--muted); font-size: 10px; }
.service-state.warning { border-color: rgba(243, 189, 99, .25); background: rgba(243, 189, 99, .06); }

/* Application and auth */
.application-section { background: #09090d; }
.application-layout { display: grid; grid-template-columns: 270px 1fr; gap: 45px; align-items: start; }
.application-aside { position: sticky; top: 105px; padding: 25px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255, 255, 255, .018); }
.application-aside ol { padding: 0; margin: 27px 0; list-style: none; }
.application-aside li { position: relative; padding: 0 0 27px 37px; display: flex; gap: 13px; }
.application-aside li::before { content: ""; position: absolute; left: 11px; top: 20px; bottom: 0; width: 1px; background: var(--line); }
.application-aside li:last-child::before { display: none; }
.application-aside li > span { position: absolute; left: 0; width: 23px; height: 23px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; color: var(--muted-2); background: var(--surface); font-size: 7px; }
.application-aside li.active > span { border-color: var(--purple); color: white; background: var(--purple-dark); box-shadow: 0 0 15px rgba(140, 82, 255, .35); }
.application-aside li div { display: grid; }
.application-aside li strong { font-size: 11px; }
.application-aside li small { color: var(--muted-2); font-size: 9px; }
.privacy-note { padding-top: 17px; display: flex; gap: 11px; border-top: 1px solid var(--line); }
.privacy-note i { color: var(--green); font-style: normal; }
.privacy-note p { margin: 0; color: var(--muted); font-size: 9px; }
.application-form { padding: 42px; }
.application-form fieldset { padding: 0 0 34px; margin: 0 0 35px; border: 0; border-bottom: 1px solid var(--line); }
.application-form legend { width: 100%; margin-bottom: 25px; font-family: "Space Grotesk", sans-serif; font-size: 23px; }
.application-form legend span { margin-right: 12px; color: var(--purple-soft); font-family: Inter, sans-serif; font-size: 9px; }

.auth-section {
    position: relative;
    min-height: calc(100svh - 82px);
    padding: 70px 20px;
    display: grid;
    place-items: center;
    overflow: hidden;
    background: radial-gradient(circle at 15% 40%, rgba(132, 73, 249, .16), transparent 28%), #07070a;
}
.auth-panel { position: relative; z-index: 2; width: min(100%, 1040px); display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: 90px; }
.auth-brand h1 { margin: 23px 0; font-family: "Space Grotesk", sans-serif; font-size: clamp(47px, 6vw, 75px); line-height: .95; letter-spacing: -.055em; }
.auth-brand > p { color: var(--muted); font-size: 13px; }
.auth-card { width: 100%; padding: 38px; background: rgba(12, 12, 17, .9); }
.auth-card h1, .auth-card h2 { margin: 0 0 12px; font-family: "Space Grotesk", sans-serif; font-size: 30px; }
.auth-card > p { color: var(--muted); font-size: 12px; }
.auth-card form { margin-top: 28px; }
.auth-switch { margin: 23px 0 0 !important; text-align: center; }
.auth-switch a { color: var(--purple-soft); font-weight: 700; }
.invitation-steps { margin: 26px 0; display: grid; }
.invitation-steps > div { padding: 14px 0; display: flex; align-items: flex-start; gap: 13px; border-bottom: 1px solid var(--line); }
.invitation-steps > div > span { flex: 0 0 auto; width: 25px; height: 25px; display: grid; place-items: center; border: 1px solid rgba(174, 131, 255, .25); border-radius: 50%; color: var(--purple-soft); font-size: 7px; }
.invitation-steps p { margin: 0; display: grid; }
.invitation-steps strong { color: var(--text); font-size: 10px; }
.invitation-steps small { color: var(--muted); font-size: 8px; }
.invitation-contact { margin-top: 20px; justify-content: center; }
.auth-orbit { position: absolute; width: 650px; aspect-ratio: 1; left: -270px; top: 50%; transform: translateY(-50%); border: 1px solid rgba(255, 255, 255, .06); border-radius: 50%; }
.auth-orbit::before, .auth-orbit::after { content: ""; position: absolute; border: 1px solid rgba(255, 255, 255, .055); border-radius: 50%; }
.auth-orbit::before { inset: 17%; }
.auth-orbit::after { inset: 34%; box-shadow: 0 0 80px rgba(128, 67, 246, .17); }
.auth-section-simple .auth-card { max-width: 510px; }

/* Footer, flash, cookies */
.site-footer { padding: 75px 0 22px; border-top: 1px solid var(--line); background: var(--bg-deep); }
.footer-main { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 55px; }
.footer-identity > p { max-width: 310px; margin: 22px 0; color: var(--muted); font-size: 11px; }
.footer-signature { color: var(--purple-soft); font-size: 8px; letter-spacing: .22em; }
.footer-column { display: grid; align-content: start; gap: 10px; }
.footer-column strong { margin-bottom: 6px; color: #eeeaf2; font-size: 10px; letter-spacing: .09em; text-transform: uppercase; }
.footer-column a { color: var(--muted); font-size: 11px; }
.footer-column a:hover { color: white; }
.footer-bottom { margin-top: 55px; padding-top: 18px; display: flex; justify-content: space-between; gap: 25px; border-top: 1px solid rgba(255, 255, 255, .055); color: var(--muted-2); font-size: 9px; }
.footer-bottom > div { display: flex; gap: 20px; }
.flash-stack { position: fixed; z-index: 120; top: 94px; left: 50%; transform: translateX(-50%); pointer-events: none; }
.app-flashes { padding: 0 32px; }
.flash {
    width: min(100%, 720px);
    margin: 0 auto 10px;
    padding: 14px 16px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    border: 1px solid var(--line);
    border-radius: 11px;
    background: rgba(15, 15, 21, .96);
    box-shadow: var(--shadow);
    pointer-events: auto;
}
.flash > span { flex: 0 0 auto; width: 20px; height: 20px; display: grid; place-items: center; border-radius: 50%; font-size: 10px; }
.flash p { flex: 1; margin: 0; color: #d8d4de; font-size: 11px; }
.flash button { padding: 0; border: 0; background: none; color: var(--muted); cursor: pointer; font-size: 18px; line-height: 1; }
.flash-success { border-color: rgba(101, 217, 158, .25); }
.flash-success > span { color: var(--green); background: rgba(101, 217, 158, .1); }
.flash-error { border-color: rgba(255, 111, 125, .25); }
.flash-error > span { color: var(--red); background: rgba(255, 111, 125, .1); }
.validation-summary ul { padding-left: 17px; margin: 4px 0 0; color: var(--muted); font-size: 10px; }
.cookie-banner {
    position: fixed;
    z-index: 130;
    right: 22px;
    bottom: 22px;
    width: min(calc(100% - 44px), 600px);
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 25px;
    border: 1px solid var(--line-strong);
    border-radius: 15px;
    background: rgba(13, 13, 18, .96);
    box-shadow: var(--shadow);
    backdrop-filter: blur(20px);
}
.cookie-banner strong { font-size: 12px; }
.cookie-banner p { margin: 2px 0 0; color: var(--muted); font-size: 9px; }
.cookie-actions { display: flex; gap: 8px; flex: 0 0 auto; }
.cookie-actions .button { padding-inline: 12px; font-size: 9px; }

/* App shell */
.app-shell { min-height: 100vh; display: flex; background: #08080b; }
.app-sidebar {
    position: fixed;
    z-index: 70;
    inset: 0 auto 0 0;
    width: 245px;
    padding: 25px 20px;
    display: flex;
    flex-direction: column;
    border-right: 1px solid var(--line);
    background: #09090d;
}
.app-user { margin: 32px 0 28px; padding: 16px 0; display: flex; align-items: center; gap: 11px; border-block: 1px solid var(--line); }
.app-user > div { min-width: 0; display: grid; }
.app-user strong { overflow: hidden; font-size: 11px; text-overflow: ellipsis; }
.app-user small { overflow: hidden; color: var(--muted-2); font-size: 8px; text-overflow: ellipsis; text-transform: uppercase; }
.avatar {
    flex: 0 0 auto;
    display: inline-grid;
    place-items: center;
    border: 1px solid rgba(171, 129, 255, .25);
    border-radius: 50%;
    background: linear-gradient(145deg, rgba(140, 82, 255, .17), rgba(255, 255, 255, .03));
    color: var(--purple-soft);
    font-family: "Space Grotesk", sans-serif;
}
.avatar-small { width: 34px; height: 34px; font-size: 11px; }
.avatar-tiny { width: 27px; height: 27px; font-size: 9px; }
.avatar-large { width: 72px; height: 72px; font-size: 26px; }
.app-nav { display: grid; gap: 4px; }
.app-nav > span { margin: 17px 11px 7px; color: var(--muted-2); font-size: 7px; letter-spacing: .15em; text-transform: uppercase; }
.app-nav > a { min-height: 41px; padding: 0 11px; display: flex; align-items: center; gap: 12px; border-radius: 8px; color: #9995a2; font-size: 10px; font-weight: 600; }
.app-nav > a i { width: 16px; color: #77727e; font-style: normal; text-align: center; }
.app-nav > a:hover, .app-nav > a[aria-current="page"] { color: white; background: rgba(255, 255, 255, .045); }
.app-nav > a[aria-current="page"] i { color: var(--purple-soft); }
.app-sidebar-footer { margin-top: auto; padding-top: 15px; display: grid; gap: 5px; border-top: 1px solid var(--line); }
.app-sidebar-footer a, .app-sidebar-footer button { width: 100%; padding: 8px 10px; border: 0; background: none; color: var(--muted-2); cursor: pointer; font-size: 9px; text-align: left; }
.app-workspace { min-width: 0; min-height: 100vh; margin-left: 245px; flex: 1; }
.app-topbar { height: 66px; padding: 0 32px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); background: rgba(8, 8, 11, .92); }
.app-topbar > div { display: flex; align-items: center; gap: 9px; }
.app-topbar small { color: var(--muted-2); font-size: 7px; letter-spacing: .12em; }
.system-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 5px rgba(101, 217, 158, .07); }
.topbar-profile { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 9px; }
.app-content { width: min(100%, 1480px); padding: 40px 32px 70px; margin: 0 auto; }
.workspace-heading { margin-bottom: 31px; display: flex; align-items: end; justify-content: space-between; gap: 30px; }
.workspace-heading h1 { margin: 0; font-family: "Space Grotesk", sans-serif; font-size: clamp(34px, 4vw, 50px); line-height: 1; letter-spacing: -.045em; }
.workspace-heading p:not(.eyebrow) { margin: 10px 0 0; color: var(--muted); font-size: 11px; }
.workspace-heading .eyebrow { margin-bottom: 12px; font-size: 8px; }
.workspace-date { display: grid; justify-items: end; }
.workspace-date small { color: var(--muted-2); font-size: 7px; letter-spacing: .13em; }
.workspace-date strong { font-family: "Space Grotesk", sans-serif; font-size: 16px; }
.dashboard-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.dashboard-card {
    min-width: 0;
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: 15px;
    background: linear-gradient(145deg, rgba(255, 255, 255, .032), rgba(255, 255, 255, .012));
}
.span-2 { grid-column: span 2; }
.card-head { display: flex; align-items: start; justify-content: space-between; gap: 15px; margin-bottom: 21px; }
.card-head > div { display: grid; }
.card-head h2 { margin: 4px 0 0; font-family: "Space Grotesk", sans-serif; font-size: 18px; line-height: 1.2; }
.counter { min-width: 25px; height: 25px; padding: 0 7px; display: inline-grid; place-items: center; border: 1px solid var(--line); border-radius: 999px; color: var(--purple-soft); font-size: 9px; }
.next-event-card { background: radial-gradient(circle at 90% 20%, rgba(130, 69, 248, .11), transparent 30%), rgba(255, 255, 255, .02); }
.event-details { display: grid; grid-template-columns: repeat(4, 1fr); border-block: 1px solid var(--line); }
.event-details > div { padding: 17px 15px; display: grid; gap: 3px; border-right: 1px solid var(--line); }
.event-details > div:first-child { padding-left: 0; }
.event-details > div:last-child { border: 0; }
.event-details small { color: var(--muted-2); font-size: 7px; letter-spacing: .11em; }
.event-details strong { font-size: 11px; }
.event-objective { margin: 16px 0 0; color: var(--muted); font-size: 10px; }
.app-empty { min-height: 100px; display: grid; place-items: center; align-content: center; text-align: center; color: var(--muted-2); }
.app-empty i { color: var(--purple-soft); font-style: normal; font-size: 20px; }
.app-empty p { margin: 4px 0; font-size: 10px; }
.app-empty a { color: var(--purple-soft); font-size: 9px; }
.faceit-level { padding: 14px 0; display: flex; align-items: center; gap: 15px; border-block: 1px solid var(--line); }
.faceit-level > span { width: 50px; height: 50px; display: grid; place-items: center; border: 1px solid rgba(171, 128, 255, .28); border-radius: 50%; color: var(--purple-soft); background: rgba(140, 82, 255, .09); font-family: "Space Grotesk", sans-serif; font-size: 20px; }
.faceit-level > div { display: grid; }
.faceit-level strong { font-size: 12px; }
.faceit-level small { color: var(--muted); font-size: 9px; }
.compact-stats { margin: 15px 0; display: grid; gap: 6px; }
.compact-stats > div { display: flex; justify-content: space-between; gap: 15px; }
.compact-stats dt { color: var(--muted-2); font-size: 8px; }
.compact-stats dd { margin: 0; font-size: 9px; }
.source-warning { padding: 9px; border: 1px solid rgba(243, 189, 99, .18); border-radius: 7px; color: var(--amber) !important; background: rgba(243, 189, 99, .05); font-size: 8px !important; }
.mini-chart { height: 220px; }
.mini-chart canvas { width: 100%; height: 100%; }
.chart-empty { height: 190px; display: grid; place-items: center; align-content: center; border: 1px dashed var(--line); color: var(--muted-2); text-align: center; }
.chart-empty span { font-size: 40px; }
.chart-empty p { margin: 0; font-size: 9px; }
.chart-legend { display: flex; gap: 20px; color: var(--muted-2); font-size: 8px; }
.chart-legend span { display: flex; align-items: center; gap: 6px; }
.chart-legend i { width: 7px; height: 2px; background: var(--purple); }
.chart-legend i.muted { background: var(--muted-2); }
.compact-versus { padding: 15px 0; display: flex; align-items: center; justify-content: center; gap: 25px; }
.compact-versus strong { width: 46px; height: 46px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; font-family: "Space Grotesk", sans-serif; }
.compact-versus span { color: var(--muted-2); font-size: 8px; }
.match-convocation-card h3 { margin: 6px 0 0; text-align: center; font-family: "Space Grotesk", sans-serif; }
.match-convocation-card > p { margin: 3px 0 16px; color: var(--muted); font-size: 9px; text-align: center; }
.confirmation-actions { display: flex; gap: 8px; }
.confirmation-actions .button { flex: 1; }
.objective-list { display: grid; }
.objective-list > div { padding: 12px 0; display: grid; grid-template-columns: 8px 1fr auto; align-items: center; gap: 10px; border-bottom: 1px solid var(--line); }
.objective-list > div:last-child { border-bottom: 0; }
.objective-status { width: 6px; height: 6px; border-radius: 50%; background: var(--purple); box-shadow: 0 0 10px rgba(140, 82, 255, .6); }
.objective-list div > div { display: grid; }
.objective-list strong { font-size: 9px; }
.objective-list small { color: var(--muted-2); font-size: 8px; }
.objective-list time { color: var(--muted); font-size: 8px; }
.radial-progress {
    width: 120px;
    aspect-ratio: 1;
    margin: 10px auto;
    display: grid;
    place-items: center;
    align-content: center;
    border-radius: 50%;
    background: radial-gradient(closest-side, #101016 78%, transparent 80% 99%), conic-gradient(var(--purple) calc(var(--progress) * 1%), rgba(255, 255, 255, .06) 0);
}
.radial-progress strong { font-family: "Space Grotesk", sans-serif; font-size: 27px; line-height: 1; }
.radial-progress sup { color: var(--purple-soft); font-size: 10px; }
.radial-progress span { color: var(--muted-2); font-size: 7px; text-transform: uppercase; }
.attendance-card > p { color: var(--muted); font-size: 9px; text-align: center; }
.availability-card label { margin-bottom: 9px; }
.availability-card input, .availability-card select { min-height: 38px; }
.notification-list { display: grid; }
.notification-list > div { padding: 12px 0; display: grid; grid-template-columns: 7px 1fr auto; gap: 11px; border-bottom: 1px solid var(--line); }
.notification-list > div:last-child { border-bottom: 0; }
.notification-list i { width: 5px; height: 5px; margin-top: 7px; border-radius: 50%; background: var(--muted-2); }
.notification-list .unread i { background: var(--purple); box-shadow: 0 0 9px var(--purple); }
.notification-list div > div { display: grid; }
.notification-list strong { font-size: 9px; }
.notification-list p { margin: 0; color: var(--muted); font-size: 8px; }
.notification-list time { color: var(--muted-2); font-size: 7px; }
.settings-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.settings-grid .dashboard-card > p { color: var(--muted); font-size: 10px; }
.profile-identity { margin-bottom: 25px; padding-bottom: 20px; display: flex; align-items: center; gap: 16px; border-bottom: 1px solid var(--line); }
.profile-identity > div { display: grid; }
.profile-identity strong { font-family: "Space Grotesk", sans-serif; font-size: 19px; }
.profile-identity p { margin: 0; color: var(--muted); font-size: 9px; }
.external-identity { margin: 14px 0; padding: 12px; display: flex; align-items: center; gap: 12px; border: 1px solid var(--line); border-radius: 10px; background: rgba(255, 255, 255, .018); }
.external-identity img { width: 46px; height: 46px; flex: 0 0 auto; border-radius: 10px; object-fit: cover; }
.external-identity > div { min-width: 0; display: grid; gap: 4px; }
.external-identity strong { overflow: hidden; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.external-identity small { color: var(--muted); font-size: 8px; }
.identity-stats { margin: 14px 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.identity-stats > div { padding: 10px; display: grid; gap: 3px; border: 1px solid var(--line); border-radius: 8px; }
.identity-stats dt { color: var(--muted-2); font-size: 7px; letter-spacing: .08em; text-transform: uppercase; }
.identity-stats dd { margin: 0; font-family: "Space Grotesk", sans-serif; font-size: 16px; }
.identity-actions { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.identity-actions form { margin: 0; }
.sync-tracker { margin-top: 12px; padding: 12px; display: grid; gap: 10px; border: 1px solid var(--line); border-radius: 9px; background: rgba(255, 255, 255, .018); }
.sync-tracker > div { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.sync-tracker > div span, .sync-tracker dt { color: var(--muted-2); font-size: 7px; letter-spacing: .08em; text-transform: uppercase; }
.sync-tracker > div strong { color: var(--muted); font-size: 9px; }
.sync-tracker[data-state="completed"] > div strong, .sync-tracker[data-state="synced"] > div strong { color: var(--success); }
.sync-tracker[data-state="running"] > div strong { color: #c5a7ff; }
.sync-tracker[data-state="failed"] > div strong, .sync-tracker[data-state="error"] > div strong { color: var(--danger); }
.sync-tracker dl { margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.sync-tracker dl > div { display: grid; gap: 2px; }
.sync-tracker dd { margin: 0; font-size: 9px; }
.sync-tracker p { min-height: 12px; margin: 0; color: var(--muted); font-size: 8px; }
.privacy-options { margin: 10px 0 20px; }
.application-status-card h2 { font-family: "Space Grotesk", sans-serif; }
.application-status-card > p { color: var(--muted); font-size: 10px; }

/* Staff/admin */
.metric-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 25px; }
.metric-card { padding: 20px; display: grid; gap: 3px; border: 1px solid var(--line); border-radius: 13px; background: rgba(255, 255, 255, .02); }
.metric-card > span { color: var(--muted-2); font-size: 7px; letter-spacing: .12em; }
.metric-card strong { font-family: "Space Grotesk", sans-serif; font-size: 33px; line-height: 1.2; }
.metric-card sup { color: var(--muted); font-size: 13px; }
.metric-card small { color: var(--muted); font-size: 8px; }
.workspace-tabs {
    margin-bottom: 22px;
    padding: 5px;
    display: flex;
    gap: 3px;
    overflow-x: auto;
    border: 1px solid var(--line);
    border-radius: 11px;
    background: rgba(255, 255, 255, .018);
    scrollbar-width: thin;
}
.workspace-tabs button { min-height: 35px; padding: 0 13px; display: inline-flex; align-items: center; gap: 8px; border: 0; border-radius: 7px; background: transparent; color: var(--muted); cursor: pointer; font-size: 9px; white-space: nowrap; }
.workspace-tabs button span { min-width: 18px; height: 18px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; font-size: 7px; }
.workspace-tabs button.active { background: rgba(140, 82, 255, .11); color: white; }
.tab-panel { display: none; }
.tab-panel.active { display: block; animation: panel-in .25s ease; }
@keyframes panel-in { from { opacity: 0; transform: translateY(5px); } }
.staff-overview-grid { grid-template-columns: 1.4fr 1fr 1fr; }
.roster-table { display: grid; }
.roster-table > div { padding: 10px 0; display: grid; grid-template-columns: 36px 1fr 35px 72px 80px; align-items: center; gap: 9px; border-bottom: 1px solid var(--line); }
.roster-table > div:last-child { border-bottom: 0; }
.roster-table div > div { display: grid; }
.roster-table strong { font-size: 9px; }
.roster-table small { color: var(--muted); font-size: 8px; }
.roster-table > div > span:not(.avatar, .status-badge) { color: var(--muted); font-size: 8px; text-align: right; }
.roster-member { border-bottom: 1px solid var(--line); }
.roster-member:last-child { border-bottom: 0; }
.roster-member summary { padding: 10px 0; display: grid; grid-template-columns: 36px 1fr 35px 72px 80px; align-items: center; gap: 9px; cursor: pointer; list-style: none; }
.roster-member summary::-webkit-details-marker { display: none; }
.roster-member summary > div { min-width: 0; display: grid; }
.roster-member summary > span:not(.avatar, .status-badge) { color: var(--muted); font-size: 8px; text-align: right; }
.roster-member[open] summary { background: rgba(137, 83, 255, .035); }
.role-editor { margin: 0 0 12px 45px; padding: 14px; border: 1px solid var(--line); border-radius: 10px; background: rgba(255, 255, 255, .018); }
.role-editor fieldset { margin: 0 0 12px; padding: 0; border: 0; }
.role-editor legend { margin-bottom: 9px; font-family: "Space Grotesk", sans-serif; font-size: 10px; }
.role-checkboxes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 7px; }
.role-checkboxes label { margin: 0; padding: 8px; display: flex; align-items: center; gap: 7px; border: 1px solid var(--line); border-radius: 7px; color: var(--muted); font-size: 8px; cursor: pointer; }
.role-checkboxes input { width: 14px; height: 14px; margin: 0; accent-color: var(--purple); }
.role-checkboxes label:has(input:checked) { border-color: rgba(169, 120, 255, .45); color: var(--text); background: rgba(137, 83, 255, .08); }
.admin-role-manager { position: relative; }
.admin-role-manager > summary { display: flex; align-items: center; list-style: none; }
.admin-role-manager > summary::-webkit-details-marker { display: none; }
.admin-role-manager[open] > summary { border-color: rgba(169, 120, 255, .45); color: var(--text); }
.role-editor-compact { position: absolute; z-index: 20; top: calc(100% + 7px); right: 0; width: min(420px, 75vw); margin: 0; box-shadow: var(--shadow); }
.progress-list { display: grid; gap: 13px; }
.progress-list > div > div { display: flex; justify-content: space-between; font-size: 8px; }
.progress-list span { color: var(--muted); }
progress { width: 100%; height: 3px; display: block; border: 0; appearance: none; }
progress::-webkit-progress-bar { background: rgba(255, 255, 255, .06); }
progress::-webkit-progress-value { background: var(--purple); }
progress::-moz-progress-bar { background: var(--purple); }
.compact-list { display: grid; border: 1px solid var(--line); border-radius: 12px; background: rgba(255, 255, 255, .015); }
.compact-list > div { min-height: 60px; padding: 11px 14px; display: grid; grid-template-columns: 70px 1fr auto; align-items: center; gap: 13px; border-bottom: 1px solid var(--line); }
.compact-list > div:last-child { border: 0; }
.compact-list > div > span { color: var(--purple-soft); font-size: 8px; font-weight: 700; }
.compact-list > div > div { display: grid; }
.compact-list strong { font-size: 9px; }
.compact-list small { color: var(--muted); font-size: 8px; }
.compact-list i { color: var(--muted-2); font-size: 7px; font-style: normal; text-transform: uppercase; }
.panel-heading { margin: 8px 0 20px; display: flex; align-items: end; justify-content: space-between; gap: 25px; }
.panel-heading h2 { margin: 5px 0 0; font-family: "Space Grotesk", sans-serif; font-size: 25px; }
.panel-heading > p { margin: 0; color: var(--muted); font-size: 9px; }
.data-table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; }
.data-table { width: 100%; border-collapse: collapse; background: rgba(255, 255, 255, .014); font-size: 9px; }
.data-table th { padding: 12px 14px; color: var(--muted-2); background: rgba(255, 255, 255, .02); font-size: 7px; letter-spacing: .1em; text-align: left; text-transform: uppercase; }
.data-table td { padding: 13px 14px; border-top: 1px solid var(--line); color: #c6c2cc; vertical-align: middle; }
.data-table td > strong, .data-table td > small { display: block; }
.data-table td > small { color: var(--muted-2); }
.inline-form, .table-actions { display: flex; align-items: center; gap: 6px; }
.inline-form { margin: 2px 0; }
.inline-form select { width: auto; min-height: 30px; padding: 0 28px 0 8px; border-radius: 6px; background-position: calc(100% - 12px) 13px, calc(100% - 8px) 13px; font-size: 8px; }
.table-action { min-height: 28px; padding: 0 9px; border: 1px solid var(--line); border-radius: 6px; background: rgba(255, 255, 255, .035); color: #c8c4ce; cursor: pointer; font-size: 8px; white-space: nowrap; }
.table-action.danger { color: var(--red); }
.split-panel { display: grid; grid-template-columns: 1.2fr .8fr; gap: 20px; align-items: start; }
.resource-form { position: sticky; top: 85px; }
.resource-form input, .resource-form select { min-height: 40px; }
.wide-form { max-width: 1000px; }
.score-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0 11px; }
.score-grid input { min-height: 41px; }
.admin-users { min-width: 1050px; }
.invitation-result { margin-bottom: 20px; display: flex; align-items: center; justify-content: space-between; gap: 20px; border-color: rgba(101, 217, 158, .22); background: rgba(101, 217, 158, .045); }
.invitation-result > div { min-width: 0; display: grid; gap: 5px; }
.invitation-result strong { font-size: 10px; }
.invitation-result code { overflow: hidden; color: var(--green); font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }

/* Error pages */
.error-page { min-height: 70vh; padding: 90px 20px; display: grid; place-items: center; align-content: center; text-align: center; background: radial-gradient(circle, rgba(124, 65, 245, .12), transparent 30%); }
.error-page > span { color: rgba(174, 131, 255, .22); font-family: "Space Grotesk", sans-serif; font-size: 120px; line-height: 1; }
.error-page h1 { margin: -15px 0 5px; font-family: "Space Grotesk", sans-serif; font-size: 45px; }
.error-page p { max-width: 520px; margin: 0 0 25px; color: var(--muted); }
.error-page code { max-width: 700px; margin-bottom: 25px; overflow-wrap: anywhere; }

.reveal { opacity: 0; transform: translateY(20px); transition: opacity .65s ease, transform .65s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: .1s; }
.delay-2 { transition-delay: .2s; }

@media (max-width: 1120px) {
    .main-nav { gap: 18px; }
    .main-nav > a { font-size: 11px; }
    .hero-layout { gap: 25px; }
    .hero-copy h1 { font-size: clamp(64px, 8vw, 92px); }
    .match-feature { grid-template-columns: 180px 1fr; }
    .match-feature-action { grid-column: 1 / -1; justify-content: center; }
    .stats-layout { gap: 45px; }
    .process-grid { grid-template-columns: repeat(2, 1fr); }
    .staff-overview-grid { grid-template-columns: 1fr 1fr; }
    .staff-overview-grid .span-2 { grid-column: 1 / -1; }
    .dashboard-grid { grid-template-columns: 1fr 1fr; }
    .dashboard-grid > .span-2 { grid-column: span 1; }
    .notifications-card { grid-column: 1 / -1 !important; }
}

@media (max-width: 900px) {
    body.public-shell { padding-top: 72px; }
    .site-header, .site-header.scrolled { height: 72px; }
    .menu-toggle { position: relative; z-index: 82; display: block; }
    .menu-toggle.active > span:first-child { transform: translateY(3.75px) rotate(45deg); }
    .menu-toggle.active > span:nth-child(2) { transform: translateY(-3.75px) rotate(-45deg); }
    .main-nav {
        position: fixed;
        z-index: 81;
        inset: 0;
        padding: 100px 30px 40px;
        flex-direction: column;
        justify-content: center;
        gap: 20px;
        background: rgba(6, 6, 9, .98);
        transform: translateX(100%);
        transition: transform .3s ease;
    }
    .main-nav.open { transform: translateX(0); }
    .main-nav > a { font-family: "Space Grotesk", sans-serif; font-size: 24px; }
    .main-nav > a::after { display: none; }
    .main-nav .nav-cta { padding: 0 22px; font-size: 14px; }
    .hero { min-height: auto; padding: 80px 0 70px; }
    .hero-layout, .stats-layout, .recruitment-panel, .form-layout, .auth-panel { grid-template-columns: 1fr; }
    .hero-copy { text-align: center; }
    .hero-copy .eyebrow, .hero-actions { justify-content: center; }
    .hero-lead { margin-inline: auto; }
    .hero-proof { justify-content: center; }
    .hero-orbit-panel { justify-self: center; width: min(100%, 470px); }
    .hero-bottom-line { display: none; }
    .roster-grid, .news-grid, .content-card-grid { grid-template-columns: repeat(2, 1fr); }
    .stats-copy { text-align: center; }
    .stats-copy .eyebrow { justify-content: center; }
    .stats-copy p { margin-inline: auto !important; }
    .recruitment-panel { padding: 45px; }
    .footer-main { grid-template-columns: 1.5fr 1fr 1fr; }
    .footer-column:last-child { display: none; }
    .application-layout { grid-template-columns: 1fr; }
    .application-aside { position: static; }
    .application-aside ol { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
    .application-aside li { padding: 0; display: grid; justify-items: center; text-align: center; }
    .application-aside li::before { display: none; }
    .application-aside li > span { position: static; }
    .auth-panel { max-width: 590px; gap: 40px; }
    .auth-brand { text-align: center; }
    .auth-brand h1 { font-size: 52px; }
    .app-sidebar { transform: translateX(-100%); transition: transform .25s ease; box-shadow: var(--shadow); }
    .app-sidebar.open { transform: translateX(0); }
    .app-workspace { margin-left: 0; }
    .app-menu-toggle { display: block; }
    .app-topbar { padding-inline: 20px; }
    .app-topbar > div { margin-right: auto; }
    .topbar-profile { font-size: 0; }
    .app-content { padding: 32px 20px 60px; }
    .app-flashes { padding-inline: 20px; }
    .split-panel { grid-template-columns: 1fr; }
    .resource-form { position: static; }
    .score-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 680px) {
    .container { width: min(calc(100% - 28px), var(--max)); }
    .brand-mark { width: 42px; height: 38px; }
    .brand-copy { width: 104px; }
    .section { padding: 78px 0; }
    .hero-copy h1 { font-size: clamp(52px, 17vw, 75px); }
    .hero-lead { font-size: 14px; }
    .hero-actions .button { width: 100%; }
    .hero-proof { gap: 22px; justify-content: space-between; }
    .hero-orbit-panel { aspect-ratio: 1; margin-top: 15px; }
    .status-chip { right: 5px; }
    .season-chip { left: 5px; }
    .section-intro { align-items: start; flex-direction: column; margin-bottom: 34px; }
    .section-intro h2, .stats-copy h2, .recruitment-panel h2 { font-size: 43px; }
    .match-feature { padding: 23px; grid-template-columns: 1fr; }
    .match-feature-meta { justify-content: center; }
    .match-versus { grid-template-columns: 1fr 55px 1fr; }
    .team-emblem { width: 58px; height: 58px; }
    .roster-grid, .news-grid, .content-card-grid, .directory-grid, .directory-grid-compact, .info-layout, .process-grid { grid-template-columns: 1fr; }
    .player-card { min-height: 390px; }
    .stats-console { padding: 20px; }
    .console-metrics strong { font-size: 34px; }
    .recruitment-panel { padding: 30px 22px; }
    .partners-strip .container { flex-wrap: wrap; gap: 20px; }
    .partners-strip a { margin-left: 0; width: 100%; }
    .page-hero { min-height: 380px; padding-block: 75px; }
    .page-hero-content h1 { font-size: 50px; }
    .page-index { font-size: 37px; }
    .directory-card { min-height: 190px; padding: 20px; }
    .directory-avatar { width: 85px; }
    .match-row { padding: 17px; grid-template-columns: 54px 1fr; gap: 15px; }
    .match-row-status { grid-column: 2; justify-items: start; }
    .form-grid { grid-template-columns: 1fr; }
    .form-span-2 { grid-column: auto; }
    .form-card, .application-form, .auth-card { padding: 25px 20px; }
    .form-submit-row { align-items: stretch; flex-direction: column; }
    .form-submit-row .button { width: 100%; }
    .application-aside { padding: 18px; overflow-x: auto; }
    .application-aside ol { min-width: 520px; }
    .auth-section { padding-inline: 14px; }
    .auth-brand h1 { font-size: 46px; }
    .footer-main { grid-template-columns: 1fr 1fr; }
    .footer-identity { grid-column: 1 / -1; }
    .footer-bottom { flex-direction: column; }
    .footer-bottom > div { flex-wrap: wrap; }
    .cookie-banner { right: 14px; bottom: 14px; width: calc(100% - 28px); align-items: stretch; flex-direction: column; }
    .cookie-actions { flex-direction: column; }
    .dashboard-grid, .settings-grid, .staff-overview-grid, .metric-grid { grid-template-columns: 1fr; }
    .dashboard-grid > .span-2, .settings-grid > .span-2, .staff-overview-grid .span-2 { grid-column: auto !important; }
    .workspace-heading { align-items: start; flex-direction: column; }
    .workspace-date { justify-items: start; }
    .event-details { grid-template-columns: 1fr 1fr; }
    .event-details > div:nth-child(2) { border-right: 0; }
    .event-details > div:first-child { padding-left: 15px; }
    .event-details > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
    .score-grid { grid-template-columns: 1fr 1fr; }
    .panel-heading { align-items: start; flex-direction: column; }
    .roster-table > div, .roster-member summary { grid-template-columns: 35px 1fr 70px; }
    .roster-table > div > span:nth-child(3), .roster-table > div > span:last-child,
    .roster-member summary > span:nth-child(3), .roster-member summary > span:last-child { display: none; }
    .role-editor { margin-left: 0; }
    .role-checkboxes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .data-table-wrap { border: 0; overflow: visible; }
    .data-table, .data-table tbody, .data-table tr, .data-table td { display: block; width: 100%; }
    .data-table thead { display: none; }
    .data-table tr { margin-bottom: 10px; padding: 9px; border: 1px solid var(--line); border-radius: 10px; background: rgba(255, 255, 255, .018); }
    .data-table td { padding: 8px 9px; display: flex; justify-content: space-between; gap: 15px; border-top: 1px solid var(--line); text-align: right; }
    .data-table td:first-child { border-top: 0; }
    .data-table td[data-label]::before { content: attr(data-label); color: var(--muted-2); font-size: 7px; letter-spacing: .08em; text-transform: uppercase; }
    .data-table td .inline-form, .data-table td .table-actions { align-items: stretch; flex-direction: column; }
    .admin-users { min-width: 0; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition-duration: .01ms !important; }
    .reveal { opacity: 1; transform: none; }
}
