/* ════════════════════════════════════════════════════════════════════════ ui.css — Status banners, legend, about block, footer, and responsive. ════════════════════════════════════════════════════════════════════════ */ /* ── 9. STATUS & ERROR BANNERS ("Acquiring forecast data…") ────────── */ .utci-status { padding: 14px 18px; background: #f0e4c4; color: #7a5c2a; font-family: JetBrains Mono, monospace; font-size: 11px; text-align: center; letter-spacing: 0.12em; text-transform: uppercase; border: 1.5px solid #c9b08a; margin-bottom: 18px; } /* ── 10. LEGEND (thermal-stress band colours at the bottom) ────────── */ .utci-legend { margin-top: 22px; padding: 18px 20px; background: #fdf8ee; border: 1.5px solid #c9b08a; } .utci-legend-label { font-family: JetBrains Mono, monospace; font-size: 10px; text-transform: uppercase; letter-spacing: 0.18em; color: #b09870; margin-bottom: 12px; display: block; font-weight: 600; } .utci-legend-row { display: flex; flex-wrap: wrap; gap: 4px; } .utci-legend-item { padding: 6px 12px; font-family: JetBrains Mono, monospace; font-size: 10px; text-transform: uppercase; letter-spacing: 0.06em; flex: 1; min-width: 110px; text-align: center; opacity: 0.9; } /* ── 11. ABOUT + FOOTER ─────────────────────────────────────────────── */ .utci-about { margin-top: 28px; padding: 24px 28px; background: #fdf8ee; border: 1.5px solid #c9b08a; } .utci-about-heading { font-family: Fraunces, serif; font-size: 18px; font-weight: 700; color: #1e1208; margin-bottom: 14px; letter-spacing: -0.01em; } .utci-about-text { font-family: Manrope, sans-serif; font-size: 14px; line-height: 1.75; color: #4a3420; margin-bottom: 12px; max-width: 860px; /* keeps line length readable */ } .utci-about-text:last-child { margin-bottom: 0; } .utci-about-text strong { color: #1e1208; font-weight: 600; } .utci-about-text em { font-style: italic; color: #6b4f2a; } .utci-about-link { display: inline-block; margin-left: 4px; color: #c8922a; font-weight: 600; text-decoration: none; white-space: nowrap; } .utci-about-link:hover { text-decoration: underline; } .utci-footer { margin-top: 36px; padding-top: 20px; border-top: 1px solid #d4c0a0; font-family: JetBrains Mono, monospace; font-size: 10px; text-transform: uppercase; letter-spacing: 0.12em; color: #c0a880; line-height: 2.2; } /* The "Reading the table." intro snippet */ .utci-footer em { font-family: Fraunces, serif; font-style: italic; text-transform: none; letter-spacing: 0; font-size: 14px; color: #7a5c2a; } /* ── 12. RESPONSIVE (mobile) ───────────────────────────────────────── */ /* On screens narrower than 800px, stack the header vertically and shrink the dial. Add more rules in this block to tweak mobile layout further. */ @media (max-width: 800px) { .utci-app { padding: 52px 10px 32px; } .utci-header { grid-template-columns: 1fr; /* stack the 3 header columns */ text-align: center; } .header-right { align-items: center; } .utci-search-wrap { width: 100%; } .scope-ring { width: 180px; /* smaller dial on mobile */ height: 180px; margin: 0 auto; } /* Halve the hourly-table cell padding on mobile so more columns fit in the viewport before the horizontal scrollbar kicks in. */ .utci-table th { padding: 7px 6px; } .utci-table td { padding: 5px 6px; } /* Drop the compass-label text ("N", "NW"...) next to the wind vane on mobile — the vane arrow alone is enough at small sizes. */ .wind-dir-label { display: none; } }