/* Two enduring identities. The compact HUD never gains a second panel. */
.team .team-mark{width:38px;height:38px;object-fit:contain;flex:none}
.team-title strong{color:#eee3cd;font:600 clamp(15px,1.2vw,22px) Georgia,serif}
.team-title small{display:none!important}
.faction-pair{display:grid;grid-template-columns:1fr 26px 1fr;align-items:center;gap:16px;margin-bottom:12px;text-align:center}
.faction-pair>div{display:flex;align-items:center;justify-content:center;gap:16px}
.faction-pair img{width:76px;height:82px;object-fit:contain;filter:drop-shadow(0 4px 8px #0008)}
.faction-pair strong{font:500 22px Georgia,serif;color:#eddfc0}
.faction-pair>span{color:#c8b377;font-size:21px}
.setup-options .setup-intro{font-size:13px;margin:0 0 14px;text-align:center;color:#c2cfd0}
.pack-shortcut{display:flex;align-items:center;gap:10px;font-size:12px;color:#c3cfcb;margin-top:10px}
.pack-shortcut select,.pack-shortcut button{min-height:40px;padding:7px 12px}
.setup-options details{margin:10px 0}
.race-plan{display:flex;flex-wrap:wrap;list-style:none;gap:6px;margin:10px 0;padding:0}
.race-plan li{border:1px solid #bfa86c44;padding:8px 11px;background:#07151c66;flex:1;min-width:94px;color:#e6d6b4;font:500 14px Georgia,serif}
.race-plan small{display:block;font:11px/1.5 system-ui,sans-serif;color:#b9cbcb;margin-top:5px}
.race-plan li[aria-current='step']{border-color:#dbbd77}
.material-actions{display:flex;gap:8px;margin:8px 0}
.material-actions button{flex:1;min-height:42px;font-size:12px;background:#152a34;border:1px solid #baa66a55;color:#e4d7b9}
.setup-options .setup-grid{gap:12px}
.setup-card{height:min(820px,94vh)}
.setup-options{display:flex;flex-direction:column;min-height:0;height:100%;overflow:hidden}
.setup-scroll{flex:1;min-height:0;overflow:auto;padding-right:6px;scrollbar-color:#78877b #0b1e27;scrollbar-width:thin}
.setup-footer{flex:none;border-top:1px solid #b4a06f44;margin-top:10px;padding-top:4px}
.setup-footer .material-actions .setup-tutorial{margin:0}
.setup-footer .setup-footnote{font-size:9px!important;margin-top:8px!important;text-align:center}
.phase-overlay[data-phase='ready'] .phase-card{width:min(840px,90vw);max-width:90vw;overflow:visible;padding:20px 28px;bottom:17%}
.phase-overlay[data-phase='ready'] .phase-card h2{font:500 clamp(34px,4.3vw,64px)/1.1 Georgia,serif;margin:8px 0;max-width:none;width:100%;white-space:normal}
.phase-overlay[data-opening='countdown'] .phase-card h2{font-size:clamp(70px,8vw,120px)}
.setup-grid label[hidden]{display:none}
.saved-expedition{padding:12px 14px;border:1px solid #c7ae7455;background:#081b24;margin-bottom:16px;display:flex;align-items:center;justify-content:space-between;gap:12px}
.saved-expedition[hidden]{display:none}
.saved-expedition strong{font:500 17px Georgia,serif;color:#efdfb6}
.saved-expedition button{min-height:44px;color:#eddfc0}
.backup-actions{display:flex;gap:10px;font-size:12px;align-items:center;margin:10px 0}
.backup-actions label{display:inline-flex;align-items:center;min-height:44px;padding:7px 10px;border:1px solid #bba56a55;cursor:pointer}
.backup-actions input{width:1px;height:1px;opacity:0}
.opening-emblems{display:flex;justify-content:center;gap:34px;align-items:center;min-height:155px;margin:0 0 20px}
.opening-emblems[hidden]{display:none}
.opening-emblems img{width:216px;height:216px;object-fit:contain;opacity:.45;filter:drop-shadow(0 4px 8px #0008);transform:scale(.9)}
.opening-emblems img[data-selected='true']{opacity:1;transform:scale(1);filter:drop-shadow(0 0 16px #eac77c4d)}
.phase-overlay[data-opening='welcome'] .opening-emblems img{opacity:1;transform:none}
.phase-overlay[data-opening='draw'] .opening-emblems img{transition:opacity .12s,transform .12s}
#phaseDetails{white-space:pre-line}
@media(prefers-reduced-motion:reduce){.opening-emblems img{transition:none!important;transform:none!important}}
.setup-options .practice-preview{padding:9px 12px;margin-bottom:10px}
.final-score img{width:42px;height:46px;vertical-align:middle;object-fit:contain}
#gameScene[data-series-intermediate='true'] .victor-rune,#gameScene[data-series-intermediate='true'] .victory-sparks{display:none}
#reviewList{max-height:32vh}
.review-row{grid-template-columns:1fr 1fr;min-height:48px;font-size:clamp(20px,2vw,30px)}
.review-row>span{grid-column:1/-1;font-size:10px}
.review-row>strong:last-child{color:#d5ecc1}
#reviewReveal{min-height:44px;margin:0 16px 12px;color:#eddfc0}
#phaseOverlay[data-intermediate='true'] .phase-card{background:linear-gradient(150deg,#172b34ed,#0a1925f5);border:1px solid #beaa7155}
#phaseOverlay[data-intermediate='true'] .final-score strong{font-size:38px}
@media(max-height:650px){.faction-pair img{width:56px;height:60px}.faction-pair strong{font-size:19px}.faction-pair{margin-bottom:6px}.setup-options .setup-intro{margin-bottom:8px}}
@media(max-height:650px){
 .split{--hud-height:24px;--prompt-height:72px;--answer-height:38px;--power-height:54px}
 .team .world.world-art{--sprite:96px}
 .team .world-figure{width:96px;height:96px}
 .base-form{font-size:42px}
 .opening-emblems{min-height:105px;margin-bottom:10px}.opening-emblems img{width:144px;height:144px}
}
@media(max-width:760px){.faction-pair>div{flex-direction:column;gap:5px}.faction-pair strong{font-size:19px}.setup-options .setup-grid{grid-template-columns:1fr 1fr}}
@media(prefers-reduced-motion:no-preference){#sectionChoices label{transition:background .18s,border-color .18s}#sectionChoices label:hover{border-color:#d2bb83}.start-button:hover{filter:brightness(1.08)}}

.power-target img{width:15px;height:17px;object-fit:contain;display:block}.power-target{background:none!important;border:0!important;padding:0!important}

/* Preparation: one clear learning choice, a compact lesson path, quiet details. */
.prepare-heading{color:#ead8b1;font:500 25px Georgia,serif;margin:10px 0 16px}
.form-choices{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-bottom:16px}
.form-choices button{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:12px;min-height:88px;padding:12px 16px;color:#e2d5b9;border:1px solid #a693644d;background:linear-gradient(140deg,#203743,#10242e);text-align:left}
.form-choices strong{font:500 16px Georgia,serif}.form-choices span{color:#b7c7c6;font:500 17px Georgia,serif;white-space:nowrap}
.form-choices button[aria-pressed='true']{border-color:#d3b779;background:linear-gradient(135deg,#364a48,#1a3438);box-shadow:inset 0 2px 0 #d3b779,0 3px 10px #0002}
.form-choices button[aria-pressed='true'] span{color:#f0dcae}
.setup-options .practice-preview{font:500 24px/1.6 Georgia,serif;color:#f0e4c9;background:linear-gradient(110deg,#bda36412,transparent);padding:10px 15px;white-space:pre-line;margin:0 0 12px}
.setup-options .match-settings>summary{font-size:13px;padding:9px 0;cursor:pointer;color:#cbd4cf}
.setup-options details{margin:3px 0}
.setup-options .word-settings legend{font-size:12px;margin-bottom:10px}
#sectionChoices{grid-template-columns:repeat(2,minmax(0,1fr))}
#sectionChoices label{align-items:flex-start;padding:12px;min-height:76px;background:linear-gradient(125deg,#213743,#11242e);border-radius:2px}
#sectionChoices input{flex:none;margin-top:2px}#sectionChoices span{font:500 17px Georgia,serif;line-height:1.2;color:#efdfbd}
#sectionChoices small{display:block;font:11px/1.6 system-ui,sans-serif;color:#becdca;margin-top:6px}
#targetChoices{flex-wrap:wrap;gap:6px 16px;padding:6px 10px;border-color:#bba36a44}
#targetChoices legend{font-size:12px;color:#d9cca8}#targetChoices label{font-size:12px}
.team[data-question-mode='missing'] .prompt-label{display:none}
.team:not([data-question-mode='missing']) .prompt-note small{display:none}
.team[data-question-mode='missing'] .prompt-note{display:grid;gap:4px 12px;top:12px;left:35px;right:70px;white-space:normal}
.team[data-question-mode='missing'] .prompt-note span{min-width:0;border:0;padding:0;margin:0}
.team[data-question-mode='missing'] .prompt-note strong{font:600 clamp(24px,2.1vw,40px)/1.1 Georgia,serif;white-space:nowrap;letter-spacing:-.035em}
.team[data-question-mode='missing'] .prompt-note small{font-size:clamp(8px,.67vw,12px);letter-spacing:0;margin-bottom:3px;white-space:nowrap}
.team[data-question-mode='missing'] .prompt-note .target-cell{background:transparent;border-bottom:1px solid #ceb2718c}
.team[data-question-mode='missing'] .prompt-note .meaning-hint{font-size:14px;line-height:1.1}
@media(max-height:650px){.team[data-question-mode='missing'] .prompt-note{top:9px;gap:3px 12px}}
@media(max-height:650px){.prepare-heading{font-size:21px;margin:6px 0 10px}.form-choices button{min-height:72px;padding:9px 12px;gap:8px}.setup-options .practice-preview{font-size:20px}.form-choices{margin-bottom:10px}}
@media(max-width:1000px){.form-choices strong{font-size:14px}.form-choices button{padding:10px}.form-choices span{font-size:16px}}

.collection-choice{display:flex;align-items:center;gap:12px;color:#d5cfba;font-size:13px;margin:8px 0 14px}.collection-choice select{flex:1;min-height:42px;padding:8px;background:#16303b;color:#e8dcc0}.team .prompt-note .context-hint{font:600 26px Georgia,serif;color:#ede0ba}.team[data-question-mode="missing"] .prompt-note .context-hint{grid-column:1/-1;font-size:16px}

.form-choices{grid-template-columns:repeat(2,minmax(0,1fr))}
.pool-readiness{margin:0 0 12px;color:#c7d9c0;font-size:13px}.pool-readiness[data-ready="false"]{color:#ffd3a4}.start-button:disabled{opacity:.5;cursor:not-allowed}
.pace-choices{display:flex;gap:8px;margin:12px 0}
.pace-choices button{min-height:42px;flex:1;background:#0c1e27;border:1px solid #8d9f9b55;color:#bed0cf;border-radius:4px;font-size:13px}
.pace-choices button[aria-pressed='true']{border-color:#d7bd83;color:#f3dfae;background:#d7bd8315}
.lesson-preparation{display:grid;grid-template-columns:minmax(0,2fr) minmax(110px,1fr);gap:12px;margin:0 0 16px}
.lesson-preparation label{display:flex;flex-direction:column;gap:6px;color:#d5cfba;font-size:12px}
.lesson-preparation select{width:100%;min-height:44px;font-size:13px}
.setup-options .collection-choice{margin:0 0 12px}
.setup-options .practice-preview{font:12px/1.4 system-ui,sans-serif;padding:0;background:none;border:0;margin:0 0 6px;color:#b9cbc7}
.pool-readiness[data-ready='true']{display:none}
.setup-options .lesson-route{margin:0 0 12px}.lesson-route summary{font:13px/1.3 system-ui,sans-serif;color:#e0c88f;cursor:pointer;min-height:24px}
.setup-options .faction-pair{margin-bottom:2px}.setup-options .faction-pair img{width:52px;height:58px}
.setup-options .form-choices button{min-height:70px;gap:6px}
.setup-options .race-plan li{min-width:115px;padding:6px 8px}
@media(min-width:1100px){.setup-options .form-choices{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.setup-options .form-choices button{padding:10px;min-height:82px;justify-content:space-between}.setup-options .form-choices strong{font-size:14px}.setup-options .form-choices span{font-size:13px}}
@media(max-height:650px){.lesson-preparation{margin-bottom:10px}.setup-options .form-choices button{min-height:62px}.setup-options .faction-pair img{width:38px;height:42px}.setup-options .pace-choices{margin:8px 0}}
