:root {
  color-scheme: light;
  --paper: #f8f7f1;
  --white: #fffefa;
  --ink: #23382d;
  --green: #284c3a;
  --muted: #556259;
  --line: #dedfd4;
  --soft: #edf1e6;
  --focus: #956618;
  font-family: "Hiragino Sans", "Yu Gothic UI", "Yu Gothic", Meiryo, system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
button, input, textarea { font: inherit; }
button { color: inherit; cursor: pointer; }
a { color: inherit; text-underline-offset: .19em; }
button, a { -webkit-tap-highlight-color: transparent; }
button:focus-visible, a:focus-visible, textarea:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
button:disabled { cursor: default; opacity: .55; }
img, svg { display: block; }
h1, h2, h3, p { margin: 0; }
[hidden] { display: none !important; }

.wrap { width: min(1140px, calc(100% - 64px)); margin-inline: auto; }
.icon { width: 20px; height: 20px; flex: none; }
.skip, .sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.skip:focus { z-index: 5; inset: 6px auto auto 6px; width: auto; height: auto; clip-path: none; padding: 10px; background: var(--white); }

.topbar { border-bottom: 1px solid #e8e6dc; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; gap: 18px; min-height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.18rem; letter-spacing: .045em; text-decoration: none; white-space: nowrap; }
.top-actions { display: flex; align-items: center; gap: 27px; font-size: .875rem; font-weight: 700; }
.top-discover, .top-shops { text-decoration: none; padding: 10px 0; white-space: nowrap; }
.top-discover:hover, .top-shops:hover { text-decoration: underline; }
.save-nav { display: inline-flex; align-items: center; gap: 7px; min-height: 42px; padding: 6px 13px; border-radius: 999px; border: 1px solid var(--line); background: var(--white); white-space: nowrap; }
.save-nav:hover { background: var(--soft); }
.save-nav .icon { width: 17px; height: 17px; }
#saved-count { min-width: 21px; border-radius: 999px; text-align: center; background: var(--soft); }

.hero { display: grid; grid-template-columns: .96fr 1.04fr; overflow: hidden; margin-top: 29px; min-height: 380px; border-radius: 25px; background: #eeeee1; }
.hero-copy { align-self: center; padding: 36px clamp(26px, 4vw, 57px); }
.region-button { display: inline-flex; align-items: center; gap: 5px; min-height: 44px; padding: 5px 10px; border: 1px solid #c6d0c0; border-radius: 100px; background: var(--white); font-size: .85rem; font-weight: 700; }
.region-button .icon { width: 15px; height: 15px; }
.region-button:hover { background: #e1e9da; }
.region-button[aria-pressed="true"] { border-color: var(--green); background: var(--green); color: var(--white); }
.hero h1 { margin: 23px 0 16px; font-size: clamp(2rem, 3.4vw, 3.2rem); line-height: 1.32; letter-spacing: .01em; font-weight: 800; }
.hero-description { color: var(--muted); line-height: 1.85; }
.hero-photo { position: relative; isolation: isolate; min-width: 0; min-height: 0; background: #dde6df; }
.hero-slide { position: absolute; inset: 0; margin: 0; display: grid; align-items: end; justify-items: start; opacity: 0; }
.hero-slide[data-visible] { opacity: 1; }
.hero-slide img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 48%; }
.hero-slide figcaption { position: relative; max-width: calc(100% - 78px); margin: 12px; padding: 6px 10px; border-radius: 8px; background: #fffef4f5; color: var(--ink); line-height: 1.4; }
.hero-slide figcaption strong, .hero-slide figcaption span { display: block; }
.hero-slide figcaption strong { font-size: .9rem; }
.hero-slide figcaption span { font-size: .75rem; margin-top: 2px; }
.hero-slide figcaption a { white-space: nowrap; }
.hero-toggle { position: absolute; z-index: 2; right: 12px; bottom: 12px; min-width: 44px; min-height: 44px; display: grid; place-items: center; border: 1px solid #fffef4; border-radius: 50%; color: #fffef4; background: #223b31e8; font-family: system-ui, sans-serif; cursor: pointer; }
.hero-toggle:hover { background: #1b3229; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 9px 17px; border: 1px solid transparent; border-radius: 11px; font-weight: 700; font-size: .9rem; text-align: center; text-decoration: none; transition: background-color .15s ease, border-color .15s ease; }
.button .icon { width: 18px; height: 18px; }
.button.primary { background: var(--green); color: #fffefa; }
.button.primary:hover { background: #1b3a2a; }
.button.outline { background: var(--white); border-color: #d5dccf; }
.button.outline:hover { background: var(--soft); border-color: #a1af9e; }

.discover { margin-top: 37px; scroll-margin-top: 18px; }
.section-title { display: flex; justify-content: space-between; align-items: end; gap: 12px 20px; margin-bottom: 15px; }
.section-title h2, .route-banner h2 { font-size: clamp(1.42rem, 2.6vw, 1.9rem); line-height: 1.3; font-weight: 800; letter-spacing: .02em; }
.section-title p { margin-top: 5px; color: var(--muted); font-size: .93rem; }
.mood-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 12px; }
.mood { display: flex; align-items: center; gap: 10px; min-width: 0; min-height: 58px; padding: 8px 13px; border: 1px solid var(--line); border-radius: 13px; background: var(--white); text-align: left; font-size: .95rem; font-weight: 700; line-height: 1.45; }
.mood:hover, .mood[aria-pressed="true"] { border-color: #78927b; background: #eff3e7; }
.mood[aria-pressed="true"] { box-shadow: inset 0 0 0 1px #78927b; }
.mood-icon { display: grid; flex: none; place-items: center; width: 34px; height: 34px; border-radius: 9px; }
.mood-icon.sage { background: #e4ecd8; color: #3f5b40; }
.mood-icon.sand { background: #f4e9c9; color: #70531a; }
.mood-icon.mint { background: #e3efe6; color: #40644d; }
.mood-icon.peach { background: #f5e5d9; color: #884c37; }
.mood-icon.lilac { background: #eee7f3; color: #674d75; }
.mood-icon.sky { background: #e3eef1; color: #42616a; }
.mood-next { display: grid; flex: none; place-items: center; margin-left: auto; color: #59715b; }
.mood-next .icon { width: 17px; height: 17px; }
.mood-next .icon:last-child, .mood[aria-pressed="true"] .mood-next .icon:first-child { display: none; }
.mood[aria-pressed="true"] .mood-next .icon:last-child { display: block; }
.button.mood-feedback { margin-top: 10px; }

.results { border-top: 1px solid var(--line); margin-top: 32px; padding-top: 25px; }
.results-title h2 { display: flex; align-items: center; gap: 10px; }
#result-count, #shop-count { display: inline-block; padding: 2px 9px; border-radius: 100px; background: #e8ede1; color: #42604d; font-size: .85rem; line-height: 1.6; font-weight: 700; letter-spacing: 0; vertical-align: middle; }
.date-switch { display: inline-flex; gap: 3px; background: #edeee5; border: 1px solid #e3e5d9; border-radius: 12px; padding: 4px; }
.date-switch button { min-height: 37px; padding: 6px 14px; border: 0; border-radius: 8px; background: transparent; font-weight: 700; font-size: .875rem; white-space: nowrap; }
.date-switch button:hover { background: #e1e7d9; }
.date-switch button[aria-pressed="true"] { background: var(--green); color: var(--white); }
.filters { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 17px; }
.place-panel { padding: 14px; margin: 0 0 15px; background: var(--white); border: 1px solid var(--line); border-radius: 14px; scroll-margin-top: 12px; }
.place-panel h3 { margin-bottom: 7px; font-size: 1rem; }
#place-form, #place-selection { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; }
#place-form input { flex: 1 1 220px; min-height: 44px; min-width: 0; padding: 8px 11px; border: 1px solid #aebaaa; border-radius: 10px; color: var(--ink); background: var(--white); }
#place-form input:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
#place-selection { margin-top: 8px; }
#place-status { color: var(--muted); font-size: .9rem; margin-top: 7px; }
#place-status:empty { margin: 0; }
#station-suggestions, #map-stations { margin-top: 9px; }
#station-suggestions h4, #map-stations-title { margin: 0 0 4px; font-size: .875rem; font-weight: 700; }
#station-buttons, #map-station-buttons { margin: 0; }
#station-buttons .filter, #map-station-buttons .filter { min-height: 44px; }
#nearby-info { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin-top: 8px; font-size: .9rem; }
.nearby-distance { color: var(--green); font-size: .9rem; font-weight: 700; margin-bottom: 5px; }
#place-selection .button { padding-inline: 11px; }
.outing-filters { margin: 24px 0 22px; padding: 15px 16px; border: 1px solid #d8dfd1; background: var(--white); border-radius: 14px; }
.outing-filters h3 { margin-bottom: 9px; font-size: 1rem; }
.outing-filters .filters { margin-bottom: 0; gap: 8px; }
.outing-filters .filter {
  min-height: 44px;
  font-weight: 750;
  color: var(--tag-ink, var(--ink));
  background: var(--tag-fill, var(--white));
  border-color: var(--tag-line, #d4dcd3);
}
.outing-filters [data-filter="solo-pace"] {
  --tag-ink: #553785;
  --tag-fill: #f3edff;
  --tag-line: #d8c8f0;
  --tag-active: #e5d7fb;
  --tag-active-line: #7755a8;
}
#shop-conditions .filter { min-height: 44px; }
.outing-filters .filter:hover { background: var(--tag-fill, #f4f7f4); border-color: #a6aba1; }
.outing-filters .filter[aria-pressed="true"] {
  background: var(--tag-active, #dceee2);
  border-color: var(--tag-active-line, #527761);
  box-shadow: inset 0 0 0 1px var(--tag-active-line, #527761);
}
.filter-icon { display: grid; flex: none; place-items: center; }
.filter-icon .icon:last-child, .filter[aria-pressed="true"] .filter-icon .icon:first-child { display: none; }
.filter[aria-pressed="true"] .filter-icon .icon:last-child { display: block; stroke-width: 2.5; }
.outing-filters .filter-note { margin: 10px 0 0; }
#map-picker { margin-block-start: min(4dvh, 30px); }
.map-picker-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; margin-top: 12px; }
.map-picker-toolbar p { color: var(--muted); font-size: .88rem; }
.picker-map-frame { position: relative; overflow: hidden; margin-top: 8px; border: 1px solid var(--line); border-radius: 10px; background: #edf1e6; }
#picker-map { width: 100%; height: clamp(240px, 43dvh, 430px); background: #d5e8eb; isolation: isolate; }
#picker-map .map-street-painted { background: #f3f1e7; }
.picker-map-crosshair { position: absolute; z-index: 1; inset: 50% auto auto 50%; width: 26px; height: 26px; transform: translate(-50%, -50%); border: 2px solid var(--green); border-radius: 50%; box-shadow: 0 0 0 2px white; pointer-events: none; }
.picker-map-crosshair::before { content: ""; position: absolute; inset: 7px; border-radius: 50%; background: var(--green); }
.map-overview .picker-map-crosshair { display: none; }
#map-status { min-height: 1.5em; margin-top: 8px; font-size: .9rem; font-weight: 700; }
.map-area-pin { display: block; pointer-events: auto; width: 24px; height: 24px; padding: 0; border: 2px solid white; border-radius: 50%; background: var(--green); box-shadow: 0 2px 4px #1c382c50; }
.map-pin-wrap::after { content: ""; position: absolute; bottom: -4px; left: calc(50% - 3px); border: 3px solid transparent; border-top: 5px solid var(--green); border-bottom: 0; pointer-events: none; }
.map-local-label { pointer-events: none; white-space: nowrap; color: #3c555a; text-shadow: 0 1px 2px white, 1px 0 2px white, -1px 0 2px white; font: 600 12px/16px sans-serif; }
.map-local-label span { display: block; width: max-content; transform: translateX(-50%); }
#street-map-status { margin: 4px 0; font-size: .875rem; }
.map-area-pin::after { content: ""; display: block; width: 6px; height: 6px; margin: auto; border-radius: 50%; background: white; }
.map-area-cluster { display: grid; place-items: center; width: 36px; height: 36px; color: white; font-size: 0.8rem; font-weight: 700; }
.map-area-cluster::after { content: none; }
.unconfirmed-date-toggle { margin: 8px 0; }
.map-data-credit { margin: 4px 0 8px; font-size: 0.75rem; }
.place-coverage { margin: 0 0 10px; font-size: 0.875rem; }
#place-matches:not([hidden]) { margin-top: 8px; }
.results, #place-search, .shops { scroll-margin-top: 18px; }
.filter-note { margin: -7px 0 16px; color: var(--muted); font-size: .875rem; }
.filter-note p { margin: 0; }
.filter-note p + p { margin-top: 4px; }
.community-guide { margin: 0 0 16px; padding: 14px 17px; border: 1px solid var(--line); border-radius: 14px; background: #f2f5ed; }
.community-guide h3 { margin: 0 0 4px; font-size: 1rem; }
.community-guide p { margin: 0; font-size: .9rem; }
.community-guide ul { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 8px 0 5px; padding: 0; list-style: none; }
.community-guide li { min-width: 0; }
.community-guide a { display: inline-block; padding: 5px 0; color: var(--green); text-underline-offset: 3px; font-weight: 650; }
.community-guide small { display: block; color: var(--muted); font-size: .78rem; }
.filter { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 5px 12px; border: 1px solid var(--line); border-radius: 100px; background: var(--white); font-size: .875rem; font-weight: 650; }
.filter .icon { width: 16px; height: 16px; }
.filter:hover, .filter[aria-pressed="true"] { background: #e8efe1; border-color: #78927b; }
.filter[aria-pressed="true"] { box-shadow: inset 0 0 0 1px #78927b; }
.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 17px; }
.card { display: flex; flex-direction: column; overflow: hidden; min-width: 0; border: 1px solid var(--line); border-radius: 16px; background: var(--white); }
.card-media { position: relative; }
.place-photo { width: 100%; height: 156px; object-fit: cover; background-color: #e6e9db; }
.photo-basho-museum { object-position: center 37%; }
.photo-kiba-park { object-position: center 55%; }
.photo-tomioka-shrine { object-position: center 46%; }
.card-media-text { min-height: 55px; background: #edf1e6; }
.card-photo-context { position: absolute; bottom: 8px; right: 10px; padding: 2px 6px; border-radius: 4px; background: #fffefaed; font-size: .78rem; }
.card-photo-credit { margin: 0 0 6px; font-size: .75rem; color: var(--muted); overflow-wrap: anywhere; }
.card-price { position: absolute; top: 12px; left: 12px; border-radius: 100px; background: #faf2df; padding: 4px 10px; font-weight: 800; font-size: .86rem; }
.card-price.free { background: #eef4e6; color: #2d5037; }
.bookmark-btn { display: grid; place-items: center; min-width: 44px; min-height: 44px; padding: 0; border: 1px solid #dfdfd4; border-radius: 50%; background: var(--white); }
.card .bookmark-btn { position: absolute; top: 9px; right: 9px; }
.bookmark-btn:hover, .bookmark-btn[aria-pressed="true"] { background: #eaf0e1; color: #305a40; }
.bookmark-btn[aria-pressed="true"] svg { fill: #c0d4b9; }
.card-body { display: flex; flex: 1; flex-direction: column; align-items: flex-start; padding: 14px 16px 15px; }
.card-context, .eyeline { display: flex; align-items: center; flex-wrap: wrap; gap: 3px 7px; color: var(--muted); font-size: .875rem; }
.card-context .icon { width: 15px; height: 15px; }
.card-body h3 { margin: 5px 0 6px; font-size: 1.16rem; line-height: 1.45; font-weight: 800; overflow-wrap: anywhere; }
.card-body h3 button { padding: 0; border: 0; background: transparent; font: inherit; text-align: left; }
.card-body h3 button:hover { text-decoration: underline; text-underline-offset: .2em; }
.card-summary { margin-bottom: 13px; color: var(--muted); font-size: .95rem; line-height: 1.65; }
.outing-tip { width: 100%; margin-bottom: 13px; padding: 9px 12px 10px; border-radius: 10px; background: #f8efdf; color: #4d3620; }
.tip-label { display: flex; align-items: center; gap: 6px; color: #6d4b2d; font-size: .8rem; font-weight: 700; }
.tip-label .icon { width: 15px; height: 15px; }
.tip-title { margin-top: 2px; font-weight: 800; }
.tip-text { margin-top: 3px; font-size: .875rem; line-height: 1.55; }
.dialog-body .outing-tip { margin-top: 15px; margin-bottom: 0; }
.tip-source { margin-top: 7px; font-size: .85rem; }
.tags { display: flex; align-items: center; flex-wrap: wrap; gap: 5px; padding: 0; margin: 0 0 12px; list-style: none; }
.tag { padding: 3px 8px; border-radius: 6px; background: #edf0e8; color: #385243; font-size: .875rem; font-weight: 650; }
.tag.neutral { background: #f0eee6; color: #5b5a49; }
.tag-button { display: inline-flex; align-items: center; gap: 4px; min-height: 40px; border: 1px solid #c9d4c3; text-align: left; }
.tag-button.attention { border-color: #dfcbb0; background: #f8efdf; color: #5e4228; }
.tag-button.neutral { border-color: #d7d2bf; }
.tag-button .icon { width: 14px; height: 14px; }
.tag-button:hover { text-decoration: underline; text-underline-offset: .2em; }
.card-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 2px 8px; width: 100%; margin-top: auto; padding-top: 7px; border-top: 1px solid #ebece3; }
.card-hours { font-size: .86rem; color: var(--muted); }
.card-links { display: flex; flex-wrap: wrap; gap: 0 12px; }
.card-links a { display: inline-flex; align-items: center; }
.text-button { min-height: 41px; padding: 4px 0; border: 0; background: none; color: var(--green); font-size: .9rem; font-weight: 750; text-underline-offset: .19em; }
.text-button:hover { text-decoration: underline; }
.empty { grid-column: 1 / -1; padding: 22px; border: 1px dashed #abb8a7; border-radius: 14px; background: var(--white); }
.empty p { margin: 6px 0 12px; color: var(--muted); }
.empty-actions { display: flex; flex-wrap: wrap; gap: 7px; }
.empty > strong + .empty-actions { margin-top: 10px; }
.show-more { display: grid; place-items: center; margin-top: 17px; }
.show-more:empty { display: none; }
.shops { border-top: 1px solid var(--line); margin: 34px 0; padding-top: 24px; scroll-margin-top: 18px; }
.shop-card { border-top: 3px solid #83967b; }
.shop-card .card-body { position: relative; }
.shop-card .card-context, .shop-card h3 { padding-right: 46px; }
.shop-card .bookmark-btn { top: 11px; right: 12px; }
.shop-menu { display: flex; align-items: baseline; flex-wrap: wrap; gap: 3px 9px; margin: 2px 0 12px; color: var(--muted); font-size: .92rem; }
.shop-menu strong { font-size: 1.2rem; color: var(--green); }
.place-detail { padding-top: 32px; }
.place-detail .eyeline { padding-right: 42px; }
.route-banner { display: flex; align-items: center; gap: 16px; margin: 33px 0 35px; padding: 20px; border: 1px solid #d7dfd2; border-radius: 16px; background: #edf1e6; }
.route-icon { display: grid; flex: none; place-items: center; width: 45px; height: 45px; border-radius: 12px; background: #dce7d8; color: var(--green); }
.route-icon .icon { width: 27px; height: 27px; }
.route-banner h2 { font-size: 1.2rem; }
.route-banner p { margin-top: 4px; color: var(--muted); font-size: .91rem; }
.route-banner .button { margin-left: auto; white-space: nowrap; }
.footer { border-top: 1px solid var(--line); }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 14px; min-height: 75px; }
.footer .brand { font-size: 1rem; }

dialog { width: min(660px, calc(100% - 28px)); max-height: min(90dvh, 810px); padding: 0; border: 1px solid var(--line); border-radius: 20px; background: var(--white); color: var(--ink); box-shadow: 0 16px 70px #182a2160; overscroll-behavior: contain; }
dialog::backdrop { background: #14291ee0; }
.dialog-shell { position: relative; }
.dialog-close { position: absolute; top: 12px; right: 12px; z-index: 1; display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 50%; background: var(--white); }
.dialog-close:hover { background: var(--soft); }
.dialog-body { padding: 25px 27px; overflow-wrap: anywhere; }
.dialog-body h2 { margin: 4px 30px 8px 0; font-size: clamp(1.4rem, 3.7vw, 1.95rem); line-height: 1.35; }
.dialog-body h3 { margin: 18px 0 7px; font-size: 1.1rem; }
.dialog-body > p + p { margin-top: 8px; }
.detail-photo { margin: 0; }
.dialog-body .detail-photo { margin-top: 15px; border-radius: 10px; overflow: hidden; }
.detail-photo .place-photo { display: block; height: auto; max-height: min(54dvh, 480px); object-fit: contain; }
.detail-photo figcaption { padding: 6px 14px; background: #edf1e6; color: var(--muted); font-size: .8rem; overflow-wrap: anywhere; }
.dialog-body .eyeline { margin-bottom: 4px; }
.detail-callout { margin-top: 15px; border-radius: 10px; background: #edf1e6; padding: 10px 12px; }
.detail-callout strong { display: block; }
.detail-callout p { color: var(--muted); font-size: .92rem; }
.visit-panel { display: grid; gap: 10px; margin-top: 15px; padding: 11px 13px; border: 1px solid var(--line); border-radius: 10px; background: #f7f6ee; }
.arrival-panel { margin-top: 13px; padding: 12px 14px; border-radius: 10px; border: 1px solid #d9e3d4; background: #eff3e9; }
.dialog-body .arrival-panel h3 { margin: 0 0 6px; }
.arrival-panel .visit-fact { margin: 7px 0; }
.arrival-panel .steps { margin-top: 7px; }
.card-reasons { display: grid; gap: 5px; margin: 8px 0 10px; padding: 8px 10px; border-left: 2px solid #8ea68b; background: #f0f4eb; font-size: .875rem; }
.card-reasons p { margin: 0; }
.card-reasons strong { display: block; }
.visit-panel .visit-fact h3 { margin: 0 0 3px; font-size: 1rem; }
.visit-fact p { color: var(--muted); font-size: .92rem; }
.visit-fact p + p { margin-top: 5px; }
.visit-note-body { padding-top: 30px; }
.visit-note-body .eyeline { padding-right: 42px; }
.detail-actions { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0; }
.detail-list { display: grid; grid-template-columns: 7.3rem minmax(0, 1fr); margin: 0; }
.detail-list dt, .detail-list dd { margin: 0; padding: 9px 0; border-bottom: 1px solid #eceee5; }
.detail-list dt { padding-right: 7px; font-weight: 750; }
.detail-list dd { color: var(--muted); }
.steps, .source-list { padding-left: 1.3rem; margin: 0; }
.steps li + li, .source-list li + li { margin-top: 7px; }
.source-list li, .detail-note { color: var(--muted); font-size: .9rem; }
.source-list a { color: var(--green); }
.mini-list { display: grid; gap: 8px; margin-top: 14px; }
.mini-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 9px 12px; border: 1px solid var(--line); border-radius: 10px; }
.mini-row strong, .mini-row small { display: block; }
.mini-row small { color: var(--muted); font-size: .875rem; }
.mini-row .text-button { text-align: left; }
.share-box { width: 100%; min-height: 7rem; margin: 11px 0 0; border: 1px solid #a6b6a6; border-radius: 8px; padding: 10px; color: var(--ink); background: var(--paper); resize: vertical; }
.toast { position: fixed; z-index: 2; bottom: 16px; left: 50%; transform: translateX(-50%); max-width: calc(100% - 28px); padding: 9px 15px; border-radius: 10px; color: white; background: #233f31; box-shadow: 0 3px 16px #17291d36; font-size: .9rem; }
.toast:empty { display: none; }
.footer-links { display: flex; gap: 8px 18px; flex-wrap: wrap; align-items: center; }
.footer-links a, .footer-links button { color: var(--green); font-size: .9rem; }
.report-link { margin-top: 12px; }
.report-form, .report-form label { display: grid; gap: 6px; }
.report-form { gap: 15px; margin-top: 18px; }
.report-form input, .report-form select, .report-form textarea { width: 100%; min-width: 0; padding: 10px; border: 1px solid #97a799; border-radius: 7px; background: white; color: var(--ink); font: inherit; font-size: 1rem; }
.report-form textarea { resize: vertical; }
.report-status:empty { display: none; }
.report-status, .report-receipt { overflow-wrap: anywhere; }
.report-form button { justify-self: start; }
.policy-page { max-width: 47rem; margin: 2rem auto; padding: 0 1.1rem; line-height: 1.75; }
.policy-page h2 { margin-top: 1.6em; }
html:has(dialog[open]) { overflow: hidden; }

@media (max-width: 925px) {
  .wrap { width: calc(100% - 44px); }
  .hero { min-height: 333px; }
  .card-body h3 { font-size: 1.08rem; }
}
@media (max-width: 640px) {
  .wrap { width: calc(100% - 30px); }
  .brand { font-size: 1rem; gap: 7px; }
  .brand img { width: 32px; height: 32px; }
  .topbar-inner { min-height: 59px; }
  .top-actions { gap: 9px; }
  .top-discover { display: none; }
  .save-nav { padding-inline: 9px; font-size: .82rem; }
  .hero { grid-template-columns: 1fr; margin-top: 15px; border-radius: 18px; }
  .hero-copy { padding: 21px 20px 23px; }
  .hero h1 { margin: 15px 0 12px; font-size: clamp(1.6rem, 7.15vw, 2.6rem); text-wrap: balance; }
  .hero-actions { margin-top: 14px; }
  .hero-photo { min-height: 200px; }
  .hero-slide img { object-position: center; }
  .discover { margin-top: 25px; }
  .section-title { align-items: start; flex-wrap: wrap; }
  .section-title p { font-size: .89rem; }
  .random-btn { min-height: 40px; padding: 6px 9px; gap: 5px; font-size: .875rem; }
  .random-btn .icon { width: 16px; height: 16px; }
  .mood-grid { grid-template-columns: 1fr; gap: 7px; }
  .mood { padding: 9px 11px; gap: 8px; font-size: .925rem; min-height: 51px; }
  .mood-icon { width: 30px; height: 30px; }
  .mood-icon .icon { width: 17px; height: 17px; }
  .results { margin-top: 24px; padding-top: 20px; }
  .date-switch { max-width: 100%; }
  .date-switch button { min-height: 36px; padding-inline: 11px; }
  .filters { gap: 5px; }
  .filter { padding-inline: 8px; }
  .card-grid { grid-template-columns: 1fr; gap: 12px; }
  .place-photo { height: 150px; }
  .card-body h3 { font-size: 1.16rem; }
  .route-banner { flex-wrap: wrap; padding: 14px; gap: 9px; }
  .route-banner .button { margin-left: 0; }
  .footer-inner { flex-wrap: wrap; gap: 6px; padding-block: 10px; }
  dialog { max-height: 93dvh; border-radius: 16px; }
  .dialog-body { padding: 19px 16px; }
  .detail-list { grid-template-columns: 6.2rem minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}
