/* V4.3: inset, legible controls and aligned scene interactions. */
:root{--safe-inset:clamp(16px,2.8vw,42px);--control:42px;--ink43:#f5e8cb;--glass43:#233747d9;--border43:#d8bd845c}
.stage button,.stage a.link-button{touch-action:manipulation}
.stage .back,.stage .hud button{min-height:38px;padding:8px 14px;font-size:clamp(12px,1.05vw,15px);border-radius:7px;line-height:1.15;box-shadow:0 4px 14px #08162145;background:#203347df;border-color:var(--border43)}
.stage .back{top:var(--safe-inset);left:var(--safe-inset)}.stage .hud{top:var(--safe-inset);right:var(--safe-inset);gap:8px}
.stage .back:hover,.stage .hud button:hover{background:#395568;border-color:#e2c28c}
.stage .gold,.stage .rel-primary,.stage .search-submit{min-height:42px;font:600 clamp(14px,1.25vw,18px)/1.25 Georgia,serif;padding:10px 19px;border:1px solid #d5b77c90;border-radius:7px;box-shadow:0 4px 12px #14221430;background:linear-gradient(150deg,#567459,#354e3d);color:#fff1d4}
.stage .gold:hover,.stage .rel-primary:hover,.stage .search-submit:hover{background:#617f61;box-shadow:0 3px 12px #101d2455}
.stage .text-action,.stage .rel-secondary{min-height:38px;padding:8px 12px;border-radius:6px}
.stage .hud button,.stage .back,.stage .text-action,.stage .rel-secondary{white-space:normal}
.stage .planet-name{top:11%;left:5%;max-width:35%}.stage .planet-name h1{font-size:clamp(24px,3.1vw,43px);margin:5px 0;line-height:1.12}
.home43-hit{position:absolute;z-index:4;left:40%;top:19%;width:19%;height:25%;display:grid;place-items:center}
.home43-hit button{position:absolute;inset:0;background:transparent;border:1px solid transparent;border-radius:12px;padding:0;display:flex;align-items:end;justify-content:center;transition:box-shadow .2s,border-color .2s}
.home43-hit button span{position:relative;bottom:2%;color:#fff3d7;background:linear-gradient(120deg,#5e4634e8,#302a24e8);border:1px solid #dbbd84aa;border-radius:5px;padding:8px 13px;white-space:nowrap;font:600 clamp(12px,1.2vw,18px)/1.15 Georgia,serif;box-shadow:0 3px 12px #171e2c55}
.home43-hit button:hover,.home43-hit button:focus-visible{box-shadow:0 0 22px #ffe2a455,inset 0 0 25px #fce0a022;border-color:#ffe6ae88}
.stage .wonder-cloud{left:72%;top:21%;width:clamp(155px,18.5vw,278px);height:auto;aspect-ratio:auto;min-height:44px;display:block;overflow:visible;filter:drop-shadow(0 0 17px #ffdf9a72);padding:0 3px 12px;animation:cloudFloat 5s ease-in-out infinite;z-index:4}
.stage .wonder-cloud img{display:block;width:100%;height:auto;filter:saturate(1.03) contrast(1.05)}.stage .wonder-cloud>span{top:36%;left:50%;font-size:clamp(17px,2vw,30px);text-shadow:0 0 10px #f9d991}.stage .wonder-cloud small{margin:-8% auto 0;position:relative;display:table;padding:7px 12px;border-radius:6px;border:1px solid #e4c88c88;background:#263e59e8;font:600 clamp(13px,1.2vw,18px)/1.15 Georgia,serif;color:#fff1d3;opacity:1;text-shadow:none;white-space:nowrap}.stage .wonder-cloud:hover{filter:drop-shadow(0 0 23px #ffe6afaa)}
.stage .c41,.stage .c41.expanded{bottom:9%;right:7%;--radius:clamp(65px,9vw,132px);--link:clamp(54px,5.4vw,78px)}
.stage .c41 .compass-link{font-size:clamp(9px,.94vw,13px);line-height:1.06;padding:5px;overflow-wrap:anywhere}.stage .c41 .compass-core{font-size:30px}
.earth43-stage>.art{filter:blur(12px) brightness(.52);transform:scale(1.04)}.earth43-stage>.shade{background:linear-gradient(115deg,#13263dca,#14263a45)}
.earth43-shell{position:absolute;inset:11% 5% 5%;display:grid;grid-template-columns:minmax(0,.82fr) minmax(0,1.18fr);align-items:center;gap:clamp(18px,3.2vw,48px);z-index:2;min-width:0;min-height:0}
.earth43-intro{max-width:500px;display:flex;flex-direction:column;align-items:stretch;gap:12px}.earth43-intro>small,.city43-shell>small{font-size:11px;letter-spacing:.15em;color:#e7c993}.earth43-intro h1,.city43-shell h1{margin:0;font:italic clamp(32px,4.2vw,58px)/1.05 Georgia,serif;color:#fff1d7}.earth43-intro>p{font:clamp(17px,1.6vw,23px) Georgia,serif;margin:0 0 7px;color:#e8d8bd}.earth43-choice{display:flex;align-items:center;gap:14px;width:100%;text-align:left;border:1px solid #d8bd8466;background:linear-gradient(130deg,#293f51e8,#213044e8);border-radius:9px;padding:12px;color:#fff0d2;box-shadow:0 5px 16px #08152540;min-height:84px}.earth43-choice:hover,.earth43-choice:focus-visible{border-color:#ffdb99;background:#3c5263e8;box-shadow:0 0 15px #f5d1932b}.earth43-choice img,.globe-glyph{width:76px;height:62px;object-fit:cover;flex-shrink:0;border-radius:5px;border:1px solid #c6b58c70}.globe-glyph{display:grid;place-items:center;background:#1a2d43}.globe-glyph svg{width:42px;height:42px;color:#e4c78e}.earth43-choice>span:not(.globe-glyph){flex:1;min-width:0;display:flex;flex-direction:column;gap:5px}.earth43-choice strong{font:600 clamp(20px,2vw,28px) Georgia,serif}.earth43-choice small{font-size:clamp(12px,1.1vw,15px);color:#e9dac1}.earth43-choice b{font-size:28px;font-weight:400;color:#d9bd87}.city-preference{align-self:flex-start;color:#ddcba8;background:transparent;border:0;text-decoration:underline;text-underline-offset:4px}
.globe43{position:relative;max-height:100%;width:min(100%,69svh);margin:auto;align-self:center;min-width:0;display:flex;flex-direction:column;gap:7px}.globe43>img{display:block;width:100%;height:auto;aspect-ratio:931/916;object-fit:cover;border:1px solid #c5aa7855;border-radius:10px;box-shadow:0 10px 30px #0005}.globe-hotspots{position:absolute;inset:0 0 auto;aspect-ratio:931/916}.globe-hotspots button{position:absolute;transform:translate(-50%,-50%);height:8%;min-height:30px;background:transparent;border:1px solid transparent;border-radius:7px;transition:box-shadow .2s,border-color .2s}.globe-hotspots button:hover,.globe-hotspots button:focus-visible{border-color:#fff3ca;box-shadow:0 0 16px #fff0ab90,inset 0 0 10px #f9d68a40}.globe-caption{font-size:12px;text-align:center;color:#dfd3bf;margin:0}.sr43{position:absolute!important;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
.city43-shell{position:absolute;inset:13% 9% 6%;overflow:auto;z-index:2;display:flex;flex-direction:column;gap:18px}.city43-shell .city-search{width:min(100%,680px);margin:5px 0}.city43-note{padding:16px 18px;border:1px solid var(--border43);border-radius:8px;background:#263a4fd9;color:#f1e4c9;max-width:640px;line-height:1.5}.city43-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.city43-card{display:flex;flex-direction:column;gap:8px;text-align:left;max-width:520px;padding:10px 10px 15px;border:1px solid var(--border43);border-radius:8px;background:#243849d9;color:#f8eacb}.city43-card img{width:100%;aspect-ratio:2.4;object-fit:cover;border-radius:4px}.city43-card strong{font:600 22px Georgia,serif;padding:0 7px}.city43-card span{font-size:13px;padding:0 7px}.local43-location{font:500 clamp(12px,1.3vw,17px) system-ui,sans-serif;color:#e8d1aa;max-width:48%;text-align:right}
.rel43-region{display:grid;grid-template-columns:1fr auto;gap:8px 10px;align-items:center;max-width:640px;margin:20px auto 0;padding:16px;border:1px solid var(--border43);border-radius:8px;background:#1e3246e0;color:#f2e2bd}.rel43-region label{grid-column:1/-1;font:600 18px Georgia,serif}.rel43-region select{width:100%;min-width:0;min-height:42px;border:1px solid #ceba8566;background:#263d50;color:#fff2d8;border-radius:6px;padding:8px 12px}.rel43-scope .rel-foot{margin-top:14px}.rel43-types .rel-types{margin:12px auto;max-width:850px}
.stage .rel-heading h1,.stage .rel-home h1,.stage .discovery h1{font-size:clamp(28px,3.2vw,46px);line-height:1.12;margin:4px 0 12px}.stage .discovery{inset:13% 5% 6%;padding:10px 12px 16px}.stage .offering-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;max-width:1150px;margin:16px auto}.stage .offering-grid .offering{display:flex;flex-direction:column;align-items:stretch;min-width:0;border-radius:8px;border:1px solid #e4cc9d85;box-shadow:0 6px 20px #10192655;overflow:hidden;transition:transform .18s,box-shadow .18s}.stage .offering-grid .offering:hover{transform:translateY(-3px);box-shadow:0 9px 24px #10192688}.stage .offering-grid .offering img{aspect-ratio:16/10;max-height:200px;object-fit:cover;display:block;background:#d9c6aa}.stage .offering-grid .offering>div{padding:13px;gap:7px;flex:1;display:flex;flex-direction:column}.stage .offering-grid .offering strong{font-size:clamp(17px,1.6vw,23px);line-height:1.16}.stage .offering-grid .offering span{font-size:14px;line-height:1.4}.stage .offering-grid .offering em{margin-top:auto;padding-top:5px}.stage .feature-photo img{object-fit:contain;background:#223043}.stage .searchbar input{min-height:42px;border-radius:7px;font-size:16px;padding:9px 13px}
@media(max-width:700px){:root{--safe-inset:12px}.stage .back,.stage .hud button{min-height:40px;padding:7px 10px;font-size:11px}.stage .hud{gap:5px}.stage.planet.v3planet{min-height:100svh;overflow:hidden;padding:0;display:block}.stage.planet.v3planet>.art{height:auto;aspect-ratio:16/9;top:18svh;object-fit:contain}.stage.planet.v3planet>.plot-layer{top:18svh;height:auto;aspect-ratio:16/9}.stage.planet.v3planet .planet-name{top:9svh;left:6%;max-width:90%}.stage.planet.v3planet .home43-hit{top:calc(18svh + 10.7vw);height:14vw;left:40%;width:19%}.home43-hit button span{font-size:11px;padding:6px 8px;bottom:-5%}.stage.planet.v3planet .wonder-cloud{left:70%;top:calc(18svh + 10vw);width:28vw;min-width:106px;padding-bottom:5px}.stage .wonder-cloud small{font-size:10px;padding:6px 7px}.stage .c41,.stage .c41.expanded{bottom:12%;right:10%;--radius:70px;--link:56px}.stage .c41 .compass-link{font-size:9px}.stage .c41 .compass-core{font-size:26px}.earth43-stage{display:block!important;height:auto;min-height:100svh;overflow:visible;padding:0}.earth43-shell,.city43-shell{position:relative;inset:auto;display:flex;flex-direction:column;align-items:stretch;margin:76px 16px 20px;gap:18px}.earth43-intro{max-width:100%}.earth43-choice{min-height:70px;padding:9px}.earth43-choice img,.globe-glyph{width:60px;height:52px}.globe43{width:100%;max-width:540px;margin:0 auto}.globe-hotspots button{min-height:32px}.city43-grid{grid-template-columns:1fr}.stage .discovery{position:relative;inset:auto;margin:72px 12px 18px;padding:8px 0}.stage .offering-grid{grid-template-columns:1fr;gap:12px}.stage .offering-grid .offering img{max-height:210px}.rel43-region{grid-template-columns:1fr}.rel43-region .rel-primary{width:100%}.local43-location{font-size:11px}.stage .earth-heading h1{font-size:26px}.stage .rel-heading h1{font-size:28px}.stage .book-actions button,.stage .detail-actions button{min-height:40px}}
@media(prefers-reduced-motion:reduce){.stage .wonder-cloud,.stage .wonder-cloud>span{animation:none!important}.stage button,.stage a{transition:none!important}}
/* A real translucent cloud sprite, not a crop of the sky. */
.stage .wonder-cloud{left:71%;top:18.5%;width:clamp(150px,21vw,305px);filter:drop-shadow(0 0 16px #ffdc8e66);padding:0 5px 13px}.stage .wonder-cloud>span{display:none}.stage .wonder-cloud small{margin:-4% auto 0;background:#293f56d9;box-shadow:0 4px 16px #0d1c3855;position:relative;z-index:1}.stage .wonder-cloud:hover{filter:drop-shadow(0 0 24px #ffdd8eaa)}
@media(max-width:700px){.stage.planet.v3planet:before{content:'';position:absolute;inset:0;background:linear-gradient(180deg,#15223880 0%,transparent 23%,transparent 63%,#102038a0 100%),url(./assets/planet.webp) center/cover;filter:blur(22px);z-index:-3;transform:scale(1.1)}.stage.planet.v3planet>.art{height:64svh;top:10svh;width:100%;aspect-ratio:auto;object-fit:cover;object-position:50% 45%;mask-image:linear-gradient(transparent 0%,black 12%,black 82%,transparent 100%)}.stage.planet.v3planet>.plot-layer{top:10svh;left:50%;transform:translateX(-50%);width:calc(64svh * 16 / 9);height:64svh;aspect-ratio:16/9}.stage.planet.v3planet .planet-name{top:8svh;z-index:5}.stage.planet.v3planet .home43-hit{top:22svh;left:30%;width:40%;height:16svh}.home43-hit button span{font-size:12px;bottom:1%;padding:7px 10px}.stage.planet.v3planet .wonder-cloud{left:57%;top:44svh;width:39vw;min-width:130px;padding:0 4px 7px}.stage .wonder-cloud small{font-size:12px;padding:7px 9px}.stage .c41,.stage .c41.expanded{bottom:10%;right:10%}.stage.planet.v3planet .light{top:calc(10svh + 64svh * .19);height:13svh;left:50%}}
.earth43-choice.chosen43{border-color:#e8ce92;background:#3c5263e8;box-shadow:0 0 18px #e9c68b40}.globe43.active43>img{box-shadow:0 0 26px #e6c58b52,0 10px 30px #0005;border-color:#e7c98a}.globe43.active43 .globe-hotspots button{border-color:#fff1c944}.stage .offering-grid .offering:nth-child(n) img{image-rendering:auto}
/* Exact aspect ratio of regional artwork. Keep map labels legible and touchable. */
.stage .e41 .earth-map-frame.local-map{aspect-ratio:1672/466;width:min(100%,calc(52svh * 3.588));height:auto;min-height:0;max-height:none;margin:0 auto;border-radius:8px}.stage .e41 .earth-map-frame.local-map>img{height:100%;width:100%;display:block;object-fit:fill;position:absolute;inset:0}.stage .e41 .earth-pin.map-pin{padding:7px 11px;border-radius:6px;background:#243747e8;color:#f9ebd0;border:1px solid #e2c691a0;box-shadow:0 3px 9px #0d1b2d65;min-height:36px;line-height:1.12}.stage .e41 .earth-pin.map-pin span{color:#fff0ce;margin:0;font:600 clamp(11px,1.22vw,16px)/1.12 Georgia,serif}.stage .e41 .earth-pin.map-pin small{color:#e9d9bd;font:11px/1.18 system-ui,sans-serif;margin-top:3px}.stage .e41 .earth-pin.map-pin:hover{background:#46645be8;border-color:#ffe2aa}.map43-mobile-lands{display:none}.stage .e41{gap:clamp(14px,2vw,24px)}
@media(max-width:700px){html,body{overflow-x:clip}.stage.earth-explore{display:block!important;min-height:100svh;padding:0;overflow:hidden}.stage .e41{position:relative;inset:auto;margin:76px 15px 24px;display:flex;flex-direction:column;justify-content:flex-start;align-items:stretch;gap:16px;min-height:0}.stage .e41 .earth-heading{align-items:flex-start;flex-direction:column;gap:4px}.local43-location{max-width:none;text-align:left;font-size:13px}.stage .e41 .earth-map-frame.local-map{width:100%;aspect-ratio:1672/466;min-height:0;margin:0}.stage .e41 .earth-pin.map-pin{min-height:24px;width:19px;height:19px;padding:0;border:1px solid #f6e6b7;border-radius:50%;background:#b89850e8;box-shadow:0 0 8px #f3d89188}.stage .e41 .earth-pin.map-pin span{position:absolute;clip-path:inset(50%);width:1px;height:1px;overflow:hidden}.map43-mobile-lands{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.map43-mobile-lands button{display:flex;flex-direction:column;align-items:flex-start;gap:4px;min-height:55px;padding:9px 12px;background:#263d4bdc;border:1px solid #c6aa7470;border-radius:6px;text-align:left;color:#f8e9cd}.map43-mobile-lands strong{font:600 15px Georgia,serif}.map43-mobile-lands small{font-size:11px;color:#dfcfad}.stage .e41 .earth-search-panel{margin:0}.stage .e41 .earth-search-panel .searchbar{max-width:100%;gap:6px}.stage .e41 .earth-search-panel input{font-size:14px}.stage .e41 .earth-hint{font-size:12px;text-align:center}.stage.earth43-stage{overflow-x:clip}.stage.earth43-stage>.art{transform:none}.stage.planet.v3planet>.art{height:85svh;top:9svh;mask-image:linear-gradient(transparent 0%,black 8%,black 72%,transparent 100%);object-position:50% 42%}.stage.planet.v3planet .home43-hit{top:25svh;height:19svh}.stage.planet.v3planet .wonder-cloud{top:54svh;left:55%;width:40vw}.stage.planet.v3planet>.plot-layer{top:9svh;height:85svh;width:calc(85svh * 16 / 9)}}
