:root {
    --mz-recent-bg: #0f172a;
    --mz-recent-bg-soft: #111827;
    --mz-recent-border: rgba(148, 163, 184, 0.22);
    --mz-recent-text: #f8fafc;
    --mz-recent-muted: #94a3b8;
    --mz-recent-accent: #38bdf8;
    --mz-recent-accent-2: #22c55e;
}

.mz-recent {
    position: relative;
    width: 100%;
    overflow: hidden;
    border: 1px solid var(--mz-recent-border);
    border-radius: 22px;
    color: var(--mz-recent-text);
    background:
        radial-gradient(circle at 12% 0%, rgba(56, 189, 248, 0.23), transparent 32%),
        linear-gradient(145deg, #0b1120 0%, var(--mz-recent-bg) 58%, #111827 100%);
    box-shadow: 0 20px 48px rgba(2, 6, 23, 0.28);
    isolation: isolate;
}

.mz-recent::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
    background-size: 28px 28px;
    mask-image: linear-gradient(to bottom, black, transparent 78%);
    opacity: .38;
    z-index: -1;
}

.mz-recent__head {
    padding: 18px 18px 12px;
    border-bottom: 1px solid rgba(148, 163, 184, .16);
}

.mz-recent__kicker {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 7px;
    color: #7dd3fc;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.mz-recent__dot {
    width: 9px;
    height: 9px;
    border-radius: 999px;
    background: var(--mz-recent-accent-2);
    box-shadow: 0 0 0 0 rgba(34, 197, 94, .8);
    animation: mzRecentPulse 1.8s infinite;
}

@keyframes mzRecentPulse {
    0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, .72); }
    70% { box-shadow: 0 0 0 9px rgba(34, 197, 94, 0); }
    100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

.mz-recent__title {
    margin: 0;
    color: var(--mz-recent-text);
    font-size: clamp(18px, 1.6vw, 23px);
    line-height: 1.12;
    font-weight: 950;
    letter-spacing: -.02em;
}

.mz-recent__subtitle {
    margin: 7px 0 0;
    color: var(--mz-recent-muted);
    font-size: 13px;
    line-height: 1.35;
}

.mz-recent__list {
    display: grid;
    gap: 9px;
    margin: 0;
    padding: 12px;
    list-style: none;
}

.mz-recent--grid .mz-recent__list {
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
}

.mz-recent__item {
    margin: 0;
    padding: 0;
}

.mz-recent__link {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr) auto;
    align-items: center;
    gap: 11px;
    min-height: 66px;
    padding: 11px;
    color: inherit;
    text-decoration: none !important;
    border: 1px solid rgba(148, 163, 184, .16);
    border-radius: 17px;
    background: rgba(15, 23, 42, .72);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.04);
    transition: transform .16s ease, border-color .16s ease, background .16s ease, box-shadow .16s ease;
}

.mz-recent__link:hover,
.mz-recent__link:focus-visible {
    transform: translateY(-2px);
    color: #ffffff;
    border-color: rgba(56, 189, 248, .58);
    background: rgba(15, 23, 42, .92);
    box-shadow: 0 12px 28px rgba(8, 47, 73, .25), inset 0 1px 0 rgba(255,255,255,.08);
    outline: none;
}

.mz-recent__icon {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 14px;
    font-size: 23px;
    background: linear-gradient(145deg, rgba(30,41,59,.86), rgba(15,23,42,.86));
    border: 1px solid rgba(148,163,184,.18);
}

.mz-recent__content {
    min-width: 0;
}

.mz-recent__city {
    display: block;
    overflow: hidden;
    color: #ffffff;
    font-size: 14px;
    line-height: 1.2;
    font-weight: 900;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.mz-recent__time {
    display: block;
    margin-top: 4px;
    overflow: hidden;
    color: var(--mz-recent-muted);
    font-size: 11px;
    line-height: 1.2;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.mz-recent__temp {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 48px;
    padding: 7px 9px;
    border-radius: 999px;
    color: #06111f;
    font-size: 15px;
    font-weight: 950;
    letter-spacing: -.02em;
    background: #e2e8f0;
}

.mz-temp-hot { background: linear-gradient(135deg, #fb7185, #f97316); color: #fff; }
.mz-temp-warm { background: linear-gradient(135deg, #fbbf24, #fb923c); color: #111827; }
.mz-temp-mild { background: linear-gradient(135deg, #34d399, #38bdf8); color: #082f49; }
.mz-temp-cold { background: linear-gradient(135deg, #93c5fd, #60a5fa); color: #082f49; }
.mz-temp-neutral { background: #cbd5e1; color: #0f172a; }

.mz-recent__foot {
    padding: 0 16px 15px;
    color: #64748b;
    font-size: 11px;
    line-height: 1.35;
    text-align: center;
}

.mz-recent__empty {
    margin: 12px;
    padding: 16px;
    color: var(--mz-recent-muted);
    font-size: 13px;
    line-height: 1.45;
    border: 1px dashed rgba(148, 163, 184, .3);
    border-radius: 16px;
    background: rgba(15, 23, 42, .55);
}

.mz-recent__empty small {
    display: block;
    margin-top: 8px;
    color: #fca5a5;
}

.mz-recent--compact .mz-recent__head {
    padding: 14px 14px 8px;
}

.mz-recent--compact .mz-recent__list {
    gap: 7px;
    padding: 9px;
}

.mz-recent--compact .mz-recent__link {
    min-height: 54px;
    grid-template-columns: 34px minmax(0, 1fr) auto;
    border-radius: 14px;
    padding: 8px;
}

.mz-recent--compact .mz-recent__icon {
    width: 34px;
    height: 34px;
    border-radius: 12px;
    font-size: 19px;
}

@media (max-width: 480px) {
    .mz-recent__head { padding: 16px 14px 10px; }
    .mz-recent__list { padding: 10px; }
    .mz-recent__link { grid-template-columns: 38px minmax(0, 1fr) auto; gap: 9px; }
    .mz-recent__icon { width: 38px; height: 38px; font-size: 20px; }
    .mz-recent__temp { min-width: 42px; font-size: 14px; }
}

/* Facelift 1.2: deutlich lebendigere Sidebar-Karten */
.mz-recent {
    background:
        radial-gradient(circle at 8% 4%, rgba(56, 189, 248, 0.34), transparent 30%),
        radial-gradient(circle at 92% 8%, rgba(249, 115, 22, 0.26), transparent 26%),
        radial-gradient(circle at 50% 105%, rgba(34, 197, 94, 0.18), transparent 34%),
        linear-gradient(145deg, #07111f 0%, #0f172a 52%, #13233d 100%);
}

.mz-recent__head {
    position: relative;
}

.mz-recent__head::after {
    content: "";
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: -1px;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, #38bdf8, #22c55e, #facc15, #f97316, #fb7185);
    opacity: .75;
}

.mz-recent__link {
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(135deg, rgba(15, 23, 42, .80), rgba(30, 41, 59, .62)),
        radial-gradient(circle at 100% 0%, rgba(56, 189, 248, .14), transparent 34%);
}

.mz-recent__link::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 5px;
    background: linear-gradient(180deg, #38bdf8, #22c55e);
}

.mz-recent__item:nth-child(2n) .mz-recent__link::before { background: linear-gradient(180deg, #facc15, #f97316); }
.mz-recent__item:nth-child(3n) .mz-recent__link::before { background: linear-gradient(180deg, #60a5fa, #a78bfa); }
.mz-recent__item:nth-child(4n) .mz-recent__link::before { background: linear-gradient(180deg, #fb7185, #f43f5e); }

.mz-recent__icon {
    box-shadow: inset 0 1px 0 rgba(255,255,255,.10), 0 10px 20px rgba(2,6,23,.24);
}

.mz-recent__link:hover .mz-recent__icon,
.mz-recent__link:focus-visible .mz-recent__icon {
    transform: rotate(-3deg) scale(1.05);
}

.mz-recent__temp {
    box-shadow: 0 8px 18px rgba(2,6,23,.22);
}

/* Version 1.3: Hauptindex-Live-Lage im MeteoT/MeteoZ-Dashboard-Stil */
.mz-recent--index {
    --mz-recent-panel: #141827;
    --mz-recent-panel-2: #211827;
    --mz-recent-card: #070b19;
    --mz-recent-card-2: #0d1325;
    --mz-recent-line: rgba(148, 163, 184, .18);
    --mz-recent-pink: #f0526e;
    --mz-recent-blue: #63b3ff;
    --mz-recent-violet: #a78bfa;
    --mz-recent-green: #27d17f;
    --mz-recent-yellow: #f4c430;
    max-width: none;
    padding: clamp(18px, 2.5vw, 28px);
    border-radius: 28px;
    border-color: rgba(148, 163, 184, .20);
    background:
        radial-gradient(circle at 3% 3%, rgba(240, 82, 110, .18), transparent 28%),
        radial-gradient(circle at 70% 0%, rgba(99, 179, 255, .12), transparent 35%),
        linear-gradient(145deg, var(--mz-recent-panel-2) 0%, #111827 43%, #111827 100%);
    box-shadow: 0 24px 70px rgba(2, 6, 23, .38);
}

.mz-recent--index::before {
    background-image: none;
    opacity: 0;
}

.mz-recent--index .mz-recent__head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 18px;
    padding: 0 0 22px;
    border-bottom: 1px solid rgba(148, 163, 184, .18);
}

.mz-recent--index .mz-recent__head::after {
    display: none;
}

.mz-recent--index .mz-recent__kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    padding: 6px 11px;
    color: #fecdd3;
    font-size: 10px;
    line-height: 1;
    letter-spacing: .16em;
    border: 1px solid rgba(240, 82, 110, .36);
    border-radius: 999px;
    background: rgba(240, 82, 110, .12);
}

.mz-recent--index .mz-recent__dot {
    width: 9px;
    height: 9px;
    background: var(--mz-recent-pink);
    box-shadow: 0 0 0 0 rgba(240, 82, 110, .72);
    animation-name: mzRecentPulseIndex;
}

@keyframes mzRecentPulseIndex {
    0% { box-shadow: 0 0 0 0 rgba(240, 82, 110, .72); }
    72% { box-shadow: 0 0 0 9px rgba(240, 82, 110, 0); }
    100% { box-shadow: 0 0 0 0 rgba(240, 82, 110, 0); }
}

.mz-recent--index .mz-recent__title {
    font-size: clamp(25px, 2.5vw, 37px);
    letter-spacing: -.045em;
}

.mz-recent--index .mz-recent__subtitle {
    max-width: 820px;
    margin-top: 7px;
    color: #a8b3c7;
    font-size: 14px;
}

.mz-recent--index .mz-recent__counter {
    display: inline-flex;
    align-items: baseline;
    gap: 5px;
    flex: 0 0 auto;
    color: #8ea0bb;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.mz-recent--index .mz-recent__counter strong {
    color: #ffffff;
    font-size: 16px;
}

.mz-recent--index .mz-recent__list {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 18px 14px;
    padding: 18px 0 0;
}

.mz-recent--index .mz-recent__item {
    min-width: 0;
}

.mz-recent--index .mz-recent__link {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    min-height: 184px;
    height: 100%;
    padding: 15px 15px 13px;
    border-radius: 22px;
    border-color: rgba(148, 163, 184, .14);
    background:
        radial-gradient(circle at 88% 12%, rgba(99, 179, 255, .14), transparent 30%),
        linear-gradient(180deg, rgba(10, 14, 29, .96), rgba(7, 11, 25, .98));
    box-shadow: inset 0 1px 0 rgba(255,255,255,.045), 0 14px 30px rgba(2, 6, 23, .20);
}

.mz-recent--index .mz-recent__link::before {
    width: 2px;
    background: linear-gradient(180deg, rgba(99,179,255,.78), rgba(99,179,255,0));
    opacity: .85;
}

.mz-recent--index .mz-recent__link:hover,
.mz-recent--index .mz-recent__link:focus-visible {
    transform: translateY(-3px);
    border-color: rgba(240, 82, 110, .72);
    background:
        radial-gradient(circle at 88% 12%, rgba(99, 179, 255, .20), transparent 30%),
        linear-gradient(180deg, rgba(12, 18, 36, .98), rgba(9, 13, 28, 1));
    box-shadow: inset 0 1px 0 rgba(255,255,255,.07), 0 20px 36px rgba(2, 6, 23, .30);
}

.mz-recent--index .mz-recent__item:first-child .mz-recent__link {
    border-color: rgba(240, 82, 110, .72);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.07), 0 20px 38px rgba(127, 29, 29, .22);
}

.mz-recent--index .mz-recent__cardtop,
.mz-recent--index .mz-recent__place,
.mz-recent--index .mz-recent__metric {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.mz-recent--index .mz-recent__rank {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 28px;
    height: 22px;
    padding: 0 7px;
    color: #dbeafe;
    font-size: 10px;
    font-weight: 950;
    border: 1px solid rgba(99, 179, 255, .22);
    border-radius: 999px;
    background: rgba(99, 179, 255, .12);
}

.mz-recent--index .mz-recent__clock {
    overflow: hidden;
    color: #8594ad;
    font-size: 11px;
    font-weight: 800;
    white-space: nowrap;
}

.mz-recent--index .mz-recent__place {
    align-items: start;
}

.mz-recent--index .mz-recent__city {
    min-width: 0;
    color: #f8fafc;
    font-size: 17px;
    line-height: 1.15;
    white-space: normal;
}

.mz-recent--index .mz-recent__icon {
    flex: 0 0 auto;
    width: 44px;
    height: 44px;
    border-radius: 17px;
    font-size: 23px;
    background: linear-gradient(145deg, rgba(17, 24, 39, .92), rgba(8, 13, 28, .92));
    border-color: rgba(99, 179, 255, .14);
}

.mz-recent--index .mz-recent__level {
    margin-top: -7px;
    overflow: hidden;
    color: #9ba9be;
    font-size: 11px;
    font-weight: 950;
    letter-spacing: .12em;
    text-transform: uppercase;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.mz-recent--index .mz-recent__note {
    display: -webkit-box;
    min-height: 36px;
    overflow: hidden;
    color: #d7deea;
    font-size: 13px;
    line-height: 1.38;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.mz-recent--index .mz-recent__metric {
    margin-top: auto;
}

.mz-recent--index .mz-recent__metric span {
    overflow: hidden;
    color: #8da0bc;
    font-size: 13px;
    font-weight: 900;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.mz-recent--index .mz-recent__metric strong {
    color: var(--mz-recent-blue);
    font-size: 25px;
    line-height: 1;
    font-weight: 950;
    letter-spacing: -.04em;
}

.mz-recent--index .mz-recent__metric strong.mz-temp-hot,
.mz-recent--index .mz-recent__metric strong.mz-temp-warm,
.mz-recent--index .mz-recent__metric strong.mz-temp-mild,
.mz-recent--index .mz-recent__metric strong.mz-temp-cold,
.mz-recent--index .mz-recent__metric strong.mz-temp-neutral {
    padding: 5px 8px;
    border-radius: 999px;
    font-size: 18px;
}

.mz-recent--index .mz-recent__bar {
    display: block;
    height: 6px;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(71, 85, 105, .45);
}

.mz-recent--index .mz-recent__bar span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--mz-recent-green) 0%, var(--mz-recent-yellow) 38%, #f97316 68%, var(--mz-recent-pink) 100%);
}

.mz-recent--index .mz-recent-risk--quiet .mz-recent__link::before { background: linear-gradient(180deg, #64748b, rgba(100,116,139,0)); }
.mz-recent--index .mz-recent-risk--notice .mz-recent__link::before { background: linear-gradient(180deg, #facc15, rgba(250,204,21,0)); }
.mz-recent--index .mz-recent-risk--moderate .mz-recent__link::before { background: linear-gradient(180deg, #f97316, rgba(249,115,22,0)); }
.mz-recent--index .mz-recent-risk--high .mz-recent__link::before { background: linear-gradient(180deg, #f0526e, rgba(240,82,110,0)); }
.mz-recent--index .mz-recent-risk--high .mz-recent__metric strong { color: #fb7185; }
.mz-recent--index .mz-recent-risk--moderate .mz-recent__metric strong { color: #fb923c; }
.mz-recent--index .mz-recent-risk--notice .mz-recent__metric strong { color: #facc15; }

.mz-recent--index .mz-recent__foot {
    padding: 16px 0 0;
    color: #6f7f97;
    font-size: 11px;
    text-align: left;
}

.mz-recent--index .mz-recent__empty {
    margin: 18px 0 0;
}

@media (max-width: 1240px) {
    .mz-recent--index .mz-recent__list {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 980px) {
    .mz-recent--index .mz-recent__list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .mz-recent--index {
        padding: 16px;
        border-radius: 22px;
    }

    .mz-recent--index .mz-recent__head {
        display: block;
        padding-bottom: 16px;
    }

    .mz-recent--index .mz-recent__counter {
        margin-top: 12px;
    }

    .mz-recent--index .mz-recent__list {
        grid-template-columns: 1fr;
        gap: 11px;
        padding-top: 14px;
    }

    .mz-recent--index .mz-recent__link {
        min-height: 158px;
        border-radius: 18px;
    }

    .mz-recent--index .mz-recent__city {
        font-size: 16px;
    }
}


/* Version 1.4: Interaktiver Hauptindex – weniger Liste, mehr Informationsfläche */
.mz-recent--index.mz-recent--interactive {
    --mz-hot: #fb7185;
    --mz-rain: #38bdf8;
    --mz-uv: #facc15;
    --mz-wind: #a78bfa;
    padding: clamp(18px, 2.2vw, 30px);
    background:
        radial-gradient(circle at 5% 2%, rgba(56, 189, 248, .22), transparent 28%),
        radial-gradient(circle at 96% 6%, rgba(251, 113, 133, .18), transparent 25%),
        radial-gradient(circle at 50% 115%, rgba(34, 197, 94, .13), transparent 36%),
        linear-gradient(145deg, #0b1020 0%, #111827 48%, #171321 100%);
}

.mz-recent--interactive .mz-recent__head {
    margin-bottom: 18px;
}

.mz-recent__stage {
    display: grid;
    grid-template-columns: minmax(340px, 1.35fr) minmax(320px, .95fr);
    gap: 16px;
    align-items: stretch;
    margin-top: 18px;
}

.mz-recent__hero,
.mz-recent__stat,
.mz-recent__card {
    position: relative;
    overflow: hidden;
    color: #f8fafc;
    text-decoration: none !important;
    border: 1px solid rgba(148, 163, 184, .16);
    background: linear-gradient(150deg, rgba(15, 23, 42, .98), rgba(7, 11, 25, .98));
    box-shadow: inset 0 1px 0 rgba(255,255,255,.055), 0 18px 38px rgba(2, 6, 23, .24);
}

.mz-recent__hero {
    display: grid;
    gap: 13px;
    min-height: 292px;
    padding: clamp(18px, 2.2vw, 26px);
    border-radius: 26px;
    background:
        radial-gradient(circle at 86% 12%, rgba(56, 189, 248, .22), transparent 31%),
        radial-gradient(circle at 0% 100%, rgba(251, 113, 133, .18), transparent 31%),
        linear-gradient(150deg, rgba(8, 13, 28, .98), rgba(15, 23, 42, .98));
}

.mz-recent__hero:hover,
.mz-recent__card:hover,
.mz-recent__hero:focus-visible,
.mz-recent__card:focus-visible {
    color: #fff;
    border-color: rgba(56, 189, 248, .62);
    transform: translateY(-2px);
    outline: none;
}

.mz-recent__heroBadge {
    width: max-content;
    padding: 6px 10px;
    border-radius: 999px;
    color: #bae6fd;
    font-size: 10px;
    font-weight: 950;
    letter-spacing: .16em;
    text-transform: uppercase;
    background: rgba(56, 189, 248, .12);
    border: 1px solid rgba(56, 189, 248, .24);
}

.mz-recent__heroMain,
.mz-recent__cardMain,
.mz-recent__cardHead,
.mz-recent__chips,
.mz-recent__heroStats,
.mz-recent__toolbar {
    display: flex;
    align-items: center;
}

.mz-recent__heroMain,
.mz-recent__cardMain,
.mz-recent__cardHead,
.mz-recent__toolbar {
    justify-content: space-between;
    gap: 14px;
}

.mz-recent__heroMain strong {
    display: block;
    font-size: clamp(24px, 2.6vw, 42px);
    line-height: .98;
    letter-spacing: -.055em;
}

.mz-recent__heroMain em {
    display: block;
    margin-top: 7px;
    color: #94a3b8;
    font-style: normal;
    font-size: 13px;
    font-weight: 800;
}

.mz-recent__heroIcon {
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    width: 72px;
    height: 72px;
    border-radius: 24px;
    font-size: 39px;
    background: rgba(15, 23, 42, .76);
    border: 1px solid rgba(148, 163, 184, .16);
}

.mz-recent__heroTemp {
    color: #67e8f9;
    font-size: clamp(52px, 7vw, 88px);
    line-height: .88;
    font-weight: 950;
    letter-spacing: -.07em;
    text-shadow: 0 18px 45px rgba(34, 211, 238, .24);
}

.mz-recent__heroText {
    max-width: 720px;
    color: #dbe4f0;
    font-size: 15px;
    line-height: 1.45;
}

.mz-recent__heroStats {
    justify-content: start;
    flex-wrap: wrap;
    gap: 10px;
}

.mz-recent__heroStats span,
.mz-recent__chips span {
    display: inline-flex;
    align-items: baseline;
    gap: 5px;
    border: 1px solid rgba(148, 163, 184, .15);
    background: rgba(15, 23, 42, .74);
}

.mz-recent__heroStats span {
    min-width: 104px;
    padding: 9px 10px;
    border-radius: 17px;
    flex-direction: column;
    align-items: start;
}

.mz-recent__heroStats b {
    color: #fff;
    font-size: 20px;
    line-height: 1;
}

.mz-recent__heroStats small {
    color: #94a3b8;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.mz-recent__cta {
    color: #93c5fd;
    font-size: 13px;
    font-weight: 950;
}

.mz-recent__insights {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.mz-recent__stat {
    display: grid;
    align-content: space-between;
    min-height: 140px;
    padding: 16px;
    border-radius: 22px;
}

.mz-recent__stat::after {
    content: "";
    position: absolute;
    right: -26px;
    top: -26px;
    width: 86px;
    height: 86px;
    border-radius: 999px;
    background: currentColor;
    opacity: .10;
}

.mz-recent__stat span {
    color: #9da9bd;
    font-size: 12px;
    font-weight: 950;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.mz-recent__stat strong {
    margin-top: 12px;
    color: #fff;
    font-size: clamp(28px, 3vw, 42px);
    line-height: .95;
    letter-spacing: -.06em;
}

.mz-recent__stat em {
    overflow: hidden;
    color: #94a3b8;
    font-size: 13px;
    font-style: normal;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.mz-recent__stat--hot { color: var(--mz-hot); }
.mz-recent__stat--rain { color: var(--mz-rain); }
.mz-recent__stat--uv { color: var(--mz-uv); }
.mz-recent__stat--wind { color: var(--mz-wind); }

.mz-recent__toolbar {
    margin: 18px 0 12px;
    padding: 10px;
    border: 1px solid rgba(148, 163, 184, .14);
    border-radius: 20px;
    background: rgba(2, 6, 23, .24);
}

.mz-recent__filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.mz-recent__filters button {
    appearance: none;
    border: 1px solid rgba(148, 163, 184, .18);
    border-radius: 999px;
    padding: 9px 12px;
    color: #cbd5e1;
    background: rgba(15, 23, 42, .72);
    font-size: 12px;
    font-weight: 950;
    cursor: pointer;
}

.mz-recent__filters button.is-active,
.mz-recent__filters button:hover,
.mz-recent__filters button:focus-visible {
    color: #04111f;
    background: linear-gradient(135deg, #38bdf8, #67e8f9);
    border-color: transparent;
    outline: none;
}

.mz-recent__search input {
    width: min(270px, 32vw);
    min-height: 38px;
    padding: 0 13px;
    border-radius: 999px;
    color: #e2e8f0;
    background: rgba(15, 23, 42, .78);
    border: 1px solid rgba(148, 163, 184, .18);
    outline: none;
}

.mz-recent__search input:focus {
    border-color: rgba(56, 189, 248, .62);
    box-shadow: 0 0 0 3px rgba(56, 189, 248, .12);
}

.mz-recent__cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(235px, 1fr));
    gap: 13px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.mz-recent__cards .mz-recent__item[hidden] {
    display: none !important;
}

.mz-recent__card {
    display: grid;
    gap: 11px;
    min-height: 190px;
    height: 100%;
    padding: 14px;
    border-radius: 22px;
    background:
        radial-gradient(circle at 92% 9%, rgba(99, 179, 255, .15), transparent 30%),
        linear-gradient(180deg, rgba(10, 14, 29, .98), rgba(7, 11, 25, .99));
}

.mz-recent__cardMain {
    align-items: flex-start;
}

.mz-recent__cardMain .mz-recent__city {
    font-size: 17px;
    line-height: 1.1;
}

.mz-recent__cardMain small {
    display: -webkit-box;
    margin-top: 7px;
    overflow: hidden;
    color: #aeb9ca;
    font-size: 12px;
    line-height: 1.34;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.mz-recent__chips {
    flex-wrap: wrap;
    gap: 6px;
}

.mz-recent__chips span {
    padding: 5px 8px;
    border-radius: 999px;
    color: #dbeafe;
    font-size: 11px;
    font-weight: 950;
}

.mz-recent__sparkline {
    display: block;
    width: 100%;
    height: 38px;
    margin-top: auto;
    border-radius: 14px;
    background: linear-gradient(180deg, rgba(15,23,42,.72), rgba(2,6,23,.28));
    border: 1px solid rgba(148, 163, 184, .10);
}

.mz-recent__sparkline svg {
    display: block;
    width: 100%;
    height: 100%;
}

.mz-recent__sparkline polyline {
    fill: none;
    stroke: #67e8f9;
    stroke-width: 3.2;
    stroke-linecap: round;
    stroke-linejoin: round;
    vector-effect: non-scaling-stroke;
}

.mz-recent__sparkline--temp polyline { stroke: #67e8f9; }
.mz-recent__sparkline--empty { opacity: .35; }

.mz-recent__noresults {
    margin-top: 12px;
    padding: 14px;
    color: #94a3b8;
    border-radius: 16px;
    background: rgba(15,23,42,.58);
    border: 1px dashed rgba(148,163,184,.24);
}

@media (max-width: 1120px) {
    .mz-recent__stage { grid-template-columns: 1fr; }
    .mz-recent__hero { min-height: 250px; }
}

@media (max-width: 700px) {
    .mz-recent--index.mz-recent--interactive { padding: 14px; }
    .mz-recent__toolbar { align-items: stretch; flex-direction: column; }
    .mz-recent__filters { overflow-x: auto; flex-wrap: nowrap; padding-bottom: 2px; }
    .mz-recent__filters button { flex: 0 0 auto; }
    .mz-recent__search input { width: 100%; }
    .mz-recent__insights { grid-template-columns: 1fr 1fr; }
    .mz-recent__stat { min-height: 104px; padding: 13px; }
    .mz-recent__stat strong { font-size: 26px; }
    .mz-recent__heroMain strong { font-size: 25px; }
    .mz-recent__heroIcon { width: 56px; height: 56px; border-radius: 18px; font-size: 30px; }
    .mz-recent__heroTemp { font-size: 58px; }
    .mz-recent__cards { grid-template-columns: 1fr; gap: 10px; }
    .mz-recent__card { min-height: 154px; border-radius: 18px; }
}

@media (max-width: 430px) {
    .mz-recent__insights { grid-template-columns: 1fr; }
    .mz-recent__heroStats span { min-width: calc(50% - 6px); }
}
