/* Expedition v1: live DOM typography and state over approved original Figma artwork. */
:root{--ink:#123d48;--teal:#087c83;--teal-deep:#05676d;--paper:#fff9ed;--surface:#fff9ed;--soft:#ecfaf7;--line:#d6eee9;--gold:#f5c451;--coral:#f17b69;--radius:24px;--shadow:0 12px 40px #123d480a;--exp-muted:#486a72;--exp-blue:#3788c8;--exp-violet:#6b59a0}
.expedition-mode{background:var(--surface);color:var(--ink)}
.expedition-mode h1,.expedition-mode h2,.expedition-mode h3{letter-spacing:0;line-height:1.6}
.expedition-mode .button{border-radius:24px;min-height:56px;font-size:1.125rem;gap:12px}
.expedition-mode .button.primary{background:var(--gold);color:var(--ink);border-color:var(--gold)}
.expedition-mode .button.primary:hover:not(:disabled){background:#efbc42}
.expedition-mode .button.secondary{background:var(--soft);border-color:var(--line);color:var(--ink)}
.expedition-mode .topbar{max-width:1440px;padding:24px clamp(20px,5vw,72px);gap:24px;min-height:88px;flex-wrap:wrap}
.expedition-mode .brand{font-size:1.75rem;color:var(--teal);gap:8px}.expedition-mode .brand img{width:40px;height:40px;object-fit:contain}
.expedition-mode .brand small{font-size:.7rem}.expedition-mode .topbar nav{gap:24px}.expedition-mode .preferences{margin-inline-start:auto;gap:8px}
.expedition-mode .icon-button{width:48px;height:48px;min-width:48px;display:inline-flex;align-items:center;justify-content:center;background:#ffffffa8;border:1px solid var(--line)}
.exp-settings-launch{display:inline-flex;align-items:center;gap:8px;min-height:48px;color:var(--teal);border:0;background:transparent;font-weight:700}
.exp-icon{width:24px;height:24px;min-width:24px;vertical-align:middle;flex-shrink:0}
.exp-page{max-width:1440px;margin:auto;padding:24px clamp(20px,5vw,72px) 64px}
.exp-page h1{font-size:clamp(1.75rem,3.06vw,2.75rem)}.exp-page p{font-size:1.125rem;color:var(--exp-muted);line-height:1.8}
.exp-section{margin-block:64px}.exp-section-heading{display:flex;align-items:end;justify-content:space-between;gap:24px;margin-block-end:24px}.exp-section-heading h2{font-size:clamp(1.5rem,2.25vw,2rem)}
.exp-kicker{display:inline-flex;align-items:center;gap:8px;color:var(--teal);font-size:1rem;font-weight:700;margin-block-end:12px}
.exp-home-hero{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.15fr);align-items:center;gap:48px;padding-block:16px}
.exp-home-hero h1{font-size:clamp(2rem,4vw,3.5rem);line-height:1.5;margin-block:8px 20px}.exp-home-hero .actions{margin-block:28px}
.exp-home-hero-art{position:relative;aspect-ratio:1.1;isolation:isolate}.exp-home-hero-art:before{content:"";position:absolute;inset:12% -3% 6%;background:#d8eeeb;border-radius:42% 48% 40% 45%;transform:rotate(-4deg);z-index:-1}
.exp-home-hero-art>img{width:100%;height:100%;object-fit:cover;border-radius:40px;box-shadow:0 24px 60px #123d4818}
.exp-floating-note{position:absolute;inset-inline-start:20px;inset-block-end:24px;display:flex;gap:12px;align-items:center;padding:16px 20px;background:#fffdf6f5;border:1px solid white;border-radius:24px;box-shadow:var(--shadow);font-weight:700}
.exp-floating-note img{width:40px;height:40px;object-fit:contain}.exp-facts{display:flex;gap:20px;flex-wrap:wrap;color:var(--exp-muted);font-size:.9rem}.exp-facts span{display:flex;gap:8px;align-items:center}
.exp-journey-catalog{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.exp-voyage-card{display:flex;flex-direction:column;position:relative;padding:28px;border:1px solid var(--line);border-radius:24px;background:white;overflow:hidden;min-width:0}
.exp-voyage-card:before{content:"";position:absolute;inset:0 0 auto;height:5px;background:var(--teal)}.exp-voyage-card.theme-sky:before{background:var(--exp-violet)}.exp-voyage-card.theme-oasis:before{background:#729242}
.exp-voyage-card>span:first-child{display:flex;width:64px;height:64px;align-items:center;justify-content:center;border-radius:20px;background:var(--soft);color:var(--teal);margin-block-end:16px}.exp-voyage-card>span:first-child .exp-icon{width:32px;height:32px}
.exp-voyage-card h3{font-size:1.375rem}.exp-voyage-card p{font-size:1rem;margin-block:10px 18px}.exp-voyage-card small{color:var(--exp-muted)}.exp-voyage-card .button{margin-block-start:20px}
.exp-step-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;list-style:none;padding:0}.exp-step-grid li{padding:24px;background:white;border:1px solid var(--line);border-radius:24px}.exp-step-grid b{display:flex;align-items:center;justify-content:center;width:44px;height:44px;border-radius:50%;background:var(--gold);margin-block-end:14px}.exp-step-grid h3{font-size:1.25rem}.exp-step-grid p{font-size:1rem;margin-block-start:10px}
.exp-family-panel{padding:40px;border-radius:32px;background:var(--soft);display:grid;grid-template-columns:1fr 1fr;gap:40px;align-items:center}.exp-family-panel h2{font-size:2rem}.exp-family-panel .exp-icon{color:var(--teal);width:48px;height:48px}
.exp-host-welcome{display:flex;justify-content:space-between;gap:24px;margin-block-end:28px}.exp-host-welcome h1{font-size:2.5rem}
.exp-host-creation{display:grid;grid-template-columns:1.1fr 1fr;background:white;border:1px solid var(--line);border-radius:32px;overflow:hidden;margin-block-end:32px}.exp-host-art{position:relative;min-height:320px}.exp-host-art>img{width:100%;height:100%;object-fit:cover;position:absolute;inset:0}.exp-host-art>div{position:absolute;inset:auto 20px 20px;padding:20px;border-radius:24px;background:#fff9edf2}.exp-host-art h2{font-size:1.6rem}.exp-host-setup{padding:32px}.exp-host-setup>p{font-size:1rem;margin-block:12px 20px}.exp-host-setup .field{margin-block:16px}.exp-host-setup .button.primary{margin-block-start:16px}
.exp-creation-profile{display:flex;gap:12px;align-items:center;padding:12px 16px;border-radius:18px;background:var(--soft);font-weight:700}.exp-creation-profile .exp-icon{color:var(--teal)}
.exp-creation-profile small{display:block;font-weight:400;color:var(--exp-muted);font-size:.875rem}.exp-profile-choices{display:flex;gap:8px;flex-wrap:wrap;margin-block:20px}.exp-profile-choices button{flex:1;min-height:56px;display:flex;align-items:center;justify-content:center;gap:8px;min-width:100px;border:1px solid var(--line);border-radius:20px;padding:12px;background:var(--soft);color:var(--teal);font-weight:700}.exp-profile-choices button.selected{background:var(--teal);color:white;border-color:var(--teal)}
.exp-host-grid{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(0,1fr);gap:24px}.exp-host-grid h2{font-size:1.5rem}.expedition-mode .room-row{border-radius:20px}.expedition-mode .dashboard{max-width:none;padding:0}.expedition-mode .host-console{max-width:1440px;padding-inline:clamp(20px,5vw,72px)}
.exp-player-shell{max-width:1040px;margin:auto;padding:12px 20px 40px}.exp-player-shell .game-heading{font-size:.875rem;color:var(--exp-muted);margin-block-end:16px}.exp-player-shell .game-heading .phase-pill{background:var(--soft);font-size:.8rem}
.exp-player-shell .player-card{padding:24px;border-radius:24px;border-color:var(--line);box-shadow:none}.exp-player-shell.stage-reading .player-card,.exp-player-shell.stage-answering .player-card,.exp-player-shell.stage-locked .player-card,.exp-player-shell.stage-reveal .player-card{padding:0;background:transparent;border:0}
.exp-player-shell .team-identity{margin-block:10px 16px}.exp-player-shell .center-state h2{font-size:1.75rem}.exp-player-shell .center-state p{font-size:1.125rem}.exp-player-shell .center-state{padding:12px 0}
.exp-player-shell .exp-ready-state>.avatar.large{width:72px;height:72px;margin-block:0 12px}.exp-player-shell .exp-ready-state>.eyebrow{margin-block:0 8px}.exp-player-shell .exp-ready-state>h2{font-size:1.375rem}.exp-player-shell .exp-ready-state>p{margin-block:8px 18px}.exp-sailing-board{overflow:hidden;border-radius:24px;margin-block:20px;background:linear-gradient(#d4eff1,#83d1d0)}.exp-sailing-board>.fleet{height:280px;background:transparent}.exp-sailing-board .beacon{opacity:.7}
.exp-player-shell .question-card{background:transparent;border:0;box-shadow:none;padding:8px 0 0}.exp-player-shell .question-card>.eyebrow{font-size:1rem;margin-block-end:10px}.exp-player-shell .question-card>h2{font-size:1rem;color:var(--teal);margin-block:0 4px}.exp-player-shell .question-prompt{font-size:1.75rem;line-height:1.6;font-weight:700;color:var(--ink);margin-block:12px 20px}
.exp-chapter-strip{display:flex;justify-content:space-between;gap:8px;list-style:none;margin:0 0 16px;padding:0;direction:ltr}.exp-chapter-strip li{display:grid;place-items:center;width:32px;min-width:32px;height:32px;border-radius:50%;background:white;font-size:1.125rem;font-weight:700}.exp-chapter-strip li.complete{background:var(--teal);color:white}.exp-chapter-strip li.current{background:var(--gold);color:var(--ink)}
.exp-journey-bar{display:flex;justify-content:space-between;gap:20px;align-items:center;margin-block:12px 20px}.exp-chapter-heading{display:flex;align-items:center;gap:12px;min-width:0}.exp-chapter-heading h2{font-size:1.4rem}.exp-chapter-heading .eyebrow{margin-block:0 2px;font-size:.8rem}.exp-chapter-emblem{display:grid;place-items:center;width:48px;height:48px;min-width:48px;border-radius:18px;background:var(--soft);color:var(--teal)}
.exp-local-nav{display:flex;gap:8px;flex-wrap:wrap}.exp-local-nav button,.exp-legacy-bar button{display:flex;align-items:center;justify-content:center;gap:8px;min-height:48px;background:white;border:1px solid var(--line);border-radius:16px;padding:10px 14px;color:var(--teal);font-weight:700}.exp-local-nav button:disabled{opacity:.48}.exp-legacy-bar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-block:12px}
.exp-map{position:relative;overflow:hidden;isolation:isolate;aspect-ratio:16/9;border-radius:24px;background:#d8eeeb}.exp-map>img{display:block;width:100%;height:100%;object-fit:cover}.exp-map-nodes{position:absolute;inset:0}.exp-map-node{position:absolute;transform:translate(-50%,-50%);width:48px;height:48px;padding:0;display:grid;place-items:center;background:transparent;color:var(--ink);border:0;border-radius:50%;font-weight:700;font-size:1.25rem;z-index:1}.exp-map-node:before{content:"";position:absolute;inset:10px;border-radius:50%;background:white;z-index:-1;box-shadow:0 2px 10px #123d481a}.exp-map-node.complete{color:white}.exp-map-node.complete:before{background:var(--teal)}.exp-map-node.current:before{background:var(--gold);box-shadow:0 0 0 3px #fff9edbf}.exp-map-node .exp-icon{width:20px;height:20px;min-width:20px}.exp-map-node:focus-visible{outline:3px solid var(--ink);outline-offset:1px;background:#fff9ed40}.exp-map-caption{position:absolute;inset-inline:16px;inset-block-end:12px;background:#fff9edf2;border-radius:16px;padding:6px 12px;display:none;align-items:center;gap:8px;font-size:.8rem}
.exp-hub{display:grid;grid-template-columns:1.35fr 1fr;gap:24px;align-items:center;margin-block:20px}.exp-hub-current{background:#fff0c6;padding:24px;border-radius:24px}.exp-hub-current h2{font-size:1.5rem}.exp-hub-current>p{font-size:1rem;color:var(--exp-muted);margin-block:8px 20px}.exp-hub-current>.button{margin-block-start:16px}.exp-profile-strip{display:flex;gap:8px;margin-block:12px}.exp-profile-strip>span{flex:1;text-align:center;padding:8px 12px;border-radius:24px;background:white;color:var(--teal);font-size:1rem;font-weight:700}.exp-profile-strip>span.active{background:var(--teal);color:white}
.exp-progress{margin-block:16px}.exp-progress>div{display:flex;justify-content:space-between;gap:12px;font-size:1rem}.exp-progress progress{width:100%;height:10px;margin-block:10px 4px;appearance:none;border:0;border-radius:8px;overflow:hidden;background:var(--line)}.exp-progress progress::-webkit-progress-bar{background:var(--line);border-radius:8px}.exp-progress progress::-webkit-progress-value{background:var(--teal);border-radius:8px}.exp-progress progress::-moz-progress-bar{background:var(--teal);border-radius:8px}.exp-progress small{display:block;color:var(--exp-muted);font-size:.8rem;line-height:1.8}
.exp-chapter-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-block:20px}.exp-chapter-card{display:flex;align-items:center;gap:12px;text-align:start;padding:18px;background:white;border:1px solid var(--line);border-radius:24px;color:var(--ink);min-width:0}.exp-chapter-card.current{background:#fff0c6;border-color:#edce7c}.exp-card-icon{display:grid;place-items:center;width:44px;min-width:44px;height:44px;background:var(--soft);color:var(--teal);border-radius:16px}.exp-chapter-card.complete .exp-card-icon{background:var(--teal);color:white}.exp-chapter-copy{display:grid;gap:4px;min-width:0}.exp-chapter-copy strong{font-size:1.125rem}.exp-chapter-copy small,.exp-chapter-copy>span{font-size:.8rem;color:var(--exp-muted)}.exp-card-arrow{margin-inline-start:auto;width:20px;min-width:20px}
.expedition-mode .answers{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-block:12px 0}.expedition-mode .answers.long-options{grid-template-columns:1fr}
.expedition-mode .answer{display:flex;flex-direction:column;align-items:stretch;justify-content:flex-start;gap:10px;padding:12px;border:3px solid var(--line);border-radius:24px;background:white;color:var(--ink);min-height:112px;min-width:0;text-align:start;font-size:1.25rem;font-weight:700;box-shadow:none}
.expedition-mode .answer.selected{background:var(--soft);border-color:var(--teal)}.expedition-mode .answer.revealed{border-color:var(--teal);background:var(--soft)}.expedition-mode .answer:disabled{opacity:1;cursor:default}.expedition-mode .answer:not(.selected):disabled{color:var(--ink)}
.exp-answer-top{display:flex;justify-content:space-between;align-items:start;gap:8px;min-height:36px;direction:rtl}.exp-answer-state{font-size:1rem;font-weight:400;color:var(--exp-muted);min-width:0}.exp-answer-cue{width:36px;height:36px;position:relative;display:inline-block;flex-shrink:0}.exp-answer-cue>img{position:absolute;inset:0;max-width:none}.exp-answer-cue>span{position:absolute;inset:0;text-align:center;font-size:20px;line-height:32px;color:white;font-weight:700}.exp-answer-cue.cue-a>span{color:#0b3039}.exp-answer-cue.cue-d>span{color:var(--ink)}.exp-answer-copy{overflow-wrap:anywhere;line-height:1.6}
.exp-player-shell .submitted-note,.exp-player-shell .reveal-card{margin-block:16px;padding:24px;border-radius:24px;background:var(--soft);border:1px solid var(--line)}.exp-player-shell .submitted-note h3,.exp-player-shell .reveal-card h3{font-size:1.4rem}.exp-player-shell .reveal-card p{font-size:1.125rem;line-height:1.8}.exp-player-shell .player-bottom{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-block-start:24px}.exp-player-shell .reading-note{font-size:1rem;line-height:1.8}
.exp-celebration-art{position:relative;border-radius:24px;overflow:hidden;aspect-ratio:16/9;margin-block-end:24px}.exp-celebration-art img{width:100%;height:100%;object-fit:cover}.exp-celebration-art>span{position:absolute;inset:auto 16px 16px;display:flex;align-items:center;gap:8px;padding:12px 16px;border-radius:20px;background:#fff9edf2;font-weight:700}
.exp-dialog{width:min(1040px,calc(100% - 32px));max-height:calc(100dvh - 32px);padding:0;border:1px solid var(--line);border-radius:28px;background:var(--surface);color:var(--ink);overflow:auto;overscroll-behavior:contain;box-shadow:0 30px 120px #062e4559}.exp-dialog::backdrop{background:#062e458c;backdrop-filter:blur(5px)}.exp-dialog-header{display:flex;align-items:center;justify-content:space-between;gap:20px;position:sticky;inset-block-start:0;background:#fff9edf7;padding:18px 24px;border-block-end:1px solid var(--line);z-index:4}.exp-dialog-header h2{font-size:1.125rem}.exp-dialog-header button{min-width:48px;min-height:48px;border:1px solid var(--line);border-radius:50%;background:white;color:var(--teal)}.exp-dialog-body{padding:24px}.exp-dialog h2{line-height:1.6}.exp-dialog p{line-height:1.8}.exp-map-dialog>h2{font-size:2rem;margin-block-end:20px}.exp-dialog .exp-chapter-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.exp-dialog .exp-map{max-height:440px;aspect-ratio:16/9}.exp-unavailable{text-align:center;padding:32px 20px}.exp-unavailable>.exp-icon{width:56px;height:56px;margin-block-end:20px;color:var(--teal)}.exp-unavailable h2{font-size:1.5rem}.exp-unavailable p{margin-block:16px;color:var(--exp-muted)}
.exp-brief{max-width:680px;margin:auto;padding:24px 12px}.exp-brief-icon{display:grid;place-items:center;width:72px;height:72px;border-radius:24px;background:var(--soft);color:var(--teal);margin-block-end:20px}.exp-brief-icon>.exp-icon{width:40px;height:40px}.exp-brief h2{font-size:2rem}.exp-brief>p{font-size:1.125rem;color:var(--exp-muted);margin-block:18px}.exp-brief-status{display:flex;gap:10px;align-items:center;padding:16px;border-radius:20px;background:#fff0c6;margin-block:24px}.exp-brief-facts{display:flex;gap:12px;flex-wrap:wrap}.exp-brief-facts>span{display:flex;gap:8px;align-items:center;padding:14px;border:1px solid var(--line);border-radius:18px;background:white}
.exp-passport-heading{display:flex;gap:16px;align-items:center;margin-block-end:24px}.exp-passport-heading>.exp-icon{width:48px;height:48px;color:var(--teal)}.exp-passport h2{font-size:1.75rem}.exp-passport h3{margin-block:28px 12px;font-size:1.25rem}.exp-private-counts{display:grid;grid-template-columns:1fr 1fr;gap:12px}.exp-private-counts>div{display:grid;gap:4px;padding:20px;border:1px solid var(--line);border-radius:24px;background:white}.exp-private-counts strong{font-size:2rem}.exp-private-counts span{font-size:1rem;color:var(--exp-muted)}.exp-stamps{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.exp-stamp{padding:18px 12px;display:flex;flex-direction:column;align-items:center;text-align:center;gap:10px;border:1px solid var(--line);border-radius:24px;background:white}.exp-stamp>span{width:64px;height:64px;display:grid;place-items:center;border-radius:50%;background:#f1f3f1;color:#718588}.exp-stamp.earned>span{background:#fff0c6;color:#8e6510}.exp-stamp.earned{border-color:#e8d39d}.exp-stamp>span .exp-icon{width:32px;height:32px}.exp-stamp small{color:var(--exp-muted);font-size:.8rem}
.exp-settings{display:grid;gap:24px;max-width:760px;margin:auto}.exp-settings>p{color:var(--exp-muted)}.exp-settings .sound-preferences{display:grid;grid-template-columns:1fr auto;gap:20px}.exp-settings .sound-mode{display:grid;grid-column:1 / -1}.exp-settings .sound-mode select{max-width:none;width:100%;font-size:1.125rem;min-height:56px}.exp-settings .sound-effects{grid-column:1 / -1;min-height:56px;padding:16px;border:1px solid var(--line);border-radius:20px;background:white;font-size:1rem}.exp-settings .sound-status,.exp-settings .sound-description{grid-column:1 / -1;max-width:none;font-size:1rem}.exp-settings-row{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:16px;border-block-start:1px solid var(--line)}
.expedition-mode.route-admin .cms-main{max-width:1440px;padding:24px clamp(20px,5vw,72px)}.expedition-mode.route-admin .cms-main>section{padding:28px;border:1px solid var(--line);border-radius:24px;background:white}.expedition-mode.route-admin .cms-main h1{font-size:2.5rem}.expedition-mode.route-admin .cms-main h2{font-size:1.5rem}.expedition-mode.route-admin .cms-main table{font-size:.95rem}.expedition-mode.route-admin .cms-main th{background:var(--soft);color:var(--ink)}.expedition-mode.route-admin .cms-main details{border:1px solid var(--line);border-radius:20px;padding:12px 16px;background:#fffdf7}.expedition-mode.route-admin .cms-main summary{font-size:1.125rem}.expedition-mode.route-admin input,.expedition-mode.route-admin textarea,.expedition-mode.route-admin select{border-color:#a8c6c1;border-radius:16px}
.exp-cms-chrome{max-width:1440px;margin:auto;padding:20px clamp(20px,5vw,72px) 0}.exp-cms-heading{display:flex;align-items:center;gap:16px;padding:28px;border-radius:28px;background:var(--teal);color:white}.exp-cms-heading>.exp-icon{width:48px;height:48px}.exp-cms-heading h2{font-size:1.6rem}.exp-cms-heading p{color:#e4f4f1;margin-block-start:4px}.exp-cms-nav{display:flex;gap:12px;flex-wrap:wrap;margin-block:20px 0}.exp-cms-nav a{display:flex;align-items:center;gap:8px;background:white;border:1px solid var(--line);border-radius:18px;padding:12px 18px;font-weight:700;min-height:48px;color:var(--teal)}
.expedition-mode .join-layout,.expedition-mode .auth-layout{max-width:1440px;padding-inline:clamp(20px,5vw,72px)}.expedition-mode .join-story{border-radius:32px;padding:40px;background:linear-gradient(#123d4870,#123d48d9),url('/expedition-assets/expedition-map.webp') center/cover;color:white}.expedition-mode .join-story h1{font-size:clamp(2rem,3vw,3rem)}.expedition-mode .join-story p,.expedition-mode .join-story .eyebrow{color:#f2faf7}.expedition-mode .join-story .mini-sea{display:none}.expedition-mode .join-panel,.expedition-mode .auth-panel{border-radius:28px;padding:32px}.expedition-mode .auth-intro{border-radius:32px;background:var(--soft);padding:36px}.expedition-mode .auth-intro h1{font-size:clamp(2rem,3vw,3rem)}.expedition-mode .auth-intro .eyebrow{color:var(--teal)}.tv-mode .cinematic-welcome{background-image:linear-gradient(90deg,#123d4822,#123d48ed),url('/expedition-assets/expedition-map.webp')}
/* The TV fallback remains a public display. No answer button or private passport is introduced. */
.tv-mode .tv-scene{min-height:100svh;background-image:linear-gradient(90deg,#123d481a,#123d48e6),url('/expedition-assets/expedition-map.webp');padding:4vh 5vw 3vh;display:flex;flex-direction:column;gap:20px}.tv-mode .tv-scene.cinematic-question{background-image:linear-gradient(90deg,#123d4870,#123d48d9),url('/expedition-assets/expedition-challenge.webp')}.tv-mode .tv-heading{position:relative;inset:auto;display:flex;align-items:center;justify-content:space-between;gap:24px;z-index:2}.tv-mode .tv-heading .tv-brand{font-size:clamp(24px,2.2vw,84px)}.tv-mode .tv-heading>div{display:flex;align-items:center;gap:16px}.tv-mode .tv-content{position:relative;width:100%;max-width:none;margin:0!important;padding:0;min-height:0;flex:1;overflow:auto}.tv-mode .tv-content>.question-card{padding:24px;border:1px solid var(--line);border-radius:24px;background:var(--paper);color:var(--ink);box-shadow:none}.tv-mode .tv-content .question-prompt{font-size:clamp(2rem,3.75vw,9rem);line-height:1.5;color:var(--ink);text-shadow:none}.tv-mode .tv-content .question-card>.eyebrow{font-size:clamp(1rem,1.72vw,4.125rem);color:var(--teal)}.tv-mode .tv-content .question-card>h2{font-size:clamp(1rem,1.72vw,4.125rem);color:var(--teal)}.tv-mode .answers .answer{font-size:clamp(1.375rem,2.5vw,6rem);line-height:1.6;min-height:112px;padding:20px;background:white;border:3px solid var(--line);color:var(--ink);flex-direction:row;align-items:center;gap:20px}.tv-mode .answers .answer.revealed{background:var(--soft);border-color:var(--teal)}.tv-mode .answers .exp-answer-top{flex-shrink:0}.tv-mode .answers .exp-answer-state{display:none}.tv-mode .tv-scoreboard{position:relative;inset:auto;width:100%;margin:0;display:block}.tv-mode .tv-scoreboard .teams{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.tv-mode .tv-scoreboard .team{background:#123d48e8;border:1px solid #ffffff33;border-radius:20px;padding:16px;color:white}.tv-mode .tv-scoreboard .team-head{font-size:clamp(1rem,1.72vw,4.125rem)}.tv-mode .tv-scene>.fleet{display:none}.tv-mode .exp-journey-bar{color:var(--paper);margin-block:0}.tv-mode .exp-journey-bar .eyebrow{color:var(--gold)}.tv-mode .exp-chapter-strip{max-width:420px;margin-block:0}.tv-mode .exp-hub{background:#fff9edf5;border-radius:28px;padding:24px}.tv-mode .exp-hub h2{font-size:clamp(1.5rem,2.3vw,5rem)}.tv-mode .exp-hub p{font-size:clamp(1.125rem,1.5vw,3rem)}.tv-mode .tv-interlude{background:var(--paper);color:var(--ink);border-radius:28px}.tv-mode .tv-content .reveal-card{background:var(--paper);color:var(--ink);border-radius:24px;padding:24px}.tv-mode .tv-content .reveal-card p{font-size:clamp(1.25rem,2vw,5rem);line-height:1.7}.tv-mode .canonical-source{background:white;color:var(--ink);text-shadow:none}.tv-mode .exp-dialog{font-size:clamp(1rem,1.3vw,2rem)}
@media(min-width:1000px){.exp-player-shell.stage-reading,.exp-player-shell.stage-answering,.exp-player-shell.stage-locked,.exp-player-shell.stage-reveal{max-width:900px}.exp-hub .exp-map-node:before{inset:5px}.exp-hub .exp-map-node{font-size:1.25rem}}
@media(max-width:900px){.exp-home-hero{grid-template-columns:1fr;gap:28px}.exp-home-hero-art{aspect-ratio:16/9}.exp-journey-catalog{grid-template-columns:1fr}.exp-step-grid{grid-template-columns:1fr}.exp-family-panel,.exp-host-creation,.exp-host-grid{grid-template-columns:1fr}.exp-host-art{min-height:240px}.exp-chapter-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.exp-hub{grid-template-columns:1fr;gap:12px}.exp-hub-current{padding:16px}.exp-hub-current h2{font-size:1.25rem}.exp-hub-current .exp-progress{margin-block:6px 0}.exp-hub-current .exp-progress>div{font-size:1rem}.exp-hub-current progress{display:none}.exp-stamps{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.expedition-mode .topbar{padding:20px;gap:12px;min-height:76px}.expedition-mode .topbar>.brand small{display:none}.expedition-mode .topbar>nav{order:3;flex-basis:100%;justify-content:space-between;gap:12px;font-size:.875rem}.expedition-mode.route-player .topbar>nav,.expedition-mode.route-tv .topbar>nav{display:none}.expedition-mode .preferences{margin-inline-start:auto}.expedition-mode .preferences>.icon-button{width:40px;height:40px;min-width:40px}.exp-settings-launch .exp-icon{display:none}.exp-player-shell{padding-block-start:0}.exp-page{padding:12px 20px 40px}.exp-home-hero h1{font-size:2rem}.exp-home-hero .actions .button{width:100%}.exp-home-hero-art{aspect-ratio:1.3}.exp-floating-note{inset-inline:12px;inset-block-end:12px;padding:12px}.exp-facts{gap:12px}.exp-section{margin-block:40px}.exp-section-heading{align-items:start;flex-direction:column;gap:12px}.exp-family-panel{padding:24px;gap:20px}.exp-family-panel h2{font-size:1.6rem}.exp-host-welcome{flex-direction:column}.exp-host-welcome h1{font-size:1.75rem}.exp-host-setup{padding:20px}.exp-host-art>div{padding:14px}.exp-journey-bar{align-items:start;flex-wrap:wrap;gap:12px}.exp-chapter-heading h2{font-size:1.25rem}.exp-local-nav{width:100%}.exp-local-nav button{flex:1;padding:10px;font-size:1rem}.exp-player-shell .player-card{padding:20px}.exp-player-shell .question-prompt{font-size:1.75rem}.exp-chapter-grid{grid-template-columns:1fr}.exp-dialog{width:calc(100% - 20px);max-height:calc(100dvh - 20px);border-radius:24px}.exp-dialog-header{padding:12px 16px}.exp-dialog-body{padding:20px}.exp-dialog .exp-chapter-grid{grid-template-columns:1fr}.exp-dialog .exp-map-dialog>h2,.exp-brief h2{font-size:1.75rem}.exp-brief{padding:12px 0}.exp-brief-facts{flex-direction:column}.exp-private-counts{grid-template-columns:1fr}.exp-settings .sound-preferences{display:flex;flex-wrap:wrap}.exp-settings .sound-mode,.exp-settings .sound-effects,.exp-settings .sound-description{flex-basis:100%}.exp-settings-row{align-items:start;flex-wrap:wrap}.expedition-mode.route-admin .cms-main{padding:12px 20px}.expedition-mode.route-admin .cms-main>section{padding:20px}.expedition-mode.route-admin .cms-main h1{font-size:1.75rem}}
@media(max-width:380px){.expedition-mode .answers{grid-template-columns:1fr}.exp-profile-strip{flex-wrap:wrap}.exp-profile-strip>span{flex-basis:100%}.exp-stamps{grid-template-columns:1fr}.exp-map-node{width:40px;height:40px}.exp-map-node:before{inset:6px}.exp-local-nav{flex-direction:column}.exp-settings-launch{font-size:.9rem}}
@media(prefers-reduced-motion:no-preference){.exp-edged-action,.exp-map-node:before,.exp-chapter-card{transition:background .2s,border-color .2s,box-shadow .2s}.exp-player-shell.stage-animation .boat{transition:left .5s ease,transform .5s ease}.exp-stamp.newly-earned>span{animation:exp-arrival .5s ease-out 1}@keyframes exp-arrival{0%{transform:scale(.96)}60%{transform:scale(1.04)}100%{transform:none}}}
@media(prefers-reduced-motion:no-preference){.exp-arriving .exp-sailing-board .boat{animation:exp-sail .5s ease-out 1}@keyframes exp-sail{from{translate:-20px 0}to{translate:0 0}}}
@media(prefers-reduced-motion:reduce){.expedition-mode *,.expedition-mode *:before,.expedition-mode *:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
.reduce-motion.expedition-mode *,.reduce-motion.expedition-mode *:before,.reduce-motion.expedition-mode *:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}

/* Shared editable hub: map60/current40 on desktop, one clear task on phones. */
.exp-player-title{font-size:clamp(1.75rem,3.06vw,2.75rem);margin-block:16px}.exp-hub-art,.exp-hub-current{background:white;border-radius:32px;padding:20px;align-self:stretch}.exp-hub{align-items:stretch;grid-template-columns:1.6fr 1fr}.exp-hub-current{padding:24px}.exp-map-route{display:block;color:var(--teal);font-size:1.125rem;line-height:1.8;margin-block:16px 8px}.exp-current-ribbon{display:grid;gap:4px;background:#fff0c6;border-radius:24px;padding:16px;margin-block:16px}.exp-current-ribbon small{color:var(--exp-muted);font-size:.9rem}.exp-hub-current .exp-hub-scope{line-height:1.8}.exp-current-profile{background:var(--soft);border-radius:20px;padding:16px;margin-block-start:16px;color:var(--teal);font-weight:700;text-align:center}.exp-hub-ready{margin-block:16px}.exp-hub-ready .button{margin-block:8px}.exp-hub-ready .helper{font-size:.95rem;color:var(--exp-muted);line-height:1.8}.exp-profile-choices button{flex-direction:column;align-items:flex-start;justify-content:flex-start;text-align:start;gap:10px;background:white;color:var(--ink);padding:20px;border-radius:24px;min-width:0}.exp-profile-choices button.selected{background:var(--soft);color:var(--ink);border-color:var(--teal);box-shadow:inset 0 0 0 1px var(--teal)}.exp-profile-choices button strong{font-size:1.375rem}.exp-profile-choices button>span:not(.exp-profile-choice-icon){font-size:1rem;font-weight:400}.exp-profile-choices button small{font-size:.9rem;font-weight:400;color:var(--exp-muted);line-height:1.8}.exp-profile-choice-icon{color:var(--teal)}
.exp-host-creation{display:flex;flex-direction:column;background:transparent;border:0;border-radius:24px;overflow:visible}.exp-host-art{height:180px;min-height:180px;border-radius:24px;overflow:hidden}.exp-host-art>div{display:none}.exp-host-setup{padding:24px 0 0}.exp-profile-choices{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}.exp-host-setup>.field{max-width:760px}.exp-host-setup>.exp-creation-profile{max-width:760px}.exp-host-setup>.button.primary{max-width:452px}.exp-host-setup>h2{font-size:clamp(1.5rem,2vw,2rem)}
.exp-player-shell.stage-reading .exp-journey-bar,.exp-player-shell.stage-answering .exp-journey-bar,.exp-player-shell.stage-locked .exp-journey-bar,.exp-player-shell.stage-reveal .exp-journey-bar{margin-block:8px 12px}.exp-player-shell:is(.stage-reading,.stage-answering,.stage-locked,.stage-reveal) .exp-journey-bar .exp-local-nav{display:none}.exp-player-shell:is(.stage-reading,.stage-answering,.stage-locked,.stage-reveal) .exp-chapter-heading h2{font-size:1.125rem}.exp-player-shell:is(.stage-reading,.stage-answering,.stage-locked,.stage-reveal) .exp-chapter-emblem{display:none}
@media(max-width:700px){.exp-hub{grid-template-columns:1fr;gap:12px}.exp-hub-art{padding:0;background:transparent}.exp-hub-art>.exp-map-route{display:none}.exp-hub-art>.exp-progress{margin-block:12px}.exp-hub-current{padding:20px}.exp-profile-choices{grid-template-columns:1fr;gap:12px}.exp-profile-choices button{display:grid;grid-template-columns:auto 1fr;column-gap:16px}.exp-profile-choice-icon{grid-row:1 / 4}.exp-profile-choices button small{grid-column:2}.exp-player-shell.stage-lobby>.exp-journey-bar,.exp-player-shell.stage-lobby>.exp-chapter-strip{display:none}.exp-player-shell.stage-lobby>.team-identity{margin-block:8px}.exp-player-title{margin-block:12px}.exp-host-setup>.button.primary{max-width:none}}

@font-face{font-family:SirajTVExpedition;src:url('/fonts/BalooBhaijaan2-Variable.ttf') format('truetype');font-style:normal;font-weight:400 800;font-display:swap}
.tv-mode .tv-scene{font-family:SirajTVExpedition,SignatureArabic,Arial,sans-serif}.tv-mode .tv-scene .canonical-source{font-family:SirajFinalArabic,Arial,sans-serif}.tv-mode .tv-heading .tv-brand{display:flex;align-items:center;gap:8px}.tv-mode .tv-heading .tv-brand>img{width:40px;height:40px;object-fit:contain}.tv-mode .exp-tv-calm-header{background:var(--paper);color:var(--ink);border-radius:24px;padding:12px 20px;min-height:72px;gap:20px}.tv-mode .exp-tv-calm-header .tv-brand{color:var(--teal)}.tv-mode .exp-tv-chapter-label{font-size:clamp(1.375rem,1.72vw,4.125rem);font-weight:600}.tv-mode .exp-tv-calm-header .exp-chapter-strip{flex:1;min-width:180px;max-width:330px;margin:0}.tv-mode .exp-tv-calm-header .exp-tv-player-count{display:none}.tv-mode .exp-tv-calm-header .exp-tv-controls{gap:8px}.tv-mode .exp-tv-controls>button{min-width:44px;min-height:44px;color:inherit}.tv-mode .exp-tv-question-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(180px,22%);gap:24px;min-height:0;align-items:stretch}.tv-mode .exp-tv-question-main{min-width:0}.tv-mode .exp-tv-question-main>.question-card{padding:24px;border:1px solid var(--line);border-radius:28px;background:var(--paper);color:var(--ink);box-shadow:none}.tv-mode .exp-tv-question-guide{border-radius:28px;padding:24px;background:var(--paper);color:var(--ink);text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:20px}.tv-mode .exp-tv-question-guide>img{width:min(100%,180px);height:auto;aspect-ratio:1;object-fit:contain}.tv-mode .exp-tv-question-guide h2{font-size:clamp(1.75rem,2.5vw,6rem);line-height:1.5;color:var(--teal)}.tv-mode .exp-tv-question-guide p{font-size:clamp(1.125rem,1.72vw,4.125rem);line-height:1.6}.tv-mode .exp-tv-question-guide p:last-child{font-size:clamp(1rem,1.4vw,3rem);color:var(--exp-muted);margin-block-start:auto}.tv-mode .exp-tv-question-main .answers .answer{flex-direction:column;align-items:stretch;padding:12px;min-height:112px;gap:6px}.tv-mode .exp-tv-question-main .question-card>.eyebrow,.tv-mode .exp-tv-question-main .question-card>h2{font-size:clamp(1.125rem,1.72vw,4.125rem);color:var(--teal)}.tv-mode .exp-tv-question-main .question-card>h2{margin:0}.tv-mode .exp-tv-question-main .question-prompt{margin-block:12px 24px}.tv-mode .exp-tv-question-main .runtime-media audio{max-width:100%}.tv-mode .exp-tv-question-main .canonical-source{font-size:1.25rem}
@media(max-width:900px){.tv-mode .exp-tv-question-layout{grid-template-columns:1fr}.tv-mode .exp-tv-question-guide{display:none}.tv-mode .exp-tv-calm-header{flex-wrap:wrap}.tv-mode .exp-tv-chapter-label{flex:1}.tv-mode .exp-tv-calm-header .exp-chapter-strip{order:4;max-width:none;min-width:100%}}

/* Dialog defaults must not cap the map at500px or offset its absolute controls. */
.exp-dialog{max-width:calc(100% - 32px)}.exp-map-shell{container-name:expedition-map;container-type:inline-size;min-width:0;width:100%}.exp-map-nodes{pointer-events:none}.exp-map-node{margin:0;min-height:0;min-width:0;right:auto;bottom:auto}.exp-map-node-action{display:none;pointer-events:auto}.exp-map-node-display{pointer-events:none}.exp-map-compact-list{margin-block-start:12px;color:var(--teal);font-size:1rem}.exp-map-compact-list>summary{min-height:48px;padding:12px 16px;border:1px solid var(--line);border-radius:16px;background:white;cursor:pointer}.exp-map-compact-list>div{display:grid;gap:8px;margin-block-start:8px}.exp-map-compact-list button{display:flex;align-items:center;gap:12px;width:100%;min-height:48px;margin:0;padding:12px 16px;border:1px solid var(--line);border-radius:16px;background:white;color:var(--ink);text-align:start}.exp-map-compact-list button>span{background:var(--soft);border-radius:50%;width:28px;height:28px;display:grid;place-items:center;flex-shrink:0}.exp-map-compact-list button>small{margin-inline-start:auto;color:var(--exp-muted)}.exp-dialog .exp-map{max-height:none;aspect-ratio:16/9}
@container expedition-map (min-width:500px){.exp-map-node-action{display:grid}.exp-map-node-action+.exp-map-node-display{display:none}.exp-map-compact-list{display:none}}

/* CSP-safe authored map anchors: no inline style attributes or policy weakening. */
.exp-map-node.exp-map-position-0{left:84%;top:76%}.exp-map-node.exp-map-position-1{left:68%;top:59%}.exp-map-node.exp-map-position-2{left:53%;top:60%}.exp-map-node.exp-map-position-3{left:39%;top:38%}.exp-map-node.exp-map-position-4{left:29%;top:27%}.exp-map-node.exp-map-position-5{left:16%;top:16%}

/* Light TV cards own their text palette instead of inheriting the dark scene's white type. */
.tv-mode .tv-scene .tv-content .tv-interlude :is(h2,h3,p){color:var(--ink);text-shadow:none}
.tv-mode .tv-scene .tv-content .tv-interlude .eyebrow{color:#765000}
.tv-mode .tv-scene .tv-content .tv-interlude .completed-count{color:var(--ink);background:#e2f2e9;border:1px solid #bdd8ce}
.tv-mode .tv-scene .tv-content .tv-interlude .completed-count strong{color:var(--ink);text-shadow:none}
