:root {
  --paper: #f4f7ef;
  --surface: #fffef9;
  --ink: #183e3c;
  --muted: #5d726c;
  --line: #d6e2d8;
  --green: #105d55;
  --green-soft: #27a397;
  --orange: #ed7051;
  --blue: #5384c4;
  --yellow: #efbd58;
  --shadow: 0 24px 70px rgba(25, 76, 67, .11);
  --radius: 24px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 92% 3%, rgba(239, 189, 88, .25), transparent 27rem),
    radial-gradient(circle at 3% 28%, rgba(39, 163, 151, .12), transparent 30rem),
    var(--paper);
  color: var(--ink);
  font-size: 17px;
  line-height: 1.7;
}
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
button, select { cursor: pointer; }
button { color: inherit; }
svg { display: block; }
[hidden] { display: none !important; }
::selection { background: #f4c86f; color: #173d39; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 4px; }
.skip-link { position: fixed; left: 1rem; top: -5rem; z-index: 100; padding: .65rem 1rem; background: var(--green); color: white; }
.skip-link:focus { top: 1rem; }

.site-header { width: min(1480px, 100%); margin: 0 auto; padding: 25px clamp(20px, 4vw, 64px); display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid rgba(16, 93, 85, .13); }
.brand { display: inline-flex; align-items: center; gap: 13px; }
.brand svg { width: 44px; height: 44px; fill: none; stroke: var(--green); stroke-width: 1.7; }
.brand span { display: flex; flex-direction: column; line-height: 1.2; }
.brand strong { font-size: 18px; letter-spacing: .1em; }
.brand small { margin-top: 6px; font-size: 10px; letter-spacing: .16em; color: var(--muted); }
.header-period { display: flex; align-items: center; gap: 9px; color: var(--muted); font-size: 13px; letter-spacing: .04em; }
.header-period i { width: 8px; height: 8px; border-radius: 50%; background: var(--green-soft); box-shadow: 0 0 0 5px rgba(39, 163, 151, .15); }

.eyebrow { margin: 0 0 16px; color: #d85e42; font-size: 12px; line-height: 1.5; font-weight: 800; letter-spacing: .17em; text-transform: uppercase; }
.home-hero { width: min(1480px, 100%); min-height: 600px; margin: 0 auto; padding: 78px clamp(20px, 6vw, 96px) 86px; display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(300px, .65fr); gap: 7vw; align-items: center; position: relative; overflow: hidden; }
.home-hero::before { content: ""; position: absolute; width: 240px; height: 240px; left: 45%; bottom: -150px; border-radius: 50%; background: rgba(237, 112, 81, .13); filter: blur(4px); pointer-events: none; }
.home-hero::after { content: ""; position: absolute; width: 460px; height: 460px; right: -150px; top: -140px; border: 2px solid rgba(39, 163, 151, .16); border-radius: 50%; box-shadow: 0 0 0 70px rgba(39, 163, 151, .04), 0 0 0 140px rgba(239, 189, 88, .035); pointer-events: none; }
.hero-copy { position: relative; z-index: 1; }
.home-hero h1 { margin: 0; font-family: "Songti SC", "Noto Serif CJK SC", SimSun, serif; font-size: clamp(54px, 6.7vw, 96px); line-height: 1.1; font-weight: 700; letter-spacing: -.045em; }
.home-hero h1 em { color: var(--orange); font-style: normal; }
.hero-intro { max-width: 610px; margin: 28px 0 35px; color: #486760; font-size: 19px; line-height: 1.9; }
.primary-button { display: inline-flex; align-items: center; justify-content: center; gap: 30px; min-height: 54px; padding: 13px 24px; background: linear-gradient(135deg, #137267, #10544f); color: #fff; border: 0; border-radius: 999px; box-shadow: 0 12px 28px rgba(16, 93, 85, .2); font-size: 16px; font-weight: 700; letter-spacing: .04em; transition: box-shadow .2s, transform .2s; }
.primary-button:hover { transform: translateY(-3px); box-shadow: 0 17px 34px rgba(16, 93, 85, .25); }
.primary-button span { font-size: 21px; }
.hero-aside { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; padding: 28px 25px; background: rgba(255, 254, 249, .72); border: 1px solid rgba(255, 255, 255, .9); border-radius: var(--radius); box-shadow: var(--shadow); backdrop-filter: blur(12px); }
.hero-stat { display: flex; flex-direction: column; }
.hero-stat strong { font-family: Georgia, "Times New Roman", serif; font-size: clamp(34px, 3.2vw, 48px); line-height: 1.1; font-weight: 400; color: var(--green); }
.hero-stat:nth-child(2) strong { color: var(--orange); }
.hero-stat:nth-child(3) strong { color: #b17a16; }
.hero-stat span { margin-top: 9px; color: var(--muted); font-size: 13px; white-space: nowrap; }
.hero-aside > p { grid-column: 1 / -1; margin: 8px 0 0; padding-top: 18px; color: var(--muted); border-top: 1px solid var(--line); font-size: 14px; line-height: 1.85; letter-spacing: .05em; }

.explorer, .directory, .data-section, .station-notes { width: min(1480px, calc(100% - 40px)); margin: 0 auto; }
.explorer { padding: 54px clamp(18px, 3vw, 46px) 48px; background: rgba(255, 254, 249, .94); border: 1px solid rgba(255, 255, 255, .9); border-radius: 30px; box-shadow: var(--shadow); }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; margin-bottom: 30px; }
.section-heading .eyebrow { margin-bottom: 9px; }
.section-heading h2 { margin: 0; font-family: "Songti SC", SimSun, serif; font-size: clamp(30px, 3vw, 42px); line-height: 1.3; font-weight: 700; }
.section-heading > p { max-width: 470px; margin: 0; color: var(--muted); font-size: 14px; text-align: right; }
.filters { display: grid; grid-template-columns: minmax(240px, 1.6fr) minmax(190px, 1fr) auto; gap: 15px; align-items: end; padding: 20px; background: linear-gradient(120deg, #e5f2e9, #f5f1df); border: 1px solid #dce7dc; border-radius: 20px 20px 0 0; }
.filters label { display: flex; flex-direction: column; gap: 8px; }
.filters label > span { color: #506a62; font-size: 13px; font-weight: 650; letter-spacing: .04em; }
.filters input, .filters select { width: 100%; height: 50px; padding: 0 15px; color: var(--ink); background: rgba(255, 255, 255, .9); border: 1px solid #c8d9ce; border-radius: 12px; outline: none; font-size: 15px; }
.filters input:focus, .filters select:focus { border-color: var(--green-soft); box-shadow: 0 0 0 4px rgba(39, 163, 151, .14); }
.filters input::placeholder { color: #879a91; }
.text-button { min-height: 50px; padding: 0 21px; background: rgba(255, 255, 255, .65); border: 1px solid #b9cec1; border-radius: 12px; font-size: 14px; font-weight: 650; }
.text-button:hover { background: #fff; }
.map-layout { display: grid; grid-template-columns: minmax(0, 1fr) 310px; border: 1px solid var(--line); border-top: 0; border-radius: 0 0 20px 20px; overflow: hidden; }
.map-panel { min-width: 0; background: #e7f0e8; }
.map-toolbar { min-height: 62px; padding: 9px 14px 9px 18px; display: flex; align-items: center; justify-content: space-between; gap: 15px; background: #f8faf3; border-bottom: 1px solid var(--line); }
.temperature-legend { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; color: var(--muted); font-size: 12px; }
.temperature-legend > span:first-child { margin-right: 5px; color: var(--ink); font-weight: 750; }
.temperature-legend i { width: 10px; height: 10px; border-radius: 50%; }
.map-controls { display: flex; flex-shrink: 0; gap: 6px; }
.map-controls button { min-width: 44px; height: 44px; padding: 0 12px; background: #fff; border: 1px solid #c6d7cb; border-radius: 11px; font-size: 16px; font-weight: 700; }
.map-controls button:hover { background: #e2f0e7; border-color: #8eb4a1; }
.map-canvas { position: relative; overflow: hidden; cursor: grab; touch-action: none; user-select: none; }
.map-canvas.is-dragging { cursor: grabbing; }
.climate-map { width: 100%; height: auto; background: radial-gradient(circle at 50% 42%, #f5f8ef, #dfeee5); touch-action: none; user-select: none; }
.map-grid { fill: none; stroke: #cbded1; stroke-width: .7; stroke-dasharray: 3 6; pointer-events: none; }
.map-land { fill: #c9ddcf; stroke: #f5faf3; stroke-width: .48; stroke-linejoin: round; pointer-events: none; }
.station-dot { cursor: pointer; }
.station-dot circle { stroke: rgba(255, 255, 255, .96); opacity: .94; transform-box: fill-box; transform-origin: center; transition: transform .15s, opacity .15s; }
.station-dot:hover circle, .station-dot:focus circle { transform: scale(1.8); opacity: 1; stroke: #173c39; }
.station-dot:focus { outline: none; }
.station-label { display: none; fill: #173f3b; stroke: rgba(255, 254, 249, .97); paint-order: stroke; stroke-linejoin: round; font-weight: 750; pointer-events: none; }
.map-status, .map-gesture-hint { position: absolute; z-index: 4; padding: 8px 12px; border-radius: 999px; background: rgba(255, 254, 249, .92); color: #285c53; box-shadow: 0 5px 18px rgba(26, 67, 61, .11); backdrop-filter: blur(8px); font-size: 12px; font-weight: 700; pointer-events: none; }
.map-status { left: 13px; top: 13px; }
.map-gesture-hint { right: 13px; bottom: 13px; color: #5c746a; }
.map-tooltip { position: absolute; z-index: 5; max-width: 300px; padding: 10px 13px; background: rgba(19, 62, 57, .96); color: #fff; border-radius: 10px; box-shadow: 0 8px 24px rgba(20, 42, 40, .22); font-size: 13px; line-height: 1.55; pointer-events: none; opacity: 0; transform: translate(-50%, calc(-100% - 12px)); transition: opacity .12s; white-space: nowrap; }
.map-tooltip.visible { opacity: 1; }
.map-caption { margin: 0; padding: 14px 18px; color: #5a7067; background: #f8faf3; border-top: 1px solid var(--line); font-size: 13px; }
.map-aside { padding: 31px 28px; background: linear-gradient(145deg, #126b60, #174b5a); color: #f4f8ed; }
.map-aside .eyebrow { color: #ffd083; }
.visible-count { display: flex; align-items: baseline; gap: 10px; padding-bottom: 24px; border-bottom: 1px solid rgba(255, 255, 255, .2); }
.visible-count strong { font-family: Georgia, serif; font-size: 56px; line-height: 1; font-weight: 400; }
.visible-count span { color: #d1e3d8; font-size: 13px; }
.map-aside h3 { margin: 28px 0 18px; font-family: "Songti SC", SimSun, serif; font-size: 27px; line-height: 1.5; font-weight: 600; }
.map-aside > p:not(.eyebrow) { color: #d1e3d8; font-size: 14px; line-height: 1.9; }
.map-aside-facts { margin: 26px 0 0; }
.map-aside-facts div { display: flex; justify-content: space-between; gap: 10px; padding: 11px 0; border-top: 1px solid rgba(255, 255, 255, .14); font-size: 13px; }
.map-aside-facts dt { color: #b9d5c8; }
.map-aside-facts dd { margin: 0; }
.noscript-note { margin: 15px 0 0; color: var(--orange); font-size: 14px; }

.directory { padding: 78px 0 88px; }
.province-group { padding: 27px 0 33px; border-top: 1px solid #cdddcf; }
.province-heading { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 18px; }
.province-heading h3 { margin: 0; font-family: "Songti SC", SimSun, serif; font-size: 26px; font-weight: 700; }
.province-heading > span { color: var(--muted); font-size: 13px; }
.station-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.station-card { display: flex; flex-direction: column; gap: 13px; min-width: 0; min-height: 116px; padding: 18px; background: rgba(255, 254, 249, .82); border: 1px solid var(--line); border-radius: 17px; transition: border-color .18s, transform .18s, box-shadow .18s; }
.station-card:hover { transform: translateY(-4px); border-color: #83b5a0; box-shadow: 0 12px 28px rgba(31, 88, 74, .1); }
.station-card-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.station-card-top strong { font-size: 18px; font-weight: 700; }
.station-id { color: #74877f; font-family: "SFMono-Regular", Consolas, monospace; font-size: 12px; }
.station-card-meta { display: flex; flex-direction: column; gap: 5px; color: var(--muted); font-size: 13px; }
.station-card-meta > span { display: flex; align-items: center; gap: 6px; }
.legend-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; }
.empty-state { padding: 30px; text-align: center; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; color: var(--muted); }

.breadcrumbs { width: min(1320px, calc(100% - 40px)); margin: 24px auto 18px; display: flex; align-items: center; flex-wrap: wrap; gap: 10px; color: var(--muted); font-size: 13px; }
.breadcrumbs a:hover { color: var(--orange); }
.breadcrumbs span[aria-current] { color: var(--ink); }
.city-hero { width: min(1320px, calc(100% - 40px)); margin: 0 auto; padding: clamp(34px, 5vw, 62px); display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; background: linear-gradient(130deg, #11695e, #174c5c); color: #fffdf3; border-radius: 28px; box-shadow: 0 24px 60px rgba(17, 81, 76, .17); position: relative; overflow: hidden; }
.city-hero::before { content: ""; position: absolute; width: 250px; height: 250px; left: 43%; bottom: -200px; border-radius: 50%; background: rgba(255, 177, 107, .35); filter: blur(10px); }
.city-hero::after { content: ""; position: absolute; right: -90px; top: -190px; width: 420px; height: 420px; border: 1px solid rgba(255, 255, 255, .16); border-radius: 50%; box-shadow: 0 0 0 55px rgba(255, 255, 255, .035), 0 0 0 110px rgba(255, 210, 128, .025); }
.city-hero > div { position: relative; z-index: 1; }
.city-hero .eyebrow { color: #ffd18b; }
.city-hero h1 { margin: 0; font-family: "Songti SC", SimSun, serif; font-size: clamp(60px, 8vw, 100px); line-height: 1; font-weight: 600; letter-spacing: .04em; }
.city-subtitle { margin: 20px 0 0; color: #d5e8df; font-size: 17px; letter-spacing: .08em; }
.city-identity { min-width: 310px; display: flex; flex-direction: column; }
.city-identity > span { display: flex; justify-content: space-between; gap: 25px; padding: 12px 0; border-top: 1px solid rgba(255, 255, 255, .18); color: #c9ded5; font-size: 13px; }
.city-identity strong { color: #fffdf4; font-family: "SFMono-Regular", Consolas, monospace; font-weight: 500; }
.summary-grid { width: min(1320px, calc(100% - 40px)); margin: 24px auto 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.summary-card { padding: 24px; background: var(--surface); border: 1px solid var(--line); border-top: 4px solid var(--green-soft); border-radius: 20px; box-shadow: 0 10px 30px rgba(30, 78, 66, .06); }
.summary-card:nth-child(1) { background: linear-gradient(145deg, #fffef9, #fff2df); border-top-color: var(--yellow); }
.summary-card:nth-child(2) { background: linear-gradient(145deg, #fffef9, #eaf8f1); }
.summary-card:nth-child(3) { background: linear-gradient(145deg, #fffef9, #fff0e9); border-top-color: var(--orange); }
.summary-card:nth-child(4) { background: linear-gradient(145deg, #fffef9, #edf4fc); border-top-color: var(--blue); }
.summary-card > span { color: #506a62; font-size: 14px; font-weight: 650; }
.summary-card strong { display: block; margin: 13px 0 10px; font-family: Georgia, "Times New Roman", serif; color: var(--green); font-size: clamp(36px, 4vw, 50px); line-height: 1; font-weight: 400; }
.summary-card strong small { margin-left: 6px; color: var(--muted); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-size: 14px; font-weight: 500; }
.summary-card p { margin: 0; color: #6c7f77; font-size: 13px; }
.summary-note { width: min(1320px, calc(100% - 40px)); margin: 12px auto 32px; color: var(--muted); font-size: 13px; text-align: right; }
.chart-grid { width: min(1320px, calc(100% - 40px)); margin: 0 auto; display: grid; grid-template-columns: 1fr; gap: 24px; }
.chart-card { min-width: 0; width: 100%; max-width: 1100px; justify-self: center; padding: 30px; background: var(--surface); border: 1px solid var(--line); border-radius: 24px; box-shadow: 0 15px 42px rgba(28, 76, 64, .07); }
.chart-card-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; margin-bottom: 18px; }
.chart-card h2 { margin: 0; font-family: "Songti SC", SimSun, serif; font-size: 29px; font-weight: 700; }
.chart-card-head p { margin: 6px 0 0; color: var(--muted); font-size: 14px; }
.chart-legend { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 12px; color: var(--muted); font-size: 13px; }
.chart-legend span { display: flex; align-items: center; gap: 6px; white-space: nowrap; }
.chart-legend i { width: 9px; height: 9px; border-radius: 50%; }
.chart-scroll { overflow-x: auto; border-radius: 12px; scrollbar-color: #9bbcab #edf3eb; }
.data-chart { width: 100%; min-width: 700px; height: auto; overflow: visible; }
.chart-grid-line { stroke: #dfe8df; stroke-width: 1; }
.axis-label, .month-label { fill: #687e74; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-size: 11px; }
.axis-label-right { fill: #a66b32; }
.month-label { fill: #3e5d53; font-size: 12px; font-weight: 650; }
.chart-line { fill: none; stroke-width: 2.5; stroke-linejoin: round; stroke-linecap: round; }
.chart-point { stroke: var(--surface); stroke-width: 1.4; }
.precip-bar { fill: #54b4a7; opacity: .88; }
.maxday-line { stroke: #d4883f; }
.maxday-point { fill: #d4883f; }
.chart-value-row { fill: #f0f6ef; }
.chart-value-row.alt { fill: #faf8ef; }
.chart-value-label { font-size: 12px; font-weight: 750; }
.chart-value { font-family: "SFMono-Regular", Consolas, monospace; font-size: 13px; font-weight: 700; font-variant-numeric: tabular-nums; }
.data-section { padding: 76px 0 48px; }
.table-scroll { overflow-x: auto; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; box-shadow: 0 12px 35px rgba(28, 76, 64, .05); }
.climate-table { width: 100%; min-width: 1080px; border-collapse: collapse; font-variant-numeric: tabular-nums; font-size: 14px; }
.climate-table th, .climate-table td { padding: 15px 12px; border-bottom: 1px solid #e2e9e0; text-align: right; white-space: nowrap; }
.climate-table thead th { background: #e5f0e7; color: #526b61; font-size: 13px; font-weight: 700; text-align: center; }
.climate-table thead th:first-child { text-align: left; border-radius: 18px 0 0; }
.climate-table tbody th { position: sticky; left: 0; z-index: 1; min-width: 150px; background: #f1f6ee; text-align: left; font-weight: 650; box-shadow: 1px 0 0 #d8e3d8; }
.climate-table tbody th span { display: block; }
.climate-table tbody th small { color: var(--muted); font-size: 12px; font-weight: 400; }
.climate-table tbody tr:nth-child(even) td { background: #fafaf4; }
.climate-table tbody tr:hover td { background: #eaf5ee; }
.climate-table td { color: #3e5a50; }
.station-notes { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; padding-bottom: 40px; }
.same-province { padding: 25px 27px; background: #e5f0e7; border: 1px solid var(--line); border-radius: 20px; }
.same-province summary { cursor: pointer; min-height: 44px; font-size: 16px; font-weight: 700; list-style: none; display: flex; align-items: center; justify-content: space-between; }
.same-province summary::-webkit-details-marker { display: none; }
.same-province[open] summary span { transform: rotate(45deg); }
.same-province-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 18px; }
.same-province-list a { display: flex; align-items: center; justify-content: space-between; gap: 6px; min-height: 42px; padding: 9px 11px; background: rgba(255, 255, 255, .64); border-radius: 9px; font-size: 13px; }
.same-province-list a:hover { background: #fff; }
.same-province-list a[aria-current="page"] { color: var(--orange); font-weight: 700; }
.same-province-list a span { color: var(--muted); font-family: monospace; font-size: 11px; }
.method-note { padding: 27px 29px; background: rgba(255, 254, 249, .7); border: 1px solid var(--line); border-radius: 20px; }
.method-note .eyebrow { margin-bottom: 8px; }
.method-note h2 { margin: 0 0 12px; font-family: "Songti SC", SimSun, serif; font-size: 26px; }
.method-note > p:not(.eyebrow) { color: var(--muted); font-size: 14px; line-height: 1.9; }
.method-note a { color: #d45e42; text-decoration: underline; text-underline-offset: 3px; }
.city-bottom-nav { width: min(1320px, calc(100% - 40px)); margin: 0 auto 65px; display: flex; justify-content: space-between; padding-top: 22px; border-top: 1px solid #cdddcf; font-size: 15px; font-weight: 650; }
.city-bottom-nav a { min-height: 44px; }
.city-bottom-nav a:hover { color: var(--orange); }

.site-footer { padding: 38px max(20px, calc((100% - 1320px) / 2)); display: flex; align-items: flex-start; justify-content: space-between; gap: 30px; background: #e4eee4; border-top: 1px solid var(--line); }
.site-footer strong { font-family: "Songti SC", SimSun, serif; font-size: 21px; }
.site-footer p { margin: 6px 0 0; color: var(--muted); font-size: 13px; }
.footer-note { text-align: right; }
.footer-note a { text-decoration: underline; text-underline-offset: 3px; }
.not-found { min-height: 60vh; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 50px 20px; text-align: center; }
.not-found h1 { margin: 0; font-family: "Songti SC", SimSun, serif; font-size: 46px; }
.not-found > p:not(.eyebrow) { color: var(--muted); margin: 18px 0 28px; }

@media (max-width: 1100px) {
  .home-hero { gap: 4vw; }
  .map-layout { grid-template-columns: 1fr; }
  .map-aside { display: grid; grid-template-columns: 1fr 1.4fr; gap: 15px 35px; }
  .map-aside .eyebrow, .visible-count { grid-column: 1; }
  .map-aside h3 { grid-column: 1; margin: 0; }
  .map-aside > p:not(.eyebrow), .map-aside-facts { grid-column: 2; }
  .map-aside > p:not(.eyebrow) { grid-row: 1 / 3; margin: 0; }
  .map-aside-facts { grid-row: 3; margin: 0; }
  .station-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .summary-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  body { font-size: 16px; }
  .site-header { padding: 18px 20px; }
  .brand strong { font-size: 16px; }
  .header-period { font-size: 12px; }
  .home-hero { min-height: auto; grid-template-columns: 1fr; padding: 52px 24px 58px; gap: 42px; }
  .home-hero h1 { font-size: clamp(48px, 13vw, 72px); }
  .hero-intro { font-size: 17px; }
  .hero-aside { max-width: 480px; }
  .explorer, .directory, .data-section, .station-notes { width: min(100% - 24px, 1480px); }
  .explorer { padding: 30px 12px 22px; border-radius: 24px; }
  .section-heading { display: block; padding: 0 7px; }
  .section-heading > p { margin-top: 10px; text-align: left; }
  .filters { grid-template-columns: 1fr 1fr; padding: 14px; }
  .search-field { grid-column: 1 / -1; }
  .map-toolbar { align-items: flex-start; }
  .temperature-legend { max-width: 310px; }
  .map-status, .map-gesture-hint { padding: 6px 9px; font-size: 11px; }
  .map-aside { display: block; padding: 26px; }
  .visible-count { margin-bottom: 20px; }
  .map-aside h3 { margin: 22px 0 12px; }
  .map-aside-facts { margin-top: 20px; }
  .station-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .directory { padding: 58px 0; }
  .breadcrumbs, .city-hero, .summary-grid, .summary-note, .chart-grid, .city-bottom-nav { width: calc(100% - 24px); }
  .city-hero { display: block; border-radius: 24px; }
  .city-identity { min-width: 0; margin-top: 35px; }
  .summary-note { text-align: left; }
  .chart-card { padding: 24px 16px 18px; border-radius: 20px; }
  .chart-card-head { display: block; }
  .chart-legend { justify-content: flex-start; margin-top: 12px; }
  .station-notes { grid-template-columns: 1fr; }
  .same-province-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .site-footer { display: block; }
  .footer-note { margin-top: 20px; text-align: left; }
}

@media (max-width: 480px) {
  .brand { gap: 9px; }
  .brand svg { width: 38px; height: 38px; }
  .brand strong { font-size: 15px; }
  .brand small { font-size: 9px; letter-spacing: .1em; }
  .header-period { max-width: 108px; text-align: right; line-height: 1.5; }
  .home-hero { padding-left: 22px; padding-right: 22px; }
  .hero-aside { gap: 12px; padding: 22px 17px; }
  .hero-stat strong { font-size: clamp(29px, 9vw, 38px); }
  .hero-stat span { font-size: 12px; }
  .filters { grid-template-columns: 1fr; }
  .search-field { grid-column: auto; }
  .text-button { width: 100%; }
  .map-toolbar { display: block; }
  .temperature-legend { max-width: none; }
  .map-controls { margin-top: 12px; }
  .map-controls button { flex: 1; }
  .map-gesture-hint { right: 8px; bottom: 8px; }
  .map-status { left: 8px; top: 8px; }
  .map-tooltip { max-width: calc(100vw - 40px); font-size: 12px; }
  .station-list { grid-template-columns: 1fr; }
  .station-card-meta { flex-direction: row; justify-content: space-between; }
  .summary-grid { gap: 10px; }
  .summary-card { padding: 18px 14px; }
  .summary-card strong { font-size: clamp(26px, 7.5vw, 35px); }
  .summary-card strong small { font-size: 12px; }
  .city-hero h1 { font-size: 60px; }
  .city-identity > span { display: block; }
  .city-identity strong { display: block; margin-top: 4px; }
  .chart-card h2 { font-size: 26px; }
  .chart-card-head p { font-size: 13px; }
  .city-bottom-nav { font-size: 13px; }
}

@media (max-width: 350px) {
  .summary-grid { grid-template-columns: 1fr; }
  .summary-card strong { font-size: 40px; }
  .station-card-meta { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

@media print {
  .site-header, .site-footer, .breadcrumbs, .city-bottom-nav, .same-province { display: none; }
  body { background: white; }
  .city-hero, .summary-grid, .chart-grid, .data-section { width: 100%; }
  .chart-grid { grid-template-columns: 1fr; }
  .chart-card { break-inside: avoid; }
}
