@font-face {
    font-family: "Instrument Sans";
    font-style: normal;
    font-weight: 100 900;
    src: url("../fonts/InstrumentSans-Regular.woff2") format("woff2");
    font-display: swap;
}

@font-face {
    font-family: "Vollkorn";
    font-style: normal;
    font-weight: 400 700;
    src: url("../fonts/Vollkorn-Regular.woff2") format("woff2");
    font-display: swap;
}

:root {
    --drawer-width: 16rem;
    --rail-width: 5.5rem;
    --header-height: 4.5rem;
    --page-max: 100rem;
    --font: "Instrument Sans", "Segoe UI", sans-serif;
    --primary: #0b3a6a;
    --on-primary: #ffffff;
    --primary-container: #cfe7ff;
    --on-primary-container: #001d36;
    --secondary: #0f766e;
    --on-secondary: #ffffff;
    --secondary-container: #c7f1ea;
    --on-secondary-container: #00201c;
    --tertiary: #b45309;
    --on-tertiary: #ffffff;
    --tertiary-container: #ffddb8;
    --on-tertiary-container: #2b1700;
    --background: #f4f6fb;
    --surface: #f6f7fb;
    --surface-container: #eef1f7;
    --surface-container-high: #e6ebf4;
    --outline: #7b8ca4;
    --line-soft: color-mix(in srgb, var(--outline) 45%, transparent 55%);
}

html,
body {
    min-height: 100%;
}

body {
    overflow-x: hidden;
    background: radial-gradient(circle at 15% 10%, rgba(15, 118, 110, 0.12), transparent 45%),
        radial-gradient(circle at 85% 0%, rgba(11, 58, 106, 0.15), transparent 50%),
        #f4f6fb;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Vollkorn", serif;
    letter-spacing: 0.01em;
}
/* ── App Shell ─────────────────────────────────────────────────────────────── */

.superkeli-topbar {
    min-block-size: var(--header-height);
    background: color-mix(in srgb, var(--surface) 90%, white 10%);
    border-bottom: 1px solid var(--line-soft);
    backdrop-filter: blur(16px);
    z-index: 40;
}

.superkeli-topbar > nav {
    min-block-size: var(--header-height);
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 1rem;
    padding: 0 1rem;
    max-inline-size: var(--page-max);
    margin: 0 auto;
}

.superkeli-topbar__brand-wrap {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-inline-size: 12rem;
}

.superkeli-topbar__brand-link {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    min-inline-size: 0;
    color: inherit;
    text-decoration: none;
}

.superkeli-topbar__logo-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    inline-size: 2.625rem;
    block-size: 2.625rem;
    border-radius: 0.875rem;
    background: linear-gradient(135deg, #0f766e, #0b3a6a);
    color: #ffffff;
    font-weight: 800;
    box-shadow: 0 0.5rem 1.5rem rgba(11, 58, 106, 0.22);
}

.superkeli-topbar__brand-title {
    font-family: "Vollkorn", serif;
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--primary);
}

.superkeli-topbar__brand-title span {
    margin-inline-start: 0.25rem;
    font-size: 0.75rem;
    font-weight: 700;
    opacity: 0.58;
    vertical-align: top;
}

.superkeli-topbar__search-zone {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    inline-size: 100%;
}

.superkeli-search-shell {
    inline-size: min(54rem, 100%);
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: stretch;
    border: 1px solid var(--line-soft);
    border-radius: 999px;
    overflow: hidden;
    background: color-mix(in srgb, var(--surface-container-high) 88%, white 12%);
}

.superkeli-search-shell input {
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--on-surface);
    padding: 0 1.25rem;
    min-block-size: 3.25rem;
    font-size: 1rem;
}

.superkeli-search-shell button {
    min-inline-size: 4.5rem;
    border: 0;
    border-inline-start: 1px solid var(--line-soft);
    background: color-mix(in srgb, var(--surface-container) 88%, white 12%);
    color: var(--on-surface);
    margin: 0;
    border-radius: 0;
}

.superkeli-topbar__actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

#primary-sidebar {
    position: sticky;
    top: var(--header-height);
    block-size: calc(100dvh - var(--header-height));
    min-inline-size: var(--drawer-width);
    padding: 1rem 0.75rem 1.25rem;
    overflow-y: auto;
    border-inline-end: 1px solid var(--line-soft);
    background: color-mix(in srgb, var(--surface) 94%, white 6%);
    transition: min-inline-size 220ms ease, padding 220ms ease;
    z-index: 15;
}

.superkeli-nav-group {
    padding-bottom: 1rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid var(--line-soft);
}

.superkeli-nav-group:last-child {
    border-bottom: 0;
    margin-bottom: 0;
}

.superkeli-nav-title {
    padding: 0 1rem 0.5rem;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    opacity: 0.58;
}

.superkeli-nav-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.9rem 1rem;
    margin-bottom: 0.25rem;
    border-radius: 1.125rem;
    color: var(--on-surface);
    text-decoration: none;
    font-weight: 600;
    transition: background-color 180ms ease, transform 180ms ease;
}

.superkeli-nav-link:hover,
.superkeli-nav-link:focus,
.superkeli-nav-link.active {
    background: color-mix(in srgb, var(--surface-container-high) 88%, white 12%);
    transform: translateX(2px);
}

.superkeli-nav-link i {
    font-size: 1.45rem;
}

#nav-drawer {
    z-index: 60;
}

#nav-drawer nav {
    min-block-size: 100%;
}

.superkeli-drawer-header {
    margin-bottom: 1rem;
}

.superkeli-drawer-header > nav {
    align-items: center;
    gap: 0.75rem;
}

.superkeli-mobile-rail {
    display: none;
}

@media (max-width: 1200px) {
    .superkeli-topbar > nav {
        gap: 0.75rem;
    }
}

@media (max-width: 900px) {
    #primary-sidebar {
        min-inline-size: var(--rail-width);
        padding-inline: 0.45rem;
    }

    #primary-sidebar .superkeli-nav-title,
    #primary-sidebar .superkeli-nav-link span {
        display: none;
    }

    #primary-sidebar .superkeli-nav-link {
        justify-content: center;
        padding-inline: 0;
        min-block-size: 4rem;
        border-radius: 1rem;
    }

    #primary-sidebar.max {
        min-inline-size: var(--rail-width);
    }

    .superkeli-topbar__brand-title span {
        display: none;
    }
}

@media (max-width: 700px) {
    .superkeli-topbar > nav {
        grid-template-columns: auto 1fr auto;
        padding: 0 0.75rem;
    }

    #primary-sidebar {
        display: none;
    }

    .superkeli-topbar__brand-wrap {
        min-inline-size: auto;
    }

    .superkeli-topbar__brand-title {
        font-size: 1.15rem;
    }

    .superkeli-topbar__search-zone {
        justify-content: flex-end;
    }

    .superkeli-mobile-rail {
        position: fixed;
        inset: auto 0 0 0;
        z-index: 45;
        display: grid;
        grid-template-columns: repeat(5, 1fr);
        gap: 0.25rem;
        padding: 0.5rem;
        border-top: 1px solid var(--line-soft);
        background: color-mix(in srgb, var(--surface) 92%, white 8%);
        backdrop-filter: blur(14px);
    }

    .superkeli-mobile-rail a {
        display: grid;
        place-items: center;
        gap: 0.2rem;
        padding: 0.55rem 0.25rem;
        border-radius: 1rem;
        color: var(--on-surface);
        text-decoration: none;
        font-size: 0.75rem;
        font-weight: 700;
    }

    .superkeli-mobile-rail a.active {
        background: color-mix(in srgb, var(--surface-container-high) 90%, white 10%);
    }

    body {
        padding-bottom: 5rem;
    }
}

.superkeli-main {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem 1.5rem 4rem;
    min-width: 0;
}

.superkeli-hero {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
    padding: 2rem;
    border-radius: 2rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(207, 231, 255, 0.75));
    box-shadow: 0 1.5rem 3rem rgba(11, 58, 106, 0.18);
    position: relative;
    overflow: hidden;
    animation: hero-rise 0.6s ease both;
}

.superkeli-hero::before,
.superkeli-hero::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    opacity: 0.4;
}

.superkeli-hero::before {
    width: 240px;
    height: 240px;
    background: radial-gradient(circle, rgba(15, 118, 110, 0.35), transparent 70%);
    right: -60px;
    top: -50px;
}

.superkeli-hero::after {
    width: 320px;
    height: 320px;
    background: radial-gradient(circle, rgba(180, 83, 9, 0.25), transparent 70%);
    left: -80px;
    bottom: -120px;
}

.superkeli-hero__content {
    position: relative;
    z-index: 2;
}

.superkeli-eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 0.7rem;
    color: #0f766e;
    font-weight: 700;
}

.superkeli-hero__lead {
    font-size: 1.1rem;
    color: #2d3f55;
    max-width: 520px;
}

.superkeli-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.superkeli-hero__card {
    position: relative;
    z-index: 2;
    background: #ffffff;
    padding: 1.5rem;
    border-radius: 1.5rem;
    box-shadow: 0 1rem 2.5rem rgba(11, 58, 106, 0.12);
}

.superkeli-hero__stat {
    margin-top: 1rem;
    font-weight: 600;
    color: #0b3a6a;
}

.superkeli-searchform {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    align-items: center;
}

.superkeli-searchform__field {
    flex: 1 1 260px;
}

.superkeli-section {
    margin-top: 3rem;
}

.superkeli-section__header {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.superkeli-chip-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.superkeli-region-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 0.75rem;
}

.superkeli-region {
    background: #ffffff;
    padding: 0.9rem 1rem;
    border-radius: 1rem;
    box-shadow: 0 0.5rem 1.25rem rgba(11, 58, 106, 0.1);
    font-weight: 600;
    color: #0b3a6a;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.superkeli-region:hover,
.superkeli-region:focus {
    transform: translateY(-3px);
    box-shadow: 0 0.8rem 1.5rem rgba(11, 58, 106, 0.2);
}

.superkeli-content {
    display: grid;
    gap: 1rem;
    color: #263347;
}

.superkeli-section--cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1.5rem;
    padding: 2rem;
    background: linear-gradient(120deg, rgba(11, 58, 106, 0.1), rgba(15, 118, 110, 0.15));
    border-radius: 1.5rem;
}

.superkeli-posts {
    display: grid;
    gap: 1.5rem;
}

.superkeli-post,
.superkeli-article {
    background: #ffffff;
    padding: 1.5rem;
    border-radius: 1.5rem;
    box-shadow: 0 1rem 2rem rgba(11, 58, 106, 0.08);
}

.superkeli-post__title a {
    color: #0b3a6a;
}

.superkeli-footer {
    background: #0b1d33;
    color: #e6edf7;
    padding: 3rem 1.5rem 2.5rem;
}

.superkeli-footer__inner {
    max-width: 1400px;
    margin: 0 auto;
}

.superkeli-footer__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
}

.superkeli-footer__title {
    color: #ffffff;
    margin-bottom: 0.75rem;
}

.superkeli-footer__meta {
    border-top: 1px solid rgba(207, 231, 255, 0.2);
    margin-top: 2rem;
    padding-top: 1rem;
    font-size: 0.85rem;
}

.superkeli-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

@keyframes hero-rise {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 600px) {
    .superkeli-main {
        padding: 1.5rem 1rem 3rem;
    }

    .superkeli-hero {
        padding: 1.5rem;
    }

    .superkeli-section--cta {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* ── Breadcrumbs ──────────────────────────────────────────────────────────── */
.superkeli-breadcrumbs {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.875rem;
    color: #5a6a7e;
    margin-bottom: 1rem;
}

.superkeli-breadcrumbs a {
    color: #0b3a6a;
}

.superkeli-breadcrumbs a:hover {
    text-decoration: underline;
}

.superkeli-meta {
    color: #5a6a7e;
    margin-bottom: 1.5rem;
}

/* ── Camera Grid (Station Detail) ─────────────────────────────────────────── */
.superkeli-camera-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.25rem;
    margin-top: 1.5rem;
}

.superkeli-camera-card {
    background: #fff;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 0.5rem 1.25rem rgba(11, 58, 106, 0.08);
    margin: 0;
}

.superkeli-camera-card img {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 4/3;
    object-fit: cover;
}

.superkeli-camera-card figcaption {
    padding: 0.6rem 1rem;
    font-size: 0.875rem;
    color: #263347;
    font-weight: 500;
}

/* ── Station Grid (City View) ─────────────────────────────────────────────── */
.superkeli-station-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}

.superkeli-station-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 0.5rem 1.25rem rgba(11, 58, 106, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    text-decoration: none;
    color: inherit;
}

.superkeli-station-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 0.8rem 1.5rem rgba(11, 58, 106, 0.16);
}

.superkeli-station-card img {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 4/3;
    object-fit: cover;
}

.superkeli-station-card__name {
    padding: 0.75rem 1rem;
    font-weight: 600;
    color: #0b3a6a;
    font-size: 0.9rem;
}

/* ── Weather Card (Station Detail) ────────────────────────────────────────── */
.superkeli-weather-card {
    background: #fff;
    border-radius: 1rem;
    padding: 1.5rem;
    margin-top: 2rem;
    box-shadow: 0 0.5rem 1.25rem rgba(11, 58, 106, 0.08);
}

.superkeli-weather-card h2 {
    margin: 0 0 1rem;
    font-size: 1.1rem;
}

.superkeli-weather-dl {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 0.75rem;
    margin: 0;
}

.superkeli-weather-dl__item {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.superkeli-weather-dl__item dt {
    font-size: 0.8rem;
    color: #5a6a7e;
    font-weight: 500;
}

.superkeli-weather-dl__item dd {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
    color: #0b3a6a;
}

.superkeli-section--detail {
    display: grid;
    gap: 1.5rem;
}

.superkeli-detail-hero,
.superkeli-detail-card {
    background: rgba(255, 255, 255, 0.92);
    border-radius: 1.5rem;
    box-shadow: 0 1rem 2.2rem rgba(11, 58, 106, 0.1);
    padding: 1.5rem;
}

.superkeli-detail-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) minmax(280px, 0.9fr);
    gap: 1.5rem;
    align-items: start;
}

.superkeli-detail-hero__content {
    display: grid;
    gap: 0.75rem;
}

.superkeli-detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1rem;
}

.superkeli-detail-summary {
    display: grid;
    gap: 0.75rem;
    color: #37506f;
    background: linear-gradient(135deg, rgba(207, 231, 255, 0.65), rgba(199, 241, 234, 0.55));
    padding: 1rem 1.1rem;
    border-radius: 1rem;
}

.superkeli-status-card {
    display: grid;
    gap: 0.75rem;
    color: #37506f;
    background: linear-gradient(135deg, rgba(207, 231, 255, 0.7), rgba(199, 241, 234, 0.62));
    padding: 1.15rem 1.2rem;
    border-radius: 1rem;
    border: 1px solid rgba(11, 58, 106, 0.08);
}

.superkeli-status-card--danger {
    background: linear-gradient(135deg, rgba(255, 222, 214, 0.94), rgba(255, 243, 231, 0.9));
}

.superkeli-status-card--good {
    background: linear-gradient(135deg, rgba(212, 245, 235, 0.94), rgba(230, 246, 255, 0.9));
}

.superkeli-status-card__head {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 0.85rem;
    align-items: start;
}

.superkeli-status-card__icon {
    display: grid;
    place-items: center;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.72);
    color: #0b3a6a;
}

.superkeli-status-card__eyebrow {
    margin: 0;
    font-size: 0.8rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #4d6077;
}

.superkeli-status-card h2 {
    margin: 0.15rem 0 0;
    font-size: clamp(1.25rem, 2vw, 1.6rem);
}

.superkeli-status-card__lead {
    margin: 0;
    color: #37506f;
}

.superkeli-status-card__facts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
    margin: 0;
}

.superkeli-status-card__facts div {
    display: grid;
    gap: 0.2rem;
    padding: 0.85rem 0.9rem;
    border-radius: 0.9rem;
    background: rgba(255, 255, 255, 0.68);
}

.superkeli-status-card__facts dt {
    margin: 0;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #5a6b80;
}

.superkeli-status-card__facts dd {
    margin: 0;
    font-weight: 700;
    color: #0b3a6a;
}

.superkeli-section-pills {
    position: sticky;
    top: 1rem;
    z-index: 6;
    display: flex;
    gap: 0.65rem;
    overflow-x: auto;
    padding: 0.25rem 0;
    scrollbar-width: none;
}

.superkeli-section-pills::-webkit-scrollbar {
    display: none;
}

.superkeli-section-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.5rem;
    padding: 0.65rem 1rem;
    border-radius: 999px;
    border: 1px solid rgba(11, 58, 106, 0.12);
    background: rgba(255, 255, 255, 0.9);
    color: #0b3a6a;
    font-weight: 600;
    white-space: nowrap;
    box-shadow: 0 0.5rem 1.2rem rgba(11, 58, 106, 0.08);
}

.superkeli-section-pill.is-active {
    background: #0b3a6a;
    color: #ffffff;
    border-color: #0b3a6a;
}

.superkeli-quick-stats {
    display: grid;
    gap: 1rem;
}

.superkeli-quick-stats__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.9rem;
}

.superkeli-quick-stat {
    display: grid;
    gap: 0.4rem;
    padding: 1rem;
    border-radius: 1rem;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(238, 244, 251, 0.92));
    border: 1px solid rgba(11, 58, 106, 0.08);
}

.superkeli-quick-stat__label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #5a6b80;
}

.superkeli-quick-stat__value {
    font-size: 1.05rem;
    line-height: 1.2;
    color: #0b3a6a;
}

.superkeli-quick-stat__meta {
    font-size: 0.85rem;
    color: #4d6077;
}

.superkeli-preset-tabs {
    margin-bottom: 1rem;
    display: flex;
    gap: 0.65rem;
    padding: 0.3rem;
    border-radius: 999px;
    background: rgba(207, 231, 255, 0.56);
}

.superkeli-preset-tab {
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.6rem;
    padding: 0.7rem 1rem;
    border-radius: 999px;
    color: #37506f;
    font-weight: 600;
    transition: background-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.superkeli-preset-tab.active {
    background: #ffffff;
    color: #0b3a6a;
    box-shadow: 0 0.5rem 1rem rgba(11, 58, 106, 0.12);
}

.superkeli-camera-card-surface {
    display: grid;
    gap: 1rem;
}

.superkeli-preset-panel {
    display: none;
}

.superkeli-preset-panel.is-active {
    display: block;
}

.superkeli-camera-viewer {
    display: grid;
    gap: 1rem;
}

.superkeli-camera-viewer__topbar {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: center;
    flex-wrap: wrap;
    color: #37506f;
}

.superkeli-camera-viewer__mode,
.superkeli-camera-viewer__count {
    display: inline-flex;
    align-items: center;
    min-height: 2rem;
    padding: 0.45rem 0.8rem;
    border-radius: 999px;
    background: rgba(207, 231, 255, 0.55);
    font-size: 0.85rem;
    font-weight: 600;
}

.superkeli-camera-stage {
    position: relative;
    overflow: hidden;
    border-radius: 1.25rem;
    background: #d9e4f2;
    min-height: 280px;
    box-shadow: inset 0 -5rem 6rem rgba(11, 58, 106, 0.12);
}

.superkeli-camera-stage__image {
    width: 100%;
    display: block;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    background: #d9e4f2;
}

.superkeli-camera-stage__overlay {
    position: absolute;
    left: 0;
    right: 0;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    gap: 0.75rem;
    align-items: center;
    padding: 1rem;
}

.superkeli-camera-stage__overlay--top {
    top: 0;
}

.superkeli-camera-stage__overlay--bottom {
    bottom: 0;
    align-items: end;
    background: linear-gradient(180deg, rgba(11, 58, 106, 0), rgba(11, 58, 106, 0.68));
    color: #ffffff;
}

.superkeli-camera-stage__pill {
    display: inline-flex;
    align-items: center;
    min-height: 2rem;
    padding: 0.45rem 0.75rem;
    border-radius: 999px;
    background: rgba(11, 58, 106, 0.72);
    color: #ffffff;
    font-size: 0.82rem;
    font-weight: 700;
    backdrop-filter: blur(8px);
}

.superkeli-camera-stage__pill--muted {
    background: rgba(255, 255, 255, 0.85);
    color: #0b3a6a;
}

.superkeli-camera-stage__title {
    display: block;
    font-size: 1rem;
}

.superkeli-camera-stage__timestamp {
    display: block;
    margin-top: 0.2rem;
    font-size: 0.86rem;
    opacity: 0.92;
}

.superkeli-camera-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
}

.superkeli-camera-nav--prev {
    left: 1rem;
}

.superkeli-camera-nav--next {
    right: 1rem;
}

.superkeli-camera-caption {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    color: #37506f;
    padding: 0 0.2rem;
}

.superkeli-camera-timeline {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.75rem;
}

.superkeli-camera-timeline__field {
    display: grid;
    gap: 0.35rem;
}

.superkeli-camera-timeline__label {
    font-size: 0.9rem;
    font-weight: 600;
    color: #0b3a6a;
}

.superkeli-weather-section__header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1rem;
}

.superkeli-road-condition {
    display: inline-grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 0.75rem;
    align-items: start;
    padding: 0.9rem 1rem;
    border-radius: 1rem;
    color: #ffffff;
    background: #0b3a6a;
    box-shadow: 0 0.8rem 1.6rem rgba(11, 58, 106, 0.14);
}

.superkeli-road-condition--danger {
    background: #c94b2a;
}

.superkeli-road-condition--good {
    background: #10795f;
}

.superkeli-road-condition__meta {
    margin-top: 0.2rem;
    font-size: 0.82rem;
    opacity: 0.9;
}

.superkeli-weather-tables {
    display: grid;
    gap: 1.25rem;
}

.superkeli-weather-accordion {
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(11, 58, 106, 0.08);
    overflow: hidden;
}

.superkeli-weather-accordion__summary {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: center;
    list-style: none;
    cursor: pointer;
    padding: 1rem 1.1rem;
    font-family: "Vollkorn", serif;
    font-size: 1.05rem;
    color: #0b3a6a;
    background: rgba(207, 231, 255, 0.58);
}

.superkeli-weather-accordion__summary::-webkit-details-marker {
    display: none;
}

.superkeli-weather-accordion__hint {
    font-family: "Instrument Sans", "Segoe UI", sans-serif;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #4d6077;
}

.superkeli-weather-accordion__body {
    padding: 0;
}

.superkeli-weather-table {
    width: 100%;
    border-radius: 1rem;
    overflow: hidden;
    background: #fff;
}

.superkeli-weather-table caption {
    text-align: left;
    font-family: "Vollkorn", serif;
    font-size: 1.1rem;
    padding: 0.85rem 1rem;
    color: #0b3a6a;
    background: rgba(207, 231, 255, 0.7);
}

.superkeli-weather-table th,
.superkeli-weather-table td {
    padding: 0.9rem 1rem;
    vertical-align: top;
}

.superkeli-weather-table th {
    width: 65%;
    font-weight: 600;
    color: #263347;
}

.superkeli-weather-table td {
    color: #0b3a6a;
    font-weight: 600;
}

.superkeli-map {
    min-height: 360px;
    border-radius: 1rem;
    overflow: hidden;
}

.superkeli-map-section {
    display: grid;
    gap: 1rem;
}

.superkeli-map-toggles {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-top: 0.75rem;
}

.superkeli-map-toggles .button.is-primary {
    background: #0b3a6a;
    border-color: #0b3a6a;
    color: #ffffff;
}

.superkeli-map-legend {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.9rem;
    margin-top: 1rem;
    font-size: 0.875rem;
    color: #37506f;
}

.superkeli-map-legend__item {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
}

.superkeli-map-legend__swatch {
    display: inline-block;
    width: 16px;
    height: 4px;
    border-radius: 2px;
}

.superkeli-map-legend__swatch--fresh {
    background: #005bea;
}

.superkeli-map-legend__swatch--recent {
    background: #237bd4;
}

.superkeli-map-legend__swatch--older {
    background: #7db6e8;
}

.superkeli-detail-copy {
    color: #263347;
}

.superkeli-detail-copy h2 {
    margin-bottom: 1rem;
}

.superkeli-detail-note {
    font-size: 0.95rem;
    color: #4d6077;
}

@media (max-width: 900px) {
    .superkeli-detail-hero {
        grid-template-columns: 1fr;
    }

    .superkeli-quick-stats__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .superkeli-detail-hero,
    .superkeli-detail-card {
        padding: 1.1rem;
    }

    .superkeli-status-card__facts {
        grid-template-columns: 1fr;
    }

    .superkeli-quick-stats__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.75rem;
    }

    .superkeli-preset-tabs {
        padding: 0.25rem;
    }

    .superkeli-preset-tab {
        min-height: 2.4rem;
        padding: 0.65rem 0.9rem;
    }

    .superkeli-camera-timeline {
        grid-template-columns: 1fr;
    }

    .superkeli-camera-nav {
        top: auto;
        bottom: 0.75rem;
        transform: none;
    }

    .superkeli-camera-nav--prev {
        left: 0.75rem;
    }

    .superkeli-camera-nav--next {
        right: 0.75rem;
    }

    .superkeli-section-pills {
        top: 0.5rem;
    }

    .superkeli-road-condition {
        width: 100%;
    }

    .superkeli-map-legend {
        gap: 0.6rem;
    }

    .superkeli-camera-stage__overlay {
        padding: 0.8rem;
    }

    .superkeli-incident-panel {
        grid-template-columns: 1fr;
    }
}

/* Traffic Alerts */
.superkeli-traffic-alerts {
    margin-bottom: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.superkeli-incident-panel {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 1rem;
    padding: 1.15rem 1.2rem;
    border-radius: 1.2rem;
    background: linear-gradient(135deg, rgba(255, 236, 231, 0.98), rgba(255, 246, 237, 0.95));
    border: 1px solid rgba(201, 75, 42, 0.14);
    box-shadow: 0 0.9rem 1.8rem rgba(161, 51, 26, 0.12);
}

.superkeli-incident-panel__icon {
    display: grid;
    place-items: center;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 999px;
    background: rgba(201, 75, 42, 0.12);
    color: #a1331a;
}

.superkeli-incident-panel__content {
    display: grid;
    gap: 0.45rem;
}

.superkeli-incident-panel__meta-row {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    align-items: center;
}

.superkeli-incident-panel__badge {
    display: inline-flex;
    align-items: center;
    min-height: 1.8rem;
    padding: 0.35rem 0.7rem;
    border-radius: 999px;
    background: rgba(201, 75, 42, 0.12);
    color: #a1331a;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.superkeli-incident-panel__time {
    font-size: 0.82rem;
    color: #6b564d;
}

.superkeli-incident-panel__title {
    font-size: 1rem;
    color: #682212;
}

.superkeli-incident-panel__desc {
    font-size: 0.92rem;
    color: #5f443d;
    line-height: 1.45;
}
