#communityPage .tower-panel{padding:14px;min-width:0;box-sizing:border-box}
#communityPage .tower-panel select{box-sizing:border-box;width:100%;min-height:36px;margin:0 0 10px;padding:7px 9px;background:#0b1725;color:#dce7f5;border:1px solid #344d65;border-radius:7px;font:12px Arial,sans-serif;color-scheme:dark}
#communityPage .tower-panel select:focus-visible{outline:2px solid #8dc6fa;outline-offset:2px}
#communityPage .tower-panel .keno-controls button:disabled,#communityPage .tower-panel select:disabled{opacity:.45;cursor:default}
#communityPage .tower-panel [data-tower-result]{font-size:12px;line-height:1.5;min-height:44px;color:#b5d8ef}
#communityPage .tower-panel .tower-cashout{width:100%;margin-top:8px;background:#225b4c;border-color:#4b9e80;color:#d3ffed;font-weight:700}
#communityPage .tower-board{min-width:0;padding:10px 12px 12px;background:radial-gradient(ellipse at center,#183247,#0c1929);border:1px solid #38516a;border-radius:12px;box-sizing:border-box}
#communityPage .tower-crown{text-align:center;font-size:28px;line-height:1.2;color:#92bedb;margin-bottom:8px}
#communityPage .tower-floors{max-width:540px;margin:auto;display:flex;flex-direction:column;gap:6px}
#communityPage .tower-floor{display:grid;grid-template-columns:17px repeat(4,minmax(0,1fr)) 57px;gap:6px;align-items:center;padding:3px;border:1px solid transparent;border-radius:8px}
#communityPage .tower-floor-number{font-size:10px;text-align:center;color:#7f9bb2}
#communityPage .tower-floor>small{font-size:10px;color:#9ab6ce;text-align:right;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
#communityPage .tower-floor>button{display:flex;align-items:center;justify-content:center;width:100%;height:43px;min-height:0;padding:3px;background:linear-gradient(#203b52,#162a3f);border:1px solid #3b536b;border-bottom-width:3px;color:#6e8da7;border-radius:6px}
#communityPage .tower-floor>button svg{width:33px;height:33px;pointer-events:none}
#communityPage .tower-floor>button:hover:not(:disabled){background:#315672;border-color:#8bbdde}
#communityPage .tower-floor>button:disabled{cursor:default}
#communityPage .tower-current{border-color:#6cafd5;background:#2b59722b;box-shadow:0 0 10px #5095c622}
#communityPage .tower-current>.tower-floor-number,#communityPage .tower-current>small{color:#b9e8ff}
#communityPage .tower-floor>button.tower-safe{background:#245a4a;border-color:#73ceaa}
#communityPage .tower-floor>button.tower-trap{background:#38263a;border-color:#785168}
#communityPage .tower-floor>button.tower-hit{background:#6d2d4a;border-color:#ff9fc4}
#communityPage .tower-floor>button.tower-revealed svg{opacity:.25}
#communityPage .tower-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin-top:12px}
#communityPage .tower-stats>div{min-width:0;padding:8px;background:#162d41;border:1px solid #2e465e;border-radius:7px}
#communityPage .tower-stats small{display:block;font-size:10px;color:#9eb9ce;margin-bottom:5px}
#communityPage .tower-stats strong{display:block;font-size:13px;color:#e1effa;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}
#communityPage .tower-board>.keno-note{margin:10px 0 0}
@media(max-width:600px){#communityPage .gambling-game-tabs{grid-template-columns:repeat(4,minmax(0,1fr))}#communityPage .gambling-game-tabs>button{padding:7px 5px;font-size:11px}#communityPage .tower-panel{padding:10px}#communityPage .tower-panel .keno-controls label[for=towerRisk798]{grid-column:1;grid-row:3;align-self:end;margin:0}#communityPage .tower-panel #towerRisk798{grid-column:1;grid-row:4;margin:0}#communityPage .tower-panel [data-tower-start]{grid-column:2;grid-row:2}#communityPage .tower-panel .tower-cashout{grid-column:2;grid-row:4;margin:0}#communityPage .tower-panel [data-tower-result]{grid-column:1/-1;min-height:0;margin:0}#communityPage .tower-board{padding:8px 6px}#communityPage .tower-floor{grid-template-columns:12px repeat(4,minmax(0,1fr)) 45px;gap:4px;padding:2px}#communityPage .tower-floor>small{font-size:9px}#communityPage .tower-floor>button{height:36px}#communityPage .tower-floor>button svg{width:27px;height:27px}#communityPage .tower-stats{gap:5px}#communityPage .tower-stats>div{padding:7px 5px}#communityPage .tower-stats strong{font-size:11px}}
