/* Brooo Nearby. Soft lavender paper, lagoon blues, Brooo's purple, round type. */

@font-face {
  font-family: 'Nunito';
  src: url('../assets/fonts/Nunito.ttf') format('truetype');
  font-weight: 200 1000;
  font-display: swap;
}

:root {
  color-scheme: light;
  --ink: #221D44;
  --ink-soft: #49446A;
  --muted: #5F5A7E;
  --paper: #FFFFFF;
  --lavender: #F6F3FC;
  --lavender-deep: #ECE6F9;
  --line: #E2DBF2;
  --accent: #5B2BD6;
  --accent-ink: #4A22C4;
  --accent-soft: #EEE8FF;
  --lagoon: #BCE0EE;
  --danger: #A30E14;
  --danger-soft: #FFF0EE;
  --radius: 20px;
  --radius-small: 14px;
  --shadow: 0 1px 2px rgb(34 29 68 / 0.06), 0 8px 24px rgb(34 29 68 / 0.08);
  --shadow-big: 0 2px 6px rgb(34 29 68 / 0.08), 0 24px 60px rgb(34 29 68 / 0.16);
  --map-h: 36svh;
}

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

html {
  -webkit-text-size-adjust: 100%;
}

/* On phones the map is stuck to the top; anything scrolled or focused into
   view must land below it. */
@media (max-width: 899.98px) {
  html {
    scroll-padding-top: calc(var(--map-h) + 8px);
  }
}

body {
  margin: 0;
  background: var(--lavender);
  color: var(--ink);
  font-family: 'Nunito', ui-rounded, system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.45;
  font-optical-sizing: auto;
}

a {
  color: var(--accent-ink);
}

button,
input {
  font: inherit;
  color: inherit;
}

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

[hidden] {
  display: none !important;
}

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

.skip {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 10;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-weight: 800;
}

.skip:focus {
  top: 16px;
}

/* --- Layout: phones ------------------------------------------------------- */

.app {
  display: flex;
  flex-direction: column;
  min-height: 100svh;
}

.panel {
  display: contents;
}

.map {
  order: 1;
  position: sticky;
  top: 0;
  z-index: 2;
  height: var(--map-h);
  flex: none;
  background: var(--lagoon);
  box-shadow: 0 6px 20px rgb(34 29 68 / 0.12);
}

.hero {
  order: 2;
}

.where {
  order: 3;
}

.view {
  order: 4;
  scroll-margin-top: calc(var(--map-h) + 8px);
}

.lines {
  order: 5;
}

.hero,
.where,
.view,
.lines {
  padding-inline: 16px;
}

/* --- Layout: wide screens -------------------------------------------------- */

@media (min-width: 900px) {
  .app {
    display: block;
    position: fixed;
    inset: 0;
  }

  .map {
    position: absolute;
    inset: 0;
    height: auto;
    box-shadow: none;
  }

  .panel {
    display: flex;
    flex-direction: column;
    position: absolute;
    z-index: 3;
    left: 16px;
    top: 16px;
    bottom: 16px;
    width: 430px;
    overflow-y: auto;
    overscroll-behavior: contain;
    border-radius: 28px;
    background: rgb(255 255 255 / 0.94);
    backdrop-filter: blur(18px) saturate(1.2);
    -webkit-backdrop-filter: blur(18px) saturate(1.2);
    box-shadow: var(--shadow-big);
    scrollbar-width: thin;
  }

  .hero,
  .where,
  .view,
  .lines {
    padding-inline: 22px;
  }

  .view {
    flex: 1 0 auto;
  }
}

/* --- Brooo at the top ---------------------------------------------------------- */

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

/* --- Language picker ------------------------------------------------------------ */

.lang {
  position: relative;
  display: inline-flex;
  align-items: center;
  flex: none;
}

.lang-icon {
  position: absolute;
  left: 11px;
  color: var(--accent);
  pointer-events: none;
}

.lang select {
  appearance: none;
  -webkit-appearance: none;
  min-height: 36px;
  border: 0;
  border-radius: 999px;
  padding: 6px 32px 6px 34px;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%234A22C4' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E")
      right 12px center / 12px no-repeat,
    var(--accent-soft);
  color: var(--accent-ink);
  font-weight: 800;
  font-size: 14px;
  cursor: pointer;
}

.lang select:hover {
  background-color: #E3DAFF;
}

.hero {
  position: relative;
  padding-top: 14px;
  padding-bottom: 6px;
}

.wordmark {
  font-weight: 900;
  font-size: 20px;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.wordmark span {
  color: var(--accent);
}

.hero-talk {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
}

.hero-brooo {
  width: 104px;
  height: auto;
  flex: none;
  filter: drop-shadow(0 8px 14px rgb(91 43 214 / 0.18));
  animation: float 5s ease-in-out infinite;
}

.bubble {
  position: relative;
  margin: 0;
  padding: 12px 15px;
  border-radius: 18px;
  background: var(--paper);
  box-shadow: var(--shadow);
  font-weight: 650;
  font-size: 16px;
  line-height: 1.4;
  min-height: 3.4em;
}

.bubble::before {
  content: '';
  position: absolute;
  left: -7px;
  top: 50%;
  width: 14px;
  height: 14px;
  background: var(--paper);
  transform: translateY(-50%) rotate(45deg);
  border-radius: 3px;
}

.bubble.is-new {
  animation: pop 0.35s ease-out;
}

@media (min-width: 900px) {
  .hero {
    padding-top: 20px;
    padding-bottom: 18px;
    background:
      linear-gradient(to bottom, rgb(255 255 255 / 0) 55%, rgb(255 255 255 / 0.94)),
      url('../assets/art/lagoon.jpg') center 62% / cover;
    border-radius: 28px 28px 0 0;
  }

  .wordmark {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 999px;
    background: rgb(255 255 255 / 0.82);
  }

  .hero-talk {
    flex-direction: column;
    align-items: stretch;
    margin-top: 4px;
  }

  .hero-brooo {
    width: 170px;
    align-self: center;
  }

  .bubble {
    margin-top: 2px;
  }

  .bubble::before {
    left: 50%;
    top: -7px;
    transform: translateX(-50%) rotate(45deg);
  }
}

.place-note {
  margin: 0 0 10px;
  padding: 8px 12px;
  border-radius: var(--radius-small);
  background: var(--accent-soft);
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 650;
  line-height: 1.35;
}

/* --- Chinese and Vietnamese ---------------------------------------------------------
   Nunito has no Chinese characters, so name good ones for each script. Long
   words (road names, addresses) may break instead of pushing the page wide. */

body {
  overflow-wrap: break-word;
}

:lang(zh-Hans) {
  font-family: 'Nunito', ui-rounded, 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Noto Sans SC', 'Noto Sans CJK SC', system-ui, sans-serif;
}

:lang(zh-Hant) {
  font-family: 'Nunito', ui-rounded, 'PingFang TC', 'Microsoft JhengHei', 'Noto Sans TC', 'Noto Sans CJK TC', system-ui, sans-serif;
}

:lang(zh-Hans),
:lang(zh-Hant) {
  line-break: strict;
  word-break: normal;
}

:lang(zh-Hans) .bubble,
:lang(zh-Hant) .bubble,
:lang(zh-Hans) .screen-title,
:lang(zh-Hant) .screen-title {
  line-height: 1.5;
}

.bubble,
.need-text,
.lead,
.guide-cta-text {
  text-wrap: pretty;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0) rotate(-1deg);
  }
  50% {
    transform: translateY(-6px) rotate(1deg);
  }
}

@keyframes pop {
  from {
    transform: scale(0.97);
    opacity: 0.4;
  }
  to {
    transform: none;
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-brooo,
  .bubble.is-new {
    animation: none;
  }
}

/* --- Where you are -------------------------------------------------------------- */

.where {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  padding-top: 10px;
  padding-bottom: 10px;
}

.where-icon {
  color: var(--accent);
  flex: none;
}

.where-text {
  margin: 0;
  flex: 1 1 auto;
  min-width: 0;
  font-size: 16px;
  color: var(--ink-soft);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.where-text b {
  color: var(--ink);
}

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

.chip {
  border: 0;
  border-radius: 999px;
  padding: 7px 13px;
  background: var(--accent-soft);
  color: var(--accent-ink);
  font-weight: 800;
  font-size: 14px;
  cursor: pointer;
  white-space: nowrap;
}

.chip:hover {
  background: #E3DAFF;
}

.chip-quiet {
  background: transparent;
  box-shadow: inset 0 0 0 1.5px var(--line);
  color: var(--ink-soft);
}

.where-form {
  flex: 1 0 100%;
  position: relative;
}

.where-form input,
.search input {
  width: 100%;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-small);
  padding: 11px 14px;
  background: var(--paper);
  font-size: 16px;
}

.where-form input:focus,
.search input:focus {
  border-color: var(--accent);
  outline: none;
  box-shadow: 0 0 0 3px rgb(91 43 214 / 0.18);
}

.suggestions {
  list-style: none;
  margin: 6px 0 0;
  padding: 0;
  border-radius: var(--radius-small);
  background: var(--paper);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.suggestions:empty {
  display: none;
}

.suggestions button {
  display: block;
  width: 100%;
  border: 0;
  padding: 10px 14px;
  background: none;
  text-align: left;
  cursor: pointer;
}

.suggestions button:hover,
.suggestions button:focus-visible {
  background: var(--lavender);
}

.suggestions span {
  display: block;
  font-weight: 750;
}

.suggestions small,
.suggestion-empty {
  color: var(--muted);
  font-size: 14px;
}

.suggestion-empty {
  padding: 10px 14px;
}

/* --- Screens ---------------------------------------------------------------- */

.view {
  padding-top: 6px;
  padding-bottom: 24px;
  outline: none;
}

.section {
  margin-top: 18px;
}

.section-title {
  margin: 0 0 10px;
  font-size: 19px;
  font-weight: 850;
  letter-spacing: -0.01em;
}

.screen-title {
  margin: 6px 0 12px;
  font-size: 26px;
  line-height: 1.15;
  font-weight: 900;
  letter-spacing: -0.015em;
}

.lead {
  margin: -4px 0 14px;
  color: var(--ink-soft);
}

/* Screen titles get focus after navigation so screen readers start there;
   the ring is only noise for everyone else. */
h1[tabindex='-1']:focus {
  outline: none;
}

.back {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin: 4px 0 0 -4px;
  padding: 6px 10px 6px 4px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 15px;
  text-decoration: none;
}

.back:hover {
  background: var(--accent-soft);
}

/* Kinds of help */
.needs {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.need {
  display: flex;
  flex-direction: column;
  gap: 8px;
  height: 100%;
  padding: 14px;
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--shadow);
  color: var(--ink);
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.need:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-big);
}

.need-icon,
.card-icon,
.place-icon {
  display: grid;
  place-items: center;
  flex: none;
  border-radius: 50%;
  color: #fff;
  background: var(--c);
}

.need-icon {
  width: 42px;
  height: 42px;
}

.need-label {
  display: block;
  font-weight: 850;
  font-size: 16.5px;
  line-height: 1.2;
}

.need-hint {
  display: block;
  margin-top: 2px;
  font-size: 14px;
  line-height: 1.3;
  color: var(--muted);
}

.guide-cta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 14px;
  padding: 14px 16px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, #EEE8FF, #E3F4F8);
  color: var(--ink);
  text-decoration: none;
}

.guide-cta img {
  width: 44px;
  height: 44px;
  flex: none;
}

.guide-cta-title {
  display: block;
  font-weight: 850;
}

.guide-cta-text {
  display: block;
  font-size: 14.5px;
  color: var(--ink-soft);
}

.guide-cta svg,
.card > svg {
  flex: none;
  margin-left: auto;
  color: var(--muted);
}

.search {
  display: flex;
  gap: 8px;
  margin-top: 14px;
}

/* Buttons */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: 0;
  border-radius: 999px;
  padding: 10px 16px;
  background: var(--accent);
  color: #fff;
  font-weight: 800;
  font-size: 15px;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
}

.button:hover {
  background: var(--accent-ink);
}

.button:disabled {
  background: #CFC8E3;
  cursor: not-allowed;
}

.button-quiet {
  background: var(--paper);
  color: var(--accent-ink);
  box-shadow: inset 0 0 0 1.5px var(--line);
}

.button-quiet:hover {
  background: var(--accent-soft);
}

.button-big {
  width: 100%;
  padding: 14px 18px;
  font-size: 17px;
}

.link-button {
  border: 0;
  padding: 6px 0;
  background: none;
  color: var(--accent-ink);
  font-weight: 800;
  cursor: pointer;
}

/* Place cards */
.cards {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--shadow);
  color: var(--ink);
  text-decoration: none;
  transition: transform 0.15s ease;
}

.card:hover {
  transform: translateX(2px);
}

.card-icon {
  width: 38px;
  height: 38px;
}

.card-body {
  min-width: 0;
}

.card-title {
  display: block;
  font-weight: 850;
  line-height: 1.25;
}

.card-what {
  display: block;
  margin-top: 2px;
  font-size: 14.5px;
  line-height: 1.3;
  color: var(--ink-soft);
}

.card-meta {
  display: block;
  margin-top: 4px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--muted);
}

.more,
.empty {
  color: var(--muted);
  font-size: 15px;
}

.see-all {
  display: inline-flex;
  align-items: center;
  margin-top: 8px;
  font-weight: 800;
  text-decoration: none;
}

/* Programs */
.programs {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.program {
  padding: 14px 16px;
  border-radius: var(--radius);
  background: var(--lavender);
  box-shadow: inset 0 0 0 1.5px var(--line);
}

@media (min-width: 900px) {
  .program {
    background: #F8F6FD;
  }
}

.program h3 {
  margin: 0;
  font-size: 17px;
  font-weight: 850;
}

.program p {
  margin: 4px 0 0;
  font-size: 15px;
}

.program .program-who {
  color: var(--muted);
  font-size: 14px;
}

.program-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px !important;
}

.more-programs {
  margin-top: 8px;
}

.more-programs summary {
  padding: 8px 0;
  color: var(--accent-ink);
  font-weight: 800;
  cursor: pointer;
}

.more-programs .programs {
  margin-top: 4px;
}

/* One place */
.place-kicker {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 12px 0 0;
  font-size: 14px;
  font-weight: 800;
  color: var(--muted);
}

.place-icon {
  width: 30px;
  height: 30px;
}

.place-services {
  margin: 0 0 14px;
  padding-left: 22px;
}

.place-services li {
  margin: 3px 0;
}

.place-services li::marker {
  color: var(--c);
}

.facts {
  margin: 0;
  padding: 4px 16px;
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--shadow);
}

.facts div {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 10px;
  padding: 10px 0;
}

.facts div + div {
  border-top: 1px solid var(--line);
}

.facts dt {
  font-size: 14px;
  font-weight: 800;
  color: var(--muted);
}

.facts dd {
  margin: 0;
  overflow-wrap: anywhere;
}

.facts a {
  font-weight: 750;
}

.place-actions {
  display: flex;
  gap: 8px;
  margin: 12px 0 0;
}

.modes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  padding: 4px;
  border-radius: 999px;
  background: var(--lavender-deep);
}

.mode {
  border: 0;
  border-radius: 999px;
  padding: 8px 0;
  background: none;
  font-weight: 800;
  color: var(--ink-soft);
  cursor: pointer;
}

.mode[aria-pressed='true'] {
  background: var(--paper);
  color: var(--accent-ink);
  box-shadow: var(--shadow);
}

.route {
  margin-top: 12px;
}

.route-wait {
  color: var(--muted);
}

.route-summary {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin: 0 0 8px;
}

.route-summary b {
  font-size: 24px;
  font-weight: 900;
  color: var(--accent-ink);
}

.route-summary span {
  color: var(--muted);
  font-weight: 700;
}

.steps {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.steps li {
  position: relative;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0 8px 34px;
  border-top: 1px solid var(--line);
  counter-increment: step;
  font-size: 15.5px;
}

.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 8px;
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent-ink);
  font-size: 13px;
  font-weight: 900;
}

.steps small {
  flex: none;
  color: var(--muted);
  font-weight: 700;
}

.transit {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.transit p {
  flex: 1 0 100%;
  margin: 0;
  font-weight: 800;
}

.source {
  margin-top: 22px;
  font-size: 13.5px;
  color: var(--muted);
}

/* "Not sure?" */
.situations fieldset {
  margin: 0 0 16px;
  padding: 0;
  border: 0;
  display: grid;
  gap: 8px;
}

.situation {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: var(--radius-small);
  background: var(--paper);
  box-shadow: var(--shadow);
  font-weight: 700;
  cursor: pointer;
}

.situation input {
  width: 22px;
  height: 22px;
  flex: none;
  accent-color: var(--accent);
}

.situation:has(input:checked) {
  box-shadow: inset 0 0 0 2px var(--accent), var(--shadow);
  background: #FBFAFF;
}

.urgent {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  border-radius: var(--radius);
  background: var(--danger-soft);
  box-shadow: inset 0 0 0 1.5px #F6C9C3;
}

.urgent p {
  margin: 0;
  flex: 1 1 220px;
}

.urgent .button {
  background: var(--danger);
}

/* About */
.about h2 {
  margin: 22px 0 6px;
  font-size: 18px;
  font-weight: 850;
}

.about p,
.about li {
  font-size: 15.5px;
}

.about ul {
  padding-left: 20px;
}

/* --- Help lines --------------------------------------------------------------- */

.lines {
  padding-top: 14px;
  padding-bottom: calc(18px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  background: var(--paper);
}

@media (min-width: 900px) {
  .lines {
    background: transparent;
  }
}

.line-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}

.line-list a {
  display: block;
  height: 100%;
  padding: 8px 10px;
  border-radius: var(--radius-small);
  background: var(--lavender);
  color: var(--ink);
  text-decoration: none;
}

.line-list b {
  display: block;
  font-size: 20px;
  font-weight: 900;
  color: var(--accent-ink);
}

.line-list span {
  display: block;
  font-size: 12.5px;
  line-height: 1.25;
  color: var(--ink-soft);
}

.fine {
  margin: 10px 0 0;
  font-size: 12.5px;
  color: var(--muted);
}

/* --- Map pins ------------------------------------------------------------------ */

.pin {
  display: grid;
  justify-items: center;
  border: 0;
  padding: 0 0 8px;
  background: none;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.pin-dot {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  background: var(--pin);
  color: #fff;
  box-shadow: 0 2px 0 2px #fff, 0 6px 12px rgb(34 29 68 / 0.28);
  transition: transform 0.15s ease;
}

.pin-dot svg {
  transform: rotate(45deg);
}

.pin-label {
  position: absolute;
  bottom: 46px;
  left: 50%;
  transform: translateX(-50%);
  max-width: 220px;
  padding: 5px 10px;
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  box-shadow: var(--shadow);
  font-size: 13.5px;
  font-weight: 800;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.15s ease;
}

.pin:hover .pin-dot,
.pin:focus-visible .pin-dot,
.pin.is-hover .pin-dot,
.pin.is-selected .pin-dot {
  transform: rotate(-45deg) scale(1.2);
}

.pin:hover .pin-label,
.pin:focus-visible .pin-label,
.pin.is-hover .pin-label,
.pin.is-selected .pin-label {
  opacity: 1;
}

.pin.is-hover,
.pin.is-selected {
  z-index: 2;
}

.pin.is-dimmed {
  opacity: 0.45;
}

.origin-pin {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  pointer-events: none;
}

.origin-pin img {
  position: relative;
  width: 40px;
  height: 40px;
  object-fit: contain;
  padding: 2px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 3px var(--accent), 0 4px 10px rgb(34 29 68 / 0.3);
}

.origin-ring {
  position: absolute;
  inset: 4px;
  border-radius: 50%;
  background: rgb(91 43 214 / 0.28);
  animation: ring 2.4s ease-out infinite;
}

@keyframes ring {
  from {
    transform: scale(0.6);
    opacity: 1;
  }
  to {
    transform: scale(1.6);
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .origin-ring {
    animation: none;
  }
}

.maplibregl-ctrl-attrib {
  font-family: system-ui, sans-serif;
  font-size: 11px;
}
