.glass.is-car{position:relative;width:100%;height:auto;aspect-ratio:12/7;background:#a9a6a2;border-radius:12px;overflow:hidden}
.glass.is-car canvas{position:absolute;inset:0;width:100%;height:100%;max-width:none;max-height:none;margin:0;display:block;cursor:grab;touch-action:none}
.glass.is-car canvas.dragging{cursor:grabbing}
.glass.is-car canvas:focus-visible{outline:2px solid #fff;outline-offset:-4px}
.car-reset,.car-expand,.move-hint{position:absolute;z-index:1;color:#202027;border:1px solid #fff;background:#fffdf7f2;box-shadow:0 1px 8px #18182027;font-size:.78rem;font-weight:700;line-height:1.2}
.car-zoom{position:absolute;z-index:1;display:block;left:10px;right:10px;top:0}
.car-zoom input{appearance:none;display:block;width:100%;height:36px;margin:0;padding:0;background:none;border:0;touch-action:pan-y;cursor:ew-resize}
.car-zoom input::-webkit-slider-runnable-track{height:4px;background:#fffc;border-radius:5px;box-shadow:0 0 0 1px #2020279c}
.car-zoom input::-moz-range-track{height:4px;background:#fffc;border-radius:5px;box-shadow:0 0 0 1px #2020279c}
.car-zoom input::-webkit-slider-thumb{appearance:none;width:18px;height:18px;margin-top:-7px;border:2px solid white;border-radius:50%;background:#b21f39;box-shadow:0 1px 4px #0009}
.car-zoom input::-moz-range-thumb{width:14px;height:14px;border:2px solid white;border-radius:50%;background:#b21f39;box-shadow:0 1px 4px #0009}
.glass.is-car .car-reset{right:8px;bottom:8px;max-width:127px;min-height:34px;margin:0;padding:5px 8px;border-radius:8px;font-size:.76rem;line-height:1.15;cursor:pointer}
.glass.is-car:has(.car-expand) .car-reset{right:49px}
.car-expand{right:8px;bottom:8px;width:36px;height:36px;margin:0;padding:0;border-radius:8px;font-size:1.25rem;cursor:pointer}
.glass.is-car .car-reset:hover{background:white}
.move-hint{display:flex;align-items:center;gap:6px;left:8px;bottom:8px;pointer-events:none;padding:6px 8px;border-radius:8px;background:#fff0c8;border-color:#f3cf73;color:#412d0d;max-width:calc(100% - 151px)}
.move-hint span{font-size:1.18em}
.move-hint[hidden]{display:none!important}
.car-help{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.car-placeholder{width:100%;aspect-ratio:12/7}
.car-fullscreen{position:fixed;inset:0;margin:0;width:100vw;height:100dvh;max-width:none;max-height:none;padding:0;border:0;border-radius:0;overflow:hidden;background:#171a1e;color:#fff}
.car-fullscreen[open]{display:grid;place-items:center}
.car-fullscreen::backdrop{background:#171a1e}
.car-fullscreen-host{position:relative;width:100%;height:100%;min-width:0;min-height:0}
.car-fullscreen-host:fullscreen{background:#171a1e}
.car-fullscreen-panel{--panel-height:100dvh;--car-rotated:0;position:relative;display:grid;place-items:center;width:100%;height:100%;min-width:0;min-height:0}
.car-fullscreen .glass.is-car{width:min(100%,calc((var(--panel-height) - 56px) * 12 / 7));border-radius:0}
.car-fullscreen .car-expand{display:none}
.car-fullscreen .glass.is-car .car-reset{right:8px}
.car-fullscreen .car-close{position:absolute;top:max(8px,env(safe-area-inset-top));right:max(8px,env(safe-area-inset-right));z-index:2;width:44px;height:44px;margin:0;padding:0;border:1px solid #ffffff78;border-radius:8px;background:#282b31;color:#fff;font:600 1.8rem/1 system-ui,sans-serif;cursor:pointer}
@media(max-width:730px) and (orientation:portrait){
  .car-fullscreen-panel{--panel-height:100vw;--car-rotated:1;position:absolute;left:50%;top:50%;width:100dvh;height:100vw;transform:translate(-50%,-50%) rotate(90deg)}
  .car-fullscreen .car-zoom input{touch-action:none}
}
