:root.blakcity-v0 {
  color-scheme: dark;
  --v0-ink: #080b12;
  --v0-panel: rgba(12, 16, 25, 0.92);
  --v0-panel-solid: #0c1019;
  --v0-line: rgba(255, 255, 255, 0.14);
  --v0-text: #f8f5ed;
  --v0-muted: #aab2c0;
  --v0-accent: #6ef0d5;
  --v0-warm: #f0c574;
  --v0-coral: #ff7965;
  --v0-violet: #a783f5;
  --v0-glass: rgba(9, 13, 20, 0.88);
  --v0-context-accent: var(--v0-accent);
}

html.blakcity-v0,
body.blakcity-v0 { overflow: hidden; background: var(--v0-ink); }
body.blakcity-v0 #game { cursor: pointer; }
body.blakcity-v0.v0-overview-camera #game { cursor: grab; }
body.blakcity-v0.v0-overview-camera.v0-camera-panning #game { cursor: grabbing; }
body.blakcity-v0 #hud,
body.blakcity-v0 #interact-hint,
body.blakcity-v0 #district-banner { display: none !important; }

.v0-interface {
  position: fixed;
  inset: 0 0 auto;
  width: 100%;
  height: var(--app-h, 100dvh);
  z-index: 31;
  color: var(--v0-text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  pointer-events: none;
}
.v0-interface::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 8% 24%, rgba(110, 240, 213, 0.075), transparent 28%),
    radial-gradient(circle at 90% 40%, rgba(167, 131, 245, 0.065), transparent 30%),
    linear-gradient(180deg, rgba(5, 8, 13, 0.08), rgba(5, 8, 13, 0.22));
  pointer-events: none;
}
.v0-interface *, .v0-interface *::before, .v0-interface *::after { box-sizing: border-box; }
.v0-interface button, .v0-interface a, .v0-interface input { font-family: inherit; }
.v0-interface button, .v0-interface a { -webkit-tap-highlight-color: transparent; }
.v0-interface.v0-suspended { display: none; }

.v0-topbar {
  position: absolute;
  top: max(10px, env(safe-area-inset-top));
  left: max(10px, env(safe-area-inset-left));
  right: max(10px, env(safe-area-inset-right));
  min-height: 56px;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 12px;
  padding: 8px 9px 8px 13px;
  border: 1px solid var(--v0-line);
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(15, 19, 28, 0.91), rgba(7, 10, 16, 0.87));
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.32), inset 0 1px rgba(255, 255, 255, 0.045);
  backdrop-filter: blur(20px) saturate(1.25);
  pointer-events: auto;
}
.v0-brand { display: inline-flex; align-items: baseline; color: var(--v0-text); font-size: 14px; font-weight: 950; letter-spacing: -0.055em; text-decoration: none; }
.v0-brand span { color: var(--v0-accent); }
.v0-brand i { margin-left: 7px; padding: 3px 5px; border: 1px solid rgba(88, 234, 212, 0.45); border-radius: 5px; color: var(--v0-accent); font-size: 7px; font-style: normal; letter-spacing: 0.08em; }
.v0-location { min-width: 0; padding-left: 11px; border-left: 1px solid var(--v0-line); }
.v0-location > span { display: block; overflow: hidden; color: #fff; font: 600 12px/1.25 Georgia, "Times New Roman", serif; text-overflow: ellipsis; white-space: nowrap; }
.v0-location small { display: flex; align-items: center; gap: 5px; margin-top: 3px; color: var(--v0-muted); font-size: 8px; font-weight: 750; letter-spacing: 0.06em; text-transform: uppercase; }
.v0-location small i { width: 5px; height: 5px; border-radius: 50%; background: var(--v0-accent); box-shadow: 0 0 10px var(--v0-accent); }
.v0-location small b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.v0-browse-button { min-width: 70px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid rgba(88, 234, 212, 0.42); border-radius: 12px; background: rgba(88, 234, 212, 0.1); color: var(--v0-text); font-size: 11px; font-weight: 850; cursor: pointer; }
.v0-browse-button i { width: 11px; height: 8px; border-top: 1px solid var(--v0-accent); border-bottom: 1px solid var(--v0-accent); }

.v0-outside {
  position: absolute;
  top: calc(max(10px, env(safe-area-inset-top)) + 68px);
  left: max(12px, env(safe-area-inset-left));
  min-height: 44px;
  padding: 0 13px;
  border: 1px solid var(--v0-line);
  border-radius: 999px;
  background: rgba(8, 11, 18, 0.8);
  color: var(--v0-text);
  font-size: 10px;
  font-weight: 800;
  backdrop-filter: blur(15px);
  cursor: pointer;
  pointer-events: auto;
}
.v0-outside span { margin-right: 6px; color: var(--v0-accent); }

.v0-reticle { position: absolute; top: 0; left: 0; opacity: 0; transition: opacity 0.18s ease, transform 0.1s linear, width 0.2s ease, height 0.2s ease; will-change: transform; }
.v0-reticle-corner { position: absolute; width: 20px; height: 20px; opacity: 0.94; filter: drop-shadow(0 0 5px var(--v0-context-accent)); }
.v0-reticle-corner-tl { top: 0; left: 0; border-top: 3px solid var(--v0-context-accent); border-left: 3px solid var(--v0-context-accent); border-radius: 7px 0 0; }
.v0-reticle-corner-tr { top: 0; right: 0; border-top: 3px solid var(--v0-context-accent); border-right: 3px solid var(--v0-context-accent); border-radius: 0 7px 0 0; }
.v0-reticle-corner-bl { bottom: 0; left: 0; border-bottom: 3px solid var(--v0-context-accent); border-left: 3px solid var(--v0-context-accent); border-radius: 0 0 0 7px; }
.v0-reticle-corner-br { right: 0; bottom: 0; border-right: 3px solid var(--v0-context-accent); border-bottom: 3px solid var(--v0-context-accent); border-radius: 0 0 7px; }
.v0-reticle.is-clipped .v0-reticle-corner { width: 16px; height: 16px; opacity: 0.76; }
.v0-reticle.show .v0-reticle-corner { animation: v0-reticle-breathe 1.8s ease-in-out infinite; }
.v0-reticle.show { opacity: 1; }
@keyframes v0-reticle-breathe { 50% { opacity: 0.52; filter: drop-shadow(0 0 9px var(--v0-context-accent)); } }

.v0-selection {
  position: absolute;
  left: max(10px, env(safe-area-inset-left));
  right: max(10px, env(safe-area-inset-right));
  bottom: calc(67px + env(safe-area-inset-bottom));
  min-height: 128px;
  display: grid;
  gap: 13px;
  padding: 16px;
  border: 1px solid var(--v0-line);
  border-radius: 22px;
  background: linear-gradient(145deg, rgba(19, 24, 36, 0.96), rgba(7, 10, 16, 0.95));
  box-shadow: 0 20px 70px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(24px) saturate(1.2);
  pointer-events: auto;
  overflow: hidden;
}
.v0-selection::before {
  content: "";
  position: absolute;
  top: 16px;
  bottom: 16px;
  left: 0;
  width: 3px;
  border-radius: 0 5px 5px 0;
  background: linear-gradient(180deg, var(--v0-context-accent), var(--v0-warm));
  box-shadow: 0 0 18px rgba(110, 240, 213, 0.35);
}
.v0-selection-toggle { display: none; }
.v0-selection-meta { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.v0-selection-meta span { color: var(--v0-context-accent); font-size: 8px; font-weight: 900; letter-spacing: 0.17em; text-transform: uppercase; }
.v0-selection-meta small { color: #7f8998; font-size: 8px; font-weight: 750; }
.v0-selection h1 { overflow: hidden; margin: 5px 0 4px; color: #fff; font: 400 clamp(22px, 7vw, 32px)/1 Georgia, "Times New Roman", serif; letter-spacing: -0.035em; text-overflow: ellipsis; white-space: nowrap; }
.v0-selection p { display: -webkit-box; overflow: hidden; margin: 0; color: var(--v0-muted); font-size: 10px; line-height: 1.45; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.v0-selection-actions { display: grid; grid-template-columns: 44px 1fr 44px; gap: 7px; align-self: end; }
.v0-selection-actions button { min-height: 44px; border-radius: 11px; cursor: pointer; }
.v0-step { border: 1px solid var(--v0-line); background: rgba(255, 255, 255, 0.05); color: var(--v0-text); }
.v0-step:disabled { opacity: 0.35; }
.v0-primary { border: 1px solid var(--v0-context-accent); background: var(--v0-context-accent); color: #06110f; font-size: 10px; font-weight: 900; }
.v0-is-overview .v0-selection-actions { grid-template-columns: 1fr; }
.v0-is-overview .v0-selection-actions .v0-step { display: none; }

.v0-district-rail {
  position: absolute;
  z-index: 2;
  top: 50%;
  right: max(10px, env(safe-area-inset-right));
  display: none;
  gap: 7px;
  transform: translateY(-62%);
  pointer-events: auto;
}
.v0-has-districts .v0-district-rail { display: grid; }
.v0-district-rail button {
  width: 44px;
  min-width: 44px;
  height: 44px;
  display: grid;
  grid-template-columns: 1fr;
  place-items: center;
  gap: 0;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 14px;
  background: rgba(8, 12, 18, 0.88);
  box-shadow: 0 9px 28px rgba(0, 0, 0, 0.26);
  color: #8993a2;
  backdrop-filter: blur(8px);
  cursor: pointer;
}
.v0-district-rail button i {
  display: grid;
  width: 23px;
  height: 23px;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-size: 8px;
  font-style: normal;
  font-weight: 900;
}
.v0-district-rail button span { display: none; }
.v0-district-rail button.active {
  border-color: rgba(110, 240, 213, 0.65);
  background: rgba(16, 39, 36, 0.94);
  color: var(--v0-accent);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.34), 0 0 18px rgba(110, 240, 213, 0.12);
}

.v0-map-controls {
  position: absolute;
  z-index: 2;
  top: calc(max(10px, env(safe-area-inset-top)) + 68px);
  left: max(10px, env(safe-area-inset-left));
  display: grid;
  gap: 5px;
  padding: 4px;
  border: 1px solid var(--v0-line);
  border-radius: 15px;
  background: rgba(8, 12, 18, 0.86);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.26);
  backdrop-filter: blur(8px);
  pointer-events: auto;
}
.v0-map-controls button {
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 11px;
  background: transparent;
  color: var(--v0-text);
  font-size: 22px;
  font-weight: 500;
  line-height: 1;
  cursor: pointer;
}
.v0-map-controls button + button { border-top: 1px solid var(--v0-line); border-radius: 0 0 11px 11px; }
.v0-map-controls button:hover,
.v0-map-controls button:active { background: rgba(110, 240, 213, 0.1); color: var(--v0-accent); }
.v0-is-inside .v0-map-controls,
.v0-is-inside .v0-district-rail { display: none; }

.v0-nav {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: calc(59px + env(safe-area-inset-bottom));
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 5px max(8px, env(safe-area-inset-right)) env(safe-area-inset-bottom) max(8px, env(safe-area-inset-left));
  border-top: 1px solid var(--v0-line);
  background: rgba(6, 9, 15, 0.94);
  backdrop-filter: blur(22px);
  pointer-events: auto;
}
.v0-nav button { display: grid; place-items: center; align-content: center; gap: 4px; border: 0; background: transparent; color: #8993a2; font-size: 9px; font-weight: 750; cursor: pointer; }
.v0-nav button:active, .v0-nav button:hover,
.v0-nav button[aria-current="page"],
.v0-nav button[aria-expanded="true"] { color: var(--v0-accent); }
.v0-icon { position: relative; display: block; width: 18px; height: 18px; }
.v0-icon.overview { border: 1.5px solid currentColor; border-radius: 50%; }
.v0-icon.overview::before { content: ""; position: absolute; inset: 4px; border: 1px solid currentColor; border-radius: 50%; }
.v0-icon.browse { border: 1.5px solid currentColor; border-radius: 4px; }
.v0-icon.browse::before, .v0-icon.browse::after { content: ""; position: absolute; left: 3px; right: 3px; height: 1px; background: currentColor; }
.v0-icon.browse::before { top: 5px; }.v0-icon.browse::after { bottom: 5px; }
.v0-icon.map { border: 1.5px solid currentColor; transform: skewY(-9deg); }
.v0-icon.map::before, .v0-icon.map::after { content: ""; position: absolute; top: -1px; bottom: -1px; width: 1px; background: currentColor; }
.v0-icon.map::before { left: 5px; }.v0-icon.map::after { right: 5px; }
.v0-icon.live { display: grid; grid-template-columns: repeat(4, 1fr); align-items: end; gap: 2px; padding: 3px 1px; }
.v0-icon.live::before { content: ""; width: 100%; height: 45%; border-radius: 2px 2px 0 0; background: currentColor; box-shadow: 5px -4px 0 currentColor, 10px 2px 0 currentColor, 15px -7px 0 currentColor; }
.v0-icon.more::before { content: "\2022\00a0\2022\00a0\2022"; position: absolute; inset: -3px; font-size: 15px; letter-spacing: 0; }

.v0-drawer-backdrop { position: absolute; inset: 0; z-index: 3; display: none; background: rgba(2, 4, 8, 0.5); pointer-events: auto; }
.v0-drawer {
  position: absolute;
  z-index: 4;
  left: 0;
  right: 0;
  bottom: 0;
  max-height: min(82vh, calc(var(--app-h, 100vh) - 38px));
  display: flex;
  flex-direction: column;
  padding: 7px max(14px, env(safe-area-inset-right)) calc(14px + env(safe-area-inset-bottom)) max(14px, env(safe-area-inset-left));
  border: 1px solid var(--v0-line);
  border-bottom: 0;
  border-radius: 25px 25px 0 0;
  background: var(--v0-panel-solid);
  box-shadow: 0 -24px 80px rgba(0, 0, 0, 0.58);
  transform: translateY(104%);
  transition: transform 0.28s cubic-bezier(0.2, 0.85, 0.25, 1);
  pointer-events: auto;
}
.v0-drawer.open { transform: translateY(0); }
.v0-drawer.open ~ * { pointer-events: none; }
.v0-interface:has(.v0-drawer.open) .v0-drawer-backdrop { display: block; }
.v0-drawer-grab { width: 42px; height: 4px; flex: none; margin: 0 auto 9px; border-radius: 99px; background: #343c49; }
.v0-drawer > header { display: flex; flex: none; align-items: center; justify-content: space-between; gap: 16px; }
.v0-drawer > header small { color: var(--v0-accent); font-size: 8px; font-weight: 900; letter-spacing: 0.18em; }
.v0-drawer > header h2 { margin: 3px 0 0; font: 400 25px/1 Georgia, "Times New Roman", serif; }
.v0-drawer > header button { width: 44px; height: 44px; border: 1px solid var(--v0-line); border-radius: 50%; background: rgba(255, 255, 255, 0.04); color: var(--v0-text); font-size: 20px; cursor: pointer; }
.v0-search { position: relative; display: block; flex: none; margin-top: 16px; }
.v0-search span { position: absolute; z-index: 1; top: 50%; left: 15px; width: 11px; height: 11px; border: 1px solid #828c9b; border-radius: 50%; transform: translateY(-58%); }
.v0-search span::after { content: ""; position: absolute; right: -5px; bottom: -3px; width: 5px; height: 1px; background: #828c9b; transform: rotate(45deg); }
.v0-search input { width: 100%; height: 45px; padding: 0 14px 0 39px; border: 1px solid var(--v0-line); border-radius: 13px; outline: 0; background: rgba(255, 255, 255, 0.045); color: #fff; font-size: 12px; }
.v0-search input:focus { border-color: rgba(88, 234, 212, 0.65); box-shadow: 0 0 0 3px rgba(88, 234, 212, 0.08); }
.v0-directory-progress { display: grid; gap: 8px; margin-top: 14px; padding: 11px 13px; border: 1px solid rgba(110, 240, 213, 0.2); border-radius: 13px; background: rgba(110, 240, 213, 0.055); }
.v0-directory-progress[hidden] { display: none; }
.v0-directory-progress > span { color: var(--v0-muted); font-size: 9px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.v0-directory-progress > span b { color: var(--v0-accent); font-size: 12px; }
.v0-directory-progress > i { height: 3px; overflow: hidden; border-radius: 99px; background: rgba(255, 255, 255, 0.09); }
.v0-directory-progress > i b { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--v0-accent), var(--v0-warm)); box-shadow: 0 0 12px rgba(110, 240, 213, 0.45); transition: width 0.3s ease; }
.v0-tabs { display: flex; flex: none; gap: 5px; overflow-x: auto; padding: 12px 0 7px; scrollbar-width: none; }
.v0-tabs::-webkit-scrollbar { display: none; }
.v0-tabs button { flex: none; min-height: 40px; padding: 0 14px; border: 1px solid var(--v0-line); border-radius: 99px; background: transparent; color: #929aa8; font-size: 10px; font-weight: 800; cursor: pointer; }
.v0-tabs button.active { border-color: rgba(88, 234, 212, 0.65); background: rgba(88, 234, 212, 0.11); color: var(--v0-accent); }
.v0-drawer-body { min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 4px 0 15px; scrollbar-width: thin; }
.v0-directory-item { width: 100%; min-height: 92px; display: grid; grid-template-columns: 34px 1fr auto; align-items: center; gap: 12px; padding: 11px 10px; border: 0; border-bottom: 1px solid rgba(255, 255, 255, 0.075); background: transparent; color: var(--v0-text); text-align: left; text-decoration: none; cursor: pointer; }
.v0-directory-item.selected { background: linear-gradient(90deg, rgba(88, 234, 212, 0.11), transparent); }
.v0-directory-item.visited { --v0-marker-color: var(--v0-warm); }
.v0-item-marker { width: 32px; height: 32px; display: grid; place-items: center; border: 1px solid var(--v0-marker-color, var(--v0-accent)); border-radius: 50%; color: var(--v0-marker-color, var(--v0-accent)); box-shadow: 0 0 12px rgba(88, 234, 212, 0.18); font-size: 8px; font-weight: 900; }
.v0-directory-item b { display: block; margin-top: 4px; font: 400 17px/1.15 Georgia, "Times New Roman", serif; }
.v0-directory-item small { display: block; color: #8b96a5; font-size: 7px; font-weight: 850; letter-spacing: 0.11em; text-transform: uppercase; }
.v0-directory-item em { display: -webkit-box; overflow: hidden; margin-top: 5px; color: var(--v0-muted); font-size: 9px; font-style: normal; line-height: 1.35; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.v0-directory-item > i { color: var(--v0-accent); font-size: 8px; font-style: normal; font-weight: 850; white-space: nowrap; }
.v0-empty { padding: 28px 8px; color: var(--v0-muted); font-size: 12px; text-align: center; }
.v0-action-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding-top: 16px; }
.v0-action-grid button { min-height: 86px; padding: 14px; border: 1px solid var(--v0-line); border-radius: 15px; background: linear-gradient(145deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.015)); color: var(--v0-text); text-align: left; cursor: pointer; }
.v0-action-grid span { display: block; color: #fff; font: 400 17px/1.1 Georgia, "Times New Roman", serif; }
.v0-action-grid small { display: block; margin-top: 7px; color: var(--v0-muted); font-size: 9px; line-height: 1.35; }

body.blakcity-v0 #bubble { z-index: 35; max-width: min(260px, calc(100vw - 24px)); }

.v0-interface :is(button, a, input):focus-visible {
  outline: 2px solid var(--v0-accent);
  outline-offset: 3px;
}

@media (max-width: 879px) {
  .v0-topbar,
  .v0-selection,
  .v0-nav,
  .v0-outside { backdrop-filter: blur(8px) saturate(1.08); }
  .v0-topbar { background: rgba(8, 11, 18, 0.94); box-shadow: 0 10px 28px rgba(0, 0, 0, 0.24); }
  .v0-selection { max-height: 260px; background: linear-gradient(145deg, rgba(19, 24, 36, 0.98), rgba(7, 10, 16, 0.98)); box-shadow: 0 14px 42px rgba(0, 0, 0, 0.4); transition: max-height 0.22s ease, min-height 0.22s ease, padding 0.22s ease, border-radius 0.22s ease; }
  .v0-selection-copy { min-width: 0; }
  .v0-selection-meta,
  .v0-selection h1 { padding-right: 48px; }
  .v0-selection-toggle {
    position: absolute;
    z-index: 2;
    top: 8px;
    right: 8px;
    width: 44px;
    min-width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.055);
    color: var(--v0-context-accent);
    cursor: pointer;
  }
  .v0-selection-toggle i { width: 10px; height: 10px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform 0.2s ease; }
  .v0-selection p,
  .v0-selection-actions { transition: opacity 0.14s ease, visibility 0s linear; }
  .v0-selection-collapsed .v0-selection { min-height: 64px; max-height: 64px; gap: 0; padding: 9px 58px 9px 14px; border-radius: 17px; }
  .v0-selection-collapsed .v0-selection::before { top: 10px; bottom: 10px; }
  .v0-selection-collapsed .v0-selection-copy { align-self: center; }
  .v0-selection-collapsed .v0-selection-meta { justify-content: flex-start; padding-right: 0; }
  .v0-selection-collapsed .v0-selection-meta small,
  .v0-selection-collapsed .v0-selection p,
  .v0-selection-collapsed .v0-selection-actions { opacity: 0; visibility: hidden; pointer-events: none; }
  .v0-selection-collapsed .v0-selection h1 { margin: 3px 0 0; padding: 0; font-size: 20px; line-height: 1; }
  .v0-selection-collapsed .v0-selection-toggle { top: 9px; right: 8px; }
  .v0-selection-collapsed .v0-selection-toggle i { transform: translateY(2px) rotate(225deg); }
  .v0-nav { background: rgba(6, 9, 15, 0.98); }
  .v0-drawer { contain: layout paint; }
}

@media (max-width: 359px) and (orientation: portrait) {
  .v0-topbar { gap: 7px; padding-right: 7px; padding-left: 10px; }
  .v0-brand { font-size: 13px; }
  .v0-brand i { margin-left: 4px; padding-right: 4px; padding-left: 4px; }
  .v0-location { padding-left: 7px; }
  .v0-location small { font-size: 7px; }
  .v0-browse-button { min-width: 64px; padding: 0 8px; }
  .v0-selection { min-height: 136px; gap: 8px; padding: 12px 13px; border-radius: 19px; }
  .v0-selection-meta small { display: none; }
  .v0-selection h1 { margin-top: 4px; font-size: 22px; }
  .v0-selection p { font-size: 10px; -webkit-line-clamp: 1; }
  .v0-selection-actions { grid-template-columns: 44px 1fr 44px; gap: 6px; }
  .v0-map-controls { left: 7px; padding: 3px; }
  .v0-map-controls button { width: 44px; height: 44px; }
  .v0-district-rail { right: 7px; gap: 5px; }
  .v0-district-rail button { width: 44px; min-width: 44px; height: 44px; }
}

@media (min-width: 880px) {
  .v0-topbar { top: 18px; left: 20px; right: 20px; min-height: 62px; padding-left: 17px; }
  .v0-brand { font-size: 18px; }
  .v0-location > span { font-size: 14px; }
  .v0-browse-button { min-width: 96px; min-height: 42px; font-size: 11px; }
  .v0-selection { top: 96px; right: 20px; bottom: auto; left: auto; width: 350px; min-height: 210px; padding: 23px; }
  .v0-selection h1 { margin-top: 10px; font-size: 35px; white-space: normal; }
  .v0-selection p { font-size: 12px; line-height: 1.55; -webkit-line-clamp: 4; }
  .v0-selection-actions { margin-top: 12px; grid-template-columns: 44px 1fr 44px; }
  .v0-selection-actions button { min-height: 44px; }
  .v0-nav { top: 50%; right: auto; bottom: auto; left: 20px; width: 68px; height: auto; grid-template-columns: 1fr; gap: 4px; padding: 7px; border: 1px solid var(--v0-line); border-radius: 18px; transform: translateY(-50%); }
  .v0-nav button { min-height: 58px; border-radius: 12px; }
  .v0-nav button:hover { background: rgba(88, 234, 212, 0.08); }
  .v0-outside { top: 96px; left: 20px; }
  .v0-drawer { top: 0; right: auto; bottom: 0; width: min(410px, 38vw); max-height: none; padding: 18px 20px; border: 0; border-right: 1px solid var(--v0-line); border-radius: 0 24px 24px 0; transform: translateX(-104%); }
  .v0-drawer.open { transform: translateX(0); }
  .v0-drawer-grab { display: none; }
  .v0-drawer > header h2 { font-size: 32px; }
  .v0-drawer-backdrop { background: rgba(2, 4, 8, 0.38); }
  .v0-map-controls { top: auto; bottom: 24px; left: 104px; grid-template-columns: 44px 44px; }
  .v0-map-controls button + button { border-top: 0; border-left: 1px solid var(--v0-line); border-radius: 0 11px 11px 0; }
  .v0-district-rail { top: 50%; right: 390px; gap: 8px; transform: translateY(-50%); }
  .v0-district-rail button { width: 132px; grid-template-columns: 28px 1fr; justify-items: start; gap: 8px; padding: 0 10px; }
  .v0-district-rail button span { display: block; overflow: hidden; font-size: 9px; font-weight: 850; letter-spacing: 0.06em; text-overflow: ellipsis; text-transform: uppercase; white-space: nowrap; }
}

@media (max-height: 620px) and (max-width: 879px) and (orientation: landscape) {
  .v0-selection { min-height: 106px; grid-template-columns: 1fr minmax(130px, 0.75fr); align-items: end; padding: 12px 14px; }
  .v0-selection h1 { font-size: 21px; }
  .v0-selection p { -webkit-line-clamp: 1; }
  .v0-selection-actions { align-self: center; }
  .v0-selection .v0-primary { font-size: 0; }
  .v0-primary::after { content: attr(data-compact-label); font-size: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  .v0-reticle, .v0-drawer, .v0-selection, .v0-selection-toggle i, .v0-selection p, .v0-selection-actions { transition: none; }
  .v0-reticle-corner { animation: none !important; }
}
