:root {
    --krewe-green: #8dff00;
    --krewe-green-dark: #5bc400;
    --krewe-green-soft: rgba(141, 255, 0, .16);
    --krewe-green-glow: rgba(141, 255, 0, .35);

    --bg-black: #050607;
    --bg-panel: rgba(12, 14, 15, .92);
    --bg-panel-soft: rgba(255, 255, 255, .045);

    --text-main: #f5f5f5;
    --text-muted: #9ca3af;
    --text-dim: #6b7280;

    --border-soft: rgba(255, 255, 255, .14);

    --shadow-heavy:
        0 20px 60px rgba(0, 0, 0, .55);
}

/* ------------------------------------------------ */
/* BASE */
/* ------------------------------------------------ */

body {
    font-family: "Rajdhani", Arial, sans-serif;
    background: #050607;
}

h1,
h2,
h3,
.game-button,
.panel-button {
    font-family: "Teko", Arial, sans-serif;
}

.game-shell {
    position: relative;
    min-height: 100vh;
    padding: 28px 32px;
    color: var(--text-main);

    background:
        radial-gradient(
            circle at top,
            rgba(141, 255, 0, .10),
            transparent 34%
        ),

        linear-gradient(
            rgba(5, 6, 7, .94),
            rgba(5, 6, 7, .98)
        ),

        url("/static/career/images/mx-bg.jpg");

    background-size: cover;
    background-attachment: fixed;
}

.game-shell::before {
    content: "";

    position: fixed;
    inset: 0;

    pointer-events: none;

    opacity: .05;

    background-image:
        url("/static/career/images/noise.png");
}

/* ------------------------------------------------ */
/* HEADER */
/* ------------------------------------------------ */

.game-header {
    display: grid;

    grid-template-columns:
        220px
        1fr
        auto;

    align-items: center;

    gap: 28px;

    padding-bottom: 18px;
    margin-bottom: 18px;

    border-bottom:
        2px solid rgba(141, 255, 0, .85);

    box-shadow:
        0 1px 14px rgba(141, 255, 0, .16);
}

.brand-block img {
    width: 210px;
    max-height: 90px;
    object-fit: contain;
}

.career-title h1 {
    margin: 0;
    color: var(--krewe-green);
    text-transform: uppercase;
    font-size: 1.9rem;
    font-style: italic;
}

.career-title p {
    margin: 4px 0 0;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: .08em;
    font-weight: 700;
}

/* ------------------------------------------------ */
/* STAT BAR */
/* ------------------------------------------------ */

.stat-strip {
    display: flex;
    border: 1px solid var(--border-soft);
    border-radius: 14px;
    overflow: hidden;

    background:
        rgba(0, 0, 0, .42);

    box-shadow:
        inset 0 0 24px rgba(255, 255, 255, .035);
}

.stat-pill {
    padding: 12px 28px;

    border-right:
        1px solid rgba(255, 255, 255, .13);

    text-transform: uppercase;
}

.stat-pill:last-child {
    border-right: 0;
}

.stat-pill strong {
    display: block;
    font-size: 1.2rem;
    color: var(--text-main);
}

.stat-pill span {
    display: block;
    color: var(--text-muted);
    font-size: .82rem;
    margin-top: 2px;
}

/* ------------------------------------------------ */
/* GENERAL CARD */
/* ------------------------------------------------ */

.game-card {
    position: relative;
    overflow: hidden;

    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, .075),
            rgba(255, 255, 255, .025)
        );

    border:
        1px solid var(--border-soft);

    border-radius: 14px;

    box-shadow:
        var(--shadow-heavy);

    backdrop-filter: blur(12px);
}

.game-card::after {
    content: "";

    position: absolute;
    inset: 0;

    pointer-events: none;

    border-radius: inherit;

    box-shadow:
        inset 0 0 0 1px rgba(141, 255, 0, .045),
        0 0 32px rgba(141, 255, 0, .035);
}

/* ------------------------------------------------ */
/* HERO GRID */
/* ------------------------------------------------ */

.hero-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 18px;
    margin-bottom: 14px;
}

/* ------------------------------------------------ */
/* RIDER HERO */
/* ------------------------------------------------ */

.rider-hero {
    min-height: 320px;

    background:
        linear-gradient(
            90deg,
            rgba(0, 0, 0, .82),
            rgba(0, 0, 0, .30)
        ),

        url("/static/career/images/rider-hero.jpg");

    background-size: cover;
    background-position: center;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 30px 34px;
    max-width: 560px;
}

.green-label {
    color: var(--krewe-green);
    text-transform: uppercase;
    font-weight: 900;
    font-style: italic;
    letter-spacing: .04em;
}

.hero-content h2 {
    margin: 10px 0 4px;

    font-size: 4.2rem;

    line-height: .9;

    text-transform: uppercase;

    letter-spacing: -2px;

    color: var(--text-main);

    text-shadow:
        0 4px 14px rgba(0, 0, 0, .9);
}

.hero-content h3 {
    margin: 0;
    color: #d4d4d8;
    text-transform: uppercase;
}

.hero-divider {
    width: 360px;
    height: 1px;

    background:
        rgba(255, 255, 255, .22);

    margin: 26px 0 18px;
}

/* ------------------------------------------------ */
/* PROGRESS */
/* ------------------------------------------------ */

.progress-title {
    margin: 0 0 6px;
    text-transform: uppercase;
    font-weight: 900;
    font-style: italic;
}

.rep-line strong {
    color: var(--krewe-green);
    font-size: 2.2rem;
}

.rep-line span {
    color: var(--text-muted);
    font-size: 1.4rem;
    font-weight: 900;
}

.progress-row {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-top: 8px;
}

.progress-track {
    width: 360px;
    height: 16px;

    background:
        rgba(255, 255, 255, .14);

    border-radius: 999px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;

    background:
        linear-gradient(
            90deg,
            var(--krewe-green-dark),
            var(--krewe-green)
        );

    border-radius: 999px;

    box-shadow:
        0 0 12px var(--krewe-green-glow);
}

.progress-row > strong {
    font-size: 1.6rem;
}

/* ------------------------------------------------ */
/* NEXT EVENT */
/* ------------------------------------------------ */

.next-event {
    position: relative;
    min-height: 320px;
    padding: 30px;

    background:
        linear-gradient(
            rgba(0, 0, 0, .76),
            rgba(0, 0, 0, .92)
        ),

        url("/static/career/images/event-bg.jpg");

    background-size: cover;
    background-position: center;
}

.next-event::before {
    content: "";

    position: absolute;
    inset: 0;

    background:
        radial-gradient(
            circle at top right,
            rgba(141,255,0,.16),
            transparent 42%
        );

    pointer-events: none;
}

.next-event > * {
    position: relative;
    z-index: 2;
}

.next-event h2 {
    margin: 10px 0 4px;

    font-size: 2.9rem;

    line-height: .92;

    text-transform: uppercase;

    color: var(--text-main);

    text-shadow:
        0 3px 12px rgba(0,0,0,.9);
}

.next-event h3 {
    margin: 0 0 26px;

    color: #d1d5db;

    text-transform: uppercase;

    font-weight: 700;
}

.event-details {
    margin-bottom: 28px;
}

.event-details p {
    display: flex;
    justify-content: space-between;
    gap: 24px;

    margin: 11px 0;
    padding-bottom: 10px;

    border-bottom:
        1px solid rgba(255,255,255,.08);

    text-transform: uppercase;
    font-weight: 900;
}

.event-details span {
    width: 110px;
    color: var(--text-muted);
}

/* ------------------------------------------------ */
/* BUTTONS */
/* ------------------------------------------------ */

.game-button,
.panel-button {
    display: block;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    font-weight: 900;
    letter-spacing: .04em;
    border-radius: 8px;
}

.game-button {
    background:
        linear-gradient(
            135deg,
            var(--krewe-green),
            var(--krewe-green-dark)
        );

    color: #050607;

    padding: 15px 20px;

    border: none;

    cursor: pointer;

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .35),
        0 0 18px rgba(141, 255, 0, .20);

    transition:
        transform .15s ease,
        box-shadow .15s ease;
}

.game-button:hover {
    transform: translateY(-2px);

    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.35),
        0 0 28px rgba(141,255,0,.32);
}

.disabled-button {
    opacity: .65;
    cursor: not-allowed;
}

/* ------------------------------------------------ */
/* FEATURE GRID */
/* ------------------------------------------------ */

.feature-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    margin-bottom: 14px;
}

.feature-card {
    min-height: 210px;
    padding: 24px;
    color: white;
    text-decoration: none;

    background-size: cover;
    background-position: center;

    transition:
        transform .15s ease,
        border-color .15s ease,
        box-shadow .15s ease;
}

.feature-card::before {
    content: "";

    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(0, 0, 0, .88),
            rgba(0, 0, 0, .42)
        ),

        radial-gradient(
            circle at top right,
            rgba(141, 255, 0, .12),
            transparent 42%
        );
}

.feature-card > * {
    position: relative;
    z-index: 2;
}

.feature-card:hover {
    transform: translateY(-4px);

    border-color:
        rgba(141, 255, 0, .95);

    box-shadow:
        0 0 18px rgba(141, 255, 0, .16),
        0 12px 35px rgba(0, 0, 0, .48);
}

.tile-icon {
    display: block;
    color: var(--krewe-green);
    font-size: 2.5rem;
    margin-bottom: 12px;
}

.feature-card h2 {
    margin: 0;
    font-size: 2.5rem;
    line-height: .9;
    text-transform: uppercase;
}

.feature-card h3 {
    margin: 6px 0 18px;
    color: var(--text-muted);
    text-transform: uppercase;
}

.feature-card p {
    max-width: 260px;
    color: #d4d4d8;
}

.feature-card b {
    position: absolute;
    right: 24px;
    bottom: 18px;
    color: var(--krewe-green);
    font-size: 2.5rem;
}

/* ------------------------------------------------ */
/* FEATURE BACKGROUNDS */
/* ------------------------------------------------ */

.garage-card {
    background-image:
        url("/static/career/images/tile-garage.jpg");
}

.sponsors-card {
    background-image:
        url("/static/career/images/tile-sponsors.jpg");
}

.calendar-card {
    background-image:
        url("/static/career/images/tile-calendar.jpg");
}

.shop-card {
    background-image:
        url("/static/career/images/tile-shop.jpg");
}

/* ------------------------------------------------ */
/* LOWER GRID */
/* ------------------------------------------------ */

.lower-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 14px;
}

.info-panel {
    padding: 18px;
}

.info-panel h2 {
    margin: 0 0 14px;
    font-size: 1.25rem;
    text-transform: uppercase;
    font-style: italic;
}

.objective-row,
.result-row,
.stat-list p {
    display: grid;

    grid-template-columns:
        1fr
        1.4fr
        auto;

    gap: 12px;

    padding: 10px 0;

    border-top:
        1px solid rgba(255, 255, 255, .10);

    align-items: center;
}

.objective-row span,
.result-row span,
.stat-list span {
    color: var(--text-muted);
}

/* ------------------------------------------------ */
/* COLORS */
/* ------------------------------------------------ */

.green {
    color: var(--krewe-green);
}

.yellow {
    color: #f5c542;
}

.red {
    color: #ff4d4d;
}

/* ------------------------------------------------ */
/* PANEL BUTTON */
/* ------------------------------------------------ */

.panel-button {
    margin-top: 12px;

    padding: 12px;

    color: var(--text-main);

    border:
        1px solid rgba(255, 255, 255, .16);

    background:
        rgba(0, 0, 0, .25);

    transition:
        background .15s ease,
        color .15s ease;
}

.panel-button:hover {
    color: #050607;

    background:
        linear-gradient(
            135deg,
            var(--krewe-green),
            var(--krewe-green-dark)
        );
}

/* ------------------------------------------------ */
/* RESPONSIVE */
/* ------------------------------------------------ */

@media (max-width: 1200px) {

    .hero-grid,
    .lower-grid {
        grid-template-columns: 1fr;
    }

    .feature-grid {
        grid-template-columns: 1fr 1fr;
    }

    .game-header {
        grid-template-columns: 1fr;
    }

    .stat-strip {
        flex-wrap: wrap;
    }
}

@media (max-width: 700px) {

    .feature-grid {
        grid-template-columns: 1fr;
    }

    .progress-track {
        width: 100%;
    }

    .hero-content h2 {
        font-size: 3rem;
    }

    .next-event h2 {
        font-size: 2.2rem;
    }
}

/* ------------------------------------------------ */
/* SHARED PAGE LAYOUT */
/* ------------------------------------------------ */

.game-page-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 24px;
    margin-bottom: 18px;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(141,255,0,.35);
}

.game-page-header h1 {
    margin: 0;
    color: var(--krewe-green);
    font-size: 3rem;
    line-height: .9;
    text-transform: uppercase;
    font-style: italic;
}

.game-page-header p {
    margin: 6px 0 0;
    color: var(--text-muted);
    text-transform: uppercase;
    font-weight: 700;
}

.game-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.game-content-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.game-content-grid.two {
    grid-template-columns: repeat(2, 1fr);
}

.game-content-grid.four {
    grid-template-columns: repeat(4, 1fr);
}

.game-list {
    display: grid;
    gap: 12px;
}

.game-list-row {
    display: grid;
    grid-template-columns: 1fr auto auto;
    gap: 12px;
    align-items: center;
    padding: 14px;
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 10px;
    background: rgba(0,0,0,.24);
}

.game-list-row strong {
    color: var(--text-main);
    text-transform: uppercase;
}

.game-list-row span {
    color: var(--text-muted);
}

.game-meta-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.game-meta {
    padding: 12px;
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 10px;
    background: rgba(0,0,0,.25);
}

.game-meta span {
    display: block;
    color: var(--text-muted);
    text-transform: uppercase;
    font-size: .78rem;
    font-weight: 800;
}

.game-meta strong {
    display: block;
    margin-top: 4px;
    color: var(--text-main);
    font-size: 1.2rem;
}

.game-thumb {
    min-height: 170px;
    margin: -18px -18px 18px;
    background-size: cover;
    background-position: center;
    border-bottom: 1px solid rgba(255,255,255,.12);
}

.game-card-title {
    margin: 0 0 6px;
    color: var(--text-main);
    font-size: 2rem;
    line-height: .95;
    text-transform: uppercase;
}

.game-card-subtitle {
    margin: 0 0 16px;
    color: var(--text-muted);
    text-transform: uppercase;
    font-weight: 800;
}

.game-tag {
    display: inline-flex;
    align-items: center;
    padding: 5px 9px;
    border-radius: 999px;
    background: rgba(141,255,0,.12);
    border: 1px solid rgba(141,255,0,.35);
    color: var(--krewe-green);
    text-transform: uppercase;
    font-size: .78rem;
    font-weight: 900;
}

.game-tag.red {
    background: rgba(255,77,77,.12);
    border-color: rgba(255,77,77,.35);
    color: #ff4d4d;
}

.game-tag.yellow {
    background: rgba(245,197,66,.12);
    border-color: rgba(245,197,66,.35);
    color: #f5c542;
}

.game-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    margin-top: 18px;
    padding-top: 14px;
    border-top: 1px solid rgba(255,255,255,.1);
}

.game-form button,
.game-form input[type="submit"] {
    width: 100%;
}

.muted-text {
    color: var(--text-muted);
}

/* ------------------------------------------------ */
/* SHARED PAGE LAYOUT */
/* ------------------------------------------------ */

.game-page-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 24px;
    margin-bottom: 18px;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(141,255,0,.35);
}

.game-page-header h1 {
    margin: 0;
    color: var(--krewe-green);
    font-size: 3rem;
    line-height: .9;
    text-transform: uppercase;
    font-style: italic;
}

.game-page-header p {
    margin: 6px 0 0;
    color: var(--text-muted);
    text-transform: uppercase;
    font-weight: 700;
}

.small-header {
    margin-top: 36px;
}

.game-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.game-content-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.game-content-grid.four {
    grid-template-columns: repeat(4, 1fr);
}

.game-thumb {
    min-height: 220px;
    margin: -18px -18px 18px;
    background-size: cover;
    background-position: center;
    border-bottom: 1px solid rgba(255,255,255,.12);
}

.compact-thumb {
    min-height: 160px;
}

.game-card-title {
    margin: 12px 0 6px;
    color: var(--text-main);
    font-size: 2rem;
    line-height: .95;
    text-transform: uppercase;
}

.game-card-subtitle {
    margin: 0 0 18px;
    color: var(--text-muted);
    text-transform: uppercase;
    font-weight: 800;
}

.game-tag {
    display: inline-flex;
    align-items: center;
    padding: 5px 9px;
    border-radius: 999px;
    background: rgba(141,255,0,.12);
    border: 1px solid rgba(141,255,0,.35);
    color: var(--krewe-green);
    text-transform: uppercase;
    font-size: .78rem;
    font-weight: 900;
}

.game-meta-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.game-meta {
    padding: 12px;
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 10px;
    background: rgba(0,0,0,.25);
}

.game-meta span {
    display: block;
    color: var(--text-muted);
    text-transform: uppercase;
    font-size: .78rem;
    font-weight: 800;
}

.game-meta strong {
    display: block;
    margin-top: 4px;
    color: var(--text-main);
    font-size: 1.2rem;
}

.garage-section-title {
    margin: 24px 0 12px;
    color: var(--text-main);
    text-transform: uppercase;
}

.equipped-chip-grid {
    display: grid;
    gap: 10px;
}

.equipped-chip {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
    padding: 12px;
    border-radius: 10px;
    background: rgba(0,0,0,.24);
    border: 1px solid rgba(255,255,255,.08);
}

.equipped-chip strong {
    display: block;
}

.equipped-chip small {
    color: var(--text-muted);
}

.equipped-chip button {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    border: none;
    background: rgba(255,255,255,.08);
    color: white;
    cursor: pointer;
}

.garage-actions {
    display: flex;
    gap: 10px;
    align-items: center;
}

.game-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    margin-top: 24px;
    padding-top: 18px;
    border-top: 1px solid rgba(255,255,255,.08);
}

.condition-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    text-transform: uppercase;
    font-weight: 800;
}

.condition-bar {
    height: 14px;
    border-radius: 999px;
    overflow: hidden;
    background: rgba(255,255,255,.1);
    margin-bottom: 18px;
}

.condition-bar span {
    display: block;
    height: 100%;
    border-radius: inherit;

    background:
        linear-gradient(
            90deg,
            var(--krewe-green-dark),
            var(--krewe-green)
        );
}

.compact-download-card .game-card-title {
    font-size: 1.6rem;
}

@media (max-width: 1400px) {

    .game-content-grid,
    .game-content-grid.four {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 800px) {

    .game-content-grid,
    .game-content-grid.four {
        grid-template-columns: 1fr;
    }

    .game-page-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .game-card-footer {
        flex-direction: column;
        align-items: stretch;
    }
}

.game-nav {
    display: flex;
    gap: 8px;
    margin: 0 0 22px;
    padding: 8px;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 14px;
    background: rgba(0,0,0,.38);
    box-shadow: inset 0 0 22px rgba(255,255,255,.035);
}

.game-nav a {
    color: var(--text-muted);
    text-decoration: none;
    text-transform: uppercase;
    font-weight: 900;
    letter-spacing: .04em;
    padding: 10px 16px;
    border-radius: 10px;
    border: 1px solid transparent;
}

.game-nav a:hover,
.game-nav a.active {
    color: #050607;
    background: linear-gradient(135deg, var(--krewe-green), var(--krewe-green-dark));
    border-color: rgba(141,255,0,.45);
    box-shadow: 0 0 18px rgba(141,255,0,.18);
}

/* ------------------------------------------------ */
/* SPONSORS */
/* ------------------------------------------------ */

.sponsor-game-card {
    position: relative;
}

.sponsor-logo-wrap {
    display: flex;
    justify-content: center;
    align-items: center;

    height: 140px;

    margin: -18px -18px 18px;

    background:
        linear-gradient(
            180deg,
            rgba(255,255,255,.04),
            rgba(255,255,255,.01)
        );

    border-bottom:
        1px solid rgba(255,255,255,.08);
}

.sponsor-logo-wrap img {
    max-width: 75%;
    max-height: 80px;
    object-fit: contain;
}

.sponsor-card-top {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 10px;
}

.sponsor-section {
    margin-top: 24px;
}

.requirements-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.requirement-chip {
    padding: 8px 12px;
    border-radius: 999px;

    background:
        rgba(141,255,0,.12);

    border:
        1px solid rgba(141,255,0,.25);

    color: var(--krewe-green);

    text-transform: uppercase;

    font-size: .78rem;

    font-weight: 900;
}

.requirement-chip.neutral {
    color: var(--text-muted);

    background:
        rgba(255,255,255,.05);

    border-color:
        rgba(255,255,255,.08);
}

.offer-card {
    border-color:
        rgba(245,197,66,.18);
}

/* ------------------------------------------------ */
/* CALENDAR */
/* ------------------------------------------------ */

.calendar-game-list {
    display: grid;
    gap: 18px;
}

.calendar-game-card {
    min-height: 320px;
}

.calendar-event-bg {
    min-height: 320px;
    background-size: cover;
    background-position: center;
}

.calendar-event-bg::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at top right, rgba(141,255,0,.12), transparent 42%);
    pointer-events: none;
}

.calendar-event-content {
    position: relative;
    z-index: 2;
    padding: 28px;
}

.calendar-event-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 24px;
    margin-bottom: 20px;
}

.calendar-event-top h2 {
    margin: 8px 0 0;
    font-size: 3rem;
    line-height: .9;
    text-transform: uppercase;
    color: var(--text-main);
    text-shadow: 0 4px 14px rgba(0,0,0,.9);
}

.calendar-event-top p {
    margin: 8px 0 0;
    color: #d1d5db;
    text-transform: uppercase;
    font-weight: 800;
}

.calendar-meta-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.calendar-entry-summary {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid rgba(255,255,255,.12);
}

.calendar-lock-reasons {
    margin-top: 14px;
    padding: 12px;
    border-radius: 10px;
    background: rgba(255,77,77,.1);
    border: 1px solid rgba(255,77,77,.25);
}

.calendar-lock-reasons p {
    margin: 0 0 6px;
    color: #ffb4b4;
    text-transform: uppercase;
    font-weight: 800;
}

.calendar-actions {
    display: flex;
    gap: 10px;
    margin-top: 18px;
    flex-wrap: wrap;
}

.calendar-actions form {
    margin: 0;
}

.event-complete {
    opacity: .72;
}

@media (max-width: 1100px) {
    .calendar-meta-grid,
    .calendar-entry-summary {
        grid-template-columns: repeat(2, 1fr);
    }

    .calendar-event-top {
        flex-direction: column;
    }
}

@media (max-width: 700px) {
    .calendar-meta-grid,
    .calendar-entry-summary {
        grid-template-columns: 1fr;
    }

    .calendar-event-top h2 {
        font-size: 2.2rem;
    }
}

/* ------------------------------------------------ */
/* SHOP */
/* ------------------------------------------------ */

.game-filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 18px;
}

.game-filter-bar a {
    padding: 10px 16px;
    border-radius: 999px;

    text-decoration: none;

    color: var(--text-muted);

    border: 1px solid rgba(255,255,255,.08);

    background: rgba(0,0,0,.24);

    text-transform: uppercase;

    font-weight: 900;
}

.game-filter-bar a.active,
.game-filter-bar a:hover {
    color: #050607;

    background:
        linear-gradient(
            135deg,
            var(--krewe-green),
            var(--krewe-green-dark)
        );
}

.subfilters {
    margin-top: -8px;
}

.shop-game-card {
    overflow: hidden;
}

.shop-card-image {
    height: 220px;

    background-size: cover;
    background-position: center;

    border-bottom:
        1px solid rgba(255,255,255,.08);
}

.shop-card-content {
    padding: 18px;
}

.shop-price {
    margin: 14px 0 18px;

    color: var(--krewe-green);

    font-size: 2rem;

    font-weight: 900;

    text-transform: uppercase;
}

.shop-card-footer {
    margin-top: 18px;
}

.shop-card-footer form {
    margin: 0;
}

.shop-game-card:hover {
    transform: translateY(-4px);

    border-color:
        rgba(141,255,0,.28);

    box-shadow:
        0 0 24px rgba(141,255,0,.12),
        0 16px 40px rgba(0,0,0,.42);

    transition:
        transform .15s ease,
        box-shadow .15s ease,
        border-color .15s ease;
}

/* ------------------------------------------------ */
/* PROFILE */
/* ------------------------------------------------ */

.rider-profile-hero {
    min-height: 280px;

    background:
        linear-gradient(
            90deg,
            rgba(0,0,0,.88),
            rgba(0,0,0,.32)
        ),
        url("/static/career/images/rider-hero.jpg");

    background-size: cover;
    background-position: center;
}

.profile-rep-line {
    display: flex;
    gap: 36px;
}

.profile-rep-line span {
    display: block;
    color: var(--text-muted);
    text-transform: uppercase;
    font-weight: 800;
}

.profile-rep-line strong {
    color: var(--krewe-green);
    font-size: 2rem;
}

/* ------------------------------------------------ */
/* STANDINGS */
/* ------------------------------------------------ */

.standings-game-card {
    padding: 18px;
}

.standings-header-bar {
    margin-bottom: 18px;
}

.standings-header-title h2 {
    margin: 8px 0 0;
    font-size: 3rem;
    line-height: .9;
    text-transform: uppercase;
}

.standings-modern-table tr {
    transition: background .15s ease;
}

.standings-modern-table tr:hover {
    background: rgba(255,255,255,.04);
}

.standings-first {
    background: rgba(255,215,0,.08);
}

.standings-second {
    background: rgba(192,192,192,.08);
}

.standings-third {
    background: rgba(205,127,50,.08);
}

.standings-rider-modern {
    display: flex;
    align-items: center;
    gap: 12px;
}

.standings-avatar {
    width: 42px;
    height: 42px;

    border-radius: 50%;

    background:
        linear-gradient(
            135deg,
            var(--krewe-green),
            var(--krewe-green-dark)
        );

    color: #050607;

    display: flex;
    align-items: center;
    justify-content: center;

    font-weight: 900;
    font-size: 1.1rem;
}

.standings-rider-modern small {
    display: block;
    color: var(--text-muted);
    margin-top: 2px;
}

.modern-results-table th,
.modern-results-table td,
.standings-modern-table th,
.standings-modern-table td {
    padding: 14px;
}

/* ------------------------------------------------ */
/* BIKE DETAIL */
/* ------------------------------------------------ */

.bike-detail-hero {
    position: relative;
    min-height: 520px;
    overflow: hidden;
}

.bike-detail-bg {
    position: absolute;
    inset: 0;

    background-size: cover;
    background-position: center;
}

.bike-detail-content {
    position: relative;
    z-index: 2;
    padding: 30px;
}

.bike-detail-content h2 {
    margin: 14px 0 6px;

    font-size: 4rem;
    line-height: .9;

    text-transform: uppercase;

    text-shadow:
        0 4px 14px rgba(0,0,0,.9);
}

.bike-detail-content p {
    margin: 0 0 24px;

    color: var(--text-muted);

    text-transform: uppercase;

    font-weight: 800;
}

.bike-detail-actions {
    display: flex;
    gap: 12px;
    margin-top: 24px;
    flex-wrap: wrap;
}

.part-type-filter {
    margin-top: -6px;
    margin-bottom: 22px;
}

.game-filter-bar button {
    padding: 10px 16px;
    border-radius: 999px;
    color: var(--text-muted);
    border: 1px solid rgba(255,255,255,.08);
    background: rgba(0,0,0,.24);
    text-transform: uppercase;
    font-weight: 900;
    cursor: pointer;
}

.game-filter-bar button.active,
.game-filter-bar button:hover {
    color: #050607;
    background: linear-gradient(135deg, var(--krewe-green), var(--krewe-green-dark));
}

.bike-health-grid {
    grid-template-columns: repeat(3, 1fr);
    align-items: stretch;
    gap: 14px;
}

.repair-meta {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 150px;
}

.repair-mini-button {
    width: 100%;
    margin-top: 12px;
}

/* ------------------------------------------------ */
/* SPONSOR RELATIONSHIPS */
/* ------------------------------------------------ */

.relationship-toolbar {
    display: flex;
    gap: 12px;
    margin-bottom: 22px;
    flex-wrap: wrap;
}

.relationship-search,
.relationship-filter {
    height: 48px;

    padding: 0 16px;

    border-radius: 12px;

    border:
        1px solid rgba(255,255,255,.10);

    background:
        rgba(0,0,0,.35);

    color:
        var(--text-main);

    font-family:
        "Rajdhani", sans-serif;

    font-size:
        1rem;

    outline: none;
}

.relationship-search {
    flex: 1;
    min-width: 260px;
}

.relationship-filter {
    min-width: 180px;
}

.relationship-list {
    display: grid;
    gap: 12px;
}

.relationship-row {
    display: grid;

    grid-template-columns:
        320px
        1fr
        auto;

    align-items: center;

    gap: 20px;

    padding: 18px 20px;

    border-radius: 14px;

    border:
        1px solid rgba(255,255,255,.08);

    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,.04),
            rgba(255,255,255,.015)
        );

    backdrop-filter: blur(10px);

    transition:
        border-color .15s ease,
        transform .15s ease,
        box-shadow .15s ease;
}

.relationship-row:hover {
    transform: translateY(-2px);

    border-color:
        rgba(141,255,0,.25);

    box-shadow:
        0 0 18px rgba(141,255,0,.08);
}

.relationship-left {
    display: flex;
    align-items: center;
    gap: 16px;
}

.relationship-thumb {
    width: 74px;
    height: 74px;

    object-fit: contain;

    border-radius: 12px;

    background:
        rgba(0,0,0,.35);

    padding: 8px;

    border:
        1px solid rgba(255,255,255,.08);
}

.relationship-left h3 {
    margin: 0;

    font-size: 1.8rem;

    text-transform: uppercase;

    line-height: .9;
}

.relationship-type {
    display: inline-block;

    margin-top: 6px;

    color:
        var(--text-muted);

    text-transform:
        uppercase;

    font-size:
        .82rem;

    font-weight:
        800;
}

.relationship-center {
    width: 100%;
}

.relationship-bar-wrap {
    display: flex;
    align-items: center;
    gap: 16px;
}

.relationship-bar {
    flex: 1;

    height: 16px;

    border-radius: 999px;

    overflow: hidden;

    background:
        rgba(255,255,255,.08);
}

.relationship-bar span {
    display: block;
    height: 100%;

    border-radius: inherit;

    background:
        linear-gradient(
            90deg,
            var(--krewe-green-dark),
            var(--krewe-green)
        );

    box-shadow:
        0 0 16px rgba(141,255,0,.25);
}

.relationship-bar-wrap strong {
    min-width: 52px;

    text-align: right;

    font-size: 1.2rem;

    color:
        var(--krewe-green);
}

.relationship-stats {
    display: flex;
    gap: 18px;
}

.relationship-stats div {
    text-align: center;
}

.relationship-stats small {
    display: block;

    color:
        var(--text-muted);

    text-transform:
        uppercase;

    font-size:
        .72rem;

    font-weight:
        800;
}

.relationship-stats strong {
    display: block;

    margin-top: 2px;

    font-size:
        1.1rem;
}

@media (max-width: 1100px) {

    .relationship-row {
        grid-template-columns: 1fr;
    }

    .relationship-stats {
        justify-content: flex-start;
        flex-wrap: wrap;
    }
}

.nav-inbox-link {
    position: relative;
}

.nav-badge {
    position: absolute;
    top: -7px;
    right: -7px;

    min-width: 20px;
    height: 20px;

    padding: 0 6px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border-radius: 999px;

    background: #ff3b3b;
    color: #fff;

    font-size: .75rem;
    font-weight: 900;

    line-height: 1;

    box-shadow:
        0 0 14px rgba(255, 59, 59, .55);
}