/* places(トップ・検索結果)。ヒーロー → 探すハブ → 結果/地図 → 案内セクション。
   ブロック接頭辞: .dh- (discovery hub) .pl- (place card) 。
   テストとJSが参照する名前(.hero .hero-* .discovery-* .place-card .results .map-* .ad-slot .medical-*)は据え置き。 */

/* ── hero ── */
.hero {
  position: relative;
  display: grid;
  align-content: end;
  min-height: clamp(29rem, 58svh, 36rem);
  padding: calc(var(--header-height) + 2.5rem) 0 5rem;
  overflow: hidden;
  color: #fff;
  background: var(--ink);
  isolation: isolate;
  touch-action: pan-y;
}
.hero-media__layer, .hero-shade { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-media__layer { z-index: -2; display: block; visibility: hidden; opacity: 0; transition: visibility .9s, opacity .9s; }
.hero-media__layer.is-active { visibility: visible; opacity: 1; }
.hero-media__layer img { width: calc(100% + 34px); height: calc(100% + 24px); object-fit: cover; transform: translate3d(calc(var(--hero-x, 0px) * .35), calc(var(--hero-y, 0px) * .25 + var(--hero-scroll, 0px)), 0) scale(1.035); transition: transform .25s linear; }
/* 写真は主役。文字が乗る左下だけを暗くし、右上は写真のまま見せる。 */
.hero-shade { z-index: -1; background: linear-gradient(90deg, rgb(14 44 38 / 88%) 0%, rgb(14 44 38 / 56%) 43%, rgb(14 44 38 / 8%) 76%), linear-gradient(180deg, rgb(14 44 38 / 10%) 30%, rgb(14 44 38 / 74%) 100%); }
.hero-atmosphere { position: absolute; z-index: 0; inset: 0; overflow: hidden; pointer-events: none; }
.hero-atmosphere span { position: absolute; border: 1px solid rgb(143 226 210 / 24%); border-radius: 50%; }
.hero-atmosphere span:first-child { top: 13%; right: 7%; width: min(34vw, 32rem); aspect-ratio: 1; transform: translate3d(calc(var(--hero-x, 0px) * -.7), calc(var(--hero-y, 0px) * -.55), 0); }
.hero-atmosphere span:last-child { right: 22%; bottom: -28%; width: min(48vw, 44rem); aspect-ratio: 1; border-color: rgb(255 255 255 / 12%); transform: translate3d(calc(var(--hero-x, 0px) * .45), calc(var(--hero-y, 0px) * .35), 0); }
.hero-copy-stage { position: relative; z-index: 2; width: var(--wrap); margin-inline: auto; transform: translate3d(calc(var(--hero-x, 0px) * -.16), calc(var(--hero-y, 0px) * -.12), 0); }
.hero-kicker { display: inline-flex; margin: 0 0 1.15rem; padding: .38rem .82rem; color: #fff; border: 1px solid rgb(255 255 255 / 30%); border-radius: var(--r-p); background: rgb(14 44 38 / 38%); font-size: var(--fs-xs); font-weight: 700; letter-spacing: .04em; backdrop-filter: blur(10px); }
.hero-copy { width: min(40rem, 100%); visibility: hidden; opacity: 0; pointer-events: none; transform: translateY(10px); transition: visibility .5s, opacity .5s, transform .5s var(--ease); }
.hero-copy:not(.is-active) { position: absolute; inset: auto 0 0; }
.hero-copy.is-active { visibility: visible; opacity: 1; pointer-events: auto; transform: none; }
.hero-copy .eyebrow { color: #cfe6ff; }
.hero-copy h2 { max-width: 13ch; margin: .4rem 0 .65rem; font-size: clamp(2.35rem, 4.4vw, 4.4rem); font-weight: 760; letter-spacing: -.055em; line-height: 1.04; text-shadow: 0 3px 30px rgb(0 0 0 / 28%); }
.hero-copy h2 em { font-style: normal; color: #8fe2d2; }
.hero-copy > p { max-width: 35rem; color: rgb(255 255 255 / 82%); font-size: var(--fs-s); line-height: 1.75; text-shadow: 0 1px 10px rgb(0 0 0 / 30%); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1rem; }
.hero-actions .btn { min-height: 3rem; padding-inline: 1.25rem; color: #fff; border-color: rgb(255 255 255 / 38%); background: rgb(14 44 38 / 32%); backdrop-filter: blur(8px); }
.hero-actions .btn:hover { color: var(--blue); }
.hero-actions .btn--p { color: var(--action-ink); border-color: transparent; background: linear-gradient(135deg, var(--action-start), var(--action-end)); box-shadow: 0 10px 22px rgb(36 166 142 / 17%); }
.hero-actions .btn--p:hover { color: var(--action-ink); border-color: transparent; background: linear-gradient(135deg, var(--action-hover-start), var(--action-hover-end)); box-shadow: 0 14px 30px rgb(8 113 95 / 28%); }
.hero-collage { position: absolute; z-index: 1; top: 50%; right: clamp(1.5rem, 5vw, 6rem); width: min(30vw, 460px); height: min(52vh, 500px); pointer-events: none; transform: translateY(-50%); }
.hero-collage figure { position: absolute; padding: 4px; border-radius: var(--r-l); background: rgb(255 255 255 / 85%); box-shadow: var(--sh-3); }
.hero-collage figure[data-shape="portrait"] { top: 0; right: 0; width: 46%; }
.hero-collage figure[data-shape="landscape"] { bottom: 0; left: 0; width: 70%; }
.hero-collage img { display: block; width: 100%; height: 100%; border-radius: calc(var(--r-l) - 4px); object-fit: cover; }
.hero-collage figure[data-shape="portrait"] img { aspect-ratio: 3 / 4; }
.hero-collage figure[data-shape="landscape"] img { aspect-ratio: 1.58; }
.hero-credit { position: absolute; right: clamp(1rem, 3vw, 3rem); bottom: .9rem; z-index: 2; margin: 0; padding: .3rem .6rem; color: rgb(255 255 255 / 80%); border-radius: var(--r-s); background: rgb(10 20 35 / 45%); font-size: .58rem; visibility: hidden; opacity: 0; transition: visibility .35s, opacity .35s; }
.hero-credit.is-active { visibility: visible; opacity: 1; }
.hero-credit a { color: #fff; text-decoration: underline; text-underline-offset: .16em; }
.hero-events ~ .hero-credit { right: auto; left: clamp(1rem, 3vw, 3rem); }
/* 開催中イベントの小さなローテーター。写真の右下に白いカードで置く。 */
.hero-events { position: absolute; z-index: 3; right: clamp(1rem, 4vw, 4rem); bottom: 2.3rem; width: min(390px, calc(100% - 2rem)); padding: .75rem .9rem .55rem; color: #fff; border: 1px solid rgb(255 255 255 / 18%); border-radius: var(--r-l); background: rgb(23 63 55 / 82%); box-shadow: var(--sh-3); backdrop-filter: blur(18px); }
.hero-events__viewport { position: relative; min-height: 3.3rem; }
.hero-events__slide { position: absolute; inset: 0; display: grid; grid-template-columns: auto 1fr; gap: .1rem .8rem; align-content: center; visibility: hidden; opacity: 0; transform: translateY(6px); transition: opacity .4s, transform .4s, visibility .4s; }
.hero-events__slide.is-active { visibility: visible; opacity: 1; transform: none; }
.hero-events__slide time { grid-row: 1 / 3; align-self: center; padding-right: .8rem; color: #8fe2d2; border-right: 1px solid rgb(255 255 255 / 18%); font-size: .66rem; font-weight: 800; line-height: 1.4; }
.hero-events__slide a { overflow: hidden; font-size: var(--fs-s); font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
.hero-events__slide a:hover { color: var(--blue); }
.hero-events__slide span { color: rgb(255 255 255 / 58%); font-size: .62rem; }
.hero-events__navigation { display: grid; grid-template-columns: auto 1fr auto; gap: .5rem; align-items: center; margin-top: .3rem; }
.hero-events__controls { display: flex; gap: .1rem; justify-content: center; }
/* 見た目は点のままで、押せる面積は24px四方を確保する。 */
.hero-events__controls button { display: grid; place-items: center; width: 24px; height: 24px; padding: 0; border: 0; background: transparent; cursor: pointer; }
.hero-events__controls button::before { width: .45rem; height: .45rem; border-radius: 50%; background: var(--line-2); content: ""; transition: background var(--t-fast), transform var(--t-fast); }
.hero-events__controls button.is-active::before { background: var(--rose-light); transform: scale(1.25); }
.hero-events__arrow { display: grid; place-items: center; width: 1.9rem; height: 1.9rem; padding: 0; color: #fff; border: 1px solid rgb(255 255 255 / 22%); border-radius: 50%; background: rgb(255 255 255 / 7%); cursor: pointer; transition: color var(--t-fast), border-color var(--t-fast), background var(--t-fast); }
.hero-events__arrow:hover, .hero-events__arrow:focus-visible { color: var(--blue); border-color: var(--blue); }
.hero-events__arrow .ui-icon { width: .8rem; height: .8rem; }
.hero-events__progress { height: 2px; margin-top: .5rem; overflow: hidden; border-radius: 2px; background: var(--line); }
.hero-events__progress span { display: block; width: 100%; height: 100%; background: linear-gradient(90deg, var(--rose-light), var(--rose)); transform-origin: left; }
@keyframes event-progress { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* ── 更新ティッカー: ヒーロー直下の細い帯。内容は静止しても全部読める。 ── */
.update-ticker { display: flex; gap: 1rem; align-items: center; padding-block: .55rem; overflow: hidden; border-bottom: 1px solid var(--line); background: var(--paper); }
.update-ticker__title { flex: none; margin: 0; padding-left: clamp(1rem, 4vw, 2.5rem); color: var(--ink-3); font-size: var(--fs-xs); font-weight: 700; letter-spacing: .06em; white-space: nowrap; }
.update-ticker__viewport { position: relative; display: flex; flex: 1 1 auto; min-width: 0; overflow: hidden; mask-image: linear-gradient(to right, transparent, #000 2rem, #000 calc(100% - 2rem), transparent); }
.update-ticker__lane { display: flex; flex: none; gap: 2.5rem; align-items: center; margin: 0; padding: 0 1.25rem 0 0; list-style: none; animation: update-ticker-scroll 90s linear infinite; }
.update-ticker__viewport:hover .update-ticker__lane, .update-ticker__viewport:focus-within .update-ticker__lane { animation-play-state: paused; }
.update-ticker__lane a { display: inline-flex; gap: .5rem; align-items: baseline; white-space: nowrap; }
.update-ticker__lane a:hover strong, .update-ticker__lane a:focus-visible strong { color: var(--blue); }
.update-ticker__lane strong { font-size: var(--fs-s); font-weight: 700; }
.update-ticker__lane span { color: var(--ink-2); font-size: var(--fs-xs); }
.update-ticker__lane time { color: var(--ink-3); font-size: .68rem; }
@keyframes update-ticker-scroll { to { transform: translateX(-100%); } }

/* ── 探すハブ ── */
.discovery-hub { position: relative; z-index: 3; width: var(--wrap); margin: -3rem auto 2rem; padding: clamp(1rem, 2vw, 1.45rem); border: 1px solid rgb(255 255 255 / 78%); border-radius: calc(var(--r-l) + .35rem); background: rgb(255 255 255 / 97%); box-shadow: var(--sh-3); backdrop-filter: blur(18px); }
.discovery-hub--results { margin-top: var(--below-header); margin-bottom: 1.5rem; padding: clamp(1rem, 2vw, 1.5rem); box-shadow: var(--sh-1); }
.breadcrumbs ~ .discovery-hub--results { margin-top: 1rem; }
.hero + .discovery-hub { box-shadow: 0 18px 48px rgb(29 91 78 / 12%); }
.discovery-hub + .update-ticker { margin-top: -1rem; margin-bottom: 1rem; }
.discovery-hub__header { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(260px, .75fr); gap: .6rem 2rem; align-items: end; margin-bottom: .75rem; }
.discovery-hub__header h2 { margin-top: .12rem; font-size: var(--fs-2); }
.discovery-hub__header > p { color: var(--ink-2); font-size: var(--fs-s); }
.discovery-hub--results .discovery-hub__header { grid-template-columns: 1fr auto; margin-bottom: .9rem; }
.discovery-hub--results .discovery-hub__header h2 { font-size: var(--fs-3); }
.search-form { display: grid; grid-template-columns: minmax(0, 2fr) minmax(10rem, 1fr) auto auto; gap: .5rem; align-items: end; padding: .55rem; border: 1px solid var(--blue-100); border-radius: var(--r-l); background: linear-gradient(135deg, var(--surface-accent), var(--surface)); }
.search-form label { display: grid; gap: .3rem; }
.search-form label > span { color: var(--ink-2); font-size: var(--fs-xs); font-weight: 700; }
.search-form input[type="search"], .search-form select { min-height: 3rem; border-color: var(--control-border); background-color: var(--paper); box-shadow: 0 1px 2px rgb(29 91 78 / 5%); }
.search-form > button { min-height: 3rem; padding-inline: 1.45rem; }
.search-form__near { display: inline-flex; gap: .4rem; align-items: center; justify-content: center; min-height: 3rem; padding: .5rem .85rem; color: var(--blue-d); border: 1px solid var(--blue-100); border-radius: var(--r-p); background: var(--surface-accent-strong); box-shadow: var(--sh-1); font-size: var(--fs-xs); font-weight: 800; white-space: nowrap; transition: color var(--t-fast), border-color var(--t-fast), background var(--t-fast), transform var(--t-fast), box-shadow var(--t-fast); }
.search-form__near:hover, .search-form__near:focus-visible { color: var(--control-active-ink); border-color: var(--control-active-border); background: var(--control-active-bg); transform: translateY(-1px); }
.search-options { grid-column: 1 / -1; }
.search-options summary, .category-more summary { width: fit-content; color: var(--blue); font-size: var(--fs-xs); font-weight: 700; cursor: pointer; }
.search-options summary:hover, .category-more summary:hover { color: var(--blue-d); }
.search-options__fields { display: flex; flex-wrap: wrap; gap: .2rem 1.2rem; padding-top: .3rem; }
.discovery-hub__section-label { margin: .8rem 0 .35rem; color: var(--ink-3); font-size: .66rem; font-weight: 800; letter-spacing: .06em; }
.need-shortcuts { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; margin: 0 0 .2rem; overflow: hidden; border: 1px solid var(--line); border-radius: var(--r-m); background: var(--paper); }
.need-shortcuts a { display: grid; grid-template-columns: auto 1fr; gap: 0 .5rem; align-content: center; min-height: 3.8rem; padding: .55rem .7rem; border-left: 1px solid var(--line); transition: color var(--t-fast), background var(--t-fast); }
.need-shortcuts a:first-child { border-left: 0; }
.need-shortcuts a:hover, .need-shortcuts a:focus-visible { color: var(--blue-d); background: var(--blue-50); }
.need-shortcuts a > span { display: grid; grid-row: 1 / 3; place-items: center; width: 2rem; height: 2rem; color: var(--blue); border-radius: 50%; background: var(--blue-50); }
.need-shortcuts .ui-icon { width: 1rem; height: 1rem; }
.need-shortcuts strong { align-self: end; font-size: var(--fs-s); }
.need-shortcuts small { align-self: start; overflow: hidden; color: var(--ink-3); font-size: .62rem; text-overflow: ellipsis; white-space: nowrap; }
.need-shortcuts a.need-shortcuts__urgent { color: var(--red-d); background: var(--red-50); }
.need-shortcuts__urgent > span { color: var(--red); background: var(--red-100); }
.city-links { display: flex; gap: .35rem; margin: .7rem 0; overflow-x: auto; scrollbar-width: none; }
.city-links::-webkit-scrollbar { display: none; }
.city-links a { flex: 0 0 auto; padding: .45rem .85rem; color: var(--ink-2); border: 1px solid var(--line); border-radius: var(--r-p); background: var(--paper); font-size: var(--fs-xs); font-weight: 700; transition: color var(--t-fast), border-color var(--t-fast), background var(--t-fast); }
.city-links a:hover, .city-links a:focus-visible { color: var(--blue); border-color: var(--blue); }
.city-links a.active { color: var(--control-active-ink); border-color: var(--control-active-border); background: var(--control-active-bg); }
.discovery-groups { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1px; overflow: hidden; border: 1px solid var(--line); border-radius: var(--r-l); background: var(--line); }
.discovery-groups > a { display: grid; grid-template-columns: auto 1fr; gap: .08rem .55rem; align-content: center; min-height: 4.6rem; padding: .65rem .7rem; border: 0; border-radius: 0; background: var(--paper); transition: color var(--t-fast), background var(--t-fast); }
.discovery-groups > a:hover, .discovery-groups > a:focus-visible { color: var(--blue-d); background: var(--blue-50); }
.discovery-groups > a.active { border-color: var(--blue); background: var(--blue-50); }
.discovery-groups__icon { display: grid; grid-row: 1 / 3; place-items: center; width: 2.2rem; height: 2.2rem; color: var(--blue); border-radius: 50%; background: var(--blue-50); }
.discovery-groups > a.active .discovery-groups__icon { color: var(--control-active-ink); background: var(--control-active-bg); }
.discovery-groups__icon .ui-icon { width: 1.2rem; height: 1.2rem; }
.discovery-groups strong { display: block; font-size: var(--fs-s); }
.discovery-groups small { display: block; margin-top: .05rem; overflow: hidden; color: var(--ink-3); font-size: .62rem; line-height: 1.35; text-overflow: ellipsis; white-space: nowrap; }
.discovery-groups em { grid-column: 2; align-self: end; color: var(--blue); font-size: .62rem; font-style: normal; font-weight: 700; }
.discovery-hub--results .discovery-groups { display: flex; gap: .35rem; padding-bottom: .3rem; overflow-x: auto; border: 0; border-radius: 0; background: transparent; scrollbar-width: none; }
.discovery-hub--results .discovery-groups::-webkit-scrollbar { display: none; }
.discovery-hub--results .discovery-groups > a { grid-template-columns: auto 1fr auto; align-items: center; flex: 0 0 auto; min-height: 0; padding: .45rem .8rem .45rem .5rem; border-radius: var(--r-p); }
.discovery-hub--results .discovery-groups__icon { grid-row: auto; width: 1.8rem; height: 1.8rem; }
.discovery-hub--results .discovery-groups small { display: none; }
.discovery-hub--results .discovery-groups em { grid-column: auto; }
.category-drawer { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.category-drawer__title { display: block; color: var(--ink-2); font-size: var(--fs-xs); }
.categories { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .8rem; }
.categories a { display: inline-flex; gap: .4rem; align-items: center; padding: .5rem .8rem; color: var(--ink-2); border: 1px solid var(--line); border-radius: var(--r-p); background: var(--paper); font-size: var(--fs-xs); font-weight: 600; transition: color var(--t-fast), border-color var(--t-fast), background var(--t-fast); }
.categories a:hover, .categories a:focus-visible { color: var(--blue); border-color: var(--blue); }
.categories a.active { color: var(--control-active-ink); border-color: var(--control-active-border); background: var(--control-active-bg); }
.categories .ui-icon { width: 1rem; height: 1rem; }
.categories--primary { display: grid; grid-template-columns: repeat(4, minmax(0, auto)); justify-content: start; margin-top: .45rem; }
.categories--primary a { justify-content: center; }
.category-more { margin-top: .45rem; }
.category-more summary { display: inline-flex; align-items: center; min-height: 2rem; list-style: none; }
.category-more summary::-webkit-details-marker { display: none; }
.category-more__close { display: none; }
.category-more[open] .category-more__open { display: none; }
.category-more[open] .category-more__close { display: inline; }
.categories--secondary { margin-top: .35rem; }

/* ── 広告枠。通常の結果と混ざらないよう、枠と「広告」の表示で明確に分ける。 ── */
.ad-slot { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 1rem 2rem; align-items: center; width: var(--wrap); margin: 0 auto 3.5rem; padding: 2rem 1.5rem 1.4rem; border: 1px solid var(--line); border-radius: var(--r-l); background: linear-gradient(105deg, #fff, var(--blue-50)); }
.ad-slot__label { position: absolute; top: .6rem; left: 1rem; margin: 0; color: var(--ink-3); font-size: .55rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.ad-slot__label span { margin-right: .3rem; padding: .1rem .35rem; border: 1px solid var(--line-2); border-radius: var(--r-p); }
.ad-slot__preview { display: none; }
.ad-slot__copy small { color: var(--blue); font-size: var(--fs-xs); font-weight: 700; }
.ad-slot__copy h2 { margin: .25rem 0; font-size: var(--fs-3); }
.ad-slot__copy p { max-width: 42rem; color: var(--ink-2); font-size: var(--fs-s); }
.ad-slot__action { justify-self: end; }
.ad-slot--campaign { border-style: solid; background: var(--paper); }

/* ── 案内セクション(トップ下部) ── */
.live-checks { display: flex; flex-wrap: wrap; gap: .5rem 1rem; align-items: center; width: var(--wrap); margin: -1.5rem auto 3.5rem; padding: .8rem 1rem; border: 1px solid var(--line); border-radius: var(--r-m); background: var(--paper); }
.live-checks > span { color: var(--blue); font-size: .62rem; font-weight: 800; letter-spacing: .1em; }
.live-checks > strong { margin-right: auto; font-size: var(--fs-s); }
.live-checks nav { display: flex; flex-wrap: wrap; gap: .4rem; }
.live-checks a { padding: .35rem .7rem; color: var(--ink-2); border: 1px solid var(--line); border-radius: var(--r-p); font-size: var(--fs-xs); font-weight: 700; transition: color var(--t-fast), border-color var(--t-fast); }
.live-checks a:hover { color: var(--blue); border-color: var(--blue); }
.trip-toolkit, .dining-modes, .local-pantry, .medical-now, .featured-courses { width: var(--wrap); margin: 0 auto 4rem; }
.trip-toolkit nav { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; overflow: hidden; border: 1px solid var(--line); border-radius: var(--r-l); background: var(--line); }
.trip-toolkit nav a { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto 1fr; gap: .2rem .7rem; min-height: 8rem; padding: 1.1rem; background: var(--paper); transition: color var(--t-fast), background var(--t-fast); }
.trip-toolkit nav a:hover, .trip-toolkit nav a:focus-visible, .trip-toolkit nav a.active { color: var(--blue-d); background: var(--blue-50); }
.trip-toolkit nav a > span { display: grid; grid-row: 1 / 4; place-items: center; width: 2.4rem; height: 2.4rem; color: var(--blue); border-radius: 50%; background: var(--blue-50); }
.trip-toolkit nav a > span .ui-icon { width: 1.2rem; height: 1.2rem; }
.trip-toolkit nav strong { font-size: var(--fs-4); }
.trip-toolkit nav small { color: var(--ink-3); font-size: .68rem; line-height: 1.45; }
.trip-toolkit nav em { align-self: end; color: var(--blue); font-size: .68rem; font-style: normal; font-weight: 700; }
.dining-modes {
  padding: clamp(1.4rem, 4vw, 3rem);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: calc(var(--r-l) + .35rem);
  background:
    radial-gradient(circle at 10% 0%, rgb(255 255 255 / 92%), transparent 34%),
    linear-gradient(135deg, #effbf7 0%, #e1f6f0 58%, #fff5f8 100%);
  box-shadow: var(--sh-2);
}
.dining-modes .sec .eyebrow { color: var(--rose); }
.dining-modes .sec p { color: var(--ink-2); }
.dining-modes nav { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin-top: .5rem; overflow: hidden; border: 1px solid var(--line-2); border-radius: var(--r-l); background: var(--line-2); }
.dining-modes nav a { display: grid; gap: .2rem; min-height: 6rem; padding: 1rem; color: var(--ink); background: rgb(255 255 255 / 80%); transition: color var(--t-fast), background var(--t-fast), box-shadow var(--t-fast); }
.dining-modes nav a:hover, .dining-modes nav a:focus-visible, .dining-modes nav a.active { color: #236154; background: linear-gradient(135deg, #f8fffd, #ccefe6); box-shadow: inset 0 0 0 1px rgb(255 255 255 / 75%); }
.dining-modes nav strong { font-size: var(--fs-4); }
.dining-modes nav span { color: var(--ink-3); font-size: .68rem; line-height: 1.45; }
.local-pantry-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .6rem; }
.local-pantry-grid article { display: flex; flex-direction: column; padding: 1.2rem; border: 1px solid var(--line); border-radius: var(--r-l); background: var(--paper); transition: border-color var(--t-fast), box-shadow var(--t-base) var(--ease); }
.local-pantry-grid article:hover { border-color: var(--green-100); box-shadow: var(--sh-2); }
.local-pantry-grid article > header { display: flex; align-items: center; justify-content: space-between; }
.local-pantry-grid header span { display: grid; place-items: center; width: 2.4rem; aspect-ratio: 1; border-radius: 50%; background: var(--green-50); font-size: 1.1rem; }
.local-pantry-grid header p { color: var(--green); font-size: var(--fs-xs); font-weight: 700; }
.local-pantry-grid h3 { margin: 1rem 0 .4rem; font-size: var(--fs-3); }
.local-pantry-grid > article > p { color: var(--ink-2); font-size: var(--fs-s); }
.local-pantry-grid footer { display: flex; gap: .8rem; margin-top: auto; padding-top: 1rem; font-size: var(--fs-xs); font-weight: 700; }
.local-pantry-grid footer a:first-child { color: var(--green); }
.local-pantry-grid footer a:last-child { color: var(--ink-3); }
.local-pantry-grid footer a:hover { text-decoration: underline; text-underline-offset: .2em; }

/* ── 夜間・休日の医療案内。平日昼は入口だけ、夜間・休日は開いた状態で出す(赤は医療のみ)。 ── */
.medical-now > details { border: 1px solid var(--line); border-radius: var(--r-l); background: var(--paper); }
.medical-now > details[open] { border-color: var(--red-100); }
.medical-now summary { display: flex; flex-wrap: wrap; gap: .5rem 1rem; align-items: center; padding: 1rem 1.2rem; cursor: pointer; list-style: none; }
.medical-now summary::-webkit-details-marker { display: none; }
.medical-now summary:hover h2 { color: var(--red); }
.medical-now summary .eyebrow { flex-basis: 100%; }
.medical-now summary h2 { font-size: var(--fs-3); }
.medical-now summary > span { margin-left: auto; color: var(--red); font-size: var(--fs-xs); font-weight: 700; }
.medical-now summary > span::after { content: "＋"; margin-left: .3rem; }
.medical-now details[open] summary > span::after { content: "－"; }
.medical-now .note--r { display: flex; flex-wrap: wrap; gap: .3rem 1rem; align-items: center; margin: 0 1.2rem; }
.medical-now .note--r strong { margin: 0; }
.medical-now .note--r a { margin-left: auto; color: var(--red-d); font-weight: 700; text-decoration: underline; text-underline-offset: .2em; }
.medical-body { padding: 1rem 1.2rem 1.2rem; }
.medical-body > a { display: inline-block; margin-bottom: 1rem; color: var(--blue); font-size: var(--fs-s); font-weight: 700; }
.medical-guides { display: grid; grid-template-columns: repeat(3, 1fr); gap: .6rem; }
.medical-guides article { display: flex; flex-direction: column; padding: 1.1rem; border: 1px solid var(--line); border-radius: var(--r-m); background: var(--bg); }
.medical-guides .city { width: fit-content; }
.medical-guides h3 { margin: .7rem 0 .4rem; font-size: var(--fs-4); }
.medical-guides article > p:not(.city) { color: var(--ink-2); font-size: var(--fs-s); }
.medical-guides dl { margin: .8rem 0; font-size: var(--fs-xs); }
.medical-guides dl div { display: grid; grid-template-columns: 3.5rem 1fr; padding: .35rem 0; border-top: 1px solid var(--line); }
.medical-guides dt { color: var(--ink-3); }
.medical-guides dd { margin: 0; }
.medical-guides a:last-child { margin-top: auto; }
.medical-caution { margin-top: 1rem; color: var(--ink-3); font-size: var(--fs-xs); }

/* ── 結果と地図 ── */
.map-results { width: var(--wrap); margin: 0 auto 4rem; }
.place-search-layout { display: grid; grid-template-columns: 19rem minmax(0, 1fr); gap: 1.25rem; align-items: start; width: var(--wrap); margin: var(--page-top) auto 4rem; }
.place-search-layout__rail { display: grid; gap: 1rem; min-width: 0; }
.search-refine { display: block; min-width: 0; }
.search-refine > summary { display: none; }
.place-search-layout__rail .discovery-hub--results { width: auto; margin: 0; }
.place-search-layout__rail .discovery-hub--results .discovery-hub__header { grid-template-columns: 1fr; gap: .35rem; align-items: start; }
.place-search-layout__rail .discovery-hub--results .discovery-hub__header > p { font-size: .66rem; line-height: 1.55; }
.place-search-layout__rail .discovery-hub--results .city-links { display: none; }
.place-search-layout__rail .discovery-hub--results .search-form { grid-template-columns: 1fr 1fr; }
.place-search-layout__rail .discovery-hub--results :is(.search-form__query, .search-form__category, .search-form__areas) { grid-column: 1 / -1; }
.place-search-layout__rail .discovery-hub--results .search-form__areas { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.place-search-layout__rail .discovery-hub--results .discovery-groups { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .3rem; margin-top: .8rem; overflow: visible; }
.place-search-layout__rail .discovery-hub--results .discovery-groups > a { grid-template-columns: auto minmax(0, 1fr); min-height: 2.8rem; padding: .35rem .45rem; border: 1px solid var(--line); border-radius: .65rem; }
.place-search-layout__rail .discovery-hub--results .discovery-groups__icon { width: 1.55rem; height: 1.55rem; }
.place-search-layout__rail .discovery-hub--results .discovery-groups strong { font-size: .62rem; }
.place-search-layout__rail .discovery-hub--results .discovery-groups em { display: none; }
.place-search-layout__rail .discovery-hub--results .category-drawer { margin-top: .8rem; padding-top: .7rem; }
.place-search-layout__rail .discovery-hub--results .categories { gap: .3rem; margin-top: .45rem; }
.place-search-layout__rail .discovery-hub--results .categories a { padding: .35rem .5rem; font-size: .62rem; }
.place-search-layout > .results { min-width: 0; margin-bottom: 0; }
.place-search-layout__rail > .discovery { order: -1; margin: 0; }
.place-search-layout__rail > .discovery .active-search-summary,
.place-search-layout__rail > .discovery .medical-picks { display: none; }
.place-search-layout__rail > .discovery .sec { margin-bottom: .5rem; }
.place-search-layout__rail > .discovery .sec h2 { font-size: 1rem; }
.place-search-layout__rail > .discovery .sec > p { font-size: .62rem; }
.place-search-layout__rail > .discovery .map-toolbar { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: .5rem; }
.place-search-layout__rail > .discovery .map-toolbar p { font-size: .58rem; line-height: 1.45; }
.place-search-layout__rail > .discovery .map-toolbar .locate { min-height: 2.35rem; font-size: .64rem; }
.place-search-layout__rail > .discovery .map-layout { grid-template-columns: 1fr; min-height: 0; }
.place-search-layout__rail > .discovery .place-map { min-height: 19rem; aspect-ratio: 1; }
.place-search-layout > .results > .sec { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; padding-bottom: .8rem; text-align: left; border-bottom: 1px solid var(--line); }
.place-search-layout > .results > .sec > div { grid-column: 1 / -1; width: 100%; min-width: 0; }
.place-search-layout > .results > .sec h1 { width: 100%; max-width: none; text-align: left; }
.place-search-layout > .results > .sec > p { justify-self: start; text-align: left; }
.discovery { margin-bottom: 3rem; }
.active-search-summary { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .7rem 1.5rem; padding: 1.1rem 1.2rem; margin-bottom: 1.5rem; border: 1px solid var(--blue-100); border-left: 4px solid var(--blue); border-radius: var(--r-m); background: var(--paper); }
.active-search-summary header .eyebrow { margin-bottom: .2rem; font-size: .6rem; }
.active-search-summary h2 { font-size: var(--fs-3); }
.active-search-summary header > p:last-child { margin-top: .2rem; color: var(--ink-3); font-size: var(--fs-xs); }
.active-search-summary ul { display: flex; flex-wrap: wrap; grid-column: 1; gap: .35rem; padding: 0; margin: 0; list-style: none; }
.active-search-summary li { padding: .25rem .6rem; color: var(--blue-d); border-radius: var(--r-p); background: var(--blue-50); font-size: .68rem; font-weight: 700; }
.active-search-summary nav { display: flex; grid-row: 1 / 3; grid-column: 2; gap: .4rem; align-self: center; }
.map-layout { display: grid; grid-template-columns: minmax(0, 2fr) minmax(260px, .8fr); min-height: 520px; overflow: hidden; border: 1px solid var(--line); border-radius: var(--r-l); background: var(--paper); box-shadow: var(--sh-1); }
.medical-picks { padding: 1.4rem; }
.medical-picks h3 { margin: .3rem 0 1rem; }
.medical-picks a { display: grid; gap: .15rem; padding: .8rem 0; border-top: 1px solid var(--line); transition: color var(--t-fast); }
.medical-picks a:hover strong { color: var(--blue); }
.medical-picks span, .medical-picks small { overflow: hidden; color: var(--ink-3); font-size: var(--fs-xs); text-overflow: ellipsis; white-space: nowrap; }
.results { margin-bottom: 4rem; }
.results .sec p { max-width: none; }
.refine-search { padding: .5rem .9rem; color: var(--blue); border: 1px solid currentcolor; border-radius: var(--r-p); font-size: var(--fs-xs); font-weight: 700; white-space: nowrap; }
.refine-search:hover { color: var(--control-active-ink); background: var(--control-active-bg); }
.result-subfilters { display: flex; gap: .4rem; margin-bottom: 1.2rem; padding-bottom: .4rem; overflow-x: auto; scrollbar-width: none; scroll-snap-type: x proximity; }
.result-subfilters::-webkit-scrollbar { display: none; }
.result-subfilters a { display: inline-flex; gap: .4rem; align-items: center; flex: 0 0 auto; padding: .5rem .8rem; color: var(--ink-2); border: 1px solid var(--line); border-radius: var(--r-p); background: var(--paper); font-size: var(--fs-xs); font-weight: 700; scroll-snap-align: start; transition: color var(--t-fast), border-color var(--t-fast), background var(--t-fast); }
.result-subfilters a:hover { color: var(--blue); border-color: var(--blue); }
.result-subfilters a.active { color: var(--control-active-ink); border-color: var(--control-active-border); background: var(--control-active-bg); }
.result-subfilters em { min-width: 1.35rem; padding: .1rem .35rem; border-radius: var(--r-p); background: rgb(28 42 56 / 7%); font-size: .6rem; font-style: normal; text-align: center; }
.result-subfilters a.active em { background: rgb(255 255 255 / 48%); }
.results-location { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .4rem 1.2rem; align-items: center; margin-bottom: 1.2rem; padding: .9rem 1.1rem; border: 1px solid var(--blue-100); border-radius: var(--r-m); background: var(--blue-50); }
.results-location strong { font-size: var(--fs-s); }
.results-location p { margin-top: .1rem; color: var(--ink-2); font-size: var(--fs-xs); }
.results-location small { grid-column: 1 / -1; color: var(--ink-3); font-size: .62rem; }
.smoking-map-link { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: .8rem 1rem; align-items: center; margin-bottom: 1.2rem; padding: .9rem 1.1rem; border: 1px solid var(--line); border-radius: var(--r-m); background: var(--paper); }
.smoking-map-link > .ui-icon { width: 1.4rem; height: 1.4rem; color: var(--blue); }
.smoking-map-link strong { font-size: var(--fs-s); }
.smoking-map-link p { color: var(--ink-3); font-size: var(--fs-xs); }
.place-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: .8rem; }
.place-grid[aria-busy="true"] { opacity: .58; transition: opacity .2s ease; }
.public-pagination a { display: inline-flex; align-items: center; min-height: 2.4rem; padding: .4rem 1rem; color: var(--ink-2); border: 1px solid var(--line); border-radius: var(--r-p); background: var(--paper); font-weight: 700; }
.public-pagination a:hover { color: var(--blue); border-color: var(--blue); }
.distance-load-more { display: flex; justify-content: center; min-width: min(100%, 17rem); margin: 1.5rem auto 0; }
.distance-load-more[hidden] { display: none; }
.empty { padding: 2.5rem 1.5rem; color: var(--ink-2); text-align: center; border: 1px dashed var(--line-2); border-radius: var(--r-l); }
.empty h3 { margin-bottom: .4rem; }

/* ── 施設カード ── */
.place-card { padding: 1.1rem 1.1rem 1rem; }
.place-card > header, .place-card > footer { display: flex; gap: .6rem; align-items: center; justify-content: space-between; }
.place-card .distance { color: var(--blue); font-size: .68rem; font-weight: 700; }
.place-card .utility-badge { width: fit-content; margin: .6rem 0 0; }
.place-card .feature-tags { display: flex; flex-wrap: wrap; gap: .3rem; margin-top: .6rem; }
.place-card h3 { margin: .8rem 0 .3rem; font-size: var(--fs-3); }
.place-card h3 a:hover { color: var(--blue); }
.place-card .address, .place-card .departments { color: var(--ink-2); font-size: var(--fs-s); line-height: 1.6; }
.place-card .departments { margin-top: .15rem; }
.place-card dl { margin-top: auto; padding-top: .6rem; }
.place-card dl div { display: flex; gap: 1rem; justify-content: space-between; padding: .5rem 0; border-top: 1px solid var(--line); font-size: var(--fs-xs); }
.place-card dt { flex: 0 0 auto; color: var(--ink-3); }
.place-card dd { text-align: right; }
.place-card .data-date { display: flex; gap: .6rem; justify-content: space-between; margin-top: .5rem; color: var(--ink-3); font-size: .66rem; }
.place-card > footer { margin-top: .8rem; padding-top: .8rem; border-top: 1px solid var(--line); font-size: var(--fs-xs); font-weight: 700; }
.place-card > footer a { color: var(--blue); }
.place-card > footer a:hover { text-decoration: underline; text-underline-offset: .2em; }
.place-card .place-reactions { margin: .6rem 0 .2rem; }
.place-card .reaction-button { min-height: 1.85rem; padding: .25rem .5rem; font-size: .62rem; }

@media (max-width: 900px) {
  .place-search-layout { display: flex; flex-direction: column; width: var(--wrap); margin-top: var(--page-top); }
  .place-search-layout__rail { display: contents; }
  .search-refine { display: block; order: 1; width: 100%; scroll-margin-top: var(--below-header); }
  .search-refine > summary { display: flex; gap: .65rem; align-items: center; justify-content: space-between; padding: .7rem .85rem; color: var(--ink-2); border: 1px solid var(--line); border-radius: var(--r-m); background: var(--paper); box-shadow: var(--sh-1); cursor: pointer; list-style: none; }
  .search-refine > summary::-webkit-details-marker { display: none; }
  .search-refine > summary::after { flex: 0 0 auto; color: var(--blue); content: "+"; font-size: 1.05rem; font-weight: 800; }
  .search-refine[open] > summary::after { content: "−"; }
  .search-refine > summary span { font-size: .68rem; font-weight: 800; }
  .search-refine > summary strong { overflow: hidden; color: var(--blue-d); font-size: .62rem; text-overflow: ellipsis; white-space: nowrap; }
  .search-refine > .discovery-hub--results { margin-top: .5rem; }
  .place-search-layout__rail > .discovery { position: static; order: 2; width: 100%; }
  .place-search-layout > .results { order: 3; width: 100%; margin-bottom: 1rem; }
  .place-search-layout__rail > .discovery .map-layout { min-height: 0; }
  .place-search-layout__rail > .discovery .place-map { height: 13.5rem; min-height: 13.5rem; aspect-ratio: auto; }
  .place-search-layout__rail .discovery-hub--results .search-form { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .place-search-layout__rail .discovery-hub--results .search-form > .btn { grid-column: 1; width: 100%; }
  .place-search-layout__rail .discovery-hub--results .search-form__near { grid-column: 2; display: flex; gap: .3rem; align-items: center; justify-content: center; width: 100%; padding-inline: .45rem; }
  .place-search-layout__rail .discovery-hub--results .search-form__near span { position: static; width: auto; height: auto; padding: 0; overflow: visible; clip: auto; font-size: .65rem; }
  .place-search-layout > .results > .sec { grid-template-columns: minmax(0, 1fr); gap: .35rem; }
  .place-search-layout > .results > .sec h1 { width: 100%; max-width: none; font-size: 1.45rem; line-height: 1.2; }
  .place-search-layout > .results > .sec .refine-search { display: none; }
  /* SP。段はこの1本だけ */
  .hero { min-height: clamp(20rem, 42svh, 23rem); padding-top: calc(var(--header-height) + .85rem); padding-bottom: 2.6rem; }
  .hero-shade { background: linear-gradient(180deg, rgb(14 44 38 / 5%) 16%, rgb(14 44 38 / 50%) 52%, rgb(14 44 38 / 94%) 100%); }
  .hero-kicker { margin-bottom: .55rem; padding: .28rem .58rem; font-size: .58rem; }
  .hero-copy h2 { max-width: 16ch; margin-block: .25rem .5rem; font-size: clamp(1.65rem, 7.2vw, 2.1rem); line-height: 1.1; }
  .hero-collage { display: none; }
  .hero-copy > p { display: none; }
  .hero-actions { margin-top: .65rem; }
  .hero-actions .btn { min-height: 2.65rem; padding-inline: .9rem; font-size: .72rem; }
  /* ヒーロー本文と同じイベントを重ねて見せない。詳細導線は本文側に残す。 */
  .hero:has(.hero-events) { padding-bottom: 2.6rem; }
  .hero-events { display: none; }
  .hero-credit { right: .7rem; bottom: .35rem; left: .7rem; font-size: .48rem; text-align: center; }
  .hero-events ~ .hero-credit { left: .7rem; }
  /* 更新履歴はPCでは鮮度を伝えるが、SPでは検索より優先しない。 */
  .update-ticker { display: none; }
  .discovery-hub { width: calc(100% - 1rem); margin-top: .35rem; margin-bottom: .75rem; padding: .55rem; }
  .discovery-hub__header, .discovery-hub--results .discovery-hub__header { grid-template-columns: 1fr; gap: .5rem; }
  .discovery-hub__header { margin-bottom: .4rem; }
  .discovery-hub__header .eyebrow, .discovery-hub__header > p { display: none; }
  .discovery-hub__header h2 { margin: 0; font-size: 1rem; line-height: 1.3; }
  .search-form { grid-template-columns: minmax(0, 1fr) auto auto; gap: .3rem; padding: .35rem; border-radius: var(--r-m); }
  .search-form label > span { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
  .search-form__query { grid-column: 1 / -1; }
  .search-form__city { grid-column: 1; }
  .search-form input[type="search"], .search-form select { min-height: 2.65rem; font-size: 16px; }
  .search-form > button { grid-column: 2; min-height: 2.65rem; padding-inline: .7rem; font-size: .68rem; }
  .search-form__near { grid-column: 3; width: 2.65rem; min-height: 2.65rem; padding: 0; }
  .search-form__near span { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
  .search-options { grid-column: 1 / -1; }
  .city-links--homepage { display: none; }
  .discovery-hub__section-label { margin: .45rem 0 .25rem; font-size: .56rem; }
  .need-shortcuts { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .need-shortcuts a { grid-template-columns: 1fr; justify-items: center; min-height: 3.35rem; padding: .28rem .08rem; border-left: 1px solid var(--line); text-align: center; }
  .need-shortcuts a > span { grid-row: auto; width: 1.4rem; height: 1.4rem; }
  .need-shortcuts strong { align-self: auto; font-size: .56rem; line-height: 1.2; }
  .need-shortcuts small { display: none; }
  .discovery-groups { grid-template-columns: repeat(3, 1fr); gap: 1px; }
  .discovery-groups > a { grid-template-columns: 1fr; justify-items: center; min-height: 3.5rem; padding: .3rem .2rem; text-align: center; }
  .discovery-groups__icon { grid-row: auto; width: 1.5rem; height: 1.5rem; }
  .discovery-groups__icon .ui-icon { width: .9rem; height: .9rem; }
  .discovery-groups strong { font-size: .62rem; }
  .discovery-groups small, .discovery-groups em { display: none; }
  .category-drawer { margin-top: .45rem; padding-top: .45rem; }
  .categories--primary { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .categories--primary a { min-height: 2rem; padding-inline: .35rem; font-size: .6rem; }
  .ad-slot { grid-template-columns: 1fr; padding-top: 2.2rem; }
  .ad-slot__action { justify-self: start; }
  .live-checks { align-items: start; flex-direction: column; margin-top: -1rem; }
  .live-checks > strong { margin-right: 0; }
  .trip-toolkit nav { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trip-toolkit nav a { grid-template-columns: auto minmax(0, 1fr); min-height: 5rem; padding: .7rem .55rem; }
  .trip-toolkit nav a > span { width: 1.8rem; height: 1.8rem; }
  .trip-toolkit nav strong { font-size: .72rem; }
  .trip-toolkit nav small, .trip-toolkit nav em { font-size: .58rem; }
  .dining-modes { overflow: hidden; }
  .dining-modes nav { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .local-pantry-grid { grid-template-columns: repeat(2, 1fr); }
  .medical-guides { grid-template-columns: 1fr; }
  .active-search-summary { grid-template-columns: 1fr; padding: 1rem; }
  .active-search-summary ul, .active-search-summary nav { grid-row: auto; grid-column: 1; }
  .active-search-summary nav a { flex: 1 1 0; justify-content: center; }
  .map-layout { grid-template-columns: 1fr; }
  .place-map { min-height: 26rem; }
  .medical-picks { display: none; }
  .results-location { grid-template-columns: 1fr; }
  .results-location .locate { width: fit-content; }
  .results-location small { grid-column: 1; }
  .smoking-map-link { grid-template-columns: auto 1fr; }
  .smoking-map-link a { grid-column: 2; justify-self: start; }
  .place-grid { grid-template-columns: 1fr; gap: .7rem; }
  .public-pagination { flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) {
  .update-ticker__lane { animation: none; }
  .update-ticker__viewport { overflow-x: auto; mask-image: none; }
  .update-ticker__lane[aria-hidden="true"] { display: none; }
}
.home-weather { padding: 1rem; margin-top: .75rem; margin-bottom: 2rem; border: 1px solid var(--blue-100); border-radius: var(--r-l); background: linear-gradient(145deg, var(--paper), var(--blue-50)); }
.home-weather__header h2 { margin: 0 0 .2rem; font-size: clamp(1.05rem, 2vw, 1.35rem); line-height: 1.4; }
.home-weather__meta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .15rem .75rem; }
.home-weather__meta p { margin: 0; color: var(--ink-2); font-size: .69rem; line-height: 1.5; }
.home-weather__meta nav { display: flex; gap: .8rem; }
.home-weather__meta a { display: inline-flex; align-items: center; min-height: 36px; color: var(--blue-d); font-size: .75rem; text-decoration: underline; text-underline-offset: .2em; }
.home-weather__meta a:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
.home-weather__layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(17rem, 19rem); gap: .7rem; align-items: start; margin-top: .7rem; }
.home-weather__main { display: grid; gap: .7rem; align-content: start; }
.home-weather__days { display: grid; grid-template-columns: minmax(0, 1fr); gap: .7rem; }
.home-weather__forecast, .weather-detail__days > article, .home-weather__week { padding: .8rem; border: 1px solid var(--line); border-radius: var(--r-m); background: var(--paper); }
.home-weather__days > article { padding: .5rem 0 0; border: 0; background: none; }
.home-weather__days .weather-day-heading { border: 0; padding: .15rem 0 0; }
.home-weather__days article, .weather-detail__days article { display: grid; gap: .15rem; }
.home-weather__days article > span, .home-weather__days small, .weather-detail__days article > span, .weather-detail__days small { color: var(--ink-3); font-size: .66rem; }
.weather-day, .weather-week, .weather-hours-table { --weather-cool: #286b9c; --weather-cloud: #b8cbd2; --weather-cloud-edge: #66818b; --weather-sun: #ffcc65; }
.weather-day-heading { display: flex; align-items: baseline; gap: .55rem; padding-bottom: .5rem; border-bottom: 1px solid var(--line); }
.weather-day-label { color: var(--ink); font-size: 1rem; font-weight: 800; }
.weather-day-date { color: var(--ink-2); font-size: .75rem; }
.weather-day-summary { display: flex; align-items: center; justify-content: space-between; gap: .7rem; padding: .2rem 0; min-height: 3.4rem; }
.weather-condition { display: flex; align-items: center; gap: .4rem; color: var(--ink); font-size: 1.05rem; min-width: 0; }
.weather-condition .weather-symbol { width: 3.5rem; height: 3.5rem; flex: 0 0 3.5rem; }
.weather-wind { color: var(--ink-2); font-size: .75rem; line-height: 1.6; margin: .35rem 0; }
.home-weather__days article > strong, .weather-detail__days article > strong { font-size: var(--fs-3); }
.weather-day[hidden] { display: none !important; }
.weather-day-switch { display: flex; gap: .2rem; padding: .2rem; background: var(--surface); border-radius: .65rem; }
.weather-day-switch button { flex: 1; min-height: 40px; border: 0; padding: .45rem; border-radius: .5rem; box-shadow: none; background: transparent; color: var(--ink-2); font: inherit; font-size: .85rem; font-weight: 700; cursor: pointer; }
.weather-day-switch button[aria-pressed="true"] { background: linear-gradient(130deg, var(--control-active-start), var(--control-active-end)); color: var(--control-active-ink); }
.weather-day-switch button:focus-visible, .weather-hours-scroll:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.weather-temperature { display: flex; align-items: baseline; gap: .4rem; font-size: 1rem; font-weight: 700; margin: .25rem 0; flex: 0 0 auto; }
.weather-temperature__label { color: var(--ink-2); font-size: .72rem; font-weight: 500; }
.weather-temperature-pair { position: relative; display: inline-flex; align-items: baseline; justify-content: center; gap: .28rem; white-space: nowrap; }
.weather-temperature-pair b { font-size: inherit; line-height: 1.2; font-variant-numeric: tabular-nums; }
.weather-temperature__separator { color: var(--ink-3); font-weight: 400; font-size: .8em; }
.weather-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.weather-temperature__high { color: var(--red-d); }
.weather-temperature__low { color: var(--weather-cool); }
.weather-hours-scroll { position: relative; min-width: 0; max-width: 100%; overflow-x: auto; scrollbar-width: thin; margin-top: .5rem; border: 1px solid var(--line); border-radius: var(--r-s); }
.weather-hours-table { border-collapse: separate; border-spacing: 0; table-layout: fixed; width: calc(4.2rem + var(--weather-hour-columns, 24) * 80px); font-size: .75rem; text-align: center; }
.weather-hours-table caption { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.weather-hours-table th, .weather-hours-table td { min-width: 3.4rem; padding: .45rem .3rem; border-bottom: 1px solid var(--line); background: var(--paper); white-space: nowrap; }
.weather-hours-table th { font-weight: 600; color: var(--ink-2); }
.weather-hours-table thead th { background: var(--blue-50); }
.weather-hours-table thead > tr:first-child > th { height: 2.7rem; }
.weather-hours-table .is-current-hour { background: var(--blue-50); }
.weather-hour-now { display: block; width: fit-content; margin: .15rem auto 0; padding: .05rem .3rem; border-radius: .3rem; background: var(--control-active-start); color: var(--blue-d); font-size: .6rem; font-weight: 700; line-height: 1.25; }
.weather-hours-table tr > :first-child { position: sticky; left: 0; z-index: 1; width: 4.2rem; min-width: 4.2rem; font-size: .65rem; border-right: 1px solid var(--line); }
.weather-hours-table tr:last-child > * { border-bottom: 0; }
.weather-hour-icon { display: block; line-height: 1; margin-bottom: .2rem; }
.weather-hour-icon + span { display: block; min-height: 2.6em; max-width: 5.8rem; white-space: normal; font-size: .65rem; line-height: 1.3; }
.weather-hour-temperature { font-size: .95rem; font-weight: 700; }
.weather-hour-rain { color: var(--blue-d); font-weight: 700; }
.weather-hours-chart-row[hidden] { display: none; }
.weather-hours-table .weather-hours-chart-row > td { padding: 0; }
.weather-hours-chart, .weather-hours-chart-placeholder { display: block; width: 100%; }
.weather-hours-chart { height: auto; }
.weather-hours-chart-placeholder { height: 120px; }
.weather-hours-chart-placeholder { background: var(--surface); }
.weather-hours-chart__axis { fill: var(--ink-2); font-size: 10px; font-family: inherit; }
.weather-hours-chart__line { fill: none; stroke: var(--blue-d); stroke-width: 2.3; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.weather-hours-chart__point { fill: var(--blue-d); }
.weather-chart-value { fill: currentColor; color: var(--ink); font: 700 13px sans-serif; paint-order: stroke; stroke: var(--paper); stroke-width: 3px; stroke-linejoin: round; }
.weather-chart-value.weather-temperature__high { color: var(--red-d); }
.weather-chart-value.weather-temperature__low { color: var(--weather-cool); }
.weather-hours-chart .weather-scene__sky, .weather-week-chart__plot .weather-scene__sky { fill-opacity: .45; }
@media (min-width: 761px) {
  .weather-hours-temperature-row.has-chart { display: none; }
  .weather-week-chart-row + .weather-week__temperature { display: none; }
}
.weather-hours-chart__current { fill: var(--control-active-start); fill-opacity: .2; stroke: none; }
.weather-scene__sky { fill: var(--surface); }
.weather-scene--sunny .weather-scene__sky, .weather-scene--partlyCloudy .weather-scene__sky { fill: #fffae8; }
.weather-scene--cloudy .weather-scene__sky, .weather-scene--fog .weather-scene__sky { fill: #eef2f3; }
.weather-scene--rain .weather-scene__sky { fill: #eaf5fa; }
.weather-scene--snow .weather-scene__sky { fill: #f0f7fb; }
.weather-scene--thunderstorm .weather-scene__sky { fill: #f0edf6; }
.weather-scene--night .weather-scene__sky { fill: #e9eef8; }
.weather-scene--dawn .weather-scene__sky { fill: #fff1e7; }
.weather-scene--dusk .weather-scene__sky { fill: #f8eaf0; }
.weather-scene__sun { fill: #f7d898; opacity: .7; }
.weather-scene__moon { fill: #b5c0d7; opacity: .75; }
.weather-scene__star { fill: #a3b4d1; }
.weather-scene__cloud { fill: #cbd8df; opacity: .95; }
.weather-scene__horizon { fill: none; stroke: #d9ad9f; stroke-width: 1.5; }
.weather-scene__rain { fill: none; stroke: #92bcd0; stroke-width: 1.5; stroke-linecap: round; }
.weather-timeline-key { display: flex; flex-wrap: wrap; gap: .55rem; margin-top: .4rem; color: var(--ink-2); font-size: .59rem; }
.weather-timeline-key span::before { content: ""; display: inline-block; width: .6rem; height: .6rem; margin-right: .2rem; vertical-align: -.05rem; border: 1px solid var(--line-2); border-radius: .15rem; }
.weather-timeline-key__dawn::before { background: #fff1e7; }
.weather-timeline-key__day::before { background: #fffae8; }
.weather-timeline-key__dusk::before { background: #f8eaf0; }
.weather-timeline-key__night::before { background: #e9eef8; }
.weather-timeline-note, .weather-week__scene-note { margin: .15rem 0 0; color: var(--ink-2); font-size: .65rem; line-height: 1.45; }
.weather-hourly-note, .weather-detail-note { margin: .35rem 0 0; color: var(--ink-2); font-size: .68rem; line-height: 1.5; }
.weather-wind-speed { display: block; font-weight: 650; font-variant-numeric: tabular-nums; }
.weather-wind-direction { display: flex; align-items: center; justify-content: center; gap: .2rem; color: var(--ink-2); font-size: .66rem; margin-top: .15rem; }
.weather-wind-arrow { display: inline-block; color: var(--blue); line-height: 1; }
.weather-day-sun-times { min-height: 1.3em; margin: .15rem 0 0; color: var(--ink-2); font-size: .63rem; line-height: 1.3; font-variant-numeric: tabular-nums; }
.weather-day-detail { margin-top: .45rem; }
.weather-day-detail summary { color: var(--ink-2); font-size: .72rem; padding: .35rem 0; cursor: pointer; }
.weather-day-detail small { display: block; font-size: .75rem !important; line-height: 1.6; }
.weather-forecast-source { grid-column: 1 / -1; margin: -.15rem 0 0; color: var(--ink-3); font-size: .58rem; text-align: right; }
.weather-forecast-source a { margin-left: .25rem; color: var(--blue-d); text-decoration: underline; text-underline-offset: .15em; }
.home-weather__week { grid-column: 1 / -1; }
.weather-week__heading { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .35rem; margin-bottom: .6rem; }
.weather-week__heading > strong { color: var(--ink); font-size: .9rem; }
.weather-week__scroll-hint { color: var(--ink-3); font-size: .65rem; }
.weather-week-scroll { position: relative; overflow-x: auto; max-width: 100%; scrollbar-width: thin; border: 1px solid var(--line); border-radius: var(--r-s); }
.weather-week-scroll:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.weather-week-table { width: 100%; min-width: 38rem; table-layout: fixed; border-collapse: separate; border-spacing: 0; text-align: center; font-size: .78rem; }
.weather-week-table caption { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.weather-week-table th, .weather-week-table td { padding: .48rem .25rem; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--paper); font-variant-numeric: tabular-nums; }
.weather-week-table tr > :last-child { border-right: 0; }
.weather-week-table tr:last-child > * { border-bottom: 0; }
.weather-week-table thead th { color: var(--ink-2); background: var(--surface); font-weight: 600; }
.weather-week-table thead time, .weather-week-table thead span { display: block; }
.weather-week-table thead span { font-size: .68rem; font-weight: 400; margin-top: .1rem; }
.weather-week-table thead .is-saturday { color: var(--weather-cool); }
.weather-week-table thead .is-sunday { color: var(--red-d); }
.weather-week-table tr > :first-child { position: sticky; left: 0; z-index: 1; width: 4.2rem; font-size: .67rem; white-space: normal; }
.weather-week-table tbody th { color: var(--ink-2); font-weight: 600; background: var(--surface); }
.weather-week__condition { display: block; margin-top: .15rem; color: var(--ink-2); font-size: .66rem; line-height: 1.3; min-height: 2.6em; }
.weather-week__temperature td { font-size: .81rem; font-weight: 750; }
.weather-week__temperature .weather-temperature-pair { gap: .15rem; }
.weather-week__note { margin: .4rem 0 0; color: var(--ink-3); font-size: .62rem; }
.weather-week-table .weather-week-chart-row > th,
.weather-week-table .weather-week-chart-row > td { padding: 0; }
.weather-week-chart__axis { position: relative; height: 136px; }
.weather-week-chart__plot { display: block; width: 100%; height: 136px; }
.weather-week-chart__legend { position: absolute; top: .25rem; left: 0; right: 0; display: flex; justify-content: center; gap: .3rem; margin: 0; font-size: .6rem; line-height: 1.3; }
.weather-week-chart__legend span { white-space: nowrap; }
.weather-week-chart__legend span::before { content: ""; display: inline-block; width: .35rem; margin-right: .1rem; vertical-align: middle; border-top: 2px solid currentColor; }
.weather-week-chart__tick { position: absolute; right: .4rem; transform: translateY(-50%); color: var(--ink-2); font-size: .64rem; line-height: 1; font-variant-numeric: tabular-nums; }
.weather-week-chart__grid { fill: none; stroke: var(--line); stroke-width: 1; vector-effect: non-scaling-stroke; }
.weather-week-chart__line { fill: none; stroke: currentColor; stroke-width: 2.5; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.weather-week-chart__point { fill: currentColor; stroke: var(--paper); stroke-width: 1.5; }
.weather-week-mobile { display: none; }
@media (max-width: 760px) {
  .weather-week-scroll, .weather-week__scene-note { display: none; }
  .weather-week-mobile { display: block; border: 1px solid var(--line); border-radius: var(--r-s); }
  .weather-week-list__head, .weather-week-list li { display: grid; grid-template-columns: 2.7rem minmax(0, 1fr) minmax(0, 1.2fr) 3rem; align-items: center; gap: .3rem; padding: .35rem .4rem; text-align: center; }
  .weather-week-list__head { color: var(--ink-2); background: var(--surface); border-radius: var(--r-s) var(--r-s) 0 0; font-size: .61rem; line-height: 1.3; }
  .weather-week-list { padding: 0; margin: 0; list-style: none; }
  .weather-week-list li { position: relative; min-height: 4.15rem; border-top: 1px solid var(--line); font-size: .78rem; }
  .weather-week-list time { color: var(--ink-2); line-height: 1.3; font-size: .71rem; font-variant-numeric: tabular-nums; }
  .weather-week-list time span { display: block; }
  .weather-week-list time span + span { margin-top: .12rem; font-size: .63rem; }
  .weather-week-list time.is-saturday { color: var(--weather-cool); }
  .weather-week-list time.is-sunday { color: var(--red-d); }
  .weather-week-list__weather { display: flex; flex-direction: column; align-items: center; gap: .1rem; text-align: center; color: var(--ink-2); font-size: .68rem; line-height: 1.3; }
  .weather-week-list__weather .weather-symbol { width: 2.3rem; height: 2.3rem; flex: 0 0 2.3rem; }
  .weather-week-list__weather .weather-week__condition { min-height: 0; margin: 0; font-size: .68rem; }
  .weather-week-list .weather-temperature-pair { gap: .2rem; font-size: .84rem; }
  .weather-hours-chart-row, .weather-timeline-key, .weather-timeline-note { display: none; }
  .weather-hours-table { width: calc(3.15rem + var(--weather-hour-columns, 24) * 64px); }
  .weather-hours-table tr > :first-child { width: 3.15rem; min-width: 3.15rem; white-space: normal; line-height: 1.35; }
  .weather-hours-table th, .weather-hours-table td { padding: .4rem .2rem; }
  .weather-hours-table thead > tr:first-child > th { height: 2.55rem; }
  .weather-hour-icon .weather-symbol { width: 2.4rem; height: 2.4rem; }
  .weather-hour-icon + span { min-height: 0; font-size: .66rem; }
  .weather-hours-scroll { margin-top: .25rem; }
}
.home-weather__side { display: grid; gap: .7rem; }
.weather-alert, .weather-outlook { display: grid; gap: .55rem; padding: .75rem .85rem; margin-top: .7rem; border: 1px solid var(--line); border-radius: var(--r-m); background: var(--paper); }
.weather-alert[hidden], .weather-outlook[hidden] { display: none; }
.weather-alert > header, .weather-outlook > header { display: flex; gap: .75rem; align-items: center; justify-content: space-between; }
.weather-alert > header div, .weather-outlook > header div { display: grid; gap: .04rem; }
.weather-alert > header span, .weather-outlook > header span { color: var(--ink-3); font-size: .58rem; font-weight: 800; letter-spacing: .07em; }
.weather-alert > header :is(h2, h3), .weather-outlook > header :is(h2, h3) { font-size: var(--fs-s); }
.weather-alert time, .weather-outlook time { flex: 0 0 auto; color: var(--ink-3); font-size: .6rem; }
.weather-alert > ul { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .35rem; padding: 0; margin: 0; list-style: none; }
.weather-alert > ul li { display: grid; gap: .12rem; min-width: 0; padding: .42rem .5rem; border: 1px solid var(--line); border-radius: var(--r-s); background: rgb(255 255 255 / 72%); }
.weather-alert > ul strong { font-size: .66rem; }
.weather-alert > ul span { color: var(--ink-2); font-size: .58rem; line-height: 1.45; }
.weather-alert > a { justify-self: end; color: var(--blue); font-size: .62rem; font-weight: 800; }
.weather-alert[data-level="warning"] { color: var(--red-d); border-color: var(--red-100); background: linear-gradient(135deg, var(--red-50), var(--paper)); }
.weather-alert[data-level="warning"] > ul li { border-color: var(--red-100); }
.weather-alert[data-level="warning"] > ul span { color: var(--red-d); }
.weather-alert[data-level="warning"] > a { color: var(--red-d); }
.weather-alert[data-level="advisory"] { border-color: var(--amber-100); background: linear-gradient(135deg, var(--amber-50), var(--paper)); }
.weather-alert--compact > ul { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.weather-alert--compact > ul li { grid-template-columns: minmax(0, 1fr) auto; align-items: center; }
.weather-alert--compact > ul span { text-align: right; }
.weather-outlook__summary { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .35rem; padding: 0; margin: 0; list-style: none; }
.weather-outlook__summary li { display: grid; grid-template-columns: 1fr auto; gap: .08rem .4rem; min-width: 0; padding: .45rem .55rem; border: 1px solid var(--line); border-radius: var(--r-s); background: var(--surface); }
.weather-outlook__summary span { color: var(--ink-2); font-size: .58rem; }
.weather-outlook__summary strong { color: var(--blue-d); font-size: .82rem; text-align: right; }
.weather-outlook__summary small { grid-column: 1 / -1; color: var(--ink-3); font-size: .55rem; }
.weather-outlook > footer { display: flex; gap: .8rem; align-items: center; justify-content: space-between; color: var(--ink-3); font-size: .58rem; }
.weather-outlook > footer a { color: var(--blue); font-weight: 800; }
.weather-outlook__table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-s); scrollbar-width: thin; }
.weather-outlook__table { min-width: 58rem; width: 100%; border-collapse: collapse; background: var(--paper); font-size: .62rem; line-height: 1.35; }
.weather-outlook__table caption { padding: .45rem .55rem; color: var(--ink-3); text-align: left; }
.weather-outlook__table th, .weather-outlook__table td { padding: .48rem .4rem; border-top: 1px solid var(--line); text-align: center; white-space: nowrap; }
.weather-outlook__table thead th { color: var(--ink-2); background: var(--surface); font-weight: 700; }
.weather-outlook__table tr > :first-child { position: sticky; z-index: 1; left: 0; min-width: 8rem; color: var(--ink); background: var(--paper); text-align: left; }
.weather-outlook__table thead tr > :first-child { z-index: 2; background: var(--surface); }
.home-weather__suggestion { display: flex; gap: 1rem; align-items: center; justify-content: space-between; padding: .75rem .9rem; color: var(--control-active-ink); border: 1px solid var(--control-active-border); border-radius: var(--r-m); background: linear-gradient(135deg, var(--control-active-start), var(--control-active-end)); }
.home-weather__suggestion span { font-size: .62rem; font-weight: 700; letter-spacing: .05em; }
.home-weather__suggestion > div { min-width: 0; }
.home-weather__suggestion p { font-size: var(--fs-xs); }
.home-weather__utility { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .5rem 1rem; align-items: center; padding: .6rem .75rem; border: 1px solid var(--blue-100); border-radius: var(--r-m); background: rgb(255 255 255 / 72%); }
.home-weather__utility > div { min-width: 0; }
.home-weather__utility span { color: var(--ink-3); font-size: .58rem; font-weight: 800; letter-spacing: .05em; }
.home-weather__utility p { margin-top: .08rem; color: var(--ink-2); font-size: .66rem; line-height: 1.45; }
.home-weather__utility nav { display: flex; flex-wrap: wrap; gap: .25rem; justify-content: end; }
.home-weather__utility a { padding: .36rem .55rem; color: var(--blue-d); border: 1px solid var(--blue-100); border-radius: var(--r-p); background: var(--blue-50); font-size: .58rem; font-weight: 800; white-space: nowrap; }
.home-weather__utility a:hover, .home-weather__utility a:focus-visible { border-color: var(--accent); background: #e3f6f0; }
.home-radar-mini { position: relative; z-index: 0; isolation: isolate; display: grid; grid-template-rows: auto minmax(0, 1fr) auto; min-height: 0; overflow: hidden; border: 1px solid var(--blue-100); border-radius: var(--r-m); background: var(--paper); }
.home-radar-mini__head { display: flex; gap: .7rem; align-items: center; justify-content: space-between; padding: .65rem .75rem; }
.home-radar-mini__head > div { display: grid; }
.home-radar-mini__head > div:last-child { text-align: right; }
.home-radar-mini__head span, .home-radar-mini__head small { color: var(--ink-3); font-size: .58rem; }
.home-radar-mini__head > div:first-child span { color: var(--blue); font-weight: 800; letter-spacing: .06em; }
.home-radar-mini__head strong { font-size: var(--fs-xs); }
.home-radar-mini__canvas { width: 100%; aspect-ratio: 1; min-height: 0; }
.home-radar-mini__player { display: grid; grid-template-columns: auto 1fr auto; gap: .45rem; align-items: end; padding: 1.35rem .65rem .5rem; }
.home-radar-mini__player button { width: 2rem; height: 2rem; padding: 0; color: var(--action-ink); border: 0; border-radius: 50%; background: linear-gradient(135deg, var(--action-start), var(--action-end)); box-shadow: 0 8px 18px rgb(36 166 142 / 20%); cursor: pointer; }
.home-radar-mini__player .rain-radar-slider { margin: 0; }
.radar-slider-wrap { position: relative; min-width: 0; }
.radar-slider-time { position: absolute; bottom: calc(100% + .45rem); width: max-content; max-width: 7rem; padding: .18rem .38rem; color: white; border-radius: var(--r-s); background: var(--blue-d); font-size: .55rem; font-weight: 800; line-height: 1.2; text-align: center; transform: translateX(-50%); white-space: nowrap; }
.radar-slider-time::after { position: absolute; top: 100%; left: 50%; border: .25rem solid transparent; border-top-color: var(--blue-d); content: ""; transform: translateX(-50%); }
.home-radar-mini__player a { color: var(--blue); font-size: .62rem; font-weight: 800; white-space: nowrap; }
.home-radar-mini__labels { position: relative; display: block; height: 1rem; margin-top: .2rem; color: var(--ink-3); font-size: .5rem; white-space: nowrap; }
.home-radar-mini__labels span { position: absolute; transform: translateX(-50%); }
.home-radar-mini__labels .radar-label--past { left: 0; transform: none; }
.home-radar-mini__labels .radar-label--now { left: 27%; }
.home-radar-mini__labels .radar-label--hour { left: 78%; }
.home-radar-mini__labels .radar-label--end { right: 0; transform: none; }
.home-radar-mini__locate { position: absolute; z-index: 500; right: .55rem; bottom: 3rem; display: flex; gap: .25rem; align-items: center; padding: .34rem .48rem; color: var(--ink); border: 1px solid var(--line); border-radius: var(--r-p); background: rgb(255 255 255 / 92%); font: inherit; font-size: .56rem; font-weight: 700; box-shadow: var(--sh-1); cursor: pointer; }
.rain-radar-controls { display: flex; flex-wrap: wrap; gap: .4rem; margin: .6rem 0; }
.rain-radar-controls button { padding: .45rem .75rem; color: var(--ink-2); border: 1px solid var(--line); border-radius: var(--r-p); background: var(--paper); font: inherit; font-size: var(--fs-xs); font-weight: 700; cursor: pointer; }
.rain-radar-controls button:hover { color: var(--control-active-ink); border-color: var(--control-active-border); background: var(--control-active-bg); }
.rain-radar-slider { width: 100%; margin: 0 0 .5rem; accent-color: var(--blue); }

@media (max-width: 900px) {
  .home-weather__layout { grid-template-columns: 1fr; }
  .home-weather__suggestion { align-items: start; flex-direction: column; }
}
@media (max-width: 600px) {
  .home-weather { width: calc(100% - 1rem); padding: .75rem; }
  .home-weather__days { grid-template-columns: minmax(0, 1fr); gap: .45rem; }
  .weather-alert, .weather-outlook { gap: .45rem; padding: .62rem; }
  .weather-alert > header, .weather-outlook > header { align-items: start; }
  .weather-alert > header :is(h2, h3), .weather-outlook > header :is(h2, h3) { font-size: .75rem; }
  .weather-alert > ul, .weather-alert--compact > ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .weather-alert--compact > ul li { display: grid; grid-template-columns: 1fr; align-content: start; }
  .weather-alert--compact > ul span { text-align: left; }
  .weather-outlook__summary { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .weather-outlook__summary li { padding: .38rem .45rem; }
  .home-weather__forecast { padding: .6rem; }
  .home-weather__week { min-width: 0; padding: .65rem .55rem; }
  .weather-week-table { min-width: 37rem; }
  .weather-day-summary { gap: .45rem; }
  .weather-condition { font-size: .9rem; gap: .25rem; }
  .weather-condition .weather-symbol { width: 2.7rem; height: 2.7rem; flex-basis: 2.7rem; }
  .weather-temperature { gap: .3rem; font-size: .95rem; }
  .home-weather__suggestion { display: grid; grid-template-columns: minmax(0, 1fr) minmax(6rem, .85fr); gap: .6rem; align-items: center; padding: .65rem .7rem; }
  .home-weather__suggestion .btn { min-width: 0; padding: .65rem .55rem; white-space: normal; font-size: .75rem; line-height: 1.4; text-align: center; }
  .home-weather__utility { grid-template-columns: 1fr; gap: .4rem; }
  .home-weather__utility nav { justify-content: start; }
  .home-radar-mini { min-height: 0; }
}
