@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@200;300;400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@500;600;700;800&display=swap');
@import url('./design-tokens.css');

/* Centralized Typography Variables */
:root {
    /* Standardized Sleek Font Style (matching scoreboard) */
    --font-weight-standard: 400;
    --font-weight-bold: 600;
    --letter-spacing-standard: 0.05em;
    --letter-spacing-wide: 0.1em;
    --text-transform-standard: uppercase;
    
    /* Readable Analysis Font Style - Modern, clean, readable */
    --analysis-font-family: var(--prophet-font-body);
    --metric-font-family: var(--prophet-font-metric);
    --analysis-font-weight: 400;
    --analysis-font-size: 0.9rem;
    --analysis-line-height: 1.7;
    --analysis-letter-spacing: 0.01em;
    --analysis-text-transform: none;
}

/* Typography Utility Class - Apply sleek font style consistently */
.sleek-text {
    font-weight: var(--font-weight-standard);
    text-transform: var(--text-transform-standard);
    letter-spacing: var(--letter-spacing-standard);
}

.sleek-text-wide {
    font-weight: var(--font-weight-standard);
    text-transform: var(--text-transform-standard);
    letter-spacing: var(--letter-spacing-wide);
}

/* Readable Analysis Text - Modern, clean reading experience */
.analysis-text {
    font-family: var(--analysis-font-family);
    font-weight: var(--analysis-font-weight);
    font-size: var(--analysis-font-size);
    line-height: var(--analysis-line-height);
    letter-spacing: var(--analysis-letter-spacing);
    text-transform: var(--analysis-text-transform);
}

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

body {
    font-family: var(--prophet-font-body);
    background: var(--prophet-color-canvas);
    min-height: 100vh;
    padding: 0;
    color: var(--prophet-color-text-primary);
    font-weight: 400;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    background: transparent;
    min-height: 100vh;
}

.main-header {
    text-align: center;
    padding: 40px 40px 20px 40px;
    border-bottom: 1px solid #1a1a1a;
}

.header-logo {
    margin-bottom: 0;
    width: 100%;
}

.logo-link {
    text-decoration: none;
    color: inherit;
    display: inline-flex;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.logo-link:hover {
    opacity: 0.92;
}

.logo-main {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 600;
    color: #ffffff;
    letter-spacing: -0.02em;
    text-align: center;
    line-height: 1;
    margin: 0;
    padding: 0;
}

.subtitle {
    font-size: 0.75rem;
    color: #cccccc;
    font-weight: 600;
    text-align: center;
    margin-top: 2px;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.prophet-logo {
    align-items: center;
    color: #ffffff;
    gap: 5px;
    min-width: 0;
}

.prophet-logo:hover,
.prophet-logo:focus-visible {
    opacity: 1;
}

.prophet-logo:focus-visible {
    border-radius: 4px;
    outline: 1px solid rgba(255, 255, 255, 0.72);
    outline-offset: 5px;
}

.prophet-logo-mark {
    color: rgb(var(--league-accent-rgb));
    display: grid;
    flex: 0 0 57px;
    height: 61px;
    place-items: center;
    position: relative;
    transition: transform 180ms ease;
    width: 57px;
}

.prophet-logo:hover .prophet-logo-mark,
.prophet-logo:focus-visible .prophet-logo-mark {
    transform: translateY(-1px);
}

.prophet-logo-icon {
    display: block;
    height: 100%;
    overflow: visible;
    width: 100%;
}

.prophet-logo-accent {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    overflow: visible;
    pointer-events: none;
}

.prophet-logo-accent .prophet-logo-accent-liquid {
    animation: none;
    fill: rgb(var(--league-accent-rgb));
    stroke: rgb(var(--league-accent-rgb));
    stroke-width: 0.45px;
    opacity: 1;
}

.prophet-logo-accent-bubble {
    opacity: 0.94;
}

.prophet-logo-accent-bubble.is-primary {
    fill: rgb(var(--league-accent-rgb));
}

.prophet-logo-accent-bubble.is-secondary {
    fill: rgb(var(--league-secondary-rgb));
}

.prophet-bottle-body,
.prophet-bottle-neck,
.prophet-bottle-line {
    vector-effect: non-scaling-stroke;
}

.prophet-bottle-body {
    fill: rgba(15, 23, 42, 0.88);
    stroke: rgba(226, 232, 240, 0.62);
    stroke-linejoin: round;
    stroke-width: 2;
}

.prophet-bottle-neck {
    fill: #020617;
    stroke: rgba(226, 232, 240, 0.78);
    stroke-width: 2;
}

.prophet-liquid {
    animation: prophetLiquidPulse 3600ms ease-in-out infinite;
    fill: rgb(var(--league-accent-rgb));
    opacity: 0.9;
    transform-box: fill-box;
    transform-origin: center;
}

.prophet-liquid-dot {
    fill: rgba(255, 255, 255, 0.76);
}

.prophet-bottle-line {
    fill: none;
    opacity: 0.46;
    stroke: rgba(255, 255, 255, 0.78);
    stroke-linecap: round;
    stroke-width: 1.7;
}

.prophet-bubble {
    animation: prophetBubbleRise 2800ms cubic-bezier(0.2, 0.7, 0.2, 1) infinite;
    fill: rgb(var(--league-secondary-rgb));
    opacity: 0;
    transform-box: fill-box;
    transform-origin: center;
    will-change: transform, opacity;
}

.prophet-bubble-one {
    animation-delay: -420ms;
}

.prophet-bubble-two {
    animation-delay: -1360ms;
    fill: rgba(255, 255, 255, 0.9);
}

.prophet-bubble-three {
    animation-delay: -2140ms;
}

.prophet-logo:hover .prophet-bubble,
.prophet-logo:focus-visible .prophet-bubble {
    animation-duration: 2100ms;
}

.prophet-logo-copy {
    display: flex;
    flex-direction: column;
    gap: 9px;
    min-width: 0;
}

.prophet-wordmark {
    position: relative;
    isolation: isolate;
    white-space: nowrap;
}

.top-header .logo-main.prophet-wordmark {
    display: inline-flex;
    align-items: baseline;
    width: max-content;
    max-width: 100%;
}

.prophet-wordmark::after {
    content: "";
    position: absolute;
    z-index: -1;
    inset: -0.14em -0.1em -0.08em;
    background: linear-gradient(
        90deg,
        rgba(var(--league-secondary-rgb), 0),
        rgba(var(--league-secondary-rgb), 0.18) 34%,
        rgba(255, 255, 255, 0.54) 50%,
        rgba(var(--league-accent-rgb), 0.38) 63%,
        rgba(var(--league-accent-rgb), 0)
    );
    filter: blur(7px);
    opacity: 0;
    transform: translateX(-0.34em) scaleX(0.46);
    transform-origin: center;
    animation: none;
    pointer-events: none;
}

.prophet-wordmark-stem {
    display: inline-block;
}

.prophet-wordmark-readable {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    border: 0;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    overflow: hidden;
    white-space: nowrap;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    border: 0;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    overflow: hidden;
    white-space: nowrap;
}

.prophet-wordmark-tail {
    display: inline-grid;
    min-width: 4.16ch;
    position: relative;
}

.prophet-wordmark-tail::after {
    content: "";
    position: absolute;
    inset: 0.05em -0.02em -0.04em -0.08em;
    background: repeating-linear-gradient(
        180deg,
        transparent 0 0.15em,
        rgba(var(--league-accent-rgb), 0.4) 0.15em 0.2em,
        transparent 0.2em 0.34em
    );
    mix-blend-mode: screen;
    opacity: 0;
    pointer-events: none;
    transform: translateX(-0.04em) skewX(-8deg);
    animation: none;
}

.prophet-wordmark-prophet,
.prophet-wordmark-profit {
    grid-area: 1 / 1;
    display: inline-block;
    will-change: auto;
}

.prophet-wordmark.is-signal-armed .prophet-wordmark-prophet,
.prophet-wordmark.is-signal-armed .prophet-wordmark-profit,
.prophet-wordmark.is-signal-live .prophet-wordmark-prophet,
.prophet-wordmark.is-signal-live .prophet-wordmark-profit {
    will-change: opacity, transform, filter;
}

.prophet-wordmark-prophet {
    animation: none;
}

.prophet-wordmark-profit {
    color: rgb(var(--league-accent-rgb));
    opacity: 0;
    position: relative;
    text-shadow:
        0 0 0 rgba(var(--league-accent-rgb), 0),
        0 0 0 rgba(var(--league-secondary-rgb), 0);
    transform: translateY(0.02em);
    animation: none;
}

.prophet-wordmark-profit::before,
.prophet-wordmark-profit::after {
    content: "fit";
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
    text-shadow: none;
}

.prophet-wordmark-profit::before {
    color: rgba(255, 255, 255, 0.72);
    animation: none;
}

.prophet-wordmark-profit::after {
    color: rgb(var(--league-secondary-rgb));
    animation: none;
}

.prophet-wordmark.is-signal-live::after {
    animation: prophetSignalSweep 640ms steps(1, end) both;
}

.prophet-wordmark.is-signal-live .prophet-wordmark-tail::after {
    animation: prophetSignalStatic 640ms steps(1, end) both;
}

.prophet-wordmark.is-signal-live .prophet-wordmark-prophet {
    animation: prophetTailProphet 640ms ease-in-out both;
}

.prophet-wordmark.is-signal-live .prophet-wordmark-profit {
    animation: prophetTailProfit 640ms ease-in-out both;
}

.prophet-wordmark.is-signal-live .prophet-wordmark-profit::before {
    animation: prophetProfitSignalGhostWhite 640ms steps(1, end) both;
}

.prophet-wordmark.is-signal-live .prophet-wordmark-profit::after {
    animation: prophetProfitSignalGhostCyan 640ms steps(1, end) both;
}

@keyframes prophetBubbleRise {
    0% {
        opacity: 0;
        transform: translateY(8px) scale(0.54);
    }
    18% {
        opacity: 0.88;
    }
    68% {
        opacity: 0.78;
    }
    100% {
        opacity: 0;
        transform: translateY(-16px) scale(1);
    }
}

@keyframes prophetLiquidPulse {
    0%, 100% {
        opacity: 0.82;
        transform: translateY(0);
    }
    50% {
        opacity: 0.98;
        transform: translateY(-0.8px);
    }
}

@keyframes prophetTailProphet {
    0%, 100% {
        opacity: 1;
        filter: none;
        transform: translateY(0);
    }

    6% {
        opacity: 0.28;
        filter: blur(0.4px);
        transform: translateX(0.018em);
    }

    10% {
        opacity: 0.88;
        filter: none;
        transform: translateX(-0.01em);
    }

    18%, 78% {
        opacity: 0.02;
        filter: blur(0.9px);
        transform: translateX(-0.025em) skewX(-3deg);
    }

    28% {
        opacity: 0.2;
        filter: blur(0.45px);
        transform: translateX(0.03em);
    }

    86% {
        opacity: 0.72;
        filter: blur(0.24px);
        transform: translateX(-0.012em);
    }
}

@keyframes prophetTailProfit {
    0%, 100% {
        opacity: 0;
        filter: blur(0.8px);
        text-shadow:
            0 0 0 rgba(var(--league-accent-rgb), 0),
            0 0 0 rgba(var(--league-secondary-rgb), 0);
        transform: translateY(0.02em);
    }

    6% {
        opacity: 0.18;
        filter: blur(0.8px);
        transform: translateX(-0.05em) skewX(-6deg);
    }

    10% {
        opacity: 0;
        transform: translateX(0.04em);
    }

    18% {
        opacity: 0.94;
        filter: blur(0.12px);
        text-shadow:
            0 0 8px rgba(var(--league-accent-rgb), 0.48),
            0 0 14px rgba(var(--league-secondary-rgb), 0.22);
        transform: translateX(0.026em) skewX(2deg);
    }

    25% {
        opacity: 0.34;
        filter: blur(0.4px);
        transform: translateX(-0.04em) skewX(-4deg);
    }

    32%, 72% {
        opacity: 1;
        filter: none;
        text-shadow:
            0 0 9px rgba(var(--league-accent-rgb), 0.54),
            0 0 16px rgba(var(--league-secondary-rgb), 0.24);
        transform: translateX(0);
    }

    78% {
        opacity: 0.64;
        filter: blur(0.16px);
        transform: translateX(0.035em) skewX(3deg);
    }

    84% {
        opacity: 1;
        filter: none;
        transform: translateX(-0.018em);
    }

    91% {
        opacity: 0.24;
        filter: blur(0.45px);
        transform: translateX(-0.052em) skewX(-5deg);
    }

    96% {
        opacity: 0.9;
        filter: blur(0.14px);
        transform: translateX(0.02em);
    }
}

@keyframes prophetSignalSweep {
    0%, 100% {
        opacity: 0;
        transform: translateX(-0.34em) scaleX(0.46);
    }

    6% {
        opacity: 0.48;
        transform: translateX(-0.18em) scaleX(0.66);
    }

    18% {
        opacity: 0.86;
        transform: translateX(0.03em) scaleX(0.94);
    }

    28% {
        opacity: 0.18;
        transform: translateX(0.17em) scaleX(0.58);
    }

    32%, 78% {
        opacity: 0.58;
        transform: translateX(0.01em) scaleX(1);
    }

    91% {
        opacity: 0.38;
        transform: translateX(0.21em) scaleX(0.64);
    }
}

@keyframes prophetSignalStatic {
    0%, 100% {
        opacity: 0;
        transform: translateX(-0.04em) skewX(-8deg);
    }

    6%, 18%, 32%, 78%, 91% {
        opacity: 0.48;
        transform: translateX(0.035em) skewX(7deg);
    }

    10%, 25%, 72%, 84%, 96% {
        opacity: 0.18;
        transform: translateX(-0.035em) skewX(-6deg);
    }
}

@keyframes prophetProfitSignalGhostWhite {
    0%, 100% {
        opacity: 0;
        transform: translateX(0);
    }

    18%, 32%, 84% {
        opacity: 0.54;
        transform: translateX(-0.04em);
    }

    25%, 78%, 91% {
        opacity: 0.28;
        transform: translateX(0.035em);
    }
}

@keyframes prophetProfitSignalGhostCyan {
    0%, 100% {
        opacity: 0;
        transform: translateX(0);
    }

    18%, 32%, 84% {
        opacity: 0.46;
        transform: translateX(0.05em);
    }

    25%, 78%, 91% {
        opacity: 0.24;
        transform: translateX(-0.03em);
    }
}

@media (prefers-reduced-motion: reduce) {
    .prophet-liquid,
    .prophet-bubble,
    .prophet-wordmark::after,
    .prophet-wordmark-tail::after,
    .prophet-wordmark-prophet,
    .prophet-wordmark-profit,
    .prophet-wordmark-profit::before,
    .prophet-wordmark-profit::after {
        animation: none;
    }

    .prophet-bubble {
        opacity: 0.72;
        transform: none;
        will-change: auto;
    }

    .prophet-wordmark-profit,
    .prophet-wordmark-profit::before,
    .prophet-wordmark-profit::after,
    .prophet-wordmark::after,
    .prophet-wordmark-tail::after {
        opacity: 0;
    }

    .prophet-wordmark-prophet {
        opacity: 1;
        filter: none;
        transform: none;
    }
}

.header-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    margin-top: 8px;
    justify-self: center;
}

.bankroll-section {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.league-toggle-container {
    display: flex;
    justify-content: center;
    margin: 0;
    padding: 0;
}

.top-header {
    --league-accent-rgb: 74, 222, 128;
    --league-secondary-rgb: 45, 212, 191;
    padding: 24px 0 18px;
    border-bottom: 1px solid #1a1a1a;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 740px) minmax(0, 1fr);
    grid-template-areas:
        "brand action bankroll"
        "leagues leagues leagues";
    align-items: start;
    background: transparent;
    position: relative;
    z-index: 50;
    column-gap: clamp(16px, 2vw, 30px);
    row-gap: 14px;
}

/* Allow the three header columns to shrink within their track instead of overflowing. */
.top-header > .brand-block,
.top-header > .header-center,
.top-header > .bankroll-info,
.top-header > .header-leagues,
.top-header > .header-command-center {
    min-width: 0;
}

.desk-posture-label,
.desk-posture-save-state {
    color: rgba(255, 255, 255, 0.44);
    font-size: 0.56rem;
    font-weight: var(--font-weight-bold);
    letter-spacing: 0.11em;
    line-height: 1;
    text-transform: uppercase;
    white-space: nowrap;
}

.desk-posture-label {
    flex: 0 0 auto;
}

.desk-posture-menu {
    position: relative;
    display: inline-flex;
    z-index: 1;
}

.desk-posture-menu.is-open {
    z-index: 1500;
}

.desk-posture-trigger {
    width: 252px;
    height: 32px;
    border: 1px solid rgba(148, 163, 184, 0.22);
    border-radius: 999px;
    background:
        linear-gradient(180deg, rgba(24, 31, 43, 0.92), rgba(3, 7, 18, 0.98)),
        #020202;
    color: rgba(255, 255, 255, 0.82);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 4px;
    font-size: 0.68rem;
    font-weight: var(--font-weight-bold);
    letter-spacing: 0.07em;
    line-height: 1;
    outline: none;
    padding: 0 10px 0 8px;
    text-transform: uppercase;
}

.desk-posture-trigger:hover,
.desk-posture-trigger:focus-visible,
.desk-posture-menu.is-open .desk-posture-trigger {
    border-color: rgba(var(--league-accent-rgb), 0.54);
    color: #ffffff;
}

.desk-posture-trigger:disabled {
    cursor: wait;
    opacity: 0.66;
}

.desk-posture-trigger-emoji,
.desk-posture-option-emoji {
    font-size: 0.98rem;
    line-height: 1;
}

.desk-posture-trigger-text {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    text-align: left;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.desk-posture-trigger-caret {
    width: 7px;
    height: 7px;
    flex: 0 0 7px;
    border-right: 1px solid currentColor;
    border-bottom: 1px solid currentColor;
    opacity: 0.64;
    transform: translateY(-2px) rotate(45deg);
}

.desk-posture-options {
    position: absolute;
    top: calc(100% + 7px);
    left: 0;
    z-index: 1500;
    width: 100%;
    max-height: 188px;
    overflow-y: auto;
    padding: 5px;
    border: 1px solid rgba(148, 163, 184, 0.3);
    border-radius: 8px;
    background:
        radial-gradient(circle at top right, rgba(var(--league-accent-rgb), 0.12), transparent 44%),
        linear-gradient(180deg, rgba(25, 35, 45, 0.99), rgba(5, 9, 14, 0.99)),
        #05080c;
    box-shadow:
        0 20px 44px rgba(0, 0, 0, 0.72),
        inset 0 1px 0 rgba(255, 255, 255, 0.055);
}

.desk-posture-risk-arrow {
    position: absolute;
    top: 9px;
    right: 10px;
    width: 42px;
    height: 172px;
    display: block;
    pointer-events: none;
}

.desk-posture-risk-svg {
    display: block;
    width: 100%;
    height: 100%;
    overflow: visible;
    filter:
        drop-shadow(0 0 8px rgba(var(--league-secondary-rgb), 0.1))
        drop-shadow(0 7px 14px rgba(0, 0, 0, 0.28));
}

.risk-rail-halo,
.risk-rail-taper,
.risk-rail-line,
.risk-rail-label {
    vector-effect: non-scaling-stroke;
}

.risk-stop-muted {
    stop-color: rgba(148, 163, 184, 0.34);
}

.risk-stop-signal {
    stop-color: rgb(var(--league-secondary-rgb));
    stop-opacity: 0.62;
}

.risk-stop-prime {
    stop-color: rgb(var(--league-accent-rgb));
    stop-opacity: 0.74;
}

.risk-stop-heat {
    stop-color: rgb(250, 204, 21);
    stop-opacity: 0.94;
}

.risk-rail-halo {
    fill: none;
    stroke: rgba(15, 23, 42, 0.5);
    stroke-width: 5;
    stroke-linecap: round;
}

.risk-rail-taper {
    fill: url("#riskRailLineGradient");
    opacity: 0.72;
    filter: url("#riskRailGlow");
}

.risk-rail-line {
    fill: none;
    stroke: rgba(255, 255, 255, 0.22);
    stroke-width: 0.85;
    stroke-linecap: round;
    opacity: 0.46;
}

.risk-rail-label {
    dominant-baseline: middle;
    fill: rgba(250, 204, 21, 0.94);
    font-family: 'Orbitron', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 8.8px;
    font-weight: 700;
    letter-spacing: 0.03em;
    opacity: 0.82;
    text-anchor: middle;
}

.desk-posture-options::after {
    display: none;
}

.desk-posture-options:not([hidden]) {
    display: grid;
    gap: 2px;
}

.desk-posture-option {
    min-height: 32px;
    border: 0;
    border-radius: 5px;
    background: transparent;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 0 56px 0 7px;
    font: inherit;
    font-size: 0.66rem;
    font-weight: var(--font-weight-bold);
    letter-spacing: 0.055em;
    text-align: left;
    text-transform: uppercase;
}

.desk-posture-option:hover,
.desk-posture-option:focus-visible,
.desk-posture-option.is-selected {
    background: rgba(255, 255, 255, 0.065);
    color: #ffffff;
    outline: none;
}

.desk-posture-option.is-selected {
    box-shadow: inset 2px 0 0 rgba(var(--league-accent-rgb), 0.78);
}

.desk-posture-save-state {
    position: absolute;
    top: 50%;
    left: calc(100% + 8px);
    display: inline-block;
    min-width: 30px;
    color: #64748b;
    font-size: 0.58rem;
    transform: translateY(-50%);
}

.desk-posture-save-state.is-saved {
    color: #4ade80;
}

.desk-posture-save-state.is-error {
    color: #f87171;
}

.brand-block {
    grid-area: brand;
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-self: start;
    align-self: start;
    gap: 10px;
    width: max-content;
    max-width: 470px;
}

.brand-copy {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    min-width: 0;
}

.brand-posture-line {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    white-space: nowrap;
    width: max-content;
    margin-left: 14px;
}

.brand-posture-line .desk-posture-menu {
    width: 220px;
    max-width: 100%;
    min-width: 0;
}

.brand-posture-line .desk-posture-trigger {
    width: 100%;
    min-width: 0;
}

.top-header .logo-main {
    background: none;
    color: #ffffff;
    display: block;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 2.28rem;
    font-weight: 720;
    letter-spacing: 0.12em;
    line-height: 0.94;
    text-align: left;
    text-transform: uppercase;
    -webkit-background-clip: initial;
    -webkit-text-fill-color: currentColor;
    background-clip: initial;
}

.top-header .subtitle {
    display: block;
    max-width: 282px;
    text-align: left;
    margin: 0;
    font-size: 0.52rem;
    color: rgba(255, 255, 255, 0.62);
    letter-spacing: 0.11em;
    line-height: 1.2;
    white-space: nowrap;
}

.header-center {
    grid-area: action;
    display: flex;
    align-items: center;
    justify-self: center;
    align-self: center;
    width: min(740px, 100%);
    max-width: 740px;
    margin: 0;
}

.header-command-center {
    grid-area: leagues;
    width: 100%;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    align-self: center;
    gap: 12px;
    padding-top: 0;
}

.header-leagues.is-primary-navigation::before {
    display: none;
}

.header-leagues.is-primary-navigation {
    align-self: center;
}

.header-leagues.is-primary-navigation .league-navigation-row {
    position: relative;
    width: 100%;
    min-width: 0;
    margin-inline: auto;
}

.header-leagues.is-primary-navigation .league-rail-shell {
    position: relative;
    width: 100%;
    min-width: 0;
    margin-inline: auto;
    overflow: visible;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.header-leagues.is-primary-navigation .league-toggle-container {
    position: relative;
    z-index: 1;
    width: 100%;
    min-width: 0;
    padding: 10px 2px 9px;
    border-radius: 13px;
}

.header-leagues.is-primary-navigation .league-toggle {
    width: 100%;
    min-width: 100%;
    padding: 2px;
    gap: 1px;
    justify-content: center;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.header-leagues.is-primary-navigation .league-toggle-item {
    flex: 1 0 108px;
    min-width: 108px;
    max-width: 180px;
    min-height: 66px;
}

.header-leagues.is-primary-navigation .league-toggle-item.is-selected::after {
    display: none;
}

.header-leagues.is-primary-navigation .league-btn {
    min-height: 66px;
    padding: 17px 8px 16px;
    border-radius: 10px;
}

.header-leagues.is-primary-navigation .league-toggle-item:not(.is-selected) .league-btn {
    border: 1px solid rgba(148, 163, 184, 0.13);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.025);
}

.header-leagues.is-primary-navigation .league-primary {
    transform: none;
}

.header-leagues.is-primary-navigation .league-activity-pill,
.header-leagues.is-primary-navigation .league-roi {
    font-size: 0.6rem;
}

/*
 * Action is cross-league, while this rail scopes the content below it. Keep
 * that hierarchy stable even when Action is empty. Card width is capped so
 * additional room reveals more leagues instead of creating oversized tiles.
 */
.top-header .header-leagues.is-primary-navigation .league-navigation-row.has-add-control .league-rail-shell {
    width: calc(100% - 54px);
    margin-left: 0;
}

.top-header .header-leagues.is-primary-navigation .league-add-menu.is-persistent {
    right: 0;
    left: auto;
}

.header-leagues.is-primary-navigation .league-add-trigger {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    box-shadow:
        0 0 0 4px #000000,
        0 0 0 5px rgba(148, 163, 184, 0.16),
        inset 0 1px 0 rgba(255, 255, 255, 0.035);
}

.league-add-trigger-icon {
    font-size: 1rem;
    line-height: 1;
}

.header-leagues.is-primary-navigation .league-add-menu.is-persistent {
    position: absolute;
    top: 50%;
    left: calc(100% + 10px);
    z-index: 6;
    margin: 0;
    transform: translateY(-50%);
}

.header-leagues.is-primary-navigation .league-add-menu.is-persistent .league-add-options {
    top: calc(100% + 8px);
    right: 0;
    left: auto;
    transform: none;
}

.league-add-options-empty {
    color: rgba(203, 213, 225, 0.72);
    font-size: 0.66rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    line-height: 1.35;
    text-align: center;
    text-transform: uppercase;
}

.league-rail-arrow {
    position: absolute;
    top: 50%;
    z-index: 3;
    width: 34px;
    height: 34px;
    min-height: 0;
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 50%;
    display: grid;
    place-items: center;
    padding: 0;
    background:
        linear-gradient(180deg, rgba(148, 163, 184, 0.08), rgba(15, 23, 42, 0.16)),
        rgba(5, 10, 17, 0.94);
    color: rgba(226, 232, 240, 0.78);
    cursor: pointer;
    transform: translateY(-50%);
    transition: color 150ms ease, border-color 150ms ease, background 150ms ease, opacity 150ms ease;
}

.league-rail-arrow.is-previous {
    left: -4px;
}

.league-rail-arrow.is-next {
    right: -4px;
}

.league-rail-arrow span {
    width: 8px;
    height: 8px;
    border-top: 1.5px solid currentColor;
    border-right: 1.5px solid currentColor;
}

.league-rail-arrow.is-previous span {
    transform: translateX(2px) rotate(-135deg);
}

.league-rail-arrow.is-next span {
    transform: translateX(-2px) rotate(45deg);
}

.league-rail-arrow:hover:not(:disabled),
.league-rail-arrow:focus-visible {
    border-color: rgba(var(--league-accent-rgb), 0.42);
    background:
        linear-gradient(180deg, rgba(var(--league-accent-rgb), 0.13), rgba(var(--league-secondary-rgb), 0.04)),
        rgba(5, 10, 17, 0.98);
    color: #ffffff;
    outline: none;
}

.league-rail-arrow:disabled {
    cursor: default;
    opacity: 0.26;
}

.league-rail-arrow.is-hidden {
    visibility: hidden;
    pointer-events: none;
}

.league-selection-glow {
    position: absolute;
    bottom: -24px;
    left: 50%;
    z-index: 0;
    width: 86px;
    height: 25px;
    border-radius: 999px 999px 0 0;
    opacity: 0;
    pointer-events: none;
    transform: translateX(-50%);
    background:
        radial-gradient(ellipse at 50% 0%, rgba(var(--league-accent-rgb), 0.3), rgba(var(--league-secondary-rgb), 0.11) 42%, rgba(var(--league-accent-rgb), 0) 76%),
        linear-gradient(180deg, rgba(var(--league-accent-rgb), 0.2), rgba(var(--league-accent-rgb), 0.035) 66%, rgba(var(--league-accent-rgb), 0));
    filter: blur(0.35px);
    transition: left 180ms ease, opacity 160ms ease;
    -webkit-mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, 0.7) 58%, transparent 100%);
    mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, 0.7) 58%, transparent 100%);
}

.league-selection-glow.is-visible {
    opacity: 0.72;
}

.league-rail-shell.has-overflow:not(.is-at-end) .league-toggle-container {
    -webkit-mask-image: linear-gradient(90deg, #000 0, #000 calc(100% - 22px), transparent 100%);
    mask-image: linear-gradient(90deg, #000 0, #000 calc(100% - 22px), transparent 100%);
}

.league-rail-shell.has-overflow:not(.is-at-start):not(.is-at-end) .league-toggle-container {
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 22px, #000 calc(100% - 22px), transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0, #000 22px, #000 calc(100% - 22px), transparent 100%);
}

.league-rail-shell.has-overflow.is-at-end:not(.is-at-start) .league-toggle-container {
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 22px, #000 100%);
    mask-image: linear-gradient(90deg, transparent 0, #000 22px, #000 100%);
}

.next-up {
    width: 600px;
    max-width: 100%;
    min-width: 0;
    container-type: inline-size;
    display: grid;
    gap: 8px;
}

.next-up.is-empty {
    width: 92px;
    display: grid;
}

.next-up.next-up-count-1 {
    width: 244px;
}

.next-up.next-up-count-2 {
    width: 436px;
}

.next-up.next-up-count-1.has-scan-companion {
    width: 344px;
}

.next-up.next-up-count-2.has-scan-companion {
    width: 536px;
}

.next-up.next-up-count-2.has-scan-companion.has-action-overflow {
    width: 656px;
    transform: translateX(52px);
}

.next-up-heading {
    display: flex;
    align-items: baseline;
    justify-content: flex-start;
    padding: 0 3px;
}

.next-up-title {
    display: inline-flex;
    align-items: center;
    color: rgba(255, 255, 255, 0.44);
    font-size: 0.6rem;
    font-weight: var(--font-weight-bold);
    letter-spacing: 0.11em;
    line-height: 1;
    text-transform: uppercase;
    white-space: nowrap;
}

.next-up-track {
    display: flex;
    gap: 4px;
    min-width: 0;
    overflow-x: auto;
    padding: 1px 1px 4px;
    scrollbar-width: none;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
}

.next-up-content {
    min-width: 0;
    display: flex;
    align-items: stretch;
    justify-content: center;
    gap: 8px;
}

.next-up-rail-shell {
    position: relative;
    min-width: 0;
    flex: 1 1 auto;
}

.next-up-count-1 .next-up-rail-shell {
    max-width: 244px;
}

.next-up-count-2 .next-up-rail-shell {
    max-width: 436px;
}

.next-up.has-action-overflow .next-up-rail-shell {
    max-width: 556px;
}

.next-up-rail-shell.has-overflow:not(.is-at-end) .next-up-track {
    -webkit-mask-image: linear-gradient(90deg, #000 0, #000 calc(100% - 22px), transparent 100%);
    mask-image: linear-gradient(90deg, #000 0, #000 calc(100% - 22px), transparent 100%);
}

.next-up-rail-shell.has-overflow:not(.is-at-start):not(.is-at-end) .next-up-track {
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 22px, #000 calc(100% - 22px), transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0, #000 22px, #000 calc(100% - 22px), transparent 100%);
}

.next-up-rail-shell.has-overflow.is-at-end:not(.is-at-start) .next-up-track {
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 22px, #000 100%);
    mask-image: linear-gradient(90deg, transparent 0, #000 22px, #000 100%);
}

.next-up-rail-arrow.is-previous {
    left: 3px;
}

.next-up-rail-arrow.is-next {
    right: 3px;
}

.next-up-track::-webkit-scrollbar,
.header-leagues .league-toggle-container::-webkit-scrollbar {
    display: none;
}

.next-up-card {
    --pick-accent-rgb: 74, 222, 128;
    --pick-secondary-rgb: 45, 212, 191;
    position: relative;
    flex: 0 0 calc((100% - 8px) / 3);
    min-width: 0;
    min-height: 92px;
    padding: 13px 15px;
    border: 1px solid rgba(148, 163, 184, 0.15);
    border-radius: 9px;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto 1fr;
    gap: 9px;
    overflow: hidden;
    background:
        linear-gradient(135deg, rgba(var(--pick-accent-rgb), 0.09), rgba(var(--pick-secondary-rgb), 0.025) 58%, transparent),
        rgba(255, 255, 255, 0.025);
    color: inherit;
    text-decoration: none;
    scroll-snap-align: start;
    transition: border-color 150ms ease, background 150ms ease, box-shadow 150ms ease;
}

.next-up-count-1 .next-up-card {
    flex-basis: 100%;
    padding-inline: 12px;
}

.next-up-count-1 .next-up-card-topline {
    gap: 7px;
}

.next-up-count-2 .next-up-card {
    flex-basis: calc((100% - 4px) / 2);
}

.next-up.has-action-overflow .next-up-card {
    flex-basis: 216px;
}

.next-up-card::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 2px;
    background: linear-gradient(180deg, rgb(var(--pick-accent-rgb)), rgba(var(--pick-secondary-rgb), 0.34));
    opacity: 0.82;
}

.next-up-card:hover,
.next-up-card:focus-visible {
    border-color: rgba(var(--pick-accent-rgb), 0.4);
    background:
        linear-gradient(135deg, rgba(var(--pick-accent-rgb), 0.15), rgba(var(--pick-secondary-rgb), 0.045) 62%, transparent),
        rgba(255, 255, 255, 0.04);
    outline: none;
}

.next-up-card.is-live {
    border-color: rgba(var(--pick-accent-rgb), 0.36);
    box-shadow: 0 0 18px rgba(var(--pick-accent-rgb), 0.08);
}

.next-up-card.has-sealed-pick {
    border-color: rgba(96, 165, 250, 0.46);
    background:
        radial-gradient(circle at 88% 0%, rgba(96, 165, 250, 0.12), transparent 42%),
        linear-gradient(145deg, rgba(15, 35, 61, 0.92), rgba(7, 20, 38, 0.82));
    box-shadow:
        inset 0 0 0 1px rgba(96, 165, 250, 0.09),
        0 0 16px rgba(59, 130, 246, 0.055);
}

.next-up-card.has-sealed-pick::before {
    background: linear-gradient(180deg, #60a5fa, #2563eb);
    opacity: 0.96;
}

.next-up-card.has-sealed-pick:hover,
.next-up-card.has-sealed-pick:focus-visible {
    border-color: rgba(96, 165, 250, 0.68);
    background:
        radial-gradient(circle at 88% 0%, rgba(96, 165, 250, 0.17), transparent 44%),
        linear-gradient(145deg, rgba(17, 43, 75, 0.96), rgba(8, 24, 45, 0.88));
}

.next-up-card-topline {
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.next-up-league {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: rgba(255, 255, 255, 0.76);
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.09em;
}

.next-up-time {
    max-width: 65%;
    overflow: hidden;
    color: rgba(226, 232, 240, 0.48);
    font-size: 0.66rem;
    font-weight: 760;
    letter-spacing: 0.05em;
    text-overflow: ellipsis;
    text-transform: uppercase;
    white-space: nowrap;
}

.next-up-card.is-live .next-up-time {
    color: rgb(var(--pick-accent-rgb));
}

.next-up-matchup {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.92);
    line-height: 1.2;
    white-space: nowrap;
}

.next-up-team-mark {
    width: 38px;
    min-width: 38px;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    gap: 3px;
    line-height: 1;
}

.next-up-team-logo {
    width: 34px;
    height: 23px;
    display: block;
    border-radius: 2px;
    object-fit: contain;
    object-position: center;
}

.next-up-team-code {
    min-width: 2.4ch;
    padding: 2px 5px 1px;
    border: 1px solid rgba(148, 163, 184, 0.24);
    border-radius: 3px;
    background: rgba(15, 23, 42, 0.38);
    color: rgba(203, 213, 225, 0.76);
    font-size: 0.49rem;
    font-weight: 780;
    letter-spacing: 0.045em;
    line-height: 1;
    text-align: center;
    text-transform: uppercase;
}

.next-up-versus {
    flex: 0 0 auto;
    color: rgba(148, 163, 184, 0.52);
    font-size: 0.64rem;
    font-weight: 600;
}

.next-up-card-main {
    min-width: 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    align-self: end;
    gap: 10px;
}

.next-up-card-copy {
    min-width: 0;
    display: grid;
    align-content: center;
    gap: 6px;
}

.next-up-seal {
    width: fit-content;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: rgba(191, 219, 254, 0.66);
    font-size: 0.64rem;
    line-height: 1;
}

.next-up-seal > span {
    color: #f4cf72;
    filter: saturate(1.04);
    text-shadow: 0 0 7px rgba(250, 204, 21, 0.28);
}

.next-up-seal svg {
    width: 9px;
    height: 9px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

.next-up-exposure {
    display: grid;
    justify-items: end;
    gap: 6px;
    white-space: nowrap;
}

.next-up-exposure strong {
    color: rgba(239, 246, 255, 0.9);
    font-size: 1.04rem;
    font-weight: 810;
    letter-spacing: -0.012em;
    line-height: 1;
}

.next-up-exposure small {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: rgba(148, 163, 184, 0.58);
    font-size: 0.5rem;
    font-weight: 760;
    letter-spacing: 0.09em;
    line-height: 1;
    text-transform: uppercase;
    transform: translateY(2px);
}

.next-up-exposure .next-up-seal {
    gap: 3px;
    font-size: inherit;
}

.next-up-exposure .next-up-seal svg {
    width: 8px;
    height: 8px;
}

.next-up-count-1 .next-up-league {
    font-size: 0.74rem;
}

.next-up-count-1 .next-up-time {
    font-size: 0.59rem;
    letter-spacing: 0.04em;
}

.next-up-count-1 .next-up-matchup {
    gap: 11px;
}

.next-up-count-1 .next-up-team-mark {
    width: 44px;
    min-width: 44px;
}

.next-up-count-1 .next-up-team-logo {
    width: 40px;
    height: 27px;
}

.next-up-count-1 .next-up-team-code {
    font-size: 0.53rem;
}

.next-up-count-1 .next-up-exposure strong {
    font-size: 1.16rem;
}

.next-up-revealed-picks {
    min-width: 0;
    display: grid;
    gap: 2px;
    justify-items: end;
}

.next-up-pick-row {
    width: 100%;
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 4px;
    overflow: hidden;
    white-space: nowrap;
}

.next-up-pick-row + .next-up-pick-row {
    padding-top: 3px;
    border-top: 1px solid rgba(var(--pick-accent-rgb), 0.2);
}

.next-up-pick-team-code,
.next-up-pick-bet {
    color: rgba(var(--pick-accent-rgb), 0.95);
    font-size: 0.54rem;
    font-weight: 820;
    letter-spacing: 0.025em;
}

.next-up-pick-team-code {
    line-height: 1;
    text-transform: uppercase;
}

.next-up-pick-wager {
    color: rgba(203, 213, 225, 0.56);
    font-size: 0.46rem;
    font-weight: 720;
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.015em;
}

.next-up-empty {
    position: relative;
    min-height: 92px;
    border: 1px solid rgba(96, 165, 250, 0.24);
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background:
        radial-gradient(circle at 76% 16%, rgba(96, 165, 250, 0.08), transparent 46%),
        linear-gradient(145deg, rgba(12, 29, 50, 0.88), rgba(5, 15, 29, 0.86));
    box-shadow:
        inset 0 0 0 1px rgba(96, 165, 250, 0.035),
        0 0 12px rgba(59, 130, 246, 0.025);
}

.next-up-empty.is-companion {
    min-width: 0;
    min-height: 92px;
    flex: 0 0 92px;
    padding: 10px 8px;
}

@container (max-width: 520px) {
    .next-up-count-2 .next-up-empty.is-companion {
        display: none;
    }
}

@container (max-width: 320px) {
    .next-up-count-1 .next-up-empty.is-companion {
        display: none;
    }
}

.next-up-empty-orbit {
    position: relative;
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    border: 1px solid rgba(148, 163, 184, 0.3);
    border-radius: 50%;
    overflow: visible;
    background:
        linear-gradient(rgba(148, 163, 184, 0.12), rgba(148, 163, 184, 0.12)) center / 1px 100% no-repeat,
        linear-gradient(90deg, rgba(148, 163, 184, 0.12), rgba(148, 163, 184, 0.12)) center / 100% 1px no-repeat,
        radial-gradient(circle, transparent 0 28%, rgba(148, 163, 184, 0.16) 30% 34%, transparent 36% 61%, rgba(148, 163, 184, 0.11) 63% 66%, transparent 68%);
    box-shadow: inset 0 0 10px rgba(96, 165, 250, 0.07);
}

.next-up-scan-target {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 2;
    width: 0;
    height: 0;
    transform: rotate(var(--scan-angle)) translateX(var(--scan-radius, 29px));
    transform-origin: 0 0;
}

.next-up-scan-target-upright {
    display: block;
    transform: rotate(calc(-1 * var(--scan-angle)));
}

.next-up-scan-target-emoji {
    width: 28px;
    height: 28px;
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: rgba(3, 7, 18, 0.94);
    font-size: 1.04rem;
    line-height: 1;
    opacity: 0.14;
    transform: translate(-50%, -50%) scale(0.36);
    animation: next-up-scan-target 2.4s ease-in-out infinite;
    animation-delay: calc(var(--action-radar-phase, 0ms) + var(--scan-delay));
    will-change: transform, opacity;
}

.next-up-empty-orbit::before {
    content: "";
    position: absolute;
    inset: 1px;
    border-radius: 50%;
    background: conic-gradient(
        from 0deg,
        rgba(34, 197, 94, 0.46),
        rgba(59, 130, 246, 0.4) 14deg,
        rgba(251, 191, 36, 0.38) 28deg,
        rgba(96, 165, 250, 0.34) 42deg,
        rgba(74, 222, 128, 0.28) 56deg,
        rgba(249, 115, 22, 0.2) 68deg,
        transparent 82deg 360deg);
    animation: next-up-radar-sweep 2.4s linear infinite;
    animation-delay: var(--action-radar-phase, 0ms);
}

.next-up-empty-orbit::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 1;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #60a5fa;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 7px rgba(96, 165, 250, 0.62);
    animation: next-up-radar-signal 7.2s steps(1, end) infinite;
    animation-delay: var(--action-radar-phase, 0ms);
}

.top-header.is-ambient-motion-paused,
.top-header.is-ambient-motion-paused *,
.top-header.is-ambient-motion-paused *::before,
.top-header.is-ambient-motion-paused *::after {
    animation-play-state: paused !important;
}

.top-header.is-ambient-motion-paused .prophet-bubble,
.top-header.is-ambient-motion-paused .next-up-scan-target-emoji {
    will-change: auto;
}

.next-up-empty-copy {
    display: grid;
    gap: 3px;
}

.next-up-empty-copy strong {
    color: rgba(255, 255, 255, 0.76);
    font-size: 0.76rem;
    font-weight: 760;
    letter-spacing: 0.08em;
    line-height: 1.15;
    text-transform: uppercase;
}

.next-up-empty-copy small {
    color: rgba(148, 163, 184, 0.54);
    font-size: 0.54rem;
    font-weight: 650;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

@keyframes next-up-radar-sweep {
    to {
        transform: rotate(360deg);
    }
}

@keyframes next-up-radar-signal {
    0%, 100% {
        background: #22c55e;
        box-shadow: 0 0 7px rgba(34, 197, 94, 0.62);
    }

    16.667% {
        background: #3b82f6;
        box-shadow: 0 0 7px rgba(59, 130, 246, 0.62);
    }

    33.333% {
        background: #fbbf24;
        box-shadow: 0 0 7px rgba(251, 191, 36, 0.62);
    }

    50% {
        background: #60a5fa;
        box-shadow: 0 0 7px rgba(96, 165, 250, 0.62);
    }

    66.667% {
        background: #4ade80;
        box-shadow: 0 0 7px rgba(74, 222, 128, 0.62);
    }

    83.333% {
        background: #f97316;
        box-shadow: 0 0 7px rgba(249, 115, 22, 0.62);
    }
}

@keyframes next-up-scan-target {
    0%, 12% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1.04);
    }

    24%, 100% {
        opacity: 0.14;
        transform: translate(-50%, -50%) scale(0.36);
    }
}

@media (prefers-reduced-motion: reduce) {
    .next-up-empty-orbit::before {
        animation: none;
    }

    .next-up-empty-orbit::after {
        animation: none;
    }

    .next-up-scan-target-emoji {
        animation: none;
        opacity: 0.72;
        transform: translate(-50%, -50%);
        will-change: auto;
    }
}

.header-leagues {
    grid-area: leagues;
    width: 100%;
    min-width: 0;
    position: relative;
    align-self: end;
}

.header-leagues::before {
    content: "";
    position: absolute;
    top: 50%;
    right: 0;
    left: 0;
    z-index: -1;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(148, 163, 184, 0.11) 12%, rgba(148, 163, 184, 0.11) 88%, transparent);
}

.header-leagues .league-toggle-container {
    width: 100%;
    min-width: 0;
    justify-content: safe center;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 10px 4px 9px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

.header-leagues .league-toggle {
    flex: 0 0 auto;
    width: max-content;
    min-width: min(100%, 640px);
    margin-inline: 0;
    padding: 3px;
}

.header-leagues .league-toggle-item {
    flex: 1 0 102px;
}

.header-leagues .league-btn {
    min-height: 50px;
    grid-template-rows: 1fr;
    gap: 0;
    padding: 6px 12px 4px;
}

.header-leagues .league-primary {
    transform: translateY(-2px);
}

.header-leagues .league-copy {
    position: absolute;
    left: 50%;
    bottom: -10px;
    z-index: 5;
    transform: translateX(-50%);
}

.header-leagues .league-roi {
    border-color: rgba(var(--league-roi-rgb), 0.38);
    background:
        linear-gradient(180deg, rgba(var(--league-roi-rgb), 0.2), rgba(var(--league-roi-rgb), 0.075)),
        rgb(10, 18, 23);
    box-shadow:
        0 0 13px rgba(var(--league-roi-rgb), 0.14),
        inset 0 1px 0 rgba(255, 255, 255, 0.07);
}

.header-leagues .league-roi.neutral {
    color: rgba(203, 213, 225, 0.72);
}

.header-leagues .league-toggle-item.is-selected::after {
    bottom: -27px;
    height: 27px;
    width: min(112px, 76%);
    opacity: 0.62;
}

.week-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-top: 8px;
    justify-self: start;
}

.week-navigation {
    display: flex;
    align-items: center;
    gap: 4px;
    justify-content: center;
    padding: 0;
}

.nav-button {
    background: transparent;
    border: 1px solid #333333;
    color: #666666;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: inherit;
}

.nav-button:hover {
    border-color: #666666;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.05);
}

.nav-button:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

#current-week-display {
    font-size: 1.1rem;
    font-weight: 600;
    color: #ffffff;
    padding: 0 20px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.week-display {
    display: flex;
    flex-direction: column;
    gap: 4px;
    text-align: center;
    justify-content: center;
    margin-top: 10px;
    min-width: 200px;
    flex: 1;
}

.week-nav-btn {
    background: transparent;
    border: 1px solid #333333;
    color: #666666;
    width: 40px;
    height: 40px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    font-weight: 300;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-top: 30px;
}

.week-nav-btn:hover {
    border-color: #666666;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.05);
}

.week-nav-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.week-info h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #ffffff;
    margin: 10px 0 0 0;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.week-info div {
    font-size: 0.9rem;
    color: #888888;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.bankroll-info {
    grid-area: bankroll;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 3px;
    align-items: flex-end;
    justify-content: center;
    margin-top: 0;
    text-align: right;
    justify-self: end;
    align-self: start;
    min-width: 260px;
}

.account-switcher {
    position: relative;
    align-self: flex-end;
    display: inline-flex;
}

.account-switcher > summary {
    list-style: none;
}

.account-switcher > summary::-webkit-details-marker {
    display: none;
}

.account-presence {
    align-self: flex-end;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 30px;
    margin-bottom: 0;
    padding: 0 1px 0 0;
    border: 0;
    border-radius: 0;
    background:
        linear-gradient(90deg, rgba(15, 23, 42, 0.36), rgba(2, 6, 23, 0) 84%);
    color: rgba(255, 255, 255, 0.78);
    cursor: pointer;
    text-decoration: none;
    box-shadow: none;
}

.account-switcher[open] .account-presence .account-name,
.account-presence:hover .account-name,
.account-presence:focus-visible .account-name {
    color: #ffffff;
}

.account-presence:focus-visible {
    outline: 1px solid rgba(var(--league-accent-rgb), 0.62);
    outline-offset: 5px;
}

.account-switcher-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    z-index: 80;
    display: grid;
    gap: 4px;
    min-width: 164px;
    padding: 6px;
    border: 1px solid rgba(var(--league-accent-rgb), 0.35);
    border-radius: 7px;
    background:
        linear-gradient(145deg, rgba(2, 6, 23, 0.98), rgba(15, 23, 42, 0.96));
    box-shadow:
        0 16px 32px rgba(0, 0, 0, 0.38),
        0 0 20px rgba(var(--league-accent-rgb), 0.13);
}

.account-switcher-option {
    display: grid;
    grid-template-columns: 30px minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
    min-height: 46px;
    padding: 7px 10px;
    border: 1px solid transparent;
    border-radius: 6px;
    color: rgba(226, 232, 240, 0.78);
    font-size: 0.62rem;
    font-weight: 850;
    letter-spacing: 0.08em;
    line-height: 1;
    text-align: left;
    text-decoration: none;
    text-transform: uppercase;
    white-space: nowrap;
}

.account-switcher-option:hover,
.account-switcher-option:focus-visible,
.account-switcher-option.is-selected {
    border-color: rgba(var(--league-accent-rgb), 0.34);
    background: rgba(var(--league-accent-rgb), 0.12);
    color: #ffffff;
}

.account-switcher-option:focus-visible {
    outline: 1px solid rgba(var(--league-accent-rgb), 0.55);
    outline-offset: 2px;
}

.account-switcher-avatar,
.account-switcher-plus,
.account-switcher-admin-icon {
    display: inline-grid;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    place-items: center;
    background:
        radial-gradient(circle at 34% 24%, rgba(255, 255, 255, 0.2), transparent 30%),
        linear-gradient(135deg, rgba(244, 114, 182, 0.34), rgba(var(--league-accent-rgb), 0.16));
    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.08),
        0 0 0 1px rgba(148, 163, 184, 0.14);
}

.account-switcher-option[data-profile-avatar="tricorn-hat"] .account-switcher-avatar {
    background:
        url("/images/avatars/benedict-tricorn.png") center / 122% 122% no-repeat,
        radial-gradient(circle at 34% 24%, rgba(255, 255, 255, 0.18), transparent 30%),
        linear-gradient(135deg, rgba(245, 158, 11, 0.38), rgba(20, 83, 45, 0.26));
}

.account-switcher-avatar .account-avatar-icon {
    width: 28px;
    height: 28px;
}

.account-switcher-option[data-profile-avatar="tricorn-hat"] .account-avatar-icon {
    display: none;
}

.account-switcher-name {
    overflow: hidden;
    text-overflow: ellipsis;
}

.account-switcher-check,
.account-switcher-plus {
    color: rgba(134, 239, 172, 0.92);
}

.account-switcher-plus {
    border-radius: 6px;
    background: rgba(148, 163, 184, 0.14);
    font-size: 0.82rem;
    line-height: 1;
}

.account-switcher-admin {
    border-color: rgba(251, 191, 36, 0.18);
    background: rgba(251, 191, 36, 0.055);
}

.account-switcher-admin:hover,
.account-switcher-admin:focus-visible {
    border-color: rgba(251, 191, 36, 0.42);
    background: rgba(251, 191, 36, 0.12);
}

.account-switcher-admin-icon {
    overflow: hidden;
    border-radius: 9px;
    color: rgba(252, 211, 77, 0.94);
    background:
        radial-gradient(circle at 50% 28%, rgba(var(--league-secondary-rgb), 0.18), transparent 42%),
        rgba(15, 23, 42, 0.78);
    font-size: 0.72rem;
    line-height: 1;
}

.account-switcher-admin-image {
    display: block;
    width: 30px;
    height: 30px;
    object-fit: contain;
    transform: scale(1.13);
}

.account-avatar {
    position: relative;
    display: grid;
    width: 28px;
    height: 28px;
    flex: 0 0 28px;
    border-radius: 50%;
    place-items: center;
    background:
        radial-gradient(circle at 34% 24%, rgba(255, 255, 255, 0.22), transparent 28%),
        linear-gradient(135deg, rgba(244, 114, 182, 0.3), rgba(var(--league-accent-rgb), 0.14));
    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.08),
        0 0 0 1px rgba(148, 163, 184, 0.12),
        0 8px 22px rgba(0, 0, 0, 0.28);
}

.account-avatar::after {
    content: "";
    position: absolute;
    right: -1px;
    bottom: -1px;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow:
        0 0 0 3px #020617,
        0 0 10px rgba(34, 197, 94, 0.72);
}

.account-avatar-icon {
    display: block;
    width: 25px;
    height: 25px;
    overflow: visible;
}

.account-avatar-tricorn {
    display: none;
}

.account-presence[data-profile-avatar="tricorn-hat"] .account-avatar {
    background:
        url("/images/avatars/benedict-tricorn.png") center / 124% 124% no-repeat,
        radial-gradient(circle at 34% 24%, rgba(255, 255, 255, 0.18), transparent 30%),
        linear-gradient(135deg, rgba(245, 158, 11, 0.28), rgba(20, 83, 45, 0.22));
}

.account-presence[data-profile-avatar="tricorn-hat"] .account-avatar-icon {
    display: none;
}

.account-mochi-shadow {
    fill: rgba(255, 228, 230, 0.9);
}

.account-strawberry-body {
    fill: #f87171;
    stroke: rgba(254, 202, 202, 0.72);
    stroke-linejoin: round;
    stroke-width: 1.1;
    vector-effect: non-scaling-stroke;
}

.account-strawberry-leaf {
    fill: #4ade80;
    stroke: rgba(187, 247, 208, 0.62);
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1;
    vector-effect: non-scaling-stroke;
}

.account-strawberry-seed {
    fill: rgba(255, 247, 237, 0.9);
}

.account-mochi-highlight {
    fill: rgba(255, 255, 255, 0.42);
}

.account-tricorn-disc {
    fill: rgba(15, 23, 42, 0.62);
}

.account-tricorn-crown {
    fill: #4b2f1d;
    stroke: rgba(245, 158, 11, 0.78);
    stroke-linejoin: round;
    stroke-width: 1;
    vector-effect: non-scaling-stroke;
}

.account-tricorn-brim {
    fill: #26160f;
    stroke: rgba(252, 211, 77, 0.82);
    stroke-linejoin: round;
    stroke-width: 1.1;
    vector-effect: non-scaling-stroke;
}

.account-tricorn-trim,
.account-tricorn-cockade-mark {
    fill: none;
    stroke: rgba(254, 243, 199, 0.88);
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 0.9;
    vector-effect: non-scaling-stroke;
}

.account-tricorn-cockade {
    fill: #b91c1c;
    stroke: rgba(254, 243, 199, 0.86);
    stroke-width: 0.65;
    vector-effect: non-scaling-stroke;
}

.account-copy {
    display: inline-flex;
    align-items: center;
    min-width: 0;
}

.account-name {
    color: rgba(255, 255, 255, 0.86);
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    line-height: 1;
    text-transform: uppercase;
    white-space: nowrap;
}

.bankroll-label {
    align-self: flex-end;
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    column-gap: 12px;
    color: rgba(255, 255, 255, 0.62);
    font-size: 0.52rem;
    font-weight: var(--font-weight-bold);
    letter-spacing: 0.12em;
    line-height: 1;
    margin-top: 7px;
    margin-bottom: 0;
    padding-right: 0;
    text-align: right;
    text-transform: uppercase;
    white-space: nowrap;
}

.bankroll-label-text {
    display: block;
    font-size: 0.62rem;
    line-height: 1;
}

.bankroll-label-form,
.recent-form-chip {
    --recent-form-accent: rgba(148, 163, 184, 0.72);
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 5px;
    min-width: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: rgba(255, 255, 255, 0.62);
    font-size: 0.52rem;
    font-weight: 900;
    letter-spacing: 0.11em;
    line-height: 1;
    text-transform: uppercase;
    transform: none;
}

.recent-form-symbol {
    display: block;
    width: 17px;
    height: 18px;
    flex: 0 0 17px;
    background: var(--recent-form-fill, var(--recent-form-accent));
    box-shadow: 0 0 6px color-mix(in srgb, var(--recent-form-accent) 18%, transparent);
    transform: none;
}

.recent-form-window {
    display: block;
    color: rgba(255, 255, 255, 0.54);
    font-size: 0.66rem;
    font-weight: 900;
    letter-spacing: 0.07em;
    line-height: 1;
    text-transform: uppercase;
}

.bankroll-label-form.positive,
.recent-form-chip.positive {
    --recent-form-accent: rgba(245, 158, 11, 0.82);
    --recent-form-fill: linear-gradient(180deg, #fde68a 0%, #f59e0b 48%, #ef4444 100%);
}

.bankroll-label-form.positive .recent-form-symbol,
.recent-form-chip.positive .recent-form-symbol {
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.25' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8.5 14.4A3.5 3.5 0 0 0 12 18a3.5 3.5 0 0 0 3.5-3.6c0-1.1-.5-2.1-1.3-2.9-1-.9-1.9-2-2.3-3.5-.7 1.4-1.7 2.4-2.5 3.4-.7.9-.9 1.8-.9 3Z'/%3E%3Cpath d='M12 22a7 7 0 0 0 7-7c0-4.6-3.9-7.1-5.1-10.5-.5 2-1.7 3.5-3.7 4.9C8 10.9 6 12.8 6 15a6 6 0 0 0 6 7Z'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.25' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8.5 14.4A3.5 3.5 0 0 0 12 18a3.5 3.5 0 0 0 3.5-3.6c0-1.1-.5-2.1-1.3-2.9-1-.9-1.9-2-2.3-3.5-.7 1.4-1.7 2.4-2.5 3.4-.7.9-.9 1.8-.9 3Z'/%3E%3Cpath d='M12 22a7 7 0 0 0 7-7c0-4.6-3.9-7.1-5.1-10.5-.5 2-1.7 3.5-3.7 4.9C8 10.9 6 12.8 6 15a6 6 0 0 0 6 7Z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.bankroll-label-form.negative,
.recent-form-chip.negative {
    --recent-form-accent: rgba(125, 211, 252, 0.82);
    --recent-form-fill: linear-gradient(180deg, #e0f2fe 0%, #7dd3fc 56%, #38bdf8 100%);
}

.bankroll-label-form.negative .recent-form-symbol,
.recent-form-chip.negative .recent-form-symbol {
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m10 20-1.25-2.5L6 18'/%3E%3Cpath d='M10 4 8.75 6.5 6 6'/%3E%3Cpath d='m14 20 1.25-2.5L18 18'/%3E%3Cpath d='m14 4 1.25 2.5L18 6'/%3E%3Cpath d='m17 21-3-6h-4'/%3E%3Cpath d='m17 3-3 6 1.5 3'/%3E%3Cpath d='M2 12h6.5L10 9'/%3E%3Cpath d='m20 10-1.5 2 1.5 2'/%3E%3Cpath d='M22 12h-6.5L14 15'/%3E%3Cpath d='m4 10 1.5 2L4 14'/%3E%3Cpath d='m7 21 3-6-1.5-3'/%3E%3Cpath d='m7 3 3 6h4'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m10 20-1.25-2.5L6 18'/%3E%3Cpath d='M10 4 8.75 6.5 6 6'/%3E%3Cpath d='m14 20 1.25-2.5L18 18'/%3E%3Cpath d='m14 4 1.25 2.5L18 6'/%3E%3Cpath d='m17 21-3-6h-4'/%3E%3Cpath d='m17 3-3 6 1.5 3'/%3E%3Cpath d='M2 12h6.5L10 9'/%3E%3Cpath d='m20 10-1.5 2 1.5 2'/%3E%3Cpath d='M22 12h-6.5L14 15'/%3E%3Cpath d='m4 10 1.5 2L4 14'/%3E%3Cpath d='m7 21 3-6-1.5-3'/%3E%3Cpath d='m7 3 3 6h4'/%3E%3C/svg%3E") center / contain no-repeat;
}

.bankroll-label-form.flat,
.recent-form-chip.flat {
    --recent-form-accent: rgba(148, 163, 184, 0.72);
}

.bankroll-label-form.flat .recent-form-symbol,
.recent-form-chip.flat .recent-form-symbol {
    width: 22px;
    height: 3px;
    flex-basis: 22px;
    border-radius: 999px;
    box-shadow: none;
    transform: translateY(-0.5px);
}

.bankroll-label-form.neutral,
.recent-form-chip.neutral {
    color: rgba(148, 163, 184, 0.72);
}

.bankroll-label-form.neutral .recent-form-symbol {
    display: none;
}

.recent-form-chip.neutral {
    display: none;
}

.bankroll-line {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 7px;
    align-self: flex-end;
    white-space: nowrap;
    line-height: 1.08;
}

.bankroll-record-line {
    margin-top: 5px;
}

.bankroll-amount {
    font-size: clamp(1.35rem, 1.65vw, 1.9rem);
    font-weight: 300;
    color: #ffffff;
    flex: 0 0 auto;
}

.bankroll-performance,
.bankroll-performance-row {
    font-size: 0.95rem;
    font-weight: 400;
    color: #888888;
}

.bankroll-performance-row {
    display: flex;
    justify-content: flex-end;
    align-items: baseline;
    gap: 10px;
}

.bankroll-record {
    color: rgba(255, 255, 255, 0.62);
    font-size: clamp(0.96rem, 1.1vw, 1.2rem);
    font-weight: 500;
    text-align: right;
    flex: 0 0 auto;
}

.bankroll-win-rate {
    --bankroll-win-rate-rgb: 255, 255, 255;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    min-height: 17px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: rgba(255, 255, 255, 0.62);
    font-size: clamp(0.72rem, 0.75vw, 0.82rem);
    font-weight: 800;
    flex: 0 0 auto;
    line-height: 1;
    letter-spacing: 0.01em;
}

.bankroll-win-rate.positive {
    --bankroll-win-rate-rgb: 34, 197, 94;
    color: rgba(34, 197, 94, 0.92);
}

.bankroll-win-rate.negative {
    --bankroll-win-rate-rgb: 239, 68, 68;
    color: rgba(239, 68, 68, 0.9);
}

.bankroll-win-rate.neutral {
    --bankroll-win-rate-rgb: 255, 255, 255;
    color: rgba(255, 255, 255, 0.62);
}

.bankroll-win-rate::before {
    content: "";
    width: 11px;
    height: 11px;
    flex: 0 0 11px;
    opacity: 0.95;
    background-color: currentColor;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.05' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 21h8'/%3E%3Cpath d='M12 17v4'/%3E%3Cpath d='M7 4h10v5a5 5 0 0 1-10 0V4Z'/%3E%3Cpath d='M7 7H4a3 3 0 0 0 3 3'/%3E%3Cpath d='M17 7h3a3 3 0 0 1-3 3'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.05' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 21h8'/%3E%3Cpath d='M12 17v4'/%3E%3Cpath d='M7 4h10v5a5 5 0 0 1-10 0V4Z'/%3E%3Cpath d='M7 7H4a3 3 0 0 0 3 3'/%3E%3Cpath d='M17 7h3a3 3 0 0 1-3 3'/%3E%3C/svg%3E") center / contain no-repeat;
}

.bankroll-roi {
    --bankroll-roi-rgb: 255, 255, 255;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    min-height: 19px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    font-size: clamp(0.84rem, 0.88vw, 0.96rem);
    font-weight: 800;
    color: #888888;
    flex: 0 0 auto;
    line-height: 1;
    letter-spacing: 0.01em;
    box-shadow: none;
}

.bankroll-roi::before {
    content: "";
    width: 13px;
    height: 13px;
    flex: 0 0 13px;
    opacity: 0.95;
    background-color: currentColor;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 17l6-6 4 4 8-8'/%3E%3Cpath d='M15 7h6v6'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 17l6-6 4 4 8-8'/%3E%3Cpath d='M15 7h6v6'/%3E%3C/svg%3E") center / contain no-repeat;
}

.bankroll-roi.positive {
    --bankroll-roi-rgb: 34, 197, 94;
}

.bankroll-roi.negative {
    --bankroll-roi-rgb: 239, 68, 68;
}

.bankroll-info.is-refreshing .bankroll-amount,
.bankroll-info.is-refreshing .bankroll-roi,
.bankroll-info.is-refreshing .bankroll-record,
.bankroll-info.is-refreshing .bankroll-win-rate {
    animation: bankroll-value-refresh 800ms ease-out;
}

@keyframes bankroll-value-refresh {
    0% {
        text-shadow: 0 0 0 rgba(74, 222, 128, 0);
    }
    35% {
        text-shadow: 0 0 16px rgba(74, 222, 128, 0.28);
    }
    100% {
        text-shadow: 0 0 0 rgba(74, 222, 128, 0);
    }
}

.header {
    padding: 80px 40px 60px;
    text-align: center;
    background: transparent;
}

.header h1 {
    font-size: 4.2rem;
    margin-bottom: 16px;
    font-weight: 200;
    color: #ffffff;
    letter-spacing: 0.15em;
    font-family: 'Playfair Display', 'Times New Roman', serif;
    text-transform: uppercase;
    background: linear-gradient(135deg, #ffffff 0%, #e0e0e0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    display: inline-block;
}

.logo-container {
    position: relative;
    display: inline-block;
}

.logo-main {
    font-size: 4.2rem;
    font-weight: 200;
    letter-spacing: 0.15em;
    font-family: 'Playfair Display', 'Times New Roman', serif;
    text-transform: uppercase;
    background: linear-gradient(135deg, #ffffff 0%, #e0e0e0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    z-index: 2;
}

.header p {
    font-size: 0.85rem;
    opacity: 0.5;
    font-weight: 300;
    max-width: 600px;
    margin: -8px auto 0;
    font-family: 'SF Mono', Monaco, 'Cascadia Code', 'Roboto Mono', Consolas, 'Courier New', monospace;
    letter-spacing: 0.05em;
}

.subtitle {
    text-align: center;
    margin-bottom: 0.5rem;
}

.subtitle p {
    color: #cccccc;
    font-size: 1.1rem;
    font-weight: 400;
    margin: 0;
}

/* League Toggle Styles */
.league-toggle-container {
    display: flex;
    justify-content: center;
    margin: 0;
}

.league-toggle {
    display: flex;
    background:
        linear-gradient(180deg, rgba(var(--league-accent-rgb), 0.08), rgba(255, 255, 255, 0.045)),
        rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    padding: 4px;
    gap: 2px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(var(--league-accent-rgb), 0.24);
    align-items: stretch;
    box-shadow: inset 0 -1px 0 rgba(var(--league-accent-rgb), 0.12);
}

.league-toggle-item {
    position: relative;
    display: flex;
    flex: 1 1 0;
    min-width: 98px;
}

.league-toggle-item.is-selected {
    z-index: 3;
}

.league-toggle-item.is-selected::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -62px;
    width: min(132px, 78%);
    height: 62px;
    transform: translateX(-50%);
    border-radius: 999px 999px 0 0;
    background:
        radial-gradient(ellipse at 50% 0%, rgba(var(--league-accent-rgb), 0.22), rgba(var(--league-secondary-rgb), 0.08) 42%, rgba(var(--league-accent-rgb), 0) 76%),
        linear-gradient(180deg, rgba(var(--league-accent-rgb), 0.15), rgba(var(--league-accent-rgb), 0.035) 62%, rgba(var(--league-accent-rgb), 0));
    filter: blur(0.4px);
    opacity: 0.82;
    pointer-events: none;
    -webkit-mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, 0.7) 58%, transparent 100%);
    mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, 0.7) 58%, transparent 100%);
}

.league-add-menu {
    position: relative;
    display: flex;
    align-items: center;
    flex: 0 0 auto;
    margin-left: 4px;
    z-index: 5;
}

.league-add-trigger {
    width: 32px;
    height: 32px;
    min-height: 0;
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: rgba(226, 232, 240, 0.62);
    background:
        linear-gradient(180deg, rgba(148, 163, 184, 0.07), rgba(15, 23, 42, 0.16)),
        rgba(255, 255, 255, 0.025);
    cursor: pointer;
    font-size: 1rem;
    font-weight: 800;
    line-height: 1;
    transition: color 160ms ease, border-color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.league-add-trigger::-webkit-details-marker {
    display: none;
}

.league-add-trigger::marker {
    content: "";
}

.league-add-trigger:hover,
.league-add-menu[open] .league-add-trigger {
    color: rgba(187, 247, 208, 0.96);
    border-color: rgba(74, 222, 128, 0.42);
    background:
        linear-gradient(180deg, rgba(74, 222, 128, 0.14), rgba(45, 212, 191, 0.055)),
        rgba(15, 23, 42, 0.35);
    box-shadow: 0 0 18px rgba(74, 222, 128, 0.14);
}

.league-add-options {
    position: absolute;
    top: 50%;
    left: calc(100% + 10px);
    min-width: 142px;
    padding: 8px;
    border-radius: 10px;
    border: 1px solid rgba(74, 222, 128, 0.28);
    background:
        linear-gradient(180deg, rgba(15, 23, 42, 0.96), rgba(2, 6, 23, 0.96)),
        rgba(2, 6, 23, 0.94);
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.36), 0 0 22px rgba(74, 222, 128, 0.1);
    transform: translateY(-50%);
}

.league-add-form {
    margin: 0;
}

.league-add-form + .league-add-form {
    margin-top: 6px;
}

.league-add-option {
    width: 100%;
    border: 0;
    border-radius: 8px;
    display: grid;
    grid-template-columns: 24px 1fr;
    gap: 8px;
    align-items: center;
    padding: 8px 9px;
    color: rgba(226, 232, 240, 0.88);
    background: rgba(255, 255, 255, 0.035);
    text-align: left;
    cursor: pointer;
    font: inherit;
    transition: background 140ms ease, color 140ms ease;
}

.league-add-option:hover,
.league-add-option:focus-visible {
    color: #ffffff;
    background: rgba(74, 222, 128, 0.14);
    outline: none;
}

.league-add-option-emoji {
    font-size: 1.1rem;
    line-height: 1;
    text-align: center;
}

.league-add-option-copy {
    min-width: 0;
    display: grid;
    gap: 2px;
}

.league-add-option-copy span {
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.league-add-option-copy small {
    color: rgba(148, 163, 184, 0.84);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.league-separator {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    padding: 0;
    user-select: none;
    pointer-events: none;
    z-index: 3;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%) translateY(-2px);
}

            .league-btn {
                display: grid;
                grid-template-rows: 1fr auto;
                align-items: center;
                justify-content: center;
                gap: 7px;
                padding: 10px 16px;
                border: none;
                background: rgba(255, 255, 255, 0.035);
                color: rgba(255, 255, 255, 0.6);
                border-radius: 10px;
                cursor: pointer;
                transition: all 0.3s ease;
                font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
                font-weight: 500;
                font-size: 0.9rem;
                letter-spacing: 0.02em;
                flex: 1;
                min-width: 72px;
                min-height: 76px;
                width: 100%;
                position: relative;
                overflow: visible;
            }

.league-button {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border: none;
    background: transparent;
    color: rgba(255, 255, 255, 0.6);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-weight: 500;
    font-size: 0.9rem;
    letter-spacing: 0.02em;
    flex: 1;
    min-width: 80px;
}

.league-button:hover {
    color: rgba(255, 255, 255, 0.8);
    background: rgba(255, 255, 255, 0.05);
}

.league-button.active {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.league-btn:hover {
    color: rgba(255, 255, 255, 0.8);
    background: rgba(255, 255, 255, 0.06);
}

.league-btn.has-live-activity {
    color: rgba(255, 255, 255, 0.74);
}

.league-btn.has-live-activity:not(.active) {
    background: linear-gradient(180deg, rgba(34, 197, 94, 0.07), rgba(255, 255, 255, 0.035));
}

.league-btn.has-live-activity:not(.active):hover {
    color: rgba(255, 255, 255, 0.9);
    background: linear-gradient(180deg, rgba(34, 197, 94, 0.12), rgba(255, 255, 255, 0.06));
}

.league-btn.is-inactive-league {
    color: rgba(255, 255, 255, 0.42);
    opacity: 0.82;
    background: rgba(255, 255, 255, 0.028);
}

.league-btn.is-inactive-league:hover,
.league-btn.is-inactive-league.active {
    color: rgba(255, 255, 255, 0.88);
    opacity: 1;
}

.league-btn.active {
    background:
        radial-gradient(circle at top, rgba(var(--league-accent-rgb), 0.2), transparent 58%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.18), rgba(var(--league-accent-rgb), 0.075));
    color: #ffffff;
    box-shadow:
        inset 0 0 0 1px rgba(var(--league-accent-rgb), 0.42),
        0 0 22px rgba(var(--league-accent-rgb), 0.16),
        0 2px 8px rgba(0, 0, 0, 0.1);
}

.league-activity-pill {
    position: absolute;
    top: -9px;
    left: 50%;
    z-index: 4;
    transform: translateX(-50%);
    display: inline-flex;
    align-items: center;
    gap: 5px;
    height: 17px;
    padding: 0 7px;
    border-radius: 999px;
    border: 1px solid rgba(74, 222, 128, 0.36);
    background: rgba(6, 24, 16, 0.94);
    color: #86efac;
    font-size: 0.5rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    white-space: nowrap;
    pointer-events: none;
    box-shadow: 0 0 14px rgba(34, 197, 94, 0.16);
}

.league-activity-pill::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: #22c55e;
    box-shadow: 0 0 8px rgba(34, 197, 94, 0.85);
}

.league-activity-pill.is-live {
    color: #bbf7d0;
    border-color: rgba(74, 222, 128, 0.58);
    background: rgba(5, 36, 20, 0.96);
    box-shadow: 0 0 18px rgba(34, 197, 94, 0.28);
}

.league-activity-pill.is-live::before {
    animation: league-live-pulse 1.35s ease-in-out infinite;
}

@media (prefers-reduced-motion: reduce) {
    .league-activity-pill.is-live::before {
        animation: none;
    }
}

.league-activity-pill.is-in-season {
    color: #a7f3d0;
    border-color: rgba(52, 211, 153, 0.3);
}

.league-activity-pill.is-offseason {
    color: rgba(226, 232, 240, 0.46);
    border-color: rgba(148, 163, 184, 0.16);
    background: rgba(17, 24, 39, 0.88);
    box-shadow: none;
}

.league-activity-pill.is-offseason::before {
    background: rgba(148, 163, 184, 0.48);
    box-shadow: none;
}

@keyframes league-live-pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 8px rgba(34, 197, 94, 0.85);
    }

    50% {
        transform: scale(1.5);
        box-shadow: 0 0 14px rgba(34, 197, 94, 1);
    }
}

.league-btn:disabled {
    cursor: progress;
    opacity: 0.7;
}

.league-btn.is-loading {
    background: rgba(255, 255, 255, 0.18);
    color: #ffffff;
}

            .league-text {
                font-weight: 600;
                /* Render every tab label in caps so acronym leagues (NFL/NCAAF) and
                   title-cased ones (World Cup) read consistently. DisplayName stays
                   human-friendly for prose elsewhere. */
                text-transform: uppercase;
                letter-spacing: 0.04em;
            }

            .league-primary {
                display: inline-flex;
                align-items: center;
                justify-content: center;
                gap: 8px;
                min-width: 0;
            }

            .league-copy {
                display: flex;
                align-items: center;
                justify-content: center;
                min-width: 0;
                line-height: 1;
            }

            .league-roi {
                --league-roi-rgb: 148, 163, 184;
                display: inline-flex;
                align-items: center;
                justify-content: center;
                gap: 5px;
                min-height: 19px;
                padding: 3px 7px 3px 6px;
                border: 1px solid rgba(var(--league-roi-rgb), 0.2);
                border-radius: 999px;
                background:
                    linear-gradient(180deg, rgba(var(--league-roi-rgb), 0.105), rgba(var(--league-roi-rgb), 0.035)),
                    rgba(255, 255, 255, 0.018);
                color: rgba(226, 232, 240, 0.48);
                font-size: 0.72rem;
                font-weight: 600;
                letter-spacing: 0.01em;
                line-height: 1;
                white-space: nowrap;
                box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.045);
            }

            .league-roi::before {
                content: "";
                width: 12px;
                height: 11px;
                flex: 0 0 12px;
                opacity: 0.86;
                background:
                    linear-gradient(currentColor, currentColor) 1px 5px / 3px 5px no-repeat,
                    linear-gradient(currentColor, currentColor) 5px 5px / 3px 5px no-repeat,
                    linear-gradient(currentColor, currentColor) 9px 5px / 3px 5px no-repeat;
            }

            .league-roi.positive {
                --league-roi-rgb: 74, 222, 128;
                color: rgba(74, 222, 128, 0.96);
            }

            .league-roi.positive::before {
                background:
                    linear-gradient(currentColor, currentColor) 1px 7px / 3px 3px no-repeat,
                    linear-gradient(currentColor, currentColor) 5px 4px / 3px 6px no-repeat,
                    linear-gradient(currentColor, currentColor) 9px 1px / 3px 9px no-repeat;
            }

            .league-roi.negative {
                --league-roi-rgb: 248, 113, 113;
                color: rgba(248, 113, 113, 0.96);
            }

            .league-roi.negative::before {
                background:
                    linear-gradient(currentColor, currentColor) 1px 1px / 3px 9px no-repeat,
                    linear-gradient(currentColor, currentColor) 5px 4px / 3px 6px no-repeat,
                    linear-gradient(currentColor, currentColor) 9px 7px / 3px 3px no-repeat;
            }

            .league-roi.neutral {
                --league-roi-rgb: 148, 163, 184;
                color: rgba(148, 163, 184, 0.56);
            }

            /* Emoji shown inside each league button (per-league: football, soccer ball, ...) */
            .league-emoji {
                font-size: 1.05rem;
                line-height: 1;
                user-select: none;
            }

/* League Performance Styles */
.league-performance {
    margin-bottom: 20px;
}

.league-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    height: 40px;
}

.league-header h3 {
    margin: 0 0 -4px 0 !important;
    padding: 0;
    font-size: 1.4rem;
    font-weight: 600;
    color: #ffffff;
    line-height: 1.2;
    display: flex;
    align-items: center;
}

.league-badge {
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 32px;
    margin-top: 4px;
}

.nfl-badge {
    background: linear-gradient(135deg, #013369 0%, #D50A0A 100%);
    color: #ffffff;
}

.ncaaf-badge {
    background: linear-gradient(135deg, #1e3a8a 0%, #dc2626 100%);
    color: #ffffff;
}

.worldcup-badge,
.wcup-badge {
    background: linear-gradient(135deg, #0b6e4f 0%, #1d4ed8 100%);
    color: #ffffff;
}

.mlb-badge {
    background: linear-gradient(135deg, #1d4ed8 0%, #dc2626 100%);
    color: #ffffff;
}

.wnba-badge {
    background: linear-gradient(135deg, #f97316 0%, #7c3aed 100%);
    color: #ffffff;
}

.header {
    padding: 20px 40px 40px;
}

.recommendations {
    padding: 0 20px 80px;
    background: transparent;
}

.loading {
    text-align: center;
    padding: 80px 40px;
    color: #666666;
    font-weight: 300;
}

.error {
    background: transparent;
    color: #ffffff;
    padding: 40px;
    border: 1px solid #333333;
    text-align: center;
    font-weight: 300;
}

.refresh-btn {
    background: transparent;
    color: #ffffff;
    border: 1px solid #333333;
    padding: 8px 16px;
    border-radius: 0;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.refresh-btn:hover {
    border-color: #666666;
    color: #cccccc;
}

.no-recommendations {
    text-align: center;
    padding: 80px 40px;
    color: #666666;
    font-weight: 300;
}

@media (max-width: 768px) {
    .top-header {
        padding: 20px;
        grid-template-columns: 1fr;
        grid-template-areas:
            "brand"
            "action"
            "bankroll"
            "leagues";
        gap: 16px;
        align-items: center;
        justify-items: center;
    }

    .header-command-center {
        padding-top: 0;
    }

    .league-toggle-item.is-selected::after {
        display: none;
    }

    .header-center,
    .header-leagues {
        width: 100%;
    }

    .header-center {
        justify-content: center;
    }

    .header-leagues.is-primary-navigation .league-rail-shell {
        width: 100%;
    }

    .header-leagues.is-primary-navigation .league-navigation-row.has-add-control .league-rail-shell {
        width: calc(100% - 44px);
        margin-left: 0;
    }

    .header-leagues.is-primary-navigation .league-add-menu.is-persistent {
        right: 0;
        left: auto;
    }

    .header-leagues.is-primary-navigation .league-toggle-container {
        padding-inline: 0;
    }

    .header-leagues.is-primary-navigation .league-rail-arrow {
        display: none;
    }

    .next-up-empty.is-companion,
    .next-up-rail-arrow {
        display: none;
    }

    .next-up.next-up-count-1.has-scan-companion {
        width: 244px;
    }

    .next-up.next-up-count-2.has-scan-companion {
        width: 436px;
    }

    .next-up-card {
        flex-basis: min(86vw, 244px);
    }

    .header-leagues .league-toggle {
        margin-inline: 0;
    }

    .brand-block,
    .bankroll-info {
        align-items: center;
        justify-self: center;
        text-align: center;
    }

    .brand-copy {
        align-items: center;
    }

    .prophet-logo {
        justify-content: center;
    }

    .prophet-logo-mark {
        flex-basis: 44px;
        height: 50px;
        width: 44px;
    }

    .brand-posture-line {
        justify-content: center;
        margin-left: 0;
    }

    .top-header .logo-main,
    .top-header .subtitle {
        text-align: center;
    }

    .top-header .logo-main {
        font-size: 1.9rem;
        letter-spacing: 0.1em;
    }

    .top-header .subtitle {
        font-size: 0.49rem;
        max-width: 235px;
        white-space: normal;
    }

    .week-info h3 {
        font-size: 1.3rem;
    }
    
    .bankroll-info {
        flex-direction: column;
        align-items: flex-end;
        gap: 4px;
        text-align: right;
        min-width: 200px;
    }

    .account-presence {
        justify-self: center;
    }
    
    .header {
        padding: 60px 20px 40px;
    }
    
    .header h1 {
        font-size: 2.5rem;
        letter-spacing: 0.1em;
    }
    
    .header .logo-main {
        font-size: 2.5rem;
        letter-spacing: 0.1em;
    }
    
    .recommendations {
        padding: 0 16px 60px;
    }
}

/* Utility Classes */
.show {
    display: block !important;
}

.hide {
    display: none !important;
}

.show-flex {
    display: flex !important;
}

.hide-flex {
    display: none !important;
}

/* League / Season / Week selector controls */
.slice-controls {
    --rail-control-height: 44px;
    grid-area: controls;
    position: relative;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: start;
    gap: clamp(18px, 2vw, 30px);
    width: 100%;
    padding: 15px 0 8px;
    border: 0;
    border-radius: 0;
    background:
        linear-gradient(
            90deg,
            rgba(0, 0, 0, 0.98) 0%,
            rgba(0, 0, 0, 0.64) 3%,
            rgba(0, 0, 0, 0) 11%,
            rgba(0, 0, 0, 0) 89%,
            rgba(0, 0, 0, 0.64) 97%,
            rgba(0, 0, 0, 0.98) 100%
        ),
        radial-gradient(
            ellipse at 50% 0,
            rgba(var(--league-accent-rgb), 0.13),
            rgba(var(--league-secondary-rgb), 0.045) 42%,
            rgba(var(--league-accent-rgb), 0) 78%
        ),
        linear-gradient(
            180deg,
            rgba(var(--league-accent-rgb), 0.065),
            rgba(var(--league-accent-rgb), 0.025) 58%,
            rgba(255, 255, 255, 0) 100%
        ),
        transparent;
    box-shadow:
        inset 0 22px 42px rgba(var(--league-accent-rgb), 0.035);
    justify-self: stretch;
    margin: 0;
    transition: background 0.2s ease, box-shadow 0.2s ease;
}

.slice-controls::after {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 2px;
    background: linear-gradient(
        90deg,
        rgba(var(--league-accent-rgb), 0) 0%,
        rgba(var(--league-accent-rgb), 0.14) 5%,
        rgba(var(--league-accent-rgb), 0.72) 18%,
        rgba(var(--league-secondary-rgb), 0.52) 50%,
        rgba(var(--league-accent-rgb), 0.42) 82%,
        rgba(var(--league-accent-rgb), 0.14) 95%,
        rgba(var(--league-accent-rgb), 0) 100%
    );
    opacity: 0.95;
    pointer-events: none;
}

.content-sections > .slice-controls {
    margin-bottom: 32px;
}

.season-control {
    justify-self: start;
    width: 100%;
}

.week-control {
    justify-self: stretch;
}

.view-control {
    justify-self: end;
    width: 100%;
}

.control-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}

.control-label {
    font-size: 0.56rem;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.13em;
    font-weight: 700;
}

.control-select {
    box-sizing: border-box;
    height: var(--rail-control-height);
    background-color: rgba(255, 255, 255, 0.055);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 7px;
    padding: 0 34px 0 13px;
    font-size: 0.9rem;
    font-weight: 800;
    font-family: inherit;
    cursor: pointer;
    min-width: 0;
    width: 100%;
    transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'><path fill='%23888888' d='M0 0l5 6 5-6z'/></svg>");
    background-repeat: no-repeat;
    background-position: right 10px center;
}

.control-static {
    display: flex;
    align-items: center;
    background-image: none;
    cursor: default;
    padding-right: 16px;
}

.control-select:hover {
    border-color: rgba(255, 255, 255, 0.28);
    background-color: rgba(255, 255, 255, 0.07);
}

.control-select:focus {
    outline: none;
    border-color: rgba(147, 197, 253, 0.55);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.12);
}

/* Custom week dropdown (replaces native <select> so we can force downward open + emojis) */
.week-dropdown {
    position: relative;
    width: 100%;
}

.week-select-btn {
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    text-align: left;
    position: relative;
}

.week-select-btn.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

.week-select-current {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: 0.055em;
}

.week-next-cue {
    position: absolute;
    right: 28px;
    bottom: -10px;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 20px;
    padding: 0 9px;
    border: 1px solid rgba(71, 222, 121, 0.46);
    border-radius: 999px;
    background: rgba(70, 70, 70, 0.96);
    color: rgba(255, 255, 255, 0.96);
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.9);
    font-size: 0.68rem;
    font-weight: 900;
    letter-spacing: 0.02em;
    line-height: 1;
    text-transform: uppercase;
    pointer-events: none;
}

.week-select-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 3px;
    min-width: 0;
    flex: 1 1 auto;
    line-height: 1;
}

.week-select-label {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    line-height: 1.04;
}

.week-status-indicator {
    --week-status-rgb: 148, 163, 184;
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 14px;
    height: 14px;
    flex: 0 0 14px;
    border-radius: 999px;
    border: 1.5px solid rgba(var(--week-status-rgb), 0.68);
    background: rgba(var(--week-status-rgb), 0.08);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.week-status-indicator::after {
    content: "";
    width: 5px;
    height: 5px;
    border-radius: inherit;
    background: rgba(var(--week-status-rgb), 0.62);
    transform: scale(0);
    transition: transform 160ms ease, background-color 160ms ease;
}

.week-status-positive {
    --week-status-rgb: 34, 197, 94;
    border-color: rgba(var(--week-status-rgb), 0.9);
    background:
        radial-gradient(circle at 38% 32%, rgba(255, 255, 255, 0.45), transparent 34%),
        rgb(var(--week-status-rgb));
    box-shadow: 0 0 10px rgba(var(--week-status-rgb), 0.38);
}

.week-status-negative {
    --week-status-rgb: 239, 68, 68;
    border-color: rgba(var(--week-status-rgb), 0.9);
    background:
        radial-gradient(circle at 38% 32%, rgba(255, 255, 255, 0.42), transparent 34%),
        rgb(var(--week-status-rgb));
    box-shadow: 0 0 10px rgba(var(--week-status-rgb), 0.34);
}

.week-status-pending {
    --week-status-rgb: 96, 165, 250;
    border-color: rgba(var(--week-status-rgb), 0.86);
    background:
        radial-gradient(circle at center, rgba(var(--week-status-rgb), 0.16), rgba(var(--week-status-rgb), 0.04) 70%),
        rgba(15, 23, 42, 0.42);
    box-shadow: 0 0 0 1px rgba(var(--week-status-rgb), 0.08), 0 0 12px rgba(var(--week-status-rgb), 0.24);
}

.week-status-pending::after {
    background: rgb(var(--week-status-rgb));
    transform: scale(1);
    box-shadow: 0 0 8px rgba(var(--week-status-rgb), 0.62);
}

.week-status-neutral {
    --week-status-rgb: 203, 213, 225;
    border-color: rgba(var(--week-status-rgb), 0.58);
    background: rgba(var(--week-status-rgb), 0.18);
}

.week-menu {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    z-index: 1000;
    min-width: 100%;
    max-height: 320px;
    overflow-y: auto;
    margin: 0;
    padding: 4px;
    list-style: none;
    background: #0d0d0d;
    border: 1px solid #333333;
    border-radius: 6px;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.55);
    display: none;
}

.week-dropdown.open .week-menu {
    display: block;
}

.week-menu-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    border-radius: 4px;
    cursor: pointer;
    color: #cfcfcf;
    font-size: 0.9rem;
    white-space: nowrap;
}

.week-menu-item:hover {
    background: rgba(255, 255, 255, 0.06);
    color: #ffffff;
}

.week-menu-item.selected {
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
}

.week-menu-status-indicator {
    width: 14px;
    height: 14px;
    flex-basis: 14px;
}

.week-menu-label {
    text-transform: uppercase;
    letter-spacing: 0.04em;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    line-height: 1.05;
}

.week-menu-label-row {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

.week-menu-current-pill {
    flex: 0 0 auto;
    height: 17px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 7px;
    border: 1px solid rgba(160, 180, 168, 0.32);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.07);
    color: rgba(220, 230, 224, 0.82);
    font-size: 0.56rem;
    font-weight: 800;
    letter-spacing: 0.07em;
    line-height: 1;
    text-transform: uppercase;
}

.week-menu-next-pill {
    flex: 0 0 auto;
    min-width: 24px;
    height: 17px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 7px;
    border: 1px solid rgba(71, 222, 121, 0.42);
    border-radius: 999px;
    background: rgba(70, 70, 70, 0.92);
    color: rgba(255, 255, 255, 0.95);
    font-size: 0.58rem;
    font-weight: 900;
    letter-spacing: 0.02em;
    line-height: 1;
    text-transform: uppercase;
}

.week-menu-copy {
    display: flex;
    flex: 1 1 auto;
    min-width: 0;
    flex-direction: column;
    gap: 4px;
}

.week-menu-dates {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: rgba(255, 255, 255, 0.46);
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.055em;
    line-height: 1;
    text-transform: uppercase;
}

.week-menu-check {
    color: #4ade80;
    font-size: 0.8rem;
    flex-shrink: 0;
}

.week-control .week-navigation {
    gap: 6px;
    justify-content: flex-start;
    padding: 0;
}

.week-control .week-nav-btn {
    margin-top: 0;
    width: 36px;
    height: 36px;
    font-size: 1.3rem;
}

.week-nav-btn.disabled {
    opacity: 0.3;
    cursor: not-allowed;
    pointer-events: none;
}

.week-dates {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 0.62rem;
    color: rgba(255, 255, 255, 0.48);
    text-transform: uppercase;
    letter-spacing: 0.055em;
    font-weight: 700;
    text-align: left;
    line-height: 1;
}

.view-control .worldcup-view-toggle {
    width: 100%;
    box-sizing: border-box;
    height: var(--rail-control-height);
    margin: 0;
    padding: 3px;
    gap: 4px;
    align-items: stretch;
    border-radius: 7px;
    background: rgba(255, 255, 255, 0.055);
    border-color: rgba(255, 255, 255, 0.16);
}

.view-control .worldcup-view-link {
    min-height: 0;
    height: 100%;
    padding: 0 10px;
    border-radius: 5px;
    font-size: 0.66rem;
    letter-spacing: 0.08em;
}

@media (max-width: 980px) {
    .slice-controls {
        grid-template-columns: 1fr 1.7fr;
        width: 100%;
        margin: 0;
    }

    .season-control,
    .week-control,
    .view-control {
        justify-self: stretch;
        width: 100%;
    }

    .view-control {
        grid-column: 1 / -1;
    }
}

.admin-page {
    background:
        linear-gradient(180deg, rgba(15, 23, 42, 0.22), transparent 260px),
        #000000;
}

.admin-container {
    width: min(1200px, calc(100vw - 48px));
    max-width: 1200px;
    padding: 20px 0 56px;
}

.admin-top-header {
    grid-template-columns: minmax(280px, 1fr) minmax(360px, auto) minmax(220px, 1fr);
    grid-template-areas: "brand title nav";
    padding: 20px 0 18px;
    row-gap: 18px;
}

.admin-top-header > .brand-block {
    grid-area: brand;
}

.admin-title-block {
    grid-area: title;
    justify-self: center;
    display: grid;
    gap: 4px;
    min-width: 0;
    text-align: center;
}

.admin-kicker,
.admin-section-kicker,
.admin-section-meta,
.admin-generated {
    color: rgba(148, 163, 184, 0.78);
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    line-height: 1;
    text-transform: uppercase;
}

.admin-title-block h1 {
    color: #f8fafc;
    font-family: 'Orbitron', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: clamp(1.18rem, 2.05vw, 1.98rem);
    font-weight: 700;
    letter-spacing: 0.13em;
    line-height: 1.04;
    text-shadow: 0 0 18px rgba(var(--league-secondary-rgb), 0.12);
    text-transform: uppercase;
}

.admin-section-heading h2 {
    color: #f8fafc;
    font-size: 1.14rem;
    font-weight: 850;
    letter-spacing: 0.08em;
    line-height: 1.05;
    text-transform: uppercase;
}

.admin-generated {
    color: rgba(226, 232, 240, 0.54);
    letter-spacing: 0.06em;
}

.admin-desk-link {
    grid-area: desk;
    justify-self: end;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 8px 16px;
    border: 1px solid rgba(var(--league-accent-rgb), 0.28);
    border-radius: 999px;
    color: rgba(226, 232, 240, 0.84);
    background: rgba(2, 6, 23, 0.62);
    font-size: 0.66rem;
    font-weight: 850;
    letter-spacing: 0.1em;
    line-height: 1;
    text-decoration: none;
    text-transform: uppercase;
}

.admin-desk-link:hover,
.admin-desk-link:focus-visible {
    border-color: rgba(var(--league-accent-rgb), 0.48);
    color: #ffffff;
    outline: none;
}

.admin-live-ops {
    margin: 14px 0 0;
}

.admin-view-toggle {
    grid-area: nav;
    justify-self: end;
    align-self: center;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 3px;
    width: min(220px, 100%);
    margin: 0;
    padding: 3px;
    border: 1px solid rgba(var(--league-accent-rgb), 0.24);
    border-radius: 999px;
    background:
        linear-gradient(180deg, rgba(15, 23, 42, 0.72), rgba(2, 6, 23, 0.78));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035);
}

.admin-view-option {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 0 13px;
    border: 1px solid transparent;
    border-radius: 999px;
    color: rgba(226, 232, 240, 0.7);
    text-align: center;
    text-decoration: none;
}

.admin-view-option span {
    color: rgba(248, 250, 252, 0.88);
    font-size: 0.66rem;
    font-weight: 880;
    letter-spacing: 0.09em;
    line-height: 1;
    text-transform: uppercase;
}

.admin-view-option small {
    color: rgba(148, 163, 184, 0.68);
    font-size: 0.56rem;
    font-weight: 760;
    letter-spacing: 0.07em;
    line-height: 1.2;
    text-transform: uppercase;
}

.admin-view-option.is-active {
    border-color: rgba(var(--league-accent-rgb), 0.38);
    background:
        radial-gradient(circle at 50% -40%, rgba(var(--league-accent-rgb), 0.22), transparent 54%),
        rgba(var(--league-accent-rgb), 0.1);
}

.admin-view-option.is-active span {
    color: #ffffff;
}

.admin-command-nav {
    grid-area: nav;
    justify-self: end;
    align-self: center;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 7px;
}

.admin-command-nav a {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 0 11px;
    border: 1px solid rgba(var(--league-accent-rgb), 0.2);
    border-radius: 999px;
    color: rgba(226, 232, 240, 0.76);
    background: rgba(2, 6, 23, 0.54);
    font-size: 0.58rem;
    font-weight: 860;
    letter-spacing: 0.08em;
    line-height: 1;
    text-decoration: none;
    text-transform: uppercase;
}

.admin-command-nav a:first-child {
    border-color: rgba(251, 191, 36, 0.3);
    color: rgba(254, 240, 138, 0.92);
    background: rgba(120, 53, 15, 0.16);
}

.admin-command-nav a:hover,
.admin-command-nav a:focus-visible {
    border-color: rgba(var(--league-secondary-rgb), 0.5);
    color: #ffffff;
    outline: none;
}

.admin-live-ops .automation-health {
    border-top-color: rgba(var(--league-accent-rgb), 0.38);
}

.admin-main {
    display: grid;
    gap: 26px;
    padding: 28px 0 0;
}

.admin-human-command {
    display: grid;
    gap: 16px;
    padding: 20px;
    border: 1px solid rgba(251, 191, 36, 0.25);
    border-radius: 12px;
    background:
        radial-gradient(circle at 6% -10%, rgba(251, 191, 36, 0.12), transparent 32%),
        linear-gradient(150deg, rgba(15, 23, 42, 0.9), rgba(2, 6, 23, 0.94));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.045), 0 18px 55px rgba(0, 0, 0, 0.22);
    scroll-margin-top: 18px;
}

.admin-human-command-head {
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 22px;
}

.admin-human-command-head > div {
    display: grid;
    gap: 7px;
    max-width: 720px;
}

.admin-human-command-head h2 {
    margin: 0;
    color: #ffffff;
    font-size: clamp(1.3rem, 2.4vw, 2rem);
    font-weight: 880;
    letter-spacing: -0.02em;
    line-height: 1;
}

.admin-human-command-head p {
    margin: 0;
    color: rgba(203, 213, 225, 0.76);
    font-size: 0.78rem;
    font-weight: 620;
    line-height: 1.5;
}

.admin-human-total {
    display: grid;
    flex: 0 0 auto;
    gap: 4px;
    min-width: 118px;
    padding: 12px 14px;
    border: 1px solid rgba(148, 163, 184, 0.16);
    border-radius: 9px;
    text-align: right;
    background: rgba(2, 6, 23, 0.48);
}

.admin-human-total.has-actions {
    border-color: rgba(251, 191, 36, 0.34);
}

.admin-human-total strong {
    color: #fbbf24;
    font-size: 1.8rem;
    font-weight: 860;
    line-height: 0.9;
}

.admin-human-total.is-clear strong {
    color: #4ade80;
}

.admin-human-total small,
.admin-human-lane-head small,
.admin-human-brief small,
.admin-human-required small {
    color: rgba(148, 163, 184, 0.7);
    font-size: 0.56rem;
    font-weight: 830;
    letter-spacing: 0.08em;
    line-height: 1.2;
    text-transform: uppercase;
}

.admin-human-lanes {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.admin-human-lane {
    display: grid;
    align-content: start;
    gap: 10px;
    min-width: 0;
    padding: 13px;
    border: 1px solid rgba(148, 163, 184, 0.13);
    border-radius: 9px;
    background: rgba(2, 6, 23, 0.38);
}

.admin-human-lane-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.admin-human-lane-head > span {
    display: grid;
    gap: 4px;
}

.admin-human-lane-head strong {
    color: rgba(248, 250, 252, 0.92);
    font-size: 0.76rem;
    font-weight: 870;
    letter-spacing: 0.04em;
    line-height: 1.2;
    text-transform: uppercase;
}

.admin-human-lane-head em {
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    border: 1px solid rgba(251, 191, 36, 0.28);
    border-radius: 999px;
    color: #fbbf24;
    background: rgba(120, 53, 15, 0.14);
    font-size: 0.72rem;
    font-style: normal;
    font-weight: 900;
}

.admin-human-brief-list {
    display: grid;
    gap: 8px;
}

.admin-human-brief {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(145px, 0.42fr);
    gap: 12px;
    min-width: 0;
    padding: 11px;
    border: 1px solid rgba(148, 163, 184, 0.12);
    border-radius: 8px;
    color: inherit;
    background: rgba(15, 23, 42, 0.54);
    text-decoration: none;
}

.admin-human-brief.admin-tone-attention {
    border-color: rgba(251, 191, 36, 0.25);
}

.admin-human-brief.admin-tone-negative {
    border-color: rgba(248, 113, 113, 0.28);
}

.admin-human-brief > span:first-child,
.admin-human-required {
    display: grid;
    align-content: start;
    gap: 5px;
    min-width: 0;
}

.admin-human-brief > span:first-child > strong {
    color: rgba(248, 250, 252, 0.94);
    font-size: 0.77rem;
    font-weight: 860;
    line-height: 1.22;
}

.admin-human-brief p {
    display: -webkit-box;
    margin: 0;
    overflow: hidden;
    color: rgba(203, 213, 225, 0.73);
    font-size: 0.68rem;
    font-weight: 610;
    line-height: 1.42;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.admin-human-required {
    padding-left: 11px;
    border-left: 1px solid rgba(251, 191, 36, 0.18);
}

.admin-human-required strong {
    color: rgba(254, 240, 138, 0.92);
    font-size: 0.68rem;
    font-weight: 820;
    line-height: 1.35;
}

.admin-human-clear {
    display: grid;
    gap: 4px;
    min-height: 82px;
    align-content: center;
    padding: 12px;
    border: 1px dashed rgba(74, 222, 128, 0.2);
    border-radius: 8px;
    background: rgba(20, 83, 45, 0.07);
}

.admin-human-clear strong {
    color: #4ade80;
    font-size: 0.72rem;
    font-weight: 880;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.admin-human-clear span {
    color: rgba(148, 163, 184, 0.75);
    font-size: 0.68rem;
    line-height: 1.35;
}

.admin-metric-strip {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.admin-metric-tile {
    display: grid;
    gap: 8px;
    min-height: 112px;
    padding: 16px;
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 8px;
    background:
        linear-gradient(180deg, rgba(15, 23, 42, 0.82), rgba(2, 6, 23, 0.84)),
        #020617;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035);
}

.admin-metric-tile span,
.admin-metric-tile small,
.admin-table-head,
.admin-slice-row small,
.admin-work-row small {
    color: rgba(148, 163, 184, 0.72);
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    line-height: 1.2;
    text-transform: uppercase;
}

.admin-metric-tile strong {
    color: #f8fafc;
    font-size: 1.48rem;
    font-weight: 780;
    letter-spacing: 0;
    line-height: 1;
}

.admin-metric-tile.admin-tone-positive {
    border-color: rgba(74, 222, 128, 0.24);
}

.admin-metric-tile.admin-tone-positive strong,
.admin-value.positive,
.admin-slice-row .positive,
.admin-table-row .positive {
    color: #22c55e;
}

.admin-metric-tile.admin-tone-negative {
    border-color: rgba(248, 113, 113, 0.34);
}

.admin-metric-tile.admin-tone-attention {
    border-color: rgba(251, 191, 36, 0.32);
}

.admin-metric-tile.admin-tone-attention strong {
    color: #fbbf24;
}

.admin-metric-tile.admin-tone-negative strong,
.admin-value.negative,
.admin-slice-row .negative,
.admin-table-row .negative {
    color: #f87171;
}

.admin-value.neutral,
.admin-slice-row .neutral,
.admin-table-row .neutral {
    color: rgba(226, 232, 240, 0.8);
}

.admin-open-picks-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(420px, 1fr));
    gap: 12px;
}

.admin-open-picks-card {
    display: grid;
    gap: 14px;
    min-width: 0;
    padding: 16px;
    border: 1px solid rgba(var(--league-accent-rgb), 0.2);
    border-radius: 8px;
    background:
        radial-gradient(circle at 16% 0%, rgba(var(--league-accent-rgb), 0.18), transparent 38%),
        linear-gradient(180deg, rgba(15, 23, 42, 0.78), rgba(2, 6, 23, 0.82));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.admin-open-picks-card-head,
.admin-open-picks-latest {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    min-width: 0;
}

.admin-open-picks-card-head > span,
.admin-open-picks-latest {
    display: grid;
    gap: 4px;
    min-width: 0;
}

.admin-open-picks-card-head strong {
    color: #f8fafc;
    font-size: 0.98rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    line-height: 1;
}

.admin-open-picks-card-head small,
.admin-open-picks-card-head em,
.admin-open-picks-primary span,
.admin-open-picks-metrics span,
.admin-open-picks-latest span,
.admin-open-picks-latest small {
    color: rgba(148, 163, 184, 0.75);
    font-size: 0.64rem;
    font-style: normal;
    font-weight: 820;
    letter-spacing: 0.08em;
    line-height: 1.2;
    text-transform: uppercase;
}

.admin-open-picks-card-head em {
    flex: 0 0 auto;
    padding: 5px 8px;
    border: 1px solid rgba(var(--league-accent-rgb), 0.22);
    border-radius: 999px;
    background: rgba(var(--league-accent-rgb), 0.08);
    color: rgba(226, 232, 240, 0.84);
}

.admin-open-picks-primary {
    display: flex;
    align-items: baseline;
    gap: 10px;
}

.admin-open-picks-primary strong {
    color: #f8fafc;
    font-size: clamp(2.1rem, 4vw, 3.4rem);
    font-weight: 760;
    letter-spacing: 0;
    line-height: 0.92;
}

.admin-open-picks-metrics {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.admin-open-picks-metrics span {
    display: grid;
    gap: 5px;
    min-width: 0;
    padding: 9px;
    border: 1px solid rgba(148, 163, 184, 0.11);
    border-radius: 7px;
    background: rgba(15, 23, 42, 0.52);
}

.admin-open-picks-metrics strong,
.admin-open-picks-latest strong {
    min-width: 0;
    color: rgba(248, 250, 252, 0.92);
    font-size: 0.8rem;
    font-weight: 850;
    letter-spacing: 0.02em;
    line-height: 1.2;
    overflow-wrap: anywhere;
    text-transform: none;
}

.admin-open-picks-latest {
    padding-top: 2px;
    border-top: 1px solid rgba(148, 163, 184, 0.1);
}

.admin-open-picks-games {
    display: grid;
    gap: 8px;
    padding-top: 2px;
    border-top: 1px solid rgba(148, 163, 184, 0.1);
}

.admin-open-picks-games-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-width: 0;
}

.admin-open-picks-games-head span,
.admin-open-picks-games-head small,
.admin-pick-exposure-main small,
.admin-pick-exposure-meta,
.admin-pick-line small {
    color: rgba(148, 163, 184, 0.76);
    font-size: 0.62rem;
    font-style: normal;
    font-weight: 820;
    letter-spacing: 0.08em;
    line-height: 1.2;
    text-transform: uppercase;
}

.admin-pick-exposure {
    display: grid;
    gap: 8px;
    min-width: 0;
    padding: 10px;
    border: 1px solid rgba(148, 163, 184, 0.13);
    border-radius: 7px;
    background:
        linear-gradient(180deg, rgba(15, 23, 42, 0.68), rgba(2, 6, 23, 0.56));
    transition: border-color 160ms ease, background 160ms ease, opacity 160ms ease;
}

.admin-pick-exposure.is-live {
    border-color: rgba(96, 165, 250, 0.46);
    background:
        radial-gradient(circle at 8% 0%, rgba(56, 189, 248, 0.18), transparent 36%),
        linear-gradient(180deg, rgba(15, 23, 42, 0.74), rgba(2, 6, 23, 0.6));
}

.admin-pick-exposure.is-past {
    border-color: rgba(148, 163, 184, 0.09);
    background: rgba(15, 23, 42, 0.32);
    filter: saturate(0.42);
    opacity: 0.58;
}

.admin-pick-exposure-main {
    display: grid;
    grid-template-columns: minmax(0, 1fr) max-content;
    align-items: start;
    gap: 12px;
}

.admin-pick-exposure-main > span {
    display: grid;
    gap: 3px;
    min-width: 0;
}

.admin-pick-exposure-main strong {
    min-width: 0;
    color: rgba(248, 250, 252, 0.94);
    font-size: 0.82rem;
    font-weight: 880;
    letter-spacing: 0.02em;
    line-height: 1.2;
    overflow-wrap: anywhere;
}

.admin-pick-exposure-main em {
    color: rgba(248, 250, 252, 0.94);
    font-size: 0.82rem;
    font-style: normal;
    font-weight: 900;
    letter-spacing: 0.02em;
    line-height: 1;
}

.admin-pick-exposure-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
}

.admin-pick-exposure-meta span,
.admin-pick-exposure-top {
    display: inline-flex;
    align-items: center;
    min-height: 20px;
    padding: 0 7px;
    border: 1px solid rgba(148, 163, 184, 0.12);
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.5);
}

.admin-pick-exposure-top {
    border-color: rgba(251, 191, 36, 0.36);
    color: rgba(253, 230, 138, 0.92);
    background: rgba(251, 191, 36, 0.09);
}

.admin-pick-lines {
    display: grid;
    gap: 6px;
}

.admin-pick-line {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    align-items: center;
    gap: 10px;
    min-width: 0;
    padding: 7px 8px;
    border: 1px solid rgba(148, 163, 184, 0.1);
    border-radius: 6px;
    background: rgba(2, 6, 23, 0.4);
    scroll-margin-top: 28px;
}

.admin-pick-line.is-top {
    border-color: rgba(251, 191, 36, 0.24);
    background:
        linear-gradient(90deg, rgba(251, 191, 36, 0.09), rgba(2, 6, 23, 0.35));
}

.admin-pick-line:target {
    border-color: rgba(var(--league-accent-rgb), 0.72);
    box-shadow: 0 0 0 1px rgba(var(--league-accent-rgb), 0.18), 0 0 28px rgba(var(--league-accent-rgb), 0.18);
}

.admin-pick-line strong {
    min-width: 0;
    color: rgba(248, 250, 252, 0.92);
    font-size: 0.72rem;
    font-weight: 860;
    line-height: 1.2;
    overflow-wrap: anywhere;
}

.admin-pick-line small {
    justify-self: end;
    min-width: 0;
    text-align: right;
    overflow-wrap: anywhere;
}

.admin-section {
    display: grid;
    gap: 14px;
    padding: 22px 0 0;
    border-top: 1px solid rgba(var(--league-accent-rgb), 0.26);
}

.admin-section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 16px;
    min-width: 0;
}

.admin-section-heading > div {
    display: grid;
    gap: 7px;
    min-width: 0;
}

.admin-data-table,
.admin-slice-list,
.admin-work-list {
    display: grid;
    gap: 7px;
    min-width: 0;
}

.admin-gate-list {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
    min-width: 0;
}

.admin-gate-card {
    display: grid;
    gap: 10px;
    min-width: 0;
    padding: 14px;
    border: 1px solid rgba(148, 163, 184, 0.13);
    border-radius: 8px;
    background:
        linear-gradient(180deg, rgba(15, 23, 42, 0.62), rgba(2, 6, 23, 0.66));
}

.admin-gate-card.admin-tone-attention {
    border-color: rgba(251, 191, 36, 0.28);
}

.admin-gate-card.admin-tone-negative {
    border-color: rgba(248, 113, 113, 0.28);
}

.admin-gate-card.admin-tone-positive {
    border-color: rgba(74, 222, 128, 0.22);
}

.admin-gate-main {
    display: grid;
    grid-template-columns: minmax(0, 1fr) max-content;
    align-items: start;
    gap: 12px;
    min-width: 0;
}

.admin-gate-main > span {
    display: grid;
    gap: 4px;
    min-width: 0;
}

.admin-gate-main strong {
    min-width: 0;
    color: rgba(248, 250, 252, 0.94);
    font-size: 0.82rem;
    font-weight: 880;
    letter-spacing: 0.06em;
    line-height: 1.1;
    overflow-wrap: anywhere;
    text-transform: uppercase;
}

.admin-gate-main small,
.admin-gate-meta,
.admin-gate-links {
    color: rgba(148, 163, 184, 0.76);
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.07em;
    line-height: 1.25;
    text-transform: uppercase;
}

.admin-gate-main em {
    display: inline-flex;
    align-items: center;
    min-height: 22px;
    padding: 0 8px;
    border: 1px solid rgba(var(--league-accent-rgb), 0.2);
    border-radius: 999px;
    color: rgba(226, 232, 240, 0.88);
    background: rgba(var(--league-accent-rgb), 0.08);
    font-size: 0.58rem;
    font-style: normal;
    font-weight: 860;
    letter-spacing: 0.08em;
    line-height: 1;
    text-transform: uppercase;
}

.admin-gate-card p {
    margin: 0;
    color: rgba(226, 232, 240, 0.82);
    font-size: 0.74rem;
    font-weight: 650;
    letter-spacing: 0;
    line-height: 1.45;
}

.admin-gate-meta,
.admin-gate-links {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
}

.admin-gate-meta span,
.admin-gate-links span,
.admin-gate-links a {
    display: inline-flex;
    align-items: center;
    min-height: 21px;
    padding: 0 7px;
    border: 1px solid rgba(148, 163, 184, 0.12);
    border-radius: 999px;
    color: rgba(203, 213, 225, 0.78);
    background: rgba(15, 23, 42, 0.48);
    text-decoration: none;
}

.admin-tech-decision-grid {
    display: grid;
    grid-template-columns: minmax(240px, 1fr) minmax(90px, 0.26fr) minmax(118px, 0.34fr) minmax(124px, 0.36fr);
    gap: 8px;
    min-width: 0;
}

.admin-tech-decision-grid span {
    display: grid;
    gap: 5px;
    min-width: 0;
    padding: 9px 10px;
    border: 1px solid rgba(148, 163, 184, 0.1);
    border-radius: 8px;
    background: rgba(15, 23, 42, 0.34);
}

.admin-tech-decision-grid small {
    color: rgba(148, 163, 184, 0.72);
    font-size: 0.56rem;
    font-weight: 840;
    letter-spacing: 0.08em;
    line-height: 1.15;
    text-transform: uppercase;
}

.admin-tech-decision-grid strong {
    min-width: 0;
    color: rgba(226, 232, 240, 0.88);
    font-size: 0.68rem;
    font-weight: 820;
    letter-spacing: 0;
    line-height: 1.25;
    overflow-wrap: anywhere;
}

.admin-gate-links a {
    border-color: rgba(var(--league-accent-rgb), 0.24);
    color: rgba(226, 232, 240, 0.9);
}

.admin-gate-evidence {
    min-width: 0;
    border-top: 1px solid rgba(148, 163, 184, 0.1);
    padding-top: 8px;
}

.admin-gate-evidence summary {
    width: max-content;
    cursor: pointer;
    color: rgba(203, 213, 225, 0.76);
    font-size: 0.62rem;
    font-weight: 860;
    letter-spacing: 0.08em;
    line-height: 1.2;
    text-transform: uppercase;
}

.admin-gate-evidence-grid {
    display: grid;
    gap: 8px;
    margin-top: 8px;
    min-width: 0;
}

.admin-gate-evidence-grid section {
    display: grid;
    gap: 5px;
    min-width: 0;
}

.admin-gate-evidence-grid strong {
    color: rgba(148, 163, 184, 0.82);
    font-size: 0.56rem;
    font-weight: 860;
    letter-spacing: 0.08em;
    line-height: 1.2;
    text-transform: uppercase;
}

.admin-gate-evidence-grid pre {
    max-height: 170px;
    margin: 0;
    overflow: auto;
    padding: 9px;
    border: 1px solid rgba(148, 163, 184, 0.12);
    border-radius: 7px;
    color: rgba(226, 232, 240, 0.82);
    background: rgba(2, 6, 23, 0.58);
    font-family: 'SF Mono', Monaco, 'Cascadia Code', 'Roboto Mono', Consolas, 'Courier New', monospace;
    font-size: 0.62rem;
    line-height: 1.45;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
}

.admin-gate-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.admin-gate-actions form {
    margin: 0;
}

.admin-gate-actions .admin-gate-retry-form {
    display: flex;
    flex: 1 1 360px;
    gap: 7px;
}

.admin-gate-actions input {
    min-width: 180px;
    min-height: 32px;
    flex: 1 1 240px;
    padding: 7px 10px;
    border: 1px solid rgba(148, 163, 184, 0.24);
    border-radius: 7px;
    color: #f8fafc;
    background: rgba(2, 6, 23, 0.7);
}

.admin-gate-actions button {
    min-height: 28px;
    padding: 0 11px;
    border: 1px solid rgba(var(--league-accent-rgb), 0.28);
    border-radius: 999px;
    color: rgba(248, 250, 252, 0.88);
    background: rgba(var(--league-accent-rgb), 0.1);
    font-size: 0.6rem;
    font-weight: 860;
    letter-spacing: 0.08em;
    line-height: 1;
    text-transform: uppercase;
}

.admin-gate-actions button:hover {
    border-color: rgba(var(--league-secondary-rgb), 0.52);
    background: rgba(var(--league-secondary-rgb), 0.14);
}

.admin-notice {
    margin: 12px 0;
    padding: 11px 13px;
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 8px;
    color: rgba(226, 232, 240, 0.9);
    background: rgba(15, 23, 42, 0.82);
    font-size: 0.74rem;
    font-weight: 720;
}

.admin-notice.admin-tone-positive {
    border-color: rgba(74, 222, 128, 0.32);
}

.admin-notice.admin-tone-attention {
    border-color: rgba(251, 191, 36, 0.38);
    color: rgba(254, 243, 199, 0.94);
    background: rgba(69, 45, 4, 0.42);
}

.admin-notice.admin-tone-negative {
    border-color: rgba(248, 113, 113, 0.38);
}

.admin-review-decision-form {
    display: grid;
    gap: 9px;
    padding-top: 9px;
    border-top: 1px solid rgba(148, 163, 184, 0.1);
}

.admin-review-decision-form label {
    display: grid;
    gap: 5px;
    min-width: 0;
}

.admin-review-decision-form label > span {
    color: rgba(148, 163, 184, 0.82);
    font-size: 0.56rem;
    font-weight: 860;
    letter-spacing: 0.08em;
    line-height: 1.2;
    text-transform: uppercase;
}

.admin-review-decision-form textarea,
.admin-review-decision-form input,
.admin-review-decision-form select {
    width: 100%;
    min-width: 0;
    padding: 8px 9px;
    border: 1px solid rgba(148, 163, 184, 0.16);
    border-radius: 7px;
    color: rgba(241, 245, 249, 0.92);
    background: rgba(2, 6, 23, 0.7);
    font: inherit;
    font-size: 0.7rem;
    line-height: 1.35;
}

.admin-review-decision-form textarea {
    resize: vertical;
}

.admin-review-decision-form textarea:focus,
.admin-review-decision-form input:focus,
.admin-review-decision-form select:focus {
    border-color: rgba(var(--league-accent-rgb), 0.5);
    outline: 2px solid rgba(var(--league-accent-rgb), 0.12);
}

.admin-review-decision-fields {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 8px;
}

.admin-review-identity {
    display: grid;
    grid-template-columns: 0.7fr 0.9fr 1.2fr 1.8fr;
    gap: 8px;
    margin: 0;
}

.admin-review-identity > div {
    display: grid;
    gap: 4px;
    min-width: 0;
    padding: 9px 10px;
    border: 1px solid rgba(148, 163, 184, 0.12);
    border-radius: 7px;
    background: rgba(2, 6, 23, 0.42);
}

.admin-review-identity dt,
.admin-recommendation-confidence-grid small,
.admin-recommendation-confidence-grid em,
.admin-action-recommendation h4,
.admin-decision-confirmation dt {
    color: rgba(148, 163, 184, 0.78);
    font-size: 0.56rem;
    font-style: normal;
    font-weight: 850;
    letter-spacing: 0.08em;
    line-height: 1.2;
    text-transform: uppercase;
}

.admin-review-identity dd {
    min-width: 0;
    margin: 0;
    color: rgba(241, 245, 249, 0.92);
    font-size: 0.69rem;
    font-weight: 760;
    line-height: 1.35;
    overflow-wrap: anywhere;
}

.admin-action-recommendation {
    display: grid;
    gap: 13px;
    padding: 15px;
    border: 1px solid rgba(var(--league-accent-rgb), 0.3);
    border-radius: 9px;
    background:
        linear-gradient(145deg, rgba(var(--league-accent-rgb), 0.11), rgba(2, 6, 23, 0.68) 52%);
}

.admin-action-recommendation > header,
.admin-suggested-note > div {
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 12px;
}

.admin-action-recommendation > header > div {
    display: grid;
    gap: 5px;
}

.admin-action-recommendation h3,
.admin-decision-confirmation h3 {
    margin: 0;
    color: rgba(248, 250, 252, 0.96);
    font-size: 0.92rem;
    font-weight: 900;
    letter-spacing: 0.045em;
    line-height: 1.2;
    text-transform: uppercase;
}

.admin-recommended-badge,
.admin-selected-badge {
    display: inline-flex;
    align-items: center;
    width: max-content;
    min-height: 22px;
    padding: 0 8px;
    border: 1px solid rgba(251, 191, 36, 0.42);
    border-radius: 999px;
    color: rgba(254, 243, 199, 0.96);
    background: rgba(146, 64, 14, 0.28);
    font-size: 0.55rem;
    font-weight: 900;
    letter-spacing: 0.07em;
    line-height: 1;
    text-transform: uppercase;
}

.admin-selected-badge {
    border-color: rgba(226, 232, 240, 0.36);
    color: rgba(248, 250, 252, 0.96);
    background: rgba(51, 65, 85, 0.72);
}

.admin-recommendation-confidence-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
}

.admin-recommendation-confidence-grid > span {
    display: grid;
    gap: 4px;
    min-width: 0;
    padding: 9px 10px;
    border: 1px solid rgba(148, 163, 184, 0.12);
    border-radius: 7px;
    background: rgba(2, 6, 23, 0.4);
}

.admin-recommendation-confidence-grid strong {
    color: rgba(248, 250, 252, 0.94);
    font-size: 0.82rem;
    font-weight: 880;
    line-height: 1.2;
}

.admin-recommendation-confidence-grid em {
    letter-spacing: 0;
    text-transform: none;
}

.admin-recommendation-rationale {
    max-width: 1000px;
    font-size: 0.8rem !important;
    line-height: 1.55 !important;
}

.admin-recommendation-evidence-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
}

.admin-recommendation-evidence-grid > section {
    min-width: 0;
    padding: 10px 11px;
    border: 1px solid rgba(148, 163, 184, 0.12);
    border-radius: 7px;
    background: rgba(2, 6, 23, 0.42);
}

.admin-action-recommendation h4 {
    margin: 0 0 7px;
}

.admin-recommendation-evidence-grid ul {
    display: grid;
    gap: 6px;
    margin: 0;
    padding-left: 18px;
    color: rgba(226, 232, 240, 0.86);
    font-size: 0.69rem;
    line-height: 1.45;
}

.admin-recommendation-caveats {
    border-style: dashed !important;
}

.admin-recommendation-caveats p {
    font-size: 0.69rem;
}

.admin-suggested-note {
    display: grid;
    gap: 8px;
    padding-top: 10px;
    border-top: 1px solid rgba(148, 163, 184, 0.14);
}

.admin-suggested-note button,
.admin-confirmation-actions button {
    min-height: 28px;
    padding: 0 10px;
    border: 1px solid rgba(var(--league-accent-rgb), 0.34);
    border-radius: 999px;
    color: rgba(248, 250, 252, 0.92);
    background: rgba(var(--league-accent-rgb), 0.13);
    font-size: 0.57rem;
    font-weight: 880;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.admin-suggested-note blockquote {
    margin: 0;
    padding: 10px 12px;
    border-left: 3px solid rgba(var(--league-accent-rgb), 0.54);
    border-radius: 0 7px 7px 0;
    color: rgba(226, 232, 240, 0.88);
    background: rgba(2, 6, 23, 0.46);
    font-size: 0.7rem;
    line-height: 1.5;
}

.admin-gate-action-choices {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
}

.admin-gate-action-choices legend {
    grid-column: 1 / -1;
    margin-bottom: 1px;
    color: rgba(203, 213, 225, 0.92);
    font-size: 0.66rem;
    font-weight: 880;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.admin-gate-action-choices > button {
    position: relative;
    display: grid;
    align-content: start;
    gap: 7px;
    min-width: 0;
    min-height: 96px;
    padding: 11px;
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 8px;
    color: rgba(226, 232, 240, 0.86);
    background: rgba(2, 6, 23, 0.56);
    text-align: left;
}

.admin-gate-action-choices > button:hover,
.admin-gate-action-choices > button[aria-pressed="true"] {
    border-color: rgba(var(--league-accent-rgb), 0.52);
    background: rgba(var(--league-accent-rgb), 0.12);
}

.admin-gate-action-choices > button[aria-pressed="true"] {
    box-shadow: inset 0 0 0 1px rgba(248, 250, 252, 0.24);
}

.admin-gate-action-choices > button strong {
    color: rgba(248, 250, 252, 0.94);
    font-size: 0.66rem;
    font-weight: 900;
    letter-spacing: 0.055em;
    line-height: 1.2;
    text-transform: uppercase;
}

.admin-gate-action-choices > button small {
    color: rgba(148, 163, 184, 0.84);
    font-size: 0.6rem;
    line-height: 1.4;
}

.admin-gate-action-choices > button.admin-action-negative {
    border-color: rgba(248, 113, 113, 0.25);
}

.admin-override-reason > small {
    color: rgba(203, 213, 225, 0.72);
    font-size: 0.6rem;
    line-height: 1.35;
}

.admin-decision-confirmation {
    display: grid;
    gap: 9px;
    padding: 13px;
    border: 1px solid rgba(var(--league-accent-rgb), 0.34);
    border-radius: 8px;
    background: rgba(15, 23, 42, 0.72);
}

.admin-decision-confirmation[hidden],
.admin-override-reason[hidden] {
    display: none;
}

.admin-decision-confirmation > p {
    font-size: 0.68rem;
}

.admin-decision-confirmation dl {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
    margin: 0;
}

.admin-decision-confirmation dl > div {
    display: grid;
    gap: 4px;
    min-width: 0;
    padding: 8px 9px;
    border: 1px solid rgba(148, 163, 184, 0.11);
    border-radius: 7px;
}

.admin-decision-confirmation dd {
    max-height: 4.2em;
    margin: 0;
    overflow: auto;
    color: rgba(241, 245, 249, 0.9);
    font-size: 0.66rem;
    line-height: 1.4;
    overflow-wrap: anywhere;
}

.admin-confirmation-actions {
    display: flex;
    justify-content: flex-end;
    gap: 7px;
}

.admin-confirmation-actions [data-confirm-review-decision] {
    border-color: rgba(74, 222, 128, 0.36);
    background: rgba(21, 128, 61, 0.2);
}

.admin-suggested-note button:focus-visible,
.admin-confirmation-actions button:focus-visible,
.admin-gate-action-choices > button:focus-visible {
    outline: 3px solid rgba(248, 250, 252, 0.72);
    outline-offset: 2px;
}

@media (max-width: 880px) {
    .admin-review-identity,
    .admin-recommendation-confidence-grid,
    .admin-gate-action-choices {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 620px) {
    .admin-review-identity,
    .admin-recommendation-confidence-grid,
    .admin-recommendation-evidence-grid,
    .admin-gate-action-choices,
    .admin-decision-confirmation dl {
        grid-template-columns: minmax(0, 1fr);
    }

    .admin-action-recommendation > header,
    .admin-suggested-note > div {
        align-items: stretch;
        flex-direction: column;
    }

    .admin-suggested-note button {
        width: 100%;
    }
}

.admin-gate-actions button.admin-action-negative {
    border-color: rgba(248, 113, 113, 0.32);
    background: rgba(127, 29, 29, 0.22);
}

.admin-tech-review-top {
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 12px;
    min-width: 0;
}

.admin-tech-review-top > span {
    display: grid;
    gap: 4px;
    min-width: 0;
}

.admin-tech-review-top strong {
    color: rgba(248, 250, 252, 0.94);
    font-size: 0.86rem;
    font-weight: 880;
    letter-spacing: 0.05em;
    line-height: 1.1;
}

.admin-tech-review-top small {
    color: rgba(148, 163, 184, 0.76);
    font-size: 0.6rem;
    font-weight: 820;
    letter-spacing: 0.07em;
    line-height: 1.2;
    text-transform: uppercase;
}

.admin-tech-review-top em {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
    min-height: 24px;
    max-width: 220px;
    padding: 0 9px;
    border: 1px solid rgba(var(--league-accent-rgb), 0.22);
    border-radius: 999px;
    color: rgba(226, 232, 240, 0.88);
    background: rgba(var(--league-accent-rgb), 0.08);
    font-size: 0.58rem;
    font-style: normal;
    font-weight: 860;
    letter-spacing: 0.08em;
    line-height: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    text-transform: uppercase;
    white-space: nowrap;
}

.admin-tech-review-summary {
    max-width: 920px;
}

.admin-tech-history-list {
    display: grid;
    gap: 8px;
    min-width: 0;
}

.admin-tech-history-head {
    display: grid;
    grid-template-columns: minmax(360px, 1fr) 86px minmax(158px, 0.34fr) 108px 18px;
    gap: 12px;
    padding: 0 14px 2px;
    color: rgba(148, 163, 184, 0.64);
    font-size: 0.56rem;
    font-weight: 860;
    letter-spacing: 0.08em;
    line-height: 1.2;
    text-transform: uppercase;
}

.admin-tech-history-row {
    min-width: 0;
    border: 1px solid rgba(148, 163, 184, 0.13);
    border-radius: 8px;
    background: rgba(2, 6, 23, 0.48);
    overflow: hidden;
}

.admin-tech-history-row.admin-tone-attention {
    border-color: rgba(251, 191, 36, 0.28);
}

.admin-tech-history-row.admin-tone-negative {
    border-color: rgba(248, 113, 113, 0.28);
}

.admin-tech-history-row.admin-tone-positive {
    border-color: rgba(74, 222, 128, 0.22);
}

.admin-tech-history-summary {
    display: grid;
    grid-template-columns: minmax(360px, 1fr) 86px minmax(158px, 0.34fr) 108px 18px;
    gap: 12px;
    align-items: center;
    min-width: 0;
    padding: 12px 14px;
    cursor: pointer;
    list-style: none;
}

.admin-tech-history-summary::-webkit-details-marker {
    display: none;
}

.admin-tech-history-main,
.admin-tech-history-trust,
.admin-tech-history-outcome,
.admin-tech-history-facts {
    display: grid;
    gap: 5px;
    min-width: 0;
}

.admin-tech-history-badge {
    width: max-content;
    max-width: 100%;
    min-height: 22px;
    padding: 0 8px;
    border: 1px solid rgba(var(--league-accent-rgb), 0.2);
    border-radius: 999px;
    color: rgba(226, 232, 240, 0.88);
    background: rgba(var(--league-accent-rgb), 0.08);
    font-size: 0.58rem;
    font-weight: 860;
    letter-spacing: 0.08em;
    line-height: 22px;
    overflow: hidden;
    text-overflow: ellipsis;
    text-transform: uppercase;
    white-space: nowrap;
}

.admin-tech-history-main small,
.admin-tech-history-trust small,
.admin-tech-history-outcome small,
.admin-tech-history-stages small,
.admin-tech-rollup-grid dt {
    color: rgba(148, 163, 184, 0.74);
    font-size: 0.58rem;
    font-weight: 820;
    letter-spacing: 0.07em;
    line-height: 1.2;
    text-transform: uppercase;
}

.admin-tech-history-main strong {
    color: rgba(248, 250, 252, 0.94);
    font-size: 0.72rem;
    font-weight: 860;
    letter-spacing: 0.03em;
    line-height: 1.2;
    text-transform: uppercase;
}

.admin-tech-history-trust strong {
    color: rgba(226, 232, 240, 0.88);
    font-size: 0.68rem;
    font-weight: 860;
    letter-spacing: 0.03em;
    line-height: 1.2;
    overflow: hidden;
    text-overflow: ellipsis;
    text-transform: uppercase;
    white-space: nowrap;
}

.admin-tech-history-outcome strong {
    min-width: 0;
    color: rgba(226, 232, 240, 0.88);
    font-size: 0.72rem;
    font-weight: 860;
    letter-spacing: 0.02em;
    line-height: 1.2;
    overflow: hidden;
    text-overflow: ellipsis;
    text-transform: uppercase;
    white-space: nowrap;
}

.admin-tech-history-outcome small {
    display: -webkit-box;
    max-height: 2.4em;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.admin-tech-history-main span {
    display: -webkit-box;
    min-width: 0;
    color: rgba(226, 232, 240, 0.84);
    font-size: 0.78rem;
    font-weight: 650;
    letter-spacing: 0;
    line-height: 1.35;
    max-height: 2.7em;
    overflow: hidden;
    overflow-wrap: anywhere;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.admin-tech-history-main small {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.admin-tech-history-stages {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    min-width: 0;
}

.admin-tech-history-stage {
    display: grid;
    gap: 3px;
    justify-items: start;
    min-width: 0;
}

.admin-tech-history-stage strong {
    display: inline-grid;
    place-items: center;
    width: 24px;
    height: 24px;
    border: 1px solid rgba(148, 163, 184, 0.16);
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.42);
    color: rgba(226, 232, 240, 0.86);
    font-size: 0.68rem;
    font-weight: 900;
    letter-spacing: 0;
    line-height: 1;
}

.admin-tech-history-stage.is-complete strong {
    border-color: rgba(74, 222, 128, 0.28);
    color: rgba(134, 239, 172, 0.95);
    background: rgba(34, 197, 94, 0.1);
}

.admin-tech-history-stage.is-empty strong {
    color: rgba(100, 116, 139, 0.76);
}

.admin-tech-history-facts {
    justify-items: start;
}

.admin-tech-history-facts span {
    display: inline-flex;
    align-items: center;
    width: max-content;
    min-height: 21px;
    max-width: 100%;
    padding: 0 7px;
    border: 1px solid rgba(148, 163, 184, 0.12);
    border-radius: 999px;
    color: rgba(203, 213, 225, 0.78);
    background: rgba(15, 23, 42, 0.48);
    font-size: 0.56rem;
    font-weight: 820;
    letter-spacing: 0.07em;
    line-height: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    text-transform: uppercase;
    white-space: nowrap;
}

.admin-tech-history-chevron {
    width: 9px;
    height: 9px;
    border-right: 2px solid rgba(148, 163, 184, 0.72);
    border-bottom: 2px solid rgba(148, 163, 184, 0.72);
    transform: rotate(45deg);
    transition: transform 160ms ease;
}

.admin-tech-history-row[open] .admin-tech-history-chevron {
    transform: rotate(225deg);
}

.admin-tech-history-detail {
    display: grid;
    gap: 12px;
    min-width: 0;
    padding: 0 14px 14px;
    border-top: 1px solid rgba(148, 163, 184, 0.1);
}

.admin-tech-rollup-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(220px, 0.85fr) minmax(220px, 0.85fr);
    gap: 12px;
    min-width: 0;
    padding-top: 12px;
}

.admin-tech-rollup-grid section {
    display: grid;
    align-content: start;
    gap: 8px;
    min-width: 0;
}

.admin-tech-rollup-grid section > strong {
    color: rgba(248, 250, 252, 0.9);
    font-size: 0.62rem;
    font-weight: 860;
    letter-spacing: 0.08em;
    line-height: 1.2;
    text-transform: uppercase;
}

.admin-tech-rollup-grid p,
.admin-tech-rollup-grid small,
.admin-tech-rollup-grid dd,
.admin-tech-rollup-grid a {
    margin: 0;
    color: rgba(226, 232, 240, 0.8);
    font-size: 0.7rem;
    font-weight: 650;
    letter-spacing: 0;
    line-height: 1.4;
    overflow-wrap: anywhere;
}

.admin-tech-rollup-grid small {
    color: rgba(148, 163, 184, 0.82);
}

.admin-tech-rollup-grid dl {
    display: grid;
    gap: 6px;
    margin: 0;
}

.admin-tech-rollup-grid dl > div {
    display: grid;
    grid-template-columns: 94px minmax(0, 1fr);
    gap: 8px;
}

.admin-tech-rollup-grid a {
    width: max-content;
    max-width: 100%;
    color: rgba(226, 232, 240, 0.92);
    text-decoration: none;
}

.admin-tech-evidence {
    padding-top: 10px;
}

.admin-table-row {
    display: grid;
    grid-template-columns: minmax(190px, 1.4fr) repeat(5, minmax(88px, 0.7fr));
    align-items: center;
    gap: 12px;
    min-height: 54px;
    padding: 10px 14px;
    border: 1px solid rgba(148, 163, 184, 0.12);
    border-radius: 8px;
    background: rgba(15, 23, 42, 0.46);
    color: rgba(226, 232, 240, 0.86);
    font-size: 0.82rem;
    font-weight: 760;
    letter-spacing: 0;
}

.admin-table-head {
    min-height: 32px;
    border-color: transparent;
    background: transparent;
    color: rgba(148, 163, 184, 0.72);
}

.admin-user-cell {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.admin-user-cell strong {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.admin-user-avatar {
    display: grid;
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    border-radius: 50%;
    place-items: center;
    background:
        radial-gradient(circle at 34% 24%, rgba(255, 255, 255, 0.2), transparent 30%),
        linear-gradient(135deg, rgba(244, 114, 182, 0.3), rgba(var(--league-accent-rgb), 0.14));
    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.08),
        0 0 0 1px rgba(148, 163, 184, 0.14);
}

.admin-user-avatar .account-avatar-icon {
    width: 30px;
    height: 30px;
}

.admin-user-avatar[data-profile-avatar="tricorn-hat"] {
    background:
        url("/images/avatars/benedict-tricorn.png") center / 124% 124% no-repeat,
        radial-gradient(circle at 34% 24%, rgba(255, 255, 255, 0.18), transparent 30%),
        linear-gradient(135deg, rgba(245, 158, 11, 0.28), rgba(20, 83, 45, 0.22));
}

.admin-user-avatar[data-profile-avatar="tricorn-hat"] .account-avatar-icon {
    display: none;
}

.admin-slice-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 24px;
}

.admin-slice-row {
    display: grid;
    grid-template-columns: minmax(120px, 1.2fr) repeat(5, minmax(72px, 0.7fr));
    align-items: center;
    gap: 10px;
    min-height: 62px;
    padding: 11px 13px;
    border: 1px solid rgba(148, 163, 184, 0.12);
    border-radius: 8px;
    background: rgba(15, 23, 42, 0.42);
}

.admin-slice-row > span {
    display: grid;
    gap: 4px;
    min-width: 0;
    color: rgba(226, 232, 240, 0.86);
}

.admin-slice-name strong {
    color: #f8fafc;
    font-size: 0.86rem;
    font-weight: 850;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.admin-slice-name small,
.admin-slice-row small {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.admin-work-group {
    border-radius: 8px;
}

.admin-work-row {
    display: grid;
    grid-template-columns: minmax(160px, 1fr) 80px 90px 18px;
    align-items: center;
    gap: 12px;
    min-height: 56px;
    padding: 11px 14px;
    border: 1px solid rgba(148, 163, 184, 0.12);
    border-radius: 8px;
    background: rgba(15, 23, 42, 0.42);
    cursor: pointer;
    list-style: none;
}

.admin-work-row::-webkit-details-marker {
    display: none;
}

.admin-work-row > span {
    display: grid;
    gap: 4px;
    min-width: 0;
}

.admin-work-row strong {
    color: rgba(248, 250, 252, 0.92);
    font-size: 0.82rem;
    font-weight: 850;
    letter-spacing: 0.07em;
    line-height: 1;
    text-transform: uppercase;
}

.admin-work-row > span:nth-child(2) {
    justify-self: end;
    color: #f8fafc;
    font-size: 1.1rem;
    font-weight: 800;
}

.admin-work-row > small {
    justify-self: end;
}

.admin-work-chevron {
    justify-self: end;
    width: 8px;
    height: 8px;
    border-right: 2px solid rgba(226, 232, 240, 0.54);
    border-bottom: 2px solid rgba(226, 232, 240, 0.54);
    transform: rotate(45deg);
    transition: transform 0.16s ease, border-color 0.16s ease;
}

.admin-work-group[open] .admin-work-chevron {
    transform: rotate(225deg);
    border-color: rgba(var(--league-accent-rgb), 0.78);
}

.admin-work-group[open] .admin-work-row {
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 0;
}

.admin-work-detail-list {
    display: grid;
    gap: 10px;
    padding: 10px;
    border: 1px solid rgba(148, 163, 184, 0.12);
    border-top: 0;
    border-bottom-right-radius: 8px;
    border-bottom-left-radius: 8px;
    background: rgba(2, 6, 23, 0.44);
}

.admin-work-detail {
    display: grid;
    grid-template-columns: minmax(180px, 0.9fr) minmax(260px, 1.4fr);
    gap: 12px;
    padding: 12px;
    border: 1px solid rgba(148, 163, 184, 0.1);
    border-radius: 7px;
    background: rgba(15, 23, 42, 0.42);
}

.admin-work-detail-main,
.admin-work-detail-meta {
    display: grid;
    gap: 5px;
    min-width: 0;
}

.admin-work-detail-main strong,
.admin-work-detail-meta strong {
    color: rgba(248, 250, 252, 0.9);
    font-weight: 850;
}

.admin-work-detail-main span,
.admin-work-detail-main small,
.admin-work-detail-meta span {
    min-width: 0;
    color: rgba(148, 163, 184, 0.72);
    font-size: 0.67rem;
    font-weight: 760;
    letter-spacing: 0.06em;
    line-height: 1.25;
    overflow-wrap: anywhere;
    text-transform: uppercase;
}

.admin-work-detail-meta {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.admin-work-error {
    grid-column: 1 / -1;
    margin: 0;
    padding: 10px;
    border: 1px solid rgba(248, 113, 113, 0.16);
    border-radius: 6px;
    color: rgba(254, 202, 202, 0.86);
    background: rgba(127, 29, 29, 0.16);
    font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', monospace;
    font-size: 0.68rem;
    line-height: 1.4;
    overflow-x: auto;
    white-space: pre-wrap;
}

.admin-work-incident {
    grid-column: 1 / -1;
    display: grid;
    gap: 12px;
    padding: 14px;
    border: 1px solid rgba(251, 191, 36, 0.28);
    border-radius: 8px;
    background: rgba(120, 53, 15, 0.12);
}

.admin-stale-tweak-recovery {
    min-width: 0;
}

.admin-stale-tweak-recovery > summary {
    cursor: pointer;
    color: rgba(254, 243, 199, 0.96);
    font-size: 0.8rem;
    font-weight: 820;
    line-height: 1.35;
}

.admin-stale-tweak-recovery[open] > summary {
    margin-bottom: 9px;
}

.admin-stale-tweak-recovery > p {
    max-width: 1120px;
    color: rgba(203, 213, 225, 0.82);
    font-size: 0.68rem;
    line-height: 1.5;
}

.admin-stale-tweak-recovery-form {
    display: grid;
    gap: 11px;
    margin-top: 11px;
}

.admin-stale-tweak-recovery-fields {
    display: grid;
    grid-template-columns: minmax(220px, 0.85fr) minmax(320px, 1.5fr);
    gap: 10px;
    align-items: start;
}

.admin-stale-tweak-recovery-fields label {
    display: grid;
    gap: 6px;
    min-width: 0;
}

.admin-stale-tweak-recovery-fields label > span {
    color: rgba(203, 213, 225, 0.82);
    font-size: 0.58rem;
    font-weight: 850;
    letter-spacing: 0.08em;
    line-height: 1.2;
    text-transform: uppercase;
}

.admin-stale-tweak-recovery-fields input,
.admin-stale-tweak-recovery-fields textarea {
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    padding: 9px 10px;
    border: 1px solid rgba(148, 163, 184, 0.22);
    border-radius: 7px;
    color: rgba(241, 245, 249, 0.94);
    background: rgba(2, 6, 23, 0.72);
    font: inherit;
    font-size: 0.7rem;
    line-height: 1.4;
}

.admin-stale-tweak-recovery-fields input {
    min-height: 42px;
}

.admin-stale-tweak-recovery-fields textarea {
    min-height: 120px;
    resize: vertical;
}

.admin-stale-tweak-recovery-fields input:focus,
.admin-stale-tweak-recovery-fields textarea:focus {
    border-color: rgba(251, 191, 36, 0.55);
    outline: 2px solid rgba(251, 191, 36, 0.12);
}

.admin-stale-tweak-recovery-confirmation {
    display: flex;
    gap: 9px;
    align-items: flex-start;
    padding: 10px 11px;
    border: 1px solid rgba(251, 191, 36, 0.2);
    border-radius: 7px;
    color: rgba(226, 232, 240, 0.9);
    background: rgba(69, 45, 4, 0.2);
    font-size: 0.68rem;
    line-height: 1.45;
}

.admin-stale-tweak-recovery-confirmation input {
    width: 16px;
    height: 16px;
    margin: 1px 0 0;
    flex: 0 0 auto;
    accent-color: #fbbf24;
}

.admin-stale-tweak-recovery-actions {
    display: flex;
    justify-content: flex-end;
}

.admin-stale-tweak-recovery-actions button {
    min-height: 38px;
    padding: 8px 13px;
    border: 1px solid rgba(251, 191, 36, 0.48);
    border-radius: 7px;
    color: #0f172a;
    background: #fbbf24;
    font-size: 0.66rem;
    font-weight: 850;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    cursor: pointer;
}

.admin-stale-tweak-recovery-actions button:hover {
    border-color: rgba(254, 243, 199, 0.8);
    background: #fcd34d;
}

.admin-stale-tweak-recovery-actions button:focus-visible {
    outline: 3px solid rgba(248, 250, 252, 0.72);
    outline-offset: 2px;
}

.admin-work-incident-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.admin-work-incident-title strong {
    color: rgba(254, 243, 199, 0.96);
    font-size: 0.8rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.admin-work-incident-title span {
    padding: 4px 8px;
    border: 1px solid rgba(254, 243, 199, 0.3);
    border-radius: 999px;
    color: rgba(254, 243, 199, 0.9);
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.admin-work-incident dl {
    display: grid;
    gap: 8px;
    margin: 0;
}

.admin-work-incident dl > div {
    display: grid;
    grid-template-columns: 110px minmax(0, 1fr);
    gap: 12px;
}

.admin-work-incident dt {
    color: rgba(148, 163, 184, 0.76);
    font-size: 0.66rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.admin-work-incident dd {
    margin: 0;
    color: rgba(226, 232, 240, 0.9);
    font-size: 0.76rem;
    line-height: 1.45;
}

.admin-work-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.admin-work-actions form {
    display: grid;
    gap: 7px;
}

.admin-work-actions label {
    color: rgba(203, 213, 225, 0.78);
    font-size: 0.66rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.admin-work-actions input {
    width: 100%;
    min-height: 38px;
    padding: 8px 10px;
    border: 1px solid rgba(148, 163, 184, 0.24);
    border-radius: 6px;
    color: #f8fafc;
    background: rgba(2, 6, 23, 0.7);
}

.admin-work-actions button {
    min-height: 38px;
    border: 1px solid rgba(251, 191, 36, 0.48);
    border-radius: 6px;
    color: #0f172a;
    background: #fbbf24;
    font-weight: 850;
    cursor: pointer;
}

.admin-work-actions .admin-secondary-button {
    color: rgba(248, 250, 252, 0.92);
    background: rgba(30, 41, 59, 0.8);
}

.admin-work-attempts {
    grid-column: 1 / -1;
    border: 1px solid rgba(148, 163, 184, 0.14);
    border-radius: 7px;
    background: rgba(2, 6, 23, 0.46);
}

.admin-work-attempts > summary {
    padding: 10px 12px;
    color: rgba(203, 213, 225, 0.82);
    cursor: pointer;
    font-size: 0.68rem;
    font-weight: 820;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.admin-work-attempts ol {
    display: grid;
    gap: 8px;
    margin: 0;
    padding: 0 12px 12px 34px;
}

.admin-work-attempts li {
    padding-left: 4px;
    color: rgba(148, 163, 184, 0.78);
    font-size: 0.68rem;
    line-height: 1.45;
}

.admin-work-attempts li::marker {
    color: rgba(var(--league-accent-rgb), 0.72);
    font-weight: 800;
}

.admin-work-attempts li strong,
.admin-work-attempts li span {
    display: block;
}

.admin-work-attempts li strong {
    color: rgba(241, 245, 249, 0.88);
}

.admin-work-deadlettered .admin-work-row,
.admin-work-failed .admin-work-row {
    border-color: rgba(248, 113, 113, 0.28);
}

.admin-work-retryscheduled .admin-work-row {
    border-color: rgba(251, 191, 36, 0.28);
}

.admin-work-acknowledged .admin-work-row {
    border-color: rgba(74, 222, 128, 0.2);
}

.admin-work-claimed .admin-work-row {
    border-color: rgba(96, 165, 250, 0.24);
}

.admin-empty-row {
    padding: 18px 14px;
    border: 1px dashed rgba(148, 163, 184, 0.16);
    border-radius: 8px;
    color: rgba(148, 163, 184, 0.7);
    font-size: 0.74rem;
    font-weight: 760;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

@media (max-width: 1100px) {
    .admin-metric-strip,
    .admin-slice-grid,
    .admin-open-picks-grid,
    .admin-gate-list,
    .admin-human-lanes {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

    .admin-tech-history-head {
        display: none;
    }

    .admin-tech-history-summary {
        grid-template-columns: minmax(0, 1fr) 18px;
    }

    .admin-tech-history-main {
        grid-column: 1;
        grid-row: 1;
    }

    .admin-tech-history-outcome,
    .admin-tech-history-trust,
    .admin-tech-history-facts {
        grid-column: 1;
    }

    .admin-tech-history-trust,
    .admin-tech-history-facts {
        display: flex;
        align-items: center;
        flex-wrap: wrap;
        gap: 8px;
    }

    .admin-tech-history-chevron {
        grid-column: 2;
        grid-row: 1 / span 5;
        align-self: center;
    }

    .admin-tech-rollup-grid {
        grid-template-columns: 1fr;
    }

    .admin-table-row {
        grid-template-columns: minmax(170px, 1.2fr) repeat(5, minmax(72px, 0.7fr));
    }
}

@media (max-width: 760px) {
    .admin-container {
        width: min(100% - 28px, 720px);
    }

    .admin-top-header {
        grid-template-columns: 1fr;
        grid-template-areas:
            "brand"
            "title"
            "nav";
    }

    .admin-title-block {
        justify-self: start;
        text-align: left;
    }

    .admin-command-nav {
        justify-self: start;
        margin-top: 0;
    }

    .admin-metric-strip,
    .admin-slice-grid,
    .admin-open-picks-grid,
    .admin-gate-list,
    .admin-human-lanes {
        grid-template-columns: 1fr;
    }

    .admin-work-detail,
    .admin-work-actions {
        grid-template-columns: 1fr;
    }

    .admin-stale-tweak-recovery-fields {
        grid-template-columns: 1fr;
    }

    .admin-stale-tweak-recovery-actions button {
        width: 100%;
    }

    .admin-work-incident dl > div {
        grid-template-columns: 1fr;
        gap: 4px;
    }

    .admin-human-command-head {
        align-items: stretch;
    }

    .admin-human-total {
        min-width: 100px;
    }

    .admin-human-brief {
        grid-template-columns: 1fr;
    }

    .admin-human-required {
        padding-top: 9px;
        padding-left: 0;
        border-top: 1px solid rgba(251, 191, 36, 0.18);
        border-left: 0;
    }

    .admin-tech-decision-grid {
        grid-template-columns: 1fr;
    }

    .admin-tech-history-summary {
        grid-template-columns: minmax(0, 1fr) 18px;
        gap: 10px;
    }

    .admin-tech-history-main,
    .admin-tech-history-trust,
    .admin-tech-history-outcome,
    .admin-tech-history-facts {
        grid-column: 1;
        grid-row: auto;
    }

    .admin-tech-history-chevron {
        grid-column: 2;
        grid-row: 1;
        align-self: center;
    }

    .admin-tech-rollup-grid dl > div {
        grid-template-columns: 82px minmax(0, 1fr);
    }

    .admin-data-table,
    .admin-slice-list {
        overflow-x: auto;
        padding-bottom: 4px;
    }

    .admin-table-row {
        min-width: 680px;
    }

    .admin-slice-row {
        min-width: 620px;
    }
}

.empty-state {
    text-align: center;
    color: #777777;
    padding: 60px 20px;
    font-size: 1rem;
}

/* Weather emoji styling */
.weather-emoji {
    font-size: 1.5em;
    margin-left: 8px;
    vertical-align: middle;
    display: inline-block;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.3));
}
