.survivor-main{max-width:1280px;margin:auto;padding:24px 5vw 64px}.survivor-main h1{font-size:clamp(32px,5vw,56px);line-height:1.1;letter-spacing:-.04em;margin:10px 0}.survivor-main h2{font-size:26px;line-height:1.2;margin:8px 0}.survivor-main p{line-height:1.6}.survivor-main a{color:var(--gold)}.survivor-main .test-banner{padding:16px;display:flex;gap:16px;font-size:14px}.survivor-heading{display:flex;align-items:center;justify-content:space-between;gap:24px;margin:32px 0 24px}.survivor-heading p{color:var(--muted)}.primary-action,.secondary-action{display:inline-flex;align-items:center;justify-content:center;text-decoration:none;font:700 15px/1.4 inherit;border-radius:5px;padding:13px 20px;cursor:pointer;min-height:46px;transition:background .15s,border-color .15s}.survivor-main .primary-action{background:var(--gold);color:#141b25;border:1px solid var(--gold)}.survivor-main .secondary-action{background:#182332;color:#e7edf2;border:1px solid #587084}.survivor-main button:disabled{opacity:.45;cursor:not-allowed}.survivor-main :is(button,a,input,select):focus-visible{outline:2px solid var(--gold);outline-offset:4px}.rules-strip{display:flex;gap:32px;flex-wrap:wrap;padding:22px 0;border-block:1px solid var(--line);color:var(--muted)}.rules-strip b{display:block;color:var(--gold);font-size:14px;margin-bottom:5px}.section-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin:32px 0 18px}.section-heading p{margin:5px 0;color:var(--muted)}.survivor-contests{display:grid;gap:12px}.survivor-contest{display:flex;align-items:center;justify-content:space-between;gap:20px;background:#151e2b;border:1px solid var(--line);padding:22px;border-radius:5px}.survivor-contest h3{font-size:23px;margin:8px 0}.survivor-contest p{margin:0;color:var(--muted)}.create-game{margin-top:44px;border-top:1px solid var(--line);padding-top:32px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin:24px 0}.survivor-main label{display:grid;gap:8px;font-size:15px;color:#cdd7e2}.survivor-main input,.survivor-main select{min-width:0;width:100%;padding:12px;background:#151e2b;color:#edf0f5;border:1px solid #526376;border-radius:5px;font:inherit}.eyebrow{font-size:12px!important;letter-spacing:1.3px}.muted{color:var(--muted)}.back-link{display:inline-block;margin-top:24px;text-decoration:none}.survivor-score{text-align:center;background:#172231;border:1px solid #415268;padding:16px 28px;border-radius:5px}.survivor-score strong{display:block;font-size:50px;color:#f0e5c3;line-height:1.2}.survivor-score span{font-size:12px;letter-spacing:1px}.survivor-main .contest-tabs{margin-top:26px}.survivor-main [data-panel]{padding-top:1px;scroll-margin-top:100px}.join-area{padding:20px;border:1px solid #587084;margin-top:20px;background:#182332}.team-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.team-choice{text-align:left;background:#151e2b;border:1px solid #344151;border-radius:5px;padding:16px;color:var(--cream);cursor:pointer;transition:background .15s,border-color .15s}.team-choice:hover:not(:disabled),.team-choice[aria-pressed=true]{background:#243245;border-color:var(--gold)}.team-choice strong{display:block;font-size:22px;color:#ead49a}.team-choice span{display:block;font-size:14px;margin-top:8px}.team-choice small{display:block;font-size:12px;color:#a8b8c8;margin-top:8px}.selection-bar{position:sticky;bottom:0;background:#172231;border:1px solid #526376;padding:15px;display:flex;gap:20px;align-items:center;justify-content:space-between;margin-top:16px;z-index:2}.survivor-ticket{display:grid;grid-template-columns:1fr 230px;background:#172231;border:1px solid #526376;border-radius:6px;overflow:hidden}.survivor-ticket>div:first-child{padding:30px}.survivor-ticket h2{font-size:38px}.ticket-stub{display:flex;flex-direction:column;align-items:center;justify-content:center;background:#202d3e;border-left:1px dashed #6b7b8c;padding:24px;gap:12px;text-align:center}.ticket-stub span{font-size:12px;letter-spacing:1px;color:var(--gold)}.ticket-stub strong{font-size:72px;color:#f0e5c3;line-height:1}.ticket-stub small{font-size:14px;color:var(--muted)}.history-section{padding-block:24px;border-bottom:1px solid var(--line);margin-bottom:24px}.history-item{display:inline-block;margin:5px 8px 5px 0;padding:12px 16px;background:#172231;border:1px solid var(--line);border-radius:5px}.history-item b{display:block;margin-bottom:5px}.out-message{border-left:3px solid var(--gold);padding:16px 24px;margin-top:24px}.survivor-main table{width:100%;border-collapse:collapse;background:#151e2b}.survivor-main th,.survivor-main td{padding:18px;text-align:left;white-space:nowrap}.survivor-main th{font-size:13px}.survivor-main td{font-size:16px}.organizer-tools{margin:32px 0;border:1px solid #526376;border-radius:5px;padding:20px}.organizer-tools summary{font-weight:700;cursor:pointer}.organizer-tools p{color:var(--muted)}.organizer-actions{display:flex;gap:12px;flex-wrap:wrap;margin:20px 0}.fixture-row{display:grid;grid-template-columns:1fr 180px 160px;align-items:center;gap:14px;padding:12px 0;border-top:1px solid var(--line)}#invite-area{display:flex;gap:12px;align-items:end}#invite-area label{flex:1}.pick-rates{display:flex;flex-wrap:wrap;gap:12px;margin:20px 0}.pick-rate{border:1px solid var(--line);padding:12px 16px;border-radius:5px}.pick-rate strong{color:var(--gold)}#feedback:not(:empty){padding:15px;border:1px solid #ad9758;background:#282619;color:#fff1c6}#feedback{scroll-margin-top:90px}.survivor-main .reset-test{background:transparent;color:var(--muted);border:1px solid var(--line);padding:12px;cursor:pointer}.survivor-main [hidden]{display:none!important}
@media(max-width:900px){.team-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.survivor-ticket{grid-template-columns:1fr 180px}}
@media(max-width:620px){.survivor-main{padding:18px 20px 40px}.survivor-main .test-banner{display:block}.test-banner span{display:block;margin-top:8px}.survivor-heading{align-items:start;flex-wrap:wrap;gap:16px}.survivor-score{padding:12px 20px}.survivor-score strong{font-size:34px}.rules-strip{gap:18px;font-size:14px}.form-grid{grid-template-columns:1fr}.survivor-contest{align-items:start;flex-direction:column}.section-heading{align-items:start;flex-wrap:wrap}.survivor-ticket{grid-template-columns:1fr}.survivor-ticket h2{font-size:28px}.ticket-stub{border-left:0;border-top:1px dashed #6b7b8c;flex-direction:row;gap:18px}.ticket-stub strong{font-size:44px}.survivor-ticket>div:first-child{padding:22px}.ticket-stub small{display:none}.team-choice{padding:12px}.fixture-row{grid-template-columns:1fr 1fr}.fixture-row>span{grid-column:1/-1}#invite-area{display:block}#copy-invite{margin-top:12px}.selection-bar{align-items:start;flex-direction:column;gap:10px}.selection-bar button{width:100%}.survivor-main .contest-tabs{gap:18px;overflow-x:auto}.survivor-main .contest-tabs a{font-size:14px;white-space:nowrap}}
@media(prefers-reduced-motion:reduce){.team-choice,.primary-action,.secondary-action{transition:none}}
.primary-action,.secondary-action{font-family:inherit;font-size:15px;font-weight:700;line-height:1.4}
.weekly-pick-status{padding:10px 14px;border:1px solid;border-radius:5px;font-size:15px;font-weight:750;line-height:1.4}.weekly-pick-status:empty{display:none}.pick-needed{background:#341a22;border-color:#df7587;color:#ffb3be}.pick-ready{background:#142e25;border-color:#5fbf94;color:#a0ebc7}.pick-inactive{background:#1d2633;color:#c1cbd7;border-color:#566477}
#schedule-preview .survivor-contest { display:flex; flex-direction:column; align-items:flex-start; gap:8px; }
#schedule-preview small { color:var(--muted, #b9c1cc); }

/* Survivor's Pick / Pool workspace, in the shared 4rounds palette. */
.survivor-main:has(#contest-screen:not([hidden])){max-width:1040px;overflow:visible;padding-top:12px}
.survivor-main:has(#contest-screen:not([hidden]))>.test-banner{font-size:11px;padding:8px 12px;border-radius:6px;align-items:center;text-align:left}
.survivor-topbar{display:flex;align-items:center;gap:16px;margin-top:28px}.survivor-topbar>div{flex:1;min-width:0}.survivor-topbar .back-link{font-size:44px;line-height:1;margin:0;color:var(--cream)}.survivor-topbar h1{font-size:clamp(24px,4vw,36px);margin:4px 0;letter-spacing:-.04em}.survivor-topbar .eyebrow{margin:0;font-size:10px!important}.settings-button{color:var(--cream);background:transparent;font-size:28px;min-width:44px;min-height:44px}.contest-subtitle{font-size:13px;color:var(--muted);margin:8px 0 8px 32px}#contest-settings{margin:12px 0 20px 32px}#contest-settings summary{font-size:12px}
.survivor-main .contest-tabs{position:sticky;top:80px;z-index:5;margin:18px 0 0;display:grid;grid-template-columns:1fr 1fr;padding:0;border:0;background:var(--ink);gap:0}.survivor-main .contest-tabs a{justify-self:center;text-transform:uppercase;font-size:18px;letter-spacing:.08em;text-align:center;padding:16px 18px 12px;color:var(--muted);border-bottom:4px solid transparent}.survivor-main .contest-tabs a[aria-current]{color:var(--cream);border-color:var(--gold)}
.week-strip{display:flex;gap:12px;overflow-x:auto;padding:18px 0 12px;scrollbar-width:thin;scrollbar-color:var(--line) transparent}.week-chip{flex:0 0 98px;display:flex;align-items:center;flex-direction:column;gap:2px;padding:10px 6px;background:transparent;border:1px solid transparent;border-radius:12px;color:var(--muted);min-height:110px}.week-chip b{font-size:14px}.week-chip small{font-size:12px;font-weight:400}.week-chip[aria-pressed=true]{border-color:var(--gold);background:#25271f;color:var(--cream)}.week-chip.current small{color:var(--gold)}.week-symbol{font-size:42px;line-height:52px;font-weight:300;color:#8299ac}.week-chip .team-badge{width:48px;height:52px;background:transparent}.week-chip .team-badge img{width:40px;height:40px}
#pick>.section-heading{margin:20px 0 16px;gap:10px}.survivor-main #pick-heading{font-size:26px;margin:4px 0}#week-label{margin:0;font-size:10px!important}.weekly-pick-status{font-size:12px;padding:8px 10px}#picker-note{font-size:13px;margin:0 0 12px}.selection-bar{position:fixed;bottom:16px;left:50%;transform:translateX(-50%);width:calc(100% - 32px);max-width:620px;border-radius:14px;box-shadow:0 8px 30px #0008;z-index:8;margin:0;align-items:center;flex-direction:row}.selection-bar span{font-size:13px}.selection-bar button{width:auto;white-space:nowrap;padding:11px 16px}.survivor-main:has(.selection-bar):has(#team-picker:not([hidden])){padding-bottom:110px}.matchup-heading{display:flex;align-items:center;justify-content:space-between;margin:24px 0 12px}.matchup-heading h3{font-size:13px;text-transform:uppercase;letter-spacing:.06em;color:var(--muted);margin:0}.matchup-heading>span{font-size:12px;color:var(--muted)}.matchup-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.matchup-card{overflow:hidden;background:var(--deep);border-radius:14px;border:1px solid #263343}.matchup-date{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:3px;padding:14px 14px 0;font-size:12px;color:var(--muted)}.matchup-date b{text-transform:uppercase}.matchup-sides{display:grid;grid-template-columns:1fr 16px 1fr;align-items:center;padding:20px 10px 16px}.matchup-team{display:flex;flex-direction:column;align-items:center;gap:4px;padding:5px 2px;border-radius:10px;background:transparent;color:var(--cream);border:1px solid transparent;min-width:0;transition:background .15s,border-color .15s}.matchup-team:hover:not(:disabled){background:#263545}.matchup-team[aria-pressed=true]{border-color:var(--gold);background:#302d20}.survivor-main .matchup-team:disabled{opacity:1;cursor:default}.matchup-team b{font-size:19px}.matchup-team small{font-size:11px;color:var(--muted);font-weight:400}.matchup-versus{color:var(--muted);font-size:11px;text-align:center}.team-badge{width:64px;height:64px;border-radius:50%;background:#28394c;display:inline-flex;align-items:center;justify-content:center;flex-shrink:0}.team-badge img{width:46px;height:46px;object-fit:contain}.matchup-footer{padding:9px 12px;background:#1c2939;font-size:11px;color:var(--muted);text-align:center}.out-message{border:1px solid #526376;border-radius:16px;margin:12px 0;padding:20px;background:#172231}.out-message h2{font-size:22px}.out-message p{font-size:13px}.out-message .secondary-action{font-size:12px;padding:8px 12px}.survivor-ticket{border-radius:14px}.survivor-ticket>div:first-child{padding:20px}.survivor-ticket h2{font-size:26px}.survivor-ticket p{font-size:13px}.history-section{font-size:13px}
.pool-summary{border:1px solid #526376;border-radius:18px;background:#172231;margin:24px 0 32px;padding:22px}.pool-summary-top{text-align:center;position:relative}.pool-summary-top h2{font-size:24px;margin:2px 0 6px}.pool-summary-top p{margin:0;color:var(--muted);font-size:14px}#pool-symbol{display:inline-grid;place-items:center;width:40px;height:40px;border-radius:50%;background:#29394a;color:var(--gold);font-size:28px;margin-bottom:8px}.pool-summary-stats{display:grid;grid-template-columns:1fr 1fr;text-align:center;margin-top:22px}.pool-summary-stats>div+div{border-left:1px solid #415268}.pool-summary-stats span{display:block;color:var(--muted);font-size:10px;font-weight:700;letter-spacing:.04em}.pool-summary-stats strong{display:block;font-size:30px;color:var(--gold);margin-top:4px}.pool-summary-stats small{color:var(--muted);font-weight:400}.pool-summary-stats b{color:var(--cream)}.pool-privacy{font-size:12px}.expand-pool{background:transparent;color:var(--cream);font-size:32px;width:44px;height:44px}.pool-grid{max-width:100%;overflow:auto;scrollbar-width:thin;scrollbar-color:#526376 var(--ink)}.survivor-main .pool-table{width:max-content;min-width:100%;border-collapse:separate;border-spacing:3px;background:var(--ink)}.survivor-main .pool-table th,.survivor-main .pool-table td{padding:0;border:0}.survivor-main .pool-table thead th{height:44px;text-align:center;font-size:13px;letter-spacing:0}.pool-table thead th small{display:block;font-size:10px;font-weight:400;text-transform:none}.pool-table .current-week{color:var(--gold)}.survivor-main .pool-table .pool-owner{position:sticky;left:0;z-index:2;background:var(--ink);width:170px;min-width:170px;max-width:170px;text-align:left;font-size:14px;letter-spacing:0;text-transform:none}.pool-identity{display:flex;align-items:center;gap:10px;padding-right:10px}.pool-identity>span:last-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.pool-avatar{border-radius:50%;width:32px;height:32px;background:#354b60;color:#e9d9aa;display:grid;place-items:center;flex-shrink:0;font-size:12px}.your-pool-row .pool-identity{color:var(--gold)}.pool-cell{width:76px;height:70px;border-radius:6px;background:#304458;display:flex;flex-direction:column;align-items:center;justify-content:center;overflow:hidden;white-space:normal;font-size:13px;text-align:center;color:#d5e1ed}.pool-cell.future-pick{background:linear-gradient(140deg,#304458 50%,#253649 50%)}.pool-cell.eliminated-pick{background:#1a2533;color:var(--muted)}.pool-cell.has-pick{display:flex;justify-content:space-between;padding:4px;background:linear-gradient(140deg,#304458 50%,#46586a 50%)}.pool-cell.result-win{background:linear-gradient(140deg,#d2aa47 50%,#304458 50%)}.pool-cell.result-out{background:linear-gradient(140deg,#304458 50%,#613039 50%)}.pool-picked,.pool-opponent{display:flex;align-items:center;justify-content:space-between;gap:3px;width:100%;font-size:12px}.result-win .pool-picked{color:#141b25}.pool-cell .team-badge{width:28px;height:28px;background:transparent}.pool-cell .team-badge img{width:27px;height:27px}.pool-opponent small{font-size:8px;font-weight:700}.private-pick b{font-size:28px;line-height:1}.private-pick small{font-size:9px}.pool-standings{margin:28px 0;color:var(--muted);font-size:13px}.pool-standings summary{cursor:pointer}.pool-standings table{min-width:550px}
#pool-dialog{background:var(--ink);color:var(--cream);border:0;width:100vw;max-width:none;height:100dvh;max-height:none;margin:0;padding:0 20px 20px}#pool-dialog::backdrop{background:#000a}.pool-dialog-heading{height:80px;display:flex;align-items:center;justify-content:center;position:relative}.pool-dialog-heading button{position:absolute;left:0;background:transparent;color:var(--muted);font-size:38px;width:44px;height:44px}.pool-dialog-heading h2{font-size:24px}#expanded-pool-grid{height:calc(100dvh - 100px)}#expanded-pool-grid thead th{position:sticky;top:0;z-index:3;background:var(--ink)}#expanded-pool-grid thead .pool-owner{z-index:4}
@media(min-width:760px){.matchup-sides{padding:24px}.matchup-team b{font-size:24px}.team-badge{width:80px;height:80px}.team-badge img{width:58px;height:58px}.matchup-date{font-size:14px;padding:16px 20px 0}.matchup-footer{font-size:12px}.pool-cell{width:92px;height:80px}.pool-table .pool-cell .team-badge{width:32px;height:32px}}
@media(max-width:620px){.survivor-main:has(#contest-screen:not([hidden])){padding:10px 14px 100px}.survivor-main:has(#contest-screen:not([hidden]))>.test-banner span{margin:0}.survivor-main:has(#contest-screen:not([hidden]))>.test-banner{display:flex;gap:8px;font-size:9px}.survivor-main>.test-banner b{flex-shrink:0}.survivor-topbar{margin-top:20px;gap:10px}.survivor-topbar h1{font-size:24px}.survivor-main .contest-tabs{top:76px}.matchup-grid{gap:9px}.matchup-date{font-size:10px;padding:12px 10px 0}.matchup-sides{padding:12px 5px}.team-badge{width:50px;height:50px}.team-badge img{width:38px;height:38px}.matchup-team b{font-size:16px}.matchup-team small{font-size:10px}.matchup-footer{font-size:10px}.survivor-main .pool-table .pool-owner{width:135px;min-width:135px;max-width:135px;font-size:12px}.pool-identity{gap:7px}.pool-avatar{width:27px;height:27px;font-size:10px}.pool-summary{padding:18px 12px}.pool-summary-top h2{font-size:23px}.pool-summary-stats span{font-size:9px}.pool-summary-stats strong{font-size:26px}#pick>.section-heading{flex-wrap:nowrap;align-items:center}.weekly-pick-status{font-size:10px;max-width:145px}.survivor-main #pick-heading{font-size:22px}.survivor-ticket .ticket-stub{padding:12px}.ticket-stub strong{font-size:30px}}
@media(prefers-reduced-motion:reduce){.matchup-team{transition:none}}
.week-strip{position:sticky;top:142px;z-index:4;background:var(--ink)}
@media(max-width:620px){.week-strip{top:138px}}
body:has(#contest-screen:not([hidden])) .contest-switcher{padding:8px 5vw;flex-wrap:nowrap;gap:8px}
body:has(#contest-screen:not([hidden])) .contest-switcher label{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
body:has(#contest-screen:not([hidden])) .contest-switcher-note{display:none}
body:has(#contest-screen:not([hidden])) .contest-switcher select{min-height:34px;font-size:12px;padding:6px 10px}
body:has(#contest-screen:not([hidden])) .contest-switcher button{min-height:34px;font-size:11px;padding:6px 10px}
/* Keep footer navigation readable in both unvisited and visited states. */
body>footer>a,body>footer>a:visited{display:inline-flex;align-items:center;min-height:44px;color:var(--gold);font-size:16px;font-weight:700;text-decoration:underline;text-underline-offset:4px}
body>footer>a:hover,body>footer>a:active{color:var(--cream)}
body>footer>a:focus-visible{outline:2px solid var(--gold);outline-offset:4px;border-radius:3px}
/* Organizer locks and results follow the same separate steps as Bankroll. */
#lock-summary{color:var(--gold);font-weight:700;font-size:14px}#fixture-controls{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:20px 0}.survivor-admin-game{padding:18px;background:var(--deep);border:1px solid var(--line);border-radius:8px;min-width:0}.survivor-admin-game header{display:flex;justify-content:space-between;align-items:start;gap:12px;flex-wrap:wrap}.survivor-admin-game h3{font-size:18px;margin:0 0 5px}.survivor-admin-game small{color:var(--muted);font-size:12px}.survivor-admin-game p{font-size:13px;margin:14px 0}.game-lock-status{font-size:10px;font-weight:800;letter-spacing:.04em;display:inline-block;border:1px solid var(--line);border-radius:4px;padding:5px 8px;white-space:nowrap}.game-lock-status.is-open{color:var(--gold);border-color:var(--gold)}.game-lock-status.is-locked{color:#c4dbea;background:#233746;border-color:#587084}.survivor-admin-game .locked-description{color:#c4dbea}.survivor-admin-game label{font-size:13px}#settlement-note{font-size:13px;max-width:720px}
@media(max-width:700px){#fixture-controls{grid-template-columns:1fr}.survivor-admin-game{padding:16px}.organizer-tools{padding:16px}}
#lock-dialog{width:calc(100% - 32px);max-width:520px;padding:24px;border:1px solid var(--gold);border-radius:12px;background:var(--deep);color:var(--cream);box-shadow:0 24px 70px #0008}#lock-dialog::backdrop{background:#000b}#lock-dialog h2{font-size:24px;margin:0 0 16px}#lock-dialog p{color:var(--muted);font-size:15px;line-height:1.6}#lock-dialog .organizer-actions{justify-content:flex-end;margin-bottom:0}
.commissioner-registration{border-bottom:1px solid var(--line);padding-bottom:22px;margin-bottom:24px}.commissioner-registration h3{margin-bottom:12px}#registration-status{color:var(--gold);font-weight:700}#add-participant-form{display:flex;gap:12px;align-items:end;margin-top:18px}#add-participant-form label{flex:1;min-width:0}#add-participant-form button{flex-shrink:0}@media(max-width:620px){#add-participant-form{align-items:stretch;flex-direction:column}}
