:root {
  --ink: #172033;
  --muted: #68758a;
  --line: rgba(23, 32, 51, .14);
  --panel: rgba(255, 255, 255, .86);
  --blue: #38b6ff;
  --blue-dark: #1f5f9c;
  --orange: #ff914d;
  --orange-dark: #9a4a21;
  --green: #3fb56b;
  --shadow: 0 18px 45px rgba(17, 24, 39, .22);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}

* {
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

html,
body {
  margin: 0;
  min-height: 100%;
  background:
    radial-gradient(circle at 18% 0%, rgba(56, 182, 255, .28), transparent 28%),
    radial-gradient(circle at 85% 8%, rgba(255, 145, 77, .22), transparent 30%),
    linear-gradient(135deg, #202a40, #0f172a 58%, #26334d);
  color: var(--ink);
}

body {
  min-height: 100svh;
  display: grid;
  place-items: center;
  overflow: hidden;
}

button {
  font: inherit;
}

.phone-shell {
  width: min(100vw, 430px);
  height: min(100svh, 920px);
  padding: 8px;
}

.app-screen {
  position: relative;
  height: 100%;
  overflow: hidden;
  border: 11px solid #05070b;
  border-radius: 44px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.96), rgba(238,244,249,.94)),
    radial-gradient(circle at 50% 12%, #fff, transparent 36%);
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,.65),
    0 26px 90px rgba(0,0,0,.48);
}

.app-screen::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  z-index: 20;
  width: 126px;
  height: 26px;
  transform: translateX(-50%);
  border-radius: 0 0 18px 18px;
  background: #05070b;
}

.status-bar {
  position: relative;
  z-index: 4;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 36px;
  padding: 6px 24px 0;
  color: #0b1020;
  font-size: 14px;
  letter-spacing: .02em;
}

.status-right {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
}

.battery {
  min-width: 26px;
  padding: 2px 5px;
  border-radius: 7px;
  background: #e5e7eb;
  color: #111827;
  font-size: 12px;
}

.top-bar {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) 38px 38px;
  gap: 8px;
  align-items: center;
  padding: 6px 18px 8px;
}

.brand-mark,
.icon-btn,
.bottom-nav button,
.mini-btn {
  border: 0;
  cursor: pointer;
}

.brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(255,255,255,.98), rgba(226,232,240,.92));
  color: #25314b;
  font-weight: 900;
  box-shadow: inset 0 0 0 1px rgba(23,32,51,.1), 0 8px 18px rgba(15,23,42,.12);
}

.wing {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  font-size: 12px;
}

.brand-title {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 8px;
  min-width: 0;
  color: #25314b;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(25px, 7vw, 35px);
  font-weight: 900;
  letter-spacing: .03em;
  white-space: nowrap;
}

.brand-compass {
  position: relative;
}

.brand-compass::before {
  content: "";
  display: inline-block;
  width: .78em;
  height: .78em;
  margin-right: -.08em;
  border: .09em solid currentColor;
  border-radius: 50%;
  vertical-align: -.05em;
  background: linear-gradient(135deg, transparent 48%, #ff914d 49% 58%, transparent 59%);
}

.icon-btn {
  width: 38px;
  height: 38px;
  border-radius: 14px;
  background: rgba(255,255,255,.86);
  color: #25314b;
  font-size: 24px;
  box-shadow: inset 0 0 0 1px rgba(23,32,51,.08);
}

.hero-card {
  position: relative;
  z-index: 1;
  margin: 0 18px 10px;
  min-height: 300px;
  border: 7px solid #262426;
  border-radius: 34px;
  background:
    linear-gradient(180deg, rgba(248,251,255,.96), rgba(230,239,245,.9)),
    radial-gradient(circle at 50% 48%, rgba(56,182,255,.18), transparent 35%);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.7), var(--shadow);
}

.live-badge {
  position: absolute;
  top: -20px;
  left: 50%;
  z-index: 3;
  display: flex;
  gap: 9px;
  align-items: center;
  transform: translateX(-50%);
  min-width: 184px;
  padding: 9px 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, #24304c, #101827);
  color: #fff;
  box-shadow: 0 12px 24px rgba(15,23,42,.32);
}

.live-badge strong,
.live-badge small {
  display: block;
  line-height: 1.05;
}

.live-badge small {
  color: #8ef0b1;
  font-size: 10px;
  font-weight: 800;
}

.live-dot {
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: #7dd3fc;
  box-shadow: 0 0 18px #38bdf8;
}

.compass-stage {
  position: absolute;
  inset: 0;
}

.compass-rose {
  position: absolute;
  inset: 42px 62px 68px;
  display: grid;
  place-items: center;
}

.rose-ring {
  width: min(54vw, 228px);
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    repeating-conic-gradient(from -4deg, rgba(37,49,75,.96) 0 1.5deg, transparent 1.5deg 6deg),
    radial-gradient(circle, transparent 50%, rgba(37,49,75,.9) 51% 52%, transparent 53%),
    radial-gradient(circle, rgba(255,255,255,.85), rgba(210,224,235,.48));
  box-shadow: inset 0 0 0 3px rgba(37,49,75,.84), 0 12px 32px rgba(37,49,75,.18);
}

.needle {
  position: absolute;
  width: 18px;
  height: min(44vw, 178px);
  border-radius: 999px 999px 12px 12px;
  transform-origin: 50% 50%;
  clip-path: polygon(50% 0, 100% 48%, 58% 50%, 50% 100%, 42% 50%, 0 48%);
}

.needle-main {
  background: linear-gradient(180deg, #1d3557, #e8eef5 44%, #24304c);
  filter: drop-shadow(0 6px 8px rgba(15,23,42,.3));
}

.needle-shadow {
  transform: rotate(90deg) scale(.9);
  background: linear-gradient(180deg, #25314b, #f8fafc 45%, #25314b);
  opacity: .9;
}

.rose-core {
  position: absolute;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: radial-gradient(circle, #fff, #9aa8b8 58%, #1f2937 60%);
  box-shadow: inset 0 0 0 3px #dbe4ef, 0 6px 16px rgba(15,23,42,.3);
}

.mark {
  position: absolute;
  color: #25314b;
  font-family: Georgia, serif;
  font-size: 25px;
  font-weight: 900;
}

.mark-n { top: 18px; }
.mark-s { bottom: 18px; }
.mark-e { right: 28px; top: 50%; transform: translateY(-50%); }
.mark-w { left: 28px; top: 50%; transform: translateY(-50%); }

.orbit-point {
  position: absolute;
  z-index: 2;
  display: grid;
  gap: 2px;
  place-items: center;
  border: 0;
  background: transparent;
  color: #111827;
  font-size: 11px;
  font-weight: 900;
  max-width: 98px;
  text-shadow:
    -1px -1px 0 #fff,
    1px -1px 0 #fff,
    -1px 1px 0 #fff,
    1px 1px 0 #fff;
}

.point-icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 16px;
  background: linear-gradient(145deg, #ffffff, #dfe9f4);
  color: #172033;
  font-size: 28px;
  box-shadow:
    0 10px 20px rgba(15,23,42,.18),
    inset 0 0 0 1px rgba(37,49,75,.12);
}

.point-police-icon {
  background: linear-gradient(145deg, #dbeafe, #93c5fd);
  color: #102a5f;
  font-size: 16px;
}

.point-hospital-icon {
  background: linear-gradient(145deg, #e0f2fe, #bfdbfe);
  color: #dc2626;
  font-size: 42px;
  font-weight: 900;
}

.point-food-icon::before {
  content: "";
  width: 30px;
  height: 30px;
  border: 4px solid #d1a45f;
  border-radius: 50%;
  box-shadow: -18px 0 0 -12px #64748b, 18px 0 0 -12px #64748b;
}

.point-hotel-icon {
  background: linear-gradient(145deg, #fee2e2, #fbbf24);
  color: #8a3a11;
  font-size: 26px;
  font-weight: 900;
}

.point-police { left: 22px; top: 26px; }
.point-hospital { right: 22px; top: 26px; }
.point-food { left: 20px; bottom: 66px; }
.point-hotel { right: 20px; bottom: 66px; }

.kompass-title-pill {
  position: absolute;
  left: 50%;
  bottom: 12px;
  z-index: 4;
  transform: translateX(-50%);
  width: 150px;
  min-height: 38px;
  border: 0;
  border-radius: 14px;
  background: linear-gradient(180deg, #67b86c, #3d9b4b);
  color: #fff;
  cursor: pointer;
  font-size: 17px;
  font-weight: 950;
  letter-spacing: .02em;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.42),
    0 12px 20px rgba(34, 97, 45, .28);
}

.route-view {
  display: none;
  position: relative;
  margin: 2px 18px 14px;
  min-height: 310px;
  overflow: hidden;
  border-radius: 34px;
  border: 7px solid #262426;
  background: #20314b;
  box-shadow: var(--shadow);
}

[data-view="route"] .hero-card { display: none; }
[data-view="route"] .route-view { display: block; }

.map-view {
  display: none;
  position: relative;
  margin: 2px 18px 12px;
  height: calc(100% - 138px);
  min-height: 520px;
  overflow: hidden;
  border: 7px solid #262426;
  border-radius: 34px;
  background: #e5eef6;
  box-shadow: var(--shadow);
}

[data-view="map"] .hero-card,
[data-view="map"] .route-view,
[data-view="map"] .category-grid,
[data-view="map"] .results-panel {
  display: none;
}

[data-view="map"] .map-view {
  display: block;
}

.map-header {
  position: absolute;
  top: 12px;
  left: 12px;
  right: 12px;
  z-index: 3;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 42px;
  gap: 10px;
  align-items: center;
  padding: 10px;
  border-radius: 18px;
  background: rgba(15, 23, 42, .86);
  color: #fff;
  box-shadow: 0 14px 26px rgba(15,23,42,.24);
}

.map-filter-row {
  position: absolute;
  top: 84px;
  left: 14px;
  right: 14px;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.map-filter-row button {
  min-height: 36px;
  border: 0;
  border-radius: 999px;
  background: rgba(255,255,255,.92);
  color: #101827;
  cursor: pointer;
  font-size: 12px;
  font-weight: 950;
  box-shadow: 0 10px 20px rgba(15,23,42,.18);
}

.map-filter-row button.is-active {
  background: linear-gradient(180deg, #38bdf8, #2563eb);
  color: #fff;
}

.map-header strong,
.map-header span {
  display: block;
  line-height: 1.2;
}

.map-header span {
  color: #c7d2fe;
  font-size: 12px;
  font-weight: 800;
}

.map-back {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 14px;
  background: rgba(255,255,255,.14);
  color: #fff;
  cursor: pointer;
  font-size: 28px;
  font-weight: 900;
}

.warsaw-map {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(15,23,42,.06) 1px, transparent 1px),
    linear-gradient(0deg, rgba(15,23,42,.06) 1px, transparent 1px),
    radial-gradient(circle at 48% 42%, rgba(59,130,246,.16), transparent 24%),
    linear-gradient(135deg, #dbeafe 0%, #eff6ff 44%, #d1fae5 100%);
  background-size: 34px 34px, 34px 34px, auto, auto;
}

.warsaw-map::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(25deg, transparent 0 54px, rgba(15,23,42,.06) 55px 58px),
    repeating-linear-gradient(-38deg, transparent 0 72px, rgba(15,23,42,.05) 73px 76px);
  opacity: .72;
}

.warsaw-river {
  position: absolute;
  top: -8%;
  left: 58%;
  width: 72px;
  height: 116%;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(14,165,233,.34), rgba(56,189,248,.72), rgba(14,165,233,.3));
  transform: rotate(10deg);
  box-shadow: 0 0 28px rgba(14,165,233,.32);
}

.warsaw-road {
  position: absolute;
  background: rgba(255,255,255,.82);
  box-shadow: 0 0 0 2px rgba(148,163,184,.18), 0 8px 18px rgba(15,23,42,.12);
}

.road-main {
  left: -12%;
  top: 48%;
  width: 124%;
  height: 14px;
  border-radius: 999px;
  transform: rotate(-14deg);
}

.road-cross {
  left: 38%;
  top: -10%;
  width: 15px;
  height: 120%;
  border-radius: 999px;
  transform: rotate(21deg);
}

.road-ring {
  left: 18%;
  top: 28%;
  width: 52%;
  height: 28%;
  border: 9px solid rgba(255,255,255,.76);
  border-radius: 50%;
  background: transparent;
  transform: rotate(-12deg);
}

.warsaw-district {
  position: absolute;
  z-index: 1;
  padding: 5px 8px;
  border-radius: 999px;
  background: rgba(255,255,255,.7);
  color: #334155;
  font-size: 11px;
  font-weight: 900;
  box-shadow: 0 6px 14px rgba(15,23,42,.12);
}

.district-center { left: 39%; top: 41%; }
.district-wola { left: 18%; top: 36%; }
.district-praga { right: 10%; top: 39%; }
.district-mokotow { left: 42%; bottom: 24%; }

.map-marker-layer {
  position: absolute;
  inset: 0;
  z-index: 2;
}

.kompass-marker {
  position: absolute;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 15px;
  transform: translate(-50%, -50%);
  background: #101827;
  color: #fff;
  cursor: pointer;
  font-size: 14px;
  font-weight: 950;
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,.2),
    0 10px 22px rgba(15,23,42,.28);
}

.kompass-marker::after {
  content: attr(data-label);
  position: absolute;
  left: 50%;
  top: calc(100% + 4px);
  max-width: 92px;
  transform: translateX(-50%);
  padding: 3px 7px;
  border-radius: 999px;
  background: rgba(15,23,42,.82);
  color: #fff;
  font-size: 10px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity .18s ease;
}

.kompass-marker.is-active,
.kompass-marker:hover {
  outline: 3px solid rgba(56,189,248,.52);
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,.2),
    0 0 0 8px rgba(56,189,248,.14),
    0 14px 28px rgba(15,23,42,.34);
}

.kompass-marker.is-active::after,
.kompass-marker:hover::after {
  opacity: 1;
}

.kompass-marker[data-type="police"] { background: linear-gradient(145deg, #0f172a, #2563eb); }
.kompass-marker[data-type="hospitals"],
.kompass-marker[data-type="pharmacies"] { background: linear-gradient(145deg, #7f1d1d, #ef4444); }
.kompass-marker[data-type="food"],
.kompass-marker[data-type="shops"] { background: linear-gradient(145deg, #7c2d12, #f97316); }
.kompass-marker[data-type="hotels"] { background: linear-gradient(145deg, #78350f, #facc15); color: #1f1300; }
.kompass-marker[data-type="parking"] { background: linear-gradient(145deg, #075985, #38bdf8); }
.kompass-marker[data-type="wc"] { background: linear-gradient(145deg, #312e81, #818cf8); }
.kompass-marker[data-type="urzedy-dzielnicowe"],
.kompass-marker[data-type="zus-tax"],
.kompass-marker[data-type="poczta"] { background: linear-gradient(145deg, #172554, #60a5fa); }

.map-actions {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 86px;
  z-index: 3;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.map-actions a {
  display: grid;
  place-items: center;
  min-height: 44px;
  border-radius: 999px;
  background: #101827;
  color: #fff;
  font-size: 13px;
  font-weight: 950;
  text-decoration: none;
  box-shadow: 0 12px 24px rgba(15,23,42,.22);
}

.map-actions a:first-child {
  background: linear-gradient(180deg, #4ade80, #16a34a);
}

.map-place-card {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  z-index: 3;
  min-height: 60px;
  padding: 11px 12px;
  border-radius: 18px;
  background: rgba(255,255,255,.94);
  color: #101827;
  box-shadow: 0 16px 30px rgba(15,23,42,.22);
}

.map-place-card strong,
.map-place-card span {
  display: block;
}

.map-place-card strong {
  font-size: 14px;
  line-height: 1.2;
}

.map-place-card span {
  margin-top: 3px;
  color: #526173;
  font-size: 12px;
  font-weight: 800;
}

.city-map {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(45deg, transparent 47%, rgba(255,255,255,.16) 48% 52%, transparent 53%),
    linear-gradient(-45deg, transparent 47%, rgba(255,255,255,.11) 48% 52%, transparent 53%),
    radial-gradient(circle at 55% 20%, #405f88, #1d2c44 68%);
  background-size: 64px 64px, 80px 80px, auto;
}

.city-grid {
  position: absolute;
  inset: 0;
  opacity: .45;
  background:
    repeating-linear-gradient(90deg, transparent 0 34px, rgba(255,255,255,.12) 35px 37px),
    repeating-linear-gradient(0deg, transparent 0 42px, rgba(255,255,255,.08) 43px 45px);
}

.route-panel {
  position: absolute;
  z-index: 4;
  top: 14px;
  left: 14px;
  right: 14px;
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 12px;
  border-radius: 18px;
  background: rgba(15, 23, 42, .82);
  color: #fff;
  box-shadow: 0 14px 26px rgba(0,0,0,.28);
}

.route-panel strong {
  display: block;
  font-size: 19px;
}

.route-panel span:last-child {
  font-size: 13px;
}

.turn-arrow {
  font-size: 36px;
  line-height: 1;
}

.route-line {
  position: absolute;
  left: 28%;
  top: 28%;
  width: 220px;
  height: 180px;
  border-left: 9px solid #31e981;
  border-bottom: 9px solid #31e981;
  border-radius: 0 0 0 42px;
  transform: rotate(-16deg);
  filter: drop-shadow(0 0 10px rgba(49,233,129,.72));
}

.user-arrow {
  position: absolute;
  left: 48%;
  bottom: 70px;
  width: 0;
  height: 0;
  border-left: 15px solid transparent;
  border-right: 15px solid transparent;
  border-bottom: 34px solid #38b6ff;
  filter: drop-shadow(0 0 8px rgba(56,182,255,.9));
}

.map-pin {
  position: absolute;
  z-index: 3;
  display: grid;
  gap: 3px;
  place-items: center;
  min-width: 82px;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  text-shadow:
    -1px -1px 0 #000,
    1px -1px 0 #000,
    -1px 1px 0 #000,
    1px 1px 0 #000;
}

.map-pin span {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 13px;
  background: rgba(255,255,255,.18);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.48), 0 8px 18px rgba(0,0,0,.28);
}

.pin-1 { left: 28%; top: 38%; }
.pin-2 { right: 8%; top: 28%; }
.pin-3 { right: 10%; top: 50%; }
.pin-4 { left: 12%; bottom: 24%; }

.category-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  padding: 0 18px 12px;
}

.kompass-tile {
  min-height: 86px;
  display: grid;
  grid-template-rows: 50px auto;
  gap: 6px;
  place-items: center;
  padding: 10px 8px;
  border: 1px solid rgba(165, 180, 252, .42);
  border-radius: 18px;
  background: linear-gradient(145deg, #ffffff, #eef5fb);
  color: #05070b;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .02em;
  text-align: center;
  text-shadow: 0 1px 0 #fff;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.9),
    inset 0 -2px 8px rgba(15,23,42,.1),
    0 12px 22px rgba(15,23,42,.13);
  transition: transform .16s ease, filter .16s ease, box-shadow .16s ease;
}

.kompass-tile:active {
  transform: scale(.95);
  filter: brightness(1.15);
}

.kompass-tile span {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border-radius: 14px;
  background: #0f1112;
  color: #fff;
  font-size: 20px;
  font-weight: 950;
  text-shadow:
    -1px -1px 0 #000,
    1px -1px 0 #000,
    -1px 1px 0 #000,
    1px 1px 0 #000;
}

.kompass-tile strong {
  display: block;
  color: #07111f;
  line-height: 1.05;
  text-shadow: 0 1px 0 #fff;
}

.kompass-tile[data-category="food"] span::before {
  content: "";
  width: 30px;
  height: 30px;
  border: 4px solid #d1a45f;
  border-radius: 50%;
  box-shadow: -18px 0 0 -12px #dbeafe, 18px 0 0 -12px #dbeafe;
}

.neon-blue span {
  box-shadow: 0 0 0 1px rgba(56,182,255,.75), 0 0 14px rgba(56,182,255,.75), inset 0 0 14px rgba(56,182,255,.25);
}

.neon-orange span {
  box-shadow: 0 0 0 1px rgba(255,145,77,.85), 0 0 14px rgba(255,145,77,.75), inset 0 0 14px rgba(255,145,77,.25);
}

.kompass-tile.is-active {
  outline: 3px solid rgba(56,182,255,.45);
}

.results-panel {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 78px;
  max-height: 34%;
  overflow: hidden;
  border-radius: 22px;
  background: rgba(255,255,255,.9);
  box-shadow: 0 -8px 28px rgba(15,23,42,.18);
  transform: translateY(calc(100% + 16px));
  opacity: 0;
  pointer-events: none;
  transition: transform .22s ease, opacity .22s ease;
}

.phone-shell.has-results .results-panel,
[data-view="route"] .results-panel {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 13px 14px 8px;
  border-bottom: 1px solid rgba(23,32,51,.08);
}

.panel-head small {
  display: block;
  color: var(--muted);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.panel-head h2 {
  margin: 0;
  font-size: 18px;
}

.mini-btn {
  border-radius: 999px;
  padding: 8px 12px;
  background: #25314b;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
}

.place-list {
  max-height: 190px;
  overflow: auto;
  padding: 8px 10px 12px;
}

.place-card {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  padding: 9px;
  border-radius: 16px;
  background: rgba(241,245,249,.82);
  margin-bottom: 8px;
}

.place-card-actions {
  grid-column: 2;
  display: flex;
  gap: 7px;
  margin-top: 7px;
}

.place-card-actions a {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  border-radius: 999px;
  padding: 5px 9px;
  background: #101827;
  color: #fff;
  font-size: 11px;
  font-weight: 900;
  text-decoration: none;
}

.place-card-actions a:first-child {
  background: #16a34a;
}

.place-card-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 13px;
  background: #101827;
  color: #fff;
  font-weight: 900;
}

.place-card h3 {
  margin: 0 0 3px;
  font-size: 14px;
}

.place-card p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.distance {
  color: var(--green);
  font-size: 12px;
  font-weight: 900;
}

.bottom-nav {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  padding: 8px 24px 18px;
  background: rgba(255,255,255,.92);
  box-shadow: 0 -10px 25px rgba(15,23,42,.12);
}

.bottom-nav button {
  display: grid;
  place-items: center;
  height: 42px;
  background: transparent;
  color: #101827;
  font-size: 32px;
}

.bottom-nav button.is-active {
  color: #25314b;
  filter: drop-shadow(0 0 5px rgba(56,182,255,.42));
}

@media (max-height: 760px) {
  .hero-card,
  .route-view {
    min-height: 282px;
  }

  .compass-rose {
    inset: 38px 62px 66px;
  }

  .category-grid {
    gap: 8px;
  }

  .kompass-tile {
    min-height: 80px;
  }

  .results-panel {
    max-height: 30%;
  }
}

@media (max-width: 370px) {
  .phone-shell {
    padding: 0;
  }

  .app-screen {
    border-radius: 0;
    border: 0;
  }

  .brand-title {
    font-size: 24px;
  }

  .category-grid {
    gap: 8px;
  }

  .kompass-tile {
    min-height: 82px;
    font-size: 11px;
  }
}
