@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Fredoka:wght@400;500;600&display=swap');
:root{font-family:'DM Sans',sans-serif;color:#244f50;background:#f8f5e9}*{box-sizing:border-box}body{margin:0;overflow:hidden}button{font:inherit;color:inherit;cursor:pointer;border:0}button:focus-visible,canvas:focus-visible{outline:3px solid #e9ad42;outline-offset:3px}[hidden]{display:none!important}header{height:92px;display:flex;align-items:center;padding:0 30px;gap:25px;border-bottom:1px solid #dfe6d8;background:#fffdf5}.brand{display:flex;align-items:center;gap:12px;font-weight:700;letter-spacing:1px;white-space:nowrap}.brand>span{font-size:35px;color:#bc914a}.brand small{display:block;font-size:9px;letter-spacing:4px;margin-top:5px}.edition{font-size:10px;letter-spacing:2px;color:#79958a;flex:1;text-align:center}nav{display:flex;gap:10px}nav button{background:#edf2e7;padding:13px 18px;border-radius:12px;font-size:12px}nav button:last-child{background:#20575b;color:#fff8dd}main{display:grid;grid-template-columns:270px 1fr;height:calc(100dvh - 92px)}aside{padding:30px 23px 15px;overflow:auto;display:flex;flex-direction:column;border-right:1px solid #e0e4d6}.eyebrow{font-size:9px;font-weight:700;letter-spacing:2px;color:#82947b}h1{font:500 34px/1.1 Fredoka,sans-serif;margin:15px 0}aside p{font-size:12px;color:#71857c;line-height:1.8;margin:0 0 15px}#gems{display:flex;gap:10px;margin:8px 0 18px}#gems span{width:38px;height:38px;border:1px solid #d7dfd2;border-radius:12px;display:grid;place-items:center;font-size:25px;color:#ced9c9}#gems .earned{background:#f7e4a9;color:#bd9043;border-color:#dbc081}.progress{height:5px;background:#e4e8da;border-radius:8px;overflow:hidden}.progress i{display:block;height:100%;background:#64a78a}#count{font-size:10px;color:#8a9b8e;margin:9px 0 20px}#places{display:grid;gap:8px}.place{background:#fffdf7;border:1px solid #e2e7d9;border-radius:13px;padding:12px;text-align:left;display:flex;align-items:center;gap:10px;transition:.15s}.place:hover{border-color:#8eb49f;transform:translateX(3px)}.place b{font-size:11px;display:block}.place small{font-size:9px;color:#9aab99}.place>span{font:500 16px Fredoka;color:#b69c62}.aside-bottom{margin-top:auto;padding-top:24px;display:grid;gap:8px}.aside-bottom button{background:transparent;text-align:left;font-size:10px;color:#829889;padding:4px 0}#stage{position:relative;overflow:hidden;background:#85ccc9}canvas{display:block;width:100%;height:100%;outline:none!important}.map-caption{position:absolute;top:24px;left:28px;pointer-events:none}.map-caption span{font-size:10px;letter-spacing:3px;font-weight:700;color:#386d70}.map-caption small{display:block;margin-top:7px;color:#518b89;font-size:9px}.controls{position:absolute;bottom:20px;left:50%;transform:translateX(-50%);white-space:nowrap;font-size:10px;color:#fff8e4;background:#28696ac9;border-radius:30px;padding:12px 20px;pointer-events:none}.controls span{margin:0 15px;color:#f1d38c}kbd{font:600 11px 'DM Sans';background:#ffffff35;padding:3px 6px;border-radius:5px}#island-buttons{position:absolute;inset:0;pointer-events:none}.island-button{position:absolute;transform:translate(-50%,-50%);pointer-events:auto;background:#fff9e8;border:2px solid #ffffffb3;border-radius:17px;box-shadow:0 5px 0 #327c7b25;padding:10px 17px;white-space:nowrap}.island-button strong{display:block;font:500 18px Fredoka}.island-button small{display:block;font-size:9px;color:#82917e;margin-top:4px}.island-button:disabled{opacity:.8;cursor:not-allowed}#prompt{position:absolute;left:50%;bottom:70px;transform:translateX(-50%);background:#fff9e7;border:2px solid white;box-shadow:0 8px 25px #275e6422;border-radius:17px;padding:13px 17px;display:flex;gap:25px;align-items:center;white-space:nowrap}#prompt small{display:block;font-size:8px;letter-spacing:2px;color:#97a084}#prompt strong{display:block;font:500 20px Fredoka;margin-top:3px}#prompt button,.primary{background:#efd08a;border-radius:10px;padding:12px 16px;font-weight:700;font-size:12px}#back{position:absolute;right:22px;top:22px;padding:10px 14px;background:#fff6deb8;border-radius:12px;font-size:10px}#activity{position:fixed;inset:20px;z-index:30;background:#faf5e6;border:5px solid #fff9ea;border-radius:24px;overflow:hidden;box-shadow:0 0 0 100vmax #183e46a6}.activity-bar{height:55px;display:flex;align-items:center;justify-content:space-between;padding:0 22px;background:#24565b;color:#fff6df;font-size:13px}.activity-bar button{background:#ffffff20;padding:9px 14px;border-radius:9px;color:inherit}iframe{width:100%;height:calc(100% - 55px);border:0}dialog{border:0;border-radius:24px;padding:35px;max-width:540px;color:#244f50;background:#fff9eb}dialog::backdrop{background:#173e478c}dialog h2{font:500 30px Fredoka}dialog li{font-size:13px;line-height:1.9;margin:10px 0}dialog p{font-size:11px;color:#7b9388}.close{float:right;border-radius:50%;background:#e9eddf;width:28px;height:28px}#toast{position:fixed;bottom:30px;left:50%;transform:translate(-50%,100px);padding:14px 22px;background:#24565b;color:#fff6df;border-radius:14px;z-index:90;transition:.2s;font-size:13px}#toast.show{transform:translate(-50%,0)}@media(max-width:1000px){main{grid-template-columns:225px 1fr}aside{padding:25px 16px}h1{font-size:29px}.edition{display:none}header{justify-content:space-between}.island-button strong{font-size:15px}.island-button{padding:8px 10px}}@media(max-height:720px){header{height:72px}main{height:calc(100dvh - 72px)}aside{padding-top:20px}h1{font-size:28px}#gems{margin:0 0 10px}.place{padding:8px}#count{margin-bottom:12px}.aside-bottom{padding-top:10px}}@media(max-width:700px){body{min-width:700px}header{padding:0 15px}main{grid-template-columns:210px 1fr}.controls{font-size:8px}}
.location-note{cursor:default}.location-note:hover{transform:none;border-color:#e2e7d9}#discovery{position:fixed;left:calc(270px + (100vw - 270px)/2);bottom:27px;transform:translateX(-50%);width:min(660px,calc(100vw - 330px));padding:19px 24px;background:#fff9e9;border:2px solid #fffdf7;border-radius:20px;box-shadow:0 10px 35px #183f4633;z-index:5}#discovery h2{font:500 22px Fredoka;margin:8px 0}#discovery p{font-size:13px;line-height:1.75;margin:8px 0 12px}#discovery small{font-size:8px;letter-spacing:2px;color:#83967b}#collect,#return-stalls{background:#eacb7d;border-radius:9px;padding:9px 15px;font-size:11px;font-weight:700}#collect:disabled{background:#dfebd5;color:#537857;cursor:default}.journal-note{display:flex;gap:9px;padding:10px 0;border-bottom:1px solid #e0e6d8;font-size:11px;line-height:1.6}.journal-note span{color:#c9a354}.visit-tip{padding:14px;background:#ecedda;border-radius:12px;font-size:11px;line-height:1.8;margin:15px 0}.visit-count{font:500 24px Fredoka;color:#548c75}@media(max-width:1000px){#discovery{left:calc(225px + (100vw - 225px)/2);width:calc(100vw - 285px)}}

#photo-detail:not([hidden]){display:flex;gap:14px;align-items:center;margin:10px 0}#photo-detail img{width:180px;max-height:135px;object-fit:contain;background:#e9dfc9;border-radius:7px}#photo-detail div{font-size:12px;line-height:1.5}#photo-detail p{margin:4px 0}#photo-detail a{color:#367c85}#discovery{max-height:62vh;overflow:auto}

#discovery{max-height:70vh;bottom:65px;padding:18px 22px;width:min(640px,calc(100vw - 310px))}#dismiss-discovery{float:right;background:#dcece7;padding:9px 14px;border-radius:9px;color:#245957;font-weight:700}#discovery button{margin:5px 6px 0 0}#listen-guide,#next-exhibit,#leave-discovery{border-radius:8px;padding:10px 13px;background:#e2ece8;font-size:12px;color:#285f60}#leave-discovery{background:transparent;text-decoration:underline}#photo-detail .story-picture{flex:0 0 150px;height:150px;background-image:url('assets/story-atlas.png');background-size:400% 400%;border-radius:12px}#photo-detail small{font-size:10px;letter-spacing:0}#photo-detail details{font-size:11px;margin-top:8px}#photo-detail summary{cursor:pointer;text-decoration:underline}#photo-detail details img{display:block;margin:8px 0}#photo-detail:not([hidden]){align-items:flex-start}#discovery-tag{display:block;padding-top:7px;margin-right:90px}#discovery h2{clear:both;padding-top:5px}

#walk-next{width:100%;padding:12px;background:#d7e8e0;color:#285f60;border-radius:10px;margin-top:14px;font-weight:700}#discovery-text{display:none}

#photo-detail img.object-preview{width:180px;height:155px;max-height:none;object-fit:contain;flex:0 0 180px;background:#fff2d8}

#journey{padding:0;border:0;border-radius:24px;width:min(820px,94vw);max-height:92vh;color:#254f51;background:#fff9eb;box-shadow:0 20px 80px #163d4a55}#journey::backdrop{background:#102c40bb}.journey-sky{position:relative;text-align:center;padding:18px;background:linear-gradient(140deg,#1c6479,#40968e);color:#fff4cf;overflow:hidden}.journey-stars{font-size:22px;animation:journeyGlow 2s ease-in-out infinite alternate}.journey-route{display:flex;justify-content:space-around;align-items:center;font-size:12px;gap:15px}.journey-route>span:first-child,.journey-route>span:last-child{background:#ffffff18;border-radius:25px;padding:10px 15px}.journey-boat{font-size:35px;animation:sailAcross 4s ease-in-out infinite}.journey-people{display:flex;justify-content:center;gap:12px;margin:8px}.journey-people span{font-size:34px;animation:peopleJoin .8s both}.journey-people span:nth-child(2){animation-delay:.15s}.journey-people span:nth-child(3){animation-delay:.3s}.journey-people span:nth-child(4){animation-delay:.45s}.journey-sky strong{letter-spacing:6px;font-size:14px}.journey-body{padding:22px 30px}.journey-body>small{font-size:9px;letter-spacing:2px}.journey-body h2{font:500 29px Fredoka;margin:10px 0}.journey-body p{font-size:14px;line-height:1.7}.connection-task{border-top:1px solid #dddbc7;margin-top:17px;padding-top:4px}.connection-task h3{font-size:18px;margin-bottom:0}#journey-options{display:grid;gap:7px}#journey-options button{text-align:left;padding:11px 15px;border:1px solid #d4dece;border-radius:9px;background:#f0f1e3;font-size:13px}#journey-options button.correct{background:#d8eddc;border-color:#73ab85}#journey-feedback{color:#397458;font-size:13px;min-height:20px}.journey-actions{display:flex;justify-content:space-between;gap:15px}.journey-actions button{padding:12px 18px;border-radius:10px;background:#e6eadd}#journey-next{background:#265e61;color:#fff6dd}#journey-next:disabled{opacity:.4;cursor:default}.place:disabled{opacity:.48;cursor:not-allowed}.island-button:disabled{filter:grayscale(1);opacity:.7}@keyframes sailAcross{0%,100%{transform:translateX(-30px) rotate(-5deg)}50%{transform:translateX(30px) rotate(5deg)}}@keyframes peopleJoin{from{opacity:0;transform:translateY(25px) scale(.7)}to{opacity:1;transform:none}}@keyframes journeyGlow{to{opacity:.5;transform:scale(1.08)}}@media(prefers-reduced-motion:reduce){.journey-sky *{animation:none!important}}
#photo-detail:not([hidden]){display:flex;flex-direction:column;gap:15px}#photo-detail .real-photo{margin:0;width:100%}#photo-detail .real-photo img{display:block;width:100%;height:260px;max-height:32vh;object-fit:contain;background:#e6e9db;border-radius:14px}#photo-detail figcaption{font-size:11px;line-height:1.5;margin-top:7px;color:#536c65}#photo-detail .wide-cartoon{width:100%;height:250px;max-height:30vh;background-image:url('assets/story-atlas.png');background-size:400% 400%;border-radius:14px}#photo-detail img.object-preview{width:100%;height:210px;flex:none;object-fit:contain}#photo-detail .discovery-copy p{margin:0;font-size:16px;line-height:1.65}#discovery{max-height:83vh;bottom:40px;padding:20px 25px;overflow:auto}#listen-guide[hidden]{display:none!important}#discovery-text{display:none}#stage{min-width:0}#activity{overflow:hidden}#frame{width:100%;min-width:0}
/* Clear states, readable photos and a player passport. */
.location-note.complete-status{border:2px solid #26805e;background:#e0f1e3}.location-note.pending-status{border-left:5px solid #c18b2d}.location-note small{line-height:1.5}.journal-note:has(span:first-child){line-height:1.55}.journal-note span{font-weight:900;font-size:22px}#gems span{opacity:.48;filter:none}#gems span.earned{opacity:1;text-shadow:0 2px 4px #0002}#photo-detail .real-photo img{width:100%;max-height:310px;object-fit:contain;background:#e3e8de}#photo-detail .discovery-copy p{margin:.5em 0;line-height:1.65}#welcome-player{max-width:520px;width:90%;border:0;border-radius:28px;padding:32px;background:#fff9e8;color:#245760}#welcome-player::backdrop{background:#193e4be0;backdrop-filter:blur(5px)}#welcome-player h2{font-size:32px;margin:12px 0}#welcome-player label{display:block;font-weight:700;margin:15px 0}#welcome-player input:not([type=checkbox]){display:block;width:100%;box-sizing:border-box;border:2px solid #b6d4cd;padding:13px;border-radius:10px;font:inherit;margin-top:7px;background:white}#welcome-player button{width:100%;padding:15px;background:#edca72;border:0;border-radius:12px;font-size:18px;font-weight:700;color:#244d54}.welcome-art{font-size:48px;background:#a9d8d2;border-radius:18px;padding:20px;text-align:center}.welcome-art span{font-size:24px;color:#418f8a}.privacy-note{font-size:12px;opacity:.8}.music-choice{font-size:14px}header nav{flex-wrap:wrap;gap:6px}header nav button{font-size:12px}

/* Desktop presentation: concise map labels and uncollected grey gems. */
header nav{margin-left:auto}#chapter:empty{display:none}#description{font-family:Fredoka,sans-serif;font-size:17px;line-height:1.55;color:#286c7c;font-weight:400}#gems span{opacity:1}#gems span:not(.earned){background:#edf0ed;border-color:#cdd3d1;color:#a2a8aa}.welcome-art span{color:#929fa1}.welcome-art strong{display:block;font:700 16px/1.4 "DM Sans",sans-serif;letter-spacing:2px;margin-top:8px}
/* Desktop readability and media, edition 12. */
.place b{font-size:15px;line-height:1.35}.place small{font-size:12px;line-height:1.5;display:block;margin-top:5px;color:#516966}.place>span{font-size:18px}.location-note{align-items:flex-start;gap:9px}.location-note>div{min-width:0}.journal-note{font-size:14px;line-height:1.5}.visit-tip{font-size:14px;line-height:1.6}#count{font-size:12px;color:#516966}.map-caption span{font-size:12px}.controls{font-size:12px}#discovery p{font-size:17px;line-height:1.6}#discovery h2{font-size:28px}#discovery small{font-size:11px;letter-spacing:1px}#discovery button{font-size:14px}#photo-detail figcaption{font-size:12px;line-height:1.5}dialog li{font-size:16px}dialog p{font-size:14px}#instructions{max-width:620px;max-height:90vh;overflow:auto}.ready-location{box-shadow:0 0 0 2px #e8ba55;animation:readyGlow 1.8s ease-in-out infinite}.dance-video{aspect-ratio:16/9;background:#173b42;border-radius:14px;overflow:hidden}.dance-video iframe{width:100%;height:100%;border:0}.video-source{font-size:14px!important}.costume-photos{display:flex;gap:12px;align-items:stretch}.costume-photos figure{flex:1;min-width:0;margin:0}.costume-photos img{height:300px;object-fit:contain!important}.costume-photos figcaption{letter-spacing:0}@keyframes readyGlow{50%{box-shadow:0 0 0 5px #e8ba5555}}@media(prefers-reduced-motion:reduce){.ready-location{animation:none}}

.dance-video video{width:100%;height:100%;object-fit:contain}.costume-photos .real-photo img{max-height:360px;height:330px}
#photo-detail .dance-video{width:100%;flex:none}#photo-detail .video-source,#photo-detail .costume-photos{width:100%}

/* Readable scene headings, preserving the desktop stage. */
#map-label{background:#fff9eaf2;color:#295e61;padding:10px 16px;border-radius:12px;box-shadow:0 3px 12px #285c5920;max-width:65%;line-height:1.35}
