/* Optional premium scenes. Scoped: no changes to cards, old adventures or help timers. */
.wz-game{box-sizing:border-box;width:100%;padding:16px;border:1px solid #d4e4ec;border-radius:22px;background:#f7fbfd;color:#173f52;min-width:0;overflow-wrap:anywhere;font:16px/1.55 system-ui,sans-serif}
.wz-game *{box-sizing:border-box}.wz-game h3{font-size:1.08rem;line-height:1.4;margin:1.25rem 0 .65rem;font-weight:650}
.wz-game .wz-grade{display:block;letter-spacing:.08em;font-size:.72rem;font-weight:700;color:#527887;margin-bottom:.8rem}
.wz-controls{display:flex;flex-wrap:wrap;gap:.55rem;margin:.8rem 0}.wz-controls button,.wz-bridge button,.wz-visitors button{font:inherit;font-size:.94rem;line-height:1.35;min-height:44px;border:1px solid #b9d4df;border-radius:12px;background:#fff;color:#24576d;padding:.65rem .8rem;cursor:pointer;max-width:100%}
.wz-controls button:hover,.wz-bridge button:hover{background:#e9f6fa}.wz-game button:focus-visible{outline:3px solid #267fc2;outline-offset:3px}.wz-game button:disabled{opacity:.5;cursor:default}
.wz-game .wz-selected{background:#dceff7;border-color:#267ea9;box-shadow:inset 0 0 0 1px #267ea9;color:#134764}
.wz-game .ex-primary{display:block;width:100%;margin-top:1rem;min-height:46px;max-width:100%;background:#217e9f;color:#fff;border:0;border-radius:14px;padding:.85rem}.wz-game .wz-note{color:#456774;background:#eaf4f7;border-radius:12px;padding:.8rem;font-size:.91rem;line-height:1.6;margin:1rem 0}.wz-game strong{font-family:inherit}.wz-game sup,.wz-game sub{font-size:.72em;line-height:0}
.wz-svg{display:block;width:100%;height:auto;max-height:350px;border-radius:16px;background:linear-gradient(#f3fafc,#fff);border:1px solid #d1e5eb;margin:.7rem 0}
.wz-svg text{font-family:inherit;font-size:19px;fill:#274f61}.wz-rail{stroke:#799da9;stroke-width:3}.wz-readout{display:block;font-size:1.4rem;line-height:1.35;font-weight:650;text-align:center;background:#edf7fa;border:1px solid #cee2e9;border-radius:14px;padding:.8rem;margin:.8rem 0;font-variant-numeric:tabular-nums}
.wz-demo p{font-size:1rem;line-height:1.65}.wz-recap{border-left:3px solid #8bb9c8;padding-left:1rem}.wz-recap p{margin:.8rem 0}
.wz-chocolate{display:grid;grid-template-columns:repeat(var(--wz-cells),1fr);gap:2px;min-height:75px;border:2px solid #755c4a;border-radius:10px;overflow:hidden;background:#fff5df;padding:3px}
.wz-chocolate span{border:1px solid #d4bba0;min-width:0}.wz-chocolate .wz-filled{background:#986444;border-color:#674a38}
.wz-balance{display:grid;grid-template-columns:1fr 1fr;gap:.8rem}.wz-balance section{padding:.65rem;background:#f1f7fa;border:1px solid #c5dfe8;border-radius:12px;min-width:0}.wz-balance h3{font-size:.88rem;margin:0 0 .7rem}
.wz-cargo{display:inline-grid;place-items:center;width:25px;height:26px;font-size:.85rem;border:1px solid #ba935c;background:#f7e7c9;border-radius:5px;margin:2px}.wz-unknown{background:#d7e9f4;border-color:#6ca2bc;font-weight:700}
.wz-voices{display:flex;justify-content:space-evenly;align-items:end;gap:.8rem;height:220px;padding:1rem .5rem 0;border-bottom:2px solid #bfd4df}.wz-voices>div{display:flex;flex-direction:column;justify-content:end;align-items:center;height:100%;flex:1;min-width:0}.wz-bar{width:100%;max-width:52px;height:var(--wz-bar);min-height:3px;background:linear-gradient(#65b6c5,#2c839f);border-radius:7px 7px 0 0;transition:height .45s ease}.wz-voices small{font-size:.7rem;white-space:nowrap}
.wz-bridge{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:5px;margin:1rem 0}.wz-bridge button{padding:.5rem .1rem;font-size:.8rem}.wz-visitors{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.55rem}.wz-visitors>div{background:#f0f7fa;border:1px solid #ccdee5;border-radius:12px;padding:.7rem .4rem;display:flex;flex-direction:column;align-items:center;gap:.5rem;text-align:center}.wz-visitors strong{font-size:1rem}.wz-visitors span{font-size:.85rem}.wz-visitors button{font-size:.78rem;padding:.4rem;min-height:44px;white-space:normal}.wz-visitors .wz-muted{background:#fafafa;color:#71828a}
.wz-zones{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.5rem}.wz-zones section{background:#f2f8fa;border:1px solid #c7dfe8;border-radius:10px;padding:.6rem .4rem;min-width:0}.wz-zones strong{display:block;min-height:3em;font-size:.82rem;text-align:center}.wz-zones .wz-controls{justify-content:center}.wz-zones button{flex:1;padding:.5rem;min-width:32px}
.wz-badges{display:flex;justify-content:center;gap:5px;flex-wrap:wrap}.wz-badges b{display:inline-grid;place-items:center;min-width:25px;height:25px;border-radius:6px;font-size:.85rem}.wz-badge-A{background:#d6eaf5;color:#1c5c7c}.wz-badge-B{background:#f7e2bf;color:#754b21}
.wz-laboratory{background:radial-gradient(ellipse at top,#e5f8f1,#eef4fb);padding:1.1rem;border-radius:18px;text-align:center}.wz-laboratory>strong{display:block;font-size:1.3rem}.wz-laboratory .wz-readout{background:#fff}.wz-exact{display:flex;flex-direction:column;gap:.5rem;padding:1rem;border-radius:14px;background:#f1f8fa;font-size:.95rem}
.wz-piece{animation:wz-piece-in .32s ease-out}.wz-train{animation:wz-vehicle-in .25s ease-out}@keyframes wz-piece-in{from{opacity:.45}to{opacity:1}}@keyframes wz-vehicle-in{from{opacity:.5}to{opacity:1}}
.wz-cabin-travel{animation:wz-travel 1.8s ease-in-out both}.wz-teleport{animation:wz-blink .7s ease-in-out}@keyframes wz-travel{from{offset-distance:0%}to{offset-distance:100%}}@keyframes wz-blink{0%,70%{opacity:0}100%{opacity:1}}
@media(max-width:360px){.wz-game{padding:10px}.wz-game .wz-grade{font-size:.66rem}.wz-controls button{font-size:.86rem;padding:.6rem}.wz-visitors{grid-template-columns:repeat(2,minmax(0,1fr))}.wz-readout{font-size:1.2rem}.wz-zones{gap:.35rem}.wz-zones section{padding:.45rem .25rem}.wz-zones strong{font-size:.75rem}.wz-bridge{grid-template-columns:repeat(5,minmax(0,1fr))}}
@media(prefers-reduced-motion:reduce){.wz-game *{animation:none!important;transition:none!important}}

/* Native optional scenes, scoped to this wave. No rules/answers in public CSS. */
.wz-table{width:100%;table-layout:fixed;border-collapse:separate;border-spacing:4px;margin:1rem 0;font-size:.95rem}.wz-table caption{text-align:left;font-size:.88rem;margin-bottom:10px;color:#4a6d7b}.wz-table th,.wz-table td{padding:10px 4px;background:#edf4f8;border:1px solid #c7dce6;border-radius:8px;text-align:center;overflow-wrap:normal}.wz-table th{font-size:.85rem}.wz-table th button{font:inherit;border:0;background:transparent;color:#245c75;padding:4px;min-height:44px;cursor:pointer;max-width:100%}.wz-table button[aria-pressed=true]{text-decoration:underline;text-underline-offset:4px;font-weight:750}.wz-table .wz-highlight{background:#f8df9f;border-color:#bd8d43;font-weight:700}
.wz-lanterns{display:flex;flex-direction:column;gap:16px}.wz-lanterns section{padding:12px;background:#e8f1f6;border:1px solid #c0d9e4;border-radius:15px}.wz-lanterns h3{margin:.3rem 0 .9rem;font-size:.98rem}.wz-timeline{display:flex;flex-wrap:wrap;gap:8px}.wz-timeline span{display:grid;place-items:center;min-width:36px;min-height:36px;padding:5px;background:#fff;border:1px solid #bfd3df;border-radius:50%;font-size:.85rem}.wz-timeline .wz-start{background:#e4e8eb;color:#647880}.wz-timeline .wz-shared{background:#e9d29c;color:#674f27}
.wz-robots{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:1rem 0}.wz-robots section{background:#e8f3f7;border:1px solid #c0dae5;border-radius:13px;text-align:center;padding:10px 5px;min-width:0}.wz-robots b{font-size:.78rem}.wz-robots section>div{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:2px;margin:.5rem 0;min-height:35px}.wz-robots i{font-style:normal;color:#487c9f;font-size:18px}.wz-robots small{font-size:.72rem}
.wz-map{position:relative;width:100%;aspect-ratio:1;margin:1rem 0;overflow:hidden;border-radius:16px;background:#eff6f8}.wz-map>.wz-svg{position:absolute;inset:0;width:100%;height:100%;margin:0}.wz-map-hits{position:absolute;inset:0;display:grid;grid-template-columns:repeat(9,minmax(0,1fr));grid-template-rows:repeat(9,minmax(0,1fr))}.wz-map-hits button{font:600 18px/1 system-ui,sans-serif;min-width:0;min-height:0;padding:0;border:0;border-radius:6px;background:transparent;color:#82a5b5;cursor:pointer;touch-action:manipulation}.wz-map-hits button:hover{background:#a8d6e72b}.wz-map-hits .wz-source{color:#265e79}.wz-map-hits .wz-destination{color:#9a6d2d;background:#efcf992c}.wz-map-hits button:focus-visible{outline-offset:-3px}
.wz-area-panels{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.wz-area-panels section{background:#e8f1f6;border:1px solid #bfd6e2;border-radius:13px;padding:12px 8px;text-align:center;display:flex;flex-direction:column;gap:12px;min-width:0}.wz-area-panels span{font-size:.8rem}.wz-area-panels b{font-size:.95rem}.wz-area-panels button{font:inherit;font-size:.85rem;min-height:44px;border:1px solid #b5d0de;background:#fff;border-radius:10px;color:#285b71;padding:8px;cursor:pointer}.wz-area-meter{margin:1rem 0;background:#edf5f8;padding:14px;border:1px solid #c6dce5;border-radius:14px;font-size:.9rem}.wz-area-meter>div{height:34px;border:2px solid #9ab9c9;margin:12px 0;border-radius:8px;overflow:hidden;background:#fff}.wz-area-meter i{display:block;width:var(--wz-fill);height:100%;background:#9ecdbd;transition:width .35s ease}
.wz-mirror-order{display:flex;flex-direction:column;gap:12px;padding:18px;border-radius:15px;border:1px solid #bcd5e1;background:linear-gradient(135deg,#e4f0f5,#eee5f5);font-size:1.05rem;text-align:center}.wz-fraction-bench{padding:16px;border-radius:15px;border:1px solid #bfd8e4;background:#e8f1f6;display:flex;flex-direction:column;gap:10px;font-size:.95rem}.wz-fraction-bench strong{font-size:1rem}
.wz-game math{font-size:1.18em}.wz-game .wz-controls math{min-width:35px}.wz-game .wz-controls button:has(math){min-width:58px}.wz-map .wz-svg text{font-size:17px}.wz-bus,.wz-skater{animation:wz-appear .25s ease-out}@keyframes wz-appear{from{opacity:.4}to{opacity:1}}
.wz-map-hits{grid-template-columns:repeat(5,minmax(0,1fr));grid-template-rows:repeat(5,minmax(0,1fr))}
.wz-table th{padding:4px}.wz-table th button{display:block;width:100%;border:1px solid #adcbdc;border-radius:8px;background:#fff;padding:6px 2px;min-height:44px}.wz-table button[aria-pressed=true]{background:#dceef7;box-shadow:inset 0 0 0 1px #2c7da3;text-decoration:none}.wz-mirror-order .wz-svg{margin:.3rem 0;background:#f7fbfd}
@media(max-width:360px){.wz-table{border-spacing:3px;font-size:.88rem}.wz-table th{font-size:.77rem}.wz-table th,.wz-table td{padding:7px 2px}.wz-robots{gap:5px}.wz-robots section{padding:8px 3px}.wz-robots b{font-size:.73rem}}
@media(prefers-reduced-motion:reduce){.wz-game *{animation:none!important;transition:none!important}}
