*{box-sizing:border-box}body{margin:0;background:#0a1018;color:#f4eee4;font:16px/1.4 system-ui,sans-serif}main{max-width:1500px;margin:auto}button,a{font:inherit;color:inherit;touch-action:manipulation}button{cursor:pointer}button:disabled{opacity:.43;cursor:default}button:focus-visible,a:focus-visible{outline:3px solid #fadd87;outline-offset:2px}[hidden]{display:none!important}header,.cockpit,.readouts,.switches,.actions{display:flex;align-items:center}header{height:48px;padding:0 clamp(12px,4vw,62px);justify-content:space-between;background:#0d1520;border-bottom:1px solid #384758}header a,header button{border:0;background:none;text-decoration:none;color:#c7d9dd;font-size:.88rem}header strong,.stamp,.instruments,.readouts small{font-family:ui-monospace,monospace;letter-spacing:.14em}.field{position:relative;height:clamp(365px,64vh,660px);background:#0c1427 url(./nightfall.webp) center 54%/cover no-repeat;overflow:hidden}.field canvas{width:100%;height:100%;display:block}.panel{position:absolute;inset:0;display:flex;align-items:center;padding:clamp(16px,5vw,74px);background:linear-gradient(90deg,#060e1ded,rgba(6,14,29,.78) 32%,transparent 79%)}.plate{max-width:490px;text-shadow:0 1px 8px #061226}.stamp{color:#ffc373;font-size:.74rem;font-weight:750}.plate h1{font:600 clamp(46px,7.6vw,109px)/.98 Georgia,serif;letter-spacing:-.055em;margin:.15em 0}.plate h1 em{color:#ffce8c;font-weight:400}.plate p:not(.stamp){max-width:45ch}.actions{gap:10px;flex-wrap:wrap;margin:1rem 0}.actions button,.switches button,.pad button{border:1px solid #60727f;background:#162631;color:#e5f0ef;padding:11px 15px;border-radius:5px;font-weight:650}.actions button:first-child{background:#ffc581;border-color:#ffce92;color:#21201c}.actions .minor{background:#142437c9}.plate a{color:#d1e5eb;font-size:.87rem}.instruments{position:absolute;top:12px;left:12px;right:12px;display:flex;justify-content:space-between;gap:8px;font-size:clamp(9px,1.2vw,14px);pointer-events:none}.instruments>*{padding:6px 9px;background:#101d2de8;border:1px solid #4b6678}.cockpit{justify-content:space-between;gap:10px;margin:0 auto;padding:12px clamp(12px,4vw,52px);background:#101b27;border-block:1px solid #41515e}.readouts,.switches{gap:clamp(7px,2vw,25px)}.readouts div{min-width:5em}.readouts small,.readouts strong{display:block}.readouts small{font-size:.62rem;color:#acbfc8}.readouts strong{font:600 1.2rem ui-monospace,monospace}.switches button{font-size:.85rem}.pad{display:grid;grid-template-columns:repeat(4,1fr);max-width:840px;gap:8px;margin:10px auto;padding:0 12px}.pad button{min-height:54px;user-select:none;touch-action:none}.pad button:active,.pad button.held{background:#567782}.message{margin:8px auto;text-align:center;color:#afc5d0;font-size:.84rem;padding:0 14px}.field canvas{touch-action:pan-y}@media(max-width:650px){header{height:40px}.field{height:clamp(310px,51svh,520px)}.panel{background:linear-gradient(90deg,#081320e8,#09152599 60%,#09152521);padding:17px}.cockpit{align-items:stretch;flex-direction:column;padding:9px 12px}.readouts{justify-content:space-between}.switches button{flex:1;padding:7px 2px;min-height:40px}.pad{gap:5px;margin:7px auto}.pad button{padding:8px 2px;min-height:50px}.plate p{font-size:.94rem}.actions{margin:.7rem 0}}@media(max-height:525px) and (orientation:landscape){header{height:32px}.field{height:59svh;min-height:180px}.plate h1{font-size:39px}.stamp,.plate p{margin:3px 0}.actions{margin:5px 0}.actions button{padding:6px 12px}.cockpit{padding:3px 12px}.pad{margin:2px auto}.pad button{min-height:36px;padding:3px}.message{margin:2px}}
