.se-game{color:var(--ui-ink);background:var(--ui-panel);border:1px solid var(--ui-line);border-radius:22px;overflow:hidden;min-width:0;isolation:isolate;font-family:var(--font-body,system-ui)}
.se-game *{box-sizing:border-box}.se-game [hidden]{display:none!important}.se-game :is(p,h3,h4){margin:0}
.se-game button{font:600 12px var(--font-body,system-ui);min-height:42px;padding:10px 14px;background:var(--ui-soft);color:var(--ui-ink);border:1px solid var(--ui-line);border-radius:10px;box-shadow:none;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;gap:8px;transform:none;touch-action:manipulation}
.se-game button:hover:not(:disabled){background:var(--ui-hover);border-color:var(--ui-accent);transform:none}.se-game button:disabled{cursor:default;opacity:.4}
.se-game :is(button,select,summary):focus-visible{outline:3px solid var(--ui-accent);outline-offset:3px}.se-game svg{width:18px;height:18px;flex-shrink:0}
.se-game .se-primary{background:var(--ui-primary);color:var(--ui-on-primary);border-color:transparent}.se-game .se-primary:hover:not(:disabled){background:var(--ui-primary);filter:brightness(1.08)}
.se-eyebrow{font-size:9px;font-weight:700;letter-spacing:.18em;line-height:1.6;color:var(--ui-accent)}
.se-hero{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:30px 32px;background:radial-gradient(ellipse at 95% 30%,#3db5a51c,transparent 70%);border-bottom:1px solid var(--ui-line)}
.se-hero h3{font-size:clamp(25px,3.6vw,38px);font-weight:600;line-height:1.12;letter-spacing:-.045em;margin:10px 0 13px}.se-hero p:last-child{font-size:12px;line-height:1.8;color:var(--ui-muted)}
.se-hero-seal{width:118px;height:118px;flex-shrink:0;border:1px solid var(--ui-line);border-radius:50%;display:grid;place-content:center;text-align:center;gap:9px;outline:1px solid var(--ui-line);outline-offset:8px;color:var(--ui-accent)}.se-hero-seal svg{width:33px;height:33px;margin:auto}.se-hero-seal span{font-size:7px;letter-spacing:.17em;line-height:1.7}
.se-setup{padding:20px 28px;display:flex;align-items:center;flex-wrap:wrap;gap:16px}.se-setup label{display:grid;gap:7px;font-size:10px;color:var(--ui-muted);flex:1;min-width:105px}.se-setup label:first-child{flex:1.5}
.se-game select{font:500 12px var(--font-body,system-ui);padding:10px 30px 10px 11px;border:1px solid var(--ui-line);border-radius:9px;min-width:0;width:100%;min-height:42px}.se-game select:disabled{opacity:.6}.se-mode-description{width:100%;font-size:11px;line-height:1.5;color:var(--ui-muted)}
.se-stage{position:relative;height:650px;min-height:500px;overflow:hidden;background:#092635;color:#ecf6ef;isolation:isolate;outline-offset:-3px}.se-stage:focus-visible{outline:3px solid #8ce4dc}.se-canvas{display:block;position:absolute;inset:0;width:100%;height:100%}
.se-top{position:absolute;inset:18px 18px auto;display:flex;justify-content:space-between;align-items:flex-start;gap:12px;pointer-events:none;z-index:12}.se-location{text-shadow:0 2px 8px #031b2e;pointer-events:none}.se-zone{display:block;font-size:9px;letter-spacing:.14em;font-weight:700;color:#e3f4ee}.se-depth{display:block;font:500 34px/1.3 var(--font-body,system-ui);letter-spacing:-.05em}.se-depth small{font-size:14px;letter-spacing:0;margin-left:3px;color:#b4d2d2}.se-top-actions{display:flex;gap:6px;pointer-events:auto}
.se-game .se-stage .se-top-actions button{min-height:38px;width:38px;padding:9px}.se-game .se-stage :is(.se-top-actions button,.se-controls button,.se-minimap){background:#062535d9;border:1px solid #b6ead434;color:#e0f3ed;backdrop-filter:blur(9px)}
.se-game .se-stage :is(.se-top-actions button,.se-controls button,.se-minimap):hover:not(:disabled){background:#174857e8;border-color:#7cd4d4}.se-game .se-stage button.is-held{background:#69c8c4;color:#082833;border-color:#baf3df}.se-game .se-stage [aria-pressed=false][data-action=sound]{color:#8da4ab}
.se-instruments{position:absolute;left:18px;top:98px;width:124px;padding:10px 11px 8px;background:#062535bb;border:1px solid #b6ead424;border-radius:9px;backdrop-filter:blur(8px);pointer-events:none}.se-instruments>div+div{margin-top:9px}.se-instruments span{display:flex;justify-content:space-between;font-size:8px;letter-spacing:.09em;color:#afcfd0}.se-instruments b{font-size:9px;color:#eff9ec;letter-spacing:0;font-weight:500}.se-instruments meter{width:100%;height:7px;display:block;margin-top:4px;background:#173d49;border:0;border-radius:9px;overflow:hidden}.se-instruments meter::-webkit-meter-bar{background:#173d49;border:0;height:6px}.se-instruments meter::-webkit-meter-optimum-value{background:linear-gradient(90deg,#409f9b,#a3ddba)}.se-instruments meter::-moz-meter-bar{background:#83cfb6}.se-instruments.is-low b{color:#ffbb96}.se-current{font-size:7px;color:#cae1d5;letter-spacing:.05em;line-height:1.6;margin-top:11px!important}
.se-toast{position:absolute;top:84px;left:50%;transform:translateX(-50%);width:max-content;max-width:calc(100% - 330px);padding:10px 16px;border:1px solid #d4e4c438;border-radius:9px;background:#082633eb;color:#e9f4db;text-align:center;font-size:11px;line-height:1.5;z-index:3;pointer-events:none;box-shadow:0 4px 24px #031b2a33}
.se-navigation{position:absolute;left:18px;bottom:116px;width:min(360px,calc(100% - 185px));padding:13px 15px;background:#062535da;border:1px solid #b6ead434;border-radius:12px;backdrop-filter:blur(8px)}.se-nav-label{display:flex;gap:11px;align-items:center}.se-bearing{width:27px;color:#eed99b;display:flex;align-items:center;justify-content:center}.se-bearing svg{width:22px;height:22px}.se-nav-label>div{display:flex;justify-content:space-between;align-items:center;gap:10px;flex:1}.se-target-name{font-size:11px;font-weight:600;color:#e8f2d9}.se-target-distance{font-size:9px;white-space:nowrap;font-weight:400;color:#bad1cc}.se-guidance{font-size:10px;line-height:1.6;color:#bed4d0;margin-top:8px!important}.se-route-select{display:flex;align-items:center;gap:10px;font-size:9px;color:#a7c4c6;margin-top:10px;white-space:nowrap}
:root[data-theme] .se-stage .se-route-select select{font-size:10px;padding:4px 22px 4px 7px;min-height:28px;background:#163b49;color:#e8f2e5;border-color:#75afab40;color-scheme:dark}.se-stage .se-route-select option{background:#143440!important;color:#e8f2e5!important}.se-scan-progress{height:3px;margin-top:10px;background:#315360;border-radius:3px;overflow:hidden}.se-scan-progress span{height:100%;display:block;background:#c4e8ba}
.se-game .se-minimap{position:absolute;right:18px;bottom:116px;width:126px;padding:7px;display:grid;gap:3px;overflow:hidden}.se-minimap canvas{display:block;width:100%;height:auto}.se-minimap span{font-size:6px;letter-spacing:.12em;color:#afcbd0}
.se-controls{position:absolute;bottom:16px;left:18px;right:18px;display:flex;align-items:flex-end;justify-content:space-between;gap:14px}.se-dpad{display:grid;grid-template-columns:repeat(3,38px);grid-template-rows:repeat(2,35px);gap:4px}.se-game .se-dpad button{padding:8px;min-height:35px;border-radius:7px;touch-action:none;user-select:none;-webkit-user-select:none}.se-dpad [data-hold=up]{grid-column:2;grid-row:1}.se-dpad [data-hold=left]{grid-column:1;grid-row:2}.se-dpad [data-hold=down]{grid-column:2;grid-row:2}.se-dpad [data-hold=right]{grid-column:3;grid-row:2}.se-dpad [data-hold=left] svg{transform:rotate(-90deg)}.se-dpad [data-hold=down] svg{transform:rotate(180deg)}.se-dpad [data-hold=right] svg{transform:rotate(90deg)}
.se-action-controls{display:flex;gap:7px;flex-wrap:wrap;justify-content:flex-end}.se-game .se-action-controls button{min-height:45px;padding:10px 12px;font-size:11px;touch-action:none;user-select:none;-webkit-user-select:none}.se-action-controls kbd{font:500 8px var(--font-body,system-ui);border:1px solid #a5c7c344;padding:3px 4px;border-radius:4px;margin-left:6px;color:inherit}.se-action-controls svg{width:16px;height:16px}.se-game .se-stage .se-scan{border-color:#a5d7c88c;background:#174a55e8}
.se-intro,.se-dialog{position:absolute;inset:0;background:#041d2e99;backdrop-filter:blur(5px);display:flex;align-items:center;justify-content:center;padding:75px 18px 18px;z-index:10}.se-intro-card,.se-dialog-card{background:var(--ui-panel);color:var(--ui-ink);border:1px solid var(--ui-line);border-radius:18px;padding:28px;width:min(450px,100%);max-height:100%;overflow:auto;box-shadow:0 20px 70px #03142155;position:relative}.se-intro h4,.se-dialog h4{font-size:27px;font-weight:600;line-height:1.15;letter-spacing:-.035em;margin:8px 0 13px}.se-intro p:not(.se-eyebrow),.se-dialog p:not(.se-eyebrow){font-size:12px;line-height:1.7;color:var(--ui-muted)}.se-intro ol{padding-left:19px;margin:18px 0;color:var(--ui-muted);font-size:11px;line-height:1.7}.se-intro li{padding-left:4px;margin-top:7px}.se-intro b{color:var(--ui-ink);font-weight:600}.se-intro .se-primary{width:100%;margin-top:2px}.se-intro small{display:block;font-size:9px;color:var(--ui-muted);text-align:center;margin-top:12px;line-height:1.6}
.se-dialog-card>.se-primary{margin-top:22px}.se-dialog-heading{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}.se-dialog-actions,.se-chart-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:22px}.se-dialog-actions button{flex:1}.se-dialog.is-chart .se-dialog-card{width:min(560px,100%);padding:20px}.se-dialog.is-chart h4{font-size:21px;margin-bottom:8px}.se-dialog.is-chart p:not(.se-eyebrow){font-size:10px}.se-chart-canvas{display:block;margin:16px auto 0;max-height:49vh;max-width:100%;width:auto;height:auto;background:#082635;border:1px solid #456268;border-radius:11px;cursor:crosshair}.se-chart-actions{margin-top:14px}.se-chart-actions button{font-size:10px;flex:1}
.se-award{width:62px;height:62px;border:1px solid var(--ui-line);background:var(--ui-accent-soft);border-radius:18px;display:grid;place-content:center;color:var(--ui-accent);margin-bottom:20px;position:relative}.se-award svg{width:35px;height:35px}.se-stars{display:flex;gap:10px;margin:18px 0}.se-stars svg{width:34px;height:34px;fill:var(--ui-line)}.se-stars .is-earned svg{fill:var(--ui-gold);filter:drop-shadow(0 2px 8px #d1b87b44);animation:se-star .65s both;animation-delay:calc(var(--i)*.16s)}.se-win-glow{position:absolute;inset:0;background:radial-gradient(ellipse at 100% 0,#71d4ba22,transparent 60%);pointer-events:none}
.se-survey-heading{padding:25px 28px 15px;display:flex;justify-content:space-between;align-items:center;gap:12px}.se-survey-heading h4{font-size:19px;letter-spacing:-.025em;margin-top:5px;font-weight:600}.se-total{font-size:11px;color:var(--ui-muted);white-space:nowrap}.se-missions{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;padding:0 28px 24px}.se-game .se-missions button{text-align:left;justify-content:flex-start;align-items:flex-start;padding:13px 11px;display:grid;grid-template-columns:8px 1fr;gap:8px;font-size:10px}.se-mission-dot{width:6px;height:6px;border-radius:50%;background:var(--survey-color);box-shadow:0 0 8px color-mix(in srgb,var(--survey-color) 30%,transparent);margin-top:3px}.se-mission-note{display:block;font-size:8px;line-height:1.5;font-weight:400;color:var(--ui-muted);margin-top:5px}.se-missions strong{grid-column:2;font-size:20px;font-weight:500;letter-spacing:-.04em}.se-game .se-missions button[aria-pressed=true]{border-color:var(--ui-accent);background:var(--ui-accent-soft)}.se-game .se-missions button.is-complete{border-color:var(--ui-success);background:var(--ui-success-soft)}
.se-handbook{margin:0 28px 24px;border:1px solid var(--ui-line);border-radius:12px;overflow:hidden}.se-handbook summary{padding:16px;font-size:12px;font-weight:600;cursor:pointer}.se-handbook summary span{font-size:10px;font-weight:400;color:var(--ui-muted);margin-left:14px}.se-lessons{padding:7px 20px 20px;display:grid;grid-template-columns:1fr 1fr;gap:24px}.se-lessons h4{font-size:12px;margin-bottom:9px}.se-lessons p{font-size:11px;line-height:1.8;color:var(--ui-muted)}.se-lessons p+p{margin-top:9px}.se-footer{padding:0 28px 24px;display:flex;gap:8px;align-items:center;flex-wrap:wrap}.se-footer p{font-size:10px;color:var(--ui-muted);margin-right:auto;line-height:1.7}
.se-stage:fullscreen,.se-stage.se-expanded{width:100vw;height:100dvh;min-height:0;max-width:none;border-radius:0}.se-stage.se-expanded{position:fixed;inset:0;z-index:10000}.game-card:has(.se-expanded){backdrop-filter:none;transform:none}.se-game:has(.se-expanded){isolation:auto;overflow:visible}.se-stage:fullscreen .se-chart-canvas,.se-stage.se-expanded .se-chart-canvas{max-height:60vh}
@keyframes se-star{from{transform:scale(.35) rotate(-20deg);opacity:0}to{transform:scale(1);opacity:1}}
@media(max-width:850px){.se-action-controls{max-width:290px}.se-game .se-action-controls button{flex:1;min-width:100px;min-height:35px;padding:8px 10px}.se-navigation,.se-game .se-minimap{bottom:112px}.se-missions{grid-template-columns:repeat(3,minmax(0,1fr))}.se-toast{max-width:calc(100% - 200px);left:auto;right:18px;transform:none}.se-handbook summary span{display:block;margin:6px 0 0 15px}}
@media(max-width:600px){.se-hero{padding:23px 18px}.se-hero h3{font-size:27px}.se-hero p:last-child{font-size:11px}.se-hero p br{display:none}.se-hero-seal{width:73px;height:73px;outline-offset:5px}.se-hero-seal svg{width:25px;height:25px}.se-hero-seal span{font-size:5px}.se-setup{padding:18px;gap:12px}.se-setup label:first-child{flex-basis:100%}.se-stage{height:620px}.se-top{inset:12px 12px auto}.se-zone{font-size:7px}.se-depth{font-size:27px}.se-game .se-stage .se-top-actions button{width:32px;min-height:32px;padding:7px;border-radius:7px}.se-top-actions{gap:4px}.se-instruments{left:12px;top:80px;width:116px;padding:8px}.se-toast{top:84px;right:12px;max-width:calc(100% - 150px);font-size:9px;padding:8px 10px}.se-game .se-minimap{display:none}.se-navigation{left:12px;bottom:112px;width:calc(100% - 24px);padding:11px 12px}.se-guidance{font-size:9px}.se-route-select{margin-top:7px}.se-controls{left:12px;right:12px;bottom:15px;gap:10px}.se-dpad{grid-template-columns:repeat(3,33px);grid-template-rows:repeat(2,35px);gap:3px}.se-action-controls{max-width:230px;display:grid;grid-template-columns:1fr 1fr;gap:5px}.se-game .se-action-controls button{min-width:0;font-size:10px;padding:8px;min-height:35px}.se-action-controls kbd{display:none}.se-action-controls svg{width:14px;height:14px}.se-intro,.se-dialog{padding:74px 12px 15px}.se-intro-card,.se-dialog-card{padding:22px 20px}.se-intro h4,.se-dialog h4{font-size:25px}.se-intro p:not(.se-eyebrow),.se-dialog p:not(.se-eyebrow){font-size:11px}.se-dialog.is-chart .se-dialog-card{padding:15px}.se-dialog.is-chart h4{font-size:18px}.se-survey-heading{padding:22px 18px 14px;align-items:flex-start;flex-direction:column;gap:8px}.se-survey-heading h4{font-size:18px}.se-total{font-size:10px}.se-missions{padding:0 18px 18px;grid-template-columns:repeat(2,minmax(0,1fr))}.se-handbook{margin:0 18px 18px}.se-lessons{grid-template-columns:1fr;gap:20px;padding:7px 16px 18px}.se-footer{padding:0 18px 20px}.se-footer p{width:100%}.se-footer button{flex:1;font-size:10px}.se-chart-canvas{max-height:40vh}.se-chart-actions button{font-size:9px;padding:7px}}
@media(max-width:390px){.se-hero-seal{display:none}.se-hero h3{font-size:25px}.se-setup{padding:15px}.se-top{inset:12px 10px auto}.se-top-actions{gap:3px}.se-game .se-stage .se-top-actions button{width:28px;padding:5px;min-height:31px}.se-location{max-width:110px}.se-zone{font-size:6px}.se-instruments{top:78px;width:105px}.se-toast{max-width:calc(100% - 137px);font-size:8px}.se-controls{left:8px;right:8px;gap:7px}.se-dpad{grid-template-columns:repeat(3,29px);gap:2px}.se-action-controls{gap:4px}.se-game .se-action-controls button{padding:7px 5px;font-size:9px;gap:4px}.se-action-controls svg{display:none}.se-intro-card,.se-dialog-card{padding:19px 16px}.se-intro h4,.se-dialog h4{font-size:23px}.se-intro ol{font-size:10px}.se-nav-label>div{gap:6px}.se-target-name{font-size:10px}.se-target-distance{font-size:8px}.se-chart-actions{flex-direction:column}.se-dialog-heading{gap:6px}.se-dialog-heading button{font-size:10px;padding:8px}}
@media(max-height:520px) and (min-width:600px){.se-stage:fullscreen .se-instruments,.se-stage.se-expanded .se-instruments{top:83px}.se-stage:fullscreen .se-intro,.se-stage:fullscreen .se-dialog,.se-stage.se-expanded .se-intro,.se-stage.se-expanded .se-dialog{padding-top:12px;padding-right:180px;padding-left:150px}.se-stage:fullscreen .se-navigation,.se-stage.se-expanded .se-navigation{width:300px}.se-stage:fullscreen .se-route-select,.se-stage.se-expanded .se-route-select{display:none}}
.se-depth{white-space:nowrap}
:root[data-theme] #app .se-stage .se-route-select select{background:#163b49;color:#e8f2e5;border-color:#75afab40;color-scheme:dark}
@media(max-width:600px){.game-card:has(.se-game){padding:16px 0 0;overflow:hidden}.game-card:has(.se-game)>.back-button{margin-left:16px}.game-card:has(.se-game)>.game-header{padding:0 16px}.se-game{border:0;border-radius:0 0 22px 22px}.se-chart-actions{flex-direction:row}}
@media(prefers-reduced-motion:reduce){.se-game *{animation:none!important;transition:none!important}}
