/* First Heist: a short, readable loop built around a visible mutation. */
.challenge-entry{display:flex;justify-content:flex-end;margin:4px 0 16px}.arcade-description{max-width:460px}.heist-mode .battle-sidebar .remix-panel{display:none}.heist-mode .battle-coach{margin-bottom:7px}.heist-proof{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:0 0 12px;padding:8px 12px;border:1px solid #654172;border-radius:6px;background:#171125}.heist-chapters{display:flex;align-items:center;gap:6px}.heist-chapters>span{width:23px;height:23px;border:1px solid #70547f;display:grid;place-items:center;border-radius:50%;font:10px monospace;color:#8b7f9e}.heist-chapters .current{background:#ff77c9;color:#1c1124;border-color:#ff77c9;box-shadow:0 0 14px #f765b74d}.heist-chapters .done{border-color:#8bf6d1;color:#8bf6d1}.heist-chapters>b{font:11px monospace;color:#d3bfdc;margin-left:8px}.mutation-proof{display:flex;flex-direction:column;gap:3px;text-align:right;font:8px monospace;color:#b2a2bc}.mutation-proof strong{font:700 18px var(--heading);color:#edd9fc}.mutation-proof.activated strong{color:#a0ffe2}.mutation-proof.activated{color:#a0ffe2}.heist-opening{position:absolute;inset:0;z-index:9;display:flex;align-items:center;justify-content:center;flex-direction:column;padding:20px;background:radial-gradient(ellipse at center,#1a1235dd,#091325e8);backdrop-filter:blur(2px);text-align:center}.heist-opening[hidden]{display:none}.heist-opening>small{font:9px monospace;color:#82fce7;letter-spacing:1.5px}.heist-opening h2{font:900 italic 36px/1 var(--heading);margin:12px 0 18px;color:#fff}.heist-opening>div{display:grid;grid-template-columns:1fr 1fr;gap:12px;width:min(500px,95%)}.heist-opening button{display:flex;align-items:center;flex-direction:column;gap:7px;padding:16px 10px;border:1px solid #9f77c5;border-radius:9px;background:linear-gradient(135deg,#40305d,#131d2d);color:#fff;cursor:pointer}.heist-opening button:last-child{border-color:#75dddf;background:linear-gradient(135deg,#193948,#1c1935)}.heist-opening button:hover{box-shadow:0 0 20px #b670ec66;border-color:#e0aaff}.heist-opening button:disabled{opacity:.5;cursor:wait}.opening-symbol{font:34px/1 monospace;color:#ff83d0}.heist-opening button b{font:800 italic 28px var(--heading)}.heist-opening button>span:not(.opening-symbol){font-size:12px}.heist-opening button small{font:8px monospace;color:#bfb0ce}.heist-opening>p{font-size:11px;color:#c8b6d7;line-height:1.4;margin:14px 0 0}.heist-undeployed .pad-layer,.heist-undeployed .build-dock,.heist-undeployed .battle-bottom,.heist-undeployed .wave-preview,.heist-undeployed .mobile-tactics{visibility:hidden}.heist-undeployed .arena-caption{display:none}.heist-mode .overdrive-card{display:none}.heist-mode .build-dock{grid-template-columns:repeat(4,1fr)}.heist-mode .hero-rank,.heist-mode .blip-console [data-action="training"]{display:none}.heist-mode .arena-caption{max-width:90%;font-size:8px}
.heist-power-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-top:22px}.heist-power-option{display:flex;flex-direction:column;align-items:flex-start;gap:11px;padding:18px;background:radial-gradient(ellipse at top,#532b2c77,#151324 70%);border:1px solid #ffad5f;border-radius:10px;text-align:left;color:#fff;cursor:pointer}.heist-power-option.fork{background:radial-gradient(ellipse at top,#59327777,#131424 70%);border-color:#c58aff}.heist-power-option>.spell-art{width:120px;align-self:center}.heist-power-option>small{font:10px monospace;color:#ffb277}.heist-power-option.fork>small{color:#cfa3ff}.heist-power-option>b{font:800 italic 32px/1 var(--heading);color:#ffc28c}.heist-power-option.fork>b{color:#d9b9ff}.heist-power-option>span:not(.spell-art){font-size:13px;line-height:1.5}.heist-power-option>em{font-size:11px;color:#c6b8d4;line-height:1.5;font-style:normal;min-height:34px}.heist-power-option>strong{font:10px monospace;margin-top:auto;padding-top:13px;border-top:1px solid #755369;width:100%;color:#ffe5bc}.heist-power-option:hover{transform:translateY(-2px);box-shadow:0 0 24px #ac7dd526}dialog:has(.heist-power-pick){width:min(760px,94vw);max-width:760px}
dialog:has(.compact-result){width:min(690px,94vw);max-width:690px}.compact-result{padding:24px!important}.compact-result h2{font:900 italic 35px/.98 var(--heading);margin:14px 0;color:#f9efff}.result-cause{padding:12px 14px;background:#311a30;border-left:3px solid #ff7abf;border-radius:4px}.result-cause>b{font-size:15px;color:#fff1fb}.result-cause>p{font-size:12px;line-height:1.45;margin:6px 0 0;color:#d3c1dc}.result-next{padding:13px 2px 12px;display:flex;flex-direction:column;gap:5px}.result-next>small{font:8px monospace;letter-spacing:1px;color:#90ead7}.result-next>b{font:700 22px/1.1 var(--heading);color:#e0f8f0}.result-next>p{font-size:12px;line-height:1.4;margin:0;color:#c8bbd3}.result-primary-actions{display:grid;grid-template-columns:1.3fr 1fr;gap:10px}.result-primary-actions>button{min-height:46px;padding:12px;font-size:12px}.secured-power{font:10px monospace;line-height:1.5;color:#a4f5d9;padding:12px 2px 0}.compact-result .compact-collection{margin:20px 0 12px;padding:12px;border-color:#718a6e66}.compact-collection h3{font-size:21px;margin:4px 0}.compact-collection>.discovery-cards{gap:6px;margin-top:8px;overflow:hidden}.compact-collection .discovery-cards>div{min-width:0;flex:1;padding:5px}.compact-collection .creature-sprite{width:55px;height:45px}.compact-collection .discovery-cards b{font-size:14px}.compact-collection .text-button{font-size:11px;margin-top:8px}.result-details{font-size:11px;color:#c3b1d1;padding:6px 0}.result-details>summary{cursor:pointer;color:#a9d9d2}.result-details p{font-size:11px;line-height:1.5}.compact-result .modal-top .icon-button{width:30px;height:30px}.compact-result .modal-top{gap:10px}
@media(max-width:900px){.heist-proof{margin-bottom:8px}.heist-chapters>b{display:none}.heist-mode .battle-sidebar .blip-console{margin-bottom:8px}.heist-mode .battle-coach .coach-copy>span{font-size:11px}.heist-power-option>.spell-art{width:95px}.heist-power-option>b{font-size:27px}}
@media(max-width:600px){.heist-opening{padding:10px}.heist-opening h2{font-size:24px;margin:7px 0 10px}.heist-opening>small{font-size:7px}.heist-opening>div{gap:8px;width:100%}.heist-opening button{padding:9px 5px;gap:5px}.heist-opening button b{font-size:21px}.heist-opening .opening-symbol{font-size:22px}.heist-opening button>span:not(.opening-symbol){font-size:10px}.heist-opening button small{font-size:6px}.heist-opening>p{font-size:8px;margin-top:8px}.heist-proof{padding:7px;gap:4px}.heist-chapters{gap:4px}.heist-chapters>span{height:20px;width:20px;font-size:9px}.mutation-proof{max-width:195px;font-size:6px}.mutation-proof strong{font-size:16px}.heist-power-grid{gap:10px;margin-top:14px}.heist-power-option{padding:10px;gap:8px}.heist-power-option>.spell-art{width:85px}.heist-power-option>b{font-size:24px}.heist-power-option>span:not(.spell-art){font-size:11px}.heist-power-option>em{font-size:9px}.heist-power-option>strong{font-size:8px;line-height:1.4}.heist-power-pick h2{font-size:29px}.heist-power-pick>p{font-size:12px}.heist-power-pick{padding:20px 15px!important}.compact-result{padding:18px!important}.compact-result h2{font-size:29px}.result-cause>b{font-size:14px}.result-cause>p,.result-next>p{font-size:11px}.result-next>b{font-size:21px}.result-primary-actions{grid-template-columns:1fr 1fr;gap:8px}.result-primary-actions>button{font-size:11px;padding:10px;min-height:47px}.compact-collection h3{font-size:18px}.compact-result .compact-collection{margin-top:16px}.challenge-entry{justify-content:flex-start}.challenge-entry button{text-align:left;font-size:11px}}
@media(prefers-reduced-motion:reduce){.heist-power-option:hover{transform:none}}

.heist-opening{justify-content:flex-end;backdrop-filter:none;background:linear-gradient(180deg,#0c14230a 20%,#0b11221f 48%,#111329ef 74%);padding:14px}.heist-opening h2{font-size:27px;margin:7px 0 12px}.heist-opening button{padding:10px 8px;gap:5px}.heist-opening button b{font-size:25px}.heist-opening .opening-symbol{font:700 11px monospace;background:#db91ff;color:#1b1028;border-radius:50%;width:20px;height:20px;display:grid;place-items:center}.opening-ghost{position:absolute;transform:translate(-50%,-65%);width:62px;height:62px;pointer-events:none;display:grid;place-items:center}.opening-ghost .tower-art{width:62px;height:62px;opacity:.8;filter:drop-shadow(0 0 8px #d598ff)}.opening-ghost>b{position:absolute;bottom:0;right:0;background:#e0a2ff;color:#24182b;display:grid;place-items:center;border-radius:50%;width:20px;height:20px;font:700 10px monospace;border:1px solid #ffe6ff}.opening-ghost.rear .tower-art{filter:drop-shadow(0 0 8px #61ffe1)}.opening-ghost.rear>b{background:#7dffed}.heist-opening>p{margin-top:9px}@media(max-width:600px){.heist-opening{padding:7px}.heist-opening h2{font-size:20px;margin:5px 0}.heist-opening>small{display:none}.heist-opening button{padding:5px;gap:3px}.heist-opening button b{font-size:18px}.heist-opening button small{font-size:6px}.heist-opening .opening-symbol{font-size:8px;width:15px;height:15px}.opening-ghost{width:40px;height:40px}.opening-ghost .tower-art{width:40px;height:40px}.opening-ghost>b{width:14px;height:14px;font-size:8px}.heist-opening>p{font-size:7px;margin:5px 0 0}}

.mutation-lightning{width:120px;height:120px;display:grid;place-items:center;align-self:center;font:110px/.9 Georgia;color:#b8faff;text-shadow:0 0 6px #fff,0 0 20px #9d5bff,0 0 40px #bc61ff;background:radial-gradient(ellipse,#6e30ae6b,transparent 70%)}@media(min-width:901px){.heist-mode.showcase-mode .app-shell{max-width:min(1320px,calc((100dvh - 350px)*1.6 + 300px))}.heist-mode .heist-proof{padding:5px 9px;margin-bottom:8px}.heist-mode .heist-chapters>span{width:20px;height:20px}.heist-mode .mutation-proof strong{font-size:16px}.heist-mode .heist-chapters>b{font-size:10px}.heist-mode .battle-coach{min-height:50px}.heist-mode .battle-coach .coach-copy>b{font-size:18px}.heist-mode .battle-coach .coach-copy>span{font-size:10px}.heist-mode .tower-card{min-height:59px}.heist-mode .quick-evolve{padding:7px 10px}.heist-mode .quick-evolve b{font-size:19px}}@media(max-width:600px){.mutation-lightning{width:85px;height:85px;font-size:80px}}

.suggested-mutation{border-width:2px;box-shadow:0 0 24px #a4f9d935}.compact-result .result-cause .stars{display:block;font-size:20px;margin-bottom:7px}
.heist-power-option>span.mutation-lightning{font:110px/1 Georgia}.heist-opening h2{text-shadow:0 2px 12px #000}.opening-ghost{isolation:isolate}@media(max-width:600px){.heist-power-option>span.mutation-lightning{font-size:80px}}
