*{box-sizing:border-box}html,body{color:#e8eef3;-webkit-user-select:none;user-select:none;background:#10161c;height:100%;margin:0;font-family:system-ui,-apple-system,PingFang SC,sans-serif;overflow:hidden}body{justify-content:center;align-items:center;display:flex}#stage{position:relative}#c{cursor:none;touch-action:none;width:100%;height:100%;display:block}#overlay{background:#0a1016b8;justify-content:center;align-items:center;display:flex;position:absolute;inset:0}#overlay:empty{display:none}.panel{background:#1b252f;border:1px solid #2f3e4c;border-radius:.8em;max-width:92%;max-height:92%;padding:1.4em 1.8em;overflow:auto;box-shadow:0 1em 3em #00000080}.panel.center{text-align:center;min-width:22em}h1{letter-spacing:.1em;margin:0 0 .2em;font-size:2.6em}h2{margin:0;font-size:1.5em}h3{color:#9fb3c4;margin:1.1em 0 .5em;font-size:1.05em;font-weight:600}h3 small{color:#6f8496;margin-inline-start:.6em;font-weight:400}p{color:#b7c6d3;margin:.4em 0;line-height:1.6}.hint{color:#7f93a4;margin-top:1.2em;font-size:.85em}.row{justify-content:center;gap:.8em;margin-top:1.2em;display:flex}button{font:inherit;color:#e8eef3;cursor:pointer;background:#26343f;border:1px solid #3b4d5e;border-radius:.5em;padding:.55em 1.2em;font-size:.95em}button:hover:not(:disabled){background:#30424f}button:disabled{opacity:.4;cursor:default}button.primary{color:#1b1208;background:#d9822b;border-color:#e89a4a;font-weight:700}button.primary:hover{background:#e8913a}.shop header{z-index:1;background:#1b252f;border-bottom:1px solid #2f3e4c;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.6em 1.5em;margin:-1.4em -1.8em 0;padding:1.2em 1.8em .8em;display:flex;position:sticky;top:-1.4em}.shop-title{align-items:baseline;gap:1.2em;display:flex}.shop-actions{gap:.5em;display:flex}.gold{color:#fc3;font-size:1.2em;font-weight:700}.grid{grid-template-columns:repeat(4,minmax(0,12.5em));gap:.6em;display:grid}.card{background:#222e39;border:1px solid #2f3e4c;border-radius:.6em;flex-direction:column;gap:.35em;padding:.7em .8em;display:flex}.card .name{flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:0 .4em;font-weight:700;display:flex}.card .desc{color:#9fb3c4;flex:1;font-size:.8em;line-height:1.45}.pips{color:#d9822b;letter-spacing:.05em;white-space:nowrap;font-size:.7em}.card button{padding:.4em .6em;font-size:.85em}.card .btns{gap:.4em;display:flex}.card .btns>:last-child{flex:1}button.price.sell{color:#9fb3c4;gap:.35em}.stat{font-size:1.1em}.panel.menu{text-align:center;width:26em;padding:2em 2.2em 1.6em}.title{letter-spacing:.12em;background:linear-gradient(#ffe7a3,#e0952c);color:#0000;filter:drop-shadow(0 .08em #00000073);-webkit-background-clip:text;background-clip:text;margin:0;font-size:3em}.stack{flex-direction:column;gap:.6em;width:16em;margin:1em auto 0;display:flex}button.big{border-radius:.6em;flex-direction:column;align-items:center;padding:.75em 1em;font-size:1.05em;display:flex}button.big small{opacity:.75;margin-top:.15em;font-size:.7em;font-weight:500}.panel.subpage{width:32em;padding-top:0}.subpage header{background:inherit;grid-template-columns:1fr auto 1fr;align-items:center;padding:1.2em 0 .6em;display:grid;position:sticky;top:0}.subpage header .back{justify-self:start;padding:.35em .8em}.subpage header h2{margin:0}.subpage dl{text-align:start;margin:0 0 .4em}.feedback textarea{box-sizing:border-box;width:100%;font:inherit;color:#e8eef3;resize:vertical;-webkit-user-select:text;user-select:text;background:#1b2530;border:1px solid #3b4d5e;border-radius:.5em;padding:.6em;font-size:.95em}.feedback .stars{justify-content:center;gap:.3em;margin:.6em 0;display:flex}.feedback .stars button{color:#3b4d5e;background:0 0;border:0;padding:.1em .25em;font-size:1.6em;line-height:1}.feedback .stars button.on{color:#f2c14e}.feedback .status{color:#f2c14e;min-height:1.3em;margin:.5em 0;font-size:.85em}.feedback .thanks{margin:1.5em 0 2em;font-size:1.05em;line-height:1.6}.subpage dt{color:#f2c14e;margin-top:.8em;font-weight:600}.subpage dd{color:#b8c7d4;margin:.2em 0 0;font-size:.9em;line-height:1.5}.debug-levels{grid-template-columns:repeat(auto-fill,minmax(7.5em,1fr));gap:.5em;margin:.4em 0 .8em;display:grid}.debug-levels button{flex-direction:column;align-items:center;gap:.2em;padding:.5em;display:flex}.debug-levels .cost{color:#ffd66b;align-items:center;gap:.25em;font-size:.85em;display:inline-flex}.settings h2{margin-bottom:1em}.setting{border-bottom:1px solid #2a3845;justify-content:space-between;align-items:center;gap:1em;padding:.6em 0;display:flex}.setting>span{color:#d5dee6}.seg{border:1px solid #3b4d5e;border-radius:.5em;display:flex;overflow:hidden}.seg button{background:0 0;border:0;border-radius:0;padding:.45em .9em;font-size:.85em}.seg button+button{border-left:1px solid #3b4d5e}.setting select{font:inherit;color:#e8eef3;background:#1b2530;border:1px solid #3b4d5e;border-radius:.5em;padding:.45em .6em;font-size:.85em}.seg button.on{color:#1b1208;background:#d9822b;font-weight:700}body{-webkit-touch-callout:none;-webkit-tap-highlight-color:transparent;touch-action:manipulation}#rotate{z-index:10;background:#10161c;flex-direction:column;justify-content:center;align-items:center;gap:1.5em;font-size:18px;display:none;position:fixed;inset:0}#rotate .phone{border:4px solid #e8eef3;border-radius:10px;width:46px;height:80px;animation:2s ease-in-out infinite turn}@keyframes turn{0%,30%{transform:rotate(0)}60%,to{transform:rotate(-90deg)}}@media (orientation:portrait) and (pointer:coarse){#rotate{display:flex}}.tower-row{background:#222e39;border:1px solid #2f3e4c;border-radius:.6em;align-items:center;gap:.8em;margin-top:.8em;padding:.6em .8em;display:flex}.tower-row>span:first-child{white-space:nowrap;font-weight:600}.hpbar{background:#10161c;border-radius:.3em;flex:1;height:.6em;overflow:hidden}.hpbar i{background:#3fb950;height:100%;display:block}.tower-row button{white-space:nowrap}.intact{color:#7fcf8a;white-space:nowrap;font-size:.9em}.ico{vertical-align:-.15em;flex:none;width:1.05em;height:1.05em}button.price{font-variant-numeric:tabular-nums;justify-content:center;align-items:center;gap:.6em;font-weight:700;display:flex}button.price .cost{color:#ffd66b;align-items:center;gap:.25em;display:inline-flex}button.price:disabled .cost{color:inherit}.gold{align-items:center;gap:.3em;display:inline-flex}.version{color:#6f8496;margin:1em 0 0;font-size:.75em}
