@font-face {
    font-family: "Be Vietnam Pro";
    src: url("/static/fonts/BeVietnamPro-400.ttf") format("truetype");
    font-weight: 400;
}

@font-face {
    font-family: "Be Vietnam Pro";
    src: url("/static/fonts/BeVietnamPro-600.ttf") format("truetype");
    font-weight: 600;
}

@font-face {
    font-family: "Be Vietnam Pro";
    src: url("/static/fonts/BeVietnamPro-700.ttf") format("truetype");
    font-weight: 700;
}

@font-face {
    font-family: "Be Vietnam Pro";
    src: url("/static/fonts/BeVietnamPro-800.ttf") format("truetype");
    font-weight: 800;
}

@font-face {
    font-family: "Baloo 2";
    src: url("/static/fonts/Baloo2[wght].ttf") format("truetype");
    font-weight: 500 800;
}

@font-face {
    font-family: "JetBrains Mono";
    src: url("/static/fonts/JetBrainsMono[wght].ttf") format("truetype");
    font-weight: 300 800;
}

:root {
    --color-ink: #111827;
    --color-paper: #fffdf5;
    --color-grid: #e8e1d2;
    --color-blue: #a7d8ff;
    --color-green: #8ef0b1;
    --color-yellow: #ffe66d;
    --color-pink: #ff9ecf;
    --color-orange: #ffb86b;
    --color-navy: #062e55;
    --color-muted: #4b5563;
    --border-thick: 3px solid var(--color-ink);
    --border-soft: 2px solid var(--color-ink);
    --radius-card: 28px;
    --radius-pill: 999px;
    --shadow-brutal: 8px 8px 0 var(--color-ink);
    --shadow-small: 4px 4px 0 var(--color-ink);
}

* {
    box-sizing: border-box;
}

[x-cloak] {
    display: none !important;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    overflow-x: hidden;
    font-family: "Be Vietnam Pro", sans-serif;
    color: var(--color-ink);
    background:
        radial-gradient(circle at 12% 8%, rgba(255, 230, 109, 0.42), transparent 28rem),
        radial-gradient(circle at 88% 16%, rgba(167, 216, 255, 0.44), transparent 26rem),
        var(--color-paper);
}

.paper-grid {
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background-image:
        linear-gradient(var(--color-grid) 1px, transparent 1px),
        linear-gradient(90deg, var(--color-grid) 1px, transparent 1px);
    background-size: 28px 28px;
    opacity: 0.58;
}

a {
    color: var(--color-navy);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
    text-decoration-thickness: 2px;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: 4px solid var(--color-pink);
    outline-offset: 3px;
}

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

h1,
h2,
h3 {
    margin: 0 0 0.55rem;
    font-family: "Baloo 2", cursive;
    line-height: 1.05;
}

h1 {
    font-size: 4.1rem;
}

h2 {
    font-size: 2.35rem;
}

h3 {
    font-size: 1.45rem;
}

p,
li,
label,
input,
textarea,
select,
button,
table {
    font-size: 1rem;
}

p {
    line-height: 1.65;
}

blockquote {
    margin: 0;
    padding: 0.85rem 1rem;
    border: 2px dashed var(--color-ink);
    border-radius: 18px;
    background: rgba(255, 230, 109, 0.35);
}

.container,
.page-shell > .section-block,
.page-shell > .dashboard-grid,
.page-shell > .split-panel,
.page-shell > .question-layout,
.page-shell > .hero-panel {
    width: min(1180px, calc(100% - 2rem));
    margin-right: auto;
    margin-left: auto;
}

.page-shell {
    padding: 1.6rem 0 4rem;
}

.page-shell > * + * {
    margin-top: 2rem;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 30;
    border-bottom: var(--border-thick);
    background: rgba(255, 253, 245, 0.96);
    backdrop-filter: blur(12px);
}

.site-header__inner {
    width: min(1600px, calc(100% - 2rem));
    margin-right: auto;
    margin-left: auto;
    display: flex;
    gap: 1rem;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 0;
}

.brand-pill {
    flex: 0 1 330px;
    display: inline-flex;
    min-width: 0;
    gap: 0.75rem;
    align-items: center;
    padding: 0.55rem 0.85rem 0.55rem 0.6rem;
    border: var(--border-thick);
    border-radius: var(--radius-pill);
    background: white;
    box-shadow: var(--shadow-small);
}

.brand-pill img {
    flex: 0 0 auto;
    width: 52px;
    height: 52px;
    object-fit: contain;
}

.brand-pill span {
    min-width: 0;
}

.brand-pill strong {
    display: block;
    overflow: hidden;
    font-family: "Baloo 2", cursive;
    font-size: 1.32rem;
    line-height: 1;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.brand-pill small,
.muted {
    color: var(--color-muted);
}

.brand-pill small {
    display: block;
    overflow: hidden;
    margin-top: 0.16rem;
    font-size: 0.78rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.main-nav,
.header-actions,
.button-row,
.button-cluster,
.section-heading,
.score-row,
.info-pair,
.member-row,
.hero-actions,
.card-badges,
.mini-stat-row,
.hero-badges,
.sponsor-strip {
    display: flex;
    gap: 0.8rem;
    align-items: center;
}

.main-nav {
    flex: 1 1 auto;
    justify-content: center;
    padding: 0.35rem;
    border: var(--border-soft);
    border-radius: var(--radius-pill);
    background: rgba(255, 255, 255, 0.78);
}

.main-nav a,
.mobile-drawer a,
.pill-soft,
.stamp,
.status-badge {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    min-height: 38px;
    padding: 0.48rem 0.82rem;
    border: var(--border-soft);
    border-radius: var(--radius-pill);
    background: white;
    color: var(--color-ink);
    font-weight: 700;
}

.main-nav a:hover,
.mobile-drawer a:hover {
    background: var(--color-yellow);
    text-decoration: none;
    transform: translateY(-1px);
}

.main-nav a.is-active,
.mobile-drawer a.is-active {
    background: var(--color-green);
    box-shadow: inset 0 -4px 0 rgba(17, 24, 39, 0.18);
}

.header-actions {
    flex: 0 0 auto;
    justify-content: flex-end;
}

.mobile-menu-toggle {
    display: none;
}

.mobile-drawer {
    display: none;
    padding: 0 0 1rem;
}

.mobile-drawer__panel {
    display: grid;
    gap: 0.65rem;
    padding: 0.85rem;
    border: var(--border-thick);
    border-radius: 22px;
    background: white;
    box-shadow: var(--shadow-small);
}

.subnav-bar {
    border-top: var(--border-thick);
    background: rgba(167, 216, 255, 0.7);
    padding: 0.7rem 0;
}

.button-cluster {
    flex-wrap: wrap;
}

.hero-panel,
.card,
.flash,
.empty-state {
    border: var(--border-thick);
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-brutal);
}

.hero-panel {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.82fr);
    gap: 1.4rem;
    align-items: stretch;
    padding: 1.35rem;
    background: linear-gradient(135deg, rgba(167, 216, 255, 0.93), rgba(255, 230, 109, 0.72));
}

.hero-panel--warning {
    background: linear-gradient(135deg, rgba(255, 158, 207, 0.84), rgba(255, 184, 107, 0.82));
}

.hero-panel--studio {
    background: linear-gradient(135deg, rgba(142, 240, 177, 0.9), rgba(167, 216, 255, 0.68));
}

.hero-panel--profile {
    background: linear-gradient(135deg, rgba(255, 230, 109, 0.78), rgba(255, 158, 207, 0.58));
}

.hero-copy {
    display: grid;
    align-content: center;
}

.hero-badges {
    flex-wrap: wrap;
    margin-bottom: 0.8rem;
}

.status-badge {
    background: var(--color-green);
}

.lead {
    max-width: 65ch;
    font-size: 1.08rem;
}

.hero-actions,
.button-row,
.section-heading,
.score-row,
.info-pair,
.member-row {
    justify-content: space-between;
}

.hero-actions,
.button-row {
    flex-wrap: wrap;
    justify-content: flex-start;
    margin-top: 1rem;
}

.section-heading {
    margin-bottom: 1rem;
}

.eyebrow {
    display: inline-flex;
    width: fit-content;
    margin-bottom: 0.8rem;
    padding: 0.38rem 0.72rem;
    border: var(--border-soft);
    border-radius: var(--radius-pill);
    background: var(--color-yellow);
    font-family: "JetBrains Mono", monospace;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0;
}

.card,
.empty-state {
    background: rgba(255, 255, 255, 0.96);
    padding: 1.15rem;
}

.empty-state {
    display: grid;
    place-items: start;
    gap: 0.35rem;
    width: 100%;
    background: rgba(255, 255, 255, 0.88);
}

.result-waiting,
.leaderboard-strip > .empty-state,
.feature-grid > .empty-state,
.event-grid > .empty-state,
.gallery-grid > .empty-state,
.stat-card-grid > .empty-state {
    grid-column: 1 / -1;
    max-width: 860px;
}

.accent-card--blue {
    background: rgba(167, 216, 255, 0.75);
}

.accent-card--yellow {
    background: rgba(255, 230, 109, 0.78);
}

.accent-card--pink {
    background: rgba(255, 158, 207, 0.7);
}

.accent-card--green {
    background: rgba(142, 240, 177, 0.75);
}

.accent-card--orange {
    background: rgba(255, 184, 107, 0.76);
}

.hero-board,
.hero-info {
    display: grid;
    gap: 0.9rem;
    align-content: start;
}

.hero-board {
    border: var(--border-thick);
    border-radius: var(--radius-card);
    background: rgba(255, 255, 255, 0.92);
    padding: 1rem;
    box-shadow: var(--shadow-small);
}

.hero-board__top {
    display: grid;
    gap: 0.2rem;
}

.countdown-tile {
    padding: 1rem;
    border: var(--border-thick);
    border-radius: 22px;
    background: var(--color-pink);
}

.countdown-value {
    display: block;
    font-family: "Baloo 2", cursive;
    font-size: 2.05rem;
    line-height: 1.05;
}

.feature-grid,
.contestant-grid,
.event-grid,
.gallery-grid,
.dashboard-grid,
.split-panel,
.question-layout,
.leaderboard-strip,
.stat-card-grid {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 1.15rem;
}

.feature-grid > *,
.event-grid > *,
.gallery-grid > *,
.dashboard-grid > *,
.stat-card-grid > * {
    grid-column: span 4;
}

.contestant-grid > * {
    grid-column: span 3;
}

.contestant-grid--compact > * {
    grid-column: span 6;
}

.split-panel > * {
    grid-column: span 6;
}

.question-layout > :first-child {
    grid-column: span 7;
}

.question-layout > :last-child {
    grid-column: span 5;
}

.feature-card {
    position: relative;
    overflow: hidden;
    min-width: 0;
    min-height: 170px;
    padding: 1.15rem;
    border: var(--border-thick);
    border-radius: var(--radius-card);
    background: rgba(255, 255, 255, 0.96);
    box-shadow: var(--shadow-small);
}

.feature-card > * {
    position: relative;
    z-index: 1;
}

.feature-card::after {
    content: "";
    position: absolute;
    right: -24px;
    bottom: -24px;
    width: 86px;
    height: 86px;
    border: var(--border-thick);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.42);
    pointer-events: none;
}

.contestant-card {
    position: relative;
    display: grid;
    grid-template-columns: 96px minmax(0, 1fr);
    gap: 0.9rem;
    padding: 0.95rem;
    border: var(--border-thick);
    border-radius: var(--radius-card);
    background: white;
    box-shadow: 6px 6px 0 var(--color-ink);
}

.contestant-card__media {
    position: relative;
}

.contestant-card__media img,
.profile-avatar img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border: var(--border-thick);
    border-radius: 20px;
    background: var(--color-blue);
}

.avatar-fallback {
    display: grid;
    width: 100%;
    aspect-ratio: 1;
    place-items: center;
    border: var(--border-thick);
    border-radius: 20px;
    background: var(--color-blue);
    font-family: "Baloo 2", cursive;
    font-size: 2rem;
}

.avatar-fallback--large {
    max-width: 260px;
}

.avatar-badge {
    position: absolute;
    right: -0.35rem;
    bottom: -0.35rem;
    min-width: 40px;
    padding: 0.28rem 0.48rem;
    border: var(--border-soft);
    border-radius: var(--radius-pill);
    background: var(--color-yellow);
    font-weight: 800;
    text-align: center;
}

.card-badges,
.mini-stat-row,
.sponsor-strip {
    flex-wrap: wrap;
}

.mini-stat-row {
    margin-top: 0.7rem;
}

.stat-pill {
    gap: 0.35rem;
}

.mini-stat-row .pill-soft:nth-child(2n) {
    background: var(--color-blue);
}

.mini-stat-row .pill-soft:nth-child(3n) {
    background: var(--color-pink);
}

.profile-hero {
    display: flex;
    gap: 1.2rem;
    align-items: center;
}

.leaderboard-card {
    grid-column: span 3;
    display: grid;
    gap: 0.25rem;
    padding: 1rem;
    border: var(--border-thick);
    border-radius: 24px;
    background: white;
    box-shadow: var(--shadow-small);
}

.leaderboard-card--winner {
    background: var(--color-yellow);
}

.leaderboard-card span {
    font-family: "JetBrains Mono", monospace;
    font-weight: 800;
}

.leaderboard-card em {
    font-style: normal;
    font-weight: 800;
}

.timeline-list {
    display: grid;
    gap: 0.75rem;
}

.timeline-list > div {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 0.75rem;
    align-items: center;
}

.timeline-list > div::before {
    content: "";
    width: 16px;
    height: 16px;
    border: var(--border-soft);
    border-radius: 50%;
    background: var(--color-green);
}

.rule-list {
    display: grid;
    gap: 0.55rem;
    margin: 0.9rem 0 0;
    padding-left: 1.2rem;
}

.raw-config,
.mini-details {
    margin-top: 0.9rem;
}

.raw-config summary,
.mini-details summary {
    cursor: pointer;
    font-weight: 800;
}

.stat-profile-card {
    display: grid;
    gap: 1rem;
}

.mini-profile {
    display: grid;
    grid-template-columns: 76px minmax(0, 1fr);
    gap: 0.85rem;
    align-items: center;
}

.mini-profile img {
    width: 76px;
    height: 76px;
    object-fit: cover;
    border: var(--border-thick);
    border-radius: 18px;
}

.stat-bars {
    display: grid;
    gap: 0.85rem;
}

.stat-bar {
    display: grid;
    gap: 0.35rem;
}

.stat-bar__track {
    display: block;
    height: 16px;
    overflow: hidden;
    border: var(--border-soft);
    border-radius: var(--radius-pill);
    background: white;
}

.stat-bar__track span {
    display: block;
    height: 100%;
    border-right: var(--border-soft);
    background: var(--color-green);
}

.preview-column,
.stack-list,
.stack-form {
    display: grid;
    gap: 0.9rem;
}

.preview-panel,
.markdown-body {
    min-height: 120px;
}

.markdown-body code,
pre {
    border-radius: 12px;
    background: rgba(17, 24, 39, 0.06);
    font-family: "JetBrains Mono", monospace;
}

.button,
button,
input[type="submit"] {
    appearance: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    border: var(--border-thick);
    border-radius: var(--radius-pill);
    background: var(--color-yellow);
    color: var(--color-ink);
    padding: 0.78rem 1.08rem;
    font-weight: 800;
    line-height: 1;
    cursor: pointer;
    box-shadow: var(--shadow-small);
}

.button:hover,
button:hover,
input[type="submit"]:hover {
    text-decoration: none;
    transform: translate(-1px, -1px);
    box-shadow: 6px 6px 0 var(--color-ink);
}

.button--ghost {
    background: white;
}

.button--blue {
    background: var(--color-blue);
}

.button--danger {
    background: var(--color-pink);
}

.button--small {
    min-height: 38px;
    padding: 0.54rem 0.86rem;
    font-size: 0.92rem;
}

.button[disabled],
button[disabled] {
    cursor: not-allowed;
    filter: grayscale(0.85);
    opacity: 0.62;
    transform: none;
}

.list-row {
    padding: 0.8rem 0;
    border-top: 2px dashed rgba(17, 24, 39, 0.25);
}

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

.table-shell {
    overflow: hidden;
}

.scroll-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.data-table {
    width: 100%;
    min-width: 720px;
    border-collapse: collapse;
}

.data-table th,
.data-table td {
    padding: 0.82rem 0.72rem;
    border-bottom: 2px solid rgba(17, 24, 39, 0.15);
    text-align: left;
    vertical-align: top;
}

.filter-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}

.filter-actions {
    display: flex;
    align-items: end;
}

input,
textarea,
select {
    width: 100%;
    padding: 0.82rem 0.95rem;
    border: var(--border-soft);
    border-radius: 18px;
    background: white;
    box-shadow: 4px 4px 0 rgba(17, 24, 39, 0.15);
    font-family: inherit;
}

textarea {
    min-height: 120px;
    resize: vertical;
}

.flash {
    padding: 0.85rem 1rem;
    background: white;
}

.flash--success {
    background: rgba(142, 240, 177, 0.86);
}

.flash--error {
    background: rgba(255, 158, 207, 0.84);
}

.message-stack {
    display: grid;
    gap: 0.8rem;
    padding-top: 1rem;
}

.inline-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    padding: 0;
    list-style: none;
}

.inline-list li {
    padding: 0.38rem 0.68rem;
    border: var(--border-soft);
    border-radius: var(--radius-pill);
    background: white;
}

.stamp {
    min-height: auto;
}

.stamp--pink {
    background: var(--color-pink);
}

.stamp--yellow {
    background: var(--color-yellow);
}

.badge-stack {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    align-items: start;
}

.gallery-section {
    margin-bottom: 1.2rem;
}

.gallery-card {
    margin: 0;
    padding: 0.75rem;
    border: var(--border-thick);
    border-radius: 22px;
    background: white;
}

.gallery-card img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    margin-bottom: 0.8rem;
    border: var(--border-thick);
    border-radius: 18px;
}

.sponsor-card img {
    max-height: 82px;
    object-fit: contain;
    margin-bottom: 1rem;
}

.sponsor-card {
    min-width: 0;
}

.partner-heading {
    display: flex;
    gap: 0.7rem;
    align-items: flex-start;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 0.65rem;
}

.partner-heading h2 {
    min-width: 0;
    margin-bottom: 0;
}

.partner-badge {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    min-height: 34px;
    padding: 0.38rem 0.7rem;
    border: var(--border-soft);
    border-radius: var(--radius-pill);
    background: var(--color-yellow);
    font-weight: 800;
    white-space: nowrap;
}

.logo-placeholder {
    display: grid;
    width: 82px;
    height: 82px;
    place-items: center;
    margin-bottom: 1rem;
    border: var(--border-thick);
    border-radius: 22px;
    background: var(--color-blue);
    font-family: "Baloo 2", cursive;
    font-size: 2rem;
}

.sponsor-chip {
    display: inline-flex;
    gap: 0.65rem;
    align-items: center;
    flex-wrap: wrap;
    min-height: 44px;
    padding: 0.55rem 0.85rem;
    border: var(--border-soft);
    border-radius: var(--radius-pill);
    background: white;
    font-weight: 800;
}

.sponsor-chip strong {
    min-width: 0;
}

.page--studio .site-header {
    background: rgba(238, 255, 244, 0.96);
}

.site-footer {
    padding: 2rem 0 3rem;
    border-top: var(--border-thick);
    background: rgba(6, 46, 85, 0.96);
    color: white;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}

.footer-links {
    display: grid;
    gap: 0.35rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.site-footer a {
    color: white;
}

.site-footer p {
    margin: 0.2rem 0;
}

.footer-boundary {
    margin-top: 1.4rem;
    padding-top: 1rem;
    border-top: 2px dashed rgba(255, 255, 255, 0.32);
    color: rgba(255, 255, 255, 0.82);
}

@media (max-width: 1080px) {
    .main-nav {
        display: none;
    }

    .mobile-menu-toggle {
        display: inline-flex;
    }

    .mobile-drawer {
        display: block;
    }

    .site-header__inner {
        flex-wrap: nowrap;
    }
}

@media (max-width: 1024px) {
    h1 {
        font-size: 3.35rem;
    }

    h2 {
        font-size: 2.05rem;
    }

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

    .feature-grid > *,
    .contestant-grid > *,
    .event-grid > *,
    .gallery-grid > *,
    .dashboard-grid > *,
    .stat-card-grid > *,
    .leaderboard-card,
    .split-panel > *,
    .question-layout > :first-child,
    .question-layout > :last-child {
        grid-column: span 6;
    }

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

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

@media (max-width: 760px) {
    h1 {
        font-size: 2.6rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    .site-header__inner,
    .header-actions,
    .section-heading,
    .button-row,
    .hero-actions,
    .profile-hero,
    .member-row {
        align-items: stretch;
        flex-direction: column;
    }

    .site-header__inner {
        align-items: center;
        flex-direction: row;
    }

    .brand-pill img {
        width: 44px;
        height: 44px;
    }

    .brand-pill strong {
        font-size: 1.08rem;
    }

    .brand-pill small {
        display: none;
    }

    .header-actions {
        display: none;
    }

    .feature-grid > *,
    .contestant-grid > *,
    .event-grid > *,
    .gallery-grid > *,
    .dashboard-grid > *,
    .stat-card-grid > *,
    .leaderboard-card,
    .split-panel > *,
    .question-layout > :first-child,
    .question-layout > :last-child {
        grid-column: span 12;
    }

    .contestant-card {
        grid-template-columns: 88px minmax(0, 1fr);
    }

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

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

    .button,
    button,
    input[type="submit"] {
        width: 100%;
    }

    .button--small {
        width: auto;
    }

    .score-row,
    .info-pair {
        align-items: flex-start;
        flex-direction: column;
        gap: 0.35rem;
    }

    .mobile-sticky {
        position: sticky;
        bottom: 0.75rem;
        padding: 0.5rem;
        border: var(--border-thick);
        border-radius: 22px;
        background: rgba(255, 253, 245, 0.96);
        box-shadow: var(--shadow-small);
    }
}

@media (max-width: 430px) {
    .container,
    .page-shell > .section-block,
    .page-shell > .dashboard-grid,
    .page-shell > .split-panel,
    .page-shell > .question-layout,
    .page-shell > .hero-panel {
        width: min(100% - 1rem, 1180px);
    }

    .page-shell {
        padding-top: 0.9rem;
    }

    .site-header__inner {
        width: min(100% - 1rem, 1600px);
        gap: 0.55rem;
    }

    .brand-pill {
        padding: 0.45rem 0.65rem 0.45rem 0.48rem;
    }

    .hero-panel,
    .card,
    .feature-card,
    .empty-state {
        border-radius: 20px;
        box-shadow: 5px 5px 0 var(--color-ink);
    }

    .hero-panel {
        padding: 0.85rem;
    }

    .contestant-card {
        grid-template-columns: 1fr;
    }

    .countdown-value {
        font-size: 1.6rem;
    }
}
