    :root {
      color-scheme: light;
      /* core palette */
      --ink: #102a46;
      --muted: #3e5f80;
      --accent: #0d6db0;
      --line: #d8e6f2;
      --paper: #fbfdff;
      --hero: #0c63a8;
      --gold: #f0c45c;
      --gold-line: rgba(255, 217, 138, .6);
      /* derived tokens */
      --faint: #4d6b89;
      --surface: #eef5fb;
      --surface-hover: #e3eff9;
      --header: rgba(10, 85, 144, .97);
      --header-solid: #0a5590;
      --hero-line: rgba(255, 255, 255, .22);
      --on-hero: #ffffff;
      --on-hero-soft: rgba(255, 255, 255, .92);
      --on-hero-dim: rgba(255, 255, 255, .80);
      --live: #8ee6b0;
      --rain: #a6d8ff;
      --font: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    }

    *, *::before, *::after { box-sizing: border-box; }
    html { scroll-behavior: smooth; scroll-padding-top: 112px; }
    body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--font); line-height: 1.5; -webkit-font-smoothing: antialiased; }
    button, input, select { font: inherit; }
    button, select { cursor: pointer; }
    button { color: inherit; }
    button, input, select { -webkit-tap-highlight-color: transparent; }
    button { border: 0; }
    a { color: inherit; }
    button:focus-visible, a:focus-visible, select:focus-visible, input:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
    .site-header :focus-visible, .weather-hero :focus-visible { outline-color: var(--gold); }
    button:disabled { cursor: wait; }
    svg { display: block; }
    [hidden] { display: none !important; }
    .page-width { width: min(1200px, calc(100% - 96px)); margin-inline: auto; }
    .icon { width: 20px; height: 20px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
    .visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
    .svg-library { position: absolute; width: 0; height: 0; overflow: hidden; }
    .skip-link { position: fixed; z-index: 100; left: 20px; top: -70px; padding: 10px 18px; background: var(--ink); color: white; border-radius: 4px; }
    .skip-link:focus { top: 12px; }

    .site-header { position: sticky; top: 0; z-index: 30; background: var(--header); color: var(--on-hero); border-bottom: 1px solid var(--hero-line); backdrop-filter: blur(18px); }
    .header-inner { min-height: 87px; display: flex; align-items: center; gap: 38px; }
    .brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; white-space: nowrap; }
    .brand-mark { width: 29px; height: 29px; color: var(--accent); }
    .site-header .brand-mark { color: var(--gold); }
    .brand-name { font-size: 25px; font-weight: 750; letter-spacing: -1.25px; }
    .brand-name span { font-weight: 450; }
    .header-tools { display: flex; align-items: center; justify-content: flex-end; gap: 33px; margin-left: auto; }
    .location-search { position: relative; width: 330px; }
    .search-field { position: relative; display: flex; align-items: center; min-height: 42px; border: 1px solid rgba(255, 255, 255, .32); border-radius: 7px; background: rgba(255, 255, 255, .12); transition: border-color .2s, background .2s; }
    .search-field:focus-within { border-color: var(--gold); background: #fff; }
    .search-field:focus-within > .icon { color: var(--accent); }
    .search-field:focus-within .search-input { color: var(--ink); }
    .search-field:focus-within .search-input::placeholder { color: var(--muted); }
    .search-field:focus-within .search-shortcut { color: var(--muted); border-color: var(--line); }
    .search-field > .icon { margin-left: 13px; width: 17px; height: 17px; color: var(--on-hero-soft); }
    .search-input { width: 100%; min-width: 0; height: 40px; border: 0; outline: none !important; padding: 0 40px 0 11px; background: transparent; font-size: 12px; color: var(--on-hero); }
    .search-input::placeholder { color: var(--on-hero-dim); opacity: 1; }
    .search-shortcut { position: absolute; right: 11px; top: 11px; width: 19px; height: 20px; display: grid; place-items: center; border: 1px solid rgba(255, 255, 255, .45); border-radius: 3px; color: var(--on-hero-soft); font-size: 11px; font-family: inherit; }
    .search-results { position: absolute; top: calc(100% + 9px); left: 0; right: 0; max-height: min(440px, calc(100dvh - 150px)); overflow-x: hidden; overflow-y: auto; border: 1px solid var(--line); border-radius: 9px; padding: 7px; background: var(--paper); color: var(--ink); box-shadow: 0 12px 36px rgba(16, 42, 70, .22); }
    .search-section-label { margin: 10px 10px 6px; color: var(--muted); font-size: 10px; font-weight: 600; letter-spacing: 1.2px; text-transform: uppercase; }
    .search-result, .use-location { width: 100%; display: flex; align-items: center; gap: 10px; border-radius: 5px; background: transparent; padding: 10px; text-align: left; transition: background .2s; }
    .search-result:hover, .search-result:focus-visible, .use-location:hover { background: var(--surface-hover); }
    .search-result .icon, .use-location .icon { width: 17px; height: 17px; color: var(--accent); }
    .search-result-name { display: block; font-size: 13px; font-weight: 550; }
    .search-result-country { display: block; margin-top: 2px; color: var(--muted); font-size: 11px; }
    .use-location { font-size: 12px; color: var(--accent); }
    .search-message { margin: 8px 10px 12px; color: var(--muted); font-size: 12px; line-height: 1.6; }
    .language-switch { display: flex; align-items: center; gap: 8px; }
    .language-switch button { min-height: 36px; padding: 3px 2px; background: transparent; color: var(--on-hero-dim); font-size: 11px; font-weight: 550; letter-spacing: .5px; transition: color .2s; }
    .language-switch button[aria-pressed="true"] { color: var(--on-hero); font-weight: 750; text-decoration: underline var(--gold) 2px; text-underline-offset: 6px; }
    .language-divider { width: 1px; height: 12px; background: rgba(255, 255, 255, .4); margin: 0 3px; }
    .mobile-search-toggle { display: none; align-items: center; justify-content: center; width: 38px; height: 40px; background: transparent; }

    .weather-hero { overflow: hidden; background: radial-gradient(ellipse at 18% 40%, rgba(255, 255, 255, .16), transparent 60%), var(--hero); color: var(--on-hero); border-bottom: 1px solid var(--gold-line); }
    .hero-inner { padding-top: 43px; padding-bottom: 24px; }
    .hero-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; animation: arrive .65s ease both; }
    .section-eyebrow { margin: 0 0 10px; color: var(--gold); font-size: 10px; font-weight: 650; letter-spacing: 1.65px; text-transform: uppercase; }
    .place { min-width: 0; }
    .place-heading { display: flex; align-items: baseline; flex-wrap: wrap; gap: 14px; }
    .place-heading h1 { margin: 0; font-size: 43px; line-height: 1.15; letter-spacing: -1.9px; font-weight: 550; overflow-wrap: anywhere; }
    .place-country { color: var(--on-hero-soft); font-size: 13px; }
    .local-date { margin: 10px 0 0; color: var(--on-hero-soft); font-size: 12px; letter-spacing: .05px; }
    .forecast-status { flex: 0 0 auto; padding-top: 5px; text-align: right; }
    .status-label { display: inline-flex; align-items: center; gap: 7px; color: var(--on-hero-soft); font-size: 11px; }
    .status-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--live); }
    .status-label[data-state="loading"] .status-dot { animation: breathe 1.2s ease-in-out infinite; }
    .status-label[data-state="sample"] .status-dot, .status-label[data-state="offline"] .status-dot { background: var(--gold); }
    .refresh-forecast { display: flex; align-items: center; justify-content: flex-end; gap: 5px; margin-top: 7px; margin-left: auto; padding: 3px 0 3px 6px; background: transparent; color: var(--on-hero-dim); font-size: 10px; transition: color .2s; }
    .refresh-forecast:hover { color: var(--on-hero); }
    .refresh-forecast .icon { width: 11px; height: 11px; }
    .refresh-forecast:disabled .icon { animation: spin 1.8s linear infinite; }
    .weather-overview { display: grid; grid-template-columns: 330px minmax(0, 1fr); gap: 64px; align-items: start; margin-top: 37px; animation: arrive .75s .08s ease both; }
    .current-label { margin: 0 0 9px; color: var(--on-hero-soft); font-size: 12px; font-weight: 450; }
    .current-reading { display: flex; align-items: center; justify-content: space-between; gap: 4px; min-height: 125px; }
    .temperature { display: flex; flex: 0 0 auto; align-items: flex-start; white-space: nowrap; }
    .temperature-value { font-size: 119px; font-weight: 450; line-height: 1; letter-spacing: -8px; font-variant-numeric: lining-nums; }
    .temperature-unit { margin: 20px 0 0 4px; color: var(--on-hero-soft); font-size: 26px; font-weight: 400; }
    .weather-illustration { width: 151px; min-width: 76px; height: 132px; flex: 0 1 auto; margin: 0 -2px 0 -8px; animation: weather-drift 7s ease-in-out infinite; }
    .hero-weather-icon { width: 100%; height: 100%; overflow: visible; filter: drop-shadow(0 8px 6px rgba(4, 38, 78, .28)); }
    .current-condition { margin: 14px 0 0; font-size: 19px; font-weight: 500; letter-spacing: -.35px; }
    .current-feels { margin: 7px 0 0; color: var(--on-hero-soft); font-size: 12px; line-height: 1.7; }
    .current-range { margin-left: 9px; color: var(--on-hero-soft); }
    .current-range b { color: var(--on-hero); font-weight: 450; }
    .outlook-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: -3px 0 23px; }
    .outlook-heading h2 { margin: 0; font-size: 14px; font-weight: 550; letter-spacing: -.2px; }
    .range-control { position: relative; display: flex; align-items: center; }
    .range-control select { appearance: none; border: 0; border-bottom: 1px solid rgba(255, 255, 255, .55); border-radius: 0; padding: 3px 20px 5px 4px; color: var(--on-hero); background: transparent; font-size: 11px; }
    .range-control .icon { position: absolute; right: 2px; width: 12px; height: 12px; pointer-events: none; color: var(--on-hero-soft); }
    .range-control select option { color: var(--ink); background: #fff; }
    .forecast-viewport { overflow-x: auto; scrollbar-width: thin; scrollbar-color: rgba(255, 255, 255, .4) transparent; padding-bottom: 2px; }
    .forecast-track { position: relative; }
    .forecast-days { display: grid; grid-template-columns: repeat(var(--day-count, 7), minmax(0, 1fr)); }
    .forecast-day { position: relative; display: flex; flex-direction: column; align-items: center; min-width: 0; min-height: 207px; margin: 0; padding: 0 3px 5px; background: transparent; text-align: center; }
    .day-name { position: relative; color: var(--on-hero); font-size: 12px; font-weight: 550; line-height: 18px; }
    .day-name::after { content: ""; position: absolute; left: 0; right: 0; bottom: -3px; height: 1px; background: var(--gold); transform: scaleX(0); transition: transform .2s; }
    .forecast-day:hover .day-name::after, .forecast-day[aria-pressed="true"] .day-name::after { transform: scaleX(1); }
    .day-date { margin-top: 4px; color: var(--on-hero-dim); font-size: 10px; line-height: 15px; }
    .day-weather-icon { width: 44px; height: 39px; margin: 16px 0 13px; transition: transform .25s; }
    .forecast-day:hover .day-weather-icon { transform: translateY(-3px); }
    .day-temperatures { display: flex; align-items: baseline; justify-content: center; gap: 7px; line-height: 25px; }
    .day-high { font-size: 20px; font-weight: 550; letter-spacing: -.6px; }
    .day-low { color: var(--on-hero-dim); font-size: 13px; font-weight: 400; }
    .day-rain { display: flex; align-items: center; justify-content: center; gap: 3px; margin-top: 56px; color: var(--on-hero-dim); font-size: 10px; line-height: 16px; }
    .day-rain .icon { width: 10px; height: 12px; stroke-width: 1.4; }
    .day-rain.is-rainy { color: var(--rain); }
    .forecast-trend { position: absolute; top: 140px; left: 0; width: 100%; height: 48px; pointer-events: none; overflow: visible; }
    .trend-line { fill: none; stroke: rgba(255, 255, 255, .6); stroke-width: 1.5; vector-effect: non-scaling-stroke; stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw-trend 1.5s .3s ease forwards; }
    .trend-area { fill: url(#trend-fill); opacity: .65; }
    .trend-point { fill: var(--hero); stroke: #fff; stroke-width: 1.1; vector-effect: non-scaling-stroke; }
    .hero-bottom { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 29px; padding-top: 19px; border-top: 1px solid var(--hero-line); }
    .daily-note { display: flex; align-items: center; gap: 10px; margin: 0; color: var(--on-hero-soft); font-size: 12px; line-height: 1.6; }
    .daily-note .icon { width: 18px; height: 18px; color: var(--gold); }
    .hero-units { margin: 0; white-space: nowrap; font-size: 10px; color: var(--on-hero-dim); }

    .detailed-forecast { padding-top: 42px; padding-bottom: 48px; animation: arrive .7s .18s ease both; }
    .detail-heading { display: flex; justify-content: space-between; align-items: center; gap: 22px; }
    .detail-heading h2 { margin: 0; font-size: 27px; font-weight: 500; line-height: 1.3; letter-spacing: -.9px; }
    .detail-description { margin: 8px 0 0; color: var(--muted); font-size: 12px; }
    .interval-tabs { display: flex; flex: 0 0 auto; align-items: center; gap: 3px; border: 1px solid var(--line); border-radius: 7px; padding: 4px; background: var(--surface); }
    .interval-tab { padding: 9px 17px; min-height: 34px; border-radius: 4px; background: transparent; color: var(--muted); font-size: 11px; transition: background .2s, color .2s, box-shadow .2s; }
    .interval-tab[aria-selected="true"] { background: #fff; color: var(--accent); font-weight: 650; box-shadow: 0 1px 4px rgba(16, 42, 70, .14); }
    .interval-tab:hover { color: var(--ink); }
    .timeline-topline { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin: 29px 0 16px; }
    .timeline-date { margin: 0; font-size: 10px; font-weight: 550; text-transform: uppercase; color: var(--accent); letter-spacing: 1.25px; }
    .return-today { display: flex; align-items: center; gap: 5px; padding: 5px 0; background: transparent; color: var(--accent); font-size: 11px; }
    .return-today .icon { width: 12px; height: 12px; }
    .forecast-table { width: 100%; border-collapse: collapse; text-align: left; table-layout: fixed; font-variant-numeric: tabular-nums; }
    .forecast-table col:nth-child(1) { width: 15%; }
    .forecast-table col:nth-child(2) { width: 36%; }
    .forecast-table col:nth-child(3) { width: 17%; }
    .forecast-table col:nth-child(4) { width: 17%; }
    .forecast-table col:nth-child(5) { width: 15%; }
    .forecast-table thead { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
    .forecast-table th { padding: 13px 0; color: var(--muted); font-size: 10px; font-weight: 450; }
    .forecast-table th:last-child, .forecast-table td:last-child { text-align: right; }
    .forecast-table td { height: 63px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 12px; font-weight: 450; }
    .forecast-table tbody tr { transition: background .2s; }
    .forecast-table tbody tr:hover { background: rgba(13, 109, 176, .06); }
    .hour-time { display: inline-flex; align-items: center; gap: 7px; color: var(--ink); }
    .hour-time.is-now { color: var(--accent); font-weight: 650; }
    .hour-time.is-now::before { content: ""; width: 4px; height: 4px; border-radius: 50%; background: var(--accent); }
    .hour-end { display: block; margin-top: 3px; color: var(--faint); font-size: 9px; }
    .hour-conditions { display: flex; align-items: center; gap: 15px; color: var(--muted); }
    .hour-weather-icon { width: 31px; height: 29px; flex: 0 0 auto; filter: drop-shadow(0 0 .6px var(--muted)) drop-shadow(0 1px 2px rgba(16, 42, 70, .25)); }
    .hour-temperature { font-size: 15px; font-weight: 550; color: var(--ink); }
    .hour-rain { display: inline-flex; align-items: center; gap: 7px; color: var(--muted); }
    .hour-rain .icon { width: 11px; height: 14px; }
    .hour-wind { display: inline-flex; align-items: center; justify-content: flex-end; gap: 8px; color: var(--muted); }
    .hour-wind .icon { width: 12px; height: 12px; color: var(--accent); }
    .wind-unit { color: var(--muted); font-size: 10px; margin-left: -4px; }
    .timeline-bottom { display: flex; align-items: center; justify-content: center; min-height: 69px; }
    .show-more { display: inline-flex; align-items: center; gap: 9px; background: transparent; padding: 10px 18px; color: var(--accent); font-size: 11px; }
    .show-more:hover { color: var(--ink); }
    .show-more .icon { width: 12px; height: 12px; transition: transform .2s; }
    .show-more:hover .icon { transform: translateY(2px); }
    .forecast-empty { padding: 30px 0; text-align: center; color: var(--muted); font-size: 13px; }

    .site-footer { border-top: 1px solid var(--line); }
    .footer-inner { min-height: 93px; display: flex; align-items: center; justify-content: space-between; gap: 25px; }
    .footer-brand { display: flex; align-items: center; gap: 18px; }
    .footer-brand .brand-name { font-size: 18px; letter-spacing: -.8px; }
    .footer-tagline { color: var(--faint); font-size: 11px; }
    .data-credit { margin: 0; color: var(--faint); font-size: 10px; text-align: right; line-height: 1.8; }
    .data-credit a { text-decoration: none; border-bottom: 1px solid rgba(13, 109, 176, .4); }
    .data-credit a:hover { color: var(--accent); }
    .notice { position: fixed; z-index: 50; bottom: 22px; left: 50%; transform: translateX(-50%); display: flex; align-items: center; gap: 18px; width: max-content; max-width: calc(100% - 36px); padding: 14px 16px; border: 1px solid var(--line); border-radius: 7px; background: var(--paper); box-shadow: 0 5px 30px rgba(16, 42, 70, .18); color: var(--ink); font-size: 12px; line-height: 1.5; }
    .notice-close { flex: 0 0 auto; padding: 3px; background: transparent; }
    .notice-close .icon { width: 15px; height: 15px; }

    @keyframes arrive { from { opacity: 0; transform: translateY(9px); } to { opacity: 1; transform: translateY(0); } }
    @keyframes weather-drift { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
    @keyframes draw-trend { to { stroke-dashoffset: 0; } }
    @keyframes breathe { 0%, 100% { opacity: .4; } 50% { opacity: 1; } }
    @keyframes spin { to { transform: rotate(360deg); } }

    @media (min-width: 1500px) {
      .hero-inner { padding-top: 54px; padding-bottom: 28px; }
      .weather-overview { margin-top: 44px; }
      .hero-bottom { margin-top: 37px; }
      .detailed-forecast { padding-top: 48px; }
    }
    @media (max-width: 1100px) {
      .page-width { width: calc(100% - 64px); }
      .weather-overview { grid-template-columns: 285px minmax(0, 1fr); gap: 38px; }
      .temperature-value { font-size: 106px; letter-spacing: -7px; }
      .temperature-unit { margin-top: 17px; font-size: 24px; }
      .weather-illustration { width: 130px; height: 120px; }
      .day-temperatures { gap: 4px; }
      .day-high { font-size: 18px; }
      .day-low { font-size: 11px; }
      .forecast-track { min-width: calc(var(--day-count, 7) * 47px); }
      .footer-tagline { display: none; }
    }
    @media (max-width: 800px) {
      .header-inner { min-height: 76px; }
      .brand-name { font-size: 23px; }
      .header-tools { gap: 20px; }
      .location-search { width: 260px; }
      .weather-overview { grid-template-columns: 245px minmax(0, 1fr); gap: 25px; }
      .temperature-value { font-size: 93px; }
      .temperature-unit { font-size: 22px; }
      .weather-illustration { width: 112px; height: 103px; }
      .current-reading { min-height: 112px; }
      .current-range { display: block; margin-left: 0; }
      .forecast-track { min-width: calc(var(--day-count, 7) * 47px); }
      .day-high { font-size: 17px; }
      .hero-bottom { margin-top: 23px; }
      .detail-heading h2 { font-size: 25px; }
      .interval-tab { padding-inline: 12px; }
    }
    @media (max-width: 680px) {
      html { scroll-padding-top: 89px; }
      .page-width { width: calc(100% - 40px); }
      .header-inner { min-height: 69px; gap: 12px; }
      .brand { gap: 7px; }
      .brand-mark { width: 24px; height: 24px; }
      .brand-name { font-size: 21px; letter-spacing: -1px; }
      .header-tools { gap: 12px; }
      .language-switch { gap: 5px; }
      .language-switch button { font-size: 10px; }
      .language-divider { margin-inline: 2px; }
      .mobile-search-toggle { display: flex; }
      .location-search { display: none; position: absolute; top: 100%; left: 0; width: 100%; padding: 12px 20px; background: var(--header-solid); border-bottom: 1px solid var(--hero-line); box-shadow: 0 8px 14px rgba(16, 42, 70, .18); }
      .site-header.search-open .location-search { display: block; }
      .search-field { background: rgba(255, 255, 255, .14); }
      .search-input { font-size: 16px; }
      .search-shortcut { display: none; }
      .search-results { top: calc(100% - 2px); left: 20px; right: 20px; }
      .hero-inner { padding-top: 27px; padding-bottom: 19px; }
      .hero-heading { gap: 8px; align-items: flex-start; }
      .section-eyebrow { display: none; }
      .place-heading { gap: 9px; }
      .place-heading h1 { font-size: 32px; letter-spacing: -1.25px; line-height: 1.2; }
      .place-country { font-size: 11px; }
      .local-date { margin-top: 7px; font-size: 10px; }
      .forecast-status { padding-top: 2px; }
      .status-label { gap: 5px; font-size: 9px; }
      .status-dot { width: 4px; height: 4px; }
      .refresh-forecast { margin-top: 5px; font-size: 9px; }
      .refresh-forecast .icon { width: 10px; height: 10px; }
      .weather-overview { grid-template-columns: minmax(0, 1fr); gap: 26px; margin-top: 20px; }
      .current-label { display: none; }
      .current-reading { min-height: 105px; justify-content: flex-start; gap: 18px; }
      .temperature-value { font-size: 104px; letter-spacing: -6px; }
      .temperature-unit { margin-top: 16px; margin-left: 3px; font-size: 23px; }
      .weather-illustration { width: 139px; height: 115px; margin: -3px 9px -3px auto; }
      .current-description { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-top: 3px; }
      .current-condition { margin: 0; font-size: 17px; }
      .current-feels { margin: 0; font-size: 11px; }
      .current-range { display: none; }
      .outlook-heading { margin: 0 0 17px; }
      .outlook-heading h2 { font-size: 13px; }
      .range-control select { font-size: 10px; padding-bottom: 4px; }
      .forecast-day { min-height: 150px; padding: 0 1px 4px; }
      .day-name { font-size: 11px; line-height: 16px; }
      .day-date { font-size: 9px; line-height: 13px; margin-top: 3px; }
      .day-weather-icon { width: 34px; height: 29px; margin: 10px 0 9px; }
      .day-temperatures { gap: 4px; line-height: 21px; }
      .day-high { font-size: 16px; letter-spacing: -.4px; }
      .day-low { font-size: 10px; }
      .forecast-trend { top: 107px; height: 28px; }
      .day-rain { margin-top: 36px; font-size: 9px; line-height: 13px; gap: 2px; }
      .day-rain .icon { width: 9px; height: 10px; }
      .hero-bottom { margin-top: 20px; padding-top: 14px; }
      .daily-note { font-size: 11px; gap: 8px; }
      .daily-note .icon { width: 16px; height: 16px; }
      .hero-units { display: none; }
      .detailed-forecast { padding-top: 29px; padding-bottom: 22px; }
      .detail-heading { flex-wrap: wrap; gap: 20px; }
      .detail-heading h2 { font-size: 24px; letter-spacing: -.7px; }
      .detail-description { font-size: 11px; margin-top: 5px; }
      .interval-tabs { width: 100%; }
      .interval-tab { flex: 1; padding-block: 9px; }
      .timeline-topline { margin-top: 23px; margin-bottom: 12px; }
      .timeline-date { font-size: 9px; letter-spacing: 1px; }
      .forecast-table col:nth-child(1) { width: 18%; }
      .forecast-table col:nth-child(2) { width: 19%; }
      .forecast-table col:nth-child(3) { width: 18%; }
      .forecast-table col:nth-child(4) { width: 19%; }
      .forecast-table col:nth-child(5) { width: 26%; }
      .forecast-table th { padding-block: 11px; font-size: 9px; }
      .forecast-table td { height: 57px; font-size: 11px; }
      .hour-condition-name { display: none; }
      .hour-weather-icon { width: 29px; height: 26px; }
      .hour-temperature { font-size: 14px; }
      .hour-rain { gap: 4px; }
      .hour-rain .icon { width: 10px; }
      .hour-wind { gap: 5px; }
      .wind-unit { font-size: 9px; margin-left: -2px; }
      .footer-inner { min-height: 101px; gap: 12px; }
      .footer-brand .brand-name { font-size: 17px; }
      .data-credit { font-size: 9px; }
    }
    @media (max-width: 370px) {
      .page-width { width: calc(100% - 32px); }
      .header-tools { gap: 6px; }
      .brand-mark { width: 21px; height: 21px; }
      .brand-name { font-size: 19px; }
      .place-country { display: none; }
      .forecast-track { min-width: calc(var(--day-count, 7) * 43px); }
      .day-temperatures { gap: 3px; }
      .daily-note { font-size: 10px; }
      .weather-illustration { margin-right: 0; width: 125px; }
    }
    @media (prefers-reduced-motion: reduce) {
      html { scroll-behavior: auto; }
      *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
      .trend-line { stroke-dashoffset: 0; }
    }
  

/* ---- Main nav (same link structure as the site header) ---- */
.site-nav { display: flex; align-items: center; gap: 26px; }
.site-nav .nav-link { color: var(--on-hero-soft); font-size: 13px; font-weight: 600; letter-spacing: .2px; text-decoration: none; padding: 6px 2px; border-bottom: 2px solid transparent; transition: color .2s, border-color .2s; }
.site-nav .nav-link:hover { color: var(--on-hero); border-bottom-color: var(--gold); }
.site-nav .nav-link[aria-current="page"] { color: var(--on-hero); border-bottom-color: var(--gold); }
.mobile-menu-toggle { display: none; align-items: center; justify-content: center; width: 38px; height: 40px; background: transparent; color: var(--on-hero); }

/* The PHP language switch renders links, not buttons */
.language-switch a.lang-link { display: inline-flex; align-items: center; min-height: 36px; padding: 3px 2px; color: var(--on-hero-dim); font-size: 11px; font-weight: 550; letter-spacing: .5px; text-decoration: none; transition: color .2s; }
.language-switch a.lang-link:hover { color: var(--on-hero); }
.language-switch a.lang-link[aria-pressed="true"] { color: var(--on-hero); font-weight: 750; text-decoration: underline var(--gold) 2px; text-underline-offset: 6px; }

@media (max-width: 680px) {
  .mobile-menu-toggle { display: flex; }
  .site-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; padding: 6px 20px 12px; background: var(--header-solid); border-bottom: 1px solid var(--hero-line); box-shadow: 0 8px 14px rgba(16, 42, 70, .18); z-index: 1; }
  .site-header.menu-open .site-nav { display: flex; }
  .site-nav .nav-link { padding: 13px 2px; border-bottom: 1px solid var(--hero-line); font-size: 14px; }
  .site-nav .nav-link:hover { border-bottom-color: var(--hero-line); }
  .location-search { z-index: 2; }
}

