.weather-panel { --weather-ink:#24433e; --weather-muted:#50665f; margin:2rem auto; padding:clamp(1rem,3vw,2rem); max-width:1200px; color:var(--weather-ink); background:#f5f8f3; border:1px solid #d8e3da; border-radius:20px; }
.weather-panel--full {margin-top:clamp(1rem,4vw,3rem)}
.weather-heading {display:flex;align-items:center;justify-content:space-between;gap:1rem}
.weather-eyebrow {font-size:.75rem;letter-spacing:.15em;font-weight:700;color:#527266;margin:0 0 .5rem}
.weather-heading h1,.weather-heading h2 {font-size:clamp(1.4rem,3vw,2rem);line-height:1.4;margin:0}
.weather-heading p:not(.weather-eyebrow) {font-size:.9rem;color:var(--weather-muted);margin:.5rem 0}
.weather-badge {font-size:.75rem;padding:.5rem .8rem;background:#fff2bb;border-radius:999px;white-space:nowrap}
.weather-status {font-size:.82rem;line-height:1.7;min-height:1.7em;margin:.8rem 0 1.2rem;color:var(--weather-muted)}
[data-weather-empty] :is(.weather-selection,.weather-subheading,.weather-details,.weather-week-heading,.weather-week,.weather-region,.weather-timestamps,.weather-matrix,.weather-national,.weather-source p+p) {display:none}
.weather-selection {display:flex;align-items:center;flex-wrap:wrap;gap:.65rem;margin:1rem 0 1.5rem;font-size:.9rem}
.weather-selection select {font:inherit;min-height:44px;min-width:140px;padding:.5rem 2rem .5rem .8rem;border:1px solid #a0b6ac;border-radius:8px;background:#fff;color:var(--weather-ink)}
.weather-selection a {margin-left:auto;min-height:44px;display:flex;align-items:center}
.weather-panel a {color:#246153;text-underline-offset:.2em}
.weather-panel :is(a,button,select):focus-visible {outline:3px solid #457d6d;outline-offset:3px}
.weather-subheading {font-size:1.05rem;margin:0 0 1rem;line-height:1.5}
.weather-subheading span {font-size:.8rem;font-weight:400;margin-left:.5rem}
.weather-card-title {display:block;font-size:.92rem;font-weight:700;margin:0;line-height:1.5}
.weather-condition {display:block;font-size:.88rem;line-height:1.6;margin:.55rem 0;overflow-wrap:anywhere}
.weather-temperatures {display:flex;flex-wrap:wrap;gap:.25rem .7rem;font-size:.88rem;margin:.5rem 0;font-variant-numeric:tabular-nums}
.weather-high {color:#994935}.weather-low {color:#356789}
.weather-card-area {display:block;font-size:.8125rem;color:var(--weather-muted);line-height:1.6;margin:.45rem 0 0}
.weather-week-heading {display:flex;gap:1rem;justify-content:space-between;align-items:baseline;margin-top:1.7rem}
.weather-week-heading>span {font-size:.75rem;color:var(--weather-muted)}
.weather-region {font-size:.8125rem;line-height:1.8;margin:0 0 .8rem;color:var(--weather-muted)}
.weather-week {background:#fff;border:1px solid #dce5dd;border-radius:14px;padding:.3rem 1rem}
/* 週間予報（YUZ-539 案B）：縦のリスト＋7日間共通の目盛りの気温の帯 */
.weather-week-list {list-style:none;margin:0;padding:0}
.weather-week-scale {display:flex;justify-content:space-between;padding:.45rem 0 .2rem;font-size:.7rem;color:var(--weather-muted);font-variant-numeric:tabular-nums;margin-left:calc(6.5rem + 28px + 1.2rem);margin-right:calc(3rem + .6rem)}
.weather-week-row {display:grid;grid-template-columns:6.5rem 28px minmax(0,1fr) 3rem;gap:.6rem;align-items:center;padding:.6rem 0;border-top:1px solid #e6ece7;font-size:.875rem;font-variant-numeric:tabular-nums}
.weather-week-row.is-today {font-weight:600}
.weather-week-date {min-width:0;line-height:1.4}.weather-week-date b {display:block;font-weight:700}
.weather-week-icon .news-top-wx-sun {fill:#b98610}.weather-week-icon .news-top-wx-cloud {fill:#dfeee5;stroke:var(--weather-ink);stroke-width:1.3}
.weather-week-icon .news-top-wx-rain {fill:none;stroke:#356789;stroke-width:1.4;stroke-linecap:round}.weather-week-icon .news-top-wx-snow {fill:none;stroke:var(--weather-muted);stroke-width:1.4;stroke-linecap:round;stroke-dasharray:1 2}
.weather-week-body {min-width:0}
.weather-week-line {display:flex;flex-wrap:wrap;justify-content:space-between;gap:.1rem .8rem;margin:0 0 .3rem;line-height:1.5}
.weather-week-text {min-width:0;font-weight:400}
.weather-week-temps {display:flex;flex-wrap:wrap;gap:0 .6rem;white-space:nowrap;font-size:.82rem}
.weather-week-bar {position:relative;display:block;height:8px;border-radius:999px;background:#e6ece7}
.weather-week-bar i {position:absolute;top:0;bottom:0;border-radius:999px;background:linear-gradient(90deg,#356789,#994935)}
.weather-week-bar i.is-point {width:8px;right:auto!important;transform:translateX(-4px);background:#994935}
.weather-week-pop {text-align:right;color:#356789;font-size:.82rem}
.weather-week-row .weather-missing {grid-column:2 / -1;margin:0}
.weather-rain {display:flex;flex-direction:column;gap:.2rem;font-size:.75rem;color:var(--weather-muted);line-height:1.7;font-variant-numeric:tabular-nums}
.weather-rain-label {font-weight:600}
.weather-missing {font-size:.75rem;color:#796139;line-height:1.6;margin:.5rem 0}
.weather-timestamps {font-size:.8125rem;line-height:1.9;color:var(--weather-muted);margin:1rem 0}
.weather-source {border-top:1px solid #d5e0d7;margin-top:1rem;padding-top:.65rem;font-size:.8125rem;line-height:1.8;color:var(--weather-muted)}
.weather-source p {margin:.4rem 0}
.weather-details {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}
.weather-detail-card {background:#fff;padding:1.2rem;border:1px solid #d6e1d9;border-radius:14px}
.weather-detail-card .weather-condition {display:block;font-size:1.2rem}.weather-detail-card .weather-temperatures {font-size:1.1rem}
.weather-detail-card .weather-rain {font-size:.8rem}

@media(max-width:600px) {.weather-panel {margin:1rem .75rem;padding:1rem;border-radius:14px}.weather-heading {align-items:flex-start}.weather-badge {display:none}.weather-week {padding:.2rem .75rem}.weather-week-row {grid-template-columns:4.6rem 24px minmax(0,1fr) 2.6rem;gap:.45rem}.weather-week-scale {margin-left:calc(4.6rem + 24px + .9rem);margin-right:calc(2.6rem + .45rem)}.weather-week-scale span:nth-child(2) {display:none}.weather-details {grid-template-columns:1fr}.weather-selection a {margin-left:0;width:100%}.weather-week-heading {gap:.5rem}.weather-week-heading>span {white-space:nowrap}}
.weather-temp-note {font-size:.8125rem;line-height:1.7;color:var(--weather-muted);margin:.25rem 0 .6rem}

.weather-outfit {margin:.9rem 0 1.25rem;padding:1rem;background:#faf8ef;border:1px solid #e4dec7;border-radius:12px;font-size:.875rem;line-height:1.7;overflow-wrap:anywhere}
.weather-outfit h3 {font-size:1rem;line-height:1.5;margin:.5rem 0 .9rem;color:var(--weather-ink)}
.weather-outfit>.weather-missing {margin:0 0 .3rem;font-size:.85rem;font-weight:600}
.weather-outfit-warning-link {font-size:.75rem}
.weather-outfit-decisions {display:grid;gap:.85rem;margin:0 0 .8rem}
.weather-outfit-decision {display:grid;grid-template-columns:2rem minmax(0,1fr);align-items:start;gap:.6rem}
.weather-outfit-icon {display:grid;place-items:center;width:2rem;height:2rem;background:#f3e7b9;border-radius:50%;color:#675322;font-size:1.2rem;line-height:1}
.weather-outfit-label {font-size:.75rem;color:var(--weather-muted)}
.weather-outfit-answer {display:block;font-size:1.2rem;font-weight:700;line-height:1.4;color:var(--weather-ink)}
.weather-outfit-reason {margin:.3rem 0 0;color:var(--weather-muted);font-size:.8rem;line-height:1.6}
.weather-outfit-meta {display:flex;flex-wrap:wrap;gap:.2rem .6rem;margin:.85rem 0 .45rem;padding-top:.65rem;border-top:1px solid #e4dec7;color:var(--weather-muted);font-size:.75rem;line-height:1.7}
.weather-outfit-limit {font-size:.75rem;line-height:1.7;color:var(--weather-muted);margin:0}
@media(max-width:600px) {
  .weather-panel--full .weather-heading h1 {font-size:1.25rem}
  .weather-panel--full .weather-heading p:not(.weather-eyebrow) {margin:.3rem 0;font-size:.8rem}
  .weather-panel--full .weather-status {margin:.4rem 0;font-size:.75rem}
  .weather-panel--full .weather-selection {margin:.65rem 0 1rem}
  .weather-panel--full .weather-detail-card {padding:1rem}
  .weather-outfit {padding:.85rem;margin:.75rem 0 1rem}
}

/* 全国12都市の週間予報（都市×7日の表）。狭い画面では表の中だけ横にスクロールする。 */
.weather-sr {position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.weather-matrix {margin-top:1.2rem;min-width:0;max-width:100%}
.weather-panel--full {min-width:0}
.weather-matrix-scroll {position:relative;max-width:100%;overflow-x:auto;background:#fff;border:1px solid #dce5dd;border-radius:12px}
.weather-matrix-scroll:focus-visible {outline:3px solid #457d6d;outline-offset:3px}
.weather-matrix-table {width:100%;min-width:720px;border-collapse:collapse;table-layout:fixed;font-variant-numeric:tabular-nums}
.weather-matrix-table :is(th,td) {padding:.4rem .2rem;border-bottom:1px solid #eef2ee;text-align:center;vertical-align:middle}
.weather-matrix-table tbody tr:last-child :is(th,td) {border-bottom:0}
.weather-matrix-table thead th {font-size:.78rem;font-weight:700;line-height:1.4;padding:.6rem .2rem;background:#f8faf7}
.weather-matrix-table thead th.is-sat {color:#2f6aa5}.weather-matrix-table thead th.is-sun {color:#a8473a}
.weather-matrix-table .weather-matrix-city {position:sticky;left:0;z-index:1;width:4.8rem;background:#f8faf7;text-align:left}
.weather-matrix-city button {font:inherit;font-size:.88rem;font-weight:700;color:var(--weather-ink);background:none;border:0;border-radius:6px;min-height:44px;width:100%;padding:0 .5rem;text-align:left;cursor:pointer}
.weather-matrix-city button:hover {text-decoration:underline;text-underline-offset:.2em}
.weather-matrix-city button[aria-pressed="true"] {background:#fff2bb}
.weather-matrix-table td {font-size:.78rem;line-height:1.35}
.weather-matrix-table td.is-rain1 {background:#eef5fb}.weather-matrix-table td.is-rain2 {background:#dcebf8}.weather-matrix-table td.is-rain3 {background:#c3dcf3}
.weather-matrix-table .news-top-wx-icon {display:block;margin:0 auto .1rem}
.weather-matrix-table .news-top-wx-sun {fill:#d99a1e}
.weather-matrix-table .news-top-wx-cloud {fill:#dfeee5;stroke:#24433e;stroke-width:1.3}
.weather-matrix-table .news-top-wx-rain {fill:none;stroke:#356789;stroke-width:1.4;stroke-linecap:round}
.weather-matrix-table .news-top-wx-snow {fill:none;stroke:#50665f;stroke-width:1.4;stroke-linecap:round;stroke-dasharray:1 2}
.weather-matrix-temp {display:flex;justify-content:center;gap:.3rem;font-size:.82rem}
.weather-matrix-temp .weather-high {font-weight:700}
.weather-matrix-rain {display:flex;justify-content:center;align-items:flex-end;gap:.25rem;margin-top:.15rem;min-height:18px;color:#355f7d;font-size:.74rem}
.weather-matrix-bars {display:inline-flex;align-items:flex-end;gap:1px;height:16px}
.weather-matrix-bars i {width:4px;background:#9ec3e3;border-radius:1px}.weather-matrix-bars i.is-high {background:#3f7fb8}.weather-matrix-bars i.is-none {background:#d5dcd8}
.weather-matrix-missing {color:var(--weather-muted)}
.weather-matrix-legend {display:flex;flex-wrap:wrap;gap:.3rem 1rem;align-items:center;margin:.7rem 0 0;font-size:.75rem;line-height:1.7;color:var(--weather-muted)}
.weather-matrix-swatch {display:inline-block;width:.9rem;height:.9rem;margin-right:.3rem;vertical-align:-2px;border:1px solid #0000001a;border-radius:3px}
.weather-matrix-swatch.is-rain1 {background:#eef5fb}.weather-matrix-swatch.is-rain2 {background:#dcebf8}.weather-matrix-swatch.is-rain3 {background:#c3dcf3}

/* 全国の警報・注意報。色は気象庁の警報の色分け（注意報=黄、警報=赤、危険警報=紫、特別警報=濃い紫）に合わせる。 */
.weather-national {margin-top:2rem}
.weather-national[hidden] {display:none}
.weather-national-grid {display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);grid-template-areas:"map side" "map detail";gap:1rem;align-items:start}
.weather-national-map {grid-area:map;background:#fff;border:1px solid #dce5dd;border-radius:12px;padding:.8rem}
.weather-national-side {grid-area:side}
.weather-national-detail {grid-area:detail;background:#fff;border:1px solid #dce5dd;border-radius:12px;padding:.2rem .9rem .7rem}
.weather-national[data-national-empty] :is(.weather-national-map,.weather-national-detail,.weather-national-h,.weather-national-top) {display:none}
.weather-national-svg {display:block;width:100%;height:auto}
.weather-national-tile {cursor:pointer}
.weather-national-tile rect {stroke:#fff;stroke-width:1.5}
.weather-national-tile text {text-anchor:middle;font-weight:700;pointer-events:none}
.weather-national-tile:is(:hover,:focus-visible) rect {stroke:#24433e;stroke-width:2.5}
.weather-national-tile:focus {outline:none}
.weather-national-tile.is-selected rect {stroke:#24433e;stroke-width:3.5}
.weather-national-tile.is-l0 rect {fill:#e9efe9}.weather-national-tile.is-l0 text {fill:#6b7f76}
.weather-national-tile.is-l20 rect {fill:#f0d34a}.weather-national-tile.is-l20 text {fill:#3d3a1c}
.weather-national-tile.is-l30 rect {fill:#d8462f}.weather-national-tile.is-l30 text {fill:#fff}
.weather-national-tile.is-l40 rect {fill:#9b2fae}.weather-national-tile.is-l40 text {fill:#fff}
.weather-national-tile.is-l50 rect {fill:#5b1a6b}.weather-national-tile.is-l50 text {fill:#fff}
.weather-national-swatch,.weather-national-dot {display:inline-block;width:.9rem;height:.9rem;margin-right:.3rem;vertical-align:-2px;border-radius:3px}
:is(.weather-national-swatch,.weather-national-dot).is-l0 {background:#e9efe9;border:1px solid #c9d6cc}
:is(.weather-national-swatch,.weather-national-dot).is-l20 {background:#f0d34a}
:is(.weather-national-swatch,.weather-national-dot).is-l30 {background:#d8462f}
:is(.weather-national-swatch,.weather-national-dot).is-l40 {background:#9b2fae}
:is(.weather-national-swatch,.weather-national-dot).is-l50 {background:#5b1a6b}
.weather-national-counts {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.4rem}
.weather-national-counts>div {background:#fff;border:1px solid #dce5dd;border-radius:10px;padding:.45rem .3rem;text-align:center}
.weather-national-counts b {display:block;font-size:1.25rem;line-height:1.3}
.weather-national-counts span {font-size:.7rem;color:var(--weather-muted)}
.weather-national-counts .weather-missing {grid-column:1/-1}
.weather-national-h {font-size:.92rem;margin:.9rem 0 .4rem}
.weather-national-top {list-style:none;margin:0;padding:0;font-size:.84rem;line-height:1.6}
.weather-national-pick {display:flex;flex-wrap:wrap;align-items:baseline;gap:.1rem .45rem;width:100%;min-height:44px;padding:.35rem .2rem;font:inherit;color:var(--weather-ink);text-align:left;background:none;border:0;border-bottom:1px solid #e6ece7;cursor:pointer}
.weather-national-pick:hover b {text-decoration:underline;text-underline-offset:.2em}
.weather-national-area {display:flex;flex-wrap:wrap;align-items:center;gap:.3rem;padding:.4rem 0;border-bottom:1px solid #f0f3f0;font-size:.8rem}
.weather-national-area:last-child {border-bottom:0}
.weather-national-area-name {font-weight:700;min-width:6.5rem}
.weather-national-chip {border-radius:999px;padding:.1rem .55rem;font-size:.74rem}
.weather-national-chip.is-l20 {background:#f0d34a;color:#3d3a1c}.weather-national-chip.is-l30 {background:#d8462f;color:#fff}
.weather-national-chip.is-l40 {background:#9b2fae;color:#fff}.weather-national-chip.is-l50 {background:#5b1a6b;color:#fff}
.weather-national-none {font-size:.84rem;color:var(--weather-muted)}
.weather-national-note {font-size:.78rem;line-height:1.8;color:var(--weather-muted);margin:.8rem 0 0}
@media(max-width:800px) {.weather-national-grid {grid-template-columns:1fr;grid-template-areas:"side" "map" "detail"}}
@media(max-width:600px) {.weather-national-counts b {font-size:1.05rem}.weather-national-area-name {min-width:100%}}
/* 日の出・日の入り（YUZ-544） */
.weather-sun {margin:1.25rem 0 1.5rem}
.weather-sun-head {display:flex;gap:.5rem 1rem;flex-wrap:wrap;justify-content:space-between;align-items:baseline;margin:1.7rem 0 .6rem}
.weather-sun-head h2 {margin:0;font-size:1.05rem}
.weather-sun-head > span {font-size:.8125rem;color:var(--weather-muted)}
.weather-sun-foot {font-size:.8125rem;line-height:1.8;margin:0;color:var(--weather-muted)}
.weather-sun-grid {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.5rem;margin:0 0 .6rem}
.weather-sun-grid div {padding:.5rem .4rem;border:1px solid #e4dec7;border-radius:10px;background:#fff;text-align:center}
.weather-sun-grid div.is-main {background:#fdf6de;border-color:#e8d391}
.weather-sun-grid dt {font-size:.75rem;color:var(--weather-muted)}
.weather-sun-grid dd {margin:0;font-size:1.15rem;font-weight:700;font-variant-numeric:tabular-nums}
.weather-sun-length {margin:0;font-size:.9rem}
.weather-sun-length b {font-size:1rem;font-variant-numeric:tabular-nums}
.weather-sun-length span {margin-left:.3rem;color:var(--weather-muted);font-size:.85rem}
.weather-sun-note {margin:.2rem 0 .6rem;font-size:.85rem;color:var(--weather-muted)}
.weather-sun-note:empty {display:none}
@media(max-width:600px) {.weather-sun-grid {grid-template-columns:repeat(2,minmax(0,1fr))}}
.weather-tools {margin:0 0 1rem;font-size:.85rem;color:var(--weather-muted)}
/* ゆずふかちゃんのきょうのコーデ（/v1/outfit）。 */
.weather-coord--full {display:grid;grid-template-columns:minmax(0,220px) minmax(0,1fr);gap:1.1rem;align-items:start;margin:1rem 0 1.5rem;padding:1rem;background:#faf8ef;border:1px solid #e4dec7;border-radius:12px}
.weather-coord--full img {width:100%;height:auto;aspect-ratio:2/3;object-fit:cover;border-radius:10px;border:1px solid #e4dec7;background:#f4f2ee}
.weather-coord--full .weather-coord-body {min-width:0}
.weather-coord--full .weather-coord-kicker {margin:0;font-size:.8rem;color:var(--weather-muted);display:flex;flex-wrap:wrap;gap:.3rem .5rem;align-items:center}
.weather-coord--full .weather-coord-title {font-size:1.05rem;line-height:1.5;margin:.25rem 0 .6rem;color:var(--weather-ink)}
.weather-coord-pieces {margin:0 0 .7rem;padding-left:1.1em;font-size:.875rem;line-height:1.8}
.weather-coord--full .weather-coord-items {display:flex;flex-wrap:wrap;gap:.35rem;margin:0 0 .7rem;padding:0;list-style:none}
.weather-coord--full .weather-coord-items li {font-size:.8rem;line-height:1.6;padding:.05rem .6rem;border-radius:999px;background:#e7f1ea;color:var(--weather-ink)}
.weather-coord--full .weather-coord-note {font-size:.78rem;line-height:1.7;color:var(--weather-muted);margin:0}
@media (max-width:560px){.weather-coord--full {grid-template-columns:1fr}.weather-coord--full img {max-width:240px;margin:0 auto}}
