@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Noto+Sans+JP:wght@400;500;600;700&display=swap');

:root {
  color-scheme: dark;
  --bg: #101716;
  --panel: #18211f;
  --panel-soft: #1b2623;
  --panel-border: #283430;
  --text: #e5ebe6;
  --muted: #87958f;
  --soft: #aebbb3;
  --sage: #9ab9a8;
  --sage-bright: #b3cfbe;
  --mint: #7fa995;
  --blue: #93aab7;
  --serif: 'DM Sans', 'Noto Sans JP', sans-serif;
  font-family: 'Noto Sans JP', 'DM Sans', sans-serif;
  background: var(--bg);
  color: var(--text);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

* { box-sizing: border-box; }
body { margin: 0; min-width: 320px; min-height: 100vh; background: radial-gradient(ellipse at 47% -34%, #25312c 0, transparent 62%), var(--bg); }
button, input { font: inherit; }
button { color: inherit; }
.app-shell { max-width: 1440px; margin: 0 auto; padding: 0 6.2%; }
.topbar { height: 80px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid rgba(157, 180, 165, .12); }
.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; color: var(--text); font: 600 19px var(--serif); letter-spacing: -.6px; }
.brand-light { color: var(--sage); font-weight: 400; }
.brand-mark { width: 24px; height: 24px; display: flex; align-items: center; justify-content: center; gap: 3px; border: 1px solid #4d6b5e; border-radius: 8px; transform: rotate(-8deg); }
.brand-mark span { width: 2px; display: block; border-radius: 2px; background: #a3c0af; transform: rotate(8deg); }
.brand-mark span:nth-child(1) { height: 7px; opacity: .55; }.brand-mark span:nth-child(2) { height: 13px; }.brand-mark span:nth-child(3) { height: 9px; opacity: .7; }
.topbar-note { display: flex; align-items: center; gap: 9px; color: #9aa9a1; font-size: 12px; letter-spacing: .04em; }
.live-dot, .footer-dot { width: 6px; height: 6px; background: #9dbda8; border-radius: 50%; box-shadow: 0 0 9px #9dbda866; }
.icon-button { width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid var(--panel-border); border-radius: 12px; background: #1b2422; cursor: pointer; transition: .2s ease; }
.icon-button:hover { border-color: #60786a; background: #24312b; }.icon-button svg, .search-box svg { width: 17px; fill: none; stroke: #a9b8af; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
main { padding-top: 56px; }
.intro-row { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 32px; }
.eyebrow { display: flex; align-items: center; gap: 10px; margin: 0 0 13px; color: #9ab19f; font: 600 10px var(--serif); letter-spacing: .19em; }
.eyebrow-line { width: 19px; height: 1px; background: #89aa96; }
h1 { margin: 0; font-size: clamp(28px, 3vw, 36px); line-height: 1.35; font-weight: 500; letter-spacing: .03em; }
.intro-copy { margin: 8px 0 0; font-size: 13px; color: var(--muted); letter-spacing: .015em; }
.location-control { position: relative; z-index: 3; width: min(300px, 38vw); }
.search-box { height: 44px; display: flex; align-items: center; gap: 10px; padding: 0 12px; border: 1px solid #34423d; border-radius: 12px; background: rgba(26, 36, 33, .86); transition: border .2s; }
.search-box:focus-within { border-color: #71927e; }.search-box input { width: 100%; min-width: 0; border: 0; outline: 0; color: var(--text); background: transparent; font-size: 12px; }.search-box input::placeholder { color: #7f8e86; }
.search-shortcut { width: 20px; height: 20px; display: grid; place-items: center; border: 1px solid #394741; border-radius: 6px; color: #89988f; font-size: 15px; }
.location-results { position: absolute; top: 51px; left: 0; right: 0; display: none; overflow: hidden; border: 1px solid #36453e; border-radius: 13px; background: #1b2521; box-shadow: 0 18px 40px #0007; }.location-results.open:not(:empty) { display: block; }
.results-label { padding: 12px 14px 6px; color: #87968d; font-size: 10px; letter-spacing: .06em; }.location-result { width: 100%; display: flex; align-items: center; gap: 11px; padding: 10px 14px; text-align: left; border: 0; border-top: 1px solid #2b3731; background: transparent; cursor: pointer; }.location-result:hover { background: #25332c; }.result-pin { color: var(--sage); font-size: 20px; }.result-name { display: flex; flex: 1; flex-direction: column; gap: 2px; font-size: 12px; }.result-name small { color: #89968f; font-size: 10px; }.result-arrow { color: #7f9586; }.results-empty { margin: 0; padding: 15px; color: #a0aba5; font-size: 11px; }
.dashboard-grid { display: grid; grid-template-columns: minmax(0, 1.72fr) minmax(265px, .88fr); align-items: stretch; gap: 20px; }
.card { border: 1px solid var(--panel-border); border-radius: 18px; background: linear-gradient(145deg, rgba(28, 39, 35, .98), rgba(22, 31, 29, .97)); box-shadow: 0 14px 34px #00000012; }
.pressure-card { min-width: 0; padding: 24px 26px 16px; }.card-topline { display: flex; align-items: start; justify-content: space-between; gap: 16px; }
.section-label { display: flex; align-items: center; gap: 9px; color: #e0e7e1; font-size: 13px; font-weight: 500; letter-spacing: .02em; }.section-icon { width: 22px; height: 22px; display: grid; place-items: center; border-radius: 7px; color: #a4c0af; background: #304139; font: 18px var(--serif); }.pressure-icon { padding-bottom: 4px; }.sun-icon { font-size: 16px; }
.chart-subtitle { margin: 8px 0 0 31px; color: #85938b; font-size: 10px; }.selected-place { color: #b6c5bc; }.separator { padding: 0 7px; color: #59685f; }
.chart-legend { display: flex; gap: 13px; padding-top: 5px; color: #99a79f; font-size: 10px; }.chart-legend span { display: flex; align-items: center; gap: 6px; }.legend-dot { width: 7px; height: 7px; border-radius: 50%; }.past-dot { background: #a5c2b0; }.forecast-dot { background: #91aab8; }
.chart-summary { display: flex; align-items: end; gap: 16px; margin: 28px 0 9px; }.summary-caption { display: block; margin-bottom: 2px; color: #93a198; font-size: 10px; }.chart-summary strong { font: 500 27px var(--serif); letter-spacing: -.02em; }.chart-summary strong small { color: #9eada4; font: 400 11px 'Noto Sans JP', sans-serif; letter-spacing: 0; }.trend-pill { display: flex; align-items: center; gap: 6px; margin-bottom: 4px; padding: 5px 9px; border: 1px solid #34483d; border-radius: 20px; color: #a7c0ae; background: #27372e; font-size: 10px; }.trend-arrow { font-size: 13px; }.trend-down { border-color: #454b50; color: #adbbc2; background: #30383b; }.trend-up { border-color: #665745; color: #d0b899; background: #39332a; }.updated-label { margin: 0 0 7px auto; color: #6f7e76; font-size: 9px; white-space: nowrap; }
.chart-wrap { position: relative; height: clamp(210px, 27vw, 300px); overflow: hidden; }.pressure-chart { width: 100%; height: 100%; overflow: visible; opacity: 0; transition: opacity .45s ease; }.pressure-chart.visible { opacity: 1; }.chart-loading { position: absolute; inset: 0; z-index: 1; display: flex; align-items: center; justify-content: center; gap: 12px; color: #89988f; font-size: 11px; }.chart-loading.hidden { display: none; }.loader { width: 17px; height: 17px; border: 1.5px solid #43534b; border-top-color: #9cbaaa; border-radius: 50%; animation: spin .8s linear infinite; }@keyframes spin { to { transform: rotate(360deg); } }
.grid-line { stroke: #34403a; stroke-width: 1; stroke-dasharray: 3 6; }.axis-label { fill: #708077; font: 10px 'DM Sans', sans-serif; }.area-fill { fill: url(#area-fill); }.line-past, .line-forecast { fill: none; stroke-width: 2.2; stroke-linejoin: round; stroke-linecap: round; }.line-past { stroke: #a4c4ae; }.line-forecast { stroke: #94aeb9; stroke-dasharray: 5 5; }.now-line { stroke: #d1ddd5; stroke-width: 1; stroke-dasharray: 2 5; opacity: .45; }.now-label { fill: #c3d2c9; font: 9px 'Noto Sans JP', sans-serif; }.chart-point { stroke: #1b2622; stroke-width: 2; }.past-point { fill: #a8c8b2; }.future-point { fill: #9cb6c1; }.chart-axis { display: flex; justify-content: space-between; margin: -4px 0 0; padding: 0 5px; color: #718078; font-size: 9px; }.chart-tooltip { display: none; position: absolute; z-index: 2; padding: 7px 9px; border: 1px solid #42534a; border-radius: 8px; color: #dfe8e1; background: #18221f; font-size: 10px; pointer-events: none; }
.chart-footer { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 17px; padding-top: 13px; border-top: 1px solid #2a3731; }.chart-footer p { display: flex; align-items: center; gap: 8px; margin: 0; color: #7f8d85; font-size: 9px; }.footer-dot { width: 5px; height: 5px; }.text-button { padding: 4px 0; border: 0; color: #a6c0ae; background: none; font-size: 10px; cursor: pointer; }.text-button:hover { color: #d3e1d7; }.text-button:disabled { color: #78857d; cursor: wait; }.inline-error { margin: 0; color: #d4a49c; font-size: 10px; }
.side-column { display: flex; flex-direction: column; gap: 14px; }.today-card { position: relative; min-height: 354px; padding: 22px 21px 19px; overflow: hidden; }.condition-icon { position: absolute; top: 70px; right: 23px; width: 69px; height: 69px; display: grid; place-items: center; border: 1px solid #53644f; border-radius: 22px; background: linear-gradient(145deg, #344334, #29352e); transform: rotate(8deg); }.condition-icon svg { width: 44px; fill: #d6c89c; stroke: #d6c89c; stroke-width: 2; stroke-linecap: round; }.condition-icon svg circle { fill: #d4c792; stroke: none; }.condition-icon svg path { stroke: #bdb37f; }.condition-title { max-width: 175px; margin: 37px 0 7px; color: #e0e8e1; font-size: 15px; line-height: 1.7; }.condition-copy { max-width: 200px; min-height: 34px; margin: 0; color: #8f9b93; font-size: 10px; line-height: 1.75; }.today-divider { height: 1px; margin: 19px 0 10px; background: #2e3a34; }.today-detail { display: flex; justify-content: space-between; padding: 8px 0; color: #89978e; font-size: 10px; }.today-detail strong { color: #c5d0c8; font: 500 12px var(--serif); }
.tip-card { position: relative; min-height: 123px; padding: 17px 19px; overflow: hidden; border-color: #38453c; background: linear-gradient(125deg, #26332b, #202b26); }.tip-heading { display: flex; align-items: center; gap: 8px; color: #c1d0c3; font-size: 11px; }.tip-sparkle { color: #b4c89f; font-size: 14px; }.tip-card p { position: relative; z-index: 1; max-width: 235px; margin: 10px 0 0; color: #97a69b; font-size: 10px; line-height: 1.8; }.tip-decoration { position: absolute; right: 18px; bottom: -15px; color: #697861; opacity: .15; font-size: 83px; }
.source-note { display: flex; align-items: start; gap: 9px; padding: 3px 3px 0; color: #708077; }.source-mark { width: 14px; height: 14px; flex: 0 0 auto; display: grid; place-items: center; border: 1px solid #65746b; border-radius: 50%; font: 9px var(--serif); }.source-note p { margin: 0; font-size: 9px; line-height: 1.7; }
.bottom-note { display: flex; align-items: center; justify-content: center; gap: 9px; margin: 46px 0 32px; color: #718077; font-size: 11px; letter-spacing: .06em; }.bottom-wave { color: #91b09e; font-size: 19px; }
footer { display: flex; justify-content: space-between; padding: 17px 0 22px; border-top: 1px solid #25312c; color: #627068; font: 10px var(--serif); }

@media (min-width: 1300px) { .app-shell { padding-right: 8%; padding-left: 8%; } }
@media (max-width: 900px) { .app-shell { padding: 0 4.5%; }.dashboard-grid { grid-template-columns: minmax(0, 1.5fr) minmax(235px, .85fr); gap: 14px; }.pressure-card { padding-right: 19px; padding-left: 19px; }.today-card { padding-right: 17px; padding-left: 17px; }.chart-summary { gap: 10px; }.chart-summary strong { font-size: 24px; } }
@media (max-width: 700px) { .app-shell { padding: 0 20px; }.topbar { height: 66px; }.topbar-note { display: none; }main { padding-top: 37px; }.intro-row { align-items: stretch; flex-direction: column; gap: 21px; margin-bottom: 21px; }.eyebrow { margin-bottom: 9px; }.intro-copy { font-size: 11px; }.location-control { width: 100%; }.dashboard-grid { grid-template-columns: 1fr; gap: 14px; }.pressure-card { padding: 20px 17px 14px; }.chart-subtitle { font-size: 9px; }.chart-legend { gap: 9px; font-size: 9px; }.chart-summary { margin-top: 23px; }.chart-summary strong { font-size: 25px; }.chart-wrap { height: 235px; }.chart-footer { align-items: flex-start; }.chart-footer p { max-width: 58%; line-height: 1.6; }.today-card { min-height: 300px; padding: 20px; }.condition-icon { top: 64px; right: 25px; }.condition-title { margin-top: 32px; }.side-column { gap: 12px; }.tip-card { min-height: 113px; }.bottom-note { margin: 35px 0 25px; font-size: 10px; } }
@media (max-width: 380px) { .app-shell { padding: 0 14px; }.chart-subtitle { margin-left: 0; }.chart-legend { flex-direction: column; gap: 5px; }.chart-footer p { max-width: 52%; }.trend-pill { font-size: 9px; padding: 4px 7px; }.updated-label { font-size: 8px; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; } }
