:root {
  --ground: #f7f4ef;
  --paper: #fffdf9;
  --ink: #312922;
  --deep: #30261f;
  --forest: #755633;
  --olive: #746147;
  --muted: #72675c;
  --line: #e3dacf;
  --sand: #eee0cc;
  --gold: #a47230;
  --radius: 24px;
  font-family: "DM Sans", "Hiragino Sans", "Yu Gothic Medium", Meiryo, system-ui, sans-serif;
}
body { color: var(--ink); background: var(--ground); }
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
.site-header { background: transparent; border: 0; }
.top-inner, .page {
  width: min(100%, 1440px);
  max-width: none;
  padding-inline: clamp(24px, 4.4vw, 70px);
}
.top-inner {
  display: grid;
  grid-template-columns: minmax(140px, 1fr) minmax(290px, 550px) auto;
  grid-template-areas: "brand tools actions";
  gap: clamp(14px, 2vw, 35px);
  align-items: center;
  height: auto;
  min-height: 96px;
}
.wordmark { grid-area: brand; width: fit-content; margin: 0; line-height: 1; }
.brand {
  display: inline-block;
  color: #382a20;
  padding: 0 .1em .04em 0;
  font: italic 600 clamp(45px, 4.2vw, 62px)/1 "Baskerville", "Baskerville Old Face", "Times New Roman", serif;
  letter-spacing: -.085em;
}
.header-actions { grid-area: actions; margin: 0; display: flex; align-items: center; gap: 8px; }
.district-picker, .guide-link, .phone-entry, .profile-entry {
  height: 43px;
  border: 1px solid var(--line);
  background: var(--paper);
  color: #594938;
}
.guide-link, .phone-entry, .profile-entry {
  display: inline-grid;
  place-items: center;
  width: 43px;
  padding: 0;
  border-radius: 50%;
}
.guide-link .ico, .phone-entry .ico, .profile-entry .ico { width: 18px; height: 18px; }
.profile-entry[aria-current="page"] { background: #f1e5d3; }
.district-picker {
  position: relative;
  display: inline-flex;
  border-radius: 99px;
  align-items: center;
  font-size: 13px;
  font-weight: 650;
}
.district-picker select {
  position: relative;
  appearance: none;
  height: 100%;
  max-width: 150px;
  padding: 0 24px 0 29px;
  border-radius: inherit;
}
.district-picker i { position: absolute; pointer-events: none; z-index: 1; }
.district-picker i:first-child { left: 10px; }
.district-picker i:last-child { right: 9px; }
.district-picker .ico { width: 14px; height: 14px; }
.controls {
  grid-area: tools;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: stretch;
  gap: 7px;
  margin: 0;
}
.search, .filter-control, .view-mode {
  min-width: 0;
  width: auto;
  height: 44px;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 99px;
  background: var(--paper);
  color: #625343;
}
.search { gap: 10px; padding: 0 16px; }
.search .ico { width: 17px; height: 17px; }
.search input { color: var(--ink); }
.search input::placeholder { color: #786e63; }
.search:focus-within { border-color: #aa7d48; box-shadow: 0 0 0 2px #a7773824; }
.filter-control, .view-mode { position: relative; padding: 0 13px; }
.filter-control b { position: absolute; top: -4px; right: -1px; }
.demo-badge { color: var(--muted); }
.photo-categories { margin: 6px 0 22px; }
.category-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 9px;
}
.category-head h2, .panel-title h2 {
  color: var(--ink);
  margin: 0;
  font-size: clamp(16px, 1.3vw, 19px);
  font-weight: 680;
  letter-spacing: .025em;
}
.category-options { display: flex; align-items: center; gap: 3px; }
.category-options button {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  min-height: 36px;
  padding: 4px 12px;
  border-radius: 99px;
  color: #71604d;
  font-size: 12px;
  font-weight: 640;
}
.category-options .ico { width: 13px; height: 13px; }
.category-options button[aria-pressed="true"], .category-options .selected { color: #513b25; background: #ebdfcd; }
.photo-rail {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr;
  gap: clamp(8px, 1.1vw, 16px);
}
.category-card {
  position: relative;
  display: block;
  height: clamp(165px, 15.25vw, 220px);
  width: 100%;
  min-width: 0;
  overflow: hidden;
  isolation: isolate;
  padding: 0;
  border: 0;
  border-radius: var(--radius);
  background: #a89982;
}
.category-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 55%;
}
.category-card[data-id="park"] img { filter: saturate(.78); }
.category-card[data-id="run"] img { object-position: 50% 58%; }
.category-card::after {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px #47342819;
  content: "";
  pointer-events: none;
}
.category-card[aria-pressed="true"]::after {
  box-shadow: inset 0 0 0 3px #ad7b3e, inset 0 0 0 5px #fff8e9;
}
.category-caption {
  position: absolute;
  inset: auto 0 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4px;
  min-height: 48px;
  padding: 8px 18px;
  background: rgb(61 43 31 / 72%);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  color: #fffdf7;
  font-size: clamp(15px, 1.3vw, 20px);
  font-weight: 620;
  letter-spacing: .025em;
  text-align: left;
}
.category-caption i { justify-content: center; align-items: center; }
.category-caption .ico { width: 16px; height: 16px; }
.category-card[aria-pressed="true"] .category-caption { background: rgb(88 58 28 / 87%); }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .category-card img { transition: transform .28s ease-out; }
  .category-card:hover img { transform: scale(1.035); }
}
.workspace {
  grid-template-columns: minmax(320px, .46fr) minmax(0, 1fr);
  gap: 16px;
  min-height: 365px;
  height: clamp(365px, calc(100dvh - 448px), 820px);
}
.workspace.list-only { height: auto; }
.places-panel, .map-frame { border: 1px solid var(--line); border-radius: var(--radius); }
.places-panel { background: var(--paper); }
.panel-head { padding: 16px 17px 11px; }
.count, .tag { background: #f0e7da; color: #655039; }
.sort select, .sort, .card-location { color: var(--muted); }
.cards { scrollbar-color: #d6cbbb transparent; }
.place-card { border-top-color: #ebe3d9; }
.place-photo, .official-card .placeholder-photo { border-radius: 13px; }
.card-open { color: var(--deep); }
.card-cat { color: #785e3a; }
.official-card .placeholder-photo { border: 0; color: #7b6346; background: #ede5d8; }
.official-cafe .placeholder-photo { background: #f0dfd1; color: #886443; }
.official-vet .placeholder-photo { background: #e5e6e1; color: #57655e; }
.book-btn { color: #857462; }
.book-btn.on .ico { color: #966e3c; fill: #966e3c; }
.map-top button, .map-tools button, .map-tools > button, .map-tools > div, .map-tools .map-layer {
  background: var(--paper);
  color: #594b3b;
  border-color: #ded4c7;
}
.map-top .help-btn { background: #fbf3e7; color: #73542f; border-color: #d8c5a9; }
.map-tools .location-button { color: #285c79; }
.location-panel { background: var(--paper); border-color: var(--line); color: var(--ink); }
.location-road { background: #f2e7d7; border-color: #dccbb2; color: var(--forest); }
footer { color: var(--muted); }
dialog, .dialog-head { background: var(--paper); }
dialog { border-radius: 24px; }
dialog::backdrop { background: rgb(53 41 29 / 47%); backdrop-filter: blur(4px); }
.dialog-head h2 { color: var(--deep); font-weight: 700; }
.round-close { color: var(--forest); border-color: var(--line); background: #f5efe7; }
.action, .action-link, .choice, .official-info, .guide-topic { background: #f4efe7; border-color: var(--line); }
.action, .action-link, .choice { border-radius: 12px; }
.choice:has(input:checked) { background: var(--sand); border-color: #b99971; }
.official-info a, .venue-photo a, .source-links a, .guide-topic a, .facts a { color: var(--forest); }
.dialog-note, #toast { background: #594531; color: #fffdf9; }
:is(button, a, select, input, textarea):focus-visible { outline: 2px solid #96682e; outline-offset: 2px; }

@media (min-width: 721px) and (max-width: 990px) {
  .top-inner { grid-template-columns: 1fr minmax(235px, 1.6fr) auto; gap: 10px; }
  .controls .filter-control span, .controls .view-mode span { display: none; }
  .workspace { gap: 12px; grid-template-columns: minmax(292px, .65fr) minmax(0, 1fr); }
}
@media (max-width: 720px) {
  .top-inner, .page { padding-inline: clamp(13px, 4.6vw, 25px); }
  .top-inner {
    grid-template-columns: 1fr auto;
    grid-template-areas: "brand actions" "tools tools";
    min-height: 0;
    gap: 12px 6px;
    padding-top: max(10px, env(safe-area-inset-top));
  }
  .brand { font-size: 47px; }
  .header-actions { gap: 6px; }
  .district-picker select { max-width: clamp(96px, calc(100vw - 222px), 150px); text-overflow: ellipsis; }
  .phone-entry { display: none; }
  .guide-link, .profile-entry, .district-picker { height: 42px; }
  .guide-link, .profile-entry { width: 42px; }
  .controls { gap: 6px; }
  .search input { font-size: 16px; }
  .filter-control, .view-mode { width: 44px; padding: 0; }
  .filter-control span, .view-mode span { display: none; }
  .photo-categories { margin: 13px 0 14px; }
  .category-head { margin-bottom: 6px; }
  .category-head h2 { font-size: 16px; }
  .category-options button { min-height: 36px; padding-inline: 10px; }
  .photo-rail { grid-template-columns: repeat(3, minmax(0,1fr)); gap: 7px; }
  .category-card { height: clamp(131px, 42vw, 197px); border-radius: 20px; }
  .category-caption { min-height: 37px; padding: 7px 9px; font-size: 13px; letter-spacing: 0; }
  .category-caption .ico { width: 12px; height: 12px; }
  .workspace { height: auto; min-height: 0; gap: 11px; }
  .places-panel, .map-frame { border-radius: 20px; }
  .panel-head { padding: 13px; }
}
@media (max-width: 360px) {
  .photo-rail { gap: 5px; }
  .category-caption { padding-inline: 7px; font-size: 12px; }
  .category-caption .ico { width: 10px; }
}

.pickup-back {
  display: block;
  min-height: 40px;
  margin: 0 0 10px;
  padding: 4px 8px;
  color: var(--forest);
  font-size: 14px;
  font-weight: 650;
}
.pickup-review { display: grid; gap: 16px; }
.pickup-group { display: flex; flex-wrap: wrap; gap: 6px; }
.pickup-group button {
  min-height: 42px;
  padding: 6px 14px;
  border: 1px solid var(--line);
  border-radius: 99px;
  font-weight: 650;
}
.pickup-group button[aria-pressed="true"] { background: var(--sand); border-color: #dfc9a8; }
.pickup-group span { font-variant-numeric: tabular-nums; }
.pickup-review ul { padding: 0; margin: 0; list-style: none; }
.pickup-review li {
  display: flex;
  align-items: center;
  gap: 7px;
  padding-block: 9px;
  border-bottom: 1px solid var(--line);
}
.pickup-review-place {
  display: flex;
  flex: 1;
  align-items: center;
  gap: 10px;
  min-width: 0;
  padding: 3px 0;
  text-align: left;
}
.pickup-review-place img {
  width: 48px;
  height: 52px;
  flex: none;
  border-radius: 9px;
  object-fit: cover;
}
.pickup-review-place span { min-width: 0; overflow-wrap: anywhere; }
.pickup-review-place small { display: block; color: var(--muted); font-size: 11px; }
.pickup-review-place strong { font-size: 14px; }
.pickup-restore { min-height: 40px; padding: 4px; font-size: 11px; color: var(--forest); text-decoration: underline; }

#connection-note { padding: 9px 14px; margin-block: 8px; border-radius: 12px; background: var(--sand); font-size: 13px; }
#connection-note button { font-weight: 700; text-decoration: underline; padding: 5px 7px; }
.more-places { display:block; margin:12px auto; }
