@font-face{font-family:Archivo Black;src:url(/fonts/archivo-black.woff2) format("woff2");font-weight:400;font-display:swap}
:root{color-scheme:dark;--paper:#eef2f6;--muted:#aeb9ca;--lime:#e1fa82;--aqua:#7bede4;--edge:#293442;--bg:#090e17;--display:"Archivo Black","Arial Black",sans-serif;--mono:ui-monospace,"SFMono-Regular",Consolas,monospace;font-family:Inter,"Noto Sans CJK SC","PingFang SC","Microsoft YaHei",system-ui,sans-serif}
*{box-sizing:border-box}body{margin:0;min-height:100vh;background:radial-gradient(ellipse at 65% 1%,#141e2b 0,transparent 53%),var(--bg);color:var(--paper)}
.shell{max-width:1216px;margin:auto;padding:0 clamp(18px,5vw,76px) 38px}
.mast{height:86px;display:flex;align-items:center;justify-content:space-between;gap:18px}
.brand{display:flex;align-items:center;gap:12px;font:italic 17px/1 var(--display);letter-spacing:-.7px;white-space:nowrap}.brand b{color:var(--lime);font-weight:400}
.orbit-mark{width:33px;height:29px;position:relative;display:inline-block;transform:rotate(-22deg)}
.orbit-mark:before{content:"";position:absolute;inset:9px -1px;border:2px solid var(--lime);border-radius:50%}.orbit-mark:after{content:"";position:absolute;inset:4px 9px;background:var(--lime);clip-path:polygon(50% 0,68% 33%,100% 50%,69% 65%,50% 100%,33% 67%,0 50%,32% 35%)}
button{font:inherit;color:inherit;background:none;cursor:pointer;-webkit-tap-highlight-color:transparent}
button:focus-visible,#arena:focus-visible{outline:2px solid var(--lime);outline-offset:4px}
.tools,.right-controls,.readouts,.input-guide,.legend,.legend span{display:flex;align-items:center}
.tools{gap:8px}.tools button,#pause{height:36px;border:1px solid var(--edge);border-radius:7px;display:flex;align-items:center;justify-content:center;gap:8px;background:#111923;font-size:12px;color:#ccd4dd}
.tools button:hover,#pause:hover{color:var(--paper);border-color:#5c6c7d}.tools button:first-child{padding:0 11px}#full,#pause{width:36px}
.wave{height:14px;display:inline-flex;align-items:center;gap:2px}.wave b{width:2px;height:4px;background:currentColor;border-radius:1px}.wave b:nth-child(2){height:11px}.wave b:nth-child(3){height:8px}.wave b:nth-child(4){height:6px}#audio[aria-pressed="true"] .wave{color:var(--aqua)}
.expand{width:13px;height:13px;background:linear-gradient(currentColor,currentColor) left top/5px 1.5px,linear-gradient(currentColor,currentColor) left top/1.5px 5px,linear-gradient(currentColor,currentColor) right top/5px 1.5px,linear-gradient(currentColor,currentColor) right top/1.5px 5px,linear-gradient(currentColor,currentColor) left bottom/5px 1.5px,linear-gradient(currentColor,currentColor) left bottom/1.5px 5px,linear-gradient(currentColor,currentColor) right bottom/5px 1.5px,linear-gradient(currentColor,currentColor) right bottom/1.5px 5px;background-repeat:no-repeat}
.cabinet{border:1px solid #34414e;border-radius:14px;box-shadow:0 16px 55px #02050b66;background:#0b1420;overflow:hidden}
.instrument{height:56px;background:linear-gradient(110deg,#151e29,#111b25);display:flex;align-items:center;justify-content:space-between;padding:0 25px;border-bottom:1px solid #303c49;font:12px/1 var(--mono)}
.readouts{gap:25px}.readout{display:flex;align-items:center;gap:10px}.readout span,.shield-meter span{font:11px/1.2 system-ui,sans-serif;letter-spacing:.04em;color:var(--muted)}
.readout b{font-size:17px;letter-spacing:1.2px;color:var(--paper);font-weight:650}.record{padding-left:24px;border-left:1px solid #34414d}.record b{color:#aebdce}
.right-controls{gap:16px}.shield-meter{display:flex;align-items:center;gap:4px}.shield-meter span{margin-right:6px}.shield-meter i{display:block;transform:skew(-14deg);width:12px;height:10px;border:1px solid #a6d0b3;background:#acdcbf}.shield-meter i.spent{background:#26323d;border-color:#475261}
#pause{height:30px;width:30px}.pause-icon{width:10px;height:11px;border-left:3px solid currentColor;border-right:3px solid currentColor}
.field{height:clamp(435px,57vh,640px);position:relative;overflow:hidden;background:#081121;isolation:isolate}
#arena{display:block;width:100%;height:100%;touch-action:none;outline-offset:-3px}.shade,.landing,.dialog-wrap{position:absolute;inset:0}.shade{pointer-events:none;background:linear-gradient(95deg,rgba(4,9,19,.86) 0%,rgba(4,9,19,.57) 26%,rgba(4,9,19,.10) 49%,transparent 70%)}
.landing{display:flex;flex-direction:column;justify-content:center;align-items:flex-start;padding:28px 6.4%;pointer-events:none}.landing button{pointer-events:auto}
.game-name{display:flex;align-items:center;gap:10px;color:var(--lime);font-size:12px;letter-spacing:.22em;font-weight:700}.game-name i{width:21px;height:2px;background:var(--lime);box-shadow:5px -4px 0 -0.5px #b6d35f}
h1{font:400 clamp(74px,min(8.3vw,10.7vh),122px)/.79 var(--display);letter-spacing:-.095em;transform:skew(-9deg);margin:21px 0 18px 2px}h1 span{display:block}h1 span:first-child{color:#f2f5f4}h1 span:last-child{margin-top:4px;color:var(--lime)}
.landing p,.dialog p{font-size:14px;line-height:1.85;color:#c3cddd;margin:0 0 21px;letter-spacing:.04em}.action{border:0;border-radius:5px;background:var(--lime);color:#172015;display:inline-flex;align-items:center;justify-content:center;gap:12px;min-width:145px;padding:0 23px;height:46px;font-weight:750;letter-spacing:.07em;box-shadow:0 3px 0 #769047;transition:transform .12s,background .12s}.action:hover{background:#edffa3;transform:translateY(-1px)}.action:active{transform:translateY(2px);box-shadow:none}
.play{display:inline-block;width:0;height:0;border-left:10px solid currentColor;border-top:6px solid transparent;border-bottom:6px solid transparent}.reticle{position:absolute;pointer-events:none;width:11px;height:11px;border-style:solid;border-color:#8a9bb074;border-width:0}.tl{top:12px;left:12px;border-top-width:1px;border-left-width:1px}.tr{top:12px;right:12px;border-top-width:1px;border-right-width:1px}.bl{bottom:12px;left:12px;border-bottom-width:1px;border-left-width:1px}.br{bottom:12px;right:12px;border-bottom-width:1px;border-right-width:1px}
.dialog-wrap{display:grid;place-items:center;background:#050a13a6;backdrop-filter:blur(4px);padding:24px}.dialog{min-width:min(310px,100%);padding:30px;border:1px solid #526371;background:#111c2aed;border-radius:12px;box-shadow:0 18px 90px #0008}.dialog h2{font-size:32px;letter-spacing:-.05em;margin:12px 0 4px}.dialog p{margin-bottom:19px}.cabinet:not([data-phase="ready"]) .shade{display:none}
.guide{display:grid;grid-template-columns:1.1fr 1fr;padding:23px 2px 0;gap:20px}.guide h2{font-size:12px;font-weight:650;letter-spacing:.1em;margin:0 0 11px;color:#bfcbd7}.guide-block{padding:1px 0}.key{padding-left:clamp(22px,4vw,56px);border-left:1px solid #273341}.input-guide,.legend{gap:11px;font-size:13px;color:#a5b3c3}.keyboard{display:flex;gap:4px}kbd{display:inline-grid;place-items:center;min-width:25px;height:24px;background:#17202b;color:#d2dbe2;border:1px solid #384451;border-bottom-width:2px;border-radius:4px;font:600 12px var(--mono)}.legend{gap:23px}.legend span{gap:8px}.core-icon{display:block;width:12px;height:12px;background:var(--aqua);clip-path:polygon(50% 0,65% 33%,100% 50%,65% 64%,50% 100%,33% 65%,0 50%,34% 34%)}.rock-icon{display:block;width:13px;height:13px;background:#ea9175;clip-path:polygon(25% 0,75% 7%,100% 44%,79% 91%,37% 100%,0 65%,6% 25%)}.touch-guide{display:none}
.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}[hidden]{display:none!important}
:fullscreen .shell{max-width:1540px}:fullscreen .field{height:calc(100dvh - 235px)}
@media(max-width:660px){.mast{height:62px}.shell{padding:0 13px 24px}.brand{font-size:14px;gap:8px}.orbit-mark{width:26px;height:25px}.tools button{height:33px}.instrument{height:47px;padding:0 13px}.readouts{gap:12px}.record{padding-left:12px}.readout{gap:4px;flex-direction:column;align-items:flex-start}.readout b{font-size:14px}.readout span,.shield-meter span{font-size:10px}.right-controls{gap:9px}.shield-meter i{width:9px;height:8px}.cabinet{border-radius:10px}.field{height:clamp(390px,62svh,620px)}.landing{justify-content:center;padding:24px 8%}h1{font-size:clamp(57px,16.5vw,90px);margin:17px 0 15px}.landing p{font-size:13px;margin-bottom:17px}.game-name{font-size:11px}.action{height:43px;min-width:132px}.guide{padding:17px 3px 0;gap:12px;grid-template-columns:1fr 1.25fr}.guide h2{font-size:11px;margin-bottom:9px}.key{padding-left:15px}.legend{gap:12px;flex-wrap:wrap}.legend span{gap:5px}.input-guide,.legend{font-size:12px}.keyboard,.desktop-guide{display:none}.touch-guide{display:inline}.shade{background:linear-gradient(90deg,#070d19cd 0%,#080f1c68 41%,transparent 85%)}}
@media(pointer:coarse) and (min-width:661px){.desktop-guide,.keyboard{display:none}.touch-guide{display:inline}}
@media(max-height:520px) and (orientation:landscape){.mast{height:42px}.instrument{height:36px}.field,:fullscreen .field{height:max(220px,calc(100dvh - 90px))}.landing{padding:10px 6%}h1{font-size:45px;line-height:.8;margin:8px 0}.landing p{font-size:11px;line-height:1.4;margin-bottom:7px}.action{height:31px;min-width:120px}.guide{padding-top:10px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}
