.venture-shell{position:relative;max-width:1000px;margin:auto;padding:12px;background:#e7eee9;border:1px solid #bfcec5;border-radius:22px;box-shadow:0 14px 34px #25483f15}.venture-shell>.bar{position:sticky;top:0;background:#e7eee9;z-index:5;padding:3px 0}.bar label{max-width:65%}.bar #level{max-width:100%;font-size:12px}.local-label{font-size:11px;margin-inline-end:auto}.hud{max-width:none;border-radius:12px;margin:8px 0 0;min-height:62px}.hud #mission{font-weight:650;max-width:40%;font-size:13px;align-self:center}.hud #stats{align-self:center;font-size:12px;white-space:pre-line}.hud b{font-size:16px}#route{display:block;width:100%;height:5px;accent-color:#7ca18c;margin:7px 0}.playfield{width:100%;margin:auto;border:1px solid #a3b9b1;background:#cad9ce;border-radius:14px;overflow:hidden}.playfield canvas{display:block;max-width:100%;width:100%;aspect-ratio:var(--ratio);height:auto;touch-action:none;outline-offset:-4px}.controls{display:block;margin:9px auto 0;max-width:none}.robot-pads,.race-pads{display:flex;gap:10px}.controls button{min-height:58px;font-weight:700;touch-action:none;user-select:none}.robot-pads #left,.robot-pads #right{width:85px;background:#d1e0d5;font-size:25px}.robot-pads #jump{margin-left:auto;width:130px;background:#e6cca0;font-size:15px}.race-pads button{flex:1;background:#d0e1d8;font-size:14px}.race-pads #p2{background:#e6d4dc}.controls .active{outline:3px solid #8bac9b;background:#a9c7b8!important}#status{margin:8px 0 0;min-height:36px;font-size:12px;color:#526d68}.venture-cover{position:absolute;inset:80px 12px 12px;display:flex;align-items:center;justify-content:center;z-index:10;background:#cddbd2b8;backdrop-filter:blur(5px);border-radius:15px}.venture-cover[hidden]{display:none}.venture-card{width:min(93%,510px);padding:23px;background:#fffaf0;border:1px solid #c8d3bd;border-radius:22px;box-shadow:0 18px 36px #2b4c4026;text-align:center;max-height:calc(100svh - 80px);overflow:auto}.venture-card h2{margin:5px 0 10px;font-size:25px}.venture-card p{font-size:13px}.venture-card #eyebrow{font-size:11px;text-transform:uppercase;letter-spacing:.07em;color:#7e8d7c}.venture-card label{display:inline-flex;gap:7px;align-items:center;margin:5px;font-size:12px}.venture-card select{max-width:210px;min-height:44px}#ready-pads{display:flex;gap:8px;justify-content:center;margin:10px 0}#ready-pads[hidden]{display:none}#ready-pads button{font-size:12px;flex:1}#ready-pads button[aria-pressed=true]{background:#bed7c2;border-color:#789e83}.venture-card .actions{justify-content:center;gap:7px}#play{background:#d9be83;font-weight:700}#retry,#new-road{font-size:12px}#local-wins{font-size:12px}.venture-modes{display:flex;gap:12px;align-items:center;flex-wrap:wrap;padding:8px 14px;margin:10px auto;max-width:960px;background:#edf2e8;border:1px solid #bed0bf;border-radius:12px;color:#466253;font:14px/1.5 system-ui}.venture-modes a{display:inline-flex;align-items:center;min-height:44px;padding:4px 12px;color:#346454;font-weight:650}body[data-game=duo-dash] .venture-shell{max-width:850px}body[data-game=duo-dash] .playfield{width:min(100%,calc((100svh - 240px)*var(--factor,1.25)))}body[data-motion=off] *{animation:none!important;transition:none!important}#warning{font-size:13px;color:#944f43}@media(max-width:600px){.venture-shell{padding:8px}.hud #mission{font-size:11px}.hud #stats{font-size:11px}.bar button{padding:7px}.robot-pads{gap:8px}.robot-pads #left,.robot-pads #right{width:66px}.robot-pads #jump{width:110px}.venture-card{padding:16px}.venture-card h2{font-size:22px}.venture-card p{font-size:12px}.venture-card label{display:flex;justify-content:space-between}.venture-card select{max-width:170px}body[data-game=duo-dash] .playfield{width:100%}.race-pads button{font-size:12px}.controls button{min-height:56px}#status{font-size:11px}}
@media(max-height:500px) and (orientation:landscape){.intro{display:none}.venture-shell{display:grid;grid-template-columns:minmax(0,1fr) 240px;gap:9px;min-height:calc(100svh - 20px);padding:9px}.playfield{grid-column:1;grid-row:1/7;width:100%;align-self:center}.playfield canvas{max-height:calc(100svh - 45px);object-fit:contain}.venture-shell>.bar,.venture-shell>.hud,.venture-shell>#route,.venture-shell>.controls,.venture-shell>#status{grid-column:2;width:100%;margin:0}.hud{min-height:58px}.hud #stats,.hud #mission{font-size:10px}.robot-pads{gap:5px;flex-wrap:wrap}.robot-pads #left,.robot-pads #right{width:58px}.robot-pads #jump{width:100px;margin-left:0}.controls button{min-height:48px}.race-pads{flex-wrap:wrap}.race-pads button{flex-basis:100%;min-height:48px}.venture-cover{inset:5px}.venture-card{max-height:calc(100svh - 35px);padding:12px}.venture-card h2{font-size:21px;margin:3px}.venture-card p{font-size:11px;margin:6px 0}.venture-card label{font-size:11px}#status{font-size:11px}body[data-game=duo-dash] .venture-shell{max-width:1000px}body[data-game=duo-dash] .playfield{width:100%}}

@media(min-height:501px){body[data-game=robot-ruins] .playfield{width:min(100%,calc((100svh - 300px)*var(--factor,1.778)))}body[data-game=duo-dash] .playfield{width:min(100%,calc((100svh - 290px)*var(--factor,1.25)))}}
.bar label{min-width:0;flex:1}.bar select{min-width:0}.bar button{flex-shrink:0}
