/* Scene presentation shares the original NPC sprites and their existing idle animation. */
#markers .marker{isolation:isolate}
#markers .marker::before{content:"";position:absolute;bottom:19px;left:50%;width:68px;height:17px;transform:translateX(-50%);background:radial-gradient(ellipse,rgba(15,30,32,.43),rgba(15,30,32,.15) 48%,transparent 72%);pointer-events:none;z-index:-1}
#markers .marker .npc-body{filter:var(--actor-light,none) drop-shadow(0 3px 1px #15282855)}
#markers .marker.done .npc-body{filter:var(--actor-light,none) drop-shadow(0 0 5px #ffe1a8)}
/* Readable name tags stay separate from the lit sprite; edge quest chips sit below the HUD. */
#markers .marker .npc-name{font-size:12px;font-weight:700;line-height:1.4;padding:3px 9px;border:1px solid #ead9a99c;background:#173e35f0;color:#fff7dc;box-shadow:0 2px 5px #102f3540}
#markers .marker::before{bottom:23px}
#markers .bubble[data-edge]{background:#fff6dc;border-color:#b48a42;box-shadow:0 3px 9px #15362d40}

/* Expedition cover: the original Lumi and village remain the lead artwork. */
.start.travel-cover{padding:28px 5%;background:linear-gradient(90deg,#16392a85,#16392a10 68%);overflow-y:auto;align-items:center}
.travel-cover .start-copy{width:48%;max-width:490px;padding:26px 30px;border:1px solid #fff7d9;border-radius:24px;background:#fff8e9f5;box-shadow:0 16px 50px #17332845;color:#25483c}
.travel-cover h1{font-size:clamp(37px,4.8vw,59px);line-height:1.18;text-shadow:none;color:#214538;margin:0 0 16px}.travel-cover h1 span{color:#9c6b2c}
.travel-cover .eyebrow{color:#5b6e55;font-size:11px;line-height:1.8;letter-spacing:.04em;margin-bottom:12px}
.travel-cover .intro{color:#526b55;font-size:14px;line-height:1.8;margin:12px 0}.travel-cover .creator-credit{color:#4e6755;font-size:12px}
.travel-cover .row{display:flex;gap:10px;margin-top:17px;max-width:none}.travel-cover #start-game{flex:1;background:#245542;color:#fff7db;min-height:54px;border:1px solid #183f32;box-shadow:0 4px 0 #123c2e;font-size:16px}.travel-cover #start-restart{font-size:12px;padding:10px}
.travel-cover .device-orientation-guide{background:#e6ecdc;color:#51614c;border-color:#d3dec6;font-size:11px;padding:7px 10px}.travel-cover .device-orientation-guide strong{color:#244f3c}
.travel-cover .start-links{display:grid;grid-template-columns:1fr 1fr;gap:4px 12px;margin-top:14px}.travel-cover .link-btn{color:#49624f;font-size:12px;min-height:36px;text-align:left;margin:0;padding:7px 0;text-decoration-color:#afbd9e}
.travel-cover .start-record{margin-top:16px;border-top:1px solid #d9dcc6;padding-top:10px;color:#365b42}.travel-cover .record-label{font-size:11px;color:#6b785c;margin-right:10px}
.travel-cover .hero-start{right:0;width:48%;height:83%;bottom:0;opacity:1}.cover-stamp{position:absolute;right:6%;top:32px;background:#1e473ce8;border:1px solid #e4d49b80;border-radius:16px;padding:15px 20px;color:#fff4cd;z-index:1;box-shadow:0 8px 25px #142c2740}.cover-stamp span{font-size:11px;letter-spacing:.06em}.cover-stamp strong{font-family:'Gowun Batang',serif;display:block;font-size:25px;line-height:1.4;margin:6px 0}.cover-stamp small{font-size:10px;color:#d9e4c9}
@media(max-width:739px){.start.travel-cover{display:block;padding:185px 16px 24px;background:linear-gradient(#153b2d0a,#153b2d77)}.travel-cover .start-copy{width:100%;max-width:none;padding:22px;border-radius:22px}.travel-cover h1{font-size:35px;line-height:1.16;margin-bottom:12px}.travel-cover .eyebrow{font-size:10px;margin-bottom:9px}.travel-cover .intro{font-size:13px;margin:10px 0}.travel-cover .hero-start{width:225px;height:225px;right:0;top:-5px;bottom:auto;animation:none}.travel-cover .cover-stamp{top:25px;left:20px;right:auto;padding:13px 15px}.cover-stamp strong{font-size:21px}.cover-stamp small{font-size:9px}.travel-cover .creator-credit{font-size:11px}.travel-cover .start-links{margin-top:12px}.travel-cover .link-btn{min-height:40px}.travel-cover .edition{display:none}}
@media(min-width:740px) and (max-height:620px){.start.travel-cover{align-items:flex-start;padding:18px 4%}.travel-cover .start-copy{padding:18px 24px}.travel-cover h1{font-size:35px;margin-bottom:10px}.travel-cover .eyebrow{margin-bottom:8px}.travel-cover .intro{margin:8px 0}.travel-cover .start-links{margin-top:8px}.travel-cover .cover-stamp{top:20px;padding:12px 16px}}

/* Six postcards: same art as exploration, separate mission/memory progress. */
.journey-postcards{gap:16px}.journey-postcards .region-card{background:#fffdf3;border:1px solid #cdd9bf;border-radius:17px;box-shadow:0 4px 0 #d8dfca;transition:box-shadow .16s,border-color .16s}.journey-postcards .region-card:hover{border-color:#5d8160;box-shadow:0 5px 0 #b5c6a7}.journey-postcards .region-card:focus-visible{outline:3px solid #315d45;outline-offset:3px}
.region-picture{position:relative;overflow:hidden;background:#dce6ca}.journey-postcards .region-picture img{width:100%;height:150px;object-fit:cover}.region-number{position:absolute;top:10px;left:10px;border:1px solid #fff2c7ab;border-radius:50%;background:#1e493ddd;color:#fff3ca;width:31px;height:31px;display:grid;place-items:center;font-size:12px;font-weight:800}.region-stamp{position:absolute;right:9px;bottom:9px;background:#fff3c7;color:#655123;border:1px solid #dfc48c;border-radius:20px;padding:4px 9px;font-size:11px;font-weight:800}
.journey-postcards .body{padding:16px}.journey-postcards .body>strong{font-size:23px}.journey-postcards .body>small{font-size:12px;color:#65765b;min-height:20px;margin:5px 0 13px}.region-progress{display:grid;grid-template-columns:1fr auto auto;gap:7px 9px;border-top:1px solid #e3e5d4;padding-top:11px;font-size:12px;color:#53684d;align-items:center}.region-progress b{font-size:12px;font-variant-numeric:tabular-nums}.progress-pips{display:flex;gap:4px}.progress-pips i{display:block;width:11px;height:7px;border:1px solid #aabd9c;border-radius:3px;background:#e4eadc}.progress-pips i.filled{background:#3d7353;border-color:#3d7353}.journey-postcards .last-region{border:2px solid #446e51}.journey-postcards .completed .region-stamp{background:#f4d48d}
@media(max-width:700px){.journey-postcards{gap:12px 10px}.journey-postcards .region-picture img{height:105px}.journey-postcards .body{padding:12px 10px}.journey-postcards .body>strong{font-size:20px}.journey-postcards .body>small{font-size:11px;min-height:30px;line-height:1.5;margin-bottom:9px}.region-progress{font-size:11px;gap:7px 5px}.region-progress b{font-size:11px}.progress-pips{gap:3px}.progress-pips i{width:9px;height:6px}.region-number{top:8px;left:8px;width:27px;height:27px;font-size:11px}.region-stamp{font-size:10px;padding:3px 6px}}
@media(prefers-reduced-motion:reduce){.journey-postcards .region-card,.journey-postcards .region-card img{transition:none}.journey-postcards .region-card:hover img{transform:none}}

/* Exhibition lobby: region doors no longer compete with tiny picture labels. */
.museum-hero.gallery-room{height:auto;aspect-ratio:auto;display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:9px;padding:12px;background:#e7ecdd;border:1px solid #cdd8bd;overflow:visible;border-radius:19px;margin-bottom:24px}
.gallery-room>img{grid-column:1/-1;order:0;height:245px;object-fit:cover;object-position:center 52%;border-radius:12px}.gallery-room .caption{grid-column:1/-1;order:1;position:static;padding:8px 4px 10px;background:none;color:#3b5b43;font-size:14px;line-height:1.7}
.gallery-room .museum-seal{order:2;position:static;transform:none;width:auto;height:auto;min-height:62px;padding:8px 5px;border-radius:12px;background:#f6f7ed;border:1px solid #bacbac;color:#496144;box-shadow:0 3px 0 #c1ceb4;gap:4px}.gallery-room .museum-seal span{font-size:19px}.gallery-room .museum-seal small{font-size:12px;font-weight:700}.gallery-room .museum-seal.unlocked{background:#f7df9f;color:#5d4621;border-color:#c19c4b;box-shadow:0 3px 0 #bd9b55}.gallery-room .museum-seal:focus-visible{outline:3px solid #335f46;outline-offset:3px}
.exhibition-cards{gap:16px}.exhibition-cards .exhibit{opacity:1;position:relative;display:flex;flex-direction:column;align-items:stretch;padding:18px;background:#fbfaf0;border:1px solid #c9d5bc;border-top:5px solid #9eaf90;border-radius:15px;box-shadow:0 3px 0 #d8dfca;min-width:0}.exhibition-cards .exhibit-kicker{font-size:12px;font-weight:800;color:#647756;letter-spacing:.04em;margin-bottom:9px}.exhibition-cards .exhibit-status{font-size:11px;align-self:flex-start;padding:4px 8px;border-radius:20px;background:#e9eddf;color:#52664a;margin-bottom:13px}.exhibition-cards .exhibit strong{font-family:'Gowun Batang',serif;font-size:21px;line-height:1.45;min-height:60px;margin-bottom:12px}.exhibition-cards .exhibit .region-progress{margin-top:auto}.exhibition-cards .exhibit small{font-size:11px;line-height:1.6;min-height:35px;color:#6c7a5f;margin-top:11px}.exhibition-cards .memory-ready{border-top-color:#a4792f;background:#fff8e7}.exhibition-cards .memory-ready .exhibit-status{background:#f1dfad;color:#6b5325}.exhibition-cards .unlocked{border-top-color:#356744;background:#f2f6e6}.exhibition-cards .unlocked .exhibit-status{background:#2e6248;color:#fff5d5}.exhibition-cards .exhibit:focus-visible{outline:3px solid #315d45;outline-offset:3px}
@media(max-width:700px){.museum-hero.gallery-room{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;padding:10px}.gallery-room>img{height:160px}.gallery-room .caption{font-size:12px;padding:4px 2px 8px}.gallery-room .museum-seal{min-height:54px;padding:6px 3px;gap:2px}.gallery-room .museum-seal small{font-size:11px}.exhibition-cards{gap:12px 10px}.exhibition-cards .exhibit{padding:13px 10px}.exhibition-cards .exhibit-kicker{font-size:11px}.exhibition-cards .exhibit-status{font-size:10px;padding:4px 6px;letter-spacing:-.02em}.exhibition-cards .exhibit strong{font-size:17px;min-height:50px}.exhibition-cards .exhibit small{font-size:11px;min-height:52px}}
.interact.traveling{background:#e9f1e5;color:#24523c;border-color:#85a78a;box-shadow:0 4px 0 #7b977b,0 6px 18px #18352733}.interact.traveling small{display:block;opacity:1}
.dpad button:focus-visible{outline:2px solid #f5d67d;outline-offset:2px;box-shadow:0 0 0 4px #1d443de8}.dpad button.held{background:#2e6249;color:#fff7d5;box-shadow:inset 0 2px 5px #0b302855;transform:scale(.96)}

/* The travelling target and the friend in reach are distinct from the next-quest suggestion. */
#markers .marker.targeted{z-index:3}#markers .marker.targeted .bubble{background:#254f3f;color:#fff4d1;border-color:#e9c77d;box-shadow:0 0 0 3px #fff1bc4d,0 3px 9px #15362d66}#markers .marker.targeted .bubble[data-edge]::before,#markers .marker.targeted .bubble[data-edge]::after{color:#ffe09b}
#markers .marker.in-range .bubble{border-color:#4d8053;box-shadow:0 0 0 3px #e1f0cc9c}#markers .marker.in-range .npc-name{background:#325f43;border-color:#dbe9b7}
.star-pickup.near::before{transform:scale(1.3);background:radial-gradient(circle,#fff8d6b3,#ebc96c3d 42%,transparent 72%)}.star-pickup.near svg{animation:none;transform:scale(1.1);filter:drop-shadow(0 2px 2px #49351fbf) drop-shadow(0 0 5px #fff1a1)}
.star-pickup.tracked::after{content:"";position:absolute;inset:0;border:2px solid #fff0b7;border-radius:50%;box-shadow:0 0 0 2px #31533cb3;pointer-events:none}.star-pickup.tracked .star-label{opacity:1;background:#284d3df5;border:1px solid #e9cf89;padding:4px 9px;font-size:11px}.star-pickup.tracked svg{animation:none;transform:scale(1.1)}

/* Neutral picture mats preserve the original illustrations and their true proportions. */
button.review-picture,button.check-frame,.check-zoom-art{background:#faf9f2;border:1px solid #c3cdb7;box-shadow:inset 0 0 0 4px #fffdf7,0 2px 6px #1b3d2d12;border-radius:13px;padding:10px}
.check-frame .life-scene{width:min(100%,calc(var(--fh) - 24px))}.check-frame .king-portrait{width:min(100%,calc((var(--fh) - 24px)*.75))}
.check-zoom-art{padding:12px}.check-zoom-art .life-scene{width:min(100%,calc(var(--h) - 28px))}.check-zoom-art .king-portrait{width:min(100%,calc((var(--h) - 28px)*.75))}
.check-zoom-mark{width:auto;min-width:53px;height:27px;display:inline-flex;justify-content:center;gap:4px;padding:3px 7px;right:6px;bottom:6px;border:1px solid #b8c8ab;border-radius:14px;background:#fffff4f2;color:#31553e;font-size:11px;font-weight:700;box-shadow:0 1px 4px #173d2424}.check-zoom-mark svg{width:13px;height:13px;flex:none}
.check-figure figcaption,.review-caption{color:#4c624a;font-size:12px;line-height:1.6;margin-top:2px}

/* Round 4: answer states use a visible edge and a distinct symbol. */
.review-choice.selected{border-color:#326b53;background:#eef5e7;box-shadow:inset 4px 0 #326b53,0 2px 5px #183d2412}
.review-choice.selected>span{background:#326b53;color:#fffdf2}
.review-choice.selected>i:empty::before{content:'●';font-size:12px;color:#326b53}
.review-choice.correct,.review-choice.correct:disabled{opacity:1;border-color:#39704b;background:#edf5e5;box-shadow:inset 4px 0 #39704b}
.review-choice.wrong,.review-choice.wrong:disabled{opacity:1;border-color:#b46b39;background:#fff1df;box-shadow:inset 4px 0 #b46b39}
.review-choice.correct>i,.review-choice.wrong>i{display:grid;place-items:center;width:24px;height:24px;border-radius:50%;background:#356946;color:white;font-style:normal;font-size:17px;font-weight:900}
.review-choice.wrong>i{background:#9d592e}
.review-feedback.correct,.review-feedback.wrong{border-width:1px;border-style:solid;border-left-width:4px;border-color:#8ca779;background:#f1f7e9;border-radius:12px;padding:14px;color:#284a32}
.review-feedback.wrong{border-color:#c48c5c;background:#fff3e3;color:#694021}
.review-feedback strong{display:block;font-size:15px;line-height:1.6}
.review-feedback p{line-height:1.75}

/* Round 5: keep choosing separate from submitting. */
.selection-status{min-height:22px;margin:9px 0 4px;color:#355b42;font-size:12px;line-height:1.7;font-weight:800;text-align:center}
.selection-status:empty{min-height:0;margin:0}

/* Round 6: the selected answer's confirmation stays reachable on phones. */
@media(max-width:739px){
 #modal.review-modal{scroll-padding-top:110px;scroll-padding-bottom:100px}
 .review-choice,.review-picture,.check-frame,.selection-status{scroll-margin-block:110px}
 .review-actions:has(#review-submit:enabled),.review-actions:has(#check-submit:enabled){position:sticky;bottom:-14px;z-index:2;padding:12px 8px 16px;margin:8px -8px 0;background:linear-gradient(#fff9eaf2,#fff9ea 20%);border-top:1px solid #d6dcc5;border-radius:12px 12px 0 0;box-shadow:0 -5px 12px #344b2510}
 .review-actions>.btn{min-height:48px;min-width:144px}
 .review-question-panel{padding-bottom:12px}
}

/* Round 8: comfortable targets and a keyboard outline above the painted map. */
.travel-cover .link-btn{min-height:44px;min-width:44px;padding-block:10px}
.objective button,#next-quest{min-height:44px;min-width:44px;padding:7px 10px;line-height:1.35}
button:focus-visible,a:focus-visible{outline:3px solid #8c4d0d;outline-offset:3px}
#markers button:focus-visible,#stars button:focus-visible{outline-color:#fff5ca;box-shadow:0 0 0 6px #244a38}
@media(max-width:739px){.travel-cover .link-btn{min-height:44px}.objective button{min-height:44px}}
