@font-face{font-family:"Press Start 2P";src:url(/assets/fonts/PressStart2P-Regular.ttf) format("truetype");font-display:swap}*{box-sizing:border-box}body{margin:0;background:#0d1119;color:#eef2fa;font-family:Verdana,Geneva,sans-serif;font-size:14px}h1,h2,h3,.px{font-family:"Press Start 2P",monospace;font-weight:400}h1{font-size:24px;color:#ffe9a8}h2{font-size:16px;color:#ffe9a8}h3{font-size:12px;color:#9fc3e8}button{font-family:"Press Start 2P",monospace;font-size:11px;background:#2e4a66;color:#fff;border:2px solid #d8a83c;padding:10px 14px;cursor:pointer}button:hover:not(:disabled){background:#3a5f83}button:disabled{opacity:.45;cursor:not-allowed}button.primary{background:#7a5b12}input,select{background:#1b1f2e;color:#eef2fa;border:1px solid #4a5f7d;padding:9px;font-size:14px;width:100%}textarea.feedback-text{background:#1b1f2e;color:#eef2fa;border:1px solid #4a5f7d;padding:9px;font-size:14px;width:100%;font-family:Verdana,Geneva,sans-serif;resize:vertical}label{display:block;margin:10px 0 4px;color:#cfe6ff;font-size:12px}.screen{max-width:1180px;margin:0 auto;padding:18px}.card{background:#161c2a;border:2px solid #33465e;padding:16px;margin:12px 0}.error{color:#ff9d9d;min-height:18px}.note{color:#b9c7da;font-size:12px;line-height:1.5}table{border-collapse:collapse;width:100%;margin:8px 0}th,td{border:1px solid #33465e;padding:6px 8px;text-align:left;font-size:13px}th{background:#1b1f2e;color:#ffe9a8}.topbar{display:flex;flex-wrap:wrap;gap:14px;align-items:center;background:#161c2a;border-bottom:3px solid #d8a83c;padding:10px 16px}.topbar .stat{font-family:"Press Start 2P",monospace;font-size:11px;color:#ffe9a8}.topbar .grow{flex:1}.layout{display:flex;gap:14px;align-items:flex-start;padding:14px;max-width:1760px;margin:0 auto}#game{flex:1 1 auto;min-width:0;aspect-ratio:16 / 9;max-height:calc(100vh - 130px);background:#000}#game canvas{width:100%!important;height:100%!important}.panels{flex:0 0 400px;min-width:340px;max-height:calc(100vh - 130px);overflow-y:auto}@media(max-width:900px){.layout{flex-direction:column}#game{width:100%;max-height:none}.panels{flex:1 1 auto;width:100%;max-height:none;overflow-y:visible}}.tabs{display:flex;flex-wrap:wrap;gap:4px}.tabs button{font-size:9px;padding:8px;border-color:#4a5f7d}.tabs button.active{background:#7a5b12;border-color:#d8a83c}.bar{height:10px;background:#0d1119;border:1px solid #4a5f7d;margin:3px 0 7px}.bar>div{height:100%}.hp>div{background:#57c46a}.sta>div{background:#4da3ff}.xp>div{background:#c792ff}.hero{border:1px solid #33465e;padding:10px;margin:8px 0;background:#101623}.hero .head{display:flex;justify-content:space-between;gap:8px}.wants{color:#ffd94d;font-size:12px}.modal-back{position:fixed;top:0;right:0;bottom:0;left:0;background:#04060ad1;display:flex;align-items:center;justify-content:center;z-index:50}.modal{background:#161c2a;border:3px solid #d8a83c;padding:22px;max-width:560px;width:92%;max-height:88vh;overflow:auto}.reveal{text-align:center}.reveal .big{font-family:"Press Start 2P",monospace;font-size:20px;margin:8px 0}.hero-portrait{float:right;width:96px;height:96px;margin:0 0 8px 10px;border:1px solid #33465e}.reveal-portrait{width:192px;height:192px;border:2px solid #d8a83c}.hire-cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(104px,1fr));gap:10px;margin:8px 0}.hire-card{text-align:center}.hire-portrait{width:100%;height:auto;border:1px solid #33465e}.feed-line,.notice-line{padding:5px 0;border-bottom:1px solid #22304a;font-size:13px}.share-row{display:flex;gap:8px}.share-row button{flex:1}.share-row button.active{background:#7a5b12}.tutorial-card{position:fixed;right:16px;bottom:16px;width:350px;max-width:calc(100vw - 32px);background:#161c2a;border:3px solid #d8a83c;padding:14px 16px;z-index:60;box-shadow:0 8px 28px #0000008c}.tutorial-head{display:flex;justify-content:space-between;align-items:center;gap:8px;flex-wrap:nowrap}.tutorial-progress{font-family:"Press Start 2P",monospace;font-size:9px;color:#9fc3e8;white-space:nowrap;flex:0 1 auto;min-width:0}.tutorial-skip{font-size:9px;padding:6px 8px;border-color:#4a5f7d;background:#1b1f2e;white-space:nowrap;flex:0 0 auto}@media(max-width:420px){.tutorial-head{flex-wrap:wrap}}.tutorial-body{font-size:14px;line-height:1.55;margin:8px 0}.tutorial-actions{margin:10px 0 2px}.tutorial-highlight{outline:3px solid #ffd94d!important;outline-offset:2px;box-shadow:0 0 10px #ffd94dcc}.hidden{display:none!important}a{color:#9fc3e8}.docs{max-width:900px}.badge{background:#7a5b12;color:#ffe9a8;padding:3px 8px;font-family:"Press Start 2P",monospace;font-size:9px}#game canvas{touch-action:none}.hero-selected{outline:2px solid #d8a83c;outline-offset:-2px}#airlock-chip{background:#7a5b12}#watching-bar{background:#161c2a;border:2px solid #d8a83c;padding:8px 10px}#hero-detail{background:#101623;border:2px solid #33465e;padding:8px 10px;max-width:560px}.hero-detail-head{display:flex;justify-content:space-between;align-items:center}button.feed-watch{display:block;width:100%;text-align:left;background:none;border:none;border-bottom:1px solid #22304a;color:#9fc3e8;font-family:Verdana,Geneva,sans-serif;font-size:13px;padding:5px 0;cursor:pointer}button.feed-watch:hover{background:#1b1f2e}#toasts{position:fixed;top:14px;left:50%;transform:translate(-50%);z-index:40;display:flex;flex-direction:column;gap:8px;align-items:center;pointer-events:none;max-width:min(92vw,620px)}.toast{pointer-events:auto;cursor:pointer;background:#2a1620;color:#ffd9d9;border:2px solid #c0392b;padding:10px 16px;font-size:13px;line-height:1.45;text-align:center;box-shadow:0 6px 20px #00000080;opacity:1;transition:opacity .25s ease,transform .25s ease}.toast-out{opacity:0;transform:translateY(-6px)}
