.tower-page{padding-top:32px}.tower-layout{display:grid;grid-template-columns:1fr 1fr;gap:30px;align-items:start}.tower-history-tabs,.tower-mode{display:flex;gap:9px;margin-bottom:20px}.tower-history-tabs button,.tower-mode button{flex:1;height:45px;border:0;border-radius:12px;background:#25282e;color:#9199a7;font-size:13px;font-weight:800}.tower-history-tabs button.selected,.tower-mode button.selected{background:#5d5550;color:#fff6ef}.tower-history-scroll{overflow:auto}.tower-history table{width:100%;border-collapse:separate;border-spacing:0 9px;table-layout:fixed}.tower-history th{color:#8992a2;font-size:12px;text-align:left;padding:10px 12px;font-weight:700}.tower-history td{padding:18px 12px;background:#272422;font-size:13px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tower-history td:first-child{border-radius:12px 0 0 12px;color:#fddbc2;width:30%}.tower-history th:first-child{width:30%}.tower-history td:last-child,.tower-history th:last-child{width:12%;text-align:right}.tower-history td:last-child{border-radius:0 12px 12px 0;color:#a39992}.tower-history td:nth-child(3){color:#87d4bc}.tower-history .tower-empty td{border-radius:12px;text-align:center;color:#968b84;white-space:normal;line-height:1.5}.tower-floors{display:flex;flex-direction:column-reverse;gap:8px;padding:14px;border:1px solid #3a3531;background:#1e1c1a;border-radius:18px}.tower-floor{display:grid;grid-template-columns:27px repeat(2,minmax(0,1fr));gap:8px;align-items:center}.tower-floor-label{font-size:11px;color:#796f67;text-align:center}.tower-tile{height:49px;border:1px solid #3e3834;border-radius:11px;background:linear-gradient(145deg,#35312e,#2e2a28);color:#958a82;font-size:13px;font-weight:800;display:flex;align-items:center;justify-content:center;gap:7px;transition:background .15s,transform .15s}.tower-tile svg{width:16px;height:16px}.tower-tile:disabled{cursor:default}.tower-floor.current .tower-tile{border-color:#8c8179;color:#fee1cd;background:#4e4843}.tower-floor.current .tower-floor-label{color:#fdc7a1}.tower-tile:not(:disabled):hover{background:#69605a;transform:translateY(-1px)}.tower-tile.safe{background:#453f3a;border-color:#665d57;color:#a5ebd2}.tower-tile.broken{background:#502636;border-color:#a44664;color:#f29cb5}.tower-floor.hard{grid-template-columns:27px repeat(3,minmax(0,1fr))}.tower-controls{margin-top:14px;padding:18px 20px;background:#262321;border:1px solid #3b3633;border-radius:16px}.tower-step{display:flex;align-items:center;gap:12px;font-size:12px;color:#a69d96;margin-bottom:20px}.tower-step strong{color:#fcece1}.tower-step>span:last-child{margin-left:auto;color:#fdcaa5;font-weight:800}.tower-controls .setting-label{display:block}.tower-controls .bet-shortcuts{margin-bottom:16px}.tower-actions{display:flex;gap:9px}.tower-actions button{flex:1;height:47px}.tower-cashout{border:1px solid #6b625b;border-radius:12px;background:#49433e;color:#feecdf;font-weight:900;font-size:14px}.tower-cashout:disabled{background:#312c29;color:#81756d;border-color:#413c38;cursor:default}.tower-caption{margin:14px 0 0;text-align:center;font-size:12px;line-height:1.5;color:#9e958e}.tower-page button:focus-visible{outline:2px solid #fcc59e;outline-offset:3px}.tower-page .footer{margin-top:42px}
@media(max-width:900px){.tower-layout{gap:18px}.tower-history td,.tower-history th{padding-left:8px;padding-right:8px;font-size:12px}}
@media(max-width:760px){.tower-page{padding-top:23px}.tower-layout{grid-template-columns:1fr;gap:25px}.tower-game{grid-row:1}.tower-history-tabs button,.tower-mode button{height:44px}.tower-floors{padding:10px;gap:7px}.tower-tile{height:43px;font-size:12px}.tower-controls{padding:17px}.tower-history td{padding-top:16px;padding-bottom:16px}.tower-history-tabs{margin-bottom:8px}}
.tower-floor{grid-template-columns:repeat(2,minmax(0,1fr))}
.tower-floor.hard{grid-template-columns:repeat(3,minmax(0,1fr))}
.tower-tile{padding:0 8px;line-height:1;font-variant-numeric:tabular-nums;text-align:center}

/* Completed floors: warm orange marker, without a glow. */
.tower-page .tower-floor .tower-tile.safe{background:#65432b;border:2px solid #ff922f;color:#ffe1b8;box-shadow:none;font-weight:900}
.tower-page .tower-floor .tower-tile.safe::before{content:'';display:block;width:8px;height:13px;border:solid #ffac59;border-width:0 2px 2px 0;transform:rotate(45deg);margin-right:4px;margin-top:-4px;flex:none}
