/* Two interactive MONARCH journeys. Shared shell, scoped scenery and controls. */
.game-logo-tower{background-image:url('assets/game-tower-v23.png')}.game-logo-heist{background-image:url('assets/game-heist-v23.png')}.game-logo-tower,.game-logo-heist{background-size:contain;background-position:center;background-repeat:no-repeat;animation:none;mix-blend-mode:normal}
[data-live="feature-tower"] .feature-copy h2,[data-live="feature-heist"] .feature-copy h2{font-size:clamp(37px,5.1vw,75px)}
.game-tower .table-wrap{background:radial-gradient(ellipse at 50% 35%,#30294f,transparent 80%),#141e30}.game-heist .table-wrap{background:radial-gradient(ellipse at 50% 38%,#37313e,transparent 80%),#13242e}.game-tower .table-wrap,.game-heist .table-wrap{min-width:0;box-shadow:inset 0 0 100px color-mix(in srgb,var(--table-color) 12%,transparent)}.game-tower .table-topline,.game-heist .table-topline{min-height:64px;height:auto}
.adventure-room{display:flex;flex-direction:column;align-items:center;padding:22px 28px 26px;min-width:0}.adventure-heading{text-align:center;margin:0 0 18px}.adventure-heading>span{display:block;font-size:9px;letter-spacing:.2em;color:#c2aedc;font-weight:700}.adventure-heading h2{font-size:34px;letter-spacing:-.04em;color:#f4f5fc;margin:9px 0 0;line-height:1.1}.heist-room .adventure-heading>span{color:#ebbbbd}.adventure-status{font-size:13px;line-height:1.5;text-align:center;color:#bbc6d6;margin:16px 0 0;min-height:20px}.adventure-controls{margin-top:25px}.adventure-main{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:53px;margin-top:23px;padding:15px 17px}.adventure-main b{font-size:20px;font-variant-numeric:tabular-nums;white-space:nowrap}.adventure-main span{font-size:15px}.adventure-side-status{font-size:12px;line-height:1.65;color:#b5c4d3;margin:16px 0 0}.adventure-controls button:disabled,.adventure-room button:disabled{cursor:default}.adventure-mobile-actions,.heist-mobile-tool{display:none}
.tower-modes{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.tower-modes button{border:1px solid #556280;background:#112433;border-radius:9px;color:#c4cada;font-size:11px;padding:13px 5px;transition:border-color .18s,background .18s;cursor:pointer}.tower-modes small{display:block;font-size:8px;white-space:nowrap;color:#a7b2c7;margin-top:7px}.tower-modes button.selected{background:#4b3c67;border-color:#cdb0fb;color:#fff}.tower-modes button:disabled{opacity:.5}.tower-modes button.selected:disabled{opacity:.85}
.tower-progress{width:min(100%,560px);display:flex;justify-content:space-between;gap:12px;font-size:10px;letter-spacing:.03em;color:#b8aed0;margin-bottom:10px}.tower-building{--floor-height:49px;width:min(100%,580px);padding:0 21px;position:relative;isolation:isolate}.tower-building:before,.tower-building:after{content:'';position:absolute;top:45px;bottom:14px;width:20px;background:repeating-linear-gradient(0deg,transparent 0 24px,#bbaaeb28 25px 26px),linear-gradient(90deg,#3d385e,#817098 48%,#393455);border:1px solid #ad96ca66;z-index:-1}.tower-building:before{left:0}.tower-building:after{right:0;transform:scaleX(-1)}.tower-roof{height:53px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;color:#e9c683;border:1px solid #a18cc566;border-bottom:3px solid #bda0c8;border-radius:45% 45% 0 0;background:linear-gradient(130deg,#43405f,#25213c);box-shadow:0 -6px 22px #a889ff12}.tower-roof>.icon{height:27px;width:32px}.tower-roof span{font-size:7px;letter-spacing:.3em}.tower-floors{border-left:2px solid #74678f;border-right:2px solid #74678f;box-shadow:0 10px 28px #080e2766}.tower-floor{height:var(--floor-height);display:grid;grid-template-columns:28px 1fr 60px;gap:9px;align-items:center;padding:0 10px;border-bottom:3px solid #4a435c;background:repeating-linear-gradient(90deg,transparent 0 54px,#86789113 55px 56px),linear-gradient(90deg,#24233b,#323046 48%,#222236);position:relative;transition:background .25s,border-color .25s}.tower-floor:before{content:'';position:absolute;inset:0;pointer-events:none;box-shadow:inset 0 3px 8px #0a0c2566}.tower-floor.is-current{background:linear-gradient(90deg,#413351,#50405f,#35283f);border-bottom-color:#dab47e;box-shadow:inset 3px 0 #e7c492,inset -3px 0 #e7c492}.tower-floor.is-cleared{background:linear-gradient(90deg,#263f46,#344752,#28333e)}.tower-floor.is-failed{border-bottom-color:#dc6588}.tower-floor-number{font-size:10px;letter-spacing:.08em;color:#8e89a1}.is-current .tower-floor-number{color:#ffe0ab}.tower-floor-return{font-size:11px;font-variant-numeric:tabular-nums;text-align:right;color:#b2a7c9;white-space:nowrap}.is-current .tower-floor-return{color:#ffe3af}.is-cleared .tower-floor-return{color:#96e7c1}.tower-floor-doors{height:100%;display:grid;grid-template-columns:repeat(var(--door-count),1fr);justify-items:center;gap:7px}.tower-door{background:none!important;border:0!important;border-radius:4px;position:relative;height:calc(var(--floor-height) - 3px);width:100%;max-width:68px;display:grid;place-items:center;padding:0!important;perspective:300px;overflow:visible;cursor:pointer;opacity:.48;transition:opacity .18s,filter .18s}.tower-door:not(:disabled){opacity:1}.tower-door:not(:disabled):hover{filter:brightness(1.2)}.tower-door-art{display:block;height:100%;width:100%;overflow:visible}.tower-door-leaf{transform-box:view-box;transform-origin:14px 38px;transform:rotateY(0deg);transition:transform .6s cubic-bezier(.2,.75,.3,1);backface-visibility:hidden}.tower-door.is-open .tower-door-leaf{transform:rotateY(-78deg)}.tower-door.is-open{opacity:.55}.tower-door.is-chosen{opacity:1;filter:drop-shadow(0 0 5px #b6a0f966)}.tower-door.is-trap.is-chosen{filter:drop-shadow(0 0 5px #ff6a8666)}.tower-door.is-unlocking{opacity:1;animation:towerUnlock23 .35s ease-in-out both}.tower-picked-dot{position:absolute;bottom:4px;width:4px;height:4px;background:#eae0ff;box-shadow:0 0 5px #d4b5ff;border-radius:50%}.tower-plinth{height:17px;margin:0 -12px;background:linear-gradient(#76647f,#3a334c);border-top:3px solid #bca5bf;border-radius:0 0 9px 9px;box-shadow:0 13px 20px #070d2166}
@keyframes towerUnlock23{0%,100%{filter:brightness(1)}50%{filter:brightness(1.6)}}
.heist-brief{display:flex;gap:11px;align-items:flex-start;padding:16px 12px;border:1px solid #66778055;border-radius:11px;background:#11232e}.heist-brief>span{color:#e6bb8e}.heist-brief b{font-size:12px;color:#edf1f5}.heist-brief p{font-size:11px;line-height:1.6;color:#aebecd;margin:7px 0 0}.heist-tool{display:flex;width:100%;align-items:center;gap:10px;text-align:left;padding:14px 11px;border:1px solid #bfa76a66;border-radius:10px;background:#14252f;color:#e6c792;margin-top:16px;cursor:pointer;transition:background .2s,border-color .2s}.heist-tool>span{flex:1;min-width:0}.heist-tool .icon{width:18px;height:18px;flex-shrink:0}.heist-tool b{font-size:12px;display:block}.heist-tool small{display:block;font-size:9px;line-height:1.6;color:#b5c4cf;margin-top:5px}.heist-tool.is-armed{border-color:#9eecc0;background:#23473c;color:#b2ffd1}.heist-tool:disabled{opacity:.42}.heist-tool-note{font-size:10px;color:#b5d2c8;line-height:1.55;margin:9px 0 0}.heist-journey-heading{display:flex;justify-content:space-between;width:min(100%,720px);font-size:9px;letter-spacing:.1em;color:#d4bdba;margin:1px 0 10px}.heist-journey-heading>span+span{color:#94aebc;letter-spacing:0}.heist-floorplan{display:block;width:min(100%,720px);height:auto;filter:drop-shadow(0 8px 16px #030e1744);margin-bottom:18px}.heist-runner{transform-box:view-box;transform-origin:0 0}.heist-room-choices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;width:min(100%,620px)}.heist-room-choice{display:flex;flex-direction:column;align-items:center;position:relative;min-width:0;padding:13px 15px 12px;background:radial-gradient(ellipse at 50% 50%,color-mix(in srgb,var(--room-color) 12%,#11222d),#11222d);border:1px solid color-mix(in srgb,var(--room-color) 35%,#203443);border-radius:16px;color:#e9f1f5;cursor:pointer;transition:border-color .2s,box-shadow .2s}.heist-room-choice:not(:disabled):hover{border-color:var(--room-color);box-shadow:0 0 22px color-mix(in srgb,var(--room-color) 10%,transparent)}.heist-room-choice:disabled{cursor:default;opacity:.7}.heist-room-choice.is-selected{border-color:#f6dca4;opacity:1}.heist-room-choice.is-caught{border-color:#ff698d;opacity:1}.heist-choice-title{align-self:stretch;text-align:left}.heist-choice-title span{display:block;font-size:8px;color:#a9bdc9;letter-spacing:.04em}.heist-choice-title b{font-size:18px;display:block;margin-top:4px;color:#f4f6f9;letter-spacing:-.02em}.heist-vault-art{display:block;width:min(100%,230px);height:auto;overflow:visible;margin:-3px auto -6px;perspective:500px}.heist-vault-leaf{transform-box:view-box;transform-origin:52px 110px;transition:transform .6s cubic-bezier(.2,.75,.3,1);backface-visibility:hidden}.heist-vault-art.has-result .heist-vault-leaf{transform:rotateY(-78deg)}.heist-handle{transform-box:view-box;transform-origin:112px 110px}.is-opening .heist-handle{animation:heistHandle23 .6s ease-out both}.heist-security-light{filter:drop-shadow(0 0 4px #82eecc88)}.is-alarmed .heist-security-light{filter:drop-shadow(0 0 6px #ff648b);animation:heistAlarm23 .6s ease-in-out 2}.heist-choice-bottom{display:flex;align-items:center;justify-content:space-between;width:100%;border-top:1px solid #ffffff0c;padding-top:9px;gap:5px}.heist-choice-bottom>span{font-size:10px;color:var(--room-color)}.heist-choice-bottom strong{display:flex;align-items:center;gap:8px;color:#a5ffbd;font-size:20px;font-variant-numeric:tabular-nums}.heist-choice-bottom .icon{width:15px;height:15px}.game-tower .game-hint,.game-heist .game-hint{font-size:12px;line-height:1.7}
@keyframes heistHandle23{from{transform:rotate(0deg)}to{transform:rotate(90deg)}}@keyframes heistAlarm23{0%,100%{opacity:1}50%{opacity:.45}}
@media(min-width:761px) and (max-height:850px){.adventure-room{padding-top:16px;padding-bottom:18px}.adventure-heading{margin-bottom:12px}.adventure-heading h2{font-size:29px}.tower-building{--floor-height:42px;max-width:540px}.tower-roof{height:43px}.heist-floorplan{max-width:620px;margin-bottom:12px}.heist-vault-art{max-width:175px}.heist-room-choices{max-width:540px}.adventure-status{margin-top:12px}}
@media(max-width:1120px) and (min-width:761px){.adventure-room{padding-left:17px;padding-right:17px}.tower-building{padding:0 13px}.tower-building:before,.tower-building:after{width:12px}.tower-floor{grid-template-columns:19px 1fr 54px;gap:5px;padding:0 7px}.tower-floor-return{font-size:10px}.tower-modes{grid-template-columns:1fr;gap:5px}.tower-modes button{display:flex;align-items:center;justify-content:space-between;padding:10px}.tower-modes small{margin:0}.heist-choice-title b{font-size:16px}.heist-room-choice{padding:12px 9px}.heist-tool{flex-wrap:wrap}}
@media(max-width:760px){.game-tower .bet-panel,.game-heist .bet-panel{display:block;padding:20px}.game-tower .game-hint,.game-heist .game-hint,.game-tower .bet-panel-bottom,.game-heist .bet-panel-bottom{display:none}.adventure-room{padding:20px 12px 18px}.adventure-heading h2{font-size:29px}.adventure-heading>span{font-size:8px}.tower-progress{font-size:8px;gap:5px}.tower-building{--floor-height:43px;padding:0 10px}.tower-building:before,.tower-building:after{width:9px}.tower-floor{grid-template-columns:16px 1fr 48px;gap:4px;padding:0 4px}.tower-floor-return{font-size:9px}.tower-floor-number{font-size:8px}.tower-floor-doors{gap:3px}.tower-roof{height:42px}.tower-roof span{font-size:6px}.tower-roof>.icon{height:23px}.tower-modes small{font-size:9px}.tower-modes button{font-size:12px}.adventure-controls{margin-top:18px}.adventure-side-status{margin-top:11px}.adventure-mobile-actions{display:block;width:100%;position:sticky;bottom:10px;z-index:5;padding:7px;border:1px solid #82999b44;background:#142733eb;backdrop-filter:blur(10px);border-radius:13px;margin-top:15px}.adventure-mobile-actions .adventure-main{margin:0;min-height:49px}.game-tower .table-wrap,.game-heist .table-wrap{scroll-margin-top:100px}.heist-brief{display:none}.heist-controls .heist-tool{display:none}.heist-room-choices{gap:9px}.heist-room-choice{padding:12px 7px 10px;border-radius:12px}.heist-choice-title b{font-size:15px}.heist-choice-title span{font-size:7px}.heist-choice-bottom{gap:2px}.heist-choice-bottom strong{font-size:16px;gap:3px}.heist-choice-bottom>span{font-size:9px}.heist-choice-bottom .icon{width:12px}.heist-floorplan{margin-bottom:14px}.heist-journey-heading{font-size:8px;letter-spacing:.04em}.heist-mobile-tool{display:block;width:100%}.heist-mobile-tool .heist-tool{margin-top:14px}.heist-tool{padding:12px}.adventure-status{font-size:11px}.heist-tool small{font-size:10px}.game-heist .bet-panel .heist-tool,.game-heist .bet-panel .heist-tool-note{display:none}[data-live="feature-tower"] .feature-copy h2,[data-live="feature-heist"] .feature-copy h2{font-size:clamp(30px,8.7vw,50px)}}
@media(prefers-reduced-motion:reduce){.adventure-room *,.adventure-controls *{animation:none!important;transition:none!important}.heist-security-light{filter:none}}

/* Keep door artwork inside its floor despite the shared responsive SVG rule. */
.tower-room .tower-door>svg.tower-door-art{height:100%;max-height:100%;width:100%;min-height:0}.tower-room .tower-door{align-items:stretch}.tower-room .tower-floor{isolation:isolate}.tower-room .tower-door-art{overflow:hidden}

.game-logo-tower{background-size:88%}.game-logo-heist{background-size:90%}.heist-journey-heading b{color:#a5ffbd;font-size:13px;font-variant-numeric:tabular-nums}
