.room-voxel{--room-color:#e4e8e0;--game-accent:#516d52;--stage-ink:#354e3e}.voxel-board{aspect-ratio:1;background:#142840;border-color:#829a89}.voxel-modes{gap:5px;margin-bottom:6px;display:flex}.voxel-modes button{border:1px solid #9bad98;border-radius:8px;flex:1;min-height:40px;padding-inline:6px;font-size:12px}.voxel-modes button[aria-pressed=true]{color:#fff;background:#516d52}.voxel-palette{grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;margin-top:6px;display:grid}.voxel-palette button{background:#f8f6ec;border:1px solid #aab6a6;border-radius:8px;justify-content:center;align-items:center;gap:6px;min-height:40px;padding:4px;font-size:12px;display:flex}.voxel-palette button[aria-pressed=true]{outline-offset:-2px;outline:2px solid #516d52;font-weight:700}.voxel-palette i{border:1px solid #0003;border-radius:3px;width:15px;height:15px}.voxel-camera{gap:5px;margin-top:6px;display:flex}.voxel-camera button{background:#f8f6ec;border:1px solid #aab6a6;border-radius:8px;flex:1;min-height:40px;font-size:17px}.voxel-camera button:last-child{flex:2;font-size:12px}.voxel-save{text-align:center;margin-top:7px;font-size:11px}.voxel-game button{touch-action:manipulation}.voxel-game button:focus-visible{outline-offset:2px;outline:3px solid #365e83}@media (orientation:landscape) and (max-height:600px){.room-voxel.room-focused{--side-width:clamp(220px,34vw,320px);grid-template-rows:auto auto auto auto minmax(0,1fr)}.room-voxel.room-focused .room-heading{flex-direction:row;align-items:center;gap:4px}.room-focused .voxel-modes{grid-area:3/1;margin:0}.room-focused .voxel-palette{grid-area:4/1;margin:0}.room-focused .voxel-camera{grid-area:5/1;align-self:start;margin:0}.room-focused .voxel-save{display:none}.room-focused .voxel-game[data-save-error=true] .voxel-save{z-index:2;color:#68412f;background:#fff8e7;border-radius:6px;grid-area:1/2/-1;align-self:end;padding:5px 8px;display:block}}.voxel-picker>div{justify-items:center;gap:6px;display:grid}.voxel-pick-note{max-width:24ch;margin-bottom:8px;font-size:12px}.voxel-goal{background:#f8f6ec;border:1px solid #aab6a6;border-radius:8px;grid-template-columns:64px minmax(0,1fr) auto;align-items:center;gap:8px;margin-bottom:6px;padding:6px 8px;display:grid}.voxel-goal p{margin:0;font-size:12px;line-height:1.3}.voxel-goal p[data-ok=false]{color:#a2322b;font-weight:600}.voxel-goal p[data-ok=true]{color:#2d6a3c;font-weight:600}.voxel-goal .primary-button{min-height:40px;padding-inline:14px}.voxel-map{gap:1px;width:64px;max-height:64px;margin:auto;display:grid}.voxel-map i{color:#354e3e;background:#e6e1cf;border-radius:2px;place-items:center;min-height:8px;font:700 10px/1 system-ui,sans-serif;display:grid}.voxel-map i[data-h="2"]{background:#f1dd8c}.voxel-map i[data-h="3"]{background:#e8c84a}.voxel-map i[data-h="4"]{background:#e2a63a}.voxel-map i[data-h="5"],.voxel-map i[data-h="6"],.voxel-map i[data-h="7"]{color:#fff;background:#d07e2e}.voxel-map i[data-h="0"]{background:0 0}.voxel-tools{gap:5px;margin-top:6px;display:flex}.voxel-tools button{touch-action:manipulation;background:#f8f6ec;border:1px solid #aab6a6;border-radius:8px;flex:1;min-height:36px;font-size:12px}.voxel-tools button[aria-pressed=false]{opacity:.75}.voxel-tools button:disabled{opacity:.45}@media (orientation:landscape) and (max-height:600px){.room-voxel.room-focused{grid-template-rows:auto auto auto auto auto auto auto minmax(0,1fr)}.room-focused .voxel-modes{grid-row:4}.room-focused .voxel-palette{grid-row:5}.room-focused .voxel-camera{grid-row:6}.room-focused .voxel-goal{grid-area:3/1;grid-template-columns:48px minmax(0,1fr) auto;gap:6px;margin:0;padding:4px 6px}.room-focused .voxel-map{width:48px;max-height:48px}.room-focused .voxel-goal p{font-size:11px}.room-focused .voxel-goal .primary-button{min-height:34px;padding-inline:10px}.room-focused .voxel-tools{grid-area:7/1;margin:0}.room-focused .voxel-tools button{min-height:30px}}.room-voxel .room-game{width:100%;max-width:430px}
