:root{color:#e9e8dc;font-synthesis:none;text-rendering:optimizelegibility;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;background:#10191e;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-weight:400}*{box-sizing:border-box}body{background:radial-gradient(at 48% -20%,#293a3b 0,#152126 42%,#10191e 76%);min-width:320px;min-height:100vh;margin:0}button,input{font:inherit}button{color:inherit}.game-shell{width:min(1120px,100% - 40px);margin:0 auto;padding:22px 0 16px}.game-header{border-bottom:1px solid #344448;align-items:center;gap:13px;min-height:62px;padding:0 0 18px;display:flex}.brand-mark{color:#f1d99b;background:#293531;border:1px solid #bf9c61;border-radius:13px 13px 16px 16px;place-items:center;width:42px;height:42px;font-family:Georgia,serif;font-size:21px;text-decoration:none;display:grid}.brand-copy{line-height:1.1}.brand-copy h1{margin:3px 0 0;font-family:Georgia,Noto Serif TC,serif;font-size:23px;font-weight:600}.eyebrow{color:#9eafa6;letter-spacing:.14em;margin:0;font-size:11px}.header-stage{color:#9eafa6;flex-direction:column;align-items:flex-end;gap:4px;margin-left:auto;font-size:12px;display:flex}.header-stage strong{color:#f0dca8;font-size:15px;font-weight:600}.battle-layout{grid-template-columns:minmax(0,1.7fr) minmax(250px,.8fr);gap:22px;padding:24px 0 14px;display:grid}.play-column,.status-column{min-width:0}.board-heading{justify-content:space-between;align-items:end;gap:12px;margin-bottom:12px;display:flex}.board-heading h2{color:#f0e9d1;margin:4px 0 0;font-family:Georgia,Noto Serif TC,serif;font-size:22px;font-weight:500}.flight-label{color:#b8c9bb;white-space:nowrap;border:1px solid #3c5152;border-radius:999px;padding:6px 10px;font-size:11px}.canvas-frame{background:#0e171b;border:1px solid #435456;border-radius:17px;padding:10px;box-shadow:0 14px 35px #08101388,inset 0 1px #ffffff08}#board{touch-action:none;cursor:crosshair;background:#10191e;border-radius:10px;width:100%;height:min(60vh,620px);min-height:380px;display:block}.pin-legend{color:#aab8af;flex-wrap:wrap;gap:14px;padding:12px 3px 3px;font-size:11px;display:flex}.pin-legend span{align-items:center;gap:6px;display:inline-flex}.pin-dot{border-radius:50%;width:9px;height:9px}.pin-dot.ordinary{background:#bac7c0}.pin-dot.fire{background:#ec866e}.pin-dot.cooling{background:#72b5dc}.pin-dot.refresh{background:#bf9ce2}.aim-control{color:#aab8af;grid-template-columns:auto 44px minmax(0,1fr) auto;align-items:center;gap:12px;margin-top:15px;font-size:12px;display:grid}.aim-control strong{color:#f3e5bd;font-variant-numeric:tabular-nums;text-align:right}.aim-control input{accent-color:#e2bd76;width:100%}.aim-hint{color:#728582;font-size:10px}.actions{gap:9px;margin-top:14px;display:flex}.button{color:#e5e8dd;cursor:pointer;background:#263439;border:1px solid #506260;border-radius:10px;justify-content:center;align-items:center;gap:11px;min-height:43px;padding:0 16px;font-size:13px;font-weight:600;transition:border-color .12s,background .12s,transform .12s;display:inline-flex}.button:hover:not(:disabled){background:#314347;border-color:#a9b59d}.button:active:not(:disabled){transform:translateY(1px)}.button:disabled{opacity:.42;cursor:default}.button-primary{color:#fff5dc;background:#987744;border-color:#c8a76d}.button-primary:hover:not(:disabled){background:#ac8c53;border-color:#f0d69e}.button-vent{color:#b9e2ed;background:#203943;border-color:#577e8a}kbd{color:#d5d0bd;border:1px solid #ffffff38;border-radius:5px;padding:3px 5px;font-size:9px;font-weight:500}.shot-summary{color:#aab8af;min-height:18px;margin:11px 1px 0;font-size:12px}.status-column{flex-direction:column;gap:12px;padding-top:1px;display:flex}.status-card{background:linear-gradient(145deg,#202e32,#1a272b);border:1px solid #3a4b4e;border-radius:14px;padding:16px;box-shadow:0 10px 24px #080f1280}.card-topline{justify-content:space-between;align-items:center;gap:8px;display:flex}.enemy-list{flex-direction:column;gap:13px;margin-top:15px;display:flex}.enemy-entry{border-top:1px solid #3b4b4b;padding-top:11px}.enemy-entry:first-child{border-top:0;padding-top:0}.enemy-entry-top{color:#eee5ce;justify-content:space-between;align-items:center;gap:8px;margin-bottom:11px;font-size:13px;display:flex}.enemy-front .enemy-entry-top>strong{color:#f1d6a0}.empty-enemies{color:#9eafa6;margin:14px 0 2px;font-size:12px}.intent-chip{color:#e1c892;background:#3f3930;border-radius:999px;padding:5px 8px;font-size:10px}.bar-label{color:#adbbb2;justify-content:space-between;align-items:center;margin-bottom:7px;font-size:11px;display:flex}.bar-label strong{color:#e8e8d9;font-variant-numeric:tabular-nums}.bar-track{background:#0e171a;border-radius:999px;height:8px;position:relative;overflow:hidden;box-shadow:inset 0 1px 3px #0009}.bar-fill{border-radius:inherit;width:100%;height:100%;transition:width .14s linear;display:block}.enemy-fill{background:linear-gradient(90deg,#b65e52,#e79670)}.player-fill{background:linear-gradient(90deg,#648a76,#9cc98e)}.enemy-detail{color:#879a94;margin:10px 0 0;font-size:11px}.enemy-detail strong{color:#d8d9cb;font-weight:600}.health-caption{color:#aab8af;font-size:11px}.health-number{align-items:baseline;gap:5px;margin:9px 0;display:flex}.health-number strong{color:#f0e8d0;font-variant-numeric:tabular-nums;font-size:30px;font-weight:500}.health-number span{color:#7e928b;font-size:12px}.pressure-card{background:linear-gradient(145deg,#332f28,#242a29);border-color:#75674a}.pressure-card .card-topline strong{color:#f0d79a;font-variant-numeric:tabular-nums;font-size:12px}.pressure-track{overflow:visible}.pressure-fill{background:linear-gradient(90deg,#b49c62,#e9a262)}.bar-cap{background:#fff1c1;width:2px;height:14px;position:absolute;top:-3px;left:100%;box-shadow:0 0 5px #fff1c1}.pressure-notes{color:#9b9b87;justify-content:space-between;margin-top:8px;font-size:9px;display:flex}.rule-card{background:#1a2729;margin-top:auto}.rule-card p{color:#e2dfcd;margin:11px 0 0;font-size:13px}.rule-card .rule-note{color:#91a29a;margin-top:7px;font-size:11px;line-height:1.5}.economy-card .card-topline strong{color:#f1d69c;font-variant-numeric:tabular-nums;font-size:20px}.owned-skills{color:#b9c6b8;margin-top:11px;font-size:11px;line-height:1.6}.game-footer{color:#728681;border-top:1px solid #344448;justify-content:space-between;padding:12px 2px 0;font-size:10px;display:flex}.end-screen{z-index:5;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);background:#081013c9;place-items:center;padding:18px;display:grid;position:fixed;inset:0}.end-screen[hidden]{display:none}.end-card{text-align:center;background:#202d2e;border:1px solid #8d7952;border-radius:18px;width:min(420px,100%);padding:28px;box-shadow:0 24px 70px #0009}.end-card h2{color:#f0dfb6;margin:10px 0;font-family:Georgia,Noto Serif TC,serif;font-size:28px;font-weight:500}.end-card p{color:#b3c0b4;margin:0 0 22px;font-size:13px}.shop-screen{z-index:4;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);background:#081013d9;place-items:center;padding:18px;display:grid;position:fixed;inset:0}.shop-screen[hidden]{display:none}.shop-card{background:linear-gradient(145deg,#243235,#192528);border:1px solid #8d7952;border-radius:18px;width:min(760px,100%);max-height:92vh;padding:24px;overflow-y:auto;box-shadow:0 24px 70px #0009}.shop-header{border-bottom:1px solid #465453;justify-content:space-between;align-items:center;gap:16px;padding-bottom:18px;display:flex}.shop-header h2{color:#f0dfb6;margin:5px 0 0;font-family:Georgia,Noto Serif TC,serif;font-size:26px;font-weight:500}.shop-gold{color:#acb9ad;align-items:center;gap:9px;font-size:12px;display:flex}.shop-gold strong{color:#f1d69c;font-variant-numeric:tabular-nums;font-size:24px}.shop-next-stage{background:#172326;border:1px solid #3d5050;border-radius:12px;margin-top:17px;padding:14px}.shop-next-stage .card-topline strong{color:#efdaa9;font-size:12px}.shop-next-stage>p{color:#c2c8b8;margin:9px 0 0;font-size:12px}.shop-enemies{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:12px;display:grid}.shop-enemy{color:#9fafa6;background:#263538;border-radius:9px;gap:5px;padding:10px;font-size:10px;display:grid}.shop-enemy strong{color:#f0d9a4;font-size:11px}.shop-skills{margin-top:20px}.shop-skills .card-topline>span:last-child{color:#8fa198;font-size:10px}.shop-offers{grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin-top:10px;display:grid}.skill-offer{color:#e7e7d9;text-align:left;cursor:pointer;background:#263639;border:1px solid #52615a;border-radius:11px;flex-direction:column;align-items:stretch;gap:12px;min-width:0;min-height:110px;padding:12px;display:flex}.skill-offer:hover:not(:disabled){background:#304144;border-color:#d0b174}.skill-offer:disabled{opacity:.48;cursor:default}.skill-offer-top{justify-content:space-between;align-items:center;gap:8px;display:flex}.skill-offer-top strong{color:#f1dfb7;font-size:14px}.skill-offer-top b{color:#e4c685;white-space:nowrap;font-size:11px}.skill-offer-description{color:#aebcb2;font-size:10px;line-height:1.5}.empty-offers{color:#aebcb2;grid-column:1/-1;font-size:12px}.shop-actions{flex-wrap:wrap;gap:9px;margin-top:18px;display:flex}.shop-actions .button:last-child{margin-left:auto}@media (width<=760px){.game-shell{width:min(100% - 24px,560px);padding-top:14px}.battle-layout{grid-template-columns:1fr;gap:14px;padding-top:16px}.status-column{grid-template-columns:1fr 1fr;align-items:stretch;display:grid}.status-card{padding:13px}.rule-card{margin-top:0}#board{height:min(58vh,570px);min-height:330px}.enemy-entry-top{font-size:12px}.shop-card{padding:18px}.shop-enemies{grid-template-columns:repeat(2,minmax(0,1fr))}.shop-offers{grid-template-columns:1fr}.skill-offer{min-height:0}}@media (width<=430px){.game-shell{width:calc(100% - 18px)}.game-header{padding-bottom:13px}.status-column{grid-template-columns:1fr}.status-card{padding:14px}.rule-card{margin-top:0}#board{min-height:300px}.aim-control{grid-template-columns:auto 38px minmax(0,1fr);gap:8px}.aim-hint{display:none}.actions .button{flex:1}.pin-legend{gap:10px}.shop-screen{padding:9px}.shop-card{max-height:96vh;padding:15px}.shop-actions{grid-template-columns:1fr 1fr;display:grid}.shop-actions .button:last-child{grid-column:1/-1;margin-left:0}}
