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

.vd-game{color:#173f52;background:#f7fbfd}.vd-game .vd-small{font:.8rem/1.55 system-ui;color:#52717f;margin:10px 0}.vd-game .vd-good{color:#246e54}.vd-game .vd-warning{color:#9a542c}
.vd-placegrid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:3px;margin:18px 0}.vd-placegrid section{border:1px solid #bfd6df;background:#edf5f7;border-radius:9px;text-align:center;min-width:0;padding:8px 2px}.vd-placegrid small{font-size:.66rem;display:block;white-space:nowrap}.vd-placegrid strong{font-size:1.8rem;display:block}.vd-placegrid .vd-unit{border:2px solid #2a88aa;background:#e0f1f7}
.vd-mini-grid{display:grid;grid-template-columns:repeat(10,1fr);gap:1px;width:180px;height:180px;max-width:100%;margin:14px auto;background:#7da69a;border:2px solid #528c7a}.vd-mini-grid i{background:#c6e2d7}
.vd-file{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:8px;padding:13px;border:1px solid #c6dce5;border-radius:13px;background:#edf6f8;margin:13px 0;min-height:54px}.vd-file strong{font-size:1rem}
.vd-labels,.vd-products{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin:15px 0}.vd-labels>section{padding:12px 8px;background:#eef5f8;border:1px solid #c3d9e1;border-radius:14px;min-width:0}.vd-labels>section>strong{display:block;font-size:1.4rem;text-align:center}.vd-labels .vd-controls button{flex:1 1 80px;font-size:.8rem;padding:9px 5px}.vd-products>button{background:#e5f0f5;border:1px solid #aacbd8;border-radius:13px;padding:12px 8px;min-height:74px;color:#254e63;cursor:pointer;min-width:0}.vd-products small,.vd-products strong{display:block;line-height:1.5}.vd-products strong{font-size:1rem}.vd-products [aria-pressed=true]{background:#d1eade;border-color:#659e81}
.vd-two{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin:15px 0}.vd-two>section{border:1px solid #c2d9e3;border-radius:13px;padding:12px 7px;background:#ecf4f7;min-width:0;text-align:center}.vd-two small,.vd-two strong,.vd-two span{display:block}.vd-two strong{font-size:1.4rem;margin:9px 0}.vd-two small,.vd-two span{font-size:.82rem}.vd-two .vd-controls{justify-content:center;align-items:center;gap:4px}.vd-two .vd-readout{font-size:1rem;margin:0;padding:8px}.vd-two .vd-good-panel{background:#d9eee2;border-color:#6ca28b}
.vd-machine{padding:16px 10px;background:#e7f1f7;border:1px solid #bad6e3;border-radius:18px;text-align:center;margin:15px 0}.vd-machine>span{font-size:1.7rem;line-height:1.7}.vd-machine p{font-size:1rem}.vd-machine>strong{display:block}
.vd-root{display:inline-flex;align-items:stretch;vertical-align:middle;line-height:1.3}.vd-root>span:first-child{font-size:1.3em}.vd-root>span+span{border-top:1.5px solid currentColor;padding:2px 4px 0 1px}
.vd-calculation{display:flex;flex-direction:column;gap:9px;padding:16px;background:#e8f5ee;border:1px solid #b8daca;border-radius:14px;margin:15px 0;font-size:.95rem}.vd-calculation strong{font-size:1rem}
.vd-roster{display:flex;flex-wrap:wrap;gap:8px;justify-content:center}.vd-roster button{border:2px solid #afcfdd;background:#fff;color:#24546b;border-radius:18px;padding:14px 18px;min-height:50px;font:inherit;cursor:pointer}.vd-roster [aria-pressed=true]{background:#d5eade;border-color:#57917a}.vd-teams{display:flex;flex-wrap:wrap;gap:9px;margin:13px 0}.vd-teams section{background:#edf1fa;border:1px solid #c6d1e4;border-radius:12px;padding:11px;font-size:.9rem}
.vd-svg rect,.vd-svg circle{transition:fill .25s ease,transform .25s ease}.vd-game .vd-readout{font-size:1.2rem}
@media(max-width:360px){.vd-placegrid strong{font-size:1.5rem}.vd-placegrid small{font-size:.59rem}.vd-products{gap:6px}.vd-two{gap:6px}.vd-two .vd-controls button{padding:8px;min-width:44px}.vd-two .vd-readout{padding:5px}.vd-two small{font-size:.75rem}}
@media(prefers-reduced-motion:reduce){.vd-game *{animation:none!important;transition:none!important}}
