.vlm-page-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin: 0 0 9px;
  padding: 7px;
  background: #f2f2f2;
  border: 1px solid #c9c9c9;
  font: 11px Verdana, Arial, sans-serif;
}

.vlm-page-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 27px;
  padding: 0 9px;
  color: #174b73;
  background: #fff;
  border: 1px solid #c7c7c7;
  text-decoration: none;
}

.vlm-page-nav a:hover,
.vlm-page-nav a:focus-visible,
.vlm-page-nav a[aria-current="page"] {
  color: #fff;
  background: #2d7130;
  border-color: #245a27;
}

.vlm-app {
  --vlm-bg: #0d171e;
  --vlm-surface: #14222b;
  --vlm-surface-2: #1a2a34;
  --vlm-surface-3: #22333d;
  --vlm-border: #40515a;
  --vlm-border-soft: #2d3d46;
  --vlm-text: #f2f5f6;
  --vlm-muted: #aab7bd;
  --vlm-dim: #71838c;
  --vlm-green: #67d25d;
  --vlm-green-deep: #214d29;
  --vlm-blue: #61b7ff;
  --vlm-amber: #f0c65b;
  --vlm-red: #f06c65;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  width: 100%;
  min-width: 0;
  color: var(--vlm-text);
  background: var(--vlm-bg);
  border: 1px solid #293940;
  border-radius: 5px;
  box-shadow: 0 5px 18px rgba(0, 0, 0, .3);
  font-family: "Segoe UI", Tahoma, Arial, sans-serif;
  line-height: 1.35;
}

.vlm-app *,
.vlm-app *::before,
.vlm-app *::after { box-sizing: border-box; }

.vlm-app button,
.vlm-app input,
.vlm-app select {
  color: var(--vlm-text);
  font: 600 12px/1.2 "Segoe UI", Tahoma, Arial, sans-serif;
}

.vlm-app button,
.vlm-app select {
  min-height: 34px;
  background: var(--vlm-surface-2);
  border: 1px solid var(--vlm-border);
  border-radius: 4px;
}

.vlm-app button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 7px 10px;
  cursor: pointer;
}

.vlm-app button:hover,
.vlm-app button:focus-visible,
.vlm-app select:hover,
.vlm-app select:focus-visible,
.vlm-app input:focus-visible {
  border-color: var(--vlm-green);
  outline: 2px solid rgba(103, 210, 93, .22);
  outline-offset: 1px;
}

.vlm-app button:active { transform: translateY(1px); }
.vlm-app button[aria-pressed="true"],
.vlm-app button[aria-expanded="true"],
.vlm-app button.is-active {
  color: #fff;
  background: #24482d;
  border-color: var(--vlm-green);
  box-shadow: inset 0 0 0 1px rgba(103, 210, 93, .12);
}

.vlm-app button:disabled,
.vlm-app select:disabled {
  opacity: .5;
  cursor: wait;
}

.vlm-app svg {
  flex: 0 0 auto;
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.vlm-appbar {
  position: relative;
  z-index: 30;
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 58px;
  padding: 9px 13px;
  background: linear-gradient(180deg, #1b2a33, #14212a);
  border-bottom: 1px solid var(--vlm-border);
}

.vlm-heading {
  display: flex;
  align-items: baseline;
  gap: 14px;
  min-width: 0;
  margin-right: auto;
}

.vlm-heading h1,
.vlm-heading strong {
  overflow: hidden;
  margin: 0;
  color: #fff;
  font: 700 clamp(20px, 2.5vw, 30px)/1 "Arial Narrow", "Segoe UI", Arial, sans-serif;
  letter-spacing: -.45px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.vlm-world-title {
  color: var(--vlm-muted);
  font-size: 12px;
  font-weight: 500;
}

.vlm-live-summary {
  display: flex;
  align-items: center;
  gap: 9px;
  flex: 0 0 auto;
  color: var(--vlm-muted);
  font-size: 11px;
  white-space: nowrap;
}

.vlm-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--vlm-green);
  font-weight: 700;
}

.vlm-status::before {
  content: "";
  width: 9px;
  height: 9px;
  background: currentColor;
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(103, 210, 93, .12);
}

.vlm-status[data-state="loading"],
.vlm-status[data-state="connecting"] { color: var(--vlm-blue); }
.vlm-status[data-state="notice"] { color: var(--vlm-amber); }
.vlm-status[data-state="error"] { color: var(--vlm-red); }

.vlm-toolbar-actions {
  display: flex;
  gap: 6px;
}

.vlm-toolbar-actions button { min-width: 88px; }

.vlm-workspace {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  min-width: 0;
  background: var(--vlm-bg);
}

.vlm-map-area { min-width: 0; }

.vlm-sidebar {
  position: relative;
  z-index: 12;
  display: flex;
  flex-direction: column;
  gap: 11px;
  min-width: 0;
  padding: 12px 10px;
  background: #13212a;
  border-right: 1px solid var(--vlm-border);
}

.vlm-control-group {
  display: grid;
  gap: 6px;
  padding-bottom: 11px;
  border-bottom: 1px solid var(--vlm-border-soft);
}

.vlm-control-group:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.vlm-label,
.vlm-control-group > label {
  color: var(--vlm-muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .45px;
  text-transform: uppercase;
}

.vlm-world {
  width: 100%;
  padding: 0 31px 0 9px;
}

.vlm-world-info {
  min-height: 15px;
  color: var(--vlm-dim);
  font-size: 10px;
}

.vlm-coordinate-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 5px;
}

.vlm-coordinate-input {
  min-width: 0;
  height: 34px;
  padding: 0 8px;
  color: var(--vlm-text);
  background: #0f1a21;
  border: 1px solid var(--vlm-border);
  border-radius: 4px;
}

.vlm-coordinate-input[aria-invalid="true"] { border-color: var(--vlm-red); }
.vlm-sidebar-actions { display: grid; gap: 5px; }
.vlm-sidebar-actions button { width: 100%; justify-content: flex-start; }

.vlm-mode-buttons {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.vlm-mode-buttons button {
  min-width: 0;
  padding-inline: 5px;
  border-radius: 0;
}

.vlm-mode-buttons button:first-child { border-radius: 4px 0 0 4px; }
.vlm-mode-buttons button:last-child { border-radius: 0 4px 4px 0; }
.vlm-mode-buttons button + button { margin-left: -1px; }

.vlm-help-copy {
  margin-top: auto;
  color: var(--vlm-dim);
  font-size: 10px;
  line-height: 1.55;
}

.vlm-stage {
  position: relative;
  min-width: 0;
  height: clamp(540px, 67vw, 760px);
  min-height: 540px;
  overflow: hidden;
  background: #769eb9;
}

.vlm-canvas {
  display: block;
  width: 100%;
  height: 100%;
  cursor: grab;
  touch-action: none;
}

.vlm-canvas.is-dragging { cursor: grabbing; }

.vlm-loading {
  position: absolute;
  left: 50%;
  top: 46%;
  z-index: 8;
  width: min(390px, calc(100% - 32px));
  transform: translate(-50%, -50%);
  padding: 14px 16px;
  color: var(--vlm-text);
  background: rgba(13, 23, 30, .94);
  border: 1px solid var(--vlm-border);
  border-left: 3px solid var(--vlm-green);
  border-radius: 4px;
  box-shadow: 0 8px 28px rgba(0, 0, 0, .32);
  font-size: 12px;
  line-height: 1.55;
  text-align: center;
}

.vlm-loading[hidden] { display: none; }

.vlm-compass {
  position: absolute;
  left: 14px;
  top: 14px;
  z-index: 7;
  display: grid;
  place-items: center;
  width: 70px;
  height: 70px;
  color: #fff;
  background: rgba(13, 23, 30, .76);
  border: 1px solid rgba(255, 255, 255, .25);
  border-radius: 50%;
  box-shadow: 0 3px 12px rgba(0, 0, 0, .18);
  font-size: 10px;
  pointer-events: none;
}

.vlm-compass span { position: absolute; }
.vlm-compass .vlm-north { top: 5px; }
.vlm-compass .vlm-south { bottom: 5px; }
.vlm-compass .vlm-east { right: 7px; }
.vlm-compass .vlm-west { left: 7px; }

.vlm-compass-needle {
  position: relative !important;
  width: 32px;
  height: 32px;
  transition: transform 120ms linear;
}

.vlm-compass-needle::before,
.vlm-compass-needle::after {
  content: "";
  position: absolute;
  left: 11px;
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
}

.vlm-compass-needle::before { top: 1px; border-bottom: 15px solid #ef4d4d; }
.vlm-compass-needle::after { bottom: 1px; border-top: 15px solid #e7edf0; }

.vlm-map-actions {
  position: absolute;
  right: 14px;
  top: 14px;
  z-index: 9;
  display: grid;
  grid-template-columns: repeat(2, 88px);
  gap: 6px;
}

.vlm-action-group {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4px;
  padding: 5px;
  background: rgba(13, 23, 30, .84);
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 5px;
  box-shadow: 0 2px 7px rgba(0, 0, 0, .2);
}

.vlm-action-group > span {
  grid-column: 1 / -1;
  color: #bdc9ce;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .45px;
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
}

.vlm-map-actions button {
  width: 36px;
  min-width: 36px;
  height: 34px;
  padding: 0;
  background: rgba(20, 34, 43, .9);
  font-size: 17px;
}

.vlm-map-actions button b { font-size: 20px; line-height: 1; }

.vlm-minimap-wrap {
  position: absolute;
  right: 14px;
  bottom: 14px;
  z-index: 8;
  overflow: hidden;
  width: 166px;
  height: 118px;
  background: rgba(13, 23, 30, .88);
  border: 1px solid rgba(255, 255, 255, .24);
  border-radius: 4px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, .24);
}

.vlm-minimap {
  display: block;
  width: 100%;
  height: 100%;
  cursor: crosshair;
}

.vlm-minimap:focus-visible {
  outline: 2px solid var(--vlm-blue);
  outline-offset: -3px;
}

.vlm-help {
  position: absolute;
  left: 14px;
  bottom: 14px;
  z-index: 7;
  max-width: calc(100% - 205px);
  padding: 6px 8px;
  color: #d7e0e4;
  background: rgba(13, 23, 30, .78);
  border-left: 2px solid var(--vlm-green);
  border-radius: 2px;
  font-size: 10px;
  pointer-events: none;
}

.vlm-inspector {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  z-index: 15;
  display: flex;
  flex-direction: column;
  width: min(280px, 38%);
  padding: 12px;
  background: rgba(19, 33, 42, .97);
  border-left: 1px solid var(--vlm-border);
  box-shadow: -8px 0 22px rgba(0, 0, 0, .22);
  transform: translateX(102%);
  transition: transform 180ms ease;
}

.vlm-inspector[aria-hidden="true"] {
  visibility: hidden;
  pointer-events: none;
}

.vlm-inspector.is-open {
  visibility: visible;
  transform: translateX(0);
}

.vlm-panel-heading {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 35px;
  padding-bottom: 9px;
  border-bottom: 1px solid var(--vlm-border);
}

.vlm-panel-heading h2,
.vlm-panel-heading strong {
  margin: 0 auto 0 0;
  color: #fff;
  font: 700 14px/1.2 "Segoe UI", Tahoma, Arial, sans-serif;
}

.vlm-panel-heading button {
  min-width: 30px;
  min-height: 30px;
  padding: 3px;
  background: transparent;
  border-color: transparent;
  font-size: 19px;
}

.vlm-inspector-grid {
  display: grid;
  grid-template-columns: 72px 1fr;
  margin: 5px 0 12px;
}

.vlm-inspector-grid dt,
.vlm-inspector-grid dd {
  margin: 0;
  padding: 7px 3px;
  border-bottom: 1px solid var(--vlm-border-soft);
  font-size: 11px;
}

.vlm-inspector-grid dt { color: var(--vlm-muted); }
.vlm-inspector-grid dd { color: #fff; font-weight: 600; }
.vlm-save-place { width: 100%; margin-top: auto; border-color: #687840 !important; }

.vlm-panel {
  position: absolute;
  right: 10px;
  top: 66px;
  z-index: 40;
  display: none;
  width: min(340px, calc(100% - 20px));
  max-height: min(640px, calc(100% - 122px));
  overflow: auto;
  padding: 12px;
  color: var(--vlm-text);
  background: rgba(19, 33, 42, .98);
  border: 1px solid var(--vlm-border);
  border-radius: 5px;
  box-shadow: 0 12px 35px rgba(0, 0, 0, .38);
}

.vlm-panel.is-open { display: block; animation: vlm-panel-in 150ms ease-out; }

@keyframes vlm-panel-in {
  from { opacity: 0; transform: translateY(-5px); }
  to { opacity: 1; transform: translateY(0); }
}

.vlm-player-list,
.vlm-place-list,
.vlm-claim-list {
  display: grid;
  gap: 6px;
  padding-top: 10px;
}

.vlm-panel-note,
.vlm-claim-count {
  margin: 9px 0 0;
  color: var(--vlm-muted);
  font-size: 10px;
  line-height: 1.5;
}

.vlm-claim-count { color: var(--vlm-green); font-weight: 700; }

.vlm-claim {
  display: grid;
  gap: 7px;
  padding: 8px;
  background: #162630;
  border: 1px solid var(--vlm-border-soft);
  border-left: 3px solid var(--vlm-green);
  border-radius: 4px;
}

.vlm-claim > div:first-child { display: grid; gap: 2px; }
.vlm-claim strong { color: #fff; font-size: 11px; }
.vlm-claim small { color: var(--vlm-muted); font-size: 9px; }
.vlm-claim-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 5px; }
.vlm-claim-actions button { min-height: 31px; padding: 5px 8px; }
.vlm-claim-actions button:last-child { border-color: #5c793c; }

.vlm-control-guide {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5px 9px;
  margin-top: 13px;
  padding-top: 11px;
  border-top: 1px solid var(--vlm-border-soft);
  color: var(--vlm-muted);
  font-size: 10px;
}

.vlm-control-guide strong { grid-column: 1 / -1; color: #fff; font-size: 11px; }

.vlm-player {
  width: 100%;
  justify-content: space-between !important;
  padding: 8px 9px !important;
  text-align: left;
}

.vlm-player span { display: flex; align-items: center; gap: 6px; }
.vlm-player em {
  padding: 2px 4px;
  color: #14221a;
  background: var(--vlm-green);
  border-radius: 2px;
  font-size: 8px;
  font-style: normal;
  text-transform: uppercase;
}

.vlm-player small,
.vlm-place small { color: var(--vlm-dim); font-size: 9px; font-weight: 500; }

.vlm-place {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 30px;
  gap: 5px;
}

.vlm-place-go {
  display: grid !important;
  justify-content: stretch !important;
  gap: 2px !important;
  text-align: left;
}

.vlm-place-remove { min-width: 30px; padding: 0 !important; font-size: 18px !important; }
.vlm-empty { display: block; padding: 14px 5px; color: var(--vlm-dim); font-size: 11px; line-height: 1.55; }

.vlm-settings-grid {
  display: grid;
  gap: 10px;
  padding-top: 11px;
}

.vlm-setting {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(112px, auto);
  align-items: center;
  gap: 10px;
  min-height: 35px;
  color: var(--vlm-muted);
  font-size: 11px;
}

.vlm-setting select { min-width: 112px; padding: 0 25px 0 8px; }
.vlm-setting input[type="range"] { width: 135px; accent-color: var(--vlm-green); }
.vlm-setting > span > small {
  display: block;
  margin-top: 3px;
  color: var(--vlm-dim);
  font-size: 9px;
  line-height: 1.35;
}

.vlm-switch {
  position: relative;
  display: inline-flex;
  justify-self: end;
  width: 37px;
  height: 21px;
}

.vlm-switch input { position: absolute; opacity: 0; pointer-events: none; }
.vlm-switch span {
  width: 100%;
  height: 100%;
  background: #52616a;
  border-radius: 20px;
  cursor: pointer;
  transition: background 120ms ease;
}

.vlm-switch span::after {
  content: "";
  position: absolute;
  left: 3px;
  top: 3px;
  width: 15px;
  height: 15px;
  background: #fff;
  border-radius: 50%;
  transition: transform 120ms ease;
}

.vlm-switch input:checked + span { background: #4aaa52; }
.vlm-switch input:checked + span::after { transform: translateX(16px); }
.vlm-switch input:focus-visible + span { outline: 2px solid var(--vlm-green); outline-offset: 2px; }

.vlm-legend {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px 10px;
  margin: 11px 0 2px;
  padding-top: 10px;
  border-top: 1px solid var(--vlm-border-soft);
  color: var(--vlm-muted);
  font-size: 10px;
}

.vlm-legend span { display: flex; align-items: center; gap: 6px; }
.vlm-legend i { width: 11px; height: 11px; border: 1px solid rgba(255, 255, 255, .2); }
.vlm-legend .is-grass i { background: #63a83d; }
.vlm-legend .is-water i { background: #2d78c8; }
.vlm-legend .is-stone i { background: #777d7f; }
.vlm-legend .is-wood i { background: #8a6139; }
.vlm-legend .is-cached i { background: #9b8152; }
.vlm-legend .is-unavailable i { background: transparent; border-style: dashed; }

.vlm-statusbar {
  position: relative;
  z-index: 25;
  display: grid;
  grid-template-columns: 1.3fr 1fr 1.5fr .8fr 1fr auto;
  align-items: stretch;
  min-height: 54px;
  background: #14222b;
  border-top: 1px solid var(--vlm-border);
}

.vlm-statusbar > span,
.vlm-statusbar > button {
  display: flex;
  align-items: center;
  min-width: 0;
  margin: 8px 0;
  padding: 0 12px;
  color: var(--vlm-muted);
  border: 0;
  border-right: 1px solid var(--vlm-border-soft);
  border-radius: 0;
  background: transparent;
  font: 600 10px/1.35 "Segoe UI", Tahoma, Arial, sans-serif;
  white-space: nowrap;
}

.vlm-statusbar > span { overflow: hidden; text-overflow: ellipsis; }
.vlm-statusbar > :last-child { border-right: 0; }
.vlm-coverage[data-state="live"] { color: var(--vlm-green); }
.vlm-coverage[data-state="cached"] { color: var(--vlm-amber); }
.vlm-share:hover { color: #fff; background: #24482d; }

.vlm-locked {
  display: grid;
  grid-template-columns: minmax(210px, 34%) 1fr;
  min-height: 310px;
  color: var(--vlm-text);
  background: linear-gradient(120deg, #14242c, #0c171e);
}

.vlm-lock-scene {
  position: relative;
  min-height: 310px;
  overflow: hidden;
  background:
    linear-gradient(150deg, transparent 45%, rgba(0, 0, 0, .32) 45%),
    repeating-linear-gradient(135deg, #355d38 0 34px, #466f3e 34px 68px);
  clip-path: polygon(0 0, 100% 0, 80% 100%, 0 100%);
}

.vlm-lock-copy { align-self: center; max-width: 620px; padding: 30px 34px 30px 8px; }
.vlm-lock-copy h1 { margin: 0 0 10px; color: #fff; font-size: 25px; }
.vlm-lock-copy p { margin: 0 0 18px; color: var(--vlm-muted); font-size: 12px; line-height: 1.65; }
.vlm-login { display: inline-flex; padding: 9px 13px; color: #fff; background: #2d7130; border: 1px solid var(--vlm-green); text-decoration: none; }

.vlm-app:fullscreen {
  display: flex;
  flex-direction: column;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  border: 0;
  border-radius: 0;
}

.vlm-app:fullscreen .vlm-appbar,
.vlm-app:fullscreen .vlm-statusbar { flex: 0 0 auto; }

.vlm-app:fullscreen .vlm-workspace {
  flex: 1 1 auto;
  min-height: 0;
}

.vlm-app:fullscreen .vlm-map-area { min-height: 0; }

.vlm-app:fullscreen .vlm-stage {
  height: 100%;
  min-height: 0;
}

@media (max-width: 960px) {
  .vlm-toolbar-actions button { min-width: 36px; width: 38px; padding: 0; }
  .vlm-toolbar-actions button span { display: none; }
  .vlm-workspace { grid-template-columns: 184px minmax(0, 1fr); }
  .vlm-sidebar { padding-inline: 8px; }
  .vlm-statusbar { grid-template-columns: 1.3fr 1fr 1.4fr auto; }
  .vlm-queue, .vlm-updated { display: none !important; }
}

@media (max-width: 720px) {
  .vlm-app { border-radius: 4px; }
  .vlm-appbar { flex-wrap: wrap; gap: 8px; padding: 10px; }
  .vlm-heading { flex: 1 1 calc(100% - 52px); }
  .vlm-heading h1, .vlm-heading strong { font-size: 24px; }
  .vlm-world-title { display: none; }
  .vlm-live-summary { order: 3; margin-right: auto; }
  .vlm-toolbar-actions { margin-left: auto; }
  .vlm-toolbar-actions button { width: 35px; min-width: 35px; min-height: 33px; }
  .vlm-workspace { display: block; }
  .vlm-app:fullscreen .vlm-workspace {
    display: flex;
    flex-direction: column;
    min-height: 0;
  }
  .vlm-sidebar {
    display: grid;
    grid-template-columns: minmax(120px, .9fr) 1.1fr;
    gap: 7px;
    padding: 9px;
    border-right: 0;
    border-bottom: 1px solid var(--vlm-border);
  }
  .vlm-app:fullscreen .vlm-sidebar {
    flex: 0 1 auto;
    max-height: 42vh;
    overflow-y: auto;
  }
  .vlm-app:fullscreen .vlm-map-area {
    flex: 1 1 0;
    min-height: 0;
  }
  .vlm-app:fullscreen .vlm-stage {
    height: 100%;
    min-height: 0;
  }
  .vlm-sidebar .vlm-control-group { padding: 0; border: 0; }
  .vlm-sidebar .vlm-control-group:nth-child(3) {
    grid-column: 1 / -1;
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .vlm-sidebar .vlm-control-group:nth-child(4) { grid-column: 1 / -1; }
  .vlm-world-info, .vlm-help-copy { display: none; }
  .vlm-stage { height: max(430px, 60vh); min-height: 430px; }
  .vlm-compass { width: 62px; height: 62px; }
  .vlm-minimap-wrap { width: 122px; height: 88px; }
  .vlm-help { display: none; }
  .vlm-inspector {
    left: 0;
    right: 0;
    top: auto;
    bottom: 0;
    width: 100%;
    max-height: 58%;
    border-top: 1px solid var(--vlm-border);
    border-left: 0;
    border-radius: 12px 12px 0 0;
    transform: translateY(102%);
  }
  .vlm-inspector::before {
    content: "";
    align-self: center;
    width: 62px;
    height: 5px;
    margin: -3px 0 9px;
    background: #a8b3b8;
    border-radius: 5px;
  }
  .vlm-inspector.is-open { transform: translateY(0); }
  .vlm-panel {
    position: fixed;
    left: max(8px, env(safe-area-inset-left));
    right: max(8px, env(safe-area-inset-right));
    top: auto;
    bottom: max(8px, env(safe-area-inset-bottom));
    width: auto;
    max-height: 66vh;
    border-radius: 10px;
  }
  .vlm-statusbar { grid-template-columns: 1.4fr 1fr auto; min-height: 50px; }
  .vlm-statusbar > span, .vlm-statusbar > button { padding-inline: 8px; font-size: 9px; }
  .vlm-coverage { display: none !important; }
  .vlm-lock-scene { display: none; }
  .vlm-locked { display: block; min-height: 0; }
  .vlm-lock-copy { padding: 27px 22px; }
}

@media (max-width: 430px) {
  .vlm-page-nav { overflow-x: auto; flex-wrap: nowrap; }
  .vlm-page-nav a { flex: 0 0 auto; }
  .vlm-appbar { padding-inline: 8px; }
  .vlm-heading h1, .vlm-heading strong { font-size: 21px; }
  .vlm-live-summary .vlm-updated { display: none; }
  .vlm-sidebar { grid-template-columns: 1fr; }
  .vlm-sidebar .vlm-control-group:nth-child(2) { display: grid; grid-template-columns: 1fr; }
  .vlm-coordinate-form { grid-template-columns: minmax(0, 1fr) 42px; }
  .vlm-stage { height: max(410px, 57vh); }
  .vlm-minimap-wrap { display: none; }
  .vlm-map-actions { right: 9px; top: 9px; }
  .vlm-compass { left: 9px; top: 9px; }
  .vlm-statusbar { grid-template-columns: 1fr 1fr; }
  .vlm-share { display: none !important; }
}

@media (prefers-reduced-motion: reduce) {
  .vlm-app *, .vlm-app *::before, .vlm-app *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
}

@media (forced-colors: active) {
  .vlm-app button[aria-pressed="true"], .vlm-app button[aria-expanded="true"] { outline: 2px solid Highlight; }
}
