.tw-heading{display:flex;align-items:center;gap:13px;margin:0 0 16px;color:#8ca58f}.tw-heading h1{font-size:28px;letter-spacing:-.6px;margin:0;color:#f0f6e8}.tw-stage{width:100%;min-width:0;container-type:inline-size}#towers-view{margin-inline:auto}#towers-game{grid-template-columns:320px minmax(0,1fr);height:656px;border:0}#towers-game .rt-controls{gap:10px;padding:24px}.tw-label{font-size:13px;font-weight:600;color:#a5b59d;margin-top:6px}#tw-difficulty{width:100%;height:48px;flex:none;padding:0 13px;border:0;border-radius:8px;background:#102318;color:#edf4e5;font:500 14px inherit;outline:none}.tw-playfield{position:relative;display:flex;flex-direction:column;min-width:0;min-height:0;padding:16px;background:#10251b;isolation:isolate}.tw-toolbar{display:flex;align-items:center;gap:8px;min-height:34px;flex:none}#tw-history{min-width:0;flex:1;overflow:hidden}.tw-board{display:flex;flex-direction:column-reverse;gap:9px;width:100%;max-width:510px;margin:auto;min-height:0;padding:24px 8px}.tw-floor{display:grid;grid-template-columns:22px minmax(0,1fr) 68px;gap:12px;align-items:center;min-width:0}.tw-floor-number{font-size:11px;font-weight:600;color:#60765e;text-align:center}.tw-tiles{display:grid;grid-template-columns:repeat(var(--tw-columns),minmax(0,1fr));gap:8px;min-width:0}.tw-tile{height:47px;display:grid;place-items:center;position:relative;isolation:isolate;border:0;border-radius:8px;background:#253e2b;box-shadow:0 4px 0 #1b3021;color:#a5bb97;transition:background .13s,transform .13s}.tw-tile svg{width:18px;height:18px;opacity:.32}.tw-tile img{width:31px;height:31px;pointer-events:none;position:relative;z-index:1}.rt-game .tw-tile:disabled{opacity:1;cursor:default}.tw-floor.current .tw-tile{background:#355238;cursor:pointer}.tw-floor.current .tw-tile:hover:not(:disabled){background:#456642;transform:translateY(-2px)}.tw-floor.current .tw-floor-number{color:#d4ef83}.tw-tile.selected{background:#789647;box-shadow:0 4px 0 #526e35}.tw-tile.safe{background:#36563a;box-shadow:0 4px 0 #27402a}.tw-tile.hit{background:#673541;box-shadow:0 4px 0 #4d2731}.tw-tile.revealed-mine{background:#2e292b;box-shadow:0 4px 0 #242023}.tw-tile.revealed-mine img{opacity:.45}.tw-floor .tw-multi{padding:8px 3px;width:100%;border:0;border-radius:18px;background:#1b3224;font-size:12px;font-weight:700;color:#8fa784}.tw-floor.current .tw-multi{background:#2e492f;color:#d4ef83}.tw-floor.passed .tw-multi{background:#354f30;color:#d4ef83}.tw-floor.failed .tw-multi{background:#673541;color:#f5bac3}.tw-actions{display:flex;flex-direction:column;gap:10px;margin-top:auto;flex:none}.tw-secondary{min-height:48px;border:0;border-radius:7px;background:#344b33;color:#edf4e5;font-weight:700}.tw-secondary:hover:not(:disabled){background:#425b3d}.tw-cashout-preview{text-align:center;font-size:12px;color:#a5b59d;padding:4px 0 3px}.tw-cashout-preview>strong{display:flex;align-items:center;justify-content:center;gap:5px;margin-top:8px;color:#edf4e5;font-size:15px}#tw-status:empty{display:none}#tw-status{color:#dfb39a;font-size:12px;line-height:1.5;margin:0}#tw-result{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:220px;max-width:60%;z-index:8;pointer-events:none}#tw-result img{display:block;width:100%;height:auto}#tw-auto-fields{display:grid;grid-template-rows:0fr;opacity:0;flex:none;transition:grid-template-rows .38s cubic-bezier(.22,1,.36,1),opacity .25s}.auto-layout #tw-auto-fields{grid-template-rows:1fr;opacity:1}.tw-auto-inner{overflow:hidden;min-height:0;display:flex;flex-direction:column;gap:8px;font-size:12px;color:#a5b59d}.tw-step-field>span{padding-right:5px;color:#8fa58c}.tw-limits{display:grid;grid-template-columns:1fr 1fr;gap:10px}.tw-limits label{display:flex;flex-direction:column;gap:7px;font-size:11px}.tw-limits .rt-limit{height:44px}#towers-game[data-speed=instant] .tw-tile{transition:none}
@media(min-width:1001px){#towers-view{width:calc(970px * var(--tw-scale,1));height:calc(656px * var(--tw-scale,1))}#towers-game{width:970px;transform:scale(var(--tw-scale,1));transform-origin:top left}}
@media(max-width:1000px){.tw-stage,#towers-view{width:100%;min-width:0}#towers-game{height:auto;width:100%;grid-template-columns:minmax(0,1fr);border-radius:12px}#towers-game .tw-playfield{order:-1;padding:12px}.tw-board{max-width:560px;padding:22px 0 20px;gap:8px}.tw-floor{grid-template-columns:16px minmax(0,1fr) 57px;gap:8px}.tw-tiles{gap:6px}.tw-tile{height:42px;border-radius:7px}.tw-tile img{width:27px;height:27px}.tw-floor .tw-multi{font-size:10px;padding:7px 2px}#towers-game .rt-controls{padding:18px;min-height:0}.tw-actions{order:-1;margin:0 0 10px}.tw-actions:has(#tw-preview:not([hidden])){order:0;margin-top:18px}#tw-result{width:150px;max-width:48%}.tw-heading h1{font-size:25px}}
.tw-auto-counts{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px}.tw-auto-counts>div{display:flex;flex-direction:column;gap:7px;min-width:0}.tw-auto-counts label{font-size:11px}.tw-auto-counts .rt-count-field{padding:6px;gap:3px}.tw-auto-counts .rt-count-field button{width:30px;height:30px}.tw-auto-counts .rt-count-field input{font-size:14px}#tw-difficulty{font-family:inherit;font-size:14px;font-weight:500}
@media(prefers-reduced-motion:reduce){.tw-tile,#tw-auto-fields{transition:none}}
