.weather-page {
    background: var(--jelonka-paper);
}

.weather-shell {
    width: 100%;
    max-width: var(--jelonka-container);
    display: grid;
    gap: 1.25rem;
    padding-top: clamp(0.1rem, 0.4vw, 0.35rem);
    padding-right: clamp(1rem, 2vw, 1.75rem);
    padding-bottom: clamp(2.5rem, 5vw, 4.5rem);
    padding-left: clamp(1rem, 2vw, 1.75rem);
}

.weather-shell.is-loading {
    opacity: 0.72;
    transition: opacity 0.18s ease;
}

.weather-map-modal-open {
    overflow: hidden;
}

.weather-panel {
    border: 1px solid rgba(23, 33, 38, 0.08);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 18px 40px rgba(23, 33, 38, 0.06);
}

.weather-hero {
    overflow: hidden;
}

.weather-hero__copy,
.weather-section-head,
.weather-section-head > div,
.weather-region-panel,
.weather-now,
.weather-days-stack,
.weather-sidebar,
.weather-main {
    min-width: 0;
}

.weather-kicker {
    margin-bottom: 0;
}

.weather-hero h1 {
    max-width: 12ch;
}

.weather-hero p {
    max-width: 42rem;
}

.weather-hero__copy {
    display: grid;
    align-content: start;
}

.weather-status {
    margin: 1rem 0 0;
    padding: 0.85rem 1rem;
    border-radius: 16px;
    font-weight: 600;
}

.weather-status--warning {
    background: rgba(190, 86, 0, 0.12);
    color: #8b4500;
}

.weather-status--danger {
    background: rgba(166, 34, 34, 0.1);
    color: #8d2020;
}

.weather-hero__media {
    justify-self: end;
}

.weather-hero .news-hero__media-frame img,
.weather-hero__media-frame img {
    width: clamp(8.75rem, 15vw, 12.5rem);
}

.weather-layout {
    display: grid;
    gap: 1rem;
    align-items: start;
}

.weather-main,
.weather-sidebar {
    display: grid;
    gap: 1rem;
}

.weather-forecast-stack {
    display: grid;
    gap: 1rem;
}

.weather-mobile-only {
    display: none !important;
}

.weather-panel {
    padding: 1.25rem;
}

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

.weather-section-head h2 {
    margin: 0;
}

.weather-section-head p {
    margin: 0.25rem 0 0;
    color: var(--jelonka-ink-soft);
}

.weather-map-trigger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.8rem;
    padding: 0.7rem 1.1rem;
    border: 1px solid rgba(20, 97, 162, 0.18);
    border-radius: 999px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(243, 247, 251, 0.94) 100%);
    color: var(--jelonka-brand-strong);
    font-size: 0.95rem;
    font-weight: 800;
    line-height: 1;
    box-shadow: 0 10px 24px rgba(20, 97, 162, 0.08);
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.weather-map-trigger:hover,
.weather-map-trigger:focus-visible {
    border-color: rgba(190, 86, 0, 0.28);
    box-shadow: 0 14px 28px rgba(190, 86, 0, 0.14);
    transform: translateY(-1px);
}

.weather-map-trigger:focus-visible {
    outline: none;
}

.weather-now__card {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    gap: 1.1rem;
    align-items: center;
}

.weather-now__summary {
    display: flex;
    gap: 1rem;
    align-items: center;
    padding: 1rem;
    border-radius: 24px;
    background:
        radial-gradient(circle at top left, rgba(255, 214, 87, 0.2), transparent 28%),
        linear-gradient(180deg, rgba(255, 249, 236, 0.95) 0%, rgba(255, 255, 255, 0.96) 100%);
}

.weather-now__icon {
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    width: 5.5rem;
    height: 5.5rem;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.82);
}

.weather-now__icon img {
    width: 4rem;
    height: 4rem;
}

.weather-now__temperature {
    font-size: clamp(2.3rem, 4vw, 4rem);
    font-weight: 900;
    line-height: 0.95;
}

.weather-now__description {
    margin-top: 0.3rem;
    font-size: 1rem;
    font-weight: 700;
}

.weather-now__time {
    margin-top: 0.25rem;
    color: var(--jelonka-ink-soft);
}

.weather-now__details {
    border: 1px solid rgba(20, 97, 162, 0.12);
    border-radius: 24px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(245, 248, 252, 0.95) 100%);
    overflow: hidden;
}

.weather-now__details summary {
    position: relative;
    display: grid;
    gap: 0.18rem;
    padding: 1rem 3.25rem 1rem 1rem;
    cursor: pointer;
    list-style: none;
}

.weather-now__details summary::-webkit-details-marker {
    display: none;
}

.weather-now__details summary::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 1rem;
    width: 0.75rem;
    height: 0.75rem;
    border-right: 2px solid rgba(20, 97, 162, 0.72);
    border-bottom: 2px solid rgba(20, 97, 162, 0.72);
    transform: translateY(-65%) rotate(45deg);
    transition: transform 0.18s ease;
}

.weather-now__details[open] summary::after {
    transform: translateY(-35%) rotate(-135deg);
}

.weather-now__details summary span:first-child {
    color: var(--jelonka-brand-strong);
    font-size: 0.95rem;
    font-weight: 900;
}

.weather-now__details-meta {
    color: var(--jelonka-ink-soft);
    font-size: 0.8rem;
    font-weight: 700;
}

.weather-now__details .weather-metrics {
    padding: 0 1rem 1rem;
}

.weather-metrics,
.weather-entry-metrics {
    display: grid;
    gap: 0.7rem;
    margin: 0;
}

.weather-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.weather-metrics div,
.weather-entry-metrics div {
    display: flex;
    justify-content: space-between;
    gap: 0.8rem;
    padding: 0.8rem 0.9rem;
    border-radius: 16px;
    background: rgba(243, 246, 250, 0.82);
}

.weather-metrics dt,
.weather-entry-metrics dt {
    margin: 0;
    color: var(--jelonka-ink-soft);
    font-weight: 700;
}

.weather-metrics dd,
.weather-entry-metrics dd {
    margin: 0;
    text-align: right;
    font-weight: 800;
}

.weather-day-badge {
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.5rem;
}

.weather-day-badge span {
    display: inline-flex;
    align-items: center;
    min-height: 2.2rem;
    padding: 0.4rem 0.8rem;
    border-radius: 999px;
    background: rgba(20, 97, 162, 0.08);
    color: var(--jelonka-brand-strong);
    font-size: 0.9rem;
    font-weight: 800;
}

.weather-mobile-timeline,
.weather-mobile-timeline__frame,
.weather-mobile-timeline__scroller,
.weather-mobile-timeline__track {
    min-width: 0;
}

.weather-mobile-timeline {
    display: grid;
}

.weather-mobile-timeline__frame {
    display: grid;
    grid-template-columns: 2.8rem minmax(0, 1fr);
    gap: 0.85rem;
    padding: 1rem 0 0;
    border: 1px solid rgba(20, 97, 162, 0.12);
    border-radius: 24px;
    background:
        radial-gradient(circle at top right, rgba(255, 212, 92, 0.16), transparent 24%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(245, 248, 252, 0.95) 100%);
    overflow: hidden;
}

.weather-mobile-timeline__axis {
    display: grid;
    align-content: space-between;
    min-height: 15rem;
    padding: 3rem 0 3.4rem 1rem;
    color: var(--jelonka-ink-soft);
    font-size: 0.82rem;
    font-weight: 800;
}

.weather-mobile-timeline__scroller {
    overflow-x: auto;
    overflow-y: hidden;
    padding: 0 1rem 1rem 0;
    scrollbar-width: thin;
    scrollbar-color: rgba(20, 97, 162, 0.22) rgba(20, 97, 162, 0.08);
}

.weather-mobile-timeline__scroller::-webkit-scrollbar {
    height: 0.42rem;
}

.weather-mobile-timeline__scroller::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: rgba(20, 97, 162, 0.22);
}

.weather-mobile-timeline__scroller::-webkit-scrollbar-track {
    border-radius: 999px;
    background: rgba(20, 97, 162, 0.08);
}

.weather-mobile-timeline__track {
    width: max(100%, calc(var(--weather-timeline-count) * 3.35rem));
}

.weather-mobile-timeline__icons,
.weather-mobile-timeline__labels,
.weather-mobile-timeline__dates {
    display: grid;
    grid-template-columns: repeat(var(--weather-timeline-count), minmax(3.35rem, 1fr));
}

.weather-mobile-timeline__plot {
    position: relative;
    min-height: 11.25rem;
    margin-bottom: 0.9rem;
}

.weather-mobile-timeline__svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.weather-mobile-timeline__svg line {
    stroke: rgba(20, 97, 162, 0.12);
    stroke-width: 0.7;
    vector-effect: non-scaling-stroke;
}

.weather-mobile-timeline__svg polyline {
    fill: none;
    stroke: #1461a2;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
    vector-effect: non-scaling-stroke;
}

.weather-mobile-timeline__divider {
    position: absolute;
    top: 8%;
    bottom: 8%;
    width: 1px;
    background: linear-gradient(180deg, transparent 0%, rgba(20, 97, 162, 0.2) 18%, rgba(20, 97, 162, 0.2) 82%, transparent 100%);
    transform: translateX(-50%);
}

.weather-mobile-timeline__current-line {
    position: absolute;
    top: 8%;
    bottom: 8%;
    width: 2px;
    border-radius: 999px;
    background: linear-gradient(180deg, transparent 0%, rgba(190, 86, 0, 0.28) 12%, rgba(190, 86, 0, 0.74) 45%, rgba(190, 86, 0, 0.74) 55%, rgba(190, 86, 0, 0.28) 88%, transparent 100%);
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.35);
    transform: translateX(-50%);
}

.weather-mobile-timeline__points {
    position: absolute;
    inset: 0;
}

.weather-mobile-timeline__point {
    position: absolute;
    top: calc(var(--weather-mobile-point-y, 92%) - 0.4rem);
    display: grid;
    justify-items: center;
    width: 3rem;
    transform: translate(-50%, -50%);
}

.weather-mobile-timeline__point.is-now {
    z-index: 2;
}

.weather-mobile-timeline__temperature {
    padding: 0.12rem 0.45rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 8px 18px rgba(18, 30, 48, 0.08);
    color: var(--jelonka-brand-strong);
    font-size: 0.68rem;
    font-weight: 900;
    line-height: 1;
}

.weather-mobile-timeline__icons {
    gap: 0.2rem;
    margin-bottom: 0.45rem;
    align-items: center;
}

.weather-mobile-timeline__icon-slot,
.weather-mobile-timeline__date {
    text-align: center;
}

.weather-mobile-timeline__icon-slot {
    min-height: 1.95rem;
}

.weather-mobile-timeline__icon-slot.is-visible {
    display: grid;
    place-items: center;
}

.weather-mobile-timeline__icon-shell {
    display: grid;
    place-items: center;
    width: 1.85rem;
    height: 1.85rem;
    border: 1px solid rgba(20, 97, 162, 0.14);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 10px 20px rgba(18, 30, 48, 0.1);
}

.weather-mobile-timeline__icon {
    width: 1.15rem;
    height: 1.15rem;
}

.weather-mobile-timeline__dot {
    width: 0.78rem;
    height: 0.78rem;
    border: 2px solid rgba(255, 255, 255, 0.96);
    border-radius: 50%;
    background: #1461a2;
    box-shadow: 0 8px 18px rgba(20, 97, 162, 0.24);
}

.weather-mobile-timeline__point.is-now .weather-mobile-timeline__dot {
    background: var(--jelonka-accent);
    box-shadow: 0 10px 20px rgba(190, 86, 0, 0.24);
    transform: scale(1.1);
}

.weather-mobile-timeline__labels {
    display: grid;
    gap: 0.35rem;
    align-items: start;
    margin-bottom: 0.22rem;
}

.weather-mobile-timeline__label {
    min-height: 1.2rem;
    padding-top: 0.1rem;
    text-align: center;
}

.weather-mobile-timeline__label strong {
    display: block;
    opacity: 0;
}

.weather-mobile-timeline__label.is-visible strong {
    opacity: 1;
}

.weather-mobile-timeline__label strong {
    color: var(--jelonka-brand-strong);
    font-size: 0.72rem;
    font-weight: 900;
}

.weather-mobile-timeline__label.is-now strong {
    color: var(--jelonka-accent);
}

.weather-mobile-timeline__dates {
    gap: 0.35rem;
    align-items: start;
}

.weather-mobile-timeline__date {
    min-height: 1rem;
}

.weather-mobile-timeline__date span {
    display: block;
    opacity: 0;
    color: var(--jelonka-ink-soft);
    font-size: 0.62rem;
    font-weight: 800;
}

.weather-mobile-timeline__date.is-visible span {
    opacity: 1;
}

.weather-mobile-timeline__date.is-now span {
    color: var(--jelonka-accent);
}

.weather-mobile-showcase {
    display: grid;
    gap: 0.8rem;
}

.weather-mobile-showcase__hero {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.2rem 0.05rem 0;
}

.weather-mobile-showcase__eyebrow {
    display: inline-flex;
    align-items: center;
    min-height: 1.6rem;
    padding: 0.14rem 0.55rem;
    border-radius: 999px;
    background: rgba(20, 97, 162, 0.1);
    color: var(--jelonka-brand-strong);
    font-size: 0.68rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.weather-mobile-showcase__hero strong {
    display: block;
    margin-top: 0.38rem;
    color: var(--jelonka-ink);
    font-size: 1rem;
    line-height: 1.05;
}

.weather-mobile-showcase__range {
    flex: 0 0 auto;
    padding: 0.38rem 0.72rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.78);
    color: var(--jelonka-brand-strong);
    font-size: 0.76rem;
    font-weight: 900;
    box-shadow: 0 10px 24px rgba(18, 30, 48, 0.08);
}

.weather-mobile-showcase__scroller {
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 0.25rem;
    scrollbar-width: none;
}

.weather-mobile-showcase__scroller::-webkit-scrollbar {
    display: none;
}

.weather-mobile-showcase__track {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(8.6rem, 8.6rem);
    gap: 0.7rem;
}

.weather-mobile-showcase__card {
    position: relative;
    display: grid;
    gap: 0.8rem;
    min-height: 15.5rem;
    padding: 0.9rem;
    border: 1px solid rgba(20, 97, 162, 0.12);
    border-radius: 26px;
    background:
        radial-gradient(circle at top left, rgba(255, 212, 92, 0.22), transparent 28%),
        radial-gradient(circle at bottom right, rgba(20, 97, 162, 0.18), transparent 34%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(242, 247, 252, 0.98) 100%);
    box-shadow: 0 20px 36px rgba(18, 30, 48, 0.09);
    scroll-snap-align: start;
    overflow: hidden;
}

.weather-mobile-showcase__card::after {
    content: "";
    position: absolute;
    inset: auto -10% -35% auto;
    width: 7rem;
    height: 7rem;
    border-radius: 50%;
    background: rgba(20, 97, 162, 0.08);
    filter: blur(2px);
}

.weather-mobile-showcase__card.is-now {
    border-color: rgba(190, 86, 0, 0.24);
    box-shadow: 0 24px 42px rgba(190, 86, 0, 0.16);
}

.weather-mobile-showcase__card-top,
.weather-mobile-showcase__card-bottom {
    position: relative;
    z-index: 1;
}

.weather-mobile-showcase__card-top {
    display: grid;
    gap: 0.32rem;
}

.weather-mobile-showcase__time {
    color: var(--jelonka-brand-strong);
    font-size: 0.88rem;
    font-weight: 900;
}

.weather-mobile-showcase__date {
    display: inline-flex;
    width: fit-content;
    max-width: 100%;
    min-height: 1.5rem;
    align-items: center;
    padding: 0.18rem 0.55rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.82);
    color: var(--jelonka-ink-soft);
    font-size: 0.68rem;
    font-weight: 900;
    line-height: 1;
    box-shadow: 0 10px 20px rgba(18, 30, 48, 0.07);
}

.weather-mobile-showcase__date.is-day-start {
    background: rgba(190, 86, 0, 0.12);
    color: var(--jelonka-accent);
}

.weather-mobile-showcase__visual {
    position: relative;
    z-index: 1;
    display: grid;
    justify-items: center;
    align-content: center;
    min-height: 7.3rem;
}

.weather-mobile-showcase__icon-orb {
    display: grid;
    place-items: center;
    width: 5.4rem;
    height: 5.4rem;
    border-radius: 50%;
    background:
        radial-gradient(circle at 30% 25%, rgba(255, 255, 255, 0.98), rgba(237, 245, 252, 0.96) 42%, rgba(214, 231, 246, 0.96) 100%);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.7),
        0 18px 30px rgba(18, 30, 48, 0.12);
    position: relative;
    overflow: hidden;
}

.weather-mobile-showcase__icon-orb::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background:
        radial-gradient(circle at top, rgba(255, 212, 92, 0.16), transparent 46%),
        linear-gradient(180deg, rgba(247, 251, 255, 0.94) 0%, rgba(228, 239, 247, 0.94) 100%);
}

.weather-mobile-showcase__icon {
    position: relative;
    z-index: 1;
    width: 4.2rem;
    height: 4.2rem;
    filter: drop-shadow(0 10px 14px rgba(20, 97, 162, 0.12));
}

.weather-mobile-showcase__card-bottom {
    display: grid;
    gap: 0.25rem;
}

.weather-mobile-showcase__temperature {
    color: var(--jelonka-ink);
    font-size: 1.4rem;
    font-weight: 900;
    line-height: 0.95;
}

.weather-mobile-showcase__description {
    color: var(--jelonka-ink-soft);
    font-size: 0.76rem;
    font-weight: 700;
    line-height: 1.35;
}

.weather-hourly-panel__layout {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.9fr);
    gap: 1rem;
    align-items: stretch;
}

.weather-hourly-chart,
.weather-hourly-details {
    min-width: 0;
}

.weather-hourly-chart__surface,
.weather-hourly-details {
    height: 100%;
    border: 1px solid rgba(20, 97, 162, 0.12);
    border-radius: 24px;
    background:
        radial-gradient(circle at top right, rgba(255, 212, 92, 0.16), transparent 24%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(245, 248, 252, 0.95) 100%);
}

.weather-hourly-chart__surface {
    display: grid;
    grid-template-columns: 3rem minmax(0, 1fr);
    grid-template-areas:
        "axis canvas"
        ". scale";
    gap: 0.95rem;
    padding: 1.1rem 1.15rem 1rem;
}

.weather-hourly-chart__axis {
    grid-area: axis;
    display: grid;
    align-content: space-between;
    padding: 0.3rem 0 2.2rem;
    color: var(--jelonka-ink-soft);
    font-size: 0.82rem;
    font-weight: 800;
}

.weather-hourly-chart__canvas {
    position: relative;
    grid-area: canvas;
    min-height: 21rem;
}

.weather-hourly-chart__svg,
.weather-hourly-chart__hotspots {
    position: absolute;
    inset: 0 0 1.9rem;
}

.weather-hourly-chart__svg {
    width: 100%;
    height: 100%;
    overflow: visible;
}

.weather-hourly-chart__svg line {
    stroke: rgba(20, 97, 162, 0.12);
    stroke-width: 0.7;
    vector-effect: non-scaling-stroke;
}

.weather-hourly-chart__svg polyline {
    fill: none;
    stroke: #1461a2;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
    vector-effect: non-scaling-stroke;
}

.weather-hourly-chart__hotspot {
    position: absolute;
    top: 0;
    bottom: 0;
    width: clamp(1.8rem, 4.4vw, 2.8rem);
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--jelonka-ink);
    cursor: pointer;
    transform: translateX(-50%);
    z-index: 1;
}

.weather-hourly-chart__hotspot::before {
    content: "";
    position: absolute;
    inset: 0 auto 1.6rem 50%;
    width: 2px;
    border-radius: 999px;
    background: transparent;
    transform: translateX(-50%);
    transition: background 0.18s ease, opacity 0.18s ease;
}

.weather-hourly-chart__hotspot:hover::before,
.weather-hourly-chart__hotspot:focus-visible::before,
.weather-hourly-chart__hotspot.is-active::before {
    background: rgba(190, 86, 0, 0.22);
}

.weather-hourly-chart__hotspot:hover,
.weather-hourly-chart__hotspot:focus-visible,
.weather-hourly-chart__hotspot.is-active,
.weather-hourly-chart__hotspot.is-current {
    z-index: 2;
}

.weather-hourly-chart__hotspot:focus-visible {
    outline: none;
}

.weather-hourly-chart__icon-shell {
    position: absolute;
    left: 50%;
    top: calc(var(--weather-hour-point-y, 92%) - 2rem);
    display: grid;
    place-items: center;
    width: 2rem;
    height: 2rem;
    border: 1px solid rgba(20, 97, 162, 0.14);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 10px 20px rgba(18, 30, 48, 0.1);
    transform: translate(-50%, -50%);
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.weather-hourly-chart__icon {
    width: 1.35rem;
    height: 1.35rem;
}

.weather-hourly-chart__hotspot:hover .weather-hourly-chart__icon-shell,
.weather-hourly-chart__hotspot:focus-visible .weather-hourly-chart__icon-shell,
.weather-hourly-chart__hotspot.is-active .weather-hourly-chart__icon-shell,
.weather-hourly-chart__hotspot.is-current .weather-hourly-chart__icon-shell {
    border-color: rgba(190, 86, 0, 0.28);
    box-shadow: 0 14px 24px rgba(190, 86, 0, 0.18);
    transform: translate(-50%, -50%) scale(1.04);
}

.weather-hourly-chart__time {
    position: absolute;
    left: 50%;
    bottom: 0;
    color: var(--jelonka-ink-soft);
    font-size: 0.72rem;
    font-weight: 800;
    line-height: 1;
    white-space: nowrap;
    opacity: 0;
    transform: translateX(-50%);
    transition: opacity 0.18s ease, color 0.18s ease;
}

.weather-hourly-chart__hotspot:hover .weather-hourly-chart__time,
.weather-hourly-chart__hotspot:focus-visible .weather-hourly-chart__time,
.weather-hourly-chart__hotspot.is-active .weather-hourly-chart__time,
.weather-hourly-chart__hotspot.is-current .weather-hourly-chart__time {
    opacity: 1;
    color: var(--jelonka-brand-strong);
}

.weather-hourly-chart__scale {
    grid-area: scale;
    display: flex;
    justify-content: space-between;
    gap: 0.75rem;
    color: var(--jelonka-ink-soft);
    font-size: 0.82rem;
    font-weight: 800;
}

.weather-hourly-details {
    display: grid;
    align-content: start;
    gap: 1rem;
    padding: 1.15rem;
}

.weather-hourly-details__eyebrow {
    display: inline-flex;
    align-items: center;
    min-height: 1.85rem;
    padding: 0.16rem 0.72rem;
    border-radius: 999px;
    background: rgba(20, 97, 162, 0.1);
    color: var(--jelonka-brand-strong);
    font-size: 0.74rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.weather-hourly-details__headline {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 0.6rem;
}

.weather-hourly-details__headline span {
    color: var(--jelonka-ink-soft);
    font-weight: 800;
}

.weather-hourly-details__headline strong {
    font-size: clamp(2rem, 3vw, 3rem);
    line-height: 0.95;
}

.weather-hourly-details__summary {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.weather-hourly-details__icon-shell {
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    width: 4.9rem;
    height: 4.9rem;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.84);
}

.weather-hourly-details__icon-shell img {
    width: 3.35rem;
    height: 3.35rem;
}

.weather-hourly-details__summary p {
    margin: 0;
    font-size: 1rem;
    font-weight: 800;
    line-height: 1.35;
}

.weather-metrics--details {
    grid-template-columns: minmax(0, 1fr);
}

.weather-days-stack {
    display: grid;
    gap: 0.8rem;
}

.weather-day-card {
    border: 1px solid rgba(20, 97, 162, 0.12);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.98);
    overflow: hidden;
}

.weather-day-card summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.1rem;
    list-style: none;
    cursor: pointer;
}

.weather-day-card summary::-webkit-details-marker {
    display: none;
}

.weather-day-card__summary {
    display: flex;
    gap: 0.85rem;
    align-items: center;
}

.weather-day-card__summary img {
    width: 3rem;
    height: 3rem;
}

.weather-day-card__summary strong,
.weather-day-card__summary span,
.weather-day-card__meta span {
    display: block;
}

.weather-day-card__summary span {
    color: var(--jelonka-ink-soft);
}

.weather-day-card__meta {
    text-align: right;
    font-weight: 800;
}

.weather-day-card[open] summary {
    border-bottom: 1px solid rgba(20, 97, 162, 0.12);
}

.weather-day-card__body {
    padding: 1rem 1.1rem 1.1rem;
}

.weather-map-modal[hidden] {
    display: none;
}

.weather-map-modal {
    position: fixed;
    inset: 0;
    z-index: 2100;
    display: grid;
    place-items: center;
    padding: 1rem;
}

.weather-map-modal__backdrop {
    position: absolute;
    inset: 0;
    border: 0;
    background: rgba(6, 12, 18, 0.76);
    backdrop-filter: blur(8px);
}

.weather-map-modal__dialog {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 1.15rem;
    width: min(980px, calc(100vw - 2rem));
    max-height: calc(100vh - 2rem);
    padding: clamp(1rem, 2.5vw, 1.5rem);
    overflow: auto;
    border: 1px solid rgba(20, 97, 162, 0.12);
    border-radius: 32px;
    background:
        radial-gradient(circle at top left, rgba(255, 212, 92, 0.22), transparent 22%),
        linear-gradient(180deg, rgba(251, 253, 255, 0.98) 0%, rgba(238, 245, 251, 0.98) 100%);
    box-shadow: 0 36px 90px rgba(5, 12, 20, 0.28);
}

.weather-map-modal__close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 2;
    display: grid;
    width: 2.85rem;
    height: 2.85rem;
    place-items: center;
    border: 1px solid rgba(20, 97, 162, 0.14);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.94);
    color: var(--jelonka-ink);
    font-size: 2rem;
    line-height: 1;
    box-shadow: 0 10px 24px rgba(18, 30, 48, 0.12);
}

.weather-map-modal__close:hover,
.weather-map-modal__close:focus-visible {
    border-color: rgba(190, 86, 0, 0.24);
    box-shadow: 0 14px 28px rgba(190, 86, 0, 0.16);
}

.weather-map-modal__close:focus-visible {
    outline: none;
}

.weather-map-modal__head {
    padding-right: 3.5rem;
}

.weather-map-modal__head h2 {
    margin: 0.8rem 0 0;
    font-size: clamp(1.6rem, 2.6vw, 2.4rem);
    line-height: 1.05;
}

.weather-map-modal__head p {
    margin: 0.65rem 0 0;
    color: var(--jelonka-ink-soft);
    font-size: 1rem;
}

.weather-region-layout {
    display: block;
}

.weather-region-map-shell {
    position: relative;
    min-width: 0;
}

.weather-map-modal__dialog .weather-region-map-shell {
    width: min(100%, 58rem);
}

.weather-region-map {
    position: relative;
    isolation: isolate;
    border: 1px solid rgba(20, 97, 162, 0.12);
    border-radius: 28px;
    background:
        radial-gradient(circle at top left, rgba(255, 212, 92, 0.2), transparent 20%),
        linear-gradient(180deg, rgba(225, 237, 246, 0.95) 0%, rgba(240, 246, 251, 0.98) 100%);
    overflow: hidden;
}

.weather-region-map__image {
    display: block;
    width: 100%;
    height: auto;
}

.weather-region-map__markers {
    position: absolute;
    inset: 0;
    z-index: 2;
}

.weather-region-map__marker {
    position: absolute;
    z-index: 3;
    display: block;
    width: 2.85rem;
    height: 2.85rem;
    border-radius: 999px;
    color: var(--jelonka-ink);
    text-decoration: none;
    cursor: pointer;
    transform: translate(-50%, -50%);
}

.weather-region-map__marker:hover,
.weather-region-map__marker:focus-visible,
.weather-region-map__marker.is-hover-linked,
.weather-region-map__marker.is-active {
    z-index: 4;
    text-decoration: none;
}

.weather-region-map__dot {
    position: relative;
    position: absolute;
    inset: 50% auto auto 50%;
    width: 1.1rem;
    height: 1.1rem;
    border: 3px solid rgba(255, 255, 255, 0.96);
    border-radius: 50%;
    background: linear-gradient(180deg, #1461a2 0%, #0d4b82 100%);
    box-shadow: 0 10px 18px rgba(20, 97, 162, 0.32);
    transform: translate(-50%, -50%);
}

.weather-region-map__dot::after {
    content: "";
    position: absolute;
    inset: 50% auto auto 50%;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    background: rgba(20, 97, 162, 0.16);
    transform: translate(-50%, -50%);
}

.weather-region-map__marker.is-active .weather-region-map__dot,
.weather-region-map__marker:hover .weather-region-map__dot,
.weather-region-map__marker.is-hover-linked .weather-region-map__dot,
.weather-region-map__marker:focus-visible .weather-region-map__dot {
    background: linear-gradient(180deg, #be5600 0%, #8e3b00 100%);
    box-shadow: 0 12px 22px rgba(190, 86, 0, 0.32);
}

.weather-region-map__label {
    position: absolute;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    min-height: 1.85rem;
    padding: 0.2rem 0.6rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 12px 24px rgba(18, 30, 48, 0.14);
    font-size: 0.76rem;
    font-weight: 800;
    line-height: 1;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.18s ease, transform 0.18s ease, color 0.18s ease;
    white-space: nowrap;
}

.weather-region-map__marker--right .weather-region-map__label {
    left: calc(50% + 1rem + var(--label-dx, 0px));
    top: calc(50% + var(--label-dy, 0px));
    transform: translate(0, -50%);
}

.weather-region-map__marker--left .weather-region-map__label {
    right: calc(50% + 1rem - var(--label-dx, 0px));
    top: calc(50% + var(--label-dy, 0px));
    transform: translate(0, -50%);
}

.weather-region-map__marker--top .weather-region-map__label {
    left: calc(50% + var(--label-dx, 0px));
    bottom: calc(50% + 1rem - var(--label-dy, 0px));
    transform: translate(-50%, 0);
}

.weather-region-map__marker--bottom .weather-region-map__label {
    left: calc(50% + var(--label-dx, 0px));
    top: calc(50% + 1rem + var(--label-dy, 0px));
    transform: translate(-50%, 0);
}

.weather-region-map__marker.is-active .weather-region-map__label,
.weather-region-map__marker:hover .weather-region-map__label,
.weather-region-map__marker.is-hover-linked .weather-region-map__label,
.weather-region-map__marker:focus-visible .weather-region-map__label {
    opacity: 1;
}

.weather-region-map__marker--right.is-active .weather-region-map__label,
.weather-region-map__marker--right:hover .weather-region-map__label,
.weather-region-map__marker--right.is-hover-linked .weather-region-map__label,
.weather-region-map__marker--right:focus-visible .weather-region-map__label {
    transform: translate(0, -50%);
}

.weather-region-map__marker--left.is-active .weather-region-map__label,
.weather-region-map__marker--left:hover .weather-region-map__label,
.weather-region-map__marker--left.is-hover-linked .weather-region-map__label,
.weather-region-map__marker--left:focus-visible .weather-region-map__label {
    transform: translate(0, -50%);
}

.weather-region-map__marker--top.is-active .weather-region-map__label,
.weather-region-map__marker--top:hover .weather-region-map__label,
.weather-region-map__marker--top.is-hover-linked .weather-region-map__label,
.weather-region-map__marker--top:focus-visible .weather-region-map__label {
    transform: translate(-50%, 0);
}

.weather-region-map__marker--bottom.is-active .weather-region-map__label,
.weather-region-map__marker--bottom:hover .weather-region-map__label,
.weather-region-map__marker--bottom.is-hover-linked .weather-region-map__label,
.weather-region-map__marker--bottom:focus-visible .weather-region-map__label {
    transform: translate(-50%, 0);
}

.weather-region-map__marker.is-active .weather-region-map__label {
    color: var(--jelonka-accent);
}

.weather-region-map__credits {
    margin: 0.75rem 0 0;
    color: var(--jelonka-ink-soft);
    font-size: 0.82rem;
}

.weather-empty {
    padding: 1rem;
    border-radius: 18px;
    background: rgba(243, 246, 250, 0.82);
    color: var(--jelonka-ink-soft);
    font-weight: 600;
}

@media (max-width: 991.98px) {
    .weather-layout,
    .weather-now__card,
    .weather-region-layout,
    .weather-hourly-panel__layout {
        grid-template-columns: minmax(0, 1fr);
    }

    .weather-hero {
        grid-template-columns: minmax(0, 1fr);
    }

    .weather-hero__media {
        justify-self: center;
    }
}

@media (min-width: 1200px) {
    .weather-region-layout {
        display: flow-root;
    }

    .weather-region-map-shell {
        width: min(100%, 58rem);
    }
}

@media (max-width: 767.98px) {
    .weather-mobile-only {
        display: block !important;
    }

    .weather-desktop-only {
        display: none !important;
    }

    .weather-panel,
    .weather-hero {
        padding: 1rem;
        border-radius: 24px;
    }

    .weather-section-head,
    .weather-day-card summary {
        flex-direction: column;
        align-items: stretch;
    }

    .weather-map-trigger {
        width: 100%;
    }

    .weather-hero {
        gap: 0.7rem;
    }

    .weather-hero h1 {
        font-size: clamp(2rem, 11vw, 2.8rem);
    }

    .weather-hero__copy p {
        margin-top: 0;
        max-width: 24rem;
        font-size: 0.94rem;
    }

    .weather-hero__media {
        display: none;
    }

    .weather-metrics {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.55rem;
    }

    .weather-now__card {
        gap: 0.85rem;
    }

    .weather-now__summary {
        padding: 0.9rem;
        gap: 0.8rem;
        border-radius: 20px;
    }

    .weather-now__details {
        border-radius: 20px;
    }

    .weather-now__details summary {
        padding: 0.9rem 2.9rem 0.9rem 0.9rem;
    }

    .weather-now__details summary span:first-child {
        font-size: 0.9rem;
    }

    .weather-now__details-meta {
        font-size: 0.74rem;
    }

    .weather-now__icon {
        width: 4.5rem;
        height: 4.5rem;
    }

    .weather-now__icon img {
        width: 3.1rem;
        height: 3.1rem;
    }

    .weather-now .weather-metrics div {
        display: grid;
        justify-content: start;
        gap: 0.18rem;
        padding: 0.72rem 0.75rem;
    }

    .weather-now .weather-metrics dd {
        text-align: left;
    }

    .weather-mobile-timeline__frame {
        grid-template-columns: 2.35rem minmax(0, 1fr);
        gap: 0.55rem;
        padding-top: 0.85rem;
        border-radius: 20px;
    }

    .weather-mobile-timeline__axis {
        min-height: 13rem;
        padding: 2.75rem 0 2.8rem 0.85rem;
        font-size: 0.72rem;
    }

    .weather-mobile-timeline__scroller {
        padding: 0 0.85rem 0.85rem 0;
    }

    .weather-mobile-timeline__track {
        width: max(100%, calc(var(--weather-timeline-count) * 2.9rem));
    }

    .weather-mobile-timeline__icons,
    .weather-mobile-timeline__labels,
    .weather-mobile-timeline__dates {
        grid-template-columns: repeat(var(--weather-timeline-count), minmax(2.9rem, 1fr));
    }

    .weather-mobile-timeline__plot {
        min-height: 9.8rem;
        margin-bottom: 0.8rem;
    }

    .weather-mobile-timeline__point {
        width: 2.6rem;
    }

    .weather-mobile-timeline__temperature {
        font-size: 0.62rem;
    }

    .weather-mobile-timeline__icons {
        margin-bottom: 0.35rem;
    }

    .weather-mobile-timeline__icon-slot {
        min-height: 1.7rem;
    }

    .weather-mobile-timeline__icon-shell {
        width: 1.6rem;
        height: 1.6rem;
        border-radius: 13px;
    }

    .weather-mobile-timeline__icon {
        width: 1rem;
        height: 1rem;
    }

    .weather-mobile-timeline__dot {
        width: 0.68rem;
        height: 0.68rem;
    }

    .weather-mobile-timeline__label {
        min-height: 1rem;
    }

    .weather-mobile-timeline__label strong {
        font-size: 0.66rem;
    }

    .weather-mobile-timeline__date {
        min-height: 0.9rem;
    }

    .weather-mobile-timeline__date span {
        font-size: 0.56rem;
    }

    .weather-mobile-showcase {
        gap: 0.65rem;
    }

    .weather-mobile-showcase__hero {
        align-items: start;
        gap: 0.55rem;
    }

    .weather-mobile-showcase__eyebrow {
        min-height: 1.45rem;
        padding: 0.1rem 0.48rem;
        font-size: 0.62rem;
    }

    .weather-mobile-showcase__hero strong {
        font-size: 0.9rem;
    }

    .weather-mobile-showcase__range {
        padding: 0.32rem 0.62rem;
        font-size: 0.68rem;
    }

    .weather-mobile-showcase__track {
        grid-auto-columns: minmax(7.65rem, 7.65rem);
        gap: 0.55rem;
    }

    .weather-mobile-showcase__card {
        min-height: 14rem;
        padding: 0.8rem;
        border-radius: 22px;
    }

    .weather-mobile-showcase__time {
        font-size: 0.8rem;
    }

    .weather-mobile-showcase__date {
        font-size: 0.62rem;
    }

    .weather-mobile-showcase__visual {
        min-height: 6.3rem;
    }

    .weather-mobile-showcase__icon-orb {
        width: 4.6rem;
        height: 4.6rem;
    }

    .weather-mobile-showcase__icon {
        width: 3.55rem;
        height: 3.55rem;
    }

    .weather-mobile-showcase__temperature {
        font-size: 1.2rem;
    }

    .weather-mobile-showcase__description {
        font-size: 0.7rem;
    }

    .weather-hourly-chart__surface {
        grid-template-columns: 2.4rem minmax(0, 1fr);
        gap: 0.75rem;
        padding: 0.95rem;
    }

    .weather-hourly-chart__canvas {
        min-height: 18rem;
    }

    .weather-hourly-chart__time {
        font-size: 0.68rem;
    }

    .weather-hourly-chart__icon-shell {
        width: 1.8rem;
        height: 1.8rem;
    }

    .weather-hourly-chart__icon {
        width: 1.2rem;
        height: 1.2rem;
    }

    .weather-hourly-details {
        padding: 1rem;
    }

    .weather-day-card__meta {
        text-align: left;
    }

    .weather-hero__media {
        justify-self: start;
    }

    .weather-map-modal {
        padding: 0.6rem;
    }

    .weather-map-modal__dialog {
        width: min(100vw - 1.2rem, 100%);
        max-height: calc(100vh - 1.2rem);
        border-radius: 26px;
    }

    .weather-map-modal__head {
        padding-right: 2.7rem;
    }

    .weather-map-modal__close {
        top: 0.8rem;
        right: 0.8rem;
        width: 2.55rem;
        height: 2.55rem;
        border-radius: 16px;
        font-size: 1.8rem;
    }

    .weather-region-map__label {
        display: none;
    }

    .weather-region-map__marker {
        width: 3.1rem;
        height: 3.1rem;
    }

    .weather-region-map__marker.is-active .weather-region-map__label {
        display: inline-flex;
        font-size: 0.66rem;
        padding: 0.18rem 0.45rem;
        opacity: 1;
    }
}
