#rm-spot-detail { max-width: 920px; margin: 0 auto; padding: var(--rm-space-6) var(--rm-space-5); }

.rm-back-link {
    display: inline-flex;
    align-items: center;
    font-size: 0.86rem;
    font-weight: 600;
    color: var(--rm-fog);
    text-decoration: none !important;
    margin-bottom: var(--rm-space-4);
}
.rm-back-link:hover { color: var(--rm-moss); }
.rm-spot-loading, .rm-spot-error { text-align: center; padding: var(--rm-space-7); color: var(--rm-fog); }

.rm-spot-hero {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: var(--rm-space-4);
    margin-bottom: var(--rm-space-5);
    flex-wrap: wrap;
}
.rm-spot-hero-inner h1 { margin: var(--rm-space-2) 0 var(--rm-space-2); }
.rm-spot-hero-meta { font-size: 0.85rem; color: var(--rm-fog); display: flex; gap: var(--rm-space-2); flex-wrap: wrap; }
.rm-coordinate-copy {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.rm-copy-coordinates {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    margin: -4px 0;
    padding: 0;
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: var(--rm-fog);
    cursor: pointer;
}
.rm-copy-coordinates:hover { background: var(--rm-fog-light); color: var(--rm-moss-dark); }
.rm-copy-coordinates:focus-visible { outline: 2px solid var(--rm-clay); outline-offset: 2px; }
.rm-copy-coordinates--copied { color: var(--rm-moss); }
.rm-copy-coordinates-status {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
.rm-spot-hero-actions { display: flex; gap: var(--rm-space-2); flex-shrink: 0; }

/* Staging prototype: contained 3D satellite flyover. */
.rm-flyover {
    position: fixed;
    inset: 0;
    z-index: 4000;
    display: grid;
    place-items: center;
    padding: clamp(12px, 3vw, 36px);
    background: rgba(8, 17, 12, .82);
    backdrop-filter: blur(6px);
}
.rm-flyover-dialog {
    position: relative;
    width: min(1120px, 100%);
    height: min(720px, calc(100vh - 48px));
    min-height: 420px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: clamp(16px, 2.5vw, 28px);
    background: #142219;
    box-shadow: 0 30px 90px rgba(0, 0, 0, .48);
}
.rm-flyover-dialog .rm-flyover-map {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}
.rm-flyover-shade {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(4, 12, 7, .54), transparent 28%, transparent 68%, rgba(4, 12, 7, .32));
}
.rm-flyover-heading {
    position: absolute;
    z-index: 2;
    top: clamp(18px, 3vw, 32px);
    left: clamp(18px, 3vw, 34px);
    max-width: calc(100% - 190px);
    color: #fff;
    pointer-events: none;
    text-shadow: 0 2px 12px rgba(0, 0, 0, .72);
}
.rm-flyover-heading h2 {
    margin: 2px 0 0;
    color: #fff;
    font-size: clamp(1.35rem, 3.5vw, 2.4rem);
    font-weight: 650 !important;
}
.rm-flyover-kicker {
    font-size: .72rem;
    font-weight: 750;
    letter-spacing: .12em;
    text-transform: uppercase;
}
.rm-flyover-controls {
    position: absolute;
    z-index: 3;
    top: clamp(14px, 2.5vw, 24px);
    right: clamp(14px, 2.5vw, 24px);
    display: flex;
    align-items: center;
    gap: 10px;
}
.rm-flyover-replay,
.rm-flyover-close {
    border: 1px solid rgba(255, 255, 255, .4);
    color: #fff;
    background: rgba(10, 23, 15, .72);
    box-shadow: 0 5px 18px rgba(0, 0, 0, .25);
    cursor: pointer;
}
.rm-flyover-replay { min-height: 42px; padding: 0 16px; border-radius: 99px; font: inherit; font-size: .83rem; font-weight: 700; }
.rm-flyover-close { width: 44px; height: 44px; border-radius: 50%; font-size: 2rem; line-height: 1; }
.rm-flyover-replay:hover,
.rm-flyover-close:hover { background: rgba(33, 69, 47, .92); }
.rm-flyover-replay:focus-visible,
.rm-flyover-close:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.rm-flyover-loading {
    position: absolute;
    z-index: 2;
    left: 50%;
    bottom: 28px;
    transform: translateX(-50%);
    padding: 9px 14px;
    border-radius: 99px;
    color: #fff;
    background: rgba(10, 23, 15, .78);
    font-size: .82rem;
}
.rm-flyover .maplibregl-ctrl-bottom-left,
.rm-flyover .maplibregl-ctrl-bottom-right { z-index: 2; }

@media (max-width: 640px) {
    .rm-flyover { padding: 0; }
    .rm-flyover-dialog { width: 100%; height: 100%; min-height: 0; border: 0; border-radius: 0; }
    .rm-flyover-heading { max-width: calc(100% - 72px); }
    .rm-flyover-replay { position: fixed; right: 16px; bottom: 28px; }
}

.rm-spot-banner { margin-bottom: var(--rm-space-5); }
.rm-shared-banner { margin-bottom: var(--rm-space-5); }

.rm-spot-tabs {
    display: flex;
    gap: var(--rm-space-5);
    border-bottom: 2px solid var(--rm-fog-light);
    margin-bottom: var(--rm-space-5);
}
.rm-tab {
    background: none;
    border: none;
    padding: var(--rm-space-3) 0;
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--rm-fog);
    cursor: pointer;
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
}
.rm-tab--active { color: var(--rm-moss); border-bottom-color: var(--rm-moss); }

.rm-spot-description,
.rm-spot-description.ql-editor { font-size: 0.98rem; line-height: 1.7; margin-bottom: var(--rm-space-5); padding: 0; }
.rm-preserve-plain-text { white-space: pre-wrap; overflow-wrap: anywhere; }
.rm-spot-description > :first-child { margin-top: 0; }
.rm-spot-description > :last-child { margin-bottom: 0; }
.rm-spot-description a { color: var(--rm-moss); text-decoration: underline; }

.rm-contact-block {
    background: var(--rm-white);
    border: 1px solid var(--rm-fog-light);
    border-radius: var(--rm-radius-sm);
    padding: var(--rm-space-4);
    margin-bottom: var(--rm-space-5);
}
.rm-contact-line {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--rm-forest);
}
.rm-contact-line a { color: var(--rm-moss); text-decoration: none; }
.rm-contact-line a:hover { text-decoration: underline; }

.rm-amenity-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: var(--rm-space-3);
    margin-bottom: var(--rm-space-5);
}

.rm-amenity {
    background: var(--rm-white);
    border: 1px solid var(--rm-fog-light);
    border-radius: var(--rm-radius-sm);
    padding: var(--rm-space-3);
}
.rm-amenity-label { font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; color: var(--rm-fog); margin-bottom: 4px; }
.rm-amenity-value { font-size: 0.95rem; font-weight: 600; text-transform: capitalize; margin-bottom: 4px; }
.rm-amenity-attr { font-size: 0.7rem; color: var(--rm-fog); }

/* ── Weather forecast cards ── */
.rm-forecast-row {
    display: flex;
    gap: var(--rm-space-3);
    overflow-x: auto;
    padding: var(--rm-space-2) var(--rm-space-2) var(--rm-space-4);
    background: var(--rm-parchment-deep, var(--rm-fog-light));
    border-radius: var(--rm-radius-md);
}
.rm-forecast-card {
    flex-shrink: 0;
    width: 168px;
    background: var(--rm-white);
    border-radius: var(--rm-radius-sm);
    box-shadow: var(--rm-shadow-1, 0 1px 3px rgba(20,32,25,0.08));
    padding: var(--rm-space-3) var(--rm-space-3) 0;
}
.rm-forecast-period { font-size: 1rem; font-weight: 700; margin-bottom: var(--rm-space-2); color: var(--rm-forest); }
.rm-forecast-row-stat {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.86rem;
    color: var(--rm-forest);
    margin-bottom: 4px;
}
.rm-forecast-row-stat svg { color: var(--rm-fog); flex-shrink: 0; }
.rm-forecast-wind { color: var(--rm-fog); margin-bottom: var(--rm-space-2); }
.rm-forecast-image-wrap {
    position: relative;
    margin: var(--rm-space-2) -12px 0;
    border-radius: 0 0 var(--rm-radius-sm) var(--rm-radius-sm);
    overflow: hidden;
    min-height: 96px;
    display: grid;
    place-items: center;
    background: linear-gradient(150deg, #edf6f8 0%, #f8efe0 100%);
}
.rm-forecast-icon { width: 100%; height: 90px; object-fit: cover; display: block; }
.rm-forecast-precip-badge {
    position: absolute;
    bottom: 6px;
    left: 8px;
    background: rgba(255,255,255,0.92);
    color: var(--rm-dusk);
    font-size: 0.78rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: var(--rm-radius-full, 99px);
}
.rm-forecast-summary { margin-top: var(--rm-space-2); color: var(--rm-fog); font-size: .82rem; text-align: center; }
.rm-weather-attribution { margin-top: var(--rm-space-3); color: var(--rm-fog); font-size: .8rem; }

/* ── Reports / updates ── */
.rm-updates-actions { margin-bottom: var(--rm-space-4); }
.rm-report-card {
    background: var(--rm-white);
    border: 1px solid var(--rm-fog-light);
    border-radius: var(--rm-radius-sm);
    padding: var(--rm-space-4);
    margin-bottom: var(--rm-space-3);
}
.rm-report-card-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: var(--rm-space-2); flex-wrap: wrap; gap: var(--rm-space-2); }
.rm-report-meta { font-size: 0.78rem; color: var(--rm-fog); }
.rm-report-fields { display: flex; gap: var(--rm-space-2); flex-wrap: wrap; margin-top: var(--rm-space-2); }

/* ── Modal ── */
.rm-modal-backdrop {
    position: fixed; inset: 0; background: rgba(26,46,34,0.5);
    display: flex; align-items: center; justify-content: center;
    z-index: 1000; padding: var(--rm-space-4);
}
.rm-modal {
    background: var(--rm-white);
    border-radius: var(--rm-radius-lg);
    padding: var(--rm-space-5);
    width: 100%;
    max-width: 480px;
    max-height: 90vh;
    overflow-y: auto;
}
.rm-modal--spot-editor { max-width: 760px; }
#rm-edit-description-quill {
    min-height: 180px;
    background: var(--rm-white);
    border-radius: 0 0 var(--rm-radius-sm) var(--rm-radius-sm);
}
.rm-radio-row { display: flex; gap: var(--rm-space-4); font-size: 0.88rem; font-weight: 400; text-transform: none; }
.rm-radio-row label { display: flex; align-items: center; gap: 6px; cursor: pointer; }
.rm-modal-actions { display: flex; justify-content: flex-end; gap: var(--rm-space-3); margin-top: var(--rm-space-4); }

.rm-photo-gallery {
    display: flex;
    gap: var(--rm-space-3);
    margin-bottom: var(--rm-space-4);
    flex-wrap: wrap;
}
.rm-gallery-img {
    width: 220px;
    height: 160px;
    object-fit: cover;
    border-radius: var(--rm-radius-sm);
    box-shadow: var(--rm-shadow-1, 0 1px 3px rgba(20,32,25,0.08));
}
.rm-gallery-button {
    display: block;
    padding: 0;
    border: 0;
    border-radius: var(--rm-radius-sm);
    background: none;
    cursor: zoom-in;
}
.rm-gallery-button:focus-visible,
.rm-carousel-trigger:focus-visible {
    outline: 3px solid var(--rm-clay);
    outline-offset: 3px;
}
.rm-spot-hero-banner.rm-carousel-trigger { cursor: zoom-in; }
.rm-photo-gallery--sm { margin-bottom: var(--rm-space-2); }
.rm-gallery-img--sm { width: 110px; height: 80px; }

/* ── Full-screen photo carousel ── */
.rm-photo-carousel {
    position: fixed;
    inset: 0;
    z-index: 3000;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.96);
    touch-action: pan-y;
}
.rm-photo-carousel-stage {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 72px 76px 68px;
}
.rm-photo-carousel-image {
    display: block;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    user-select: none;
    -webkit-user-drag: none;
}
.rm-photo-carousel-close,
.rm-photo-carousel-arrow {
    position: absolute;
    z-index: 2;
    border: 0;
    color: #fff;
    background: rgba(0, 0, 0, 0.48);
    cursor: pointer;
}
.rm-photo-carousel-close {
    top: max(12px, env(safe-area-inset-top));
    right: max(12px, env(safe-area-inset-right));
    width: 48px;
    height: 48px;
    border-radius: 50%;
    font-size: 2.2rem;
    line-height: 1;
}
.rm-photo-carousel-arrow {
    top: 50%;
    width: 52px;
    height: 64px;
    transform: translateY(-50%);
    border-radius: 26px;
    font-size: 3rem;
    line-height: 1;
}
.rm-photo-carousel-arrow--previous { left: max(12px, env(safe-area-inset-left)); }
.rm-photo-carousel-arrow--next { right: max(12px, env(safe-area-inset-right)); }
.rm-photo-carousel-close:hover,
.rm-photo-carousel-arrow:hover { background: rgba(255, 255, 255, 0.2); }
.rm-photo-carousel-close:focus-visible,
.rm-photo-carousel-arrow:focus-visible {
    outline: 3px solid #fff;
    outline-offset: 3px;
}
.rm-photo-carousel-counter {
    position: absolute;
    left: 50%;
    bottom: max(20px, env(safe-area-inset-bottom));
    z-index: 2;
    transform: translateX(-50%);
    color: #fff;
    font-size: 0.92rem;
    font-weight: 600;
    text-shadow: 0 1px 3px #000;
}

@media (max-width: 640px) {
    .rm-photo-carousel-stage { padding: 64px 10px 60px; }
    .rm-photo-carousel-arrow {
        top: auto;
        bottom: max(10px, env(safe-area-inset-bottom));
        width: 46px;
        height: 46px;
        transform: none;
        font-size: 2.4rem;
    }
}

.rm-nearby-map { height: 220px; border-radius: var(--rm-radius-lg); overflow: hidden; box-shadow: var(--rm-shadow-md); }
.rm-nearby-wrap { position: relative; margin-bottom: var(--rm-space-4); }

.rm-forecast-wrap { position: relative; }
.rm-forecast-arrow {
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    z-index: 5;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    background: var(--rm-white);
    box-shadow: var(--rm-shadow-lg);
    font-size: 1.5rem;
    line-height: 1;
    color: var(--rm-forest);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}
.rm-forecast-arrow:hover { background: var(--rm-parchment-deep, var(--rm-fog-light)); }

/* Font direction: Inter throughout, no Fraunces on Spot Detail (TrailsOffroad / AllTrails style) */
#rm-spot-detail h1,
#rm-spot-detail h2,
#rm-spot-detail h3 {
    font-family: var(--rm-font-body);
    font-weight: 500;
    letter-spacing: -0.01em;
}
.rm-spot-hero-inner h1 {
    font-weight: 600;
}

/* Hero visual anchor: photo banner if the spot has one, else a tinted color block with a large type icon */
.rm-spot-hero-banner {
    position: relative;
    height: 220px;
    border-radius: var(--rm-radius-lg);
    overflow: hidden;
    margin-bottom: var(--rm-space-4);
    background-size: cover;
    background-position: center;
}
.rm-spot-hero-banner--placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
}
.rm-spot-hero-banner--placeholder svg {
    opacity: 0.4;
}

/* Contact box: icon per line instead of bare stacked text */
.rm-contact-line {
    display: flex;
    align-items: center;
    gap: 8px;
}
.rm-contact-line svg {
    flex-shrink: 0;
    color: var(--rm-fog);
}

/* --- Weather artwork and interactive hourly chart --- */
.rm-weather-symbol { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; }
.rm-weather-symbol svg { width: 100%; height: 100%; overflow: visible; }
.rm-weather-symbol--sm { width: 36px; height: 36px; }
.rm-weather-symbol--md { width: 50px; height: 50px; }
.rm-weather-symbol--lg { width: 76px; height: 76px; }
.rm-weather-symbol__sun { fill: #f6b82f; stroke: #db8d19; stroke-width: 2.4; stroke-linecap: round; }
.rm-weather-symbol__moon { fill: #73829b; stroke: #52637c; stroke-width: 1.5; }
.rm-weather-symbol__cloud { fill: #e8eef1; stroke: #8fa2ad; stroke-width: 2.4; stroke-linejoin: round; }
.rm-weather-symbol__precip { fill: none; stroke: #278fbe; stroke-width: 3.2; stroke-linecap: round; }
.rm-weather-symbol__snow { fill: none; stroke: #62a9ca; stroke-width: 2.2; stroke-linecap: round; }
.rm-weather-symbol__bolt { fill: #f4b52d; stroke: #ca8313; stroke-width: 1.2; stroke-linejoin: round; }
.rm-weather-symbol__fog, .rm-weather-symbol__wind { fill: none; stroke: #7f929b; stroke-width: 3; stroke-linecap: round; }
.rm-forecast-image-wrap .rm-weather-symbol { filter: drop-shadow(0 5px 8px rgba(29, 54, 65, .12)); }

.rm-weather-section { margin: 0 0 28px; }
.rm-weather-section > h3 { margin: 0 0 12px; }
.rm-hourly { margin: 0; }
.rm-current-conditions-panel,
.rm-hourly-panel {
    border: 1px solid rgba(29, 71, 62, .12);
    border-radius: 18px;
    padding: 18px;
    background: linear-gradient(145deg, rgba(255,255,255,.98), rgba(237,245,240,.84));
    box-shadow: 0 14px 36px rgba(24, 48, 39, .10);
    overflow: hidden;
}
.rm-hourly-summary { display: flex; align-items: center; gap: 14px; min-width: 0; }
.rm-hourly-summary-copy { min-width: 0; }
.rm-hourly-summary-copy > div:first-child { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.rm-hourly-now-temp { color: var(--rm-forest); font-size: clamp(2.6rem, 7vw, 4.2rem); font-weight: 750; letter-spacing: -.05em; line-height: .95; }
.rm-hourly-now-desc { color: var(--rm-dusk); font-size: 1.02rem; font-weight: 650; }
.rm-hourly-high-low { color: var(--rm-fog); font-size: .9rem; margin-top: 4px; }
.rm-hourly-summary-stats { display: grid; gap: 5px; margin-left: auto; color: var(--rm-fog); font-size: .84rem; text-align: right; white-space: nowrap; }
.rm-astronomy {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 8px;
    margin: 16px 0 4px;
    padding: 13px 0;
    border-top: 1px solid rgba(29, 71, 62, .10);
    border-bottom: 1px solid rgba(29, 71, 62, .10);
}
.rm-astronomy-item { display: flex; align-items: center; justify-content: center; gap: 8px; min-width: 0; color: var(--rm-forest); }
.rm-astronomy-item > span:last-child { display: grid; gap: 1px; min-width: 0; }
.rm-astronomy-item strong { font-size: .88rem; line-height: 1.2; white-space: nowrap; }
.rm-astronomy-label { color: var(--rm-fog); font-size: .68rem; line-height: 1.2; text-transform: uppercase; letter-spacing: .045em; }
.rm-astronomy-icon { display: inline-flex; flex: 0 0 auto; width: 28px; height: 28px; padding: 4px; border-radius: 50%; background: rgba(228, 167, 48, .12); color: #ce871c; }
.rm-astronomy-item--moon_phase .rm-astronomy-icon, .rm-astronomy-item--moonrise .rm-astronomy-icon, .rm-astronomy-item--moonset .rm-astronomy-icon { background: rgba(92, 111, 143, .11); color: #64748f; }
.rm-astronomy-moon-phase-symbol { display: block; font-size: 18px; line-height: 20px; }
.rm-astronomy-icon svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.rm-hourly-condition-strip {
    display: grid;
    grid-template-columns: repeat(9, minmax(52px, 1fr));
    gap: 5px;
    margin: 18px 0 4px;
    padding: 10px 6px;
    border-top: 1px solid rgba(29, 71, 62, .10);
    border-bottom: 1px solid rgba(29, 71, 62, .10);
    overflow-x: auto;
    scrollbar-width: thin;
}
.rm-hourly-condition-item { display: grid; justify-items: center; gap: 3px; color: var(--rm-fog); font-size: .72rem; white-space: nowrap; }
.rm-hourly-chart-shell { position: relative; margin: 0 -6px; }
.rm-hourly-chart { width: 100%; min-width: 560px; height: auto; display: block; color: var(--rm-forest); cursor: crosshair; touch-action: pan-y; outline: none; }
.rm-hourly-chart:focus-visible { outline: 3px solid rgba(61, 107, 79, .32); outline-offset: -3px; border-radius: 10px; }
.rm-hourly-temp-area { fill: url(#rm-hourly-area-gradient); }
.rm-hourly-temp-line { fill: none; stroke: url(#rm-hourly-line-gradient); stroke-width: 5; stroke-linejoin: round; stroke-linecap: round; filter: drop-shadow(0 3px 3px rgba(155, 99, 19, .16)); }
.rm-hourly-temp-line--legacy { stroke: #e0a437; stroke-width: 2.5; filter: none; }
.rm-hourly-precip-bar { fill: #32a5d2; opacity: .52; }
.rm-hourly-gridline { stroke: currentColor; opacity: .10; stroke-width: 1; }
.rm-hourly-time-guide { stroke: currentColor; opacity: .07; stroke-width: 1; stroke-dasharray: 3 6; }
.rm-hourly-night { fill: #263d59; opacity: .045; }
.rm-hourly-xlabel, .rm-hourly-ylabel { font-size: 11px; fill: currentColor; opacity: .62; }
.rm-hourly-xlabel { text-anchor: middle; }
.rm-hourly-crosshair { stroke: var(--rm-forest); stroke-width: 1.5; stroke-dasharray: 4 4; opacity: .48; pointer-events: none; }
.rm-hourly-focus-dot { fill: #fff; stroke: #e2a12f; stroke-width: 4; pointer-events: none; }
.rm-hourly-hit-area { pointer-events: all; }
.rm-hourly-tooltip {
    position: absolute;
    top: 18px;
    z-index: 2;
    min-width: 150px;
    transform: translateX(-50%);
    display: grid;
    gap: 2px;
    padding: 9px 11px;
    border-radius: 10px;
    background: rgba(20, 42, 34, .94);
    color: #fff;
    box-shadow: 0 8px 20px rgba(0,0,0,.22);
    font-size: .74rem;
    line-height: 1.35;
    pointer-events: none;
}
.rm-hourly-tooltip[hidden] { display: none; }
.rm-hourly-tooltip strong { color: #fff; font-size: .8rem; }
.rm-hourly-tooltip span { color: rgba(255,255,255,.84); }
.rm-hourly-legend { display: flex; align-items: center; gap: 15px; flex-wrap: wrap; color: var(--rm-fog); font-size: .78rem; margin-top: 2px; }
.rm-hourly-legend-item { display: inline-flex; align-items: center; gap: 6px; }
.rm-hourly-swatch { width: 16px; height: 4px; border-radius: 99px; display: inline-block; }
.rm-hourly-swatch--temp { background: linear-gradient(90deg, #d8931f, #f4b838, #d67832); }
.rm-hourly-swatch--precip { background: #32a5d2; opacity: .65; height: 10px; width: 7px; }
.rm-hourly-interaction-hint { margin-left: auto; font-style: italic; }
.rm-hourly-chart-controls { display: inline-flex; gap: 5px; }
.rm-hourly-chart-controls button {
    width: 30px;
    height: 28px;
    border: 1px solid rgba(29, 71, 62, .22);
    border-radius: 8px;
    background: rgba(255,255,255,.82);
    color: var(--rm-forest);
    font: inherit;
    font-size: 1rem;
    line-height: 1;
    cursor: pointer;
}
.rm-hourly-chart-controls button:hover, .rm-hourly-chart-controls button:focus-visible { background: rgba(61,107,79,.12); outline: 2px solid rgba(61,107,79,.24); outline-offset: 1px; }
.rm-hourly-wind-section { margin-top: 20px; padding-top: 16px; border-top: 1px solid rgba(29, 71, 62, .12); }
.rm-hourly-wind-header { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 0 5px 5px; color: var(--rm-forest); }
.rm-hourly-wind-header strong { font-size: .94rem; }
.rm-hourly-wind-header span { color: var(--rm-fog); font-size: .74rem; }
.rm-hourly-wind-shell { position: relative; margin: 0 -6px; }
.rm-hourly-wind-chart { min-width: 560px; }
.rm-hourly-wind-area { fill: url(#rm-hourly-wind-gradient); }
.rm-hourly-wind-line { fill: none; stroke: #4f8a69; stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 2px 3px rgba(48, 92, 66, .16)); }
.rm-hourly-wind-arrow { fill: var(--rm-forest); opacity: .68; }
.rm-hourly-wind-focus-dot { fill: #fff; stroke: #4f8a69; stroke-width: 3.5; pointer-events: none; }
.rm-hourly-wind-tooltip { top: 28px; }

@media (max-width: 620px) {
    .rm-current-conditions-panel,
    .rm-hourly-panel { padding: 14px 10px; border-radius: 14px; }
    .rm-hourly-summary { align-items: flex-start; }
    .rm-hourly-summary .rm-weather-symbol--lg { width: 58px; height: 58px; }
    .rm-hourly-summary-stats { grid-column: 1 / -1; width: 100%; margin: 4px 0 0; display: flex; justify-content: space-between; text-align: left; }
    .rm-hourly-summary { flex-wrap: wrap; }
    .rm-astronomy { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 8px; }
    .rm-astronomy-item { justify-content: flex-start; padding-left: 8px; }
    .rm-hourly-condition-strip { grid-template-columns: repeat(9, 54px); }
    .rm-hourly-chart-shell { overflow-x: auto; }
    .rm-hourly-wind-shell { overflow-x: auto; }
    .rm-hourly-wind-header { align-items: flex-start; flex-direction: column; gap: 2px; }
    .rm-hourly-interaction-hint { width: 100%; margin-left: 0; }
}
