:root {
    --bg: #002d1f;
    --card: #013033;
    --accent: #79a70a;
    --accent-strong: #9bc90d;
    --text: #f8fbff;
    --muted: #a5acaf;
    --border-light: rgba(225, 225, 225, 0.6);
    --border: var(--border-light);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
    background: radial-gradient(circle at top, rgba(255, 255, 255, 0.07), transparent 60%),
        linear-gradient(180deg, rgba(0, 76, 84, 0.95), rgba(0, 20, 17, 1));
    color: var(--text);
}

a {
    color: inherit;
    text-decoration: none;
}

.email-capture-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 1rem;
}

.email-capture-overlay[hidden] {
    display: none !important;
}

.video-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    z-index: 1100;
}

.video-overlay[hidden] {
    display: none;
}

.video-overlay__content {
    position: relative;
    width: min(900px, 100%);
    max-height: min(95vh, 540px);
    background: rgba(2, 13, 14, 0.95);
    border-radius: 18px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.7);
    padding: 1rem;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.video-overlay__player {
    width: 100%;
    border-radius: 14px;
    height: min(480px, 70vh);
    background: #000;
}

.video-overlay__close {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    border: none;
    background: transparent;
    color: #fff;
    font-size: 1.25rem;
    cursor: pointer;
    padding: 0.25rem 0.65rem;
}

.email-capture {
    background: linear-gradient(180deg, rgba(3, 15, 18, 0.98), rgba(8, 32, 36, 0.98));
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    padding: 2rem;
    width: min(540px, 100%);
    box-shadow: 0 35px 70px rgba(0, 0, 0, 0.65);
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.email-capture h3 {
    margin: 0;
    font-size: 1.4rem;
}

.email-capture p {
    margin: 0;
    color: var(--muted);
}

.email-capture__form {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
}

.email-capture input[type='email'] {
    flex: 1;
    min-width: 220px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.05);
    color: var(--text);
    padding: 0.85rem 1rem;
    font-size: 1rem;
}

.email-capture button {
    border: none;
    border-radius: 12px;
    padding: 0.85rem 1.5rem;
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    background: linear-gradient(135deg, var(--accent), var(--accent-strong));
    color: #031004;
    font-weight: 700;
    cursor: pointer;
}

.email-capture button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.email-capture .email-capture__close {
    align-self: flex-end;
    background: transparent;
    border: none;
    color: var(--muted);
    font-size: 1rem;
    cursor: pointer;
}

.page-header {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem 3vw 1rem;
}

.page-header--logo-only {
    justify-content: center;
}

.page-header__brand {
    display: flex;
    justify-content: center;
}

.page-header__brand img {
    height: 60px;
    width: auto;
}

.page-header__brand-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.page-footer {
    padding: 2rem 3vw;
    display: flex;
    justify-content: center;
}

.page-footer__links {
    display: inline-flex;
    gap: 0;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

/* .page-footer__links a + a::before {
    content: '|';
    margin: 0 0.75rem;
    color: rgba(255, 255, 255, 0.45);
} */

.page-footer .admin-link,
.page-footer .footer-link {
    padding: 0.5rem 1.5rem;
}

.page-footer .footer-link {
    font-size: 0.9rem;
    transition: color 0.2s ease, transform 0.2s ease;
}

.page-footer .admin-link {
    border: none;
}

/* .page-footer .footer-link:hover {
    color: var(--accent);
    transform: translateY(-1px);
} */


.eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.4em;
    font-size: 0.65rem;
    color: var(--muted);
    margin: 0 0 0.35rem;
}

.subhead {
    color: var(--muted);
    margin: 0;
}

main {
    padding: 0 3vw 3rem;
}

.bracket-board {
    display: grid;
    gap: 1rem;
}

.admin-link {
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
    border-radius: 999px;
    border: none;
    transition: background 0.2s ease, transform 0.2s ease;
}

/* .admin-link:hover {
    background: rgba(255, 255, 255, 0.18);
    transform: translateY(-1px);
} */

.round-section {
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: linear-gradient(180deg, rgba(0, 76, 84, 0.85), rgba(1, 48, 51, 0.9));
    border-radius: 20px;
    padding: 1rem;
    position: relative;
    overflow: hidden;
}

.round-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.round-status {
    font-size: 0.9rem;
    padding: 0.3rem 0.9rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.round-status.open {
    border-color: rgba(155, 201, 13, 0.6);
    background: rgba(155, 201, 13, 0.15);
}


.vote-board {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem 3rem;
}

.active-round-card {
    width: 100%;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    background: linear-gradient(180deg, rgba(1, 23, 24, 0.95), rgba(0, 8, 12, 0.95));
    padding: 2rem;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.6);
}

.active-round-card__header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1.25rem;
}

.active-round-card__header h2 {
    margin: 0.25rem 0 0;
    font-size: 1.9rem;
}

.active-round-card__week {
    margin: 0.5rem 0 0;
    font-size: 0.85rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--accent);
}

.match-card-grid {
    display: grid;
    gap: 1.25rem;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.match-card {
    background: linear-gradient(180deg, rgba(0, 40, 48, 0.85), rgba(1, 9, 12, 0.95));
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
    overflow: hidden;
    position: relative;
}

.match-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent, rgba(121, 167, 10, 0.3));
    mix-blend-mode: screen;
    pointer-events: none;
}

.match-card__content {
    position: relative;
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    min-height: 100%;
}

.match-meta {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--muted);
}

.match-meta-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.match-slot {
    font-size: 0.8rem;
}

.match-status-pill {
    border-radius: 999px;
    padding: 0.2rem 0.8rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
}

.match-status-pill.match-status--live {
    border-color: rgba(155, 201, 13, 0.7);
    background: rgba(155, 201, 13, 0.1);
    color: #d9f442;
}

.match-status-pill.match-status--winner {
    border-color: rgba(121, 167, 10, 0.6);
    background: rgba(121, 167, 10, 0.12);
    color: #9bc90d;
}

.match-status-pill.match-status--closed {
    border-color: rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.6);
}

.match-status-pill.match-status--winner-row {
    border-color: rgba(217, 236, 64, 0.6);
    background: rgba(217, 236, 64, 0.12);
    color: #f2f5d6;
}

.match-status-pill.match-status--saved-winner {
    border-color: rgba(79, 209, 197, 0.8);
    background: rgba(79, 209, 197, 0.1);
    color: #4fd1c5;
}

.match-detail-link {
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--accent);
}

.match-winner {
    display: inline-block;
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--muted);
    padding: 0.2rem 0;
}

.match-winner.visible {
    color: var(--text);
}

.team-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.team-row:last-of-type {
    border-bottom: none;
}

.team-row.winner {
    box-shadow: 0 0 20px rgba(255, 190, 0, 0.3);
}

.team-row__info {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex: 1;
    flex-wrap: wrap;
}

.team-row__actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.team-row__actions .vote-btn {
    min-width: 160px;
}

.team-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.team-name {
    font-size: 1rem;
    font-weight: 600;
}

.team-votes {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.vote-count,
.vote-percent {
    font-weight: 600;
}

.vote-meter {
    display: grid;
    grid-template-columns: 1fr 1fr;
    height: 6px;
    border-radius: 999px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.05);
}

.meter {
    display: block;
    transition: width 0.4s ease;
}

.meter-a {
    background: linear-gradient(120deg, var(--accent), #9bc90d);
}

.meter-b {
    background: linear-gradient(120deg, #41c4ff, #2d89ff);
}

.empty-state {
    text-align: center;
    padding: 2rem 0;
    color: var(--muted);
}

.bracket-page footer {
    text-align: center;
    padding: 2rem 0;
}

@media (max-width: 1024px) {
    .finalist-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 720px) {
    .finalist-grid {
        grid-template-columns: 1fr;
    }
}

.matchup-page {
    background: radial-gradient(circle at top left, rgba(255, 255, 255, 0.05), transparent 55%), var(--bg);
}

.matchup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 3vw 1rem;
}

.matchup-header-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.home-link {
    font-size: 0.9rem;
    border: 1px solid transparent;
    padding: 0.5rem 1rem;
    border-radius: 999px;
    color: var(--accent);
    transition: border 0.2s ease, transform 0.2s ease;
}

.home-link:hover {
    border-color: var(--accent);
    transform: translateY(-1px);
}

.matchup-content {
    padding: 0 3vw 3rem;
}

.matchup-panel {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 2rem;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.55);
}

.matchup-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.round-chip {
    padding: 0.5rem 1rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.round-status-pill {
    padding: 0.4rem 1rem;
    border-radius: 999px;
    border: 1px solid transparent;
    font-size: 0.85rem;
    letter-spacing: 0.05em;
}

.round-status-pill.status-open {
    background: rgba(65, 196, 255, 0.2);
    border-color: rgba(65, 196, 255, 0.4);
}

.round-status-pill.status-closed {
    background: rgba(255, 149, 0, 0.2);
    border-color: rgba(255, 149, 0, 0.4);
}

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

.finalist-panel {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 18px;
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    min-height: 100%;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
}

.finalist-panel--champion {
    border: 2px solid #fff;
    box-shadow: 0 35px 60px rgba(0, 0, 0, 0.55);
}

.finalist-panel__header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
}

.finalist-panel__header .panel-name {
    margin: 0.25rem 0 0;
    font-size: 1.1rem;
}

.finalist-panel__leader {
    margin: 0;
    font-size: 0.65rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: #4fd1c5;
}

.finalist-panel__image {
    width: 100%;
    border-radius: 14px;
    object-fit: cover;
    height: 165px;
}

.finalist-panel__image--placeholder {
    width: 100%;
    height: 165px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.08);
}

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

.finalist-panel__label {
    margin: 0;
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--muted);
}

.finalist-panel__actions {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.5rem;
}

.finalist-panel .vote-btn {
    width: 100%;
    max-width: none;
    border-radius: 12px;
    padding: 0.75rem 1rem;
}

.view-video-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    padding: 0.75rem 1rem;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #000;
    background: #fff;
    transition: border-color 0.2s ease, transform 0.2s ease;
    width: 100%;
}

.view-video-btn:hover {
    border-color: var(--accent);
    transform: translateY(-1px);
}

.weekly-preview {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 2rem;
    box-shadow: 0 25px 45px rgba(0, 0, 0, 0.35);
    margin-top: 2rem;
}

.weekly-preview__header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.weekly-preview__week {
    margin: 0;
    font-size: 0.9rem;
    color: var(--muted);
}

.weekly-preview__message {
    margin: 0;
    font-size: 0.9rem;
    color: var(--muted);
}

.weekly-preview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
}

.weekly-preview-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 18px;
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    min-height: 100%;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.35);
}

.weekly-preview-card__header h3 {
    margin: 0;
    font-size: 1.1rem;
}

.weekly-preview-card__seed {
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--muted);
}

.weekly-preview-card__image {
    width: 100%;
    border-radius: 12px;
    object-fit: cover;
    height: 150px;
}

.weekly-preview-card__image--placeholder {
    width: 100%;
    height: 150px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.08);
}

.weekly-preview-card__video-btn {
    align-self: flex-start;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    padding: 0.5rem 1rem;
    background: transparent;
    color: #fff;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.finalist-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 18px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.35);
}

.finalist-header {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.finalist-header h2 {
    margin: 0;
    font-size: 1.2rem;
}

.finalist-meta {
    margin: 0;
    font-size: 0.9rem;
    color: var(--muted);
}

.finalist-image {
    width: 100%;
    border-radius: 14px;
    object-fit: cover;
    height: 180px;
}

.finalist-links a {
    color: var(--accent);
    font-weight: 600;
}

.vote-display {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
}

.vote-count {
    font-size: 2rem;
    font-weight: 700;
}

.vote-percent {
    font-size: 1.1rem;
    color: var(--muted);
}

.vote-progress {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 999px;
    overflow: hidden;
}

.meter-active {
    display: block;
    height: 100%;
    background: linear-gradient(120deg, var(--accent-strong), var(--accent));
    transition: width 0.4s ease;
}

.vote-btn {
    width: 100%;
    padding: 0.9rem 1rem;
    border-radius: 999px;
    border: none;
    font-size: 1rem;
    background: #ccc;
    color: #333;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s ease, opacity 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 8px 16px rgba(121, 167, 10, 0.35);
}

.vote-btn.is-selected {
    background: linear-gradient(135deg, #d9f442, #79a70a);
    color: #051304;
    box-shadow: 0 12px 30px rgba(121, 167, 10, 0.6);
    transform: translateY(-1px);
}

.matchup-page.vote-cast .vote-btn:not(.is-selected) {
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.75);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.6);
}

.vote-btn.disabled:not(.is-selected) {
    opacity: 0.6;
    cursor: not-allowed;
    background: rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.5);
}

.matchup-page.vote-cast .vote-btn.disabled:not(.is-selected) {
    background: #2f3035;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.35);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.5);
}

.matchup-page.vote-cast .vote-btn.is-selected {
    background: linear-gradient(135deg, #d9f442, #79a70a);
    color: #051304;
    border: 1px solid rgba(217, 236, 64, 0.6);
    box-shadow: 0 16px 36px rgba(121, 167, 10, 0.65);
}

.matchup-banners {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.matchup-actions {
    display: flex;
    justify-content: center;
    perspective: 1000px;
    width: 100%;
    margin-top: 0.5rem;
}

.cast-vote-btn {
    background: rgba(0, 45, 31, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 999px;
    padding: 0.9rem 2.5rem;
    color: var(--text);
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    transition: border 0.2s ease, transform 0.2s ease, opacity 0.2s ease, box-shadow 0.3s ease;
    cursor: not-allowed;
    opacity: 0.35;
    box-shadow: inset 0 0 15px rgba(0, 0, 0, 0.35);
    width: min(320px, 90%);
    text-align: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.cast-vote-btn.active {
    border-color: rgba(255, 255, 255, 0.6);
    background: linear-gradient(135deg, #2f3035, #1f2024);
    color: #fff;
    cursor: pointer;
    opacity: 1;
    transform: translateY(-1px) scale(1.02);
    box-shadow: 0 15px 30px rgba(121, 167, 10, 0.35);
}

.cast-vote-btn.active:hover {
    border-color: #d0ed40;
}

.matchup-alert {
    padding: 0.9rem 1rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    text-align: center;
    color: var(--muted);
    font-weight: 600;
    transition: background 0.2s ease;
}

.matchup-alert.selected {
    background: rgba(155, 201, 13, 0.2);
    color: #fff;
}

.matchup-alert.winner.visible {
    background: rgba(155, 201, 13, 0.25);
    color: #fff;
}

.admin-page .admin-main {
    padding: 0 3vw 3rem;
}

.admin-login {
    max-width: 360px;
    margin: 2rem auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 2rem;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
}

.admin-login label {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    font-size: 0.85rem;
    color: var(--muted);
}

.admin-login input {
    padding: 0.9rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: transparent;
    color: #fff;
}

.admin-login button {
    padding: 0.9rem;
    border-radius: 999px;
    border: none;
    background: linear-gradient(120deg, var(--accent), var(--accent-strong));
    font-weight: 700;
    cursor: pointer;
}

.admin-error {
    color: #ff8b00;
    font-weight: 600;
}

.admin-error--detail {
    font-size: 0.8rem;
    margin-top: 0.25rem;
    color: rgba(255, 139, 0, 0.8);
    line-height: 1.25;
}

.admin-actions {
    margin-bottom: 2rem;
}

.action-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.admin-action {
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: transparent;
    color: #fff;
    padding: 0.6rem 1rem;
    cursor: pointer;
    transition: background 0.2s ease;
}

.week-management {
    margin-bottom: 2rem;
}

.week-management__header {
    margin-bottom: 1rem;
}

.weekly-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
}

.weekly-card {
    padding: 1rem;
    border-radius: 16px;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.03);
}

.weekly-card__header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 0.5rem;
}

.weekly-card--active {
    border-color: rgba(79, 209, 197, 0.8);
    background: rgba(79, 209, 197, 0.05);
    box-shadow: 0 0 0 1px rgba(79, 209, 197, 0.3);
}

.week-active-pill {
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    padding: 0.1rem 0.6rem;
    border-radius: 999px;
    border: 1px solid rgba(79, 209, 197, 0.7);
    color: #4fd1c5;
}

.weekly-card__champion {
    font-size: 0.9rem;
    color: #f6f6ff;
    margin: 0;
    margin-bottom: 0.25rem;
}

.weekly-card__saved {
    font-size: 0.8rem;
    color: var(--muted);
    margin: 0 0 0.75rem;
}

.weekly-card__saved--missing {
    color: #ff8b00;
}

.weekly-card__contestants-label {
    font-size: 0.8rem;
    color: #f6f6ff;
    margin: 0 0 0.5rem;
    font-weight: 600;
}

.weekly-card__contestant-list {
    list-style: none;
    padding: 0;
    margin: 0 0 0.75rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem 0;
}

.weekly-card__contestant-list li {
    font-size: 0.8rem;
    color: #e0e4ff;
}

.weekly-card__vote-count {
    color: var(--muted);
    font-size: 0.75rem;
    margin-left: 0.3rem;
}

.week-status {
    font-size: 0.8rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.week-status--open {
    color: #4fd1c5;
}

.week-status--closed {
    color: #ffb347;
}

.week-status--upcoming {
    color: #a0aec0;
}

.week-action-grid {
    gap: 0.35rem;
}

.admin-action:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.admin-reset {
    margin-top: 1.5rem;
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.02);
}

.admin-reset__body {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: space-between;
    align-items: center;
}

.admin-action--reset {
    background: linear-gradient(135deg, rgba(255, 107, 107, 0.8), rgba(255, 85, 85, 0.9));
    border-color: transparent;
}

.admin-status {
    margin-top: 1rem;
    padding: 0.8rem 1rem;
    border-radius: 14px;
    background: rgba(35, 39, 55, 0.7);
    border: 1px solid var(--border);
}

.round-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1rem;
}

.round-card {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 18px;
    padding: 1.2rem;
    border: 1px solid var(--border);
}

.round-card header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.round-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.round-card li {
    font-size: 0.9rem;
    color: var(--muted);
}

.admin-meta {
    margin-top: 2rem;
    text-align: right;
}

.admin-page .round-status.open {
    color: #4fd1c5;
}

.admin-page .round-status.closed {
    color: #ffb347;
}

*,
*::before,
*::after {
    border-color: var(--border-light);
}

.submission-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(6px);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    z-index: 50;
}

.submission-overlay.is-visible {
    display: flex;
}

.submission-overlay__backdrop {
    position: absolute;
    inset: 0;
    cursor: pointer;
}

.submission-overlay__content {
    position: relative;
    background: rgba(5, 19, 8, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 1.5rem;
    width: min(900px, 100%);
    max-width: 1000px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    z-index: 1;
}

.submission-overlay__close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.8);
    font-size: 2rem;
    cursor: pointer;
    line-height: 1;
}

.submission-overlay__title {
    font-size: 1rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--muted);
}

.submission-overlay__content iframe {
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.25);
}

body.overlay-open {
    overflow: hidden;
}

.rules-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: transparent;
}

.rules-page__content {
    width: min(980px, 100%);
    margin: 0 auto;
    padding: 0 1rem 3rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.rules-panel {
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    background: linear-gradient(180deg, rgba(1, 31, 24, 0.95), rgba(0, 6, 10, 0.95));
    padding: 2rem;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.65);
}

.rules-panel h1 {
    margin: 0 0 0.65rem;
    font-size: 2.3rem;
}

.rules-panel h2 {
    margin: 0 0 0.5rem;
    font-size: 1.6rem;
}

.rules-panel__lead {
    margin: 0 0 1rem;
    color: var(--muted);
    font-size: 1rem;
}

.rules-panel p {
    margin: 0 0 0.75rem;
    line-height: 1.6;
}

.rules-list {
    margin-top: 1rem;
    padding-left: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    color: var(--text);
}

.rules-list li strong {
    display: block;
    font-size: 0.95rem;
}

.rules-list li ul {
    margin: 0.35rem 0 0;
    padding-left: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.rules-timeline {
    list-style: none;
    margin: 1rem 0 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    color: var(--text);
}

.rules-timeline li strong {
    display: block;
    font-size: 0.95rem;
}

.rules-panel__badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.8rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 0.75rem;
}
