:root {
    color-scheme: light;
    --navy-950: #061a2c;
    --navy-900: #08233a;
    --navy-800: #0b3554;
    --ocean-700: #0877a8;
    --cyan-500: #20c4de;
    --cyan-300: #7de7f0;
    --paper: #f3f7f9;
    --surface: #ffffff;
    --line: #d8e4ea;
    --ink: #102b3d;
    --muted: #607989;
    --plot-width: 100%;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--ink);
    background: var(--paper);
    font-synthesis: none;
    text-rendering: optimizeLegibility;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 68px; }
body { margin: 0; min-width: 320px; background: var(--paper); }
button, input, select { font: inherit; }
button, a, select { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
button { color: inherit; }
.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; }

.site-header { position: relative; z-index: 5; display: flex; align-items: center; gap: 26px; height: 58px; padding: 0 clamp(20px, 3vw, 46px); color: #f2fbff; background: var(--navy-950); border-bottom: 1px solid rgba(125, 231, 240, .14); }
.brand { display: inline-flex; align-items: center; gap: 8px; flex: 0 0 auto; font-size: 18px; font-weight: 760; letter-spacing: 0; }
.brand-mark { color: var(--cyan-500); font-size: 30px; line-height: 1; transform: rotate(-12deg); }
.brand-ai { color: var(--cyan-300); }
.primary-nav { display: flex; align-items: stretch; align-self: stretch; gap: 25px; }
.primary-nav a { display: inline-flex; align-items: center; gap: 5px; color: #c4d5e0; font-size: 12px; border-bottom: 2px solid transparent; }
.primary-nav a:hover, .primary-nav a.active { color: #fff; border-color: var(--cyan-500); }
.spot-search { display: flex; align-items: center; gap: 9px; width: min(260px, 23vw); height: 34px; margin-left: auto; padding: 0 11px; color: #d3e2ec; background: #113957; border: 1px solid rgba(181, 221, 238, .12); border-radius: 7px; }
.spot-search span { font-size: 22px; line-height: 1; }
.spot-search input { width: 100%; min-width: 0; color: white; background: transparent; border: 0; outline: 0; font-size: 11px; }
.spot-search input::placeholder { color: #b5c9d6; }
.icon-button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-width: 32px; padding: 6px 2px; color: #f3fbff; background: transparent; border: 0; cursor: pointer; }
.favorite-toggle span:first-child { color: #ffca52; font-size: 20px; }
.favorite-toggle[aria-pressed="true"] span:first-child { color: #ffca52; }
.favorite-text { font-size: 11px; }
.menu-toggle { font-size: 20px; }

.spot-hero { position: relative; isolation: isolate; min-height: 246px; overflow: hidden; color: #fff; background-color: #0c405d; background-image: linear-gradient(110deg, #061c30 0%, #0a3b57 52%, #0a304b 100%); background-position: center; background-size: cover; }
.hero-photo { position: absolute; z-index: -2; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 48%; }
.spot-hero::before { position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg, rgba(3, 24, 42, .88) 0%, rgba(4, 34, 53, .64) 42%, rgba(4, 28, 46, .62) 100%), linear-gradient(0deg, rgba(4, 28, 45, .36), transparent 68%); content: ""; }
.spot-hero::after { position: absolute; z-index: -1; inset: auto 0 0; height: 60px; background: linear-gradient(0deg, rgba(4, 28, 45, .56), transparent); content: ""; }
.hero-inner { display: grid; grid-template-columns: minmax(245px, 1.1fr) minmax(480px, 2.25fr) minmax(250px, .95fr); align-items: end; gap: clamp(16px, 2.2vw, 34px); width: min(100%, 1600px); min-height: inherit; margin: auto; padding: 27px clamp(20px, 3vw, 46px) 24px; }
.spot-intro { align-self: center; min-width: 0; }
.eyebrow, .section-kicker { display: inline-flex; align-items: center; gap: 7px; color: #a5f1f6; font-size: 11px; font-weight: 700; }
.pin-dot { width: 8px; height: 8px; background: var(--cyan-500); border: 2px solid #e1fbff; border-radius: 50%; box-shadow: 0 0 0 3px rgba(32, 196, 222, .2); }
.spot-intro h1 { overflow-wrap: anywhere; margin: 6px 0 4px; font-size: clamp(25px, 2.6vw, 37px); line-height: 1.05; letter-spacing: 0; }
.spot-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; color: #d1e7f1; font-size: 10px; }
.spot-meta a { color: #9ff0f5; font-weight: 650; }
.spot-controls { display: flex; gap: 8px; margin-top: 17px; }
.spot-controls select { max-width: 50%; min-width: 0; height: 31px; padding: 0 24px 0 9px; color: #ecfaff; background: rgba(6, 35, 56, .78); border: 1px solid rgba(189, 231, 241, .35); border-radius: 5px; font-size: 10px; }
.hero-metrics { display: flex; align-items: center; justify-content: space-between; gap: clamp(9px, 1.3vw, 22px); min-width: 0; padding: 10px 0; }
.hero-wave, .hero-metric { display: flex; align-items: center; gap: 9px; min-width: 0; }
.hero-wave { min-width: 128px; }
.metric-icon { flex: 0 0 auto; color: var(--cyan-300); font-size: 24px; }
.hero-wave .metric-icon { font-size: 34px; }
.hero-metric > div, .hero-wave > div { display: grid; gap: 3px; min-width: 0; }
.hero-metric small { color: #b9d5e1; font-size: 8px; line-height: 1.25; white-space: nowrap; }
.hero-metric strong, .hero-wave strong { white-space: nowrap; font-size: clamp(14px, 1.45vw, 20px); line-height: 1; }
.hero-wave strong { font-size: clamp(20px, 2vw, 28px); }
.hero-metric span:last-child, .hero-wave span:last-child { color: #c2dce7; font-size: 9px; white-space: nowrap; }
.condition-badge { display: inline-flex; align-items: center; gap: 5px; flex: 0 0 auto; padding: 8px 11px; color: #052b42; background: var(--cyan-300); border: 1px solid rgba(225, 255, 255, .65); border-radius: 5px; font-size: 10px; font-weight: 800; }
.condition-badge.status-unknown { color: #e8f0f4; background: #667c89; border-color: rgba(241, 248, 251, .5); }
.condition-badge.status-epic, .status-epic { color: #052b42; background: #72e8f3; }
.condition-badge.status-good, .status-good { color: #07364e; background: #20c4de; }
.condition-badge.status-fair, .status-fair { color: #fff; background: #667bd1; }
.condition-badge.status-poor, .status-poor { color: #edf4f8; background: #405362; }
.condition-badge.status-flat, .status-flat { color: #365b6d; background: #dce9ef; }
.status-symbol { color: #087da2; }
.ai-panel { align-self: center; padding: 15px 16px 14px; background: rgba(4, 30, 51, .79); border: 1px solid rgba(151, 226, 240, .34); border-radius: 9px; box-shadow: 0 10px 24px rgba(0, 18, 30, .18); backdrop-filter: blur(8px); }
.ai-panel h2 { display: flex; align-items: center; gap: 8px; margin: 0 0 9px; font-size: 13px; }
.ai-panel h2 span { color: #9ff2f4; }
.ai-panel p { min-height: 42px; margin: 0 0 12px; color: #d8eaf1; font-size: 11px; line-height: 1.5; }
.best-window { display: flex; align-items: center; justify-content: space-between; gap: 7px; min-height: 31px; padding: 0 10px; color: #08314a; background: linear-gradient(90deg, #9df1f0, #54d5e7); border-radius: 5px; font-size: 10px; }
.best-window strong { white-space: nowrap; }
.best-window span:nth-last-child(2) { margin-left: auto; font-weight: 750; }

.page-shell { width: min(100% - 48px, 1480px); margin: 0 auto; }
.ad-slot { display: flex; align-items: center; justify-content: center; gap: 14px; color: #54758a; background: linear-gradient(105deg, #e6f1f5, #f8fbfc 48%, #eaf4f7); border: 1px solid #d9e8ed; border-radius: 3px; }
.ad-slot > span { align-self: flex-start; margin: 7px 0 0 8px; color: #7894a4; font-size: 8px; letter-spacing: .04em; }
.ad-slot strong { color: #1c526c; font-size: 12px; }
.ad-slot small { font-size: 9px; }
.ad-leaderboard { min-height: 75px; margin: 13px 0 17px; }
.ad-rectangle { display: flex; min-height: 200px; margin-top: 17px; flex-direction: column; gap: 7px; text-align: center; }
.ad-rectangle > span { align-self: auto; margin: 0; }
.ad-mid { min-height: 76px; margin: 23px auto 25px; }

.forecast-workspace { padding: 0 0 20px; }
.workspace-heading { display: flex; align-items: center; justify-content: space-between; gap: 15px; min-height: 42px; border-bottom: 1px solid var(--line); }
.workspace-tabs { display: flex; align-self: stretch; gap: 4px; }
.workspace-tabs a, .workspace-tabs button { display: inline-flex; align-items: center; padding: 0 14px; color: #577184; background: transparent; border: 0; border-bottom: 2px solid transparent; font-size: 11px; cursor: pointer; }
.workspace-tabs a.selected, .workspace-tabs button.selected { color: #0877be; border-color: #18a8dd; font-weight: 750; }
.workspace-tabs button:focus-visible, .day-chip:focus-visible, .timeline-controls button:focus-visible { outline: 3px solid #16a8d1; outline-offset: 2px; }
.maps-shortcut { align-self: center; color: #1782a9; font-size: 11px; font-weight: 700; }
.timeline-controls { display: flex; align-items: center; gap: 8px; }
.timeline-controls button { width: 28px; height: 28px; color: #24485c; background: #fff; border: 1px solid var(--line); border-radius: 5px; font-size: 19px; cursor: pointer; }
.timeline-controls strong { min-width: 103px; text-align: center; font-size: 11px; }
.timeline-controls select { height: 28px; padding: 0 7px; color: #46677a; background: white; border: 1px solid var(--line); border-radius: 5px; font-size: 10px; }
.forecast-layout { display: grid; grid-template-columns: minmax(0, 1fr) 230px; gap: 16px; padding-top: 11px; }
#forecast-panel[hidden] { display: none; }
.forecast-workspace[data-view="graphs"] .forecast-layout { grid-template-columns: minmax(0, 1fr); }
.forecast-workspace[data-view="graphs"] .quick-summary { display: none; }
.forecast-main { min-width: 0; overflow: hidden; background: var(--surface); border: 1px solid #d9e5ea; border-radius: 7px; box-shadow: 0 2px 7px rgba(22, 66, 92, .035); }
.timeline-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 11px 13px 8px; }
.timeline-toolbar h2 { margin: 0; font-size: 13px; }
.swipe-note { color: #688597; font-size: 9px; }
.forecast-scroller { width: 100%; overflow-x: auto; overscroll-behavior-x: contain; scrollbar-color: #8ab9ca #eaf1f4; scrollbar-width: thin; -webkit-overflow-scrolling: touch; touch-action: pan-x pan-y; }
.forecast-track { width: 100%; min-width: 740px; }
.day-strip { display: flex; min-height: 35px; overflow: hidden; padding-left: 122px; border-top: 1px solid #e5edf1; border-bottom: 1px solid #dbe7ec; background: #f8fbfc; }
.day-chip { display: flex; flex: 1 1 0; align-items: center; justify-content: center; min-width: 0; padding: 0 5px; color: #31536a; background: transparent; border: 0; border-right: 1px solid #e2ebef; font-size: 9px; font-weight: 700; cursor: pointer; }
.day-chip.is-selected { color: #07577f; background: #e1f7fb; box-shadow: inset 0 -2px #16a8d1; }
.plot-row { display: grid; grid-template-columns: 122px minmax(0, 1fr); min-height: 105px; border-bottom: 1px solid #e4edf1; }
.plot-label { position: sticky; left: 0; z-index: 2; display: flex; align-items: center; gap: 8px; padding: 0 10px; color: #375d73; background: #fff; border-right: 1px solid #e2ebef; font-size: 10px; font-weight: 650; }
.plot-label span:first-child { color: #138db3; font-size: 17px; }
.plot-canvas { position: relative; min-width: 0; height: 104px; padding: 5px 4px 3px; }
.plot-canvas canvas { display: block; width: 100% !important; height: 100% !important; }
.model-note { margin: 0; padding: 8px 12px; color: #6d8797; background: #fbfdfe; font-size: 9px; }
.quick-summary { min-width: 0; padding: 13px 13px 12px; background: #fff; border: 1px solid #d9e5ea; border-radius: 7px; }
.summary-heading { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.summary-heading h2 { margin: 0; font-size: 13px; }
.summary-heading button { padding: 3px; color: #1688bb; background: none; border: 0; font-size: 9px; cursor: pointer; }
.quick-summary dl { margin: 9px 0 0; }
.quick-summary dl > div { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 4px; padding: 9px 0; border-bottom: 1px solid #e7eef1; }
.quick-summary dt { display: flex; align-items: center; gap: 7px; color: #6b8595; font-size: 9px; }
.quick-summary dt span { color: #158caf; font-size: 15px; }
.quick-summary dd { margin: 0; color: #183c52; font-size: 11px; font-weight: 750; text-align: right; }
.best-time { display: grid; gap: 5px; margin-top: 10px; padding: 11px 10px; background: #e8f8fb; border: 1px solid #c8ecf1; border-radius: 5px; }
.best-time span { color: #478097; font-size: 8px; font-weight: 750; letter-spacing: .04em; }
.best-time strong { font-size: 13px; }
.best-time small { color: #6e8999; font-size: 9px; line-height: 1.35; }
.nearby-mini { margin-top: 16px; }
.nearby-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 7px; }
.nearby-mini h3 { margin: 0 0 5px; font-size: 11px; }
.nearby-heading > span { color: #7690a0; font-size: 8px; }
.nearby-mini p, .nearby-mini a { color: #6a8493; font-size: 9px; line-height: 1.45; }
.nearby-mini a { color: #087fac; font-weight: 700; }
.nearby-list { display: grid; gap: 6px; }
.nearby-row { display: grid; gap: 5px; padding: 8px 0; border-top: 1px solid #e7eef1; }
.nearby-spot { display: flex; align-items: center; justify-content: space-between; gap: 7px; padding: 0; color: #24485c; background: none; border: 0; text-align: left; cursor: pointer; }
.nearby-spot strong { overflow: hidden; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.nearby-spot span { flex: 0 0 auto; color: #718a98; font-size: 8px; }
.nearby-values { display: flex; flex-wrap: wrap; gap: 8px; color: #718a98; font-size: 8px; }
.nearby-values b { color: #35576a; font-size: 9px; }
.nearby-status { display: flex; align-items: center; justify-content: space-between; }
.status-unknown { display: inline-flex; padding: 3px 5px; color: #5a6e7a; background: #edf2f4; border-radius: 3px; font-size: 7px; font-weight: 800; }
.nearby-favorite { min-width: 27px; min-height: 27px; color: #167da3; background: transparent; border: 0; font-size: 17px; cursor: pointer; }
.nearby-favorite:focus-visible, .nearby-spot:focus-visible, .app-downloads a:focus-visible { outline: 3px solid #16a8d1; outline-offset: 2px; }
.error-message { padding: 10px 12px; color: #7a351e; background: #fff3ec; border: 1px solid #f2c7ae; border-radius: 5px; font-size: 12px; }
.forecast-table-panel { margin-top: 11px; overflow: hidden; background: #fff; border: 1px solid #d9e5ea; border-radius: 7px; }
.forecast-table-panel[hidden] { display: none; }
.table-toolbar { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 13px 14px; border-bottom: 1px solid var(--line); }
.table-toolbar h2 { margin: 0; font-size: 14px; }
.table-toolbar span { color: var(--muted); font-size: 10px; }
.forecast-table-scroll { max-height: 540px; overflow: auto; overscroll-behavior: contain; }
.forecast-data-table { width: 100%; min-width: 920px; border-collapse: collapse; font-size: 11px; white-space: nowrap; }
.forecast-data-table th, .forecast-data-table td { padding: 9px 10px; text-align: right; border-bottom: 1px solid #e7eef1; }
.forecast-data-table thead th { position: sticky; z-index: 1; top: 0; color: #33596e; background: #f4f9fb; font-size: 10px; }
.forecast-data-table th:first-child, .forecast-data-table td:first-child { position: sticky; left: 0; text-align: left; background: #fff; }
.forecast-data-table thead th:first-child { z-index: 2; background: #f4f9fb; }
.forecast-data-table tbody tr:nth-child(even) td { background: #fbfdfe; }
.forecast-data-table tbody tr:nth-child(even) th { background: #fbfdfe; }

.map-section { padding: 8px 0 0; }
.days-section { padding: 22px 0 0; }
.days-note { color: #6a8493; font-size: 10px; }
.days-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.day-watch { display: grid; gap: 5px; min-width: 0; padding: 12px; background: #fff; border: 1px solid #dce7ec; border-radius: 5px; }
.day-watch > span { color: #4f7286; font-size: 10px; font-weight: 750; }
.day-watch > strong { color: #087dad; font-size: 18px; }
.day-watch > small { color: #708a99; font-size: 9px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 12px; margin-bottom: 11px; }
.section-heading h2 { margin: 3px 0 0; color: #143a52; font-size: 21px; }
.section-heading .section-kicker { color: #27809e; font-size: 8px; letter-spacing: .08em; }
.section-heading > a { color: #1382ae; font-size: 10px; font-weight: 700; }
.map-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 11px; }
.map-card { min-width: 0; padding: 8px; overflow: hidden; background: white; border: 1px solid #dce7ec; border-radius: 6px; }
.map-card-heading { display: flex; align-items: center; justify-content: space-between; gap: 6px; margin-bottom: 7px; }
.map-card-heading h3 { overflow: hidden; margin: 0; color: #32566b; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.map-card-heading small { color: #78909e; font-weight: 500; }
.map-open { color: #178db4; font-size: 14px; }
.map-card img { display: block; width: 100%; height: auto; min-height: 95px; aspect-ratio: 1.8; object-fit: cover; background: #e9f1f4; border-radius: 3px; }
.map-legend { display: grid; grid-template-columns: auto minmax(35px, 1fr) auto; align-items: center; gap: 7px; margin-top: 7px; color: #688394; font-size: 8px; }
.map-legend i { display: block; height: 5px; border-radius: 5px; }
.legend-wave { background: linear-gradient(90deg, #e9f4fb, #a8cee7, #4e95c7, #0d4c8a); }
.legend-period { background: linear-gradient(90deg, #f0edfa, #c4b7e7, #8272bd, #46377f); }
.legend-wind { background: linear-gradient(90deg, #eff6fb, #b2d1e8, #5b9ac7, #174f8d); }
.legend-water { background: linear-gradient(90deg, #fac85d, #e95441); }
.map-time { display: block; margin-top: 5px; color: #78909e; font-size: 8px; }
.lower-content { padding-bottom: 40px; }
.seasonal-panel { margin: 22px 0 14px; padding: 14px 16px; background: #fff; border: 1px solid #dce7ec; border-radius: 6px; }
.seasonal-panel summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; color: #244b61; font-size: 12px; font-weight: 750; cursor: pointer; }
.seasonal-panel summary span { color: #728d9c; font-size: 10px; font-weight: 500; }
.seasonal-panel p { color: #658090; font-size: 11px; }
.app-promo { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 90px; padding: 16px 24px; color: #fff; background-color: #082b46; background-image: linear-gradient(90deg, rgba(5, 27, 47, .96), rgba(6, 42, 65, .77) 52%, rgba(7, 37, 59, .48)), url('../images/kite-session.webp'); background-position: center 58%; background-size: cover; border-radius: 6px; }
.app-promo .section-kicker { color: #83e8ee; font-size: 8px; letter-spacing: .08em; }
.app-promo h2 { margin: 3px 0; font-size: 17px; }
.app-promo p { margin: 0; color: #d1e7ef; font-size: 10px; }
.app-downloads { display: flex; flex: 0 0 auto; flex-wrap: wrap; gap: 8px; }
.app-downloads a { padding: 10px 13px; color: #072b43; background: #8ce9ee; border: 1px solid rgba(220, 255, 255, .55); border-radius: 5px; font-size: 10px; font-weight: 750; }
.app-downloads a:hover { background: #b8f5f5; }
.seo-copy { max-width: 760px; padding: 22px 2px; }
.seo-copy h2 { margin: 0 0 6px; font-size: 17px; }
.seo-copy p { margin: 0; color: #698392; font-size: 11px; line-height: 1.7; }
.mobile-bottom-nav { display: none; }

@media (min-width: 1500px) {
    .hero-inner { grid-template-columns: minmax(265px, 1fr) minmax(560px, 2fr) minmax(280px, .9fr); }
}
@media (max-width: 1199px) {
    .site-header { gap: 18px; }
    .primary-nav { gap: 17px; }
    .hero-inner { grid-template-columns: minmax(210px, .9fr) minmax(400px, 1.8fr); }
    .ai-panel { display: none; }
    .forecast-layout { grid-template-columns: minmax(0, 1fr) 205px; }
    .map-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 850px) {
    .site-header { height: 54px; padding: 0 18px; }
    .primary-nav { display: none; }
    .spot-search { width: min(250px, 35vw); }
    .hero-inner { grid-template-columns: minmax(0, 1fr); gap: 8px; padding-top: 20px; padding-bottom: 18px; }
    .spot-intro { display: grid; grid-template-columns: 1fr auto; align-items: end; }
    .spot-intro .eyebrow, .spot-intro h1, .spot-meta, .spot-controls { grid-column: 1 / -1; }
    .spot-controls { margin-top: 10px; }
    .spot-controls select { flex: 1; max-width: 260px; height: 34px; font-size: 11px; }
    .hero-metrics { justify-content: flex-start; gap: clamp(12px, 3vw, 24px); overflow-x: auto; }
    .hero-metric strong { font-size: 15px; }
    .hero-wave { min-width: 114px; }
    .hero-wave strong { font-size: 23px; }
    .condition-badge { padding: 7px 9px; }
    .ai-panel { display: block; max-width: 460px; padding: 12px; }
    .ai-panel p { min-height: 0; margin-bottom: 9px; }
    .page-shell { width: min(100% - 32px, 760px); }
    .forecast-workspace { display: grid; grid-template-columns: minmax(0, 1fr); }
    .forecast-layout { display: contents; }
    .forecast-layout[hidden] { display: none; }
    .workspace-heading { grid-row: 1; }
    .forecast-main { grid-row: 2; }
    .map-section { grid-row: 3; }
    .quick-summary { grid-row: 4; }
    .forecast-table-panel { grid-row: 5; }
    #forecast-error { grid-row: 6; }
    .forecast-workspace[data-view="table"] .forecast-table-panel { grid-row: 2; }
    .forecast-workspace[data-view="table"] .map-section { grid-row: 3; }
    .forecast-workspace[data-view="table"] #forecast-error { grid-row: 4; }
    .forecast-layout { grid-template-columns: minmax(0, 1fr); }
    .quick-summary { display: grid; grid-template-columns: 1fr 1fr; gap: 0 15px; }
    .summary-heading, .quick-summary dl { grid-column: 1 / -1; }
    .quick-summary dl { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
    .ad-rectangle { min-height: 80px; grid-column: 1 / -1; }
    .nearby-mini { grid-column: 1 / -1; }
    .nearby-list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
    .nearby-row { min-width: 0; }
}
@media (max-width: 600px) {
    html { scroll-padding-top: 54px; }
    body { padding-bottom: calc(58px + env(safe-area-inset-bottom)); }
    .site-header { gap: 11px; height: 51px; padding: 0 14px; }
    .brand { gap: 5px; font-size: 16px; }
    .brand-mark { font-size: 25px; }
    .spot-search { width: auto; flex: 1; max-width: 190px; height: 31px; margin-left: auto; }
    .spot-search input { font-size: 10px; }
    .favorite-toggle { min-width: 25px; }
    .favorite-toggle span:first-child { font-size: 22px; }
    .favorite-text { display: none; }
    .menu-toggle { padding: 2px; font-size: 19px; }
    .spot-hero { min-height: 0; background-position: center; }
    .hero-photo { object-position: 33% center; }
    .hero-inner { gap: 8px; padding: 17px 16px 15px; }
    .spot-intro h1 { margin-top: 5px; font-size: clamp(25px, 7vw, 31px); }
    .spot-meta { gap: 9px; font-size: 9px; }
    .spot-controls { gap: 7px; margin-top: 9px; }
    .spot-controls select { height: 33px; }
    .hero-metrics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: center; gap: 11px 8px; margin: 0; padding: 8px 0 4px; overflow: visible; }
    .hero-wave { grid-column: span 2; min-width: 0; gap: 5px; }
    .hero-wave .metric-icon { font-size: 27px; }
    .hero-wave strong { font-size: 20px; }
    .hero-metric { min-width: 0; gap: 5px; }
    .hero-metric .metric-icon { font-size: 19px; }
    .hero-metric strong { font-size: 12px; }
    .hero-metric span:last-child, .hero-wave span:last-child { font-size: 8px; }
    .hero-metric small { font-size: 7px; }
    .condition-badge { gap: 3px; padding: 6px 7px; font-size: 9px; }
    .ai-panel { padding: 10px 11px; }
    .ai-panel h2 { margin-bottom: 5px; font-size: 12px; }
    .ai-panel p { font-size: 10px; }
    .best-window { min-height: 30px; font-size: 9px; }
    .page-shell { width: 100%; }
    .ad-slot { border-radius: 0; }
    .ad-leaderboard { min-height: 50px; margin: 0 0 8px; gap: 8px; }
    .ad-leaderboard > span { margin: 6px 0 0 6px; font-size: 7px; }
    .ad-leaderboard strong { font-size: 10px; }
    .ad-leaderboard small { display: none; }
    .workspace-heading { align-items: stretch; flex-direction: column; gap: 0; padding: 0 12px; }
    .workspace-tabs { min-height: 38px; }
    .workspace-tabs a, .workspace-tabs button { padding: 0 10px; font-size: 10px; }
    .maps-shortcut { display: none; }
    .timeline-controls { justify-content: flex-end; min-height: 38px; }
    .timeline-controls strong { margin-right: auto; text-align: left; }
    .forecast-layout { gap: 9px; padding: 7px 10px 0; }
    .forecast-main { border-radius: 6px; }
    .timeline-toolbar { padding: 9px 10px 7px; }
    .timeline-toolbar h2 { font-size: 12px; }
    .swipe-note { max-width: 155px; text-align: right; font-size: 8px; }
    .forecast-scroller { overscroll-behavior-x: contain; }
    .forecast-track { width: 1400px; min-width: 1400px; }
    .day-strip { width: 1400px; min-height: 36px; padding-left: 97px; }
    .day-chip { flex: 0 0 calc(1400px / 9); font-size: 10px; }
    .plot-row { grid-template-columns: 97px 1fr; min-height: 102px; }
    .plot-label { gap: 6px; padding: 0 7px; font-size: 9px; }
    .plot-label span:first-child { font-size: 15px; }
    .plot-canvas { width: 1303px; height: 101px; padding: 4px 0; }
    .plot-canvas canvas { width: 1303px !important; height: 91px !important; }
    .model-note { font-size: 8px; }
    .quick-summary { margin: 0 0 3px; padding: 11px; }
    .quick-summary dl > div { padding: 8px 0; }
    .ad-rectangle { min-height: 50px; margin-top: 10px; }
    .ad-rectangle strong { font-size: 10px; }
    .ad-rectangle small { display: none; }
    .map-section { padding: 13px 12px 0; }
    .days-section { padding: 16px 12px 0; }
    .days-section .section-heading { align-items: flex-start; flex-direction: column; gap: 4px; }
    .days-grid { grid-template-columns: 1fr; gap: 7px; }
    .day-watch { grid-template-columns: 1fr auto; align-items: center; gap: 3px 10px; padding: 9px 10px; }
    .day-watch > span, .day-watch > small { grid-column: 1; }
    .day-watch > strong { grid-column: 2; grid-row: 1 / span 3; }
    .section-heading h2 { font-size: 19px; }
    .map-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
    .map-card { padding: 6px; }
    .map-card img { min-height: 82px; }
    .map-card-heading h3 { font-size: 9px; }
    .ad-mid { min-height: 50px; margin: 14px 0; }
    .ad-mid small { display: none; }
    .lower-content { padding: 0 12px 17px; }
    .seasonal-panel { margin-top: 12px; padding: 12px; }
    .seasonal-panel summary { align-items: flex-start; flex-direction: column; gap: 4px; }
    .app-promo { align-items: flex-start; flex-direction: column; gap: 12px; min-height: 0; padding: 16px; }
    .app-downloads { width: 100%; }
    .app-downloads a { flex: 1 1 auto; text-align: center; }
    .app-promo h2 { font-size: 16px; }
    .mobile-bottom-nav { position: fixed; z-index: 8; right: 0; bottom: 0; left: 0; display: grid; grid-template-columns: repeat(5, 1fr); min-height: 55px; padding: 5px 5px calc(5px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .97); border-top: 1px solid #d8e5eb; box-shadow: 0 -4px 16px rgba(12, 47, 67, .08); backdrop-filter: blur(12px); }
    .mobile-bottom-nav a, .mobile-bottom-nav button { display: grid; align-content: center; justify-items: center; gap: 1px; color: #627e8f; background: transparent; border: 0; font-size: 8px; }
    .mobile-bottom-nav a span, .mobile-bottom-nav button span { color: #296f90; font-size: 17px; line-height: 1.1; }
    .mobile-bottom-nav .active { color: #087fb1; font-weight: 750; }
    .mobile-bottom-nav .active span { color: #0a9dce; }
}
@media (max-width: 375px) {
    .hero-metrics { gap: 9px; }
    .hero-wave { gap: 3px; }
    .hero-wave strong { font-size: 18px; }
    .hero-metric { gap: 3px; }
    .hero-metric strong { font-size: 11px; }
    .hero-metric .metric-icon { font-size: 17px; }
    .condition-badge { padding-inline: 5px; }
    .spot-controls select { max-width: 50%; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
}