/* Chapter controls extend the existing pixel palette; game scene geometry is retained. */
.release-status{color:#d5b882;font-size:15px;line-height:1.3;letter-spacing:.3px;margin:0 0 7px}
.idle-controls .text-button{margin-bottom:8px}
.pack-error{font-size:16px;color:#efb86e;margin:0 0 6px}
.pack-error:empty{display:none}
.primary:disabled{opacity:.55}
.chapter-list{display:grid;gap:8px;max-height:48vh;overflow-y:auto;padding:5px}
.chapter-link{display:block;padding:10px 12px;border:1px solid #344057;background:#0c1524;text-decoration:none;color:#c9d4e5}
.chapter-link.selected{border-color:#dca657;background:#21170e}
.chapter-link span{display:block;color:#ecbd76;font-size:19px}
.chapter-link small{display:block;font-size:16px;line-height:1.35;margin-top:5px;color:#94a9bf}
.scope-button{display:block;margin:6px auto 0;padding:3px 8px;border:0;background:none;color:#edc188;font:inherit;font-size:14px;letter-spacing:1px;text-decoration:underline;text-underline-offset:3px;min-height:28px}
.prompt-panel .prompt-hint{white-space:normal;line-height:1.35;letter-spacing:.2px;overflow-wrap:anywhere}
#answer-hint{display:block;white-space:normal;overflow-wrap:anywhere}
#question-scope h3{font-weight:400;color:#edc188}
.pixel-dialog .scope-warning{font-size:16px;color:#edc188}
.pixel-dialog{max-height:calc(100dvh - 32px);overflow-y:auto}
.game.compact .scope-button{margin-top:2px;min-height:24px;font-size:12px}
@media(max-width:700px){.release-status{font-size:13px}.idle-controls .identity{font-size:12px}.chapter-list{max-height:46vh}.chapter-link{padding:9px}.chapter-link span{font-size:17px}.pixel-dialog:has(.chapter-list){padding:26px 20px}}

/* First-time entry stays above the scenery without covering the main action. */
.entry-note{margin:0 0 12px;color:#d5dfeb;font-size:20px;line-height:1.3;letter-spacing:.2px}
.entry-switches{display:flex;justify-content:center;flex-wrap:wrap;gap:4px 16px;margin-top:9px}
.entry-switches .text-button{min-height:40px;margin:0;font-size:13px;color:#edc188;letter-spacing:.6px}
.entry-switches .text-button:focus-visible,.scope-button:focus-visible{outline:2px solid #edc188;outline-offset:3px}
.idle-controls .release-status{font-size:14px;color:#a9b9cd;margin:2px 0 0}
.idle-controls .identity{margin-bottom:12px}
.idle-controls .start{font-size:27px}
.idle-controls .under-start{margin-top:8px}
.feedback-example{margin:12px auto 0;padding:12px;background:#162235;border:1px solid #35465f;text-align:left}
.feedback-example strong{display:block;color:#edc188;font-size:24px;font-weight:400}
.feedback-example p{font-size:18px;line-height:1.35;letter-spacing:0;color:#d0d9e5;margin:5px 0 0}
.game[data-phase=feedback] .feedback-panel{max-height:calc(var(--play-height,100svh) - 260px);overflow-y:auto;overscroll-behavior:contain}
.feedback-panel .scope-button{margin-top:12px;font-size:16px;min-height:36px}
.round-answers-list{list-style:none;padding:0;margin:16px 0 0}
.round-answers-list li{padding:12px 0;border-top:1px solid #34435b}
.round-answers-list strong{font-size:23px;color:#edc188;font-weight:400}
.round-answers-list span{display:block;font-size:16px;color:#9dafc5}
.round-answers-list p{font-size:18px;margin:6px 0 0;line-height:1.4}
.revision-history{border:1px solid #344057;border-top:0;padding:8px 12px;color:#b5c5d8;font-size:17px}
.revision-history summary{cursor:pointer;color:#edc188}
.revision-history p{font-size:16px;overflow-wrap:anywhere;margin:10px 0}
.revision-history a{color:#edc188;text-underline-offset:3px}
.answer-controls.needs-tap input{border-color:#ff935e;box-shadow:inset 0 0 0 3px #0a101a,0 0 14px #ff825066}
.answer-controls.needs-tap input::placeholder{color:#f0c693}
@media(prefers-reduced-motion:no-preference){
  .answer-controls.needs-tap input{animation:tap-cue 1.2s ease-in-out infinite}
  @keyframes tap-cue{0%,100%{box-shadow:inset 0 0 0 3px #0a101a,0 0 8px #ff825040}50%{box-shadow:inset 0 0 0 3px #0a101a,0 0 18px #ff935e99}}
}
@media(max-width:700px){
  .game[data-phase=idle] .idle-controls{bottom:6%;max-width:calc(100% - 36px)}
  .entry-note{font-size:18px;line-height:1.25;margin-bottom:10px}
  .idle-controls .start{font-size:23px;padding:17px 9px}
  .entry-switches{gap:0 12px;margin-top:6px}
  .entry-switches .text-button{font-size:12px;min-height:40px;letter-spacing:.2px}
  .idle-controls .release-status{font-size:13px}
  .idle-controls .identity{font-size:12px;margin-bottom:9px}
  .feedback-example{padding:9px;margin-top:8px}
  .feedback-example strong{font-size:22px}
  .feedback-example p{font-size:17px}
  .feedback-panel .scope-button{font-size:14px;margin-top:7px;min-height:34px}
}
@media(max-height:560px){
  .entry-note{font-size:15px;line-height:1.15;margin-bottom:6px}
  .idle-controls .identity{font-size:11px;margin-bottom:6px}
  .idle-controls .start{font-size:21px;padding:10px}
  .entry-switches{margin-top:3px;gap:0 12px}
  .entry-switches .text-button{min-height:28px;font-size:11px}
  .idle-controls .release-status{font-size:11px}
  .game[data-phase=feedback] .feedback-panel{max-height:calc(var(--play-height,100svh) - 175px)}
  .feedback-example{padding:8px}
  .feedback-example strong{font-size:19px}
  .feedback-example p{font-size:15px}
}
