/* app:src/styles.css */
:root {
  --bg: #fbf7f2;
  --ink: #2a1d16;
  --muted: #7a6558;
  --accent: #b4532a;
  --accent-soft: #f3dccd;
  --line: #e7dbd0;
  color-scheme: light;
}
* {
  box-sizing: border-box;
}
html,
body {
  height: 100%;
  margin: 0;
}
body {
  font-family:
    ui-sans-serif,
    system-ui,
    -apple-system,
    "Segoe UI",
    Roboto,
    sans-serif;
  color: var(--ink);
  background: var(--bg);
  display: flex;
  flex-direction: column;
  height: 100dvh;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  padding: 0.75rem 1rem;
  background: #fff;
  border-bottom: 1px solid var(--line);
  box-shadow: 0 1px 8px rgba(42, 29, 22, 0.06);
  z-index: 1000;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.logo {
  display: grid;
  place-items: center;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 0.7rem;
  background: var(--accent);
  color: #fff4e6;
  font-size: 1.4rem;
}
h1 {
  font-size: 1.15rem;
  margin: 0;
  letter-spacing: -0.01em;
}
.count {
  margin: 0.1rem 0 0;
  font-size: 0.85rem;
  color: var(--muted);
}
.tools {
  display: flex;
  gap: 0.5rem;
  flex: 1 1 22rem;
  max-width: 40rem;
}
.search {
  flex: 1;
}
.search input {
  width: 100%;
  font: inherit;
  padding: 0.55rem 0.8rem;
  border: 1px solid var(--line);
  border-radius: 0.6rem;
  background: var(--bg);
  color: var(--ink);
}
.search input:focus {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
  background: #fff;
}
button {
  font: inherit;
  cursor: pointer;
  border-radius: 0.6rem;
  padding: 0.55rem 0.9rem;
}
button.ghost {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  white-space: nowrap;
}
button.ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
}
button:disabled {
  opacity: 0.6;
  cursor: progress;
}
button.primary {
  border: 0;
  background: var(--accent);
  color: #fff;
}
.stage {
  position: relative;
  flex: 1;
  min-height: 0;
}
#map {
  position: absolute;
  inset: 0;
  background: #e9e4dc;
}
.state {
  position: absolute;
  left: 50%;
  top: 1.25rem;
  transform: translateX(-50%);
  z-index: 900;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  max-width: calc(100% - 2rem);
  padding: 0.7rem 1rem;
  border-radius: 0.8rem;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 6px 24px rgba(42, 29, 22, 0.12);
  font-size: 0.92rem;
}
.state p {
  margin: 0;
}
.state[hidden] {
  display: none;
}
.state.error {
  border-color: #e2a48a;
  background: #fff6f1;
}
.spinner {
  width: 1.1rem;
  height: 1.1rem;
  border-radius: 50%;
  border: 2px solid var(--accent-soft);
  border-top-color: var(--accent);
  animation: spin 0.8s linear infinite;
  flex: none;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.popup h2 {
  font-size: 1rem;
  margin: 0 0 0.3rem;
}
.popup p {
  margin: 0.2rem 0;
  font-size: 0.85rem;
  color: var(--muted);
}
.popup .hours {
  color: var(--ink);
}
.popup a {
  color: var(--accent);
  font-weight: 600;
}
.leaflet-container {
  font: inherit;
}
@media (max-width: 560px) {
  .bar {
    padding: 0.6rem 0.75rem;
  }
  .tools {
    flex-basis: 100%;
    max-width: none;
  }
  #live {
    padding-inline: 0.6rem;
  }
}
.lang {
  display: flex;
  border: 1px solid var(--line);
  border-radius: 0.6rem;
  overflow: hidden;
  flex: none;
}
.lang button {
  border: 0;
  border-radius: 0;
  background: #fff;
  color: var(--muted);
  padding: 0.55rem 0.65rem;
  font-weight: 600;
  font-size: 0.85rem;
}
.lang button[aria-pressed=true] {
  background: var(--accent);
  color: #fff;
}
.foot {
  padding: 0.35rem 1rem;
  font-size: 0.78rem;
  color: var(--muted);
  background: #fff;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 0.75rem;
  justify-content: space-between;
}
.foot a {
  color: var(--accent);
}
.popup .kind {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--accent);
  margin: 0 0 0.15rem;
}
.popup .note {
  font-style: italic;
}
.popup .links {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  margin-top: 0.45rem;
}
.popup .osm {
  font-weight: 500;
}
/*# sourceMappingURL=main.css.map */
