/* Grade 5 navigation interface: calm, contemporary, high-contrast. */
:root{--ink:#1a3440;--muted:#607681;--navy:#133b4e;--teal:#087b8a;--mint:#d6f2ee;--shadow:0 8px 22px rgba(22,53,69,.06)}
body{background:#f2f7f9;color:var(--ink);font-family:"Noto Sans JP","Hiragino Kaku Gothic ProN",Meiryo,system-ui,sans-serif}
.header{border-bottom:1px solid #d8e6eb}.logo-mark{background:#153e52!important;color:white!important;border-radius:12px!important;font:700 32px/1.3 system-ui!important;display:grid;place-items:center}.logo-text strong{letter-spacing:.03em}.logo-text strong span{color:#087b8a!important}
.header-code{color:#347181!important}.setup{padding-top:28px}.setup-heading h1{color:#143e52;line-height:1.35}.setup-heading h1 span{color:#087f88}.setup-heading p{font-size:15px;color:#5b7480}.ribbon{background:#e2f1f5;color:#1d6577;letter-spacing:.13em;border:1px solid #c9e6eb}
.launch-card,.teacher-panel,.mission-panel{border:1px solid #dae7ec!important;box-shadow:0 10px 28px rgba(26,58,74,.065)!important;background:white!important}
.form-number{background:#194c60!important;color:white!important}
.level-option,.role-option{border-color:#d7e6ea!important;border-bottom-color:#bfdae0!important;background:#fff!important;color:#254758!important;box-shadow:none!important}
.level-option.active,.role-option:focus-visible{border-color:#088c96!important;background:#edf9f9!important}.level-option .world-emoji{font-size:27px;font-weight:900;color:#13808c}.level-option strong{font-size:16px}
.role-mascot{font-size:29px!important;font-weight:900;background:#e4f2f5;color:#165365;display:grid;place-items:center;border-radius:12px;width:58px;height:58px;flex:none}
.role-b .role-mascot{background:#edf0fc;color:#4659a8}.role-copy strong{font-size:20px}.role-copy small{letter-spacing:.1em}.role-arrow{color:#087f8c}
.code-details{background:#f6fafb!important;border-color:#dfebef!important}.setup-footer{color:#4e7886;font-weight:700}
.back-link,.world-pill,.code-pill{color:#236375!important}.game-title h1{color:#1b465a}.progress-bubble{background:#dff2f5!important;border-color:#bddfe5!important}.progress-bubble strong{color:#116b83!important}
.map-panel{border-color:#f8fcfd!important;box-shadow:0 8px 22px rgba(20,61,82,.09)!important}.map-banner{background:#185166!important;color:white!important}.map-banner-decor{opacity:.75;letter-spacing:.1em}
.mission-head h2{color:#19485a}.mission-head p,.tap-hint,.map-feedback{color:#4b7480}.mission-kicker,.mini-kicker{color:#087887!important}.question-card{border-color:#cfe6e9!important;background:#f0fafb!important}.question-card strong{color:#12596b!important}
.building-tile{border-color:#cfdee4!important;background:white!important}.building-tile.active{border-color:#087e8a!important;background:#eaf8fa!important}.building-tile.complete{border-color:#9ecdbb!important;background:#e8f6ee!important}
.primary-action{background:#087789!important;border-bottom-color:#06546a!important;color:white!important}.secondary-action,.print-button,.teacher-open{background:#eaf5f7!important;color:#1d6376!important;border-color:#d0e6eb!important}.hint-details,.teacher-details{border-color:#e0ecf0!important}
.class-display{background:linear-gradient(135deg,#123e54,#176a75)!important}.live-summary{color:#116776!important}.report-list button{border-color:#d5e5e9!important;background:#f7fbfc!important;color:#295769!important}.report-list button.done{background:#e8f6ee!important;border-color:#afd5c4!important}
.teacher-guide,.teacher-route-hint{background:#f3f8fa!important;color:#345d6c!important}.share-code{background:#e8f5f8!important;color:#1b6879!important;border-color:#c3e3e9!important}
.preview-tabs{background:#edf5f7!important}.preview-tabs button.active{color:#176a7b!important}
.footer{color:#6a8792}
@media(min-width:1100px){.setup-heading h1{font-size:clamp(34px,3.6vw,52px)}}
@media(max-width:520px){.role-mascot{width:43px;height:43px;font-size:24px!important}.role-option{min-height:78px}.setup-heading h1{font-size:28px}.level-option{min-height:88px}.map-panel{border-width:2px!important}}
