@import"https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@400;500&family=Instrument+Sans:wght@500;600;700&display=swap";:root{font-family:Instrument Sans,system-ui,sans-serif;color:#f7f5ed;background:#101a2e;font-synthesis:none}*{box-sizing:border-box}body{margin:0;overflow:hidden;background:#101a2e}button,input{font:inherit}button{cursor:pointer}#game-shell{position:relative;width:100vw;height:100svh;overflow:hidden;background:#9bc8c0}#game-canvas{display:block;width:100%;height:100%;outline:0}.topbar,.hud,.toast,.help-card,.touch-pad,.run-dock{position:absolute;z-index:3}.topbar{left:0;right:0;top:0;display:flex;align-items:center;justify-content:space-between;padding:22px 28px}.brand{display:grid;grid-template-columns:auto 1fr;column-gap:10px;line-height:1}.brand-mark{grid-row:span 2;font-size:27px;color:#ffd35a;text-shadow:0 2px #d56847}.brand span:nth-child(2){color:#20344a;font-size:14px;font-weight:700;letter-spacing:.17em}.brand small{font:10px IBM Plex Mono,monospace;letter-spacing:.2em;color:#40516e;margin-top:6px}.status-pill{display:flex;align-items:center;gap:8px;border:1px solid #ffffff38;background:#ffffffb8;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);border-radius:999px;color:#293957;padding:8px 13px;font:11px IBM Plex Mono,monospace;text-transform:uppercase;letter-spacing:.06em}.status-pill i{width:7px;height:7px;border-radius:50%;background:#f1b34c;box-shadow:0 0 0 3px #f1b34c22}.status-pill.ready i{background:#4ea778;box-shadow:0 0 0 3px #4ea77822}.status-pill.disconnected i{background:#dd6b58}.icon-button{border:0;background:#ffffffb8;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);color:#293957;border-radius:50%;width:40px;height:40px;font-size:23px}.hud{top:92px}.hud-left{left:28px}.player-card{display:flex;align-items:center;gap:10px;background:#10223bd9;border:1px solid #ffffff25;border-radius:11px;padding:9px 12px 9px 9px;box-shadow:0 10px 28px #24385025}.avatar{width:30px;height:30px;display:grid;place-items:center;background:#ffc95c;color:#563e2f;border-radius:8px;font-weight:700}.player-card strong,.player-card span{display:block}.player-card strong{font-size:13px}.player-card span{font:9px IBM Plex Mono,monospace;color:#a5c1c6;letter-spacing:.08em;margin-top:4px}.ping{margin-left:10px!important;color:#86d4a0!important}.stat-row{display:flex;align-items:center;gap:8px;margin:12px 0 0 4px;color:#263c5a;font:10px IBM Plex Mono,monospace;letter-spacing:.12em}.stat-row b{font-size:20px;color:#17283f;letter-spacing:0}.coin-icon{color:#e8aa45;font-size:14px}.hud-right{right:27px;display:flex;gap:11px}.round-action{width:58px;height:58px;border:1px solid #ffffffa8;border-radius:17px;background:#ffffffbc;color:#243957;box-shadow:0 8px 24px #3c5c6b25;display:grid;place-items:center;align-content:center;gap:2px}.round-action span{font-size:23px;line-height:1;color:#db7655}.round-action small{font:9px IBM Plex Mono,monospace;letter-spacing:.05em}.action-chest span{color:#d39d3f}.action-equip span{color:#547e9f}.round-action:active,.icon-button:active{transform:translateY(2px)}#vignette{position:absolute;inset:0;pointer-events:none;z-index:1;background:linear-gradient(180deg,#eff6eb55,transparent 28%,transparent 75%,#0c193622)}.toast{left:50%;top:20%;transform:translate(-50%,-50%) translateY(-8px);opacity:0;background:#11213ce8;border-radius:999px;padding:11px 17px;font-size:12px;transition:.25s;pointer-events:none}.toast.show{opacity:1;transform:translate(-50%,-50%)}.toast-error{top:auto;bottom:25%;background:#a34d45f0}.help-card{bottom:20px;left:50%;transform:translate(-50%);padding:8px 13px;border-radius:999px;background:#ffffff9c;color:#38506d;font:10px IBM Plex Mono,monospace;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}.help-card b{color:#162a43;font-weight:500;margin:0 4px}.touch-pad{display:none;left:25px;bottom:30px;width:110px;height:110px;border:1px solid #ffffff66;background:#ffffff28;border-radius:50%;touch-action:none}.touch-knob{position:absolute;left:35px;top:35px;width:40px;height:40px;border-radius:50%;background:#ffffffb8;box-shadow:0 4px 12px #31546b44}.run-dock{left:50%;bottom:22px;transform:translate(-50%);width:min(500px,calc(100% - 40px));display:flex;align-items:center;justify-content:space-between;padding:12px 15px;background:#10233fe8;border:1px solid #ffffff30;border-radius:16px;box-shadow:0 14px 32px #0b172a44}.run-dock strong,.run-dock span{display:block}.eyebrow{font:9px IBM Plex Mono,monospace;letter-spacing:.14em;color:#efbf63}.run-dock strong{font-size:14px;margin-top:4px}.run-dock #run-progress{font-size:11px;color:#9dbbc0;margin-top:3px}.run-actions{display:flex;gap:7px}.run-actions button{border:0;border-radius:8px;padding:8px 10px;background:#ffffff1d;color:#fff}.run-actions button:first-child,.run-actions button:last-child{font-size:19px;padding:4px 10px}.modal-backdrop{position:absolute;z-index:5;inset:0;display:grid;place-items:center;background:#10213c71;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);padding:20px}.modal-card{position:relative;width:min(380px,100%);padding:31px;background:#fff9eb;color:#172943;border:1px solid #fff;border-radius:22px;box-shadow:0 20px 60px #10213c55}.modal-logo{font-size:37px;color:#e49c4e;line-height:1}.modal-card h1,.modal-card h2{font-size:34px;line-height:1;margin:5px 0 13px;letter-spacing:-.05em}.modal-card h2{font-size:28px}.modal-copy{font-size:13px;color:#627188;line-height:1.5;margin:0 0 21px}.modal-card label{display:block;font:10px IBM Plex Mono,monospace;letter-spacing:.08em;text-transform:uppercase;color:#55657b}.modal-card input{display:block;width:100%;margin-top:8px;padding:12px 13px;border:1px solid #d5d8d2;border-radius:9px;background:#fffef9;color:#172943;outline:0}.modal-card input:focus{border-color:#ec9b55;box-shadow:0 0 0 3px #ec9b5530}.primary-button{width:100%;display:flex;justify-content:space-between;align-items:center;border:0;border-radius:10px;margin-top:18px;padding:13px 15px;background:#e56d4f;color:#fff;font-size:12px;font-weight:700;letter-spacing:.07em;box-shadow:0 7px #bf5644}.primary-button:active{transform:translateY(3px);box-shadow:0 4px #bf5644}.modal-note{font:10px IBM Plex Mono,monospace;text-align:center;color:#8b99a5;margin:19px 0 0}.hidden{display:none!important}.modal-close{position:absolute;top:12px;right:14px;border:0;background:none;font-size:24px;color:#84909c}.recipe-list{display:grid;gap:7px;max-height:140px;overflow:auto}.recipe-option{display:flex;justify-content:space-between;align-items:center;padding:10px 12px;border:1px solid #d8ddd5;border-radius:9px;background:#fffef9;color:#2d425b;font-size:12px}.recipe-option.selected{border-color:#e78955;background:#fff1dc}.recipe-option input{display:none}.recipe-option small{font:10px IBM Plex Mono,monospace;color:#d58d41}.editor-label{margin-top:15px}.coin-editor{display:flex;gap:7px;margin-top:8px}.coin-editor button{border:1px solid #d5d8d2;background:#fffef9;border-radius:8px;padding:6px 9px;color:#e2a343}.coin-editor button.selected{background:#ffe7bb;border-color:#e2a343}.recipe-card .primary-button{margin-top:16px}@media(max-width:700px){.topbar{padding:16px}.hud{top:76px}.hud-left{left:16px}.hud-right{right:16px}.round-action{width:49px;height:49px;border-radius:14px}.round-action span{font-size:19px}.help-card{right:16px;left:auto;bottom:30px;max-width:calc(100% - 150px);transform:none}.key-hints{display:none}.touch-pad{display:block}.run-dock{bottom:20px}.brand small{display:none}.brand span:nth-child(2){font-size:12px}.status-pill{padding:7px 9px;font-size:9px}.icon-button{width:36px;height:36px}.modal-card{padding:25px}}[disabled]{cursor:default;opacity:.45}#game-shell:not(.joined) .hud,#game-shell:not(.joined) .touch-pad,#game-shell:not(.joined) .help-card{visibility:hidden}#recipe-list,#recipe-coins{display:block;width:100%;margin-top:8px;padding:9px 12px;border:1px solid #d5d8d2;border-radius:8px;background:#fffef9;color:#172943}.recipe-editor{margin-top:14px;color:#344963;font-size:13px}.recipe-editor label{margin-top:10px}#save-recipe{margin-top:12px;background:#e6eee7;color:#23364e;border:0;border-radius:8px;padding:8px 12px}.modal-card{max-height:calc(100svh - 36px);overflow-y:auto}.toast{max-width:90vw;text-align:center}@media(pointer:coarse){.touch-pad{display:block}.help-card{right:16px;left:auto;max-width:calc(100% - 155px);transform:none}.key-hints{display:none}}
