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

.vb-game {color:#173f52;background:#f7fbfd}
.vb-code,.vb-hold,.vb-bag {background:#e7f2f5;border:1px solid #b7d3df;border-radius:16px;padding:16px;margin:14px 0;text-align:center}
.vb-code>div,.vb-hold>div,.vb-bag>div {display:flex;justify-content:center;flex-wrap:wrap;gap:8px}
.vb-code b {font-size:1.5rem;background:#fff;border:1px solid #bdd7e2;border-radius:10px;padding:9px 14px}
.vb-portraits {display:grid;grid-template-columns:repeat(10,1fr);gap:3px;margin:18px 0;background:#eef3f6;border-radius:14px;padding:10px}
.vb-portraits span {text-align:center;color:#6e8795;line-height:1.4}
.vb-portraits .vb-cycle {color:#226c87;background:#d6edf2;border-radius:5px}
.vb-portraits svg {width:17px;height:21px;display:block;margin:auto;fill:currentColor;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.vb-list,.vb-sas,.vb-ranks {display:flex;flex-wrap:wrap;justify-content:center;gap:8px;margin:16px 0}
.vb-list section,.vb-sas section {display:flex;flex-direction:column;gap:10px;text-align:center;border:1px solid #c4d9e3;background:#edf4f7;border-radius:12px;padding:12px 9px;min-width:65px}
.vb-list b,.vb-sas b {font-size:1.3rem}
.vb-list span,.vb-sas small {font-size:.75rem}
.vb-current {outline:2px solid #29839e;outline-offset:2px;background:#dceff4!important}
.vb-hold>div {padding:14px;min-height:70px;background:#cbdfe9;border-radius:8px 8px 25px 25px}
.vb-hold>div span {font-size:1.9rem;color:#a3773c}
.vb-over {color:#8e403a}
.vb-pipeline {display:flex;align-items:center;justify-content:center;gap:5px;margin:18px 0}
.vb-pipeline section {min-width:0;flex:1;background:#e1eef4;border-radius:12px;padding:12px 5px;text-align:center;display:flex;flex-direction:column;gap:8px}
.vb-pipeline small {font-size:.8rem}
.vb-pipeline b {font-size:1.2rem}
.vb-ranks button {display:flex;flex-direction:column;gap:5px;align-items:center;min-width:64px!important}
.vb-ranks button b {font-size:1.2rem}
.vb-ranks button small {font-size:.75rem}
.vb-ranks button span {min-height:18px}
.vb-bag i {font-style:normal;border-radius:50%;border:1px solid #89a9b8;padding:7px 10px;font-weight:700}
.vb-red {background:#f1d6d0;color:#6e3934}.vb-blue {background:#cce6f3;color:#234e6d}
.vb-equation {text-align:center;padding:16px;background:#e8f2f7;border-radius:12px;overflow:auto}
.vb-game math {font-size:1.25em;vertical-align:middle}
.vb-boat {transition:transform .4s ease}
@media(prefers-reduced-motion:reduce){.vb-game *{animation:none!important;transition:none!important}}
