:root {
  --bg: #f6f7f9;
  --surface: #ffffff;
  --ink: #182026;
  --muted: #64707d;
  --line: #dce2e8;
  --accent: #1b8a6b;
  --accent-strong: #126950;
  --danger: #b42318;
  --warning-bg: #fff4e5;
  --error-bg: #fdebea;
  --success-bg: #e9f7ef;
  --shadow: 0 8px 24px rgba(24, 32, 38, 0.08);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

a {
  color: inherit;
}

input,
select,
textarea,
button {
  font: inherit;
}

.eyebrow {
  margin: 0 0 4px;
  color: var(--accent-strong);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.admin-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 14px 20px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.96);
}

.brand {
  font-weight: 800;
  text-decoration: none;
}

.admin-header nav,
.button-row,
.actions,
.rank-row,
.tag-row,
.bottom-cta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.admin-header nav a,
.link-button {
  color: var(--muted);
  text-decoration: none;
}

.link-button {
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.admin-shell,
.public-shell,
.detail-shell {
  width: min(100%, 980px);
  margin: 0 auto;
  padding: 24px 16px 96px;
}

.public-shell,
.detail-shell {
  max-width: 430px;
}

.login-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
}

.login-panel {
  width: min(100%, 420px);
}

.page-heading,
.public-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 20px;
}

h1,
h2 {
  margin: 0;
  line-height: 1.25;
}

h1 {
  font-size: 28px;
}

h2 {
  font-size: 18px;
}

.panel,
.spot-card,
.score-panel,
.detail-hero {
  margin-bottom: 16px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.detail-hero {
  min-height: 180px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: #fff;
  border: 0;
  background: linear-gradient(150deg, #1b8a6b, #273b45);
}

.detail-hero span {
  font-size: 13px;
  opacity: 0.9;
}

.detail-hero p {
  margin-bottom: 0;
}

.score-panel {
  display: grid;
  gap: 14px;
}

.score-panel strong {
  display: block;
  font-size: 42px;
  line-height: 1;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 16px;
}

.stat-card {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.stat-card span,
.card-topline span {
  color: var(--muted);
  font-size: 13px;
}

.stat-card strong {
  display: block;
  font-size: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

.button-primary {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
}

.button-danger {
  border-color: var(--danger);
  color: var(--danger);
}

.button-small {
  min-height: 32px;
  padding: 5px 10px;
  font-size: 13px;
}

.alert {
  margin-bottom: 16px;
  padding: 12px 14px;
  border-radius: 8px;
  border: 1px solid var(--line);
}

.alert-error {
  border-color: #f0b7b4;
  background: var(--error-bg);
}

.alert-success {
  border-color: #a8dec0;
  background: var(--success-bg);
}

.form-stack,
.spot-form {
  display: grid;
  gap: 14px;
}

.form-stack label,
.form-field {
  display: grid;
  gap: 6px;
}

.form-field b {
  color: var(--danger);
  font-size: 12px;
}

input,
select,
textarea {
  width: 100%;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 9px 10px;
  background: #fff;
  color: var(--ink);
}

textarea {
  resize: vertical;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 14px;
}

.form-field:has(textarea),
.form-field:has(input[type="url"]) {
  grid-column: span 2;
}

.field-error {
  color: var(--danger);
}

.filter-bar {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) 180px 140px auto;
  gap: 10px;
  margin-bottom: 16px;
}

.table-panel {
  overflow-x: auto;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 760px;
}

.admin-table th,
.admin-table td {
  padding: 10px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: middle;
}

.admin-table th {
  color: var(--muted);
  font-size: 13px;
}

.status-pill,
.rank-row span,
.tag-row span,
.quick-filter-row span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 3px 9px;
  border-radius: 999px;
  background: #edf2f4;
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
}

.status-pill.is-public {
  background: #dff5e8;
  color: #14683f;
}

.status-pill.is-draft {
  background: var(--warning-bg);
  color: #925700;
}

.empty-cell {
  color: var(--muted);
  text-align: center;
}

.sticky-actions,
.bottom-cta {
  position: sticky;
  bottom: 0;
  z-index: 5;
  margin: 20px -16px -96px;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.96);
}

.quick-filter-row {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 0 0 12px;
  margin-bottom: 12px;
}

.spot-card-list {
  display: grid;
  gap: 12px;
}

.card-topline {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.card-topline strong {
  font-size: 26px;
  color: var(--accent-strong);
}

.spot-card h2 {
  margin-top: 8px;
}

.spot-card p {
  color: var(--muted);
}

.back-link {
  display: inline-flex;
  margin-bottom: 12px;
  color: var(--muted);
  text-decoration: none;
}

.info-list {
  display: grid;
  gap: 10px;
  margin: 14px 0 0;
}

.info-list div {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

.info-list dt {
  color: var(--muted);
}

.info-list dd {
  margin: 0;
}

@media (max-width: 720px) {
  .admin-header,
  .page-heading,
  .public-header {
    align-items: stretch;
    flex-direction: column;
  }

  .stats-grid,
  .form-grid,
  .filter-bar {
    grid-template-columns: 1fr;
  }

  .form-field:has(textarea),
  .form-field:has(input[type="url"]) {
    grid-column: auto;
  }

  .admin-header nav {
    justify-content: space-between;
  }
}

/* POTALK STEP7 MAP home. Kept under .map-home to avoid changing admin/detail UI. */
.map-home-page {
  overflow: hidden;
  background: #d9ddd9;
}

.map-home-page button {
  -webkit-tap-highlight-color: transparent;
}

.map-home {
  --map-ink: #17201d;
  --map-muted: #66716d;
  --map-green: #1f7a5a;
  --sheet-small: 270px;
  position: relative;
  width: min(100%, 520px);
  height: 100vh;
  height: 100dvh;
  min-height: 520px;
  margin: 0 auto;
  overflow: hidden;
  color: var(--map-ink);
  background: #e8ebe7;
  box-shadow: 0 0 36px rgba(28, 38, 34, 0.15);
}

.map-home__map {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: #e7ebe5;
}

.map-home__loading {
  display: grid;
  min-height: 100%;
  margin: 0;
  place-items: center;
  color: var(--map-muted);
  font-size: 14px;
}

.map-home__top {
  position: absolute;
  z-index: 900;
  top: 0;
  right: 0;
  left: 0;
  padding: calc(10px + env(safe-area-inset-top)) 12px 8px;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(246, 244, 237, 0.92) 0%, rgba(246, 244, 237, 0.5) 74%, transparent 100%);
}

.map-search,
.quick-filters {
  pointer-events: auto;
}

.map-search {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 48px;
  min-height: 50px;
  overflow: hidden;
  border: 1px solid rgba(23, 32, 29, 0.09);
  border-radius: 17px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 7px 24px rgba(26, 42, 35, 0.15);
  backdrop-filter: blur(14px);
}

.map-search button {
  border: 0;
  background: transparent;
  color: var(--map-ink);
  cursor: pointer;
}

.map-search__field {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 10px;
  padding: 0 14px;
  text-align: left;
}

.map-search__field span {
  overflow: hidden;
  color: #5d6864;
  font-size: 14px;
  font-weight: 650;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.map-search__filter {
  display: grid;
  place-items: center;
  border-left: 1px solid #e5e8e5 !important;
}

.map-search svg,
.map-round-button svg,
.search-area-button svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.quick-filters {
  display: flex;
  gap: 8px;
  margin: 9px -12px 0;
  padding: 1px 12px 8px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
}

.quick-filters::-webkit-scrollbar,
.spot-results::-webkit-scrollbar {
  display: none;
}

.quick-filter {
  display: inline-flex;
  min-width: max-content;
  min-height: 38px;
  align-items: center;
  gap: 5px;
  padding: 7px 13px;
  border: 1px solid rgba(23, 32, 29, 0.11);
  border-radius: 999px;
  color: #39443f;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 4px 12px rgba(26, 42, 35, 0.1);
  font-size: 13px;
  font-weight: 750;
  white-space: nowrap;
  cursor: pointer;
}

.quick-filter.is-active {
  border-color: var(--map-green);
  color: #fff;
  background: var(--map-green);
}

.quick-filter span {
  font-size: 15px;
}

.map-home__controls {
  position: absolute;
  z-index: 910;
  top: calc(139px + env(safe-area-inset-top));
  right: 12px;
  display: grid;
  gap: 10px;
}

.map-round-button {
  display: grid;
  width: 46px;
  height: 46px;
  padding: 0;
  place-items: center;
  border: 1px solid rgba(23, 32, 29, 0.1);
  border-radius: 15px;
  color: #26312d;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 5px 18px rgba(26, 42, 35, 0.16);
  cursor: pointer;
}

.map-round-button.is-loading svg {
  animation: map-control-spin 0.9s linear infinite;
}

@keyframes map-control-spin {
  to { transform: rotate(360deg); }
}

.layer-control {
  position: relative;
}

.layer-panel {
  position: absolute;
  top: 0;
  right: 54px;
  width: 198px;
  margin: 0;
  padding: 12px 14px;
  border: 1px solid rgba(23, 32, 29, 0.1);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 8px 24px rgba(26, 42, 35, 0.17);
}

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

.layer-panel legend {
  padding: 0 4px;
  color: var(--map-muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.layer-panel label {
  display: flex;
  min-height: 34px;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.layer-panel input {
  width: 17px;
  min-height: 17px;
  margin: 0;
  accent-color: var(--map-green);
}

.layer-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.layer-dot--spot { background: #1f7a5a; }
.layer-dot--gym { background: #ef5f55; }
.layer-dot--stop { background: #3b82d0; }

.search-area-button {
  position: absolute;
  z-index: 905;
  right: 50%;
  bottom: calc(var(--sheet-small) + 12px);
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  gap: 7px;
  padding: 8px 15px;
  transform: translateX(50%);
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: #202925;
  box-shadow: 0 6px 20px rgba(23, 32, 29, 0.24);
  font-size: 13px;
  font-weight: 750;
  white-space: nowrap;
  cursor: pointer;
  transition: bottom 240ms ease;
}

.search-area-button[hidden],
.map-toast[hidden] {
  display: none;
}

.map-home:has(.bottom-sheet[data-snap="medium"]) .search-area-button {
  bottom: calc(52vh + 12px);
  bottom: calc(52dvh + 12px);
}

.map-home:has(.bottom-sheet[data-snap="large"]) .search-area-button {
  display: none;
}

.map-toast {
  position: absolute;
  z-index: 1100;
  top: calc(76px + env(safe-area-inset-top));
  left: 50%;
  width: max-content;
  max-width: calc(100% - 32px);
  margin: 0;
  padding: 9px 13px;
  transform: translateX(-50%);
  border-radius: 10px;
  color: #fff;
  background: rgba(23, 32, 29, 0.92);
  box-shadow: 0 5px 18px rgba(23, 32, 29, 0.18);
  font-size: 12px;
  font-weight: 650;
  text-align: center;
}

.bottom-sheet {
  --sheet-drag-height: auto;
  position: absolute;
  z-index: 950;
  right: 0;
  bottom: 0;
  left: 0;
  height: var(--sheet-small);
  padding: 0 0 env(safe-area-inset-bottom);
  overflow: hidden;
  border: 1px solid rgba(23, 32, 29, 0.08);
  border-bottom: 0;
  border-radius: 24px 24px 0 0;
  background: rgba(250, 249, 246, 0.98);
  box-shadow: 0 -8px 30px rgba(30, 42, 37, 0.13);
  backdrop-filter: blur(18px);
  transition: height 280ms cubic-bezier(0.22, 0.74, 0.25, 1);
}

.bottom-sheet[data-snap="medium"] {
  height: 52vh;
  height: 52dvh;
}

.bottom-sheet[data-snap="large"] {
  height: calc(100vh - 88px);
  height: calc(100dvh - 88px);
}

.bottom-sheet.is-dragging {
  height: var(--sheet-drag-height);
  transition: none;
  user-select: none;
}

.bottom-sheet__drag-zone {
  display: grid;
  height: 25px;
  place-items: center;
  touch-action: none;
  cursor: ns-resize;
}

.bottom-sheet__handle {
  width: 42px;
  height: 5px;
  border-radius: 99px;
  background: #c7ccc9;
}

.bottom-sheet__heading {
  display: flex;
  min-height: 53px;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 0 16px 9px;
}

.bottom-sheet__kicker {
  margin: 0 0 1px;
  color: var(--map-green);
  font-size: 9px;
  font-weight: 850;
  letter-spacing: 0.16em;
}

.bottom-sheet h1 {
  font-size: 18px;
  letter-spacing: -0.02em;
}

.sheet-snap-buttons {
  display: flex;
  gap: 4px;
  padding: 3px;
  border-radius: 10px;
  background: #eceeeb;
}

.sheet-snap-buttons button {
  min-width: 31px;
  min-height: 30px;
  padding: 3px 6px;
  border: 0;
  border-radius: 8px;
  color: #727b77;
  background: transparent;
  font-size: 11px;
  font-weight: 750;
  cursor: pointer;
}

.sheet-snap-buttons button.is-current {
  color: var(--map-ink);
  background: #fff;
  box-shadow: 0 2px 7px rgba(23, 32, 29, 0.1);
}

.spot-results {
  display: flex;
  height: calc(100% - 78px - env(safe-area-inset-bottom));
  gap: 10px;
  padding: 0 16px 16px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.spot-result {
  position: relative;
  flex: 0 0 min(340px, calc(100vw - 32px));
  align-self: flex-start;
  overflow: hidden;
  scroll-snap-align: center;
  border: 1px solid #e1e5e1;
  border-radius: 17px;
  background: #fff;
  box-shadow: 0 5px 17px rgba(23, 32, 29, 0.08);
}

.spot-result.is-selected {
  border-color: #55a085;
  box-shadow: 0 0 0 2px rgba(31, 122, 90, 0.13), 0 5px 17px rgba(23, 32, 29, 0.1);
}

.spot-result__select {
  position: absolute;
  z-index: 2;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: inherit;
  background: transparent;
  cursor: pointer;
}

.spot-result__visual {
  position: relative;
  display: grid;
  height: 92px;
  overflow: hidden;
  place-items: center;
  color: rgba(255, 255, 255, 0.92);
  isolation: isolate;
}

.spot-result__visual::before,
.spot-result__visual::after {
  position: absolute;
  z-index: -1;
  content: '';
}

.spot-result__visual::before {
  inset: 0;
  background: linear-gradient(135deg, #5e8d76, #253d34);
}

.spot-result__visual::after {
  right: -25px;
  bottom: -38px;
  width: 150px;
  height: 90px;
  transform: rotate(-12deg);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
}

.spot-result__visual--station::before { background: linear-gradient(135deg, #547ca8, #293d62); }
.spot-result__visual--city::before { background: linear-gradient(135deg, #7e688c, #3e304a); }
.spot-result__visual--cafe::before { background: linear-gradient(135deg, #bb805d, #654738); }
.spot-result__visual--restaurant::before { background: linear-gradient(135deg, #bd6d61, #673a35); }
.spot-result__visual--facility::before { background: linear-gradient(135deg, #b5954e, #62512d); }
.spot-result__visual--castle::before { background: linear-gradient(135deg, #47836b, #344b44); }

.spot-result__visual span {
  font-family: Georgia, serif;
  font-size: 34px;
  font-weight: 800;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.16);
}

.spot-result__body {
  padding: 11px 12px 12px;
}

.spot-result__title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.spot-result__title-row h2 {
  margin-top: 3px;
  font-size: 16px;
  letter-spacing: -0.02em;
}

.spot-result__type {
  color: #397661;
  font-size: 10px;
  font-weight: 800;
}

.spot-result__type--station { color: #3f6996; }
.spot-result__type--area { color: #735982; }
.spot-result__type--cafe { color: #9b6041; }
.spot-result__type--restaurant { color: #a34c43; }
.spot-result__type--facility { color: #88702f; }

.spot-score {
  display: grid;
  flex: 0 0 48px;
  text-align: center;
}

.spot-score span {
  color: var(--map-muted);
  font-size: 7px;
  font-weight: 850;
  letter-spacing: 0.08em;
}

.spot-score strong {
  color: var(--map-green);
  font-size: 25px;
  line-height: 1;
}

.spot-result__place {
  margin: 5px 0 8px;
  color: var(--map-muted);
  font-size: 11px;
}

.spot-result__strengths,
.spot-result__facilities {
  display: flex;
  gap: 5px;
  overflow: hidden;
}

.spot-result__strengths span,
.spot-result__facilities span {
  min-width: max-content;
  padding: 3px 7px;
  border-radius: 6px;
  font-size: 10px;
  font-weight: 750;
}

.spot-result__strengths span {
  color: #285d4b;
  background: #e4f1eb;
}

.spot-result__facilities {
  margin-top: 6px;
}

.spot-result__facilities span {
  color: #555f5b;
  background: #f0f1ef;
}

.spot-result__meta {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin-top: 9px;
  padding-top: 8px;
  border-top: 1px solid #edf0ed;
  color: #77807c;
  font-size: 9px;
  font-weight: 650;
}

.bottom-sheet[data-snap="large"] .spot-results {
  display: grid;
  grid-template-columns: 1fr;
  align-content: start;
  overflow-x: hidden;
  overflow-y: auto;
  scroll-snap-type: none;
}

.bottom-sheet[data-snap="large"] .spot-result {
  width: 100%;
  max-width: none;
}

.empty-results {
  margin: 0 16px;
  padding: 22px 18px;
  border: 1px dashed #cbd1cd;
  border-radius: 15px;
  background: #fff;
  text-align: center;
}

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

.empty-results strong {
  font-size: 14px;
}

.empty-results p {
  margin: 5px 0 12px;
  color: var(--map-muted);
  font-size: 12px;
}

.empty-results button {
  min-height: 38px;
  padding: 7px 14px;
  border: 0;
  border-radius: 10px;
  color: #fff;
  background: var(--map-green);
  font-size: 12px;
  font-weight: 750;
  cursor: pointer;
}

.potalk-marker-wrap,
.game-marker-wrap {
  background: transparent;
  border: 0;
}

.potalk-marker {
  position: relative;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 3px solid #fff;
  border-radius: 50% 50% 50% 10px;
  transform: rotate(-45deg);
  color: #fff;
  background: #397c5d;
  box-shadow: 0 4px 12px rgba(23, 32, 29, 0.32);
  font-size: 13px;
  font-weight: 850;
  transition: transform 150ms ease;
}

.potalk-marker__label {
  display: block;
  transform: rotate(45deg);
  line-height: 1;
}

.potalk-marker--park { background: #397c5d; }
.potalk-marker--station { border-radius: 8px; background: #4f78a6; }
.potalk-marker--area { border-radius: 50% 50% 12px 12px; background: #765f87; }
.potalk-marker--cafe { border-radius: 50% 50% 50% 10px; background: #af7452; }
.potalk-marker--restaurant { clip-path: polygon(50% 0, 100% 86%, 50% 100%, 0 86%); border-radius: 5px; background: #b95e54; }
.potalk-marker--facility { clip-path: polygon(25% 3%, 75% 3%, 100% 50%, 75% 97%, 25% 97%, 0 50%); border-radius: 0; background: #a88b43; }

.potalk-marker.is-selected {
  transform: rotate(-45deg) scale(1.2);
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.68), 0 5px 15px rgba(23, 32, 29, 0.38);
}

.potalk-marker--station.is-selected,
.potalk-marker--restaurant.is-selected,
.potalk-marker--facility.is-selected {
  transform: scale(1.2);
}

.potalk-marker--station,
.potalk-marker--restaurant,
.potalk-marker--facility {
  transform: none;
}

.potalk-marker--station .potalk-marker__label,
.potalk-marker--restaurant .potalk-marker__label,
.potalk-marker--facility .potalk-marker__label {
  transform: none;
}

.game-marker {
  display: grid;
  width: 25px;
  height: 25px;
  place-items: center;
  border: 2px solid #fff;
  border-radius: 50%;
  color: #fff;
  box-shadow: 0 3px 9px rgba(23, 32, 29, 0.28);
  font-size: 10px;
  font-weight: 900;
}

.game-marker--gym { background: #e65d54; }
.game-marker--stop { border-radius: 7px; background: #3c80c8; }

.map-home .leaflet-control-attribution {
  margin-bottom: var(--sheet-small) !important;
  font-size: 8px;
}

.map-home .leaflet-control-container a:focus-visible,
.map-home button:focus-visible,
.spot-result__select:focus-visible {
  outline: 3px solid #f0a83b;
  outline-offset: 2px;
}

@media (max-height: 650px) {
  .map-home {
    --sheet-small: 238px;
  }

  .spot-result__visual {
    height: 70px;
  }

  .map-home__controls {
    top: calc(132px + env(safe-area-inset-top));
  }
}

@media (min-width: 521px) {
  .map-home-page {
    padding: 0;
  }

  .spot-result {
    flex-basis: 340px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .bottom-sheet,
  .search-area-button,
  .potalk-marker {
    transition: none;
  }
}

/* MVP spot-detail radius evaluation. */
.spot-radius-detail h2 { font-size: 17px; }
.spot-radius-detail .radius-nav {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.spot-radius-detail .radius-data-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}
.spot-radius-detail .radius-data-grid > div {
  padding: 12px;
  border: 1px solid #dce8df;
  border-radius: 10px;
  background: #f3f8f3;
  color: #476453;
  font-size: 12px;
}
.spot-radius-detail .radius-data-grid b {
  display: block;
  margin-top: 3px;
  color: #1f7a5a;
  font-size: 20px;
}
.spot-radius-detail .radius-disclaimer {
  margin: 0;
  color: #64776a;
  font-size: 12px;
  line-height: 1.7;
}
