/* ── Weather hero ── */
.wx-hero {
    background: linear-gradient(135deg, #1a3a5c 0%, #2d6a8a 50%, #4a9ab5 100%);
    color: #fff;
    padding: 2.6rem 0 2.15rem;
    position: relative;
    overflow: hidden;
}
.wx-hero::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(ellipse at 70% 20%, rgba(255,255,255,0.08) 0%, transparent 60%);
    pointer-events: none;
}
.wx-hero__inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.85fr);
    align-items: start;
    gap: 1.35rem 2rem;
}
.wx-hero__main {
    min-width: 0;
}
.wx-hero__label {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.6);
    margin-bottom: 0.5rem;
}
.wx-hero__icon {
    font-size: 0.6em;
    vertical-align: baseline;
    margin-right: 0.1em;
}
.wx-hero__temp {
    font-family: var(--font-heading, 'Playfair Display', serif);
    font-size: clamp(4rem, 12vw, 6.5rem);
    font-weight: 900;
    line-height: 1;
    letter-spacing: -0.02em;
}
.wx-hero__temp sup {
    font-size: 0.35em;
    font-weight: 400;
    vertical-align: super;
    opacity: 0.7;
}
.wx-hero__desc {
    font-size: 1.22rem;
    font-weight: 400;
    margin-top: 0.3rem;
    color: rgba(255,255,255,0.9);
}
.wx-hero__feels-like {
    font-size: 0.96rem;
    font-weight: 400;
    color: rgba(255,255,255,0.72);
    margin-top: 0.28rem;
}
.wx-hero__meta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem 1rem;
    align-items: center;
    margin-top: 0.85rem;
}
.wx-hero__meta {
    font-size: 0.86rem;
    color: rgba(255,255,255,0.64);
}
.wx-hero__sun-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 0.85rem;
}
.wx-hero__sun-item {
    display: inline-flex;
    align-items: baseline;
    gap: 0.35rem;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.82);
}
.wx-hero__sun-label {
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.11em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.56);
}
.wx-hero__sun-value {
    font-weight: 700;
}
.wx-hero__live {
    display: inline-block;
    background: rgba(46,204,113,0.25);
    color: #2ecc71;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 0.15rem 0.45rem;
    border-radius: 3px;
    margin-left: 0.5rem;
    vertical-align: middle;
    position: relative;
}
.wx-hero__live::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    background: #2ecc71;
    border-radius: 50%;
    margin-right: 0.3rem;
    vertical-align: middle;
    animation: wx-live-pulse 2s ease-in-out infinite;
}
@keyframes wx-live-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}
.wx-hero__details {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    min-width: 0;
}
.wx-hero__detail {
    background: rgba(255,255,255,0.1);
    border-radius: 0.75rem;
    padding: 1rem;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}
.wx-hero__detail-label {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.55);
    margin-bottom: 0.3rem;
}
.wx-hero__detail-value {
    font-size: 1.15rem;
    font-weight: 700;
}
.wx-hero__detail-sub {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.6);
    margin-top: 0.15rem;
}
.wx-hero__glance {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.85rem;
    margin-top: 1.25rem;
}
.wx-hero__glance-card {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    min-height: 100%;
    padding: 1rem 1.05rem;
    border-radius: 0.95rem;
    border: 1px solid rgba(255,255,255,0.16);
    background: rgba(10,24,38,0.26);
    color: #fff;
    text-decoration: none;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.03);
    transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}
a.wx-hero__glance-card:hover {
    transform: translateY(-1px);
    text-decoration: none;
    border-color: rgba(255,255,255,0.32);
    background: rgba(10,24,38,0.34);
}
.wx-hero__glance-card--forecast {
    background: rgba(244, 248, 252, 0.12);
}
.wx-hero__glance-card--air {
    background: rgba(46, 125, 50, 0.18);
}
.wx-hero__glance-card--tide {
    background: rgba(19, 56, 92, 0.38);
}
.wx-hero__glance-card--sun {
    background: rgba(127, 83, 11, 0.24);
}
.wx-hero__glance-card--alert {
    background: rgba(153, 55, 14, 0.28);
}
.wx-hero__glance-card--calm {
    background: rgba(28, 84, 45, 0.24);
}
.wx-hero__glance-label {
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.62);
}
.wx-hero__glance-value {
    font-family: var(--font-heading, 'Playfair Display', serif);
    font-size: 1.45rem;
    font-weight: 700;
    line-height: 1.1;
    color: #fff;
}
.wx-hero__glance-text {
    font-size: 0.86rem;
    line-height: 1.42;
    color: rgba(255,255,255,0.8);
}
.wx-hero__glance-cta {
    margin-top: auto;
    font-size: 0.8rem;
    font-weight: 700;
    color: rgba(255,255,255,0.92);
}

/* ── Hourly forecast ── */
.hourly-section {
    padding: 2rem 0 2.5rem;
    border-bottom: 1px solid rgba(0,0,0,0.06);
    overflow: hidden;
}
.hourly-section__title {
    font-family: var(--font-heading, 'Playfair Display', serif);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--color-text, #1a1a1a);
    margin: 0 0 1rem;
}
.hourly-scroll {
    display: flex;
    gap: 0;
    overflow-x: auto;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x proximity;
    scrollbar-width: thin;
    scrollbar-color: rgba(0,0,0,0.15) transparent;
    padding: 0 0.15rem 0.6rem;
}
.hourly-scroll::-webkit-scrollbar {
    height: 4px;
}
.hourly-scroll::-webkit-scrollbar-thumb {
    background: rgba(0,0,0,0.15);
    border-radius: 2px;
}
.hourly-item {
    flex: 0 0 auto;
    width: 68px;
    text-align: center;
    padding: 0.75rem 0.25rem;
    border-right: 1px solid rgba(0,0,0,0.04);
    transition: background 0.15s;
    position: relative;
    scroll-snap-align: start;
}
.hourly-item:last-child { border-right: none; }
.hourly-item:hover { background: rgba(0,0,0,0.02); }
.hourly-item--now {
    background: rgba(26,82,118,0.06);
    border-radius: 0.5rem;
}
.hourly-item--now::before {
    content: 'NOW';
    position: absolute;
    top: -0.1rem;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.5rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    color: var(--color-primary, #1a5276);
}
.hourly-item__time {
    font-size: 0.72rem;
    font-weight: 700;
    color: #636363;
    margin-bottom: 0.45rem;
    text-transform: lowercase;
    letter-spacing: 0.01em;
}
.hourly-item--now .hourly-item__time {
    color: var(--color-primary, #1a5276);
    font-weight: 700;
}
.hourly-item__icon {
    font-size: 1.2rem;
    margin-bottom: 0.35rem;
    display: block;
    line-height: 1;
}
.hourly-item__temp {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--color-text, #1a1a1a);
    margin-bottom: 0.25rem;
}
.hourly-item__precip {
    font-size: 0.72rem;
    font-weight: 600;
    color: #4a90d9;
    opacity: 0;
    transition: opacity 0.15s;
    min-height: 1rem;
    line-height: 1.2;
}
.hourly-item__precip--visible {
    opacity: 1;
}
.hourly-item__feels {
    font-size: 0.72rem;
    font-weight: 600;
    color: #888;
    margin-bottom: 0.2rem;
    line-height: 1.15;
}
.uv-badge {
    font-weight: 700;
}

/* ── Forecast section ── */
.wx-section {
    padding: 2.5rem 0;
    border-bottom: 1px solid rgba(0,0,0,0.06);
}
.wx-section:last-child { border-bottom: none; }
.wx-section__title {
    font-family: var(--font-heading, 'Playfair Display', serif);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--color-text, #1a1a1a);
    margin: 0 0 1.25rem;
}
.wx-section__header {
    display: flex;
    align-items: baseline;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-bottom: 1.25rem;
}
.wx-section__header .wx-section__title { margin-bottom: 0; }
.wx-section__header + .wx-section__subtitle { margin-top: -0.75rem; }
.wx-section__updated {
    font-size: 0.78rem;
    color: #888;
    font-weight: 400;
    white-space: nowrap;
}
@media (prefers-color-scheme: dark) {
    .wx-section__updated { color: rgba(255,255,255,0.5); }
}

/* Forecast cards */
.forecast-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1rem;
}
.forecast-card {
    background: #fff;
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: 1rem;
    padding: 1.25rem 1rem;
    text-align: center;
    transition: box-shadow 0.2s ease;
}
.forecast-card:hover {
    box-shadow: 0 8px 30px rgba(0,0,0,0.07);
}
.forecast-card:first-child {
    border-color: var(--color-primary, #1a5276);
    border-width: 2px;
}
.forecast-card__day {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-primary, #1a5276);
    margin-bottom: 0.75rem;
}
.forecast-card__icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    display: block;
}
.forecast-card__temps {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-text, #1a1a1a);
    margin-bottom: 0.25rem;
}
.forecast-card__temps span {
    font-weight: 400;
    color: #767676;
    font-size: 0.9rem;
}
.forecast-card__desc {
    font-size: 0.8rem;
    color: #636363;
    margin-bottom: 0.5rem;
}
.forecast-card__precip {
    font-size: 0.78rem;
    color: #4a90d9;
    font-weight: 600;
}

/* ── Compact tide summary ── */
.tides-summary {
    background: #fff;
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: 1rem;
    padding: 1.25rem 1.5rem;
}
.tides-summary__header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 1rem;
}
.tides-summary__header .wx-section__title {
    margin: 0;
    padding: 0;
    border: none;
}
.tides-summary__link {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    font-size: 0.86rem;
    font-weight: 600;
    color: #2d6a8a;
    text-decoration: none;
    white-space: nowrap;
}
.tides-summary__link:hover {
    text-decoration: underline;
}
.tides-summary__entries {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1rem;
}
.tides-summary__entry {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.88rem;
    color: #333;
}
.tides-summary__entry--next {
    font-weight: 700;
}
.tides-summary__type {
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 0.12rem 0.35rem;
    border-radius: 3px;
    line-height: 1.4;
}
.tides-summary__entry--high .tides-summary__type {
    background-color: #e3eff5;
    color: #1a5276;
}
.tides-summary__entry--low .tides-summary__type {
    background-color: #f0ede8;
    color: #7b5e00;
}
.tides-summary__time {
    font-weight: 600;
    color: #222;
}
.tides-summary__height {
    font-size: 0.84rem;
    color: #767676;
}
.tides-summary__station {
    font-size: 0.75rem;
    color: #767676;
    margin: 0.75rem 0 0;
}

/* ── Alerts section ── */
.wx-alert {
    background: #fff;
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: 0.75rem;
    padding: 1.25rem;
    margin-bottom: 0.75rem;
}
.wx-alert--warning { border-left: 4px solid #e65100; }
.wx-alert--emergency { border-left: 4px solid #d32f2f; }
.wx-alert--watch { border-left: 4px solid #f9a825; }
.wx-alert--info, .wx-alert--advisory { border-left: 4px solid #1976d2; }
.wx-alert__headline {
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--color-text, #1a1a1a);
    margin: 0 0 0.35rem;
}
.wx-alert__desc {
    font-size: 0.85rem;
    color: #636363;
    line-height: 1.5;
    margin: 0;
}
.wx-clear {
    background: #e8f5e9;
    border-radius: 0.75rem;
    padding: 1.5rem;
    text-align: center;
    color: #2e7d32;
    font-weight: 600;
}

/* ── Sun strip ── */
.sun-strip {
    display: flex;
    gap: 2rem;
    align-items: center;
    background: linear-gradient(135deg, #fff8e1, #fff3e0);
    border-radius: 1rem;
    padding: 1.25rem 1.5rem;
    margin-top: 1.25rem;
}
.sun-strip__item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.sun-strip__icon { font-size: 1.5rem; }
.sun-strip__label {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #b8860b;
}
.sun-strip__time {
    font-size: 1.1rem;
    font-weight: 700;
    color: #5d4037;
}

/* ── Beach Conditions ── */
.beach-hero {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}
.beach-hero__status {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    border-radius: 1rem;
    border: 1px solid rgba(0,0,0,0.06);
}
.beach-hero__status--calm { background: linear-gradient(135deg, #e8f5e9, #e0f2f1); border-color: #a5d6a7; }
.beach-hero__status--gentle { background: linear-gradient(135deg, #e3f2fd, #e0f7fa); border-color: #90caf9; }
.beach-hero__status--moderate { background: linear-gradient(135deg, #fff8e1, #fff3e0); border-color: #ffe082; }
.beach-hero__status--choppy { background: linear-gradient(135deg, #fff3e0, #fbe9e7); border-color: #ffab91; }
.beach-hero__status--rough { background: linear-gradient(135deg, #fbe9e7, #ffebee); border-color: #ef9a9a; }
.beach-hero__icon {
    font-size: 2.5rem;
    line-height: 1;
    flex-shrink: 0;
}
.beach-hero__info {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}
.beach-hero__label {
    font-family: var(--font-heading, 'Playfair Display', serif);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--color-text, #1a1a1a);
}
.beach-hero__desc {
    font-size: 0.9rem;
    color: #555;
    line-height: 1.4;
}
.beach-details {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}
.beach-detail {
    background: #fff;
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: 1rem;
    padding: 1.25rem;
    text-align: center;
}
.beach-detail__label {
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #767676;
    margin-bottom: 0.4rem;
}
.beach-detail__value {
    font-family: var(--font-heading, 'Playfair Display', serif);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-text, #1a1a1a);
}
.beach-detail__sub {
    font-size: 0.78rem;
    color: #636363;
    margin-top: 0.15rem;
}
/* Wave forecast bar chart */
.wave-forecast {
    margin-top: 1.5rem;
}
.wave-forecast__title {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #767676;
    margin-bottom: 0.75rem;
}
.wave-scroll {
    display: flex;
    gap: 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: rgba(0,0,0,0.1) transparent;
    padding-bottom: 0.25rem;
}
.wave-scroll::-webkit-scrollbar { height: 4px; }
.wave-scroll::-webkit-scrollbar-thumb { background: rgba(0,0,0,0.1); border-radius: 2px; }
.wave-item {
    flex: 0 0 auto;
    width: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    padding: 0.35rem 0;
    border-right: 1px solid rgba(0,0,0,0.04);
}
.wave-item:last-child { border-right: none; }
.wave-item__time {
    font-size: 0.76rem;
    font-weight: 600;
    color: #636363;
    text-transform: lowercase;
}
.wave-item__bar-wrap {
    width: 20px;
    height: 48px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}
.wave-item__bar {
    width: 100%;
    min-height: 4px;
    border-radius: 3px 3px 0 0;
}
.wave-item--calm .wave-item__bar { background: #81c784; }
.wave-item--gentle .wave-item__bar { background: #64b5f6; }
.wave-item--moderate .wave-item__bar { background: #ffd54f; }
.wave-item--choppy .wave-item__bar { background: #ff8a65; }
.wave-item--rough .wave-item__bar { background: #e57373; }
.wave-item__height {
    font-size: 0.78rem;
    font-weight: 700;
    color: #444;
}

html[data-theme="dark"] .wx-hero__glance-card {
    border-color: rgba(255,255,255,0.1);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.02);
}
html[data-theme="dark"] a.wx-hero__glance-card:hover {
    border-color: rgba(255,255,255,0.22);
}
html[data-theme="dark"] .wx-hero__glance-card--forecast {
    background: rgba(27, 38, 49, 0.46);
}
html[data-theme="dark"] .wx-hero__glance-card--air {
    background: rgba(29, 80, 44, 0.34);
}
html[data-theme="dark"] .wx-hero__glance-card--tide {
    background: rgba(13, 41, 66, 0.46);
}
html[data-theme="dark"] .wx-hero__glance-card--sun {
    background: rgba(79, 57, 18, 0.42);
}
html[data-theme="dark"] .wx-hero__glance-card--alert {
    background: rgba(108, 41, 12, 0.44);
}
html[data-theme="dark"] .wx-hero__glance-card--calm {
    background: rgba(23, 73, 40, 0.4);
}

/* ── Responsive ── */
@media (max-width: 768px) {
    .wx-hero__inner {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
    .wx-hero__details { grid-template-columns: repeat(2, 1fr); min-width: 0; }
    .wx-hero__glance { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .forecast-grid { grid-template-columns: repeat(3, 1fr); }
    .hourly-item { width: 66px; padding: 0.75rem 0.3rem; }
    .hourly-item__icon { font-size: 1.1rem; }
    .beach-details { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 480px) {
    .wx-hero { padding: 1.85rem 0 1.55rem; }
    .wx-hero__inner { gap: 1rem; }
    .wx-hero__detail { padding: 0.9rem; }
    .wx-hero__details { width: 100%; }
    .wx-hero__label,
    .wx-hero__live,
    .wx-hero__detail-label { font-size: 0.82rem; }
    .wx-hero__meta,
    .wx-hero__detail-sub,
    .wx-hero__sun-item { font-size: 0.9rem; }
    .wx-hero__sun-label,
    .wx-hero__glance-label { font-size: 0.8rem; }
    .wx-hero__desc { font-size: 1.1rem; }
    .wx-hero__meta-row { gap: 0.45rem 0.75rem; }
    .wx-hero__sun-row { gap: 0.35rem 0.75rem; }
    .wx-hero__glance {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.7rem;
        margin-top: 0.95rem;
    }
    .wx-hero__glance-card {
        padding: 0.88rem 0.92rem;
        min-height: 9rem;
    }
    .wx-hero__glance-value { font-size: 1.18rem; }
    .wx-hero__glance-text,
    .wx-hero__glance-cta { font-size: 0.95rem; }
    .forecast-card__day,
    .forecast-card__precip { font-size: 0.8rem; }
    .forecast-grid { grid-template-columns: repeat(2, 1fr); }
    .forecast-card:nth-child(5) { grid-column: 1 / -1; }
    .hourly-scroll { padding: 0 0.2rem 0.65rem; }
    .hourly-item { width: 80px; padding: 0.8rem 0.45rem; }
    .hourly-item__time { font-size: 0.95rem; margin-bottom: 0.35rem; }
    .hourly-item__icon { font-size: 1.15rem; margin-bottom: 0.3rem; }
    .hourly-item__temp { font-size: 1.05rem; }
    .hourly-item__feels,
    .hourly-item__precip { font-size: 0.9rem; }
    .hourly-item--now::before { font-size: 0.625rem; }
    .tides-summary { padding: 1rem; }
    .tides-summary__header { flex-direction: column; gap: 0.25rem; }
    .tides-summary__entries { gap: 0.4rem 0.75rem; }
    .tides-summary__entry { font-size: 0.82rem; }
    .beach-hero__icon { font-size: 2rem; }
    .beach-hero__label { font-size: 1.15rem; }
    .beach-hero__desc { font-size: 0.82rem; }
    .beach-details { grid-template-columns: repeat(2, 1fr); }
    .beach-detail { padding: 1rem 0.75rem; }
    .beach-detail__label { font-size: 0.8rem; }
    .beach-detail__value { font-size: 1.25rem; }
    .wave-item { width: 64px; }
    .wave-item__time,
    .wave-item__height { font-size: 0.8rem; }
}

/* ── Power Outages ── */
.outage-section--active { border-left: 4px solid #e65100; }
.outage-section__summary { font-size: 0.9rem; color: #c62828; font-weight: 600; margin: -0.25rem 0 1rem; }
.outage-list { display: flex; flex-direction: column; gap: 0.75rem; }
.outage-card { background: #fff8f0; border: 1px solid rgba(230, 81, 0, 0.2); border-radius: 0.5rem; padding: 0.85rem 1rem; }
.outage-card__header { margin-bottom: 0.5rem; }
.outage-card__area { font-family: var(--font-heading, 'Playfair Display', serif); font-size: 0.92rem; font-weight: 700; color: #333; }
.outage-card__details { display: grid; grid-template-columns: 1fr 1fr; gap: 0.4rem 1rem; }
.outage-card__detail { display: flex; flex-direction: column; gap: 0.1rem; }
.outage-card__label { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.04em; color: #888; font-weight: 600; }
.outage-card__value { font-size: 0.88rem; color: #333; }
.outage-section__source { font-size: 0.78rem; color: #888; margin-top: 0.75rem; }
.outage-section__source a { color: var(--color-primary, #1a5276); }
.outage-clear { display: flex; align-items: baseline; gap: 0.75rem; flex-wrap: wrap; }
.outage-clear .wx-section__title { margin-bottom: 0; }
.outage-clear__status { font-size: 0.88rem; color: #2e7d32; font-weight: 500; }
.outage-clear__source { font-size: 0.78rem; color: #888; }
.outage-clear__source a { color: var(--color-primary, #1a5276); }

html[data-theme="dark"] .outage-card { background: rgba(120, 50, 10, 0.18); border-color: rgba(230, 81, 0, 0.3); }
html[data-theme="dark"] .outage-card__area { color: #e8e8e8; }
html[data-theme="dark"] .outage-card__value { color: #ddd; }
html[data-theme="dark"] .outage-section__summary { color: #ef9a9a; }
html[data-theme="dark"] .outage-clear__status { color: #81c784; }
html[data-theme="dark"] .outage-section__source,
html[data-theme="dark"] .outage-clear__source { color: #aaa; }
html[data-theme="dark"] .outage-section__source a,
html[data-theme="dark"] .outage-clear__source a { color: #90caf9; }

@media (max-width: 600px) {
    .outage-card__details { grid-template-columns: 1fr 1fr; gap: 0.35rem 0.75rem; }
    .outage-card__label { font-size: 0.75rem; }
    .outage-card__value { font-size: 0.88rem; }
    .outage-clear { gap: 0.4rem 0.75rem; }
}

/* ── Ferry Status ── */
.ferry-routes { display: flex; flex-direction: column; gap: 1rem; }
.ferry-route { background: #fff; border: 1px solid rgba(0,0,0,0.1); border-radius: 0.6rem; overflow: hidden; }
.ferry-route__header { display: flex; align-items: baseline; justify-content: space-between; padding: 0.75rem 1rem; background: #f5f7fa; border-bottom: 1px solid rgba(0,0,0,0.06); }
.ferry-route__name { font-family: var(--font-heading, 'Playfair Display', serif); font-size: 0.95rem; font-weight: 700; color: #111; }
.ferry-route__duration { font-size: 0.78rem; color: #888; font-weight: 600; }
.ferry-route__empty { padding: 0.75rem 1rem; font-size: 0.82rem; color: #888; font-style: italic; }
.ferry-route__more { padding: 0.55rem 1rem; font-size: 0.8rem; color: #888; background: #fafbfc; border-top: 1px solid rgba(0,0,0,0.04); }
.ferry-sailings { display: flex; flex-direction: column; }
.ferry-sailing { display: flex; align-items: center; gap: 0.75rem; padding: 0.5rem 1rem; border-bottom: 1px solid rgba(0,0,0,0.04); }
.ferry-sailing:last-child { border-bottom: none; }
.ferry-sailing--next { background: rgba(26,82,118,0.04); }
.ferry-sailing__badge { font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: #fff; background: var(--season-accent, #1a5276); padding: 0.2rem 0.45rem; border-radius: 3px; flex-shrink: 0; }
.ferry-sailing__time { font-size: 0.82rem; font-weight: 700; color: #111; min-width: 5rem; flex-shrink: 0; }
.ferry-sailing__vessel { font-size: 0.8rem; color: #888; min-width: 0; flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ferry-sailing__fill-bar { display: flex; align-items: center; gap: 0.4rem; flex-shrink: 0; min-width: 100px; }
.ferry-sailing__fill-track { flex: 1; height: 6px; background: #eee; border-radius: 3px; overflow: hidden; min-width: 60px; }
.ferry-sailing__fill-level { height: 100%; border-radius: 3px; transition: width 0.3s ease; }
.ferry-sailing__fill-pct { font-size: 0.76rem; font-weight: 700; min-width: 2.5rem; text-align: right; }
.ferry-sailing--full .ferry-sailing__time { color: #c0392b; }
.ferry-footer { text-align: center; margin-top: 0.75rem; font-size: 0.82rem; }
.ferry-footer a { display: inline-flex; align-items: center; min-height: 44px; color: var(--season-accent, #1a5276); text-decoration: none; font-weight: 600; }
.ferry-footer a:hover { text-decoration: underline; }
.wx-section__subtitle { font-size: 0.82rem; color: #888; margin: -0.5rem 0 1rem; }

@media (max-width: 640px) {
    .ferry-route__header { padding: 0.6rem 0.75rem; }
    .ferry-route__name { font-size: 0.85rem; }
    .ferry-sailing { padding: 0.45rem 0.75rem; gap: 0.5rem; }
    .ferry-sailing__time { font-size: 0.8rem; min-width: 4.5rem; }
    .ferry-sailing__vessel { display: none; }
    .ferry-sailing__fill-bar { min-width: 80px; }
    .ferry-sailing__fill-track { min-width: 45px; }
    .ferry-route__more { padding: 0.5rem 0.75rem; }
    /* Session 11: bump remaining sub-12px weather labels to 0.8rem floor */
    .ferry-sailing__badge { font-size: 0.8rem; }
    .ferry-sailing__fill-pct { font-size: 0.8rem; }
    .ferry-route__duration { font-size: 0.8rem; }
    .wx-section__updated { font-size: 0.8rem; }
    .wave-forecast__title { font-size: 0.8rem; }
    .beach-detail__sub { font-size: 0.8rem; }
    .outage-clear__source { font-size: 0.8rem; }
    .tides-summary__type { font-size: 0.8rem; }
    .tides-summary__station { font-size: 0.8rem; }
}

/* Dark mode handled by html.dark in kaizen.css */
