:root {
  --ink: #073b44;
  --ink-soft: #48676c;
  --sea: #087f7b;
  --sea-dark: #05615f;
  --aqua: #2bb9b0;
  --sky: #dff5f1;
  --sand: #f5e8ca;
  --sand-light: #fffaf0;
  --sun: #f5b941;
  --coral: #ef6d55;
  --white: #fff;
  --shadow: 0 18px 60px rgba(7, 59, 68, 0.19);
  --panel-width: 390px;
  color-scheme: light;
  font-family:
    Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html,
body {
  width: 100%;
  height: 100%;
  margin: 0;
  overflow: hidden;
  overscroll-behavior: none;
  background: var(--sky);
  color: var(--ink);
}

@supports (height: 100dvh) {
  html,
  body,
  .app-shell,
  .map {
    height: 100dvh;
  }
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  clip-path: inset(50%);
}

button {
  color: inherit;
  font: inherit;
  touch-action: manipulation;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
.media-gallery__track:focus-visible {
  outline: 3px solid var(--sun);
  outline-offset: 3px;
}

.media-gallery__track:focus-visible {
  outline-offset: -5px;
}

.skip-link {
  position: fixed;
  z-index: 2000;
  top: 10px;
  left: 10px;
  padding: 10px 14px;
  transform: translateY(-150%);
  border-radius: 10px;
  background: var(--ink);
  color: var(--white);
}

.skip-link:focus {
  transform: translateY(0);
}

.app-shell,
.map {
  width: 100%;
  height: 100%;
}

.map.is-picking-place,
.map.is-picking-place .leaflet-interactive {
  cursor: crosshair;
}

.map.is-picking-place::before {
  position: absolute;
  z-index: 690;
  top: 50%;
  left: 50%;
  width: 28px;
  height: 28px;
  transform: translate(-50%, -50%);
  border: 3px solid var(--white);
  border-radius: 50%;
  background:
    linear-gradient(var(--coral), var(--coral)) center / 3px 18px no-repeat,
    linear-gradient(90deg, var(--coral), var(--coral)) center / 18px 3px no-repeat;
  box-shadow: 0 4px 14px rgba(7, 59, 68, 0.32);
  content: "";
  pointer-events: none;
}

.app-shell {
  min-height: 100svh;
}

.map {
  background: #ccebe8;
}

.map::after {
  position: absolute;
  z-index: 400;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(7, 59, 68, 0.08), transparent 28%);
  content: "";
}

.leaflet-control-attribution {
  margin-bottom: env(safe-area-inset-bottom) !important;
  border-radius: 8px 0 0;
  font-size: 10px !important;
}

.leaflet-control-zoom {
  display: none;
}

.leaflet-popup-content-wrapper {
  overflow: hidden;
  padding: 0;
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.leaflet-popup-content {
  width: 230px !important;
  margin: 0;
}

.leaflet-popup-tip {
  box-shadow: none;
}

.mini-popup {
  padding: 16px;
  font-family: inherit;
}

.mini-popup--group {
  padding: 12px;
}

.mini-popup__heading {
  margin: 0 0 9px;
  color: var(--ink-soft);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.mini-popup__places {
  display: grid;
  gap: 7px;
}

.mini-popup__place {
  display: grid;
  grid-template-columns: 31px minmax(0, 1fr);
  gap: 9px;
  width: 100%;
  align-items: center;
  padding: 8px;
  border: 0;
  border-radius: 11px;
  background: #f0f6f3;
  color: var(--ink);
  cursor: pointer;
  text-align: left;
}

.mini-popup__place:hover {
  background: var(--sky);
}

.mini-popup__place-icon {
  display: grid;
  width: 31px;
  height: 31px;
  place-items: center;
  border-radius: 10px;
  background: var(--sea);
  color: var(--white);
}

.mini-popup__place-icon svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.9;
}

.mini-popup__place-icon[data-category="public_toilet"] {
  background: var(--coral);
}

.mini-popup__place-icon[data-category="public_toilet"] svg {
  fill: currentColor;
  stroke: none;
}

.mini-popup__place-icon[data-category="drinking_water"] {
  background: #2d86d4;
}

.mini-popup__place-icon[data-category="foot_wash"] {
  background: var(--sun);
  color: #5c3d05;
}

.mini-popup__place-icon text {
  font-family: inherit;
  font-size: 9px;
  font-weight: 950;
}

.mini-popup__place-copy {
  min-width: 0;
}

.mini-popup__place-copy strong,
.mini-popup__place-copy span {
  display: block;
}

.mini-popup__place-copy strong {
  margin: 0;
  font-size: 13px;
}

.mini-popup__place-copy span {
  margin-top: 3px;
  overflow: hidden;
  color: var(--ink-soft);
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mini-popup__type {
  display: block;
  margin-bottom: 5px;
  color: var(--sea);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.mini-popup strong {
  display: block;
  margin-bottom: 7px;
  font-size: 16px;
  line-height: 1.25;
}

.mini-popup p {
  margin: 0 0 12px;
  color: var(--ink-soft);
  line-height: 1.4;
}

.mini-popup button {
  width: 100%;
  padding: 9px 12px;
  border: 0;
  border-radius: 10px;
  background: var(--ink);
  color: var(--white);
  cursor: pointer;
  font-weight: 750;
}

.topbar {
  position: fixed;
  z-index: 800;
  top: max(14px, env(safe-area-inset-top));
  right: 16px;
  left: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  pointer-events: none;
}

.brand,
.menu-button {
  pointer-events: auto;
  box-shadow: 0 10px 32px rgba(7, 59, 68, 0.14);
}

.topbar-actions {
  position: relative;
  display: flex;
  gap: 8px;
  pointer-events: none;
}

.poll-callout {
  position: absolute;
  top: 50%;
  right: calc(100% + 9px);
  display: flex;
  min-height: 25px;
  align-items: center;
  gap: 3px;
  padding: 6px 8px 4px;
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: 9px;
  background: var(--coral);
  box-shadow: 0 7px 20px rgba(7, 59, 68, 0.18);
  color: var(--white);
  cursor: pointer;
  font-size: 9px;
  font-weight: 800;
  line-height: 1;
  pointer-events: auto;
  transform: translateY(-50%);
  white-space: nowrap;
}

.poll-callout::before {
  position: absolute;
  top: 50%;
  left: 100%;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 6px solid var(--coral);
  content: "";
  transform: translateY(-50%);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 13px 7px 7px;
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 18px;
  background: rgba(255, 250, 240, 0.94);
  color: var(--ink);
  text-decoration: none;
  backdrop-filter: blur(12px);
}

.brand img {
  border-radius: 13px;
}

.brand span {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.brand strong {
  font-size: 16px;
  font-weight: 900;
  letter-spacing: -0.025em;
}

.brand small {
  margin-top: 4px;
  color: var(--ink-soft);
  font-size: 10px;
  font-weight: 650;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.map-location-fab,
.menu-button {
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.75);
  background: rgba(255, 255, 255, 0.95);
  cursor: pointer;
  backdrop-filter: blur(12px);
}

.map-location-fab svg,
.menu-button svg {
  width: 19px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.menu-button {
  width: 48px;
  height: 48px;
  padding: 0;
  border-radius: 15px;
}

.menu-button svg {
  width: 21px;
}

.map-location-fab.is-tracking {
  color: var(--sea-dark);
}

.map-location-fab.is-tracking svg {
  fill: rgba(43, 185, 176, 0.2);
  stroke: var(--sea);
}

.filter-bar {
  position: fixed;
  z-index: 750;
  top: calc(max(14px, env(safe-area-inset-top)) + 68px);
  left: 16px;
  display: flex;
  gap: 8px;
}

.filter-chip {
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: 44px;
  padding: 6px 10px 6px 7px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 8px 24px rgba(7, 59, 68, 0.12);
  cursor: pointer;
  font-size: 12px;
  font-weight: 750;
  backdrop-filter: blur(12px);
  transition: opacity 160ms ease, transform 160ms ease;
}

.filter-chip:hover {
  transform: translateY(-1px);
}

.filter-chip:not(.is-active) {
  opacity: 0.54;
}

.filter-chip strong {
  color: var(--ink-soft);
  font-size: 10px;
}

.chip-icon {
  display: grid;
  width: 27px;
  height: 27px;
  place-items: center;
  border-radius: 9px;
  color: var(--white);
  font-size: 9px;
  font-weight: 950;
}

.chip-icon svg {
  width: 22px;
  height: 22px;
  overflow: visible;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.chip-icon--wc svg,
.chip-icon--toilet svg,
.chip-icon--feet svg {
  stroke: none;
  fill: currentColor;
}

.chip-icon--wc text,
.chip-icon--toilet text {
  font-family: inherit;
  font-size: 9px;
  font-weight: 950;
}

.chip-icon--wc {
  background: var(--coral);
}

.chip-icon--water {
  background: #2d86d4;
}

.chip-icon--feet {
  background: var(--sun);
  color: #68470a;
}

.chip-icon--feet svg {
  fill: currentColor;
  stroke: none;
}

.place-panel {
  --panel-drag-y: 0px;
  position: fixed;
  z-index: 800;
  right: 16px;
  bottom: max(16px, env(safe-area-inset-bottom));
  width: min(var(--panel-width), calc(100% - 32px));
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.76);
  border-radius: 25px;
  background: rgba(255, 253, 247, 0.97);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
  transform: translate3d(0, var(--panel-drag-y), 0);
  transition: transform 260ms cubic-bezier(0.2, 0.82, 0.2, 1), right 240ms ease;
  touch-action: pan-y;
  will-change: transform;
}

.place-panel.is-dragging {
  transition: none;
  user-select: none;
}

.panel-toggle {
  position: relative;
  z-index: 3;
  display: grid;
  width: 100%;
  min-height: 38px;
  padding: 0;
  place-items: center;
  border: 0;
  background: transparent;
  cursor: grab;
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
}

.place-panel.is-dragging .panel-toggle {
  cursor: grabbing;
}

.panel-toggle[hidden] {
  display: none;
}

.panel-handle {
  display: block;
  width: 42px;
  height: 5px;
  border-radius: 9px;
  background: #ccdad6;
  transition: background 160ms ease;
}

.panel-toggle:hover .panel-handle,
.panel-toggle:focus-visible .panel-handle,
.place-panel.is-dragging .panel-handle {
  background: var(--sea);
}

.panel-toggle:focus-visible {
  outline: none;
}

.panel-toggle:focus-visible .panel-handle {
  box-shadow: 0 0 0 3px var(--sun), 0 0 0 5px rgba(7, 59, 68, 0.16);
}

.place-panel.is-collapsed .place-content {
  max-height: 98px;
  overflow: hidden;
  cursor: pointer;
}

.place-panel.is-collapsed .place-feedback {
  display: none;
}

.place-panel.is-collapsed .place-photo {
  position: fixed;
  top: 0;
  left: -200vw;
  width: min(420px, calc(100vw - 16px));
  opacity: 0;
  pointer-events: none;
}

.place-panel.is-collapsed .place-main {
  display: grid;
  grid-template-areas:
    "eyebrow eyebrow"
    "title walking";
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 5px 12px;
  padding: 5px 13px 12px;
}

.place-panel.is-collapsed .eyebrow-row {
  grid-area: eyebrow;
}

.place-panel.is-collapsed .place-main h1 {
  grid-area: title;
  align-self: center;
  margin: 0;
  overflow: hidden;
  font-size: 18px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.place-panel.is-collapsed .place-details {
  display: none;
}

.place-panel.is-collapsed .walking-summary {
  grid-area: walking;
  min-height: 38px;
  align-items: flex-end;
  flex-direction: column;
  gap: 0;
  margin: 0;
  padding: 5px 9px;
}

.place-panel.is-collapsed .walking-summary span {
  font-size: 9px;
}

.place-panel.is-collapsed .walking-summary strong {
  max-width: 145px;
  overflow: hidden;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.loading-state,
.permission-state {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 18px;
}

.loading-state > div,
.permission-state > div {
  display: flex;
  min-width: 0;
  flex: 1;
  flex-direction: column;
}

.loading-state strong,
.permission-state strong {
  font-size: 14px;
}

.loading-state span:last-child {
  margin-top: 3px;
  color: var(--ink-soft);
  font-size: 12px;
}

.loading-dot {
  width: 14px;
  height: 14px;
  flex: 0 0 auto;
  border: 3px solid var(--sky);
  border-top-color: var(--sea);
  border-radius: 50%;
  animation: loading-dot-pulse 850ms ease-in-out infinite alternate;
}

@keyframes loading-dot-pulse {
  from {
    opacity: 0.38;
  }

  to {
    opacity: 1;
  }
}

.permission-state {
  align-items: flex-start;
  flex-wrap: wrap;
}

.permission-state p {
  margin: 4px 0 0;
  color: var(--ink-soft);
  font-size: 12px;
  line-height: 1.45;
}

.permission-icon {
  display: grid;
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 13px;
  background: var(--sky);
  color: var(--sea);
  font-size: 24px;
  font-weight: 800;
}

.permission-state button {
  width: 100%;
  min-height: 48px;
  padding: 12px;
  border: 0;
  border-radius: 12px;
  background: var(--ink);
  color: var(--white);
  cursor: pointer;
  font-weight: 800;
}

.place-content {
  display: flex;
  max-height: calc(100dvh - 48px);
  overflow-y: auto;
  flex-direction: column;
  overscroll-behavior: contain;
  scroll-padding: 12px 0 32px;
  scrollbar-width: thin;
}

.place-photo {
  position: relative;
  width: 100%;
  height: clamp(250px, 39dvh, 340px);
  min-height: 250px;
  flex: 0 0 auto;
  margin: 0;
  overflow: hidden;
  background: linear-gradient(180deg, #caeeea, #9edbd8);
}

.street-view-panorama {
  width: 100%;
  height: 100%;
  min-height: 250px;
  border: 0;
}

.street-view-panorama[hidden] {
  display: none;
}

.media-gallery,
.media-gallery__track,
.media-gallery__slide,
.media-gallery__open,
.media-gallery__slide img {
  width: 100%;
  height: 100%;
  min-height: 250px;
}

.media-gallery {
  position: relative;
}

.media-gallery[hidden] {
  display: none;
}

.media-gallery__track {
  display: flex;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  touch-action: pan-x pan-y;
}

.media-gallery__track::-webkit-scrollbar {
  display: none;
}

.media-gallery__slide {
  position: relative;
  flex: 0 0 100%;
  margin: 0;
  scroll-snap-align: center;
  scroll-snap-stop: always;
  background: #dce9e5;
}

.media-gallery__slide.is-loading {
  display: grid;
  place-items: center;
}

.media-gallery__loading {
  padding: 12px;
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 800;
  text-align: center;
}

.media-gallery__open {
  display: block;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
}

.media-gallery__slide.is-loading .media-gallery__open {
  display: grid;
  place-items: center;
}

.media-gallery__slide img {
  display: block;
  object-fit: cover;
}

.media-gallery__slide img[hidden] {
  display: none;
}

.media-gallery__arrow {
  position: absolute;
  z-index: 6;
  top: 50%;
  display: grid;
  width: 44px;
  height: 44px;
  padding: 0;
  transform: translateY(-50%);
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 50%;
  background: rgba(7, 59, 68, 0.55);
  box-shadow: 0 4px 18px rgba(7, 59, 68, 0.22);
  color: var(--white);
  cursor: pointer;
  opacity: 0.82;
  backdrop-filter: blur(8px);
  transition: background 160ms ease, opacity 160ms ease, transform 160ms ease;
}

.media-gallery__arrow span {
  display: block;
  margin-top: -3px;
  font-family: Arial, sans-serif;
  font-size: 39px;
  font-weight: 300;
  line-height: 1;
}

.media-gallery__arrow--previous {
  left: 12px;
}

.media-gallery__arrow--next {
  right: 12px;
}

.media-gallery__arrow:hover:not(:disabled) {
  background: rgba(7, 59, 68, 0.72);
  opacity: 1;
}

.media-gallery__arrow:active:not(:disabled) {
  transform: translateY(-50%) scale(0.94);
}

.media-gallery__arrow:disabled {
  cursor: default;
  opacity: 0.28;
}

.media-gallery__arrow[hidden] {
  display: none;
}

.media-gallery__status {
  position: absolute;
  z-index: 5;
  top: 12px;
  left: 12px;
  display: flex;
  min-height: 28px;
  align-items: center;
  gap: 8px;
  padding: 6px 8px;
  border-radius: 99px;
  background: rgba(7, 59, 68, 0.78);
  color: var(--white);
  font-size: 10px;
  font-weight: 850;
  backdrop-filter: blur(8px);
}

.media-gallery__status[hidden] {
  display: none;
}

.media-gallery__dots {
  display: flex;
  gap: 4px;
}

.media-gallery__dots i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
}

.media-gallery__dots i.is-active {
  width: 12px;
  border-radius: 5px;
  background: var(--white);
}

.media-lightbox {
  position: fixed;
  z-index: 2500;
  inset: 0;
  width: 100vw;
  max-width: none;
  height: 100dvh;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: #041d22;
  color: var(--white);
}

.media-lightbox::backdrop {
  background: #041d22;
}

.media-lightbox__figure {
  position: relative;
  width: 100%;
  height: 100%;
  margin: 0;
  overflow: hidden;
  background: #041d22;
}

.media-lightbox__track {
  display: flex;
  width: 100%;
  height: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-x: contain;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  touch-action: pan-x pan-y;
}

.media-lightbox__track::-webkit-scrollbar {
  display: none;
}

.media-lightbox__slide {
  display: grid;
  width: 100%;
  height: 100%;
  padding:
    calc(64px + env(safe-area-inset-top))
    0
    calc(66px + env(safe-area-inset-bottom));
  flex: 0 0 100%;
  place-items: center;
  scroll-snap-align: center;
  scroll-snap-stop: always;
  user-select: none;
}

.media-lightbox__slide img {
  display: block;
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  object-fit: contain;
  user-select: none;
  -webkit-user-drag: none;
}

.media-lightbox__slide img[hidden],
.media-lightbox__loading[hidden] {
  display: none;
}

.media-lightbox__loading {
  color: rgba(255, 255, 255, 0.8);
  font-size: 13px;
  font-weight: 800;
}

.media-lightbox__close,
.media-lightbox__arrow {
  position: absolute;
  z-index: 3;
  display: grid;
  width: 48px;
  height: 48px;
  padding: 0;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 50%;
  background: rgba(7, 59, 68, 0.68);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.24);
  color: var(--white);
  cursor: pointer;
  backdrop-filter: blur(9px);
}

.media-lightbox__close {
  top: max(12px, env(safe-area-inset-top));
  right: max(12px, env(safe-area-inset-right));
}

.media-lightbox__close svg {
  width: 23px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-width: 2;
}

.media-lightbox__arrow {
  top: 50%;
  transform: translateY(-50%);
  opacity: 0.86;
}

.media-lightbox__arrow--previous {
  left: max(10px, env(safe-area-inset-left));
}

.media-lightbox__arrow--next {
  right: max(10px, env(safe-area-inset-right));
}

.media-lightbox__arrow span {
  margin-top: -3px;
  font-family: Arial, sans-serif;
  font-size: 42px;
  font-weight: 300;
  line-height: 1;
}

.media-lightbox__arrow:disabled {
  cursor: default;
  opacity: 0.24;
}

.media-lightbox__close:hover,
.media-lightbox__arrow:hover:not(:disabled) {
  background: rgba(7, 59, 68, 0.86);
}

.media-lightbox__close:active,
.media-lightbox__arrow:active:not(:disabled) {
  scale: 0.94;
}

.media-lightbox__arrow:active:not(:disabled) {
  transform: translateY(-50%);
}

.media-lightbox__arrow[hidden] {
  display: none;
}

.media-lightbox__count {
  position: absolute;
  z-index: 3;
  top: max(14px, env(safe-area-inset-top));
  left: max(14px, env(safe-area-inset-left));
  min-width: 48px;
  padding: 8px 10px;
  border-radius: 99px;
  background: rgba(7, 59, 68, 0.68);
  font-size: 12px;
  font-weight: 850;
  text-align: center;
  backdrop-filter: blur(9px);
}

.media-lightbox .media-attribution {
  position: absolute;
  z-index: 3;
  right: max(10px, env(safe-area-inset-right));
  bottom: max(10px, env(safe-area-inset-bottom));
  left: max(10px, env(safe-area-inset-left));
  max-width: 720px;
  margin-inline: auto;
  padding: 8px 10px;
  border-radius: 8px;
  background: rgba(7, 59, 68, 0.76);
  color: var(--white);
  font-size: 12px;
  backdrop-filter: blur(9px);
}

.photo-placeholder {
  display: flex;
  width: 100%;
  height: 100%;
  min-height: 250px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 10px;
}

.photo-placeholder svg {
  width: 88px;
}

.photo-placeholder .sun {
  fill: var(--sun);
}

.photo-placeholder .dune {
  fill: var(--sand);
}

.photo-placeholder .wave {
  fill: none;
  stroke: var(--sea);
  stroke-linecap: round;
  stroke-width: 4;
}

.photo-placeholder .wave--two {
  opacity: 0.45;
}

.photo-placeholder span {
  max-width: 240px;
  color: var(--sea-dark);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.06em;
  text-align: center;
  text-transform: uppercase;
}

.photo-placeholder__upload {
  min-height: 44px;
  padding: 0 15px;
  border: 0;
  border-radius: 12px;
  background: var(--ink);
  color: var(--white);
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  font-weight: 850;
}

.photo-placeholder__upload[hidden] {
  display: none;
}

.street-view-open {
  position: absolute;
  z-index: 2;
  right: 10px;
  bottom: 10px;
  padding: 8px 10px;
  border: 1px solid rgba(255, 255, 255, 0.84);
  border-radius: 10px;
  background: rgba(7, 59, 68, 0.88);
  color: var(--white);
  font-size: 10px;
  font-weight: 800;
  text-decoration: none;
  backdrop-filter: blur(8px);
}

.street-view-mode {
  position: absolute;
  z-index: 3;
  top: 10px;
  right: 10px;
  min-height: 42px;
  padding: 8px 11px;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 3px 14px rgba(7, 59, 68, 0.18);
  color: var(--ink);
  cursor: pointer;
  font-size: 11px;
  font-weight: 850;
  backdrop-filter: blur(8px);
}

.street-view-mode:focus-visible {
  outline: 3px solid var(--sun);
  outline-offset: 2px;
}

.street-view-note {
  position: absolute;
  z-index: 2;
  top: 10px;
  right: 10px;
  left: 10px;
  width: fit-content;
  max-width: calc(100% - 20px);
  margin: 0;
  padding: 7px 9px;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 10px;
  background: rgba(7, 59, 68, 0.84);
  color: var(--white);
  font-size: 9px;
  font-weight: 750;
  line-height: 1.35;
  pointer-events: none;
  backdrop-filter: blur(8px);
}

.place-photo.has-mode-switch .street-view-note {
  right: 128px;
  max-width: calc(100% - 148px);
}

.place-photo figcaption {
  position: absolute;
  z-index: 4;
  right: 6px;
  bottom: 6px;
  left: 6px;
  padding: 7px 9px;
  border-radius: 7px;
  background: rgba(7, 59, 68, 0.8);
  color: var(--white);
  font-size: 12px;
  backdrop-filter: blur(8px);
}

.media-attribution {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 7px;
}

.media-attribution[hidden] {
  display: none;
}

.media-attribution__provider {
  flex: 0 0 auto;
  font-family: Roboto, sans-serif;
  font-style: normal;
  font-weight: 400;
  letter-spacing: normal;
  white-space: nowrap;
}

.media-attribution__avatar {
  width: 22px !important;
  height: 22px !important;
  min-height: 0 !important;
  flex: 0 0 auto;
  border-radius: 50%;
  object-fit: cover;
}

.media-attribution a {
  overflow: hidden;
  color: inherit;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.media-attribution__authors {
  display: block;
  min-width: 0;
  flex: 1 1 auto;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.media-attribution__authors[hidden] {
  display: none;
}

#media-source-link,
#media-report-link {
  flex: 0 0 auto;
}

.place-main {
  min-width: 0;
  padding: 16px 17px 17px;
}

.eyebrow-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
}

.eyebrow-row__meta {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: flex-end;
  gap: 7px;
}

.category-pill,
.open-pill,
.price-pill {
  border-radius: 99px;
  font-size: 9px;
  font-weight: 850;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  white-space: nowrap;
}

.category-pill {
  padding: 5px 7px;
  background: var(--sky);
  color: var(--sea-dark);
}

.open-pill {
  flex: 0 0 auto;
  color: var(--ink-soft);
}

.price-pill {
  padding: 5px 7px;
  background: #fff0c8;
  color: #76510b;
}

.open-pill.is-closed {
  color: #ad4638;
}

.place-main h1 {
  margin: 10px 0 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(22px, 4vw, 28px);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.04;
}

.place-details {
  margin: 5px 0 0;
  color: var(--ink-soft);
  font-size: 11px;
  line-height: 1.42;
  white-space: pre-line;
}

.place-details[hidden] {
  display: none;
}

.walking-summary {
  display: flex;
  min-height: 44px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 13px;
  padding: 10px 12px;
  border-radius: 12px;
  background: #f0f6f3;
}

.walking-summary span {
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 800;
}

.walking-summary strong {
  min-width: 0;
  font-size: 15px;
  font-weight: 900;
  text-align: right;
}

.place-feedback {
  margin-top: 9px;
  border: 1px solid rgba(7, 59, 68, 0.11);
  border-radius: 14px;
  background: var(--white);
}

.place-feedback > summary {
  display: grid;
  min-height: 46px;
  grid-template-columns: minmax(0, 1fr) auto 20px;
  gap: 8px;
  align-items: center;
  padding: 10px 11px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 850;
  list-style: none;
}

.place-feedback > summary::-webkit-details-marker {
  display: none;
}

.place-feedback > summary svg {
  width: 18px;
  fill: none;
  stroke: var(--ink-soft);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
  transition: transform 160ms ease;
}

.place-feedback[open] > summary svg {
  transform: rotate(180deg);
}

.place-feedback__count {
  display: grid;
  min-width: 22px;
  height: 22px;
  place-items: center;
  border-radius: 99px;
  background: var(--sky);
  color: var(--sea-dark);
  font-size: 10px;
}

.place-feedback__count:empty {
  display: none;
}

.place-feedback__body {
  padding: 0 10px 32px;
  border-top: 1px solid rgba(7, 59, 68, 0.08);
}

.place-feedback__body > p {
  margin: 11px 2px;
  color: var(--ink-soft);
  font-size: 11px;
  line-height: 1.4;
}

.map-location-fab {
  position: fixed;
  z-index: 810;
  right: 22px;
  bottom: var(--map-location-bottom, 304px);
  display: flex;
  width: 46px;
  height: 46px;
  border-radius: 15px;
  box-shadow: 0 10px 28px rgba(7, 59, 68, 0.2);
  transition: right 240ms ease, bottom 80ms linear, opacity 160ms ease, visibility 160ms ease;
}

.map-picker-cancel {
  position: fixed;
  z-index: 820;
  top: 150px;
  left: 50%;
  max-width: calc(100% - 28px);
  min-height: 42px;
  padding: 9px 14px;
  transform: translateX(-50%);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 13px;
  background: var(--ink);
  box-shadow: 0 8px 24px rgba(7, 59, 68, 0.22);
  color: var(--white);
  cursor: pointer;
  font: inherit;
  font-size: 11px;
  font-weight: 850;
  line-height: 1.25;
}

.map-picker-cancel[hidden] {
  display: none;
}

.map-location-fab.is-obscured {
  visibility: hidden;
  opacity: 0;
}

.place-panel.is-dragging + .map-location-fab,
.place-panel.is-settling + .map-location-fab {
  transition: opacity 160ms ease, visibility 160ms ease;
}

.toast {
  position: fixed;
  z-index: 1200;
  top: 125px;
  left: 50%;
  max-width: min(360px, calc(100% - 32px));
  padding: 11px 15px;
  transform: translateX(-50%);
  border-radius: 12px;
  background: var(--ink);
  box-shadow: var(--shadow);
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
}

.amenity-pins {
  position: relative;
  height: 54px;
  pointer-events: none;
}

.amenity-pin {
  --pin: var(--coral);
  position: absolute;
  bottom: 2px;
  left: 50%;
  width: 40px;
  height: 50px;
  padding: 0;
  transform: translateX(-50%);
  transform-origin: 50% 96%;
  border: 0;
  background: transparent;
  color: var(--white);
  cursor: pointer;
  filter: drop-shadow(0 4px 5px rgba(7, 59, 68, 0.29));
  pointer-events: auto;
  transition: filter 150ms ease, transform 150ms ease;
}

.amenity-pin__shell {
  position: absolute;
  inset: 0;
  width: 40px;
  height: 50px;
  overflow: visible;
}

.amenity-pin__shell path {
  fill: var(--pin);
  stroke: var(--white);
  stroke-linejoin: round;
  stroke-width: 3px;
  paint-order: stroke fill;
}

.amenity-pin__glyph {
  position: absolute;
  top: 8px;
  left: 9px;
  display: grid;
  width: 22px;
  height: 22px;
  place-items: center;
}

.amenity-pin__glyph svg {
  width: 21px;
  height: 21px;
  overflow: visible;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.9;
}

.amenity-pin__glyph text {
  font-family: inherit;
  font-size: 9px;
  font-weight: 950;
}

.amenity-pin--public_toilet .amenity-pin__glyph svg,
.amenity-pin--foot_wash .amenity-pin__glyph svg,
.amenity-pin--icon-toilet .amenity-pin__glyph svg,
.amenity-pin--icon-feet .amenity-pin__glyph svg {
  fill: currentColor;
  stroke: none;
}

.amenity-pin--drinking_water {
  --pin: #267fc5;
}

.amenity-pin--foot_wash {
  --pin: #e8ae2f;
  color: #513806;
}

.amenity-pins--2 .amenity-pin:first-child {
  left: 30%;
  transform: translateX(-50%) rotate(-8deg);
}

.amenity-pins--2 .amenity-pin:last-child {
  left: 70%;
  transform: translateX(-50%) rotate(8deg);
}

.amenity-pins--3 .amenity-pin:nth-child(1) {
  left: 20%;
  transform: translateX(-50%) rotate(-10deg);
}

.amenity-pins--3 .amenity-pin:nth-child(3) {
  left: 80%;
  transform: translateX(-50%) rotate(10deg);
}

.amenity-pin:hover,
.amenity-pin:focus-visible {
  z-index: 4;
  filter: drop-shadow(0 6px 7px rgba(7, 59, 68, 0.36));
}

.amenity-pin.is-selected {
  z-index: 5;
  animation: marker-bounce 500ms ease;
  filter: drop-shadow(0 0 1px var(--white)) drop-shadow(0 0 7px rgba(7, 59, 68, 0.7));
}

.amenity-pin:focus-visible {
  outline: 3px solid var(--sun);
  outline-offset: 2px;
  border-radius: 50% 50% 45% 45%;
}

@keyframes marker-bounce {
  50% {
    translate: 0 -7px;
  }
}

.user-marker {
  width: 22px;
  height: 22px;
  border: 4px solid var(--white);
  border-radius: 50%;
  background: #1877f2;
  box-shadow: 0 0 0 10px rgba(24, 119, 242, 0.17), 0 4px 12px rgba(7, 59, 68, 0.25);
}

.menu-drawer {
  position: fixed;
  z-index: 1500;
  inset: 0 0 0 auto;
  width: min(430px, 100%);
  max-width: none;
  height: 100dvh;
  max-height: none;
  margin: 0;
  padding: 0;
  transform: translateX(100%);
  border: 0;
  background: var(--sand-light);
  color: var(--ink);
  transition: transform 240ms ease, display 240ms allow-discrete, overlay 240ms allow-discrete;
}

.menu-drawer[open] {
  transform: translateX(0);
}

.menu-drawer.is-docked[open] {
  box-shadow: -18px 0 55px rgba(7, 59, 68, 0.18);
}

@starting-style {
  .menu-drawer[open] {
    transform: translateX(100%);
  }
}

.menu-drawer::backdrop {
  background: rgba(7, 42, 48, 0);
  backdrop-filter: blur(0);
  transition: background 240ms ease, backdrop-filter 240ms ease, display 240ms allow-discrete, overlay 240ms allow-discrete;
}

.menu-drawer[open]::backdrop {
  background: rgba(7, 42, 48, 0.45);
  backdrop-filter: blur(3px);
}

@starting-style {
  .menu-drawer[open]::backdrop {
    background: rgba(7, 42, 48, 0);
    backdrop-filter: blur(0);
  }
}

.drawer-shell {
  display: flex;
  height: 100%;
  flex-direction: column;
}

.drawer-header {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: space-between;
  padding: max(16px, env(safe-area-inset-top)) 18px 12px;
  border-bottom: 1px solid rgba(7, 59, 68, 0.1);
  background: rgba(255, 250, 240, 0.94);
  backdrop-filter: blur(14px);
}

.drawer-brand {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 10px;
}

.drawer-brand img {
  flex: 0 0 auto;
  border-radius: 13px;
}

.drawer-brand div {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.drawer-brand strong {
  font-size: 17px;
  font-weight: 900;
}

.drawer-brand span {
  margin-top: 2px;
  color: var(--ink-soft);
  font-size: 11px;
}

.drawer-close {
  display: grid;
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  place-items: center;
  border: 0;
  border-radius: 14px;
  background: #edf4f1;
  cursor: pointer;
}

.drawer-close svg {
  width: 21px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-width: 2;
}

.drawer-nav {
  display: grid;
  flex: 0 0 auto;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  padding: 10px 18px;
  border-bottom: 1px solid rgba(7, 59, 68, 0.08);
  background: var(--sand-light);
  scrollbar-width: none;
}

.drawer-nav::-webkit-scrollbar {
  display: none;
}

.drawer-nav a {
  padding: 9px 12px;
  border-radius: 99px;
  background: var(--sky);
  color: var(--sea-dark);
  font-size: 12px;
  font-weight: 850;
  text-align: center;
  text-decoration: none;
}

.drawer-nav__wide {
  grid-column: 1 / -1;
}

.drawer-content {
  min-height: 0;
  flex: 1 1 auto;
  overflow-y: auto;
  padding: 8px 18px calc(30px + env(safe-area-inset-bottom));
  overscroll-behavior: contain;
}

.drawer-section {
  padding: 24px 0 8px;
}

.drawer-section + .drawer-section {
  margin-top: 18px;
  border-top: 1px solid rgba(7, 59, 68, 0.13);
}

.section-kicker {
  margin: 0 0 5px;
  color: var(--sea);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.drawer-section h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 28px;
  letter-spacing: -0.035em;
}

.place-directory__search {
  display: grid;
  gap: 6px;
}

.place-directory__search > span {
  color: var(--ink);
  font-size: 11px;
  font-weight: 850;
}

.place-directory__search input {
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid #b8cfca;
  border-radius: 13px;
  background: var(--white);
  color: var(--ink);
  font: inherit;
  font-size: 16px;
  outline: none;
}

.place-directory__search input:focus-visible {
  border-color: var(--sea);
  box-shadow: 0 0 0 3px rgba(17, 142, 141, 0.18);
}

.place-directory__count {
  margin: 8px 2px 12px;
  color: var(--ink-soft);
  font-size: 11px;
  font-weight: 750;
}

.place-directory {
  display: grid;
  gap: 8px;
}

.place-directory__locality {
  overflow: clip;
  border: 1px solid rgba(7, 59, 68, 0.12);
  border-radius: 15px;
  background: var(--white);
}

.place-directory__locality[hidden],
.place-directory__category[hidden],
.place-directory__item[hidden] {
  display: none;
}

.place-directory__locality > summary {
  display: grid;
  min-height: 48px;
  grid-template-columns: minmax(0, 1fr) auto 12px;
  gap: 9px;
  align-items: center;
  padding: 10px 13px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 900;
  list-style: none;
}

.place-directory__locality > summary::-webkit-details-marker {
  display: none;
}

.place-directory__locality > summary > strong {
  display: grid;
  min-width: 25px;
  height: 25px;
  place-items: center;
  padding: 0 7px;
  border-radius: 99px;
  background: var(--sky);
  color: var(--sea-dark);
  font-size: 10px;
}

.place-directory__locality > summary::after {
  width: 8px;
  height: 8px;
  transform: translateY(-2px) rotate(45deg);
  border-right: 2px solid var(--ink-soft);
  border-bottom: 2px solid var(--ink-soft);
  content: "";
  transition: transform 150ms ease;
}

.place-directory__locality[open] > summary::after {
  transform: translateY(2px) rotate(225deg);
}

.place-directory__locality-body {
  display: grid;
  gap: 12px;
  padding: 0 10px 11px;
  border-top: 1px solid rgba(7, 59, 68, 0.08);
}

.place-directory__category {
  padding-top: 10px;
}

.place-directory__category + .place-directory__category {
  border-top: 1px solid rgba(7, 59, 68, 0.08);
}

.place-directory__category h3 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 0 3px 6px;
  color: var(--sea-dark);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.place-directory__category h3 strong {
  font-size: 10px;
}

.place-directory__category ul {
  display: grid;
  gap: 5px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.place-directory__link {
  display: grid;
  min-height: 44px;
  align-content: center;
  gap: 2px;
  padding: 9px 10px;
  border-radius: 10px;
  background: #f1f7f4;
  color: var(--ink);
  text-decoration: none;
}

.place-directory__link strong {
  font-size: 12px;
  line-height: 1.25;
}

.place-directory__link span {
  color: var(--ink-soft);
  font-size: 10px;
  line-height: 1.3;
}

.place-directory__link:hover {
  background: #e5f2ee;
}

.place-directory__link:focus-visible,
.place-directory__locality > summary:focus-visible {
  outline: 3px solid var(--sun);
  outline-offset: -3px;
}

.place-directory__empty {
  margin: 12px 2px 0;
  color: var(--ink-soft);
  font-size: 12px;
  line-height: 1.4;
}

.feedback-context {
  margin: 6px 0 16px;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.4;
}

.feedback-form {
  display: grid;
  gap: 13px;
  padding: 15px;
  border: 1px solid rgba(7, 59, 68, 0.1);
  border-radius: 18px;
  background: var(--white);
  box-shadow: 0 10px 30px rgba(7, 59, 68, 0.07);
}

.feedback-form--compact {
  gap: 10px;
  padding: 12px;
  border-radius: 14px;
  box-shadow: none;
}

.feedback-form.feedback-form--compact textarea {
  min-height: 84px;
}

.feedback-form--compact .feedback-submit {
  min-height: 44px;
}

.feedback-form > label,
.feedback-form fieldset {
  display: grid;
  gap: 6px;
  margin: 0;
  padding: 0;
  border: 0;
}

.feedback-form label > span:first-child,
.feedback-form legend {
  color: var(--ink);
  font-size: 11px;
  font-weight: 850;
}

.feedback-form small {
  color: var(--ink-soft);
  font-size: 10px;
  font-weight: 600;
}

.feedback-form input[type="text"],
.feedback-form select,
.feedback-form textarea {
  width: 100%;
  border: 1px solid #c8dad6;
  border-radius: 11px;
  background: #fbfdfc;
  color: var(--ink);
  font: inherit;
  font-size: 16px;
}

.feedback-form input[type="text"] {
  min-height: 44px;
  padding: 10px 11px;
}

.feedback-form select {
  min-height: 44px;
  padding: 10px 36px 10px 11px;
}

.feedback-form textarea {
  min-height: 104px;
  padding: 11px;
  resize: vertical;
}

.feedback-form input[type="file"] {
  width: 100%;
  color: var(--ink-soft);
  font: inherit;
  font-size: 12px;
}

.feedback-form input[type="file"]::file-selector-button {
  min-height: 40px;
  margin-right: 9px;
  padding: 0 12px;
  border: 1px solid #b8cfca;
  border-radius: 10px;
  background: #edf6f3;
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  font-weight: 800;
}

.place-contribution-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(7, 59, 68, 0.1);
}

.contribution-toggle {
  min-height: 44px;
  padding: 8px 10px;
  border: 1px solid #b8cfca;
  border-radius: 12px;
  background: #edf6f3;
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  font-size: 11px;
  font-weight: 850;
  line-height: 1.2;
}

.contribution-toggle[aria-expanded="true"] {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--white);
}

.contribution-toggle:focus-visible {
  outline: 3px solid var(--sun);
  outline-offset: 2px;
}

.contribution-panel {
  margin-top: 10px;
}

.contribution-panel[hidden] {
  display: none;
}

.photo-file-field small {
  line-height: 1.4;
}

.feedback-form .photo-consent {
  display: grid;
  grid-template-columns: 20px 1fr;
  align-items: start;
  gap: 9px;
  color: var(--ink-soft);
  font-size: 11px;
  line-height: 1.4;
}

.photo-consent input {
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: var(--sea);
}

.photo-upload-form.is-processing .photo-file-field {
  opacity: 0.65;
}

.new-place-photo-preview {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 7px;
}

.new-place-photo-preview__item {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1;
  border-radius: 10px;
  background: #dce9e5;
}

.new-place-photo-preview__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.new-place-photo-preview__remove {
  position: absolute;
  top: 4px;
  right: 4px;
  display: grid;
  width: 25px;
  height: 25px;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 50%;
  background: rgba(7, 59, 68, 0.88);
  color: var(--white);
  cursor: pointer;
  font-size: 16px;
  font-weight: 800;
  line-height: 1;
}

.new-place-section .feedback-form.is-processing .new-place-photo-field,
.new-place-section .feedback-form.is-processing .new-place-photo-preview,
.new-place-section .feedback-form.is-processing .photo-consent {
  opacity: 0.65;
}

.rating-input {
  display: flex;
  width: max-content;
  justify-content: flex-end;
}

.rating-input label {
  position: relative;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  cursor: pointer;
}

.rating-input input {
  position: absolute;
  opacity: 0;
}

.rating-input label > span[aria-hidden="true"] {
  color: #c4cfcc;
  font-size: 30px;
  line-height: 1;
  transition: color 120ms ease, transform 120ms ease;
}

.rating-input label:hover > span[aria-hidden="true"],
.rating-input label:has(~ label:hover) > span[aria-hidden="true"],
.rating-input input:checked + span,
.rating-input label:has(~ label input:checked) > span[aria-hidden="true"] {
  color: var(--sun);
}

.rating-input input:focus-visible + span {
  outline: 3px solid var(--sea);
  outline-offset: 2px;
  border-radius: 4px;
}

.feedback-honeypot {
  position: absolute !important;
  left: -10000px;
}

.feedback-submit {
  min-height: 48px;
  border: 0;
  border-radius: 12px;
  background: var(--ink);
  color: var(--white);
  cursor: pointer;
  font-weight: 850;
}

.feedback-submit:disabled {
  cursor: wait;
  opacity: 0.65;
}

.form-status {
  min-height: 0;
  margin: -4px 0 0;
  color: var(--ink-soft);
  font-size: 11px;
  line-height: 1.35;
}

.form-status:empty {
  display: none;
}

.moderation-note {
  margin: 0;
  color: var(--ink-soft);
  font-size: 11px;
  line-height: 1.42;
}

.coordinate-picker {
  display: grid;
  gap: 7px;
  padding: 12px;
  border: 1px dashed #9dbeb7;
  border-radius: 13px;
  background: #f4faf7;
}

.coordinate-picker__label {
  font-size: 11px;
  font-weight: 850;
}

.coordinate-picker strong {
  color: var(--ink-soft);
  font-size: 12px;
}

.coordinate-picker > div {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
}

.coordinate-picker button,
.poll-options button {
  min-height: 44px;
  padding: 8px 10px;
  border: 1px solid #b8cfca;
  border-radius: 11px;
  background: var(--white);
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  font-size: 11px;
  font-weight: 850;
}

.coordinate-picker button:last-child {
  border-color: transparent;
  background: var(--sea-dark);
  color: var(--white);
}

.poll-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
}

.poll-options button {
  border-color: transparent;
  background: var(--coral);
  color: var(--white);
}

.poll-options button:disabled {
  cursor: wait;
  opacity: 0.6;
}

.poll-results {
  display: grid;
  gap: 11px;
}

.poll-results[hidden] {
  display: none;
}

.poll-results > div {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 6px 12px;
  font-size: 12px;
}

.poll-results i {
  grid-column: 1 / -1;
  display: block;
  width: var(--poll-width, 0%);
  height: 9px;
  border-radius: 99px;
  background: var(--sea);
  transition: width 300ms ease;
}

.poll-results > div:nth-child(2) i {
  background: var(--sun);
}

.poll-results p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 11px;
}

.reviews-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin: 24px 0 9px;
}

.reviews-heading h3 {
  margin: 0;
  font-size: 15px;
}

.reviews-heading span {
  color: var(--ink-soft);
  font-size: 11px;
  font-weight: 750;
}

.reviews-list {
  display: grid;
  gap: 8px;
}

.place-reviews-list {
  margin-top: 10px;
}

.review-card {
  padding: 13px;
  border: 1px solid rgba(7, 59, 68, 0.09);
  border-radius: 15px;
  background: var(--white);
}

.review-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.review-card__top strong {
  overflow: hidden;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.review-card__stars {
  color: var(--sun);
  font-size: 13px;
  letter-spacing: -0.04em;
}

.review-card p {
  margin: 8px 0;
  color: #244f56;
  font-size: 13px;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.review-card time,
.reviews-empty {
  color: var(--ink-soft);
  font-size: 11px;
}

.reviews-empty {
  margin: 0;
  padding: 14px;
  border-radius: 14px;
  background: #edf4f1;
  line-height: 1.45;
}

.about-section > p:not(.section-kicker, .source-date) {
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.55;
}

.service-list {
  display: grid;
  gap: 1px;
  margin: 18px 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(7, 59, 68, 0.1);
  border-radius: 16px;
  background: rgba(7, 59, 68, 0.08);
  list-style: none;
}

.service-list li {
  display: grid;
  gap: 3px;
  padding: 12px;
  background: var(--white);
}

.service-list strong {
  font-size: 11px;
}

.service-list a {
  color: var(--sea-dark);
  font-size: 12px;
  font-weight: 750;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

.source-date {
  color: var(--ink-soft);
  font-size: 11px;
}

.privacy-note {
  margin-top: 16px;
  padding: 14px;
  border-radius: 16px;
  background: var(--sky);
}

.accuracy-note {
  margin-top: 9px;
  background: #fff1cf;
}

.legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid rgba(7, 59, 68, 0.12);
}

.legal-links a {
  color: var(--sea-dark);
  font-size: 11px;
  font-weight: 750;
  text-underline-offset: 3px;
}

.privacy-note strong {
  font-size: 12px;
}

.privacy-note p {
  margin: 5px 0 0;
  color: var(--ink-soft);
  font-size: 12px;
  line-height: 1.48;
}

@media (min-width: 760px) {
  .topbar {
    right: 24px;
    left: 24px;
  }

  .filter-bar {
    top: 92px;
    left: 24px;
  }

  .place-panel {
    right: 24px;
    bottom: 24px;
  }

  .leaflet-control-attribution {
    margin-right: 430px !important;
  }
}

@media (min-width: 1180px) {
  html:has(.menu-drawer.is-docked[open]) .place-panel {
    right: 454px;
  }

  html:has(.menu-drawer.is-docked[open]) .map-location-fab {
    right: 452px;
  }

  html:has(.menu-drawer.is-docked[open]) .leaflet-control-attribution {
    margin-right: 868px !important;
  }
}

@media (max-width: 759px) {
  .topbar {
    right: 12px;
    left: 12px;
  }

  .filter-bar {
    top: calc(max(14px, env(safe-area-inset-top)) + 64px);
    right: 0;
    left: 0;
    gap: 5px;
    overflow-x: auto;
    padding: 2px 12px 10px;
    scrollbar-width: none;
  }

  .filter-bar::-webkit-scrollbar {
    display: none;
  }

  .filter-chip {
    flex: 0 0 auto;
    gap: 5px;
    padding: 6px 8px 6px 6px;
  }

  .filter-chip strong {
    display: none;
  }

  .place-panel {
    right: 8px;
    bottom: max(8px, env(safe-area-inset-bottom));
    left: 8px;
    width: auto;
    max-height: calc(100dvh - max(126px, env(safe-area-inset-top)));
    border-radius: 23px;
  }

  .panel-toggle {
    min-height: 42px;
  }

  .place-content {
    max-height: calc(100dvh - max(139px, env(safe-area-inset-top)));
  }

  .place-main {
    padding: 13px 13px 13px 12px;
  }

  .place-main h1 {
    margin-top: 8px;
    font-size: 22px;
  }

  .map-location-fab {
    right: 14px;
  }

  .toast {
    top: 124px;
  }
}

@media (max-width: 759px) and (max-height: 700px) {
  .place-content:has(.place-feedback[open]) .place-photo,
  .place-content:has(.place-feedback[open]) .street-view-panorama,
  .place-content:has(.place-feedback[open]) .media-gallery,
  .place-content:has(.place-feedback[open]) .media-gallery__track,
  .place-content:has(.place-feedback[open]) .media-gallery__slide,
  .place-content:has(.place-feedback[open]) .media-gallery__slide img,
  .place-content:has(.place-feedback[open]) .photo-placeholder {
    height: 210px;
    min-height: 210px;
  }
}

@media (max-width: 380px) {
  .brand small {
    display: none;
  }

  .brand strong {
    font-size: 14px;
  }

  .photo-placeholder svg {
    width: 70px;
  }

}

@media (max-width: 340px) {
  .place-main h1 {
    font-size: 20px;
  }

  .photo-placeholder svg {
    width: 62px;
  }

  .photo-placeholder span {
    font-size: 8px;
  }

}

@media (max-height: 560px) and (pointer: coarse) {
  .brand small {
    display: none;
  }

  .place-content {
    max-height: calc(100dvh - 126px);
  }

  .place-main {
    padding: 12px;
  }

  .place-main h1 {
    margin-top: 6px;
    font-size: 20px;
  }

  .place-photo,
  .media-gallery,
  .media-gallery__track,
  .media-gallery__slide,
  .media-gallery__open,
  .media-gallery__slide img,
  .street-view-panorama,
  .photo-placeholder {
    min-height: 240px;
    height: 240px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
