@font-face {
  font-family: "Geist";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/geist-latin-400-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122;
}

@font-face {
  font-family: "Geist";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/fonts/geist-latin-500-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122;
}

@font-face {
  font-family: "Geist";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/fonts/geist-latin-600-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122;
}

@font-face {
  font-family: "Geist Mono";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/fonts/geist-mono-latin-500-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122;
}

:root {
  --bg: #000000;
  --surface: #181818;
  --surface-2: #1f1f1f;
  --surface-3: #272727;
  --line: #313131;
  --ink: #131209;
  --text: #ffffff;
  --muted: #9b9b9b;
  --space-25: 2px;
  --space-50: 4px;
  --space-75: 8px;
  --space-100: 12px;
  --space-200: 16px;
  --space-300: 24px;
  --space-400: 32px;
  --space-800: 80px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html,
body {
  height: 100%;
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Geist", "PingFang SC", "Hiragino Sans GB", sans-serif;
}

button,
a {
  font-family: inherit;
}

#view {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  touch-action: none;
}

.title-2 {
  margin: 0;
  font-size: 18px;
  line-height: 28px;
  font-weight: 500;
  text-wrap: balance;
}

.title-4 {
  margin: 0;
  font-size: 14px;
  line-height: 20px;
  font-weight: 500;
  text-wrap: balance;
}

.body-4 {
  font-size: 14px;
  line-height: 20px;
  font-weight: 600;
}

.body-6 {
  margin: 0;
  font-size: 14px;
  line-height: 20px;
  font-weight: 400;
  text-wrap: pretty;
}

.caption-2 {
  margin: 0;
  font-size: 14px;
  line-height: 20px;
  font-weight: 400;
}

.caption-5 {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 16px;
  font-weight: 400;
}

.mono {
  font-family: "Geist Mono", monospace;
  font-weight: 500;
}

.place {
  position: fixed;
  top: var(--space-200);
  left: var(--space-200);
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: var(--space-25);
  max-width: calc(100% - 280px);
  padding: var(--space-75) var(--space-100);
  background: rgba(24, 24, 24, 0.55);
  border: 1px solid var(--line);
  border-radius: 16px;
  backdrop-filter: blur(16px);
}

.tools {
  position: fixed;
  top: var(--space-200);
  right: var(--space-200);
  z-index: 2;
  display: flex;
  gap: var(--space-50);
  padding: var(--space-50);
  background: rgba(24, 24, 24, 0.72);
  border: 1px solid var(--line);
  border-radius: 16px;
  backdrop-filter: blur(16px);
}

.tool {
  display: inline-flex;
  align-items: center;
  gap: var(--space-75);
  padding: var(--space-75) var(--space-100);
  color: var(--text);
  background: var(--surface-3);
  border: 0;
  border-radius: 12px;
  font-size: 14px;
  line-height: 20px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 300ms var(--ease), opacity 300ms var(--ease);
}

.tool svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.tool:hover {
  background: var(--line);
}

.tool:focus-visible {
  outline: 2px solid var(--text);
  outline-offset: 2px;
}

.status {
  position: fixed;
  top: var(--space-800);
  left: 50%;
  z-index: 2;
  padding: var(--space-75) var(--space-100);
  background: rgba(24, 24, 24, 0.92);
  border: 1px solid var(--line);
  border-radius: 8px;
  transform: translateX(-50%);
  transition: opacity 300ms var(--ease);
}

.status[hidden] {
  display: none;
}

.card {
  position: fixed;
  right: var(--space-200);
  bottom: var(--space-200);
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: var(--space-75);
  width: min(380px, calc(100% - 32px));
  max-height: calc(100% - 96px);
  padding: var(--space-75);
  overflow: auto;
  background: rgba(24, 24, 24, 0.46);
  border: 1px solid var(--line);
  border-radius: 24px;
  backdrop-filter: blur(24px);
  pointer-events: none;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 500ms var(--ease), transform 500ms var(--ease);
}

.card.is-open {
  pointer-events: auto;
  opacity: 1;
  transform: translateY(0);
}

.card-head {
  display: flex;
  flex-direction: column;
  gap: var(--space-50);
  padding: var(--space-75) var(--space-200) var(--space-50);
}

.card-address {
  margin: 0;
  font-size: 14px;
  line-height: 20px;
  font-weight: 500;
}

.card-sheet {
  display: flex;
  flex-direction: column;
  gap: var(--space-200);
  padding: var(--space-200);
  background: rgba(31, 31, 31, 0.86);
  border: 1px solid var(--line);
  border-radius: 16px;
}

.eagle {
  position: relative;
  height: 172px;
  overflow: hidden;
  background: #f7f7f8;
  border-radius: 12px;
}

.eagle-map {
  width: 100%;
  height: 100%;
}

.eagle-map.is-quiet {
  visibility: hidden;
}

.eagle-status {
  position: absolute;
  top: var(--space-75);
  left: var(--space-75);
  z-index: 1;
  max-width: calc(100% - 16px);
  margin: 0;
  padding: var(--space-50) var(--space-75);
  color: #4a4d54;
  background: rgba(252, 252, 253, 0.9);
  border-radius: 8px;
  pointer-events: none;
}

.eagle-pin {
  width: 12px;
  height: 12px;
  background: #ffffff;
  border: 2px solid #e8623c;
  border-radius: 50%;
  box-shadow: 0 2px 6px rgba(60, 64, 72, 0.3);
}

.eagle .maplibregl-map {
  font-family: "Geist", "PingFang SC", "Hiragino Sans GB", sans-serif;
}

.eagle .maplibregl-ctrl-attrib {
  margin: 0;
  padding: 2px 6px;
  background: rgba(249, 247, 242, 0.82);
  font-size: 10px;
  line-height: 14px;
}

.eagle .maplibregl-ctrl-attrib a {
  color: #55504a;
}

.eagle .maplibregl-ctrl-bottom-right {
  max-width: calc(100% - 8px);
}

.detail {
  display: flex;
  flex-direction: column;
  gap: var(--space-200);
  margin: 0;
}

.block {
  display: flex;
  flex-direction: column;
  gap: var(--space-75);
}

.block > h2 {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--space-100);
  margin: 0;
  padding-bottom: var(--space-50);
  color: var(--text);
  font-size: 12px;
  line-height: 16px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--line);
}

.block > h2 > span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
}

.rows {
  display: grid;
  grid-template-columns: 84px 1fr;
  gap: var(--space-50) var(--space-100);
  margin: 0;
}

.rows dt {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 18px;
  font-weight: 400;
}

.rows dd {
  margin: 0;
  font-size: 13px;
  line-height: 18px;
  font-weight: 400;
  text-wrap: pretty;
}

.rows dd em {
  color: var(--muted);
  font-style: normal;
  font-size: 11px;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-50);
  margin: var(--space-25) 0 0;
  padding: 0;
  list-style: none;
}

.chip {
  padding: 2px var(--space-75);
  color: var(--text);
  background: var(--surface-3);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 10px;
  line-height: 14px;
  font-weight: 500;
  letter-spacing: 0.04em;
}

.chip.is-strong {
  color: #1a1206;
  background: #e8b04c;
  border-color: #e8b04c;
}

.chip.is-quiet {
  color: var(--muted);
}

.lod {
  display: inline-flex;
  gap: 2px;
  padding: 2px;
  background: var(--surface-2);
  border-radius: 10px;
}

.lod-btn {
  padding: var(--space-50) var(--space-100);
  color: var(--muted);
  background: transparent;
  border: 0;
  border-radius: 8px;
  font-size: 13px;
  line-height: 20px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 240ms var(--ease), color 240ms var(--ease);
}

.lod-btn.is-on {
  color: var(--text);
  background: var(--surface-3);
}

.lod-btn:focus-visible {
  outline: 2px solid var(--text);
  outline-offset: 2px;
}

.credit {
  position: fixed;
  left: var(--space-200);
  bottom: var(--space-200);
  z-index: 2;
  margin: 0;
  pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
  .tool,
  .status,
  .card {
    transition: opacity 300ms linear;
  }

  .card,
  .card.is-open {
    transform: none;
  }
}
