:root{font-family:system-ui,sans-serif;background:#202f4b;color:#f8ead1;--ink:#324c59;--ocean:#517a80;--mono:ui-monospace,Consolas,monospace}*{box-sizing:border-box}body{margin:0;overflow:hidden}button,input{font:inherit;color:var(--ink);border:1px solid #ae9c94;background:#fff5e6;border-radius:6px;padding:.37rem .48rem;min-height:37px}button{cursor:pointer;font-weight:750}button:hover:not(:disabled){filter:brightness(.94)}button:disabled{opacity:.55;cursor:default}button:focus-visible,input:focus-visible{outline:3px solid #5b8190;outline-offset:2px}.game{width:100%;height:100vh;height:100dvh;overflow:hidden;display:grid;grid-template-columns:minmax(0,1fr) clamp(301px,34vw,437px);padding:env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);background:#202f4b}.stage{min-width:0;min-height:0;display:grid;grid-template-rows:auto auto minmax(0,1fr) auto;gap:clamp(7px,1.8vh,18px);position:relative;padding:clamp(12px,3vw,40px);background:radial-gradient(ellipse at 62% 64%,#416981,#243651 78%)}header,.stage-foot,.index{display:flex;justify-content:space-between;align-items:center;gap:7px}.brand,.kicker,.index,figcaption,.stage-foot{font:800 .67rem/1.25 var(--mono);letter-spacing:.125em}.brand b{display:inline-block;background:#e9c28e;color:#3c4d59;padding:5px 6px;border-radius:3px;margin-right:3px}.fullscreen,.stage-foot button{font-size:.73rem;background:#3d5b71;color:#f6ead4;border-color:#8fa7b4;white-space:nowrap}.stage-foot button{min-height:29px}.stage-foot b,.kicker b{color:#eac291}.mast .kicker{color:#c5e2d5}.mast h1{font:900 clamp(2.52rem,min(7.5vw,10.5vh),6.7rem)/.88 Georgia,serif;letter-spacing:-.077em;margin:.18em 0 .13em;color:#fae9c6}.mast h1 em{font-style:normal;color:#e1af83}.mast p{margin:0;color:#dee7dc}.harbor{min-width:0;min-height:0;position:relative;overflow:hidden;margin:0;border-radius:8px;border:1px solid #86a0a6;background:radial-gradient(ellipse at center,#506f85,#354e69 83%)}.gl,.diagram{position:absolute;inset:0;width:100%;height:100%}.gl canvas{width:100%;height:100%;display:block}.diagram{padding:6px 9px 17px}figcaption{position:absolute;bottom:0;inset-inline:0;display:flex;justify-content:space-between;gap:6px;padding:.54em .76em;background:#31485ded;border-top:1px solid #92a8b2;font-size:.57rem}.fs-note{position:absolute;top:3rem;right:.7rem;z-index:1;max-width:min(325px,90%);background:#fcebd7;color:#3d4a50;padding:7px 9px;border-radius:6px;font-size:.78rem}.desk{min-height:0;min-width:0;overflow:auto;overscroll-behavior:contain;background:linear-gradient(135deg,#fbefda,#e8e1d1);padding:clamp(12px,2.35vw,28px);color:var(--ink);border-left:1px solid #adad99}.desk .kicker,.index{color:var(--ocean)}h2{font:800 clamp(1.63rem,3vw,2.48rem)/1 Georgia,serif;letter-spacing:-.048em;margin:.35em 0 .52em}h2 small{font:750 .68rem var(--mono);letter-spacing:.09em;color:#557780}.weights,.steer,.tools,.share{display:flex;gap:5px}.weights button,.steer button{flex:1}.weights [aria-pressed=true]{background:#dce9dc;border-color:#7a9a89;box-shadow:inset 0 0 0 1px #7a9a89}.weights button,.steer button,.tools button,.share button{font-size:.75rem}.weights button small,.steer small{display:block;font:700 .61rem var(--mono);margin-top:3px}.strip-label{margin:.7rem 0 .27rem;font-size:.6rem}.gusts{padding:0;margin:0;list-style:none;display:grid;grid-template-columns:repeat(6,1fr);gap:3px}.gusts li{min-width:0;border:1px solid #a7ac99;background:#e5e9da;border-radius:5px;text-align:center;font:750 .69rem var(--mono);padding:5px 1px}.gusts small{display:block;margin-bottom:2px;font-size:.54rem}.gusts [data-state=now]{background:#f4d9ab;border-color:#b98d57}.gusts [data-state=used]{opacity:.62}.status{margin:.58rem 0;padding:8px 9px;border:1px solid #acaa94;border-radius:6px;background:#f1e6ce}.status.dock{background:#dceadc;border-color:#88a897}.status.fast,.status.jamb,.status.rail{background:#f0ddd4;border-color:#b59588}.status p{font-size:.8rem;font-weight:760;margin:5px 0 0;line-height:1.38}.measure{display:flex;gap:4px;justify-content:space-between;margin-top:4px;font-size:.69rem}.measure b{font:750 .7rem var(--mono)}.steer button{min-width:0;white-space:nowrap;background:#3b6172;color:#fff0da;border-color:#426477}.steer small{font-size:.56rem}.tools,.share{margin-top:6px;flex-wrap:wrap}.tools button,.share button{min-height:32px}.manual{display:block;margin-top:6px;font-size:.67rem}.manual input{width:100%;font:700 .68rem var(--mono);margin-top:4px}kbd{font:700 .51rem var(--mono);border:1px solid currentColor;border-radius:3px;margin-left:2px;padding:1px 2px;opacity:.75;text-transform:uppercase}.smallnote,.error,.help{font-size:.72rem;margin:.45rem 0;line-height:1.34}.error{color:#8e4244}.help{color:#546467}@media(max-width:720px)and (orientation:portrait){.game{grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,42%) minmax(0,1fr)}.stage,.desk{padding:10px 12px}.desk{border-left:0;border-top:1px solid #adad99}.stage{gap:6px}.mast h1{font-size:clamp(1.91rem,8.1vw,3.9rem)}.mast p{font-size:.73rem}.stage-foot{font-size:.6rem}}@media(max-height:480px)and (orientation:landscape){.game{grid-template-columns:minmax(0,1fr) minmax(270px,45vw)}.stage,.desk{padding:9px 10px}.stage{gap:5px}.mast h1{font-size:clamp(1.85rem,5vw,3.3rem)}.mast p{font-size:.7rem}}@media(pointer:coarse){button{min-height:44px}kbd{display:none}}
