@charset "UTF-8";
/* GENERATED from tokens.json by `bun run tokens:build` — do not edit by hand. */
* {
  box-sizing: border-box;
}

html {
  height: 100%;
}

body {
  margin: 0;
  height: 100%;
  overflow: hidden;
  background: #0c0c0e;
  color: #f2f0ea;
}

/* film grain — fixed pseudo-element, never animated */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 90;
  pointer-events: none;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='0.6'/%3E%3C/svg%3E");
}

/* warm vignette */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 80;
  pointer-events: none;
  background: radial-gradient(120% 90% at 50% 40%, transparent 55%, rgba(0, 0, 0, 0.5) 100%);
}

.mono {
  font-family: "JetBrains Mono", "SFMono-Regular", monospace;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(0.625rem);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
body {
  font-family: "Outfit", "Helvetica Neue", sans-serif;
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
}

.mt-1 {
  margin-top: 0.25rem;
}

.mb-1 {
  margin-bottom: 0.25rem;
}

.mt-2 {
  margin-top: 0.5rem;
}

.mb-2 {
  margin-bottom: 0.5rem;
}

.mt-3 {
  margin-top: 0.75rem;
}

.mb-3 {
  margin-bottom: 0.75rem;
}

.mt-4 {
  margin-top: 1rem;
}

.mb-4 {
  margin-bottom: 1rem;
}

.mt-5 {
  margin-top: 1.5rem;
}

.mb-5 {
  margin-bottom: 1.5rem;
}

.mt-6 {
  margin-top: 2rem;
}

.mb-6 {
  margin-bottom: 2rem;
}

.gap-1 {
  gap: 0.25rem;
}

.gap-2 {
  gap: 0.5rem;
}

.gap-3 {
  gap: 0.75rem;
}

.gap-4 {
  gap: 1rem;
}

.gap-5 {
  gap: 1.5rem;
}

.p-2 {
  padding: 0.5rem;
}

.p-3 {
  padding: 0.75rem;
}

.p-4 {
  padding: 1rem;
}

.p-5 {
  padding: 1.5rem;
}

.p-6 {
  padding: 2rem;
}

.flex {
  display: flex;
}

.flex-column {
  flex-direction: column;
}

.items-center {
  align-items: center;
}

.justify-between {
  justify-content: space-between;
}

.justify-center {
  justify-content: center;
}

.hidden {
  display: none;
}

.block {
  display: block;
}

.inline-block {
  display: inline-block;
}

.w-full {
  width: 100%;
}

.text-muted {
  color: #a39f95;
}

.text-small {
  font-size: 0.6875rem;
}

.text-large {
  font-size: 0.90625rem;
}

.font-medium {
  font-weight: 500;
}

.font-semibold {
  font-weight: 600;
}

.font-bold {
  font-weight: 700;
}

.text-center {
  text-align: center;
}

.text-right {
  text-align: right;
}

.truncate {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.text-success {
  color: #9fb89c;
}

.text-warning {
  color: #c9a24d;
}

.text-danger {
  color: #d9776c;
}

.sr-only {
  position: absolute;
  width: 0.0625rem;
  height: 0.0625rem;
  margin: -0.125rem;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.card {
  background: #1b1b20;
  border: 0.0625rem solid rgba(242, 240, 234, 0.07);
  border-radius: 0.625rem;
}

.rounded {
  border-radius: 0.625rem;
}

.shadow-sm {
  box-shadow: 0 0.0625rem 0.125rem rgba(0, 0, 0, 0.3);
}

.shadow-md {
  box-shadow: 0 0.25rem 0.75rem rgba(0, 0, 0, 0.4);
}

.get-there-btn {
  padding: 0.625rem 1.125rem;
  font-family: "JetBrains Mono", "SFMono-Regular", monospace;
  font-size: 0.78125rem;
  font-weight: 600;
  color: #17130a;
  background: #c9a24d;
  border: none;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: transform 0.18s cubic-bezier(0.2, 0.7, 0.3, 1), opacity 0.18s cubic-bezier(0.2, 0.7, 0.3, 1);
}

.get-there-btn:active {
  transform: scale(0.97);
}

.get-there-btn:disabled {
  opacity: 0.55;
  cursor: default;
}

.back {
  font-family: "JetBrains Mono", "SFMono-Regular", monospace;
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #67645d;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: color 0.18s ease, transform 0.18s ease;
}

.back:hover {
  color: #c9a24d;
  transform: translateX(-0.1875rem);
}

header {
  height: 3.5rem;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  border-bottom: 0.0625rem solid rgba(242, 240, 234, 0.07);
  background: linear-gradient(180deg, rgba(20, 20, 23, 0.9), rgba(12, 12, 14, 0.95));
  position: relative;
  z-index: 20;
}

/* brass hairline */
header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.0625rem;
  height: 0.0625rem;
  background: linear-gradient(90deg, #c9a24d 0%, transparent 60%);
  opacity: 0.5;
}

.brand {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 500;
  font-size: 1.25rem;
  letter-spacing: -0.01em;
  white-space: nowrap;
  color: inherit;
  text-decoration: none;
}

.brand em {
  font-style: italic;
  font-weight: 300;
  color: #c9a24d;
}

.bar-meta {
  margin-left: auto;
  font-family: "JetBrains Mono", "SFMono-Regular", monospace;
  font-size: 0.6875rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #67645d;
}

/* mobile: the status pill must stay one line (it otherwise squashes into
   a tall circle), and the "50 BARS" label duplicates it, so it goes */
@media (max-width: 860px) {
  header {
    height: calc(3.5rem + env(safe-area-inset-top));
    padding: env(safe-area-inset-top) 1rem 0;
    gap: 0.75rem;
  }

  .brand {
    font-size: 1.15625rem;
  }

  .status {
    flex: 0 0 auto;
    white-space: nowrap;
    font-size: 0.65625rem;
    padding: 0.25rem 0.625rem;
  }

  .bar-meta {
    display: none;
  }
}
.status {
  font-family: "JetBrains Mono", "SFMono-Regular", monospace;
  font-size: 0.6875rem;
  letter-spacing: 0.04em;
  color: #a39f95;
  padding: 0.25rem 0.75rem;
  border: 0.0625rem solid rgba(242, 240, 234, 0.07);
  border-radius: 999px;
}

.status.error {
  color: #d9776c;
  border-color: rgba(217, 119, 108, 0.35);
}

.chip {
  display: inline-block;
  font-family: "JetBrains Mono", "SFMono-Regular", monospace;
  font-size: 0.625rem;
  letter-spacing: 0.06em;
  padding: 0.1875rem 0.5rem;
  border-radius: 999px;
  border: 0.0625rem solid rgba(242, 240, 234, 0.07);
  color: #a39f95;
  white-space: nowrap;
}

.chip.chip-24 {
  color: #9fb89c;
  border-color: rgba(159, 184, 156, 0.35);
  background: rgba(159, 184, 156, 0.13);
}

.filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin-top: 0.75rem;
  margin-bottom: 0.375rem;
}

.filter-group {
  display: flex;
  gap: 0.25rem;
}

.seg {
  display: inline-flex;
  gap: 0.125rem;
  border: 0.0625rem solid rgba(242, 240, 234, 0.07);
  border-radius: 0.625rem;
  background: #1b1b20;
  padding: 0.1875rem;
  width: 100%;
}

.seg-btn {
  flex: 1 0 auto;
  padding: 0.3125rem 0.625rem;
  border: none;
  border-radius: 0.5rem;
  background: none;
  font-family: "JetBrains Mono", "SFMono-Regular", monospace;
  font-size: 0.6875rem;
  color: #a39f95;
  white-space: nowrap;
  cursor: pointer;
  transition: color 0.18s ease-out, background 0.18s ease-out;
}

.seg-btn:hover {
  color: #f2f0ea;
}

.seg-btn.is-active {
  color: #c9a24d;
  background: rgba(201, 162, 77, 0.14);
}

.radius {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
}

.radius-kicker {
  font-family: "JetBrains Mono", "SFMono-Regular", monospace;
  font-size: 0.6875rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #67645d;
}

.radius-value {
  font-family: "JetBrains Mono", "SFMono-Regular", monospace;
  font-size: 0.6875rem;
  letter-spacing: 0.08em;
  color: #a39f95;
  min-width: 4.5em;
  text-align: right;
}

input[type=range].radius-input {
  -webkit-appearance: none;
  appearance: none;
  flex: 1;
  max-width: 15rem;
  height: 0.125rem;
  border-radius: 999px;
  background: rgba(242, 240, 234, 0.07);
  cursor: pointer;
}

input[type=range].radius-input:focus {
  outline: 0.0625rem solid #c9a24d;
  outline-offset: 0.125rem;
}

input[type=range].radius-input::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 0.875rem;
  height: 0.875rem;
  border: none;
  border-radius: 50%;
  background: #c9a24d;
  transition: transform 0.18s ease-out;
}

input[type=range].radius-input:active::-webkit-slider-thumb {
  transform: scale(1.2);
}

input[type=range].radius-input::-moz-range-thumb {
  width: 0.875rem;
  height: 0.875rem;
  border: none;
  border-radius: 50%;
  background: #c9a24d;
}

/* mobile: the chip rows can't fit six content-width buttons (flex-shrink 0),
   so they scroll; the slider thumb grows for a real touch target */
@media (max-width: 860px) {
  .seg {
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .seg::-webkit-scrollbar {
    display: none;
  }

  input[type=range].radius-input {
    height: 0.25rem;
  }

  input[type=range].radius-input::-webkit-slider-thumb {
    width: 1.25rem;
    height: 1.25rem;
  }

  input[type=range].radius-input::-moz-range-thumb {
    width: 1.25rem;
    height: 1.25rem;
  }
}
/* Hover card for a single dot: positioned by JS (map.project), anchored
   bottom-center on the dot; GSAP only tweens the inner element. */
.dot-card {
  position: absolute;
  z-index: 12;
  /* above map-vignette (10), below header (20) */
  pointer-events: none;
  transform: translate(-50%, calc(-100% - 14px));
}

.dot-card-inner {
  min-width: 120px;
  max-width: 220px;
  padding: 0.5rem 0.75rem;
  background: #1b1b20;
  border: 0.0625rem solid #c9a24d;
  border-radius: 0.625rem;
  box-shadow: 0 0.25rem 0.75rem rgba(0, 0, 0, 0.4);
  opacity: 0;
  transform-origin: 50% 100%;
}

.dot-card-name {
  font-weight: 600;
  font-size: 0.84375rem;
  letter-spacing: -0.01em;
}

.dot-card-close {
  margin-top: 0.1875rem;
  font-family: "JetBrains Mono", "SFMono-Regular", monospace;
  font-size: 0.65625rem;
  letter-spacing: 0.06em;
  color: #c9a24d;
}

.dot-card-close.is-unknown {
  color: #a39f95;
}

.dot-card-dist {
  margin-top: 0.125rem;
  font-family: "JetBrains Mono", "SFMono-Regular", monospace;
  font-size: 0.625rem;
  letter-spacing: 0.06em;
  color: #67645d;
}

/* "Pop out" marker for the sidebar-hover: positioned by JS (map.project),
   centered on the bar's dot; GSAP tweens the inner element + the ring. */
.dot-pop {
  position: absolute;
  z-index: 12;
  /* above map-vignette (10), below header (20) */
  pointer-events: none;
  transform: translate(-50%, -50%);
}

.dot-pop-inner {
  position: relative;
  width: 18px;
  height: 18px;
  opacity: 0;
  transform-origin: 50% 50%;
}

.dot-pop-dot {
  position: absolute;
  inset: 3px;
  border: 0.125rem solid #0c0c0e;
  border-radius: 50%;
  background: #c9a24d;
  box-shadow: 0 0 0 3px rgba(201, 162, 77, 0.22), 0 0 12px rgba(201, 162, 77, 0.5);
}

.dot-pop-ring {
  position: absolute;
  inset: 0;
  border: 0.0625rem solid #c9a24d;
  border-radius: 50%;
}

.map-legend {
  position: absolute;
  left: 0.75rem;
  bottom: 1.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 0.625rem;
  background: rgba(20, 20, 23, 0.9);
  border: 0.0625rem solid rgba(242, 240, 234, 0.07);
  border-radius: 999px;
  z-index: 10;
  pointer-events: none;
}

.map-legend-label {
  font-family: "JetBrains Mono", "SFMono-Regular", monospace;
  font-size: 0.625rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #67645d;
}

.map-legend-bar {
  width: 72px;
  height: 0.3125rem;
  border-radius: 999px;
  background: linear-gradient(90deg, #db8076, #d2ae81, #caca8b, #aec396, #a2bba0);
}

/* mobile: the bottom-left corner is taken by the Mapbox logo + pins,
   so the legend moves to the free top-left corner */
@media (max-width: 860px) {
  .map-legend {
    top: 0.75rem;
    bottom: auto;
    left: 0.75rem;
  }
}
.row {
  min-height: 3.625rem;
  padding: 0.75rem 0.875rem;
  margin-top: 0.125rem;
  border-radius: 0.625rem;
  cursor: pointer;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.875rem;
  transition: background 0.18s ease, transform 0.18s cubic-bezier(0.2, 0.7, 0.3, 1);
  animation: rise 0.5s cubic-bezier(0.2, 0.7, 0.3, 1) both;
}

/* staggered reveal — delays via nth-child, no inline style attributes */
.row:nth-child(1) {
  animation-delay: 45ms;
}

.row:nth-child(2) {
  animation-delay: 90ms;
}

.row:nth-child(3) {
  animation-delay: 135ms;
}

.row:nth-child(4) {
  animation-delay: 180ms;
}

.row:nth-child(5) {
  animation-delay: 225ms;
}

.row:nth-child(6) {
  animation-delay: 270ms;
}

.row:nth-child(7) {
  animation-delay: 315ms;
}

.row:nth-child(8) {
  animation-delay: 360ms;
}

.row:nth-child(9) {
  animation-delay: 405ms;
}

.row:nth-child(10) {
  animation-delay: 450ms;
}

.row:nth-child(11) {
  animation-delay: 495ms;
}

.row:nth-child(12) {
  animation-delay: 540ms;
}

.row:nth-child(13) {
  animation-delay: 585ms;
}

.row:nth-child(14) {
  animation-delay: 630ms;
}

.row:nth-child(15) {
  animation-delay: 675ms;
}

.row:nth-child(16) {
  animation-delay: 720ms;
}

.row:nth-child(17) {
  animation-delay: 765ms;
}

.row:nth-child(18) {
  animation-delay: 810ms;
}

.row:nth-child(19) {
  animation-delay: 855ms;
}

.row:nth-child(20) {
  animation-delay: 900ms;
}

.row:nth-child(21) {
  animation-delay: 945ms;
}

.row:nth-child(22) {
  animation-delay: 990ms;
}

.row:nth-child(23) {
  animation-delay: 1035ms;
}

.row:nth-child(24) {
  animation-delay: 1080ms;
}

.row:nth-child(25) {
  animation-delay: 1125ms;
}

.row:nth-child(26) {
  animation-delay: 1170ms;
}

.row:nth-child(27) {
  animation-delay: 1215ms;
}

.row:nth-child(28) {
  animation-delay: 1260ms;
}

.row:nth-child(29) {
  animation-delay: 1305ms;
}

.row:nth-child(30) {
  animation-delay: 1350ms;
}

.row:hover {
  background: #1b1b20;
  transform: translateX(0.1875rem);
}

.row.active {
  background: rgba(201, 162, 77, 0.14);
}
.row.active .name {
  color: #c9a24d;
}

.row-name {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  min-width: 0;
}

.row-rank {
  font-family: "JetBrains Mono", "SFMono-Regular", monospace;
  font-size: 0.65625rem;
  color: #67645d;
}

.name {
  font-weight: 500;
  font-size: 0.96875rem;
  letter-spacing: -0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color 0.18s ease;
}

.row-closes {
  font-family: "JetBrains Mono", "SFMono-Regular", monospace;
  font-size: 0.78125rem;
  color: #c9a24d;
  white-space: nowrap;
}

.row-closes.is-unknown {
  color: #67645d;
}

.row-dist {
  font-family: "JetBrains Mono", "SFMono-Regular", monospace;
  font-size: 0.6875rem;
  color: #a39f95;
  margin-top: 0.1875rem;
}

.skel {
  height: 3.625rem;
  margin-top: 0.125rem;
  border-radius: 0.625rem;
  overflow: hidden;
  background: #1b1b20;
  position: relative;
}

.skel::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, transparent 30%, rgba(242, 240, 234, 0.05) 50%, transparent 70%);
  animation: shimmer 1.4s linear infinite backwards;
}

/* staggered glare — per-.skel delay via nth-child, no inline style */
.skel:nth-child(1)::after {
  animation-delay: 32ms;
}

.skel:nth-child(2)::after {
  animation-delay: 64ms;
}

.skel:nth-child(3)::after {
  animation-delay: 96ms;
}

.skel:nth-child(4)::after {
  animation-delay: 128ms;
}

.skel:nth-child(5)::after {
  animation-delay: 160ms;
}

.skel:nth-child(6)::after {
  animation-delay: 192ms;
}

.skel:nth-child(7)::after {
  animation-delay: 224ms;
}

.skel:nth-child(8)::after {
  animation-delay: 256ms;
}

.skel:nth-child(9)::after {
  animation-delay: 288ms;
}

.skel:nth-child(10)::after {
  animation-delay: 320ms;
}

@keyframes shimmer {
  from {
    transform: translateX(-100%);
  }
  to {
    transform: translateX(100%);
  }
}
.empty {
  padding: 4rem 2rem;
  text-align: center;
}

.empty-title {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 400;
  font-size: 1.5rem;
  color: #a39f95;
}

.empty-sub {
  margin-top: 0.5rem;
  font-size: 0.84375rem;
  color: #67645d;
}

.empty-line {
  width: 2.625rem;
  height: 0.0625rem;
  background: #c9a24d;
  opacity: 0.6;
  margin: 1.375rem auto 0;
}

.mapboxgl-map .mapboxgl-marker {
  position: absolute;
  left: 0;
  top: 0;
}

.me-ping {
  position: relative;
  width: 1.5rem;
  height: 1.5rem;
  cursor: pointer;
}

.me-ping-dot {
  position: absolute;
  inset: 0.4375rem;
  border-radius: 50%;
  background: #7fa8d9;
  border: 0.125rem solid #f2f0ea;
  box-shadow: 0 0 0.25rem rgba(127, 168, 217, 0.45);
}

.me-ping-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: rgba(127, 168, 217, 0.4);
  animation: me-ping 1.8s cubic-bezier(0, 0, 0.2, 1) infinite;
}

@keyframes me-ping {
  0% {
    transform: scale(0.4);
    opacity: 1;
  }
  80%, 100% {
    transform: scale(2.4);
    opacity: 0;
  }
}
.route-map {
  height: 20rem;
  border-radius: 0.625rem;
  overflow: hidden;
  background: #0a0a0c;
}

.route-summary {
  margin-top: 1rem;
  font-family: "JetBrains Mono", "SFMono-Regular", monospace;
  font-size: 0.78125rem;
  color: #a39f95;
}

.route-summary.is-error {
  color: #d9776c;
}

.route-steps {
  list-style: none;
  margin: 0.75rem 0 0;
  padding: 0;
}

.route-step {
  display: flex;
  align-items: baseline;
  gap: 0.875rem;
  padding: 0.625rem 0;
  border-bottom: 0.0625rem solid rgba(242, 240, 234, 0.07);
  animation: rise 0.4s cubic-bezier(0.2, 0.7, 0.3, 1) both;
}

/* staggered reveal — delays via nth-child, no inline style attributes */
.route-step:nth-child(1) {
  animation-delay: 45ms;
}

.route-step:nth-child(2) {
  animation-delay: 90ms;
}

.route-step:nth-child(3) {
  animation-delay: 135ms;
}

.route-step:nth-child(4) {
  animation-delay: 180ms;
}

.route-step:nth-child(5) {
  animation-delay: 225ms;
}

.route-step:nth-child(6) {
  animation-delay: 270ms;
}

.route-step:nth-child(7) {
  animation-delay: 315ms;
}

.route-step:nth-child(8) {
  animation-delay: 360ms;
}

.route-step:nth-child(9) {
  animation-delay: 405ms;
}

.route-step:nth-child(10) {
  animation-delay: 450ms;
}

.route-step:nth-child(11) {
  animation-delay: 495ms;
}

.route-step:nth-child(12) {
  animation-delay: 540ms;
}

.route-step:nth-child(13) {
  animation-delay: 585ms;
}

.route-step:nth-child(14) {
  animation-delay: 630ms;
}

.route-step:nth-child(15) {
  animation-delay: 675ms;
}

.route-step:nth-child(16) {
  animation-delay: 720ms;
}

.route-step:nth-child(17) {
  animation-delay: 765ms;
}

.route-step:nth-child(18) {
  animation-delay: 810ms;
}

.route-step:nth-child(19) {
  animation-delay: 855ms;
}

.route-step:nth-child(20) {
  animation-delay: 900ms;
}

.route-step:nth-child(21) {
  animation-delay: 945ms;
}

.route-step:nth-child(22) {
  animation-delay: 990ms;
}

.route-step:nth-child(23) {
  animation-delay: 1035ms;
}

.route-step:nth-child(24) {
  animation-delay: 1080ms;
}

.route-num {
  font-family: "JetBrains Mono", "SFMono-Regular", monospace;
  font-size: 0.65625rem;
  color: #67645d;
  flex-shrink: 0;
}

.route-instruction {
  font-size: 0.9375rem;
  color: #f2f0ea;
}

.route-meta {
  margin-top: 0.125rem;
  font-family: "JetBrains Mono", "SFMono-Regular", monospace;
  font-size: 0.6875rem;
  color: #a39f95;
}

@media (max-width: 860px) {
  .route-map {
    height: 15rem;
  }
}
/* Mobile: when the drawer closes after plotting, the summary floats over
   the map band (the steps list stays in the drawer). Desktop: hidden. */
.route-card {
  display: none;
}

.route-card[hidden] {
  display: none;
}

@media (max-width: 860px) {
  .route-card {
    display: flex;
    position: absolute;
    left: 50%;
    bottom: 0.75rem;
    transform: translateX(-50%);
    max-width: calc(100% - 1.5rem);
    padding: 0.375rem 0.875rem;
    background: rgba(20, 20, 23, 0.9);
    border: 0.0625rem solid rgba(242, 240, 234, 0.07);
    border-radius: 999px;
    z-index: 10;
    pointer-events: none;
  }

  .route-card span {
    font-family: "JetBrains Mono", "SFMono-Regular", monospace;
    font-size: 0.65625rem;
    letter-spacing: 0.06em;
    color: #c9a24d;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .route-card.is-error span {
    color: #d9776c;
  }
}
.hours-table {
  width: 100%;
  border-collapse: collapse;
  font-family: "JetBrains Mono", "SFMono-Regular", monospace;
  font-size: 0.84375rem;
}

.hours-table td {
  padding: 0.5rem 0;
  border-bottom: 0.0625rem solid rgba(242, 240, 234, 0.07);
  color: #a39f95;
}

.hours-day {
  width: 3.375rem;
  font-size: 0.6875rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #67645d;
}

.menu-items {
  list-style: none;
  margin: 0;
  padding: 0;
}
.menu-items li {
  padding: 0.5rem 0 0.5rem 1.25rem;
  font-size: 0.9375rem;
  color: #a39f95;
  border-bottom: 0.0625rem solid rgba(242, 240, 234, 0.07);
  position: relative;
}
.menu-items li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1rem;
  width: 0.3125rem;
  height: 0.0625rem;
  background: #c9a24d;
}

.review {
  padding: 1rem 0;
  border-bottom: 0.0625rem solid rgba(242, 240, 234, 0.07);
  font-size: 0.90625rem;
  color: #a39f95;
}

.review .author {
  font-family: "JetBrains Mono", "SFMono-Regular", monospace;
  font-size: 0.75rem;
  color: #c9a24d;
  letter-spacing: 0.04em;
}

.drawer {
  position: fixed;
  top: 0;
  right: 0;
  height: 100dvh;
  width: min(26.875rem, 100vw);
  background: #141417;
  border-left: 0.0625rem solid rgba(242, 240, 234, 0.07);
  box-shadow: 0 0.25rem 0.75rem rgba(0, 0, 0, 0.4);
  z-index: 30;
  transform: translateX(102%);
  transition: transform 0.4s cubic-bezier(0.2, 0.7, 0.3, 1);
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #1b1b20 transparent;
}

.drawer.open {
  transform: translateX(0);
}

.drawer-inner {
  padding: 1.25rem 1.5rem 3rem;
}

.drawer .back {
  margin-bottom: 1.25rem;
}

.drawer-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.drawer h1 {
  margin: 0;
  font-family: "Fraunces", Georgia, serif;
  font-weight: 400;
  font-size: 1.5rem;
  letter-spacing: -0.01em;
  line-height: 1.05;
}

.drawer .closing {
  text-align: right;
  flex-shrink: 0;
}

.drawer .closing-label {
  font-family: "JetBrains Mono", "SFMono-Regular", monospace;
  font-size: 0.6875rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #67645d;
  margin-bottom: 0.25rem;
}

.drawer .closing-value {
  font-family: "JetBrains Mono", "SFMono-Regular", monospace;
  font-size: 1.15625rem;
  color: #c9a24d;
}

.drawer .closing-value.is-unknown {
  color: #a39f95;
}

.drawer h2 {
  font-family: "JetBrains Mono", "SFMono-Regular", monospace;
  font-size: 0.6875rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #67645d;
  font-weight: 400;
  margin: 1.75rem 0 0.875rem;
}

.stage {
  display: grid;
  grid-template-columns: minmax(22.5rem, 27.5rem) 1fr;
  height: calc(100% - 3.5rem);
}

.menu {
  overflow-y: auto;
  background: #141417;
  border-right: 0.0625rem solid rgba(242, 240, 234, 0.07);
  scrollbar-width: thin;
  scrollbar-color: #1b1b20 transparent;
}

.menu-head {
  position: sticky;
  top: 0;
  z-index: 5;
  padding: 1rem 1.375rem 0.875rem;
  background: #141417;
  border-bottom: 0.0625rem solid rgba(242, 240, 234, 0.07);
}

.menu-kicker {
  font-family: "JetBrains Mono", "SFMono-Regular", monospace;
  font-size: 0.6875rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #67645d;
}

.menu-title {
  margin-top: 0.25rem;
  font-family: "Fraunces", Georgia, serif;
  font-weight: 400;
  font-size: 1.4375rem;
  letter-spacing: -0.01em;
}

.bar-list {
  padding: 0.625rem 0.875rem 2rem;
}

.map {
  position: relative;
  overflow: hidden;
  background: #0a0a0c;
}

/* map vignette */
.map::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 10;
  pointer-events: none;
  background: radial-gradient(140% 110% at 50% 45%, transparent 60%, rgba(10, 10, 12, 0.55) 100%);
}

@media (max-width: 860px) {
  body {
    overflow: auto;
  }

  .stage {
    grid-template-columns: 1fr;
    grid-template-rows: 44vh auto;
  }

  .map {
    order: 1;
  }

  .menu {
    order: 2;
    border-right: none;
    border-top: 0.0625rem solid rgba(242, 240, 234, 0.07);
    overflow: visible;
  }

  .bar-list {
    padding-bottom: calc(2rem + env(safe-area-inset-bottom));
  }
}
.detail {
  max-width: 47.5rem;
  margin: 0 auto;
  padding: 3rem 2rem 5rem;
  animation: rise 0.5s cubic-bezier(0.2, 0.7, 0.3, 1) both;
}

.detail-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}

.detail h1 {
  margin: 0;
  font-family: "Fraunces", Georgia, serif;
  font-weight: 400;
  font-size: clamp(2.1875rem, 6vw, 3.40625rem);
  letter-spacing: -0.02em;
  line-height: 1.05;
}

.chips {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.875rem;
  flex-wrap: wrap;
}

.closing {
  text-align: right;
}

.closing-label {
  font-family: "JetBrains Mono", "SFMono-Regular", monospace;
  font-size: 0.6875rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #67645d;
}

.closing-value {
  font-family: "JetBrains Mono", "SFMono-Regular", monospace;
  font-size: 1.15625rem;
  color: #c9a24d;
  margin-top: 0.375rem;
}

.closing-value.is-unknown {
  color: #a39f95;
}

.detail section {
  margin-top: 2.625rem;
}

.detail h2 {
  font-family: "JetBrains Mono", "SFMono-Regular", monospace;
  font-size: 0.6875rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #67645d;
  font-weight: 400;
  margin: 0 0 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 0.0625rem solid rgba(242, 240, 234, 0.07);
}

.status-note {
  color: #67645d;
  font-size: 0.90625rem;
}

body.admin-body {
  overflow: auto;
  height: auto;
}

html:has(> body.admin-body) {
  scrollbar-width: thin;
  scrollbar-color: #1b1b20 transparent;
}

html:has(> body.admin-body)::-webkit-scrollbar {
  width: 10px;
}

html:has(> body.admin-body)::-webkit-scrollbar-track {
  background: transparent;
}

html:has(> body.admin-body)::-webkit-scrollbar-thumb {
  background: #1b1b20;
  border-radius: 999px;
}

.admin-main {
  max-width: 67.5rem;
  margin: 0 auto;
  padding: 0 1.5rem 5rem;
}

.admin-tag {
  font-family: "JetBrains Mono", "SFMono-Regular", monospace;
  font-size: 0.625rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #c9a24d;
}

.admin-who {
  margin-right: 0.875rem;
  color: #67645d;
}

.admin-site {
  color: #a39f95;
  text-decoration: none;
  transition: color 0.18s ease;
}

.admin-site:hover {
  color: #c9a24d;
}

/* ---------- page head / controls / count ---------- */
.admin-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.admin-title {
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.5rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  margin: 0;
}

.admin-controls {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  flex-wrap: wrap;
}

.admin-search {
  width: min(320px, 100%);
}

.admin-count {
  font-family: "JetBrains Mono", "SFMono-Regular", monospace;
  font-size: 0.6875rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #67645d;
  margin-top: 1.75rem;
}

/* ---------- buttons (shared look for <button>, <a> and button_to forms) ---------- */
.admin-btn {
  display: inline-block;
  padding: 0.5rem 0.875rem;
  font-family: "JetBrains Mono", "SFMono-Regular", monospace;
  font-size: 0.6875rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  border-radius: 0.5rem;
  border: 0.0625rem solid rgba(242, 240, 234, 0.07);
  cursor: pointer;
  text-decoration: none;
  transition: color 0.18s ease, border-color 0.18s ease, background 0.18s ease, transform 0.18s cubic-bezier(0.2, 0.7, 0.3, 1), opacity 0.18s ease;
  color: #a39f95;
  background: #1b1b20;
}

.admin-btn:hover {
  color: #f2f0ea;
  border-color: #67645d;
}

.admin-btn:active {
  transform: scale(0.97);
}

.admin-btn-brass {
  color: #17130a;
  background: #c9a24d;
  border-color: #c9a24d;
  font-weight: 600;
}

.admin-btn-brass:hover {
  opacity: 0.88;
  color: #17130a;
  border-color: #c9a24d;
}

.admin-btn-small {
  padding: 0.25rem 0.625rem;
  font-size: 0.625rem;
}

.admin-delete-form {
  display: inline-flex;
  margin-top: 1rem;
}

.admin-delete-form button {
  display: inline-block;
  padding: 0.5rem 0.875rem;
  font-family: "JetBrains Mono", "SFMono-Regular", monospace;
  font-size: 0.6875rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  border-radius: 0.5rem;
  border: 0.0625rem solid rgba(242, 240, 234, 0.07);
  cursor: pointer;
  text-decoration: none;
  transition: color 0.18s ease, border-color 0.18s ease, background 0.18s ease, transform 0.18s cubic-bezier(0.2, 0.7, 0.3, 1), opacity 0.18s ease;
  color: #d9776c;
  border-color: rgba(217, 119, 108, 0.35);
  background: none;
}

.admin-delete-form button:hover {
  background: rgba(217, 119, 108, 0.08);
  border-color: #d9776c;
}

.admin-delete-form button:active {
  transform: scale(0.97);
}

.admin-inline-del {
  display: inline;
  margin: 0;
}

.admin-inline-del button {
  display: inline-block;
  padding: 0.25rem 0.625rem;
  font-family: "JetBrains Mono", "SFMono-Regular", monospace;
  font-size: 0.625rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  border-radius: 0.5rem;
  border: 0.0625rem solid rgba(242, 240, 234, 0.07);
  cursor: pointer;
  text-decoration: none;
  transition: color 0.18s ease, border-color 0.18s ease, background 0.18s ease, transform 0.18s cubic-bezier(0.2, 0.7, 0.3, 1), opacity 0.18s ease;
  color: #d9776c;
  border-color: rgba(217, 119, 108, 0.35);
  background: none;
}

.admin-inline-del button:hover {
  background: rgba(217, 119, 108, 0.08);
}

/* ---------- index table ---------- */
.admin-table-wrap {
  margin-top: 0.75rem;
  overflow-x: auto;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.90625rem;
}

.admin-table th {
  font-family: "JetBrains Mono", "SFMono-Regular", monospace;
  font-size: 0.625rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #67645d;
  text-align: left;
  font-weight: 400;
  padding: 0.625rem 0.75rem;
  border-bottom: 0.0625rem solid rgba(242, 240, 234, 0.07);
}

.admin-table td {
  padding: 0.75rem;
  border-bottom: 0.0625rem solid rgba(242, 240, 234, 0.07);
  color: #a39f95;
  vertical-align: middle;
  white-space: nowrap;
}

.admin-table tbody tr {
  transition: background 0.18s ease;
}

.admin-table tbody tr:hover {
  background: #1b1b20;
}

.admin-id {
  font-family: "JetBrains Mono", "SFMono-Regular", monospace;
  font-size: 0.6875rem;
  color: #67645d;
}

.admin-name {
  font-weight: 500;
  color: #f2f0ea;
  letter-spacing: -0.01em;
  max-width: 260px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.admin-coords {
  font-family: "JetBrains Mono", "SFMono-Regular", monospace;
  font-size: 0.6875rem;
  color: #67645d;
}

.admin-actions {
  text-align: right;
}

.admin-actions form {
  display: inline;
  margin: 0;
}

.admin-actions .admin-inline-del {
  margin-left: 0.625rem;
}

.admin-hours-cell {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.admin-state {
  font-family: "JetBrains Mono", "SFMono-Regular", monospace;
  font-size: 0.6875rem;
}

.admin-state.is-24 {
  color: #9fb89c;
}

.admin-state.is-closed {
  color: #d9776c;
}

.admin-state.is-unknown {
  color: #67645d;
}

/* ---------- pagination / empty / flash ---------- */
.admin-pager {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1.5rem;
  font-family: "JetBrains Mono", "SFMono-Regular", monospace;
  font-size: 0.6875rem;
  color: #67645d;
}

.admin-empty {
  margin-top: 2.625rem;
  padding: 3rem;
  text-align: center;
  border: 0.0625rem solid rgba(242, 240, 234, 0.07);
  border-radius: 0.625rem;
}

.admin-empty-title {
  font-family: "Fraunces", Georgia, serif;
  font-size: 0.9375rem;
  color: #a39f95;
  margin-bottom: 0.375rem;
}

.admin-empty-note {
  font-size: 0.6875rem;
  color: #67645d;
}

.flash {
  margin-top: 1rem;
  padding: 0.625rem 0.875rem;
  border-radius: 0.5rem;
  border: 0.0625rem solid rgba(242, 240, 234, 0.07);
  font-size: 0.78125rem;
}

.flash-success {
  color: #9fb89c;
  border-color: rgba(159, 184, 156, 0.35);
  background: rgba(159, 184, 156, 0.13);
}

.flash-error {
  color: #d9776c;
  border-color: rgba(217, 119, 108, 0.35);
  background: rgba(217, 119, 108, 0.08);
}

/* ---------- forms ---------- */
.admin-form {
  margin-top: 1.5rem;
}

.admin-section {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 0.0625rem solid rgba(242, 240, 234, 0.07);
}

.admin-section-head {
  font-family: "JetBrains Mono", "SFMono-Regular", monospace;
  font-size: 0.65625rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #67645d;
  display: flex;
  align-items: baseline;
  gap: 0.875rem;
  flex-wrap: wrap;
  margin: 0 0 1rem;
}

.admin-head-note {
  font-size: 0.65625rem;
  letter-spacing: 0.04em;
  text-transform: none;
}

.admin-field {
  margin-bottom: 1rem;
}

.admin-label {
  display: block;
  font-family: "JetBrains Mono", "SFMono-Regular", monospace;
  font-size: 0.65625rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #67645d;
  margin-bottom: 0.375rem;
}

.admin-input,
.admin-select {
  height: 2.375rem;
  padding: 0 0.75rem;
  color: #f2f0ea;
  background: #1b1b20;
  border: 0.0625rem solid rgba(242, 240, 234, 0.07);
  border-radius: 0.5rem;
  font-family: "Outfit", "Helvetica Neue", sans-serif;
  font-size: 0.78125rem;
  color-scheme: dark;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.admin-input:focus,
.admin-select:focus {
  outline: none;
  border-color: #c9a24d;
  box-shadow: 0 0 0 0.125rem rgba(201, 162, 77, 0.14);
}

.admin-input::placeholder {
  color: #67645d;
}

.admin-time {
  font-family: "JetBrains Mono", "SFMono-Regular", monospace;
  font-size: 0.6875rem;
}

.admin-w-full {
  width: 100%;
}

.admin-mono {
  font-family: "JetBrains Mono", "SFMono-Regular", monospace;
  font-size: 0.6875rem;
}

.admin-coord-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.admin-facts {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.admin-toggle {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 0;
  border-bottom: 0.0625rem solid rgba(242, 240, 234, 0.07);
  cursor: pointer;
}

.admin-toggle input {
  width: 16px;
  height: 16px;
  margin: 0;
  accent-color: #c9a24d;
  color-scheme: dark;
}

.admin-toggle-text {
  font-size: 0.78125rem;
  font-weight: 500;
  color: #f2f0ea;
}

.admin-toggle-note {
  margin-left: auto;
  font-size: 0.6875rem;
  color: #67645d;
}

/* weekly hours table */
.admin-hours-ctl {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.admin-hours {
  border-top: 0.0625rem solid rgba(242, 240, 234, 0.07);
}

.admin-hours-row {
  display: grid;
  grid-template-columns: 3.375rem 1fr 1fr auto;
  gap: 0.75rem;
  align-items: center;
  padding: 0.625rem 0;
  border-bottom: 0.0625rem solid rgba(242, 240, 234, 0.07);
}

.admin-hours-row .admin-select {
  width: 100%;
}

.admin-day {
  font-family: "JetBrains Mono", "SFMono-Regular", monospace;
  font-size: 0.6875rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #67645d;
}

.admin-actions-bar {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 2rem;
}

.admin-link {
  font-family: "JetBrains Mono", "SFMono-Regular", monospace;
  font-size: 0.6875rem;
  letter-spacing: 0.04em;
  color: #a39f95;
  text-decoration: none;
  transition: color 0.18s ease;
}

.admin-link:hover {
  color: #c9a24d;
}

.is-hidden {
  display: none;
}

@media (max-width: 860px) {
  .admin-coord-pair {
    grid-template-columns: 1fr;
  }

  .admin-toggle-note {
    display: none;
  }

  .admin-hours-row {
    grid-template-columns: 3.375rem 1fr 1fr;
  }

  .admin-copy {
    grid-column: 2/4;
    justify-self: start;
  }
}
@media (prefers-reduced-motion: reduce) {
  .row, .detail {
    animation: none;
  }

  .me-ping-ring, .skel::after {
    animation: none;
  }

  .row, .row:hover, .back, .name {
    transition: none;
  }

  .drawer {
    transition: none;
  }

  .route-step {
    animation: none;
  }

  .get-there-btn {
    transition: none;
  }

  .get-there-btn:active {
    transform: none;
  }

  .seg-btn {
    transition: none;
  }

  input[type=range].radius-input::-webkit-slider-thumb {
    transition: none;
  }

  .admin-table tbody tr, .admin-btn, .admin-site, .admin-link {
    transition: none;
  }

  .admin-input, .admin-select {
    transition: none;
  }

  .admin-btn:active, .admin-delete-form button:active {
    transform: none;
  }
}
