@font-face{font-family:DM Sans;src:url("./vendor/dm-sans.woff2") format("woff2");font-style:normal;font-weight:400 1000;font-display:swap}
:root{--ink:#1c302b;--muted:#5e6e64;--green:#197652;--border:#dce3d8;--paper:#f8f9f5;font-family:"DM Sans",Arial,sans-serif;color:var(--ink);background:var(--paper);font-synthesis:none}
*{box-sizing:border-box}
body{margin:0;min-width:300px}
button{font:inherit;color:inherit;cursor:pointer;-webkit-tap-highlight-color:transparent}
button:focus-visible,canvas:focus-visible,summary:focus-visible{outline:3px solid #2781ad;outline-offset:3px}
button{transition:background .15s,border-color .15s,box-shadow .15s,transform .15s}
button:active{transform:translateY(1px)}
[hidden]{display:none!important}
.symbols{display:none}
.icon{width:21px;height:21px;display:block;flex-shrink:0;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.masthead{height:71px;background:#fff;border-bottom:1px solid var(--border)}
.header-inner,main{width:min(100% - clamp(32px,6.8vw,120px),1600px);margin:auto}
.header-inner{height:100%;display:flex;align-items:center;justify-content:space-between}
.brand{display:flex;align-items:center;gap:10px;font-size:29px;font-weight:900;letter-spacing:-1.65px;line-height:1}
.brand img{width:45px;height:45px}
.brand b{font-size:11px;font-weight:850;letter-spacing:.07em;padding:5px 7px 4px;border:1px solid #badac6;border-radius:6px;color:#24744d;background:#eaf6eb;margin-left:2px}
nav,button,.shift-tag,.tool-belt,.belt-heading,.tool-list,.tool,.scene-label,.view-label,.view-actions,.hud,.stat,.controls,.controls>span,.keys,.modal-emblem{display:flex;align-items:center}
nav{gap:19px}
.text-btn,.icon-btn,.quiet-btn{border:0;background:transparent;justify-content:center}
.text-btn{gap:8px;font-size:14px;font-weight:650;padding:7px 0}
.text-btn .icon{width:18px;height:18px}
.text-btn:hover,.quiet-btn:hover{color:var(--green)}
.nav-rule{height:21px;width:1px;background:var(--border)}
.icon-btn{width:37px;height:37px;border-radius:9px}
.sound-btn{color:#3a4f43}
.sound-btn:hover,.dialog-close:hover{background:#edf2eb}
.shift-heading{display:flex;justify-content:space-between;align-items:center;gap:18px;margin:26px 0 22px}
.shift-tag{gap:7px;font-size:11px;font-weight:800;letter-spacing:1.25px;line-height:1;color:#487055}
.shift-tag .icon{width:15px;height:15px;color:#97721e}
.tag-separator{height:11px;width:1px;background:#c9d2c4;margin:0 3px}
.shift-number{color:#758174}
h1,h2,p{margin:0}
h1{font-size:clamp(33px,3vw,49px);font-weight:800;letter-spacing:-1.9px;line-height:1.12;margin:6px 0 5px}
.shift-heading p{font-size:15px;line-height:1.45;color:var(--muted)}
.primary{justify-content:center;gap:10px;background:var(--green);border:1px solid #146445;color:white;font-weight:750;border-radius:10px;min-height:44px;padding:10px 18px;font-size:14px;box-shadow:0 2px 0 #123a2312}
.primary:hover{background:#125f42;box-shadow:0 3px 8px #18413025}
#enter-vr .icon{width:23px;height:23px}
.game-frame{border:1px solid #c5d4c5;border-radius:17px;overflow:hidden;background:#fff;box-shadow:0 3px 0 #35473705,0 6px 22px #253c2110}
.stage{position:relative;isolation:isolate;height:clamp(345px,calc(100svh - 375px),780px);overflow:hidden;background-color:#cbe3cf;background-image:radial-gradient(ellipse at 49% 39%,#edf2d48c 5%,#d8eccc38 59%,#a7d0c43d 100%),radial-gradient(#86b49e5e .85px,transparent .95px);background-size:100% 100%,15px 15px}
#world{position:absolute;inset:0;width:100%;height:100%;display:block;touch-action:none;outline-offset:-4px}
.stage:not(.ready)::before{content:"";position:absolute;inset:0;background:url("./art/store-preview.webp") center/contain no-repeat;pointer-events:none}
.hud,.view-actions,.scene-label,.view-label,.carry,.toast,.curtain{position:absolute;z-index:2}
.hud{top:18px;left:18px;gap:15px;padding:11px 15px 11px 12px;border-radius:12px;background:#fffffff2;color:#24372d;border:1px solid #b7cdbb;box-shadow:0 2px 5px #2749320c;pointer-events:none}
.stat{gap:9px}
.stat-icon{width:34px;height:34px;border-radius:10px;display:grid;place-items:center}
.time-icon{background:#e6f4e9;color:#477e58}
.score-icon{background:#fff0c7;color:#986915}
.score-icon .icon{fill:#f7c64f;stroke-width:1.6}
.stat-icon .icon{height:21px;width:21px}
.stat-label{display:block;font-size:10px;line-height:1.1;font-weight:800;letter-spacing:1px;color:#667164;margin-bottom:2px}
.stat strong{display:block;min-width:37px;font-size:21px;line-height:1.05;font-weight:800;letter-spacing:-.8px;font-variant-numeric:tabular-nums}
.hud-rule{height:27px;width:1px;background:#e0e7dc}
.view-actions{right:18px;top:18px;gap:7px}
.stage-btn{background:#ffffffdf;border:1px solid #b8cdbb;box-shadow:0 2px 5px #27493208;color:#395443}
.stage-btn .icon{width:18px;height:18px}
.stage-btn:hover{background:white;border-color:#89aa94}
.scene-label,.view-label{bottom:15px;gap:7px;color:#385f49;pointer-events:none}
.scene-label{left:18px;border:1px solid #b3cbb7;border-radius:18px;background:#f5faf1e6;padding:5px 10px;font-size:12px;font-weight:680;line-height:1.25}
.live-dot{width:7px;height:7px;background:#45935c;border-radius:50%;box-shadow:0 0 0 3px #6d9c6520}
.view-label{right:19px;font-size:12px;font-weight:650;color:#526f5c}
.view-label .icon{width:15px;height:15px}
.carry,.toast{bottom:15px;left:50%;transform:translateX(-50%);padding:8px 15px;max-width:min(85%,560px);border-radius:9px;text-align:center;line-height:1.35;font-weight:600;font-size:13px;pointer-events:none}
.carry{background:#fff9e4;color:#694a1c;border:1px solid #dbc89f}
.toast{background:#183c2fee;color:white;box-shadow:0 2px 9px #19392622;animation:toast-in .15s ease-out}
@keyframes toast-in{from{opacity:0;translate:0 4px}}
.tool-belt{gap:clamp(16px,2.3vw,40px);padding:16px 20px;border-top:1px solid #bdcdbb}
.belt-heading{gap:9px;white-space:nowrap}
.belt-heading .icon{width:21px;height:21px;color:#516b57}
.belt-heading h2{font-size:18px;font-weight:800;letter-spacing:-.6px}
.tool-list{gap:11px;flex:1;min-width:0}
.tool{position:relative;flex:1;min-width:0;gap:10px;padding:9px 11px;border-radius:10px;border:1px solid #dce2d8;text-align:left;background:#fafbf8;min-height:67px}
.tool:hover{background:#f2f6ee;border-color:#a9bca9}
.tool.active{border-color:#498a62;box-shadow:inset 0 0 0 .6px #498a62;background:#edf7ec}
.tool img{width:46px;height:46px;flex-shrink:0;object-fit:contain}
.tool-copy{display:flex;flex-direction:column;gap:2px}
.tool-copy strong{font-size:16px;font-weight:800;letter-spacing:-.35px;line-height:1.1}
.tool-copy small{font-size:12px;color:#647365;line-height:1.3}
kbd{background:#fff;border:1px solid #d4dbd0;border-radius:4px;color:#637263;font:650 11px/1 "DM Sans",sans-serif;min-width:18px;height:18px;display:inline-grid;place-items:center;padding:0 3px}
.tool kbd{margin-left:auto;align-self:flex-start;width:18px;height:18px}
.tool.active kbd{color:#346747;background:#e5f1e4;border-color:#b8d2bb}
.controls{justify-content:center;gap:17px;color:#667466;font-size:12px;margin:17px 0 20px;font-weight:525}
.controls>span{gap:7px}
.controls>i{height:12px;width:1px;background:#d6ded1}
.controls .icon{width:16px;height:16px}
.keys{gap:3px}
.touch-controls{display:none;text-align:center;color:var(--muted);font-size:13px;margin:14px 0 18px}
.curtain{inset:0;background:#d2e4d281;backdrop-filter:blur(4px);display:grid;place-items:center;z-index:4}
.pause-card,.dialog-inner{background:#fffffa;border:1px solid #ceDAC9;border-radius:18px;box-shadow:0 12px 48px #253d2a28}
.pause-card{width:min(290px,85%);padding:24px;text-align:center}
.modal-emblem{width:46px;height:46px;justify-content:center;background:#e7f4e6;color:#37734b;border-radius:14px;margin:0 auto 12px}
.pause-card h2,.dialog-inner h2{letter-spacing:-.9px;font-weight:800;font-size:28px;line-height:1.15}
.pause-card p,.dialog-inner p{font-size:15px;line-height:1.5;color:var(--muted)}
.pause-card p:not(:empty){margin:9px 0 15px}
.pause-card .primary{width:100%;margin-top:16px}
.quiet-btn{margin:8px auto 0;font-size:14px;font-weight:600;padding:5px 10px}
dialog{color:var(--ink);padding:0;border:0;background:transparent;width:min(450px,calc(100vw - 28px));max-height:90svh;border-radius:18px}
dialog::backdrop{background:#15291f65;backdrop-filter:blur(3px)}
.dialog-inner{padding:26px 28px 24px;position:relative}
.dialog-close{position:absolute;right:12px;top:12px}
.dialog-close .icon{width:19px;height:19px}
.guide-art{width:54px;height:54px;margin:0 0 10px;display:grid;place-items:center}
.guide-art img{width:54px;height:54px}
.guide-art.vr-art{background:#e8f2e6;border-radius:14px;color:var(--green)}
.guide-art.vr-art svg{height:31px;width:31px}
.dialog-inner>p{margin:8px 0 14px}
.guide-rules>div{display:flex;align-items:center;gap:13px;margin:12px 0}
.guide-rules img{width:39px;height:39px}
.guide-rules p,.dialog-inner details p{font-size:14px}
.guide-rules strong{display:block;color:var(--ink);line-height:1.2;margin-bottom:2px;font-size:15px}
.dialog-inner details{border-top:1px solid var(--border);margin:15px 0;padding-top:12px}
.dialog-inner summary{font-weight:700;font-size:14px;cursor:pointer}
.dialog-inner details p{padding-top:6px}
.dialog-inner>.primary{width:100%;margin-top:17px}
.game-frame:fullscreen,.game-frame.larger{display:flex;flex-direction:column;border:0;border-radius:0;width:100%;height:100%;max-width:none;background:white}
.game-frame.larger{position:fixed;z-index:20;inset:0;height:100dvh}
.game-frame:fullscreen .stage,.game-frame.larger .stage{flex:1;height:auto;min-height:0}
.game-frame:fullscreen .tool-belt,.game-frame.larger .tool-belt{flex-shrink:0}
@media(min-width:1700px){.shift-heading{margin:32px 0 25px}.tool{min-height:75px}.tool-copy small{font-size:14px}}
@media(max-width:960px){.tool-belt{gap:15px;padding:13px}.tool{gap:7px;padding:9px 7px}.tool img{width:39px;height:39px}.belt-heading{gap:6px}.belt-heading h2{font-size:16px}.tool-list{gap:7px}.header-inner,main{width:calc(100% - 40px)}}
@media(max-width:730px){.masthead{height:60px}.brand{font-size:25px;gap:7px}.brand img{width:38px;height:38px}.brand b{font-size:10px}.shift-heading{margin:23px 0 17px}.shift-heading h1{font-size:32px;letter-spacing:-1.5px}.shift-heading p{font-size:14px}.header-inner,main{width:calc(100% - 28px)}.stage{height:clamp(330px,52svh,520px)}.hud{top:11px;left:11px;padding:9px;gap:9px}.stat{gap:6px}.view-actions{right:11px;top:11px;gap:5px}.tool-belt{display:block}.belt-heading{margin:0 0 9px}.belt-heading .icon{width:17px;height:17px}.tool{min-height:60px}.tool kbd{display:none}.tool-copy small{font-size:11px}.tool-copy strong{font-size:14px}.controls{gap:10px;font-size:11px}.scene-label{left:11px}.view-label{right:12px}.pause-card{padding:18px}}
@media(max-width:510px){.header-inner,main{width:calc(100% - 24px)}.masthead{height:57px}nav{gap:10px}.text-btn{font-size:13px;gap:5px}.text-btn .icon{width:16px;height:16px}.nav-rule{display:none}.sound-btn{width:32px}.shift-heading{gap:7px}.shift-heading h1{font-size:29px;letter-spacing:-1.3px}.shift-heading p{font-size:13px;max-width:235px}.shift-tag{font-size:10px;letter-spacing:1px}.primary{padding:10px 11px;font-size:13px;gap:6px;min-height:40px}#enter-vr{flex-shrink:0}#enter-vr .icon{width:19px}.game-frame{border-radius:13px}.stage{height:clamp(310px,43svh,420px)}.hud{gap:8px;padding:7px 9px}.stat-icon{width:26px;height:28px;border-radius:7px}.stat-icon .icon{width:17px;height:17px}.stat-label{font-size:8px}.stat strong{font-size:17px;min-width:25px}.hud-rule{height:22px}.stage-btn{width:32px;height:33px}.tool{flex-direction:column;justify-content:center;text-align:center;gap:5px;padding:6px 3px 8px}.tool img{width:39px;height:39px}.tool-copy{gap:3px}.tool-copy small{font-size:10px}.tool-belt{padding:10px}.scene-label,.view-label{font-size:10px;bottom:10px}.view-label .icon{width:13px;height:13px}.carry,.toast{bottom:38px}.controls{display:none}.touch-controls{display:block}.dialog-inner{padding:22px}.view-actions{gap:4px}}
@media(pointer:coarse){.controls{display:none}.touch-controls{display:block}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation-duration:0s!important;transition:none!important}}

@media(max-width:510px){.brand{font-size:23px;letter-spacing:-1px}.brand img{width:32px;height:32px}.text-btn span{display:none}.text-btn{width:32px;height:32px}}

.arcade-back{display:inline-flex;align-items:center;min-height:44px;margin:7px 0 -12px;color:var(--green);font-size:14px;font-weight:750;text-decoration-thickness:1px;text-underline-offset:3px}.arcade-back:hover{color:var(--ink)}.arcade-back:focus-visible{outline:3px solid #2781ad;outline-offset:3px}
