:root{--illustrated-title:Nunito,"Trebuchet MS",sans-serif}
.page-heading h1,.hero h2,.section-head h2,.brand,.ship-cabin h2,dialog h2,.game-heading h1,.win-copy h1{font-family:var(--illustrated-title);font-weight:950}
.brand span{letter-spacing:-.055em;font-size:1.32rem}
.brand small{font:900 .72rem/1.6 Nunito,sans-serif;text-transform:uppercase;letter-spacing:.15em;color:#cbb4ff}
.hero h2{letter-spacing:-.058em}.world-number,.world-tag,.small-label{font-family:Nunito,sans-serif;font-weight:900;letter-spacing:.12em}
.radio-text strong{font:850 1.01rem/1.2 Nunito,sans-serif;color:#d9c5f3}
.hero-art{animation:world-breeze 22s ease-in-out infinite alternate}
@keyframes world-breeze{to{transform:scale(1.035) translateX(-.35%)}}
.look-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:9px;margin:7px 0 13px}
.look-option{padding:4px 5px 6px;display:grid;justify-items:center;border:1px solid #665574;border-radius:9px;background:linear-gradient(#524064,#30283e)}
.look-option img{width:100%;height:75px;object-fit:contain}.look-option strong{font-size:.87rem}
.look-option.chosen{border-color:#ddbbff;box-shadow:inset 0 0 0 1px #b590da}
.guided-label{color:#c2b2d7;align-self:center;font-size:.88rem}
.portal-loading{height:56vh;display:grid;align-content:center;justify-items:center;gap:16px;border-radius:16px;background:linear-gradient(#211a3766,#21192fd9),var(--art) center/cover}
.portal-loading img{width:56px;filter:drop-shadow(0 0 18px #dac2ff);animation:float-prism 1.4s ease-in-out infinite alternate}
.portal-loading p{font-weight:850}@keyframes float-prism{to{transform:translateY(-8px)}}
body.exploring{overflow:hidden;background:#222538}body.exploring .topbar,body.exploring #stars,body.exploring .skip{display:none}
body.exploring .main{width:100%;max-width:none;margin:0;padding:0}
.expedition{--glass:#17213ae8;--ink:#f7f8ff;position:fixed;inset:0;z-index:5;width:100%;height:100vh;height:100dvh;overflow:hidden;isolation:isolate;background:#a3cbd7;color:var(--ink);user-select:none;overscroll-behavior:none}
.world-canvas{display:block;width:100%;height:100%;outline:0;touch-action:none}
.exp-hud{position:absolute;top:max(18px,env(safe-area-inset-top));left:max(20px,env(safe-area-inset-left));right:max(20px,env(safe-area-inset-right));display:flex;align-items:flex-start;justify-content:space-between;pointer-events:none}
.place-banner,.exp-tools,.quest-ticket,.glass-icon,.compass,.landmark-label,.controls-keys,.world-sheet,.world-toast{color:#fff;background:var(--glass);border:1px solid #c3d7dd75;box-shadow:0 4px 16px #17243d2e}
.place-banner{display:flex;gap:10px;border-radius:14px;align-items:center;min-height:51px;padding:7px 16px 7px 9px}
.place-banner img{width:32px;height:35px}.place-banner small,.quest-kicker,.sheet-brow{font:900 .7rem/1.25 Nunito,sans-serif;letter-spacing:.12em;text-transform:uppercase}
.place-banner small{display:block;color:#c9c6ef}.place-banner strong{display:block;font-size:1.12rem;line-height:1.08;letter-spacing:-.035em}
.exp-tools{display:flex;gap:5px;pointer-events:auto;background:transparent;border:0;box-shadow:none}
.glass-icon{width:45px;height:44px;display:grid;place-items:center;border-radius:12px;color:#fff}
.glass-icon:hover,.soft-link:hover{background:#354263}
.quest-ticket{position:absolute;top:max(83px,calc(env(safe-area-inset-top) + 69px));left:max(20px,env(safe-area-inset-left));border-radius:13px;width:min(300px,31vw);padding:13px 15px 10px;background:linear-gradient(120deg,#172641f2,#1f2842e8)}
.quest-kicker{display:flex;align-items:center;gap:6px;color:#ffe4a0;letter-spacing:.09em}
.quest-ticket h1{font:900 1.2rem/1.11 Nunito,sans-serif;letter-spacing:-.035em;margin:7px 0 5px}
.quest-guide{font-size:.94rem;line-height:1.32;color:#e7e9f4}
.quest-links{display:flex;gap:8px;margin-top:5px}
.soft-link{display:inline-flex;align-items:center;gap:4px;background:transparent;color:#ffdf8c;font-size:.82rem;font-weight:800;min-height:33px;padding:2px 5px;border-radius:4px}
.quest-dots{margin-left:auto;display:flex;gap:4px}
.quest-dots i{width:8px;height:8px;transform:rotate(45deg);border:1px solid #c2b9d5;border-radius:2px}.quest-dots .now{background:#ffce65;border-color:#ffce65}.quest-dots .done{background:#7ee3c5;border-color:#7ee3c5}
.landmark-label{pointer-events:none;position:absolute;transform:translate(-50%,-100%);padding:3px 9px;border-radius:10px;font-size:.81rem;font-weight:850;white-space:nowrap;background:#26314bcf}
.compass{position:absolute;bottom:max(22px,env(safe-area-inset-bottom));right:max(22px,env(safe-area-inset-right));padding:8px 13px;border-radius:20px;font-size:.83rem;background:#222c41d9;pointer-events:none}
.compass span{color:#ffd36a}
.compass{display:flex;align-items:center;gap:7px}.route-needle{display:inline-block;flex:none;width:12px;height:15px;clip-path:polygon(50% 0,100% 100%,50% 76%,0 100%);background:#ffda7b}
.controls-keys{position:absolute;left:20px;bottom:max(20px,env(safe-area-inset-bottom));border-radius:12px;display:flex;align-items:center;gap:14px;padding:9px 14px;pointer-events:none;font-size:.8rem;font-weight:750}
.controls-keys kbd,.interact-btn kbd{font:800 .7rem Nunito,sans-serif;padding:3px 5px;min-width:19px;text-align:center;margin-right:3px;border:1px solid #adb9ca88;border-radius:5px;background:#ffffff20}
.interact-btn{position:absolute;bottom:13%;left:50%;transform:translateX(-50%);display:flex;align-items:center;justify-content:center;gap:7px;min-height:50px;min-width:128px;padding:10px 18px;background:#ffd879;color:#352a34;border:2px solid #fff0ad;border-radius:18px;box-shadow:0 4px 0 #8d6338,0 8px 22px #1f283344}
.interact-btn kbd{border-color:#9c714f66;background:#fff5c7a8}
.world-toast{position:absolute;left:50%;bottom:22%;transform:translateX(-50%);max-width:min(390px,78%);padding:9px 15px;border-radius:11px;font-weight:740;text-align:center;font-size:.94rem}
.touch-deck{display:none;pointer-events:none;position:absolute;inset:auto max(17px,env(safe-area-inset-right)) max(18px,env(safe-area-inset-bottom)) max(17px,env(safe-area-inset-left));align-items:flex-end;justify-content:space-between}
.joypad,.jump-pad{pointer-events:auto;user-select:none;touch-action:none;position:relative;background:#1d29439c;border:2px solid #f2fbffd9;border-radius:50%;box-shadow:inset 0 0 0 4px #ecf8ff20,0 4px 15px #14253b45;color:white;-webkit-user-select:none}
.joypad{width:104px;height:104px;background:radial-gradient(circle,#51637b55,#20304799)}
.joypad::before,.joypad::after{content:"";position:absolute;inset:49% 10%;height:2px;background:#eaf5ff5c}.joypad::after{transform:rotate(90deg)}
.joypad i{position:absolute;top:50%;left:50%;z-index:1;width:46px;height:46px;border-radius:50%;border:2px solid #fff9e7d9;transform:translate(-50%,-50%);background:linear-gradient(145deg,#e0eadfdb,#a7bfcec4);box-shadow:0 2px 7px #1325366b}
.jump-pad{width:77px;height:77px;display:grid;align-content:center;justify-items:center;background:#625643ae;border-color:#ffeaa9;line-height:1.15}
.jump-pad span{line-height:1;font:900 1.7rem/1 Nunito,sans-serif;color:#ffe8a4}.jump-pad b{font-size:.78rem}
.world-sheet{position:absolute;bottom:max(22px,env(safe-area-inset-bottom));left:50%;transform:translateX(-50%);width:min(580px,calc(100% - 30px));border-radius:18px;padding:16px 21px 18px;background:linear-gradient(135deg,#202c44f7,#26243df7);max-height:75%;overflow-y:auto;overscroll-behavior:contain}
.world-sheet h2{font:950 1.48rem/1.14 Nunito,sans-serif;letter-spacing:-.04em;margin:6px 0;outline:0}
.world-sheet p{font-size:1rem;line-height:1.35;color:#e7e5f0}
.sheet-brow{display:flex;gap:8px;align-items:center;color:#ffda83}.sheet-brow img{width:29px;height:29px;object-fit:contain;background:#4b415d;border:1px solid #a78aaf;border-radius:7px}
.sheet-options,.sheet-buttons{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-top:11px}
.response{display:inline-flex;align-items:center;justify-content:center;gap:6px;background:#454263;border:1px solid #a096b7;border-radius:9px;min-height:45px;padding:7px 12px;font-weight:800}
.response:hover,.response.chosen{background:#5a4b70;border-color:#ebce9b}.world-sheet .answer-hint{color:#ffe4a5;font-size:.88rem;margin-top:5px}
.sheet-open .touch-deck,.sheet-open .controls-keys,.sheet-open .compass,.sheet-open .quest-ticket,.sheet-open .landmark-label{display:none}
.sheet-open .exp-tools{visibility:hidden}.world-sheet .postcard-paper{height:100px;width:190px}
@media(pointer:coarse),(max-width:680px){.touch-deck{display:flex}.controls-keys,.interact-btn kbd{display:none}.compass{bottom:auto;top:max(72px,calc(env(safe-area-inset-top) + 58px));right:13px;font-size:.74rem;padding:5px 8px}.interact-btn{bottom:max(28px,calc(env(safe-area-inset-bottom) + 20px));border-radius:13px;min-height:46px;min-width:84px;padding:7px 12px}.world-toast{bottom:22%}}
@media(max-width:680px){.exp-hud{inset:max(10px,env(safe-area-inset-top)) 10px auto 10px}.place-banner{min-height:41px;padding:5px 9px;border-radius:10px;gap:6px}.place-banner img{width:26px;height:28px}.place-banner strong{font-size:.93rem}.glass-icon{width:39px;height:40px;border-radius:10px}.quest-ticket{top:max(60px,calc(env(safe-area-inset-top) + 50px));left:10px;width:min(230px,59vw);padding:9px 10px 5px;border-radius:10px}.quest-ticket h1{font-size:1.02rem}.quest-guide{font-size:.84rem}.quest-links{margin-top:2px}.soft-link{min-height:30px}.compass{top:60px;max-width:33vw;text-align:center}.world-sheet{padding:12px 15px;bottom:max(10px,env(safe-area-inset-bottom))}.world-sheet h2{font-size:1.22rem}.world-sheet p{font-size:.94rem}.sheet-options,.sheet-buttons{gap:6px;margin-top:8px}.response{font-size:.87rem}.look-option img{height:60px}}
@media(max-height:490px) and (orientation:landscape){.exp-hud{top:6px;left:max(8px,env(safe-area-inset-left));right:max(8px,env(safe-area-inset-right))}.place-banner{min-height:36px;padding:4px 8px}.place-banner img{width:24px;height:26px}.place-banner strong{font-size:.92rem}.place-banner small{font-size:.59rem}.quest-ticket{top:48px;left:max(8px,env(safe-area-inset-left));width:205px;padding:8px 10px}.quest-ticket h1{font-size:.95rem;margin:3px 0}.quest-guide{font-size:.79rem}.soft-link{min-height:26px}.joypad{width:82px;height:82px}.joypad i{width:36px;height:36px}.jump-pad{width:61px;height:61px}.touch-deck{bottom:max(8px,env(safe-area-inset-bottom))}.compass{top:54px}.world-sheet{width:min(510px,78%);max-height:76%;bottom:7px;padding:10px 13px}.world-sheet h2{font-size:1.12rem}.world-sheet p{font-size:.89rem}.sheet-brow img{width:22px;height:22px}.sheet-buttons,.sheet-options{margin-top:6px}.world-sheet .postcard-paper{height:68px}.controls-keys{bottom:6px;left:8px}}
@media(prefers-reduced-motion:reduce){.hero-art,.portal-loading img{animation:none}}
.world-canvas{cursor:grab}.world-canvas.looking{cursor:grabbing}
.exp-tools .center-camera{width:auto;display:flex;align-items:center;gap:5px;padding:0 10px;font-size:.82rem;font-weight:800}
.quest-panel{position:absolute;top:max(83px,calc(env(safe-area-inset-top) + 69px));left:max(20px,env(safe-area-inset-left));width:min(300px,31vw)}
.quest-panel .quest-ticket{position:static;width:100%}
.quest-ticket summary{cursor:pointer;list-style:none}
.quest-ticket summary::-webkit-details-marker{display:none}
.quest-ticket summary:focus-visible{outline:2px solid #ffdd89;outline-offset:3px;border-radius:4px}
.quest-ticket .quest-kicker::after{content:"";width:7px;height:7px;margin:0 2px 3px 4px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(45deg)}
.quest-ticket[open] .quest-kicker::after{transform:rotate(225deg);margin-top:5px;margin-bottom:0}
.quest-ticket:not([open]) h1{margin-bottom:0}
.quest-panel .world-toast{position:static;transform:none;margin:5px 0 0;max-width:100%;width:fit-content;text-align:left;padding:6px 10px;font-size:.85rem}
.sheet-open .quest-panel{display:none}
@media(max-width:680px){.quest-panel{top:max(60px,calc(env(safe-area-inset-top) + 50px));left:max(10px,env(safe-area-inset-left));width:min(230px,59vw)}}
@media(max-height:490px) and (orientation:landscape){
  .quest-panel{top:max(48px,calc(env(safe-area-inset-top) + 42px));left:max(8px,env(safe-area-inset-left));width:min(225px,31vw)}
  .quest-ticket:not([open]){padding:0}
  .quest-ticket:not([open]) summary{min-height:44px;padding:7px 10px}
  .quest-panel .world-toast{font-size:.78rem}
}
