.game-shell[data-game=tunnels] .all-levels{font:11px/1.4 system-ui;color:#e8dcc4;background:transparent;border:1px solid #9cafa060;border-radius:6px;padding:7px 10px;margin-top:12px;cursor:pointer}
.levels-dialog{width:min(520px,calc(100% - 28px))}.levels-dialog>p{font:12px/1.7 system-ui;margin:15px 0;color:#bec8b5}
#level-grid{display:grid;grid-template-columns:repeat(10,minmax(0,1fr));gap:7px}#level-grid button{font:12px/1 system-ui;width:100%;aspect-ratio:1;margin:0;padding:0;background:transparent;color:#e8dcc4;border:1px solid #9cafa060;border-radius:6px;min-height:32px}#level-grid button.completed{box-shadow:inset 0 -3px #a8b58b}#level-grid button[aria-current=true]{background:#dccba1;color:#173744;border-color:#dccba1}
@media(max-width:650px){.game-shell[data-game=tunnels] .all-levels{grid-column:1/-1;grid-row:4;margin:0;justify-self:end;padding:5px 9px;font-size:9px}.game-shell[data-game=tunnels] .side{row-gap:5px}.levels-dialog{padding:18px}#level-grid{grid-template-columns:repeat(8,minmax(0,1fr));gap:6px}}
@media(max-height:450px) and (min-width:651px){.game-shell[data-game=tunnels] .status{min-height:18px;margin-block:7px}.game-shell[data-game=tunnels] #levels{margin-top:9px}.game-shell[data-game=tunnels] .all-levels{margin-top:8px}}
.tunnel-checkpoint{pointer-events:none}.tunnel-checkpoint circle{vector-effect:non-scaling-stroke;stroke-width:1px}.tunnel-module.is-current:not(.tunnel-crossing) .painted-module,.tunnel-crossing[data-motion-channel=NS] .crossing-vertical .painted-module,.tunnel-crossing[data-motion-channel=EW] .crossing-horizontal .painted-module{filter:drop-shadow(0 0 3px #f1d18d) drop-shadow(1px 2px 1px #17374450)}
.tunnel-crossing{cursor:help}.tunnel-crossing:focus,.tunnel-crossing:focus-visible{outline:0}.tunnel-crossing:focus-visible .crossing-hit{stroke:#efd4a0;stroke-width:2;stroke-dasharray:5 4}.crossing-hit{pointer-events:all}
@media(max-width:650px){.game-shell[data-game=tunnels] .status{max-height:none;min-height:28px;line-height:1.35;overflow:visible}}
.game-shell[data-game=tunnels] .tunnel-wall>svg{position:absolute;left:0;top:0;width:100%;height:88%}
.game-shell[data-game=tunnels] .tunnel-wall [role=button]:hover .tunnel-hit,.game-shell[data-game=tunnels] .tunnel-wall [role=button]:hover .crossing-hit{fill:transparent}
