*{box-sizing:border-box}body{margin:0;background:#10171d;color:#f6f2e9;font:16px/1.55 system-ui,-apple-system,"Segoe UI",sans-serif}a{color:inherit;text-underline-offset:4px}button{font:inherit;cursor:pointer;border:1px solid #526069;background:transparent;color:#f6f2e9;padding:9px 16px;border-radius:8px}button:hover{background:#24343e}button:disabled{opacity:.4;cursor:default}button:focus-visible,a:focus-visible,summary:focus-visible,canvas:focus-visible{outline:3px solid #ffd18d;outline-offset:4px}button.primary{background:#ff8b42;border:0;color:#171410;font-weight:750;padding:14px 25px}button.primary:hover{background:#ffad72}[hidden]{display:none!important}.play-header{height:74px;max-width:1140px;margin:auto;padding:0 28px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #26333c;font-size:14px}.studio{font-size:15px;font-weight:850;letter-spacing:1px;text-decoration:none}.studio span{color:#ffab73;margin-left:5px;font-size:12px;letter-spacing:2px}.play-layout{max-width:1040px;margin:24px auto 60px;padding:0 28px;display:grid;grid-template-columns:minmax(0,530px) minmax(250px,1fr);gap:70px;align-items:start}.game-column{width:100%;min-width:0}.game-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}.game-heading h1{margin:0;font-size:25px;letter-spacing:-.7px;line-height:1.1}.edition{font-size:13px;color:#aebfc8}.game-heading button{font-size:14px}.player{position:relative;background:#121217;aspect-ratio:9/16;width:min(100%,calc((100svh - 210px)*.5625));min-width:260px;margin:auto;border:1px solid #40525a;border-radius:13px;overflow:hidden;box-shadow:0 18px 55px #0005}.player canvas{display:block;width:100%;height:100%;background:#121217;touch-action:none;outline-offset:-4px}.cover{position:absolute;inset:0;display:grid;place-items:center;text-align:center;background:#121217}.welcome{padding:24px}.welcome img{border-radius:24px;box-shadow:0 12px 40px #0006}.welcome h2{font-size:27px;letter-spacing:-.8px;margin:26px 0 10px}.welcome p{color:#b9c7ce;margin:0 0 25px;font-size:15px}.welcome .small{font-size:12px;margin:17px 0 0}.loading{position:absolute;inset:0;container-type:size}.loading video{display:block;width:100%;height:100%;object-fit:cover;object-position:center}.load-status{position:absolute;left:10%;right:10%;bottom:9%;font-size:14px}.load-status p{margin:8px 0}.small{font-size:12px;color:#9eafb8}progress{appearance:none;width:100%;height:4px;border:0;background:#3a3838;border-radius:4px;overflow:hidden}progress::-webkit-progress-bar{background:#3a3838}progress::-webkit-progress-value{background:#ffae72}progress::-moz-progress-bar{background:#ffae72}.failure{padding:22px}.failure h2{font-size:24px}.failure p{color:#bdcbd2}.failure a{display:block;margin-top:22px;font-size:14px}.game-toolbar{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-top:12px}.game-toolbar p{margin:0;color:#9cb5bf;font-size:13px}.game-toolbar button{font-size:14px;padding:6px 13px}.storage-warning{color:#ffd591;font-size:14px}.play-guide{padding-top:60px}.eyebrow{font-size:11px;font-weight:750;letter-spacing:1.5px;color:#ffae72;margin:0 0 18px}.play-guide h2{font-size:36px;line-height:1.12;letter-spacing:-1.2px;margin:0 0 22px}.play-guide>p:not(.eyebrow){font-size:16px;color:#b7c6ce}.controls{margin-top:32px;border-top:1px solid #35444c;padding-top:20px}.controls h3{font-size:17px;margin:0 0 22px}dl{margin:0 0 26px}dl>div{margin:0 0 21px}dt{font-size:14px;font-weight:700;margin-bottom:6px}dd{font-size:14px;color:#b7c6ce;margin:0}kbd{font-family:inherit;display:inline-block;border:1px solid #52616b;border-bottom-width:3px;border-radius:5px;min-width:27px;padding:1px 5px;text-align:center;margin-right:4px;color:#f5e8d8;font-size:13px}details{border-top:1px solid #35444c;font-size:14px;padding:15px 0}summary{cursor:pointer;font-weight:600}details p{color:#b7c6ce}.privacy{display:inline-block;font-size:13px;color:#aebfc8;margin-top:15px}.player:fullscreen{border:0;border-radius:0;width:100vw;height:100dvh;aspect-ratio:auto;background:#121217}.player:fullscreen canvas{width:100%;height:100%}.no-script{text-align:center;padding:22px;background:#ffd591;color:#111}@media(min-width:1450px){.player{width:min(100%,calc((100svh - 230px)*.5625))}}@media(max-width:760px){.play-header{height:58px;padding:0 18px}.studio{font-size:12px}.studio span{font-size:10px;margin-left:3px}.play-header>a:last-child{font-size:12px}.play-layout{display:block;padding:0 16px;margin:18px auto 36px;max-width:510px}.player{width:100%;min-width:0;max-height:none}.game-heading h1{font-size:23px}.play-guide{padding-top:34px}.play-guide h2{font-size:30px}.game-toolbar p{font-size:12px}.eyebrow{font-size:11px}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto}}
.exit-fullscreen{display:none}.player:fullscreen .exit-fullscreen{display:block;position:absolute;z-index:4;right:16px;top:16px;background:#10171de6;font-size:12px;padding:6px 10px}@media(max-width:760px){.player{width:min(100%,calc((100svh - 180px)*.5625))}.welcome{padding:14px}.welcome img{width:76px;height:76px}.welcome h2{margin-top:18px;font-size:24px}.welcome p{font-size:13px}}


/* The same Unity instance resizes between a wide ocean and a portrait dive. */
.view-controls{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.game-heading{gap:12px;flex-wrap:wrap;min-height:44px}
.play-layout{display:block;max-width:1500px;margin:18px auto 48px;padding:0 24px}
.game-column{max-width:1440px;margin:auto}
.player{aspect-ratio:16/9;width:min(100%,calc(max(280px,100svh - 210px) * 1.777778));min-width:0;max-height:none}
.portrait-view .player{aspect-ratio:9/16;width:min(100%,calc(max(360px,100svh - 210px) * .5625))}
.play-guide{max-width:1050px;margin:38px auto 0;padding:24px 0;border-top:1px solid #35444c;display:grid;grid-template-columns:1fr 1fr;gap:16px 50px}
.play-guide .eyebrow,.play-guide h2,.play-guide>p{grid-column:1}
.play-guide .eyebrow{margin:0}.play-guide h2{font-size:30px;margin:0}.play-guide>p{margin:0}
.play-guide .controls{grid-column:2;grid-row:1/5;margin:0;padding:0;border:0}
.play-guide details{grid-column:1/-1}.play-guide .privacy{margin:0}
.game-toolbar,.storage-warning,#signin-again{max-width:1440px;margin-left:auto;margin-right:auto}
#theater[aria-pressed="true"],#orientation[aria-pressed="true"]{border-color:#ffab73;background:#2c2520}
.theater-mode .play-header,.theater-mode .play-guide{display:none}
.theater-mode .play-layout{max-width:none;margin:0 auto 25px;padding:8px 18px}
.theater-mode .game-column{max-width:none}
.theater-mode .game-heading{margin:0 0 8px}
.theater-mode .player{width:min(100%,calc(max(220px,100svh - 110px) * 1.777778))}
.theater-mode.portrait-view .player{width:min(100%,calc(max(300px,100svh - 110px) * .5625))}
.player:fullscreen,.portrait-view .player:fullscreen{display:block;width:100vw;height:100dvh;aspect-ratio:auto;border:0;border-radius:0;background:#121217}
.player:fullscreen canvas,.player:fullscreen .cover{width:100%;height:100%;margin:0}
.player:fullscreen .exit-fullscreen{top:auto;bottom:max(8px,env(safe-area-inset-bottom));right:max(8px,env(safe-area-inset-right))}
@media(max-width:760px){
 .play-layout{padding:0 12px;margin-top:12px;max-width:none}
 .game-heading h1{font-size:21px}.game-heading button{font-size:12px;padding:8px 10px}.view-controls{gap:6px}
 .play-guide{display:block;margin-top:24px}.play-guide h2{margin:12px 0}.play-guide .controls{margin-top:25px}
 .theater-mode .play-layout{padding:6px 10px}.theater-mode .edition{display:none}
 .theater-mode .game-toolbar p{font-size:11px}
}
@media(max-height:540px){
 .play-header{height:46px}.play-layout{margin-top:8px}.game-heading{min-height:36px}.edition{display:none}
 .player{width:min(100%,calc(max(220px,100svh - 150px) * 1.777778))}
 .welcome{padding:10px}.welcome img,.welcome>p:not(.small){display:none}
 .welcome h2{margin:0 0 12px;font-size:23px}.welcome .small{margin-top:10px}
}
/* Keep every page action aligned with the current game frame. */
.game-column{--frame-width:min(100%,calc(max(280px,100svh - 210px) * 1.777778))}
.portrait-view .game-column{--frame-width:min(100%,calc(max(360px,100svh - 250px) * .5625))}
.theater-mode .game-column{--frame-width:min(100%,calc(max(220px,100svh - 110px) * 1.777778))}
.theater-mode.portrait-view .game-column{--frame-width:min(100%,calc(max(300px,100svh - 155px) * .5625))}
.game-column>.player,.game-column>.game-heading,.game-column>.game-toolbar,.game-column>.storage-warning,.game-column>#signin-again{width:var(--frame-width);max-width:100%;margin-left:auto;margin-right:auto}
.game-heading{align-items:center}.view-controls{justify-content:flex-end}
.game-heading button{white-space:nowrap;min-height:40px}
.portrait-view .game-heading{display:grid;grid-template-columns:1fr;gap:10px}
.portrait-view .view-controls{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;width:100%}
.portrait-view .game-heading button{font-size:12px;padding:8px 5px}
.game-column>.player:fullscreen{width:100vw;max-width:none;margin:0}
@media(max-width:560px){.game-heading{display:grid;grid-template-columns:1fr;gap:10px}.view-controls{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;width:100%}.game-heading button{padding:8px 5px;font-size:12px}}
@media(max-height:540px){.game-column{--frame-width:min(100%,calc(max(220px,100svh - 150px) * 1.777778))}.theater-mode .game-column{--frame-width:min(100%,calc(max(220px,100svh - 110px) * 1.777778))}}
@media(max-width:560px){body:not(.portrait-view) .welcome{padding:10px}body:not(.portrait-view) .welcome img,body:not(.portrait-view) .welcome>p:not(.small){display:none}body:not(.portrait-view) .welcome h2{margin:0 0 8px;font-size:20px}body:not(.portrait-view) .welcome .small{font-size:10px;margin-top:8px}}
@media(max-width:560px){.portrait-view .game-heading button{white-space:normal;line-height:1.15;font-size:11px;padding:8px 2px;min-height:44px}}

@container (min-aspect-ratio:2/1){.load-status{left:73%;right:3%;bottom:10%;font-size:12px}.load-status .small{font-size:11px}}

/* Updated studio animation and gentle handoff. */
.loading{background:#000}.loading video{object-fit:contain;transition:opacity .65s ease}.loading.intro-ended video{opacity:0}.loading.intro-ended{background:#10171d}.cover{transition:opacity .45s ease}.cover.handoff{opacity:0;pointer-events:none}#skip-intro{position:absolute;right:12px;top:12px;min-height:44px;background:#123541ee;z-index:2}.load-status{background:linear-gradient(transparent,#000b);padding:12px;border-radius:12px}
@media(prefers-reduced-motion:reduce){.loading video,.cover{transition:none}}
