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