/* Seasons line on cards, live weather chip, hub forecast and the sunny search (WF-022/WF-023). Follows docs/UI_DESIGN.md tokens. */
.card-seasons{margin:4px 0 0;display:flex;flex-wrap:wrap;align-items:center;gap:4px 8px;font-size:12px;line-height:1.4;color:var(--ink-2)}
.card-seasons .icon{color:var(--muted);flex:0 0 auto}
.card-seasons.null-state{color:var(--muted)}
.season-chip{display:inline-flex;gap:3px;align-items:baseline;white-space:nowrap}
.season-chip strong{font-weight:800;color:var(--ink)}
.season-chip+.season-chip::before{content:"·";color:var(--muted);margin-right:4px}
.hub-seasons{margin:10px 0 0;font-size:13px;line-height:1.5;color:var(--ink-2)}
.hub-seasons .hub-label{margin-right:6px}
.hub-seasons .season-chip{margin-right:8px}

/* Live weather chip on cards (WF-023). A forecast, not climate: lives beside the country line, above the summary. */
.card-weather{display:inline-flex;align-items:center;gap:5px;margin:6px 0 0;padding:2px 10px 2px 6px;border-radius:var(--radius-pill);background:var(--surface-2);font-size:12px;line-height:18px;color:var(--ink-2);max-width:100%}
.card-weather strong{font-weight:800;color:var(--ink)}
.card-weather .wx-icon{width:16px;height:16px;color:var(--accent-ink);flex:0 0 auto}
.card-weather.null-state{color:var(--muted)}
.card-weather.null-state .wx-icon{color:var(--muted)}
.card-weather.is-loading{color:var(--muted);animation:wx-pulse 1.4s ease-in-out infinite}
@keyframes wx-pulse{0%,100%{opacity:1}50%{opacity:.55}}
@media (prefers-reduced-motion:reduce){.card-weather.is-loading{animation:none}}
.wx-icon.icon-lg{width:40px;height:40px}

/* Hub forecast panel */
.hub-forecast-head{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px}
.hub-forecast-head h2{margin:0}
.tag-live{background:var(--accent-soft);color:var(--accent-ink)}
.wx-now{display:flex;align-items:center;gap:12px;margin:12px 0 4px}
.wx-now .wx-icon{color:var(--accent-ink)}
.wx-now strong{display:block;font-size:26px;line-height:1.1;font-family:var(--font-head);font-weight:900}
.wx-now span{font-size:13px;color:var(--ink-2)}
.wx-days{list-style:none;margin:10px 0 0;padding:0;display:grid;gap:2px}
.wx-day,.wx-head{display:grid;grid-template-columns:5.2em 20px minmax(0,1fr) 5.5em 3.4em 3.4em;align-items:center;gap:8px;font-size:13px;padding:5px 0;border-bottom:1px solid var(--line)}
.wx-head{font-size:11px;text-transform:uppercase;letter-spacing:.04em;color:var(--muted);border-bottom-color:var(--line-strong)}
.wx-day:last-child{border-bottom:0}
.wx-dayname{font-weight:700}
.wx-day .wx-icon{width:18px;height:18px;color:var(--accent-ink)}
.wx-label{color:var(--ink-2);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.wx-temps{text-align:right;white-space:nowrap}
.wx-temps strong{font-weight:800}
.wx-rain,.wx-sun{text-align:right;color:var(--ink-2);font-variant-numeric:tabular-nums}
@media (max-width:420px){.wx-day,.wx-head{grid-template-columns:4.6em 18px minmax(0,1fr) 5em 3em 3em;font-size:12px}.wx-label{display:none}.wx-head span:nth-child(3){visibility:hidden}}
/* Desktop: the days run across in one strip beside the current conditions, a quarter of the height of the rows (user, 2026-11-04). */
@media (min-width:700px){
 .hub-forecast.is-live{display:grid;grid-template-columns:172px minmax(0,1fr);gap:6px 12px;padding:12px 16px}
 .hub-forecast.is-live .hub-forecast-head,.hub-forecast.is-live .small-note{grid-column:1/-1;margin:0}
 .hub-forecast.is-live .small-note{font-size:11px;line-height:1.3}
 .hub-forecast.is-live .wx-now{gap:8px;margin:0;align-items:flex-start}
 .hub-forecast.is-live .wx-now .wx-icon{width:30px;height:30px}
 .hub-forecast.is-live .wx-now strong{font-size:20px}
 .hub-forecast.is-live .wx-now span{display:block;font-size:11px;line-height:1.25}
 .hub-forecast.is-live .wx-days{grid-auto-flow:column;grid-auto-columns:minmax(0,1fr);gap:0;margin:0}
 .hub-forecast.is-live .wx-head{display:none}
 .hub-forecast.is-live .wx-day{grid-template-columns:16px minmax(0,1fr);grid-template-areas:"name name" "icon temps" "rain rain" "sun sun";gap:0 3px;padding:0 5px;border-bottom:0;border-left:1px solid var(--line);font-size:11px;line-height:14px}
 .hub-forecast.is-live .wx-dayname{grid-area:name;white-space:nowrap}
 .hub-forecast.is-live .wx-day .wx-icon{grid-area:icon;width:16px;height:16px}
 .hub-forecast.is-live .wx-label{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
 .hub-forecast.is-live .wx-temps{grid-area:temps;text-align:left;font-size:12px;line-height:18px}
 .hub-forecast.is-live .wx-rain{grid-area:rain;text-align:left}
 .hub-forecast.is-live .wx-sun{grid-area:sun;text-align:left}
 .hub-forecast.is-live .wx-rain::before{content:'Rain '}
 .hub-forecast.is-live .wx-sun::before{content:'Sun '}
}

/* "Where is it sunny?" results */
.sunny-panel{margin:0 0 20px;padding:0 0 16px;border-bottom:1px solid var(--line)}
.sunny-panel .chip-row{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 12px}
.sunny-panel .results{margin-top:0}
/* All sunny matches in their own scroll box; short enough on a phone to leave page above and below to grab. */
.sunny-scroll-hint{margin:12px 0 8px;font-size:13px;color:var(--muted)}
.sunny-scroll{max-height:min(1400px,78vh);overflow-y:auto;padding:4px 6px 4px 4px;border:1px solid var(--line);border-radius:var(--radius-card);background:var(--surface-2);scrollbar-gutter:stable}
.sunny-scroll:focus-visible{outline:2px solid var(--focus);outline-offset:2px}
@media(min-width:700px){.sunny-scroll{padding:12px}}
.sunny-panel .empty-inline{margin:12px 0;padding:14px;border-radius:var(--radius-card);background:var(--surface-2);color:var(--ink-2);font-size:14px}
.sunny-line{display:flex;flex-wrap:wrap;align-items:center;gap:4px 6px;margin:6px 0 0;font-size:12px;color:var(--ink-2)}
.sunny-line .wx-icon{width:16px;height:16px;color:var(--warn-ink)}
.sunny-line strong{color:var(--ink);font-weight:800}
/* Narrow down the sunny places (sunny-narrow.js): the bar above the list and the pop-up's chip groups. */
.narrow-bar{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:12px 0 0}
.narrow-bar .narrow-open{min-height:var(--tap);padding:0 16px}
.narrow-clear{background:none;border:0;padding:6px 4px;color:var(--accent-text);font:inherit;font-size:13px;text-decoration:underline;cursor:pointer}
.narrow-intro{margin:0 0 14px;color:var(--ink-2);font-size:14px;line-height:1.5}
.narrow-group{margin:0 0 14px}
.narrow-q{margin:0 0 8px;font-size:14px;font-weight:800}
.narrow-count{margin-left:4px;font-size:12px;color:var(--muted)}
/* The sunny counts and rule sit behind an info button on the heading line (user, 2026-10-27). */
.sunny-panel .section-heading{position:relative;align-items:flex-start}
.sunny-panel .sunny-info{flex:none}
.lbl-short{display:none}
@media(max-width:699px){.sunny-panel .section-heading>div>p{display:none}}
/* The sunny list's numbers match the map band's numbered pins (EXPLORE-MAP-BRIEF E1). */
.card-rank{flex:none;display:inline-flex;align-items:center;justify-content:center;min-width:22px;height:22px;padding:0 6px;margin-right:6px;border-radius:999px;background:var(--map-pin);color:var(--on-accent);font:800 12px/1 var(--font-body);align-self:center}
@media(max-width:699px){.sunny-scroll .card-head{flex-wrap:wrap}.sunny-scroll .card-head .card-title{flex:1 1 0;min-width:0}.sunny-scroll .card-head .card-country{flex-basis:100%;text-align:left;padding-left:28px}}
/* The filter prompt after a sunny search (user, 2026-10-28): a small card in the bottom corner, like a chat pop-up. */
.narrow-nudge{position:fixed;right:16px;bottom:calc(var(--tabbar-h) + env(safe-area-inset-bottom) + 12px);z-index:45;width:min(300px,calc(100vw - 32px));padding:14px 16px;border:1px solid var(--line);border-radius:var(--radius-card);background:var(--surface);box-shadow:var(--shadow-pop);animation:nudge-in .25s var(--ease) both}
.narrow-nudge-text{margin:0 28px 10px 0;font-weight:800;font-size:15px;line-height:1.35;color:var(--ink)}
.narrow-nudge-actions{display:flex;gap:8px;flex-wrap:wrap}
.narrow-nudge-actions .primary{min-height:40px;padding:0 16px}
.narrow-nudge-actions .ghost{min-height:40px}
.narrow-nudge-close{position:absolute;top:8px;right:8px;display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;border:0;border-radius:50%;background:none;color:var(--muted);cursor:pointer}
.narrow-nudge-close:hover{background:var(--surface-2);color:var(--ink)}
@keyframes nudge-in{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:none}}
@media(max-width:699px){.narrow-nudge{width:min(272px,calc(100vw - 32px));padding:12px 14px}.narrow-nudge-text{font-size:14px;margin-bottom:8px}}
@media(min-width:700px){.narrow-nudge{right:24px;bottom:24px}}
/* Phones (user, 2026-10-28): Where is it sunny? fills the screen with the map, no card list; a coloured, pulsing
   Expand invites the full-screen map. Wider screens keep the 150 px band and the list. */
@media(max-width:699px){
 .sunny-panel .sunny-scroll,.sunny-panel .sunny-scroll-hint{display:none}
 .sunny-panel .xm-band{height:max(280px,calc(100svh - var(--topbar-h) - var(--tabbar-h) - 120px))}
 .sunny-panel .xm-band-expand{min-height:40px;padding:0 18px;background:var(--fill);color:var(--on-accent);font-size:14px;animation:expand-pulse 1.8s var(--ease) infinite}
}
@keyframes expand-pulse{0%{box-shadow:0 0 0 0 color-mix(in srgb,var(--accent) 55%,transparent)}70%{box-shadow:0 0 0 12px transparent}100%{box-shadow:0 0 0 0 transparent}}
/* The Filters pill on the sunny map (user, 2026-10-28): top right of the band, reopening the filter sheet. */
.sunny-map-wrap{position:relative}
.sunny-filters-pill{position:absolute;top:18px;right:10px;z-index:3;display:inline-flex;align-items:center;gap:6px;min-height:36px;padding:0 14px;border:0;border-radius:var(--radius-pill);background:var(--surface);color:var(--ink);font:800 13px/1 var(--font-body);box-shadow:var(--shadow-card);cursor:pointer}
.sunny-filters-pill:hover{color:var(--accent-ink)}
.sunny-filters-pill:focus-visible{outline:2px solid var(--focus);outline-offset:2px}
