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

.ve-game{background:#f7fbfd;color:#173f52}.ve-small{font:.82rem/1.6 system-ui;color:#587582;margin:12px 0}.ve-blue{color:#287b9e}.ve-orange{color:#a57132}
.ve-console{padding:20px;border:1px solid #b7d5e2;border-radius:17px;background:#e7f2f6;text-align:center}.ve-console strong{display:block;font-size:2rem}.ve-console small{display:block}.ve-console p{margin:8px 0}
.ve-two,.ve-packets{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:16px 0}.ve-two>section,.ve-packets>section{min-width:0;border:1px solid #bed6e2;background:#edf5f8;border-radius:15px;padding:12px 8px;text-align:center}.ve-two small,.ve-two strong,.ve-packets b,.ve-packets span{display:block}.ve-two strong{font-size:1.6rem;margin:10px 0}.ve-two .ve-controls{justify-content:center;gap:5px}.ve-two .ve-controls button{padding:10px;min-width:44px}.ve-two h3{font-size:.95rem;margin:5px 0}.ve-packets b{font-size:1.2rem}.ve-packets span{font-size:.8rem;margin-top:10px}
.ve-trace{padding:12px 12px 12px 35px;border:1px solid #d1e0e9;background:#edf4f8;border-radius:14px}.ve-trace li{margin:7px 0;font-size:.9rem}
.ve-bins{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;margin:16px 0}.ve-bins section{border:1px solid #c3d9e3;background:#edf5f8;border-radius:13px;padding:8px 4px;min-width:0;text-align:center}.ve-bins button{font:inherit;font-size:.77rem;min-height:44px;max-width:100%;width:100%;padding:9px 2px;color:#26576d;background:#fff;border:1px solid #a5c6d6;border-radius:9px;cursor:pointer}.ve-bins section>div{min-height:70px;display:flex;gap:5px;flex-wrap:wrap;align-content:center;justify-content:center;margin:10px 0;font-size:.8rem}.ve-bins strong{padding:5px;background:#c6e2d4;border-radius:6px}.ve-bins small{font-size:.73rem}
.ve-couples{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin:13px 0}.ve-couples button{font:inherit;font-size:1rem;border:1px solid #b1ccdc;border-radius:13px;padding:14px 9px;background:#fff;color:#264c60;min-height:50px;cursor:pointer}.ve-couples [aria-pressed=true]{background:#d8eddf;border-color:#629b7e}
.ve-calculation{display:flex;flex-direction:column;gap:8px;padding:16px;background:#e5f3ec;border:1px solid #c0dbce;border-radius:15px;font-size:.95rem}.ve-calculation strong{font-size:1.1rem}.ve-calculation small{font-size:.8rem}
.ve-angles{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin:15px 0}.ve-angles button{border:1px solid #b2ccda;border-radius:12px;min-height:46px;padding:10px 5px;font:inherit;background:white;color:#28566d;cursor:pointer;min-width:0}.ve-angles .ve-selected{background:#d5eaf2;border-color:#4d92af}
.ve-factories{display:grid;grid-template-columns:repeat(var(--ve-n),minmax(0,1fr));gap:7px;margin:15px 0}.ve-factories section{padding:11px 7px;min-width:0;border:1px solid #c6dce5;background:#edf6f9;border-radius:14px;text-align:center}.ve-factories strong{font-size:.9rem}.ve-factories p,.ve-factories span{font-size:.75rem;line-height:1.5;display:block}.ve-factories button{font:inherit;font-size:.76rem;color:#28536a;min-height:44px;max-width:100%;width:100%;border:1px solid #bdd4df;background:#fff;border-radius:10px;padding:9px 4px;margin-top:8px;cursor:pointer}.ve-factories .ve-selected{background:#d7eade;border-color:#62967c}
.ve-tokens{display:grid;grid-template-columns:repeat(10,minmax(0,1fr));gap:2px;margin:12px 0;min-height:20px}.ve-tokens i{height:7px;border-radius:2px;background:#cad8df}.ve-tokens .ve-pass{background:#63a58b}.ve-tokens .ve-fail{background:#d2dce2}.ve-tokens .ve-unknown{background:#b7c8d5}
.ve-game .ve-readout{font-size:1.15rem}.ve-game button:focus-visible{outline:3px solid #227cad;outline-offset:3px}
@media(max-width:360px){.ve-two{gap:6px}.ve-two .ve-controls button{padding:9px 7px}.ve-factories{grid-template-columns:1fr}.ve-factories .ve-tokens{grid-template-columns:repeat(20,minmax(0,1fr))}.ve-bins button{font-size:.7rem}.ve-bins small{font-size:.64rem}.ve-bins section{padding:8px 2px}}
@media(prefers-reduced-motion:reduce){.ve-game *{animation:none!important;transition:none!important}}
