/* ------------------------------
   GOOGLE FONTS
--------------------------------*/
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Orbitron:wght@700&family=League+Spartan:wght@400;600;700;800&family=Archivo:wght@300;400;500;600&display=swap');

/* ------------------------------
   GLOBAL RESET + BASE COLORS
--------------------------------*/
html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    overflow-x: hidden;
    background: linear-gradient(180deg, #0a2318 0%, #061610 100%);
    background-attachment: fixed;
    background-color: #0a2318;
    font-family: 'Archivo', sans-serif;
    -webkit-font-smoothing: antialiased;
}

body {
    padding-top: 65px !important;
}

/* Headings */
h1, h2 {
    font-family: 'Bebas Neue', sans-serif;
    font-weight: 400;
    letter-spacing: 3px;
    text-align: center;
    margin-top: 0;
    color: #c9a84c;
    border-bottom: 1px solid rgba(201, 168, 76, 0.3);
    padding-bottom: 8px;
}

/* ------------------------------
   VIEW CONTAINERS
--------------------------------*/
#landingView,
#gameView,
#recapView {
    width: 100%;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding-top: 20px;
    box-sizing: border-box;
}

/* ------------------------------
   CARD LAYOUT
--------------------------------*/
.cardView {
    max-width: 600px;
    width: 100%;
    margin: 0 auto;
    background-color: #0d1f14;
    padding: 28px;
    border-radius: 10px;
    border: 1px solid rgba(201, 168, 76, 0.4);
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.6);
    box-sizing: border-box;
    position: relative;
}

/* Gold top accent line on cards */
.cardView::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #c9a84c, transparent);
    border-radius: 10px 10px 0 0;
}

/* ------------------------------
   SETUP CARDS
--------------------------------*/
.setupCard {
    width: 100%;
    max-width: 420px;
    background: rgba(13, 31, 20, 0.8);
    border: 1px solid rgba(201, 168, 76, 0.3);
    border-radius: 10px;
    padding: 20px 22px;
    margin-bottom: 16px;
    box-sizing: border-box;
}

.setupCard h3 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.3rem;
    font-weight: 400;
    letter-spacing: 2px;
    color: #c9a84c;
    margin-bottom: 6px;
    text-align: left;
    border-bottom: none;
    padding-bottom: 0;
}

/* ------------------------------
   BUTTONS
--------------------------------*/
.primaryBtn {
    display: block;
    width: 100%;
    max-width: 260px;
    margin: 25px auto 0 auto;
    padding: 14px 20px;
    background: linear-gradient(135deg, #c9a84c, #8a6e2a);
    color: #070f0a !important;
    -webkit-text-fill-color: #070f0a !important;
    border: none;
    border-radius: 8px;
    font-family: 'Bebas Neue', sans-serif;
    font-weight: 400;
    font-size: 1.2rem;
    letter-spacing: 2px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 12px rgba(201, 168, 76, 0.3);
}

.primaryBtn:hover {
    background: linear-gradient(135deg, #e8c060, #c9a84c);
    box-shadow: 0 4px 20px rgba(201, 168, 76, 0.5);
    transform: translateY(-1px);
}

.primaryBtn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    transform: none;
}

.primaryBtn,
.primaryBtn:active,
.primaryBtn:focus,
.primaryBtn:visited {
    color: #070f0a !important;
    -webkit-text-fill-color: #070f0a !important;
}

/* Seed button */
#seedBtn,
#seedBtn:active,
#seedBtn:focus,
#seedBtn:visited {
    display: block;
    margin: 10px auto 0 auto;
    background: none;
    border: none;
    color: rgba(201, 168, 76, 0.5) !important;
    -webkit-text-fill-color: rgba(201, 168, 76, 0.5) !important;
    font-family: 'Archivo', sans-serif;
    font-size: 0.75rem;
    font-weight: 400;
    cursor: pointer;
    text-decoration: underline;
    opacity: 0.85;
    transition: opacity 0.2s ease;
    letter-spacing: 0.4px;
}

#seedBtn:hover {
    opacity: 1;
}

/* Player option buttons */
#playerOptions button {
    display: block;
    width: 100%;
    padding: 18px 14px;
    margin: 12px 0;
    font-size: 1rem;
    font-family: 'League Spartan', sans-serif;
    font-weight: 600;
    background-color: #162b1e;
    color: #e0d4bc !important;
-webkit-text-fill-color: #e0d4bc !important;
    border: 1px solid rgba(201, 168, 76, 0.3);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}

#playerOptions button:hover {
    background-color: #1e3828;
    border-color: #c9a84c;
    transform: scale(1.02);
}

/* Global button color reset — scoped carefully */
button {
    color: #e0d4bc;
    -webkit-text-fill-color: #e0d4bc;
}

/* ------------------------------
   RECAP TABLE
--------------------------------*/
#recapTable {
    width: 100%;
    table-layout: fixed;
    border-collapse: collapse;
    margin-top: 20px;
    background-color: transparent;
}

#recapTable th:nth-child(1),
#recapTable td:nth-child(1) { width: 42.5%; }

#recapTable th:nth-child(2),
#recapTable td:nth-child(2) { width: 15%; }

#recapTable th:nth-child(3),
#recapTable td:nth-child(3) { width: 42.5%; }

#recapTable thead th {
    background: none;
    color: #c9a84c;
    font-family: 'League Spartan', sans-serif;
    font-weight: 800;
    font-size: 0.75rem;
    text-transform: uppercase;
    padding: 8px 0;
    letter-spacing: 1.5px;
    border-bottom: 1px solid rgba(201, 168, 76, 0.3);
}

#recapTable td {
    padding: 10px;
    vertical-align: top;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 0.95rem;
    color: #e0d4bc;
}

.recap-center {
    text-align: center;
    font-size: 0.9rem;
    line-height: 1.1;
    font-weight: bold;
    color: #e0d4bc;
}

.recap-pos {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 2px;
}

.recap-division {
    font-size: 0.85rem;
    opacity: 0.9;
}

.recap-totals,
#accuracy {
    text-align: center;
    margin-top: 10px;
    font-weight: bold;
    color: #e0d4bc;
    font-size: 0.95rem;
}

#summary {
    text-align: center;
    margin-top: 20px;
}

/* ------------------------------
   GRADE BADGES — UNTOUCHED
--------------------------------*/
.gradeBadge {
    display: inline-block;
    padding: 4px 18px;
    font-size: 1.2rem;
    font-weight: bold;
    border-radius: 50px;
    color: #F7F4E9;
    margin-top: 4px;
    margin-bottom: 4px;
    text-align: center;
}

.gradeBadge.Aplus  { background-color: #33A86B; }
.gradeBadge.A      { background-color: #2E8B57; }
.gradeBadge.Aminus { background-color: #267447; }
.gradeBadge.Bplus  { background-color: #4A82C0; }
.gradeBadge.B      { background-color: #3A6EA5; }
.gradeBadge.Bminus { background-color: #315C8A; }
.gradeBadge.Cplus  { background-color: #D8B75A; }
.gradeBadge.C      { background-color: #C9A44C; }
.gradeBadge.Cminus { background-color: #B38F3F; }
.gradeBadge.Dplus  { background-color: #E6A53A; }
.gradeBadge.D      { background-color: #D98E04; }
.gradeBadge.Dminus { background-color: #B87403; }
.gradeBadge.F      { background-color: #B22222; }

/* ------------------------------
   POSITION COLORS — UNTOUCHED
--------------------------------*/
td.pos-QB { background-color: rgba(255, 42, 109, 0.35); }
td.pos-RB { background-color: rgba(0, 206, 184, 0.35); }
td.pos-WR { background-color: rgba(88, 167, 255, 0.35); }
td.pos-TE { background-color: rgba(255, 140, 0, 0.35); }

/* ------------------------------
   AFC / NFC COLORS — UNTOUCHED
--------------------------------*/
.nfc-division { color: #4285F4; }
.afc-division { color: #EA4335; }

/* ------------------------------
   TOTALS ROW
--------------------------------*/
#recapTable .totals-row td {
    text-align: center;
    font-size: 1.2rem;
    font-weight: 700;
    padding: 16px 0;
    background-color: rgba(201, 168, 76, 0.06);
    border-top: 2px solid rgba(201, 168, 76, 0.4);
    letter-spacing: 1px;
    color: #e0d4bc;
}

#recapTable tfoot td {
    text-align: center;
    font-size: 1.15rem;
    font-weight: 700;
    padding-top: 12px;
    padding-bottom: 8px;
    color: #e0d4bc;
    border-top: 1px solid rgba(201, 168, 76, 0.3);
}

#recapTable td:nth-child(1) {
    position: relative;
}

/* ------------------------------
   PLAYER CARD
--------------------------------*/
.player-card {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-box {
    width: 48px;
    height: 48px;
    background-color: rgba(255, 255, 255, 0.06);
    border-radius: 6px;
    flex-shrink: 0;
}

.logo-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 6px;
}

.player-info {
    white-space: nowrap;
    overflow: hidden;
}

.player-name {
    font-size: clamp(0.75rem, 2.5vw, 1.05rem);
    color: #e0d4bc;
    white-space: nowrap;
    overflow: hidden;
}

.player-meta {
    font-size: 0.85rem;
    opacity: 0.9;
    color: #e0d4bc;
}

.player-points {
    font-weight: 700;
    font-size: 0.95rem;
    color: #ffd700;
}

/* ------------------------------
   BEST BADGE
--------------------------------*/
.best-badge {
    position: absolute;
    right: -12px;
    top: 50%;
    transform: translateY(-50%);
    width: 28px;
    height: 28px;
    background-color: #2E8B57;
    color: #F7F4E9;
    border-radius: 50%;
    font-size: 0.75rem;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #C9A44C;
    box-shadow: 0 2px 4px rgba(0,0,0,0.4);
    z-index: 5;
}

/* ------------------------------
   MINI FOOTBALL FIELD PROGRESS — UNTOUCHED
--------------------------------*/
#draftProgress {
    width: 100%;
    max-width: 600px;
    margin: 20px auto;
    display: none;
}

.field {
    position: relative;
    width: 100%;
    height: 50px;
    background: rgba(11, 61, 46, 0.85);
    border: 2px solid #C9A44C;
    border-radius: 6px;
    overflow: hidden;
}

.yard-lines {
    position: absolute;
    top: 2px;
    left: 0;
    width: 100%;
    height: 100%;
    display: grid;
    grid-template-columns: repeat(10, 1fr);
    align-items: start;
    padding: 0 6px;
    font-size: 0.7rem;
    color: #F7F4E9;
    pointer-events: none;
}

.yard-lines span {
    text-align: center;
    position: relative;
}

.yard-lines span::after {
    content: "";
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 26px;
    background-color: rgba(255,255,255,0.35);
    border-radius: 1px;
}

.yard-lines .endzone {
    font-size: 0.6rem;
    font-weight: bold;
}

#football {
    position: absolute;
    top: 14px;
    left: 0%;
    width: 34px;
    height: 22px;
    background-color: #8B4513;
    border-radius: 50% / 60%;
    border: 2px solid #5A2E0C;
    transition: left 0.4s ease;
    transform-origin: center;
}

#football::after {
    content: "";
    position: absolute;
    top: 9px;
    left: 7px;
    width: 18px;
    height: 3px;
    background-color: #F7F4E9;
    border-radius: 2px;
}

/* ------------------------------
   ANIMATIONS — UNTOUCHED
--------------------------------*/
@keyframes footballBounce {
    0%   { transform: translateY(0); }
    30%  { transform: translateY(-10px); }
    60%  { transform: translateY(0); }
    80%  { transform: translateY(-4px); }
    100% { transform: translateY(0); }
}

@keyframes footballSprint {
    0%   { transform: translateY(0); }
    20%  { transform: translateY(-12px); }
    40%  { transform: translateY(0); }
    60%  { transform: translateY(-6px); }
    100% { transform: translateY(0); }
}

@keyframes fieldFlash {
    0%   { background-color: rgba(11, 61, 46, 0.85); }
    50%  { background-color: #C9A44C; }
    100% { background-color: rgba(11, 61, 46, 0.85); }
}

@keyframes fadeOutScreen {
    from { opacity: 1; }
    to   { opacity: 0; }
}

@keyframes clockPulse {
    from { opacity: 1; }
    to   { opacity: 0; }
}

/* ------------------------------
   LANDING VIEW
--------------------------------*/
#landingView {
    min-height: 100vh;
    padding: 40px 20px;
    padding-top: calc(20px + env(safe-area-inset-top));
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    background: linear-gradient(180deg, #0a2318 0%, #061610 100%);
    color: #e0d4bc;
    text-align: center;
}

/* Game Title */
#gameTitle {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 3.5rem;
    font-weight: 400;
    letter-spacing: 5px;
    margin-top: 10px;
    margin-bottom: 6px;
    color: #c9a84c;
    text-shadow: 0 0 30px rgba(201, 168, 76, 0.3);
    border-bottom: none;
}

/* Tagline */
.landing-tagline {
    text-align: center;
    font-size: 1rem;
    color: #8a7e6a;
    margin-top: 0;
    margin-bottom: 28px;
    font-style: italic;
    letter-spacing: 0.6px;
    font-family: 'Archivo', sans-serif;
    opacity: 0.95;
}

/* ------------------------------
   DIFFICULTY SELECTOR
--------------------------------*/
#difficultySelector {
    position: relative;
    width: 100%;
    max-width: 360px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(201, 168, 76, 0.4);
    border-radius: 12px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    padding: 6px;
    margin: 0 auto;
}

#difficultySlider {
    position: absolute;
    top: 6px;
    left: 6px;
    width: calc(33.33% - 12px);
    height: calc(100% - 12px);
    background: linear-gradient(135deg, #c9a84c, #8a6e2a);
    border-radius: 8px;
    transition: left 0.35s ease;
    z-index: 1;
}

.difficultyOption {
    text-align: center;
    padding: 12px 0;
    font-family: 'League Spartan', sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
    color: #e0d4bc;
    z-index: 2;
    cursor: pointer;
    user-select: none;
    letter-spacing: 0.5px;
}

/* ------------------------------
   START BUTTON
--------------------------------*/
#startBtn.primaryBtn {
    width: 100%;
    max-width: 300px;
    padding: 14px 0;
    font-size: 1.4rem;
    letter-spacing: 3px;
    background: linear-gradient(135deg, #c9a84c, #8a6e2a);
    color: #070f0a !important;
    -webkit-text-fill-color: #070f0a !important;
    border: none;
    border-radius: 10px;
    box-shadow: 0 4px 0 #4a3a10, 0 2px 12px rgba(201, 168, 76, 0.3);
    transition: transform 0.1s ease, box-shadow 0.1s ease;
    position: relative;
    z-index: 5;
}

#startBtn.primaryBtn:active {
    transform: translateY(3px);
    box-shadow: 0 1px 0 #4a3a10;
}

/* ------------------------------
   MICRO EXPLAIN + DISCLAIMER
--------------------------------*/
.microExplain {
    font-size: 0.78rem;
    line-height: 1.4;
    opacity: 0.6;
    margin-top: -4px;
    margin-bottom: 12px;
    color: #8a7e6a;
    font-family: 'Archivo', sans-serif;
}

.dataDisclaimer {
    font-size: 0.72rem;
    opacity: 0.45;
    text-align: center;
    margin-top: 20px;
    color: #8a7e6a;
}

/* ------------------------------
   CHIPS (DECADE SELECTOR)
--------------------------------*/
.chip-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: center;
    margin: 10px 0 20px;
}

.chip-row {
    display: flex;
    gap: 8px;
    justify-content: center;
}

.chip {
    padding: 6px 14px;
    border-radius: 999px;
    border: 1px solid rgba(201, 168, 76, 0.3);
    background: rgba(0, 0, 0, 0.2);
    color: #8a7e6a;
    font-size: 0.85rem;
    font-family: 'League Spartan', sans-serif;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s ease;
    text-align: center;
    letter-spacing: 0.5px;
}

.chip:hover {
    transform: translateY(-1px);
    border-color: #c9a84c;
    color: #e0d4bc;
}

.chip.active {
    background: linear-gradient(135deg, #c9a84c, #8a6e2a);
    color: #070f0a;
    border-color: #c9a84c;
}

/* ------------------------------
   TIMER TOGGLE
--------------------------------*/
.timerToggleRow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 8px;
}

.timerToggleLabel {
    font-family: 'League Spartan', sans-serif;
    font-size: 0.85rem;
    color: #8a7e6a;
    opacity: 0.75;
}

.toggleSwitch {
    position: relative;
    display: inline-block;
    cursor: pointer;
}

.toggleSwitch input {
    display: none;
}

.toggleTrack {
    display: block;
    width: 52px;
    height: 28px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(201, 168, 76, 0.3);
    border-radius: 999px;
    position: relative;
    transition: background 0.25s ease, border-color 0.25s ease;
}

.toggleThumb {
    position: absolute;
    top: 3px;
    left: 3px;
    width: 18px;
    height: 18px;
    background: #8a7e6a;
    border-radius: 50%;
    transition: left 0.25s ease;
}

.toggleSwitch input:checked + .toggleTrack {
    background: rgba(201, 168, 76, 0.2);
    border-color: #c9a84c;
}

.toggleSwitch input:checked + .toggleTrack .toggleThumb {
    left: 27px;
    background: #c9a84c;
}

.timerPreview {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.1rem;
    letter-spacing: 2px;
    color: #c9a84c;
    min-width: 40px;
    opacity: 0.5;
    transition: opacity 0.2s ease;
}

.toggleSwitch input:checked ~ .timerPreview {
    opacity: 1;
}

/* ------------------------------
   GAME CLOCK — UNTOUCHED
--------------------------------*/
.game-clock {
    font-family: 'Orbitron', monospace;
    font-size: 1.4rem;
    font-weight: 700;
    color: #ff2222;
    background: #000;
    border: 2px solid #ff2222;
    border-radius: 6px;
    padding: 4px 10px;
    letter-spacing: 3px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.5);
    min-width: 90px;
    text-align: center;
    display: block;
    margin: 16px auto 0 auto;
    width: fit-content;
}

.game-clock.urgent {
    animation: clockPulse 0.5s ease infinite alternate;
}

/* ------------------------------
   SEED MODAL
--------------------------------*/
.modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.7);
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.modalContent {
    background: #0d1f14;
    border: 1px solid rgba(201, 168, 76, 0.5);
    padding: 32px 28px;
    border-radius: 10px;
    width: 85%;
    max-width: 350px;
    text-align: center;
    box-shadow: 0 8px 40px rgba(0,0,0,0.7);
    position: relative;
}

.modalContent::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #c9a84c, transparent);
    border-radius: 10px 10px 0 0;
}

.modalContent h3 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.8rem;
    font-weight: 400;
    color: #c9a84c;
    margin-bottom: 8px;
    letter-spacing: 3px;
    border-bottom: none;
    padding-bottom: 0;
}

.seedModalSubtitle {
    font-size: 0.78rem;
    color: #8a7e6a;
    font-family: 'Archivo', sans-serif;
    opacity: 0.85;
    line-height: 1.4;
    margin-top: -4px;
    margin-bottom: 16px;
    letter-spacing: 0.3px;
}

.modalContent input {
    width: 100%;
    padding: 10px 14px;
    border-radius: 8px;
    border: 1px solid rgba(201, 168, 76, 0.4);
    background: rgba(7, 15, 10, 0.8);
    color: #e0d4bc;
    font-family: 'League Spartan', sans-serif;
    font-size: 1rem;
    text-align: center;
    box-sizing: border-box;
    outline: none;
    transition: border-color 0.2s ease;
}

.modalContent input:focus {
    border-color: #c9a84c;
    box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.1);
}

.modalContent input::placeholder {
    color: rgba(138, 126, 106, 0.5);
}

.modalActions {
    margin-top: 20px;
    display: flex;
    justify-content: space-between;
    gap: 10px;
}

#cancelSeedBtn,
#cancelSeedBtn:active,
#cancelSeedBtn:focus,
#cancelSeedBtn:visited {
    flex: 1;
    width: auto;
    max-width: none;
    margin: 0;
    padding: 10px 0;
    background: transparent;
    border: 1px solid rgba(201, 168, 76, 0.25);
    border-radius: 8px;
    color: #8a7e6a !important;
    -webkit-text-fill-color: #8a7e6a !important;
    font-family: 'League Spartan', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

#cancelSeedBtn:hover {
    border-color: #8a7e6a;
    color: #e0d4bc !important;
    -webkit-text-fill-color: #e0d4bc !important;
}

#useSeedBtn,
#useSeedBtn:active,
#useSeedBtn:focus,
#useSeedBtn:visited {
    flex: 1;
    width: auto;
    max-width: none;
    margin: 0;
    padding: 10px 0;
    background: linear-gradient(135deg, #c9a84c, #8a6e2a);
    border: none;
    border-radius: 8px;
    color: #070f0a !important;
    -webkit-text-fill-color: #070f0a !important;
    font-family: 'League Spartan', sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
}

#useSeedBtn:hover {
    background: linear-gradient(135deg, #e8c060, #c9a84c);
}

/* ------------------------------
   SEED DISPLAY
--------------------------------*/
#seedDisplay {
    font-size: 0.72rem;
    color: #8a7e6a;
    text-align: right;
    letter-spacing: 0.4px;
    font-family: 'Archivo', sans-serif;
    opacity: 0.7;
    margin-top: 12px;
}

/* ------------------------------
   RECAP META
--------------------------------*/
.recap-meta-top-right {
    position: absolute;
    top: 12px;
    right: 16px;
    font-size: 0.72rem;
    color: #8a7e6a;
    text-align: right;
    letter-spacing: 0.4px;
    font-family: 'Archivo', sans-serif;
    opacity: 0.7;
}

/* ------------------------------
   PERFECT DRAFT BADGE
--------------------------------*/
.perfect-draft-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: linear-gradient(135deg, #2E8B57, #1f5e3a);
    border: 3px solid #C9A44C;
    box-shadow: 0 4px 16px rgba(0,0,0,0.5), 0 0 20px rgba(201, 168, 76, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 1.05rem;
    font-weight: 900;
    color: #F7F4E9;
    line-height: 1.1;
    padding: 0;
    box-sizing: border-box;
    pointer-events: none;
    z-index: 30;
}

/* ------------------------------
   COACH COMPARISON
--------------------------------*/
.coach-comparison {
    margin-top: 10px;
    font-size: 1.1rem;
    font-weight: 700;
    color: #8a7e6a;
    text-align: center;
    font-family: 'Archivo', sans-serif;
}

/* ------------------------------
   RECAP BUTTONS
--------------------------------*/
.recap-buttons {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 12px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.recap-buttons .primaryBtn {
    width: auto;
    flex: 1;
    max-width: 200px;
    min-width: 120px;
    margin: 0;
}

/* ------------------------------
   BACK + EXIT BUTTONS
--------------------------------*/
.back-btn,
.exit-btn {
    position: absolute;
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: 600;
    color: #8a7e6a !important;
    -webkit-text-fill-color: #8a7e6a !important;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(201, 168, 76, 0.25);
    border-radius: 50%;
    backdrop-filter: blur(6px);
    cursor: pointer;
    transition: all 0.18s ease;
    z-index: 20;
}

.back-btn {
    top: 10px;
    left: 10px;
}

.exit-btn {
    top: 10px;
    right: 10px;
}

.back-btn:hover,
.exit-btn:hover {
    background: rgba(201, 168, 76, 0.1);
    border-color: #c9a84c;
    color: #c9a84c !important;
    -webkit-text-fill-color: #c9a84c !important;
    transform: translateY(-1px);
}

/* ------------------------------
   SELECTED PLAYER — UNTOUCHED
--------------------------------*/
.selected-player {
    background-color: #2e8b57 !important;
    color: white !important;
    -webkit-text-fill-color: white !important;
    border: 2px solid #1f5e3a !important;
}

/* ------------------------------
   BRICK
--------------------------------*/
td.pos-brick {
    background-color: rgba(150, 150, 150, 0.1);
}

.brick-box {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    line-height: 1;
    background-color: rgba(150, 150, 150, 0.1) !important;
    overflow: hidden;
}

/* ------------------------------
   ROUND HEADER ROW
--------------------------------*/
.round-header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    margin-bottom: 10px;
}

.round-header-row h2 {
    flex: 1;
    text-align: center;
    margin: 0;
}

.back-btn {
    margin-right: auto;
}

/* ------------------------------
   MOBILE — FULL SCREEN
--------------------------------*/
@media (max-width: 480px) {
    html, body {
        background: linear-gradient(180deg, #0a2318 0%, #061610 100%) !important;
        background-color: #0a2318 !important;
    }

    #landingView,
    #gameView,
    #recapView {
        width: 100vw !important;
        min-height: 100vh !important;
        padding: 0 !important;
        padding-top: calc(65px + env(safe-area-inset-top)) !important;
        margin: 0 !important;
        background: linear-gradient(180deg, #0a2318 0%, #061610 100%) !important;
        display: block;
    }

    .cardView {
        width: 100vw !important;
        max-width: 100vw !important;
        margin: 0 !important;
        padding: 20px 16px !important;
        border-radius: 0 !important;
        border-left: none !important;
        border-right: none !important;
        box-shadow: none !important;
        background-color: #0d1f14 !important;
    }

    #draftProgress {
        width: 100vw !important;
        max-width: 100vw !important;
        margin: 12px 0 !important;
    }

    .field {
        border-radius: 0 !important;
    }

    .logo-box {
        width: 32px !important;
        height: 32px !important;
    }

    .player-card {
        gap: 8px !important;
    }

    .player-meta {
        font-size: 0.75rem !important;
    }

    .player-points {
        font-size: 0.85rem !important;
    }

    #recapTable td {
        padding: 6px 4px !important;
        font-size: 0.85rem !important;
    }

    #recapTable th {
        padding: 6px !important;
        font-size: 0.75rem !important;
    }

    .gradeBadge {
        font-size: 1rem !important;
        padding: 3px 14px !important;
    }

    .recap-center .recap-pos,
    .recap-center .recap-division {
        font-size: 0.65rem !important;
        line-height: 1.1 !important;
    }

    #summary {
        margin-top: 10px !important;
        margin-bottom: 10px !important;
    }

    #recapTable {
        margin-top: 10px !important;
    }

    .recap-totals,
    #accuracy {
        margin-top: 6px !important;
        font-size: 0.85rem !important;
    }
}

/* ------------------------------
   MOBILE PROGRESS BAR
--------------------------------*/
@media (max-width: 600px) {
    #draftProgress {
        width: 100%;
        max-width: 100% !important;
        margin: 16px 0;
        overflow: hidden;
    }

    .yard-lines {
        padding: 0 2px !important;
        font-size: 0.6rem;
    }

    #football {
        width: 30px;
        height: 20px;
        top: 15px;
    }
}

/* ------------------------------
   SITE HEADER OVERRIDES
--------------------------------*/
.site-header {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 65px !important;
    z-index: 9999 !important;
    background-color: rgba(7, 15, 10, 0.97) !important;
    border-bottom: 1px solid rgba(201, 168, 76, 0.3) !important;
    padding: 0 24px !important;
    box-sizing: border-box !important;
    display: flex !important;
    align-items: center !important;
    backdrop-filter: blur(12px) !important;
}

.site-header .header-inner {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 0 !important;
}

.site-header .site-title {
    font-family: 'Bebas Neue', sans-serif !important;
    font-size: 1.9rem !important;
    color: #c9a84c !important;
    letter-spacing: 4px !important;
    border-bottom: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.site-header .btn-secondary {
    background-color: #162b1e !important;
    color: #e0d4bc !important;
    -webkit-text-fill-color: #e0d4bc !important;
    padding: 7px 16px !important;
    border-radius: 6px !important;
    border: 1px solid rgba(201, 168, 76, 0.4) !important;
    font-family: 'League Spartan', sans-serif !important;
    font-size: 0.82rem !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    letter-spacing: 0.8px !important;
    text-transform: uppercase !important;
}

.site-header .btn-logout {
    color: #8a7e6a !important;
    -webkit-text-fill-color: #8a7e6a !important;
    border: 1px solid rgba(138, 126, 106, 0.4) !important;
    padding: 7px 14px !important;
    border-radius: 6px !important;
    font-family: 'League Spartan', sans-serif !important;
    font-size: 0.82rem !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    letter-spacing: 0.8px !important;
    text-transform: uppercase !important;
    background: transparent !important;
}

.dailyChallengeBtn-wrap {
    width: 100%;
    max-width: 420px;
    margin: 0 auto 20px auto;
    text-align: center;
}

.dailyChallengeBtn {
    display: block;
    width: 100%;
    padding: 16px 20px;
    background: linear-gradient(135deg, #c9a84c, #8a6e2a);
    color: #070f0a !important;
    -webkit-text-fill-color: #070f0a !important;
    border: none;
    border-radius: 10px;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.4rem;
    font-weight: 400;
    letter-spacing: 3px;
    cursor: pointer;
    box-shadow: 0 4px 0 #4a3a10, 0 2px 12px rgba(201, 168, 76, 0.3);
    transition: transform 0.1s ease, box-shadow 0.1s ease;
    text-decoration: none;
}

.dailyChallengeBtn:hover {
    background: linear-gradient(135deg, #e8c060, #c9a84c);
    transform: translateY(-1px);
    box-shadow: 0 5px 0 #4a3a10, 0 4px 20px rgba(201, 168, 76, 0.5);
}

.dailyChallengeBtn:active {
    transform: translateY(3px);
    box-shadow: 0 1px 0 #4a3a10;
}

.dailyChallengeBtn-done {
    background: rgba(255,255,255,0.05) !important;
    color: #8a7e6a !important;
    -webkit-text-fill-color: #8a7e6a !important;
    border: 1px solid rgba(201, 168, 76, 0.2) !important;
    box-shadow: none !important;
    cursor: not-allowed !important;
    opacity: 0.6;
    letter-spacing: 2px;
}

.dailyChallengeBtn-done:hover {
    transform: none !important;
    box-shadow: none !important;
    background: rgba(255,255,255,0.05) !important;
}

.dailyChallengeBtn-guest {
    background: transparent !important;
    color: #c9a84c !important;
    -webkit-text-fill-color: #c9a84c !important;
    border: 1px solid rgba(201, 168, 76, 0.4) !important;
    box-shadow: none !important;
    letter-spacing: 2px;
}

.dailyChallengeBtn-guest:hover {
    background: rgba(201, 168, 76, 0.08) !important;
    border-color: #c9a84c !important;
    box-shadow: none !important;
}
.dailyLeaderboardContent {
    max-height: 80vh;
    overflow-y: auto;
    width: 90%;
    max-width: 420px;
}

.daily-your-result {
    background: rgba(201, 168, 76, 0.08);
    border: 1px solid rgba(201, 168, 76, 0.3);
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 16px;
    text-align: center;
}

.daily-your-result .result-grade {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2rem;
    color: #c9a84c;
    letter-spacing: 3px;
    margin-bottom: 4px;
}

.daily-your-result .result-picks {
    font-family: 'Archivo', sans-serif;
    font-size: 0.85rem;
    color: #8a7e6a;
}

.daily-rank-line {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.4rem;
    letter-spacing: 2px;
    color: #e0d4bc;
    text-align: center;
    margin-bottom: 16px;
}

.daily-leaderboard-list {
    width: 100%;
}

.daily-leaderboard-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 8px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    font-family: 'Archivo', sans-serif;
    font-size: 0.9rem;
    color: #e0d4bc;
}

.daily-leaderboard-row.is-you {
    background: rgba(201, 168, 76, 0.1);
    border-radius: 6px;
    border-bottom: none;
    margin-bottom: 2px;
}

.daily-leaderboard-row .row-rank {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.1rem;
    color: #8a7e6a;
    min-width: 30px;
}

.daily-leaderboard-row.is-you .row-rank {
    color: #c9a84c;
}

.daily-leaderboard-row .row-name {
    flex: 1;
    padding: 0 10px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.daily-leaderboard-row.is-you .row-name {
    color: #c9a84c;
    font-weight: 600;
}

.daily-leaderboard-row .row-grade {
    font-weight: 700;
    min-width: 40px;
    text-align: center;
}

.daily-leaderboard-row .row-picks {
    font-size: 0.8rem;
    color: #8a7e6a;
    min-width: 50px;
    text-align: right;
}

.daily-leaderboard-header {
    display: flex;
    justify-content: space-between;
    padding: 0 8px 8px 8px;
    font-family: 'League Spartan', sans-serif;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #8a7e6a;
    border-bottom: 1px solid rgba(201, 168, 76, 0.2);
    margin-bottom: 8px;
}
#modeSelector {
    position: relative;
    width: 100%;
    max-width: 360px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(201, 168, 76, 0.4);
    border-radius: 12px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    padding: 6px;
    margin: 0 auto;
}

#modeSlider {
    position: absolute;
    top: 6px;
    left: 6px;
    width: calc(33.33% - 12px);
    height: calc(100% - 12px);
    background: linear-gradient(135deg, #c9a84c, #8a6e2a);
    border-radius: 8px;
    transition: left 0.35s ease;
    z-index: 1;
}

.modeOption {
    text-align: center;
    padding: 12px 0;
    font-family: 'League Spartan', sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
    color: #e0d4bc;
    z-index: 2;
    cursor: pointer;
    user-select: none;
    letter-spacing: 0.5px;
}