/* Zen News - Aurora Glass (ZenRP). Outfit. Dark/light dupa sistem, override manual. */

:root {
    --zn-bg: #F4F5FA;
    --zn-logo-a: #0E7490;
    --zn-logo-b: #6D28D9;
    --zn-bar: rgba(244, 245, 250, 0.66);
    --zn-surface: rgba(255, 255, 255, 0.72);
    --zn-border: rgba(23, 26, 33, 0.08);
    --zn-border-glow: rgba(139, 92, 246, 0.45);
    --zn-ink: #14161D;
    --zn-ink-body: #33363F;
    --zn-ink-soft: #5A5F6C;
    --zn-ink-faint: #8A8F9C;
    --zn-chip-bg: rgba(255, 255, 255, 0.75);
    --zn-orb-cyan: rgba(34, 211, 238, 0.30);
    --zn-orb-violet: rgba(139, 92, 246, 0.26);
    --zn-orb-pink: rgba(236, 72, 153, 0.12);
    --zn-card-shadow: 0 16px 40px rgba(60, 60, 110, 0.16);
    --zn-detail-bg: rgba(244, 245, 250, 0.98);
    --zn-cyan: #0891B2;
    --zn-violet: #7C3AED;
    --zn-grad: linear-gradient(135deg, var(--zn-cyan), var(--zn-violet));
}

html[data-zn-theme="dark"] { --zn-dark: 1; }

@media (prefers-color-scheme: dark) {
    html:not([data-zn-theme="light"]) { --zn-dark: 1; }
}

html[data-zn-theme="dark"],
html:not([data-zn-theme="light"]) .zn-dark-vars { /* placeholder */ }

html[data-zn-theme="dark"] {
    --zn-bg: #0B0E14;
    --zn-logo-a: #22D3EE;
    --zn-logo-b: #8B5CF6;
    --zn-bar: rgba(11, 14, 20, 0.62);
    --zn-surface: rgba(255, 255, 255, 0.045);
    --zn-border: rgba(255, 255, 255, 0.09);
    --zn-border-glow: rgba(139, 92, 246, 0.4);
    --zn-ink: #F2F3F7;
    --zn-ink-body: #D5D8E0;
    --zn-ink-soft: #A6ABB8;
    --zn-ink-faint: #6B7180;
    --zn-chip-bg: rgba(11, 14, 20, 0.55);
    --zn-orb-cyan: rgba(34, 211, 238, 0.35);
    --zn-orb-violet: rgba(139, 92, 246, 0.32);
    --zn-orb-pink: rgba(236, 72, 153, 0.14);
    --zn-card-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
    --zn-detail-bg: rgba(11, 14, 20, 0.97);
    --zn-cyan: #22D3EE;
    --zn-violet: #8B5CF6;
}

@media (prefers-color-scheme: dark) {
    html:not([data-zn-theme]) {
        --zn-bg: #0B0E14;
        --zn-logo-a: #22D3EE;
        --zn-logo-b: #8B5CF6;
        --zn-bar: rgba(11, 14, 20, 0.62);
        --zn-surface: rgba(255, 255, 255, 0.045);
        --zn-border: rgba(255, 255, 255, 0.09);
        --zn-border-glow: rgba(139, 92, 246, 0.4);
        --zn-ink: #F2F3F7;
        --zn-ink-body: #D5D8E0;
        --zn-ink-soft: #A6ABB8;
        --zn-ink-faint: #6B7180;
        --zn-chip-bg: rgba(11, 14, 20, 0.55);
        --zn-orb-cyan: rgba(34, 211, 238, 0.35);
        --zn-orb-violet: rgba(139, 92, 246, 0.32);
        --zn-orb-pink: rgba(236, 72, 153, 0.14);
        --zn-card-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
        --zn-detail-bg: rgba(11, 14, 20, 0.97);
        --zn-cyan: #22D3EE;
        --zn-violet: #8B5CF6;
    }
}

* { box-sizing: border-box; }

html { background: var(--zn-bg); }

body.zn-standalone {
    margin: 0;
    font-family: 'Outfit', system-ui, sans-serif;
    background: var(--zn-bg);
    color: var(--zn-ink);
    min-height: 100vh;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    overscroll-behavior-y: contain;
    transition: background 0.3s ease, color 0.3s ease;
}

/* ------------------------------------------------------------ orbs */

.zn-orb {
    position: fixed;
    border-radius: 50%;
    filter: blur(100px);
    pointer-events: none;
    z-index: 0;
    opacity: 0.32;
}

.zn-orb-1 { width: 520px; height: 520px; top: -340px; right: -260px; background: radial-gradient(circle, var(--zn-orb-cyan), transparent 70%); animation: zn-drift1 22s ease-in-out infinite; }
.zn-orb-2 { width: 460px; height: 460px; bottom: -200px; left: -170px; background: radial-gradient(circle, var(--zn-orb-violet), transparent 70%); animation: zn-drift2 26s ease-in-out infinite; }
.zn-orb-3 { width: 300px; height: 300px; top: 40%; left: 60%; background: radial-gradient(circle, var(--zn-orb-pink), transparent 70%); animation: zn-drift1 30s ease-in-out infinite reverse; }

@keyframes zn-drift1 { 0%, 100% { transform: translate(0,0) scale(1); } 50% { transform: translate(-50px, 40px) scale(1.12); } }
@keyframes zn-drift2 { 0%, 100% { transform: translate(0,0) scale(1); } 50% { transform: translate(45px, -35px) scale(1.08); } }

.zn-app {
    position: relative;
    z-index: 1;
    max-width: 700px;
    margin: 0 auto;
    padding: 0 18px calc(80px + env(safe-area-inset-bottom));
}

.zn-boot {
    display: flex;
    justify-content: center;
    padding: 90px 0;
    color: var(--zn-ink-faint);
    font-size: 30px;
    animation: zn-bootpulse 1.2s ease-in-out infinite;
}

@keyframes zn-bootpulse { 0%, 100% { opacity: 0.3; } 50% { opacity: 1; } }

/* ------------------------------------------------------------ header */

.zn-header {
    position: sticky;
    top: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 13px 22px 12px;
    padding-top: calc(24px + env(safe-area-inset-top));
    margin: 0 -18px;
    background: var(--zn-bar);
    -webkit-backdrop-filter: blur(20px) saturate(1.5);
    backdrop-filter: blur(20px) saturate(1.5);
    border-bottom: 1px solid var(--zn-border);
}


.zn-brand { display: flex; align-items: center; gap: 12px; }

.zn-brand-mark { width: 42px; height: 42px; display: flex; align-items: center; justify-content: center; filter: drop-shadow(0 1px 2px rgba(139, 92, 246, 0.28)); }
.zn-brand-mark svg { width: 42px; height: 42px; overflow: visible; }
.zn-orbit-ring { transform-origin: 50px 50px; transform-box: view-box; animation: zn-orbit 30s linear infinite; }
.zn-orbit-dot { fill: var(--zn-bg); transition: fill 0.3s ease; }
@keyframes zn-orbit { to { transform: rotate(360deg); } }

.zn-brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.zn-brand-name { font-weight: 800; font-size: 21px; letter-spacing: 0.01em; }
.zn-brand-name em { font-style: normal; background: var(--zn-grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.zn-brand-sub { font-size: 11.5px; font-weight: 500; color: var(--zn-ink-faint); letter-spacing: 0.08em; text-transform: uppercase; }

.zn-actions { display: flex; gap: 8px; }

.zn-icon-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid var(--zn-border);
    background: var(--zn-surface);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    color: var(--zn-ink-soft);
    font-size: 16px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.zn-icon-btn:hover { color: var(--zn-ink); border-color: var(--zn-border-glow); transform: translateY(-1px); }
.zn-icon-btn.zn-on { color: #fff; background: var(--zn-grad); border-color: transparent; box-shadow: 0 4px 18px rgba(139, 92, 246, 0.4); }
.zn-icon-btn:focus-visible { outline: 2px solid var(--zn-cyan); outline-offset: 2px; }

/* ------------------------------------------------------- separator zi */

.zn-day { display: flex; align-items: center; gap: 14px; margin: 30px 2px 16px; }
.zn-day-label { font-size: 13px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; background: var(--zn-grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; white-space: nowrap; }
.zn-day-line { flex: 1; height: 1px; background: linear-gradient(90deg, var(--zn-border-glow), transparent); }

/* -------------------------------------------------------------- card */

.zn-card {
    position: relative;
    border-radius: 22px;
    border: 1px solid var(--zn-border);
    background: var(--zn-surface);
    -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);
    margin-bottom: 16px;
    overflow: hidden;
    cursor: pointer;
    opacity: 0;
    transform: translateY(22px);
    animation: zn-cardin 0.55s cubic-bezier(0.22, 1, 0.36, 1) forwards;
    transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease, background 0.3s ease;
}

.zn-card:hover { border-color: var(--zn-border-glow); transform: translateY(-3px); box-shadow: var(--zn-card-shadow); }
.zn-card:focus-visible { outline: 2px solid var(--zn-cyan); outline-offset: 3px; }

@keyframes zn-cardin { to { opacity: 1; transform: translateY(0); } }

.zn-card-img { position: relative; height: 210px; overflow: hidden; }
.zn-card-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.zn-card-img::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, var(--zn-bg), transparent 55%); opacity: 0.92; pointer-events: none; }

.zn-card-body { padding: 18px 20px 20px; }
.zn-card-img + .zn-card-body { margin-top: -34px; position: relative; }

.zn-meta { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; flex-wrap: wrap; }

.zn-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    border-radius: 999px;
    border: 1px solid var(--zn-border);
    background: var(--zn-chip-bg);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    font-size: 12.5px;
    font-weight: 600;
    color: var(--zn-ink-soft);
}

.zn-chip i { font-size: 10px; color: var(--zn-cyan); }

.zn-chip-breaking { border-color: transparent; background: linear-gradient(135deg, #FB4D5C, #8B5CF6); color: #fff; animation: zn-pulse 1.8s ease-in-out infinite; }
.zn-chip-breaking i { color: #fff; }

@keyframes zn-pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(251, 77, 92, 0.45); } 50% { box-shadow: 0 0 0 7px rgba(251, 77, 92, 0); } }

.zn-time { font-size: 13px; font-weight: 500; color: var(--zn-ink-faint); font-variant-numeric: tabular-nums; }

.zn-title { font-size: 21.5px; font-weight: 700; line-height: 1.3; letter-spacing: -0.012em; margin: 0 0 9px; }
.zn-summary { font-size: 15.5px; line-height: 1.6; color: var(--zn-ink-soft); margin: 0; }

.zn-card-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--zn-border); }
.zn-read-hint { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 600; color: var(--zn-cyan); }
.zn-read-hint i { transition: transform 0.2s ease; }
.zn-card:hover .zn-read-hint i { transform: translateX(4px); }

.zn-ready-dot { display: inline-flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 500; color: var(--zn-ink-faint); }
.zn-ready-dot::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--zn-cyan); box-shadow: 0 0 8px var(--zn-cyan); }

/* -------------------------------------------------- pastila stiri noi */

.zn-new-pill {
    position: fixed;
    top: calc(84px + env(safe-area-inset-top));
    left: 50%;
    transform: translateX(-50%);
    z-index: 30;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 11px 20px;
    border-radius: 999px;
    background: var(--zn-grad);
    color: #fff;
    font-family: 'Outfit', sans-serif;
    font-size: 14px;
    font-weight: 700;
    border: none;
    cursor: pointer;
    box-shadow: 0 10px 32px rgba(139, 92, 246, 0.5);
    animation: zn-pillin 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes zn-pillin { from { transform: translate(-50%, -24px); opacity: 0; } to { transform: translate(-50%, 0); opacity: 1; } }

/* ------------------------------------------------------------ detaliu */

/* 4.9.27: clasa a devenit no-op - toggle-ul de overflow pe body invalida
   layout-ul intregului document la fiecare inchidere de articol (~400ms pe
   primul frame, masurat in jurnal). Overlay-urile isi contin scrollul singure. */
body.zn-no-scroll { }

.zn-detail {
    overscroll-behavior: contain;
    touch-action: pan-y;
    position: fixed;
    inset: 0;
    z-index: 50;
    background: var(--zn-detail-bg);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    animation: zn-detailin 0.32s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes zn-detailin { from { transform: translateY(38px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }

/* ecranul de tranzitie la tap pe notificare: acopera feed-ul pana se deschide stirea */
.zn-navcover { z-index: 51; display: flex; align-items: center; justify-content: center; animation: zn-coverin 0.12s ease-out; }
.zn-navcover-inner { display: flex; flex-direction: column; align-items: center; gap: 18px; padding: 0 32px; max-width: 520px; text-align: center; }
.zn-navcover-spin {
    width: 28px; height: 28px; border-radius: 50%;
    border: 2.5px solid var(--zn-border);
    border-top-color: var(--zn-violet);
    animation: zn-spin 0.8s linear infinite;
}
.zn-navcover-title { margin: 0; font-family: 'Outfit', sans-serif; font-size: 19px; font-weight: 700; line-height: 1.3; color: var(--zn-ink); }
@keyframes zn-coverin { from { opacity: 0; } to { opacity: 1; } }
@keyframes zn-spin { to { transform: rotate(360deg); } }

.zn-detail-bar {
    position: sticky;
    top: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    padding: 14px 18px;
    padding-top: calc(14px + env(safe-area-inset-top));
    background: var(--zn-bar);
    -webkit-backdrop-filter: blur(20px) saturate(1.5);
    backdrop-filter: blur(20px) saturate(1.5);
    border-bottom: 1px solid var(--zn-border);
}

.zn-detail-inner { max-width: 660px; margin: 0 auto; padding: 26px 20px calc(70px + env(safe-area-inset-bottom)); }

.zn-detail-figure { height: 260px; border-radius: 20px; margin: 16px 0 22px; overflow: hidden; border: 1px solid var(--zn-border); }
.zn-detail-figure img { width: 100%; height: 100%; object-fit: cover; display: block; }

.zn-detail-title { font-size: 29px; font-weight: 800; line-height: 1.22; letter-spacing: -0.015em; margin: 12px 0 0; }

.zn-detail-content { margin-top: 20px; }
.zn-detail-content p { font-size: 16.5px; line-height: 1.72; color: var(--zn-ink-body); margin: 0 0 18px; }

.zn-detail-loading { display: flex; align-items: center; gap: 10px; color: var(--zn-ink-soft); font-size: 14px; padding: 24px 0; }

.zn-detail-source {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-top: 36px;
    padding: 16px 20px;
    border-radius: 16px;
    border: 1px solid var(--zn-border);
    background: var(--zn-surface);
    font-size: 14px;
    color: var(--zn-ink-soft);
    flex-wrap: wrap;
}

.zn-src-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 14px; text-decoration: none; background: var(--zn-grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.zn-src-link i { font-size: 11px; -webkit-text-fill-color: var(--zn-violet); }

.zn-sentinel { height: 1px; position: relative; z-index: 1; }

/* ---------------------------------------------------- pull to refresh */

.zn-ptr {
    position: fixed;
    top: calc(env(safe-area-inset-top) + 8px);
    left: 50%;
    transform: translate(-50%, -64px);
    z-index: 40;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid var(--zn-border);
    background: var(--zn-surface);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.15s ease;
}

.zn-ptr .zn-ptr-orb { display: flex; }
.zn-ptr svg { width: 30px; height: 30px; }
.zn-ptr svg .zn-orbit-ring { animation: none; }

.zn-ptr.zn-ptr-ready { border-color: var(--zn-border-glow); box-shadow: 0 8px 24px rgba(139, 92, 246, 0.35); }

.zn-ptr.zn-ptr-spin { transition: transform 0.2s ease, opacity 0.15s ease; }
.zn-ptr.zn-ptr-spin svg .zn-orbit-ring { animation: zn-orbit 0.9s linear infinite; }

/* --------------------------------------------------------- onboarding */

.zn-onboard {
    position: fixed;
    inset: 0;
    z-index: 60;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: var(--zn-detail-bg);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    animation: zn-detailin 0.3s cubic-bezier(0.22, 1, 0.36, 1);
    overflow-y: auto;
}

.zn-onboard-box {
    width: 100%;
    max-width: 480px;
    border-radius: 26px;
    border: 1px solid var(--zn-border);
    background: var(--zn-surface);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    padding: 30px 26px calc(26px + env(safe-area-inset-bottom));
    text-align: center;
}

.zn-onboard-mark { display: flex; justify-content: center; margin-bottom: 14px; }
.zn-onboard-mark svg { width: 54px; height: 54px; }

.zn-onboard-title { font-size: 25px; font-weight: 800; letter-spacing: -0.01em; margin: 0 0 6px; }
.zn-onboard-sub { font-size: 14.5px; color: var(--zn-ink-soft); margin: 0 0 22px; }

.zn-onboard-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-bottom: 24px;
}

.zn-cat-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: 999px;
    border: 1px solid var(--zn-border);
    background: var(--zn-chip-bg);
    color: var(--zn-ink-soft);
    font-family: 'Outfit', sans-serif;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.18s ease;
}

.zn-cat-chip i { font-size: 12px; }

.zn-cat-chip.zn-sel {
    color: #fff;
    background: var(--zn-grad);
    border-color: transparent;
    box-shadow: 0 4px 14px rgba(139, 92, 246, 0.35);
}

.zn-onboard-actions { display: flex; gap: 12px; justify-content: center; }

.zn-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 13px 26px;
    border-radius: 999px;
    border: none;
    background: var(--zn-grad);
    color: #fff;
    font-family: 'Outfit', sans-serif;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(139, 92, 246, 0.4);
    transition: transform 0.18s ease;
}

.zn-btn-primary:hover { transform: translateY(-1px); }

.zn-btn-ghost {
    padding: 13px 22px;
    border-radius: 999px;
    border: 1px solid var(--zn-border);
    background: transparent;
    color: var(--zn-ink-soft);
    font-family: 'Outfit', sans-serif;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.18s ease;
}

.zn-btn-ghost:hover { color: var(--zn-ink); border-color: var(--zn-border-glow); }

/* -------------------------------------------------------------- mobil */

@media (max-width: 480px) {
    .zn-app { padding-left: 14px; padding-right: 14px; }
    .zn-header { margin: 0 -14px; padding-left: 16px; padding-right: 16px; }
    .zn-title { font-size: 19.5px; }
    .zn-detail-title { font-size: 25px; }
    .zn-card-img { height: 185px; }
}

@media (prefers-reduced-motion: reduce) {
    .zn-orb, .zn-orbit-ring, .zn-boot { animation: none !important; }
    .zn-card { animation-duration: 0.01ms; opacity: 1; transform: none; }
    * { transition-duration: 0.01ms !important; }
}

/* --------------------------------------------------------- strip utilitare */

.zn-strip {
    position: relative;
    z-index: 1;
    display: flex;
    gap: 9px;
    padding: 13px 2px 2px;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

.zn-strip::-webkit-scrollbar { display: none; }

.zn-uchip {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 15px;
    border-radius: 999px;
    border: 1px solid var(--zn-border);
    background: var(--zn-surface);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    color: var(--zn-ink-soft);
    font-family: 'Outfit', sans-serif;
    font-size: 13.5px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.18s ease;
    white-space: nowrap;
}

.zn-uchip i { font-size: 12px; color: var(--zn-cyan); }
.zn-uchip:hover { color: var(--zn-ink); border-color: var(--zn-border-glow); }
.zn-uchip.zn-sel { color: #fff; background: var(--zn-grad); border-color: transparent; }
.zn-uchip.zn-sel i { color: #fff; }

.zn-up { color: #22C55E; font-size: 12px; font-weight: 700; }
.zn-down { color: #FB4D5C; font-size: 12px; font-weight: 700; }
.zn-flat { color: var(--zn-ink-faint); font-size: 12px; }

/* ------------------------------------------------------------- cautare */

.zn-search {
    position: relative;
    z-index: 1;
    display: flex;
    gap: 10px;
    align-items: center;
    padding: 13px 2px 2px;
}

.zn-search input {
    flex: 1;
    padding: 12px 18px;
    border-radius: 999px;
    border: 1px solid var(--zn-border);
    background: var(--zn-surface);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    color: var(--zn-ink);
    font-family: 'Outfit', sans-serif;
    font-size: 15px;
    outline: none;
}

.zn-search input:focus { border-color: var(--zn-border-glow); }
.zn-search input::placeholder { color: var(--zn-ink-faint); }

.zn-empty { text-align: center; color: var(--zn-ink-soft); padding: 40px 0; font-size: 15px; }

/* --------------------------------------------------------------- modal */

.zn-modal {
    position: fixed;
    inset: 0;
    z-index: 70;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(0, 0, 0, 0.45);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    animation: zn-detailin 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}

.zn-modal-box {
    width: 100%;
    max-width: 420px;
    max-height: 82vh;
    overflow-y: auto;
    border-radius: 24px;
    border: 1px solid var(--zn-border);
    background: var(--zn-bg);
    padding: 20px 22px calc(22px + env(safe-area-inset-bottom));
}

.zn-modal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.zn-modal-title { font-size: 20px; font-weight: 800; margin: 0; }
.zn-modal-sub { font-size: 13px; color: var(--zn-ink-faint); margin: 0 0 14px; }

/* BNR */
.zn-bnr-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 13px 2px;
    border-bottom: 1px solid var(--zn-border);
}
.zn-bnr-row:last-child { border-bottom: none; }
.zn-bnr-code { font-weight: 800; font-size: 16px; display: flex; flex-direction: column; }
.zn-bnr-code small { font-weight: 500; font-size: 12px; color: var(--zn-ink-faint); }
.zn-bnr-val { font-size: 17px; font-weight: 700; font-variant-numeric: tabular-nums; display: flex; align-items: baseline; gap: 8px; }
.zn-bnr-val small { font-size: 11px; color: var(--zn-ink-faint); font-weight: 500; }

/* vreme */
.zn-wx-now { display: flex; align-items: center; gap: 16px; padding: 6px 0 18px; }
.zn-wx-now > i { font-size: 42px; background: var(--zn-grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.zn-wx-temp { font-size: 44px; font-weight: 800; letter-spacing: -0.02em; }
.zn-wx-wind { margin-left: auto; font-size: 13px; color: var(--zn-ink-soft); }

.zn-wx-hours { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 14px; scrollbar-width: none; }
.zn-wx-hours::-webkit-scrollbar { display: none; }
.zn-wx-hour {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 10px 11px;
    border-radius: 14px;
    border: 1px solid var(--zn-border);
    background: var(--zn-surface);
    font-size: 12px;
    color: var(--zn-ink-soft);
}
.zn-wx-hour i { color: var(--zn-cyan); }
.zn-wx-hour b { color: var(--zn-ink); font-size: 14px; }

.zn-wx-day {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 10px 2px;
    border-bottom: 1px solid var(--zn-border);
    font-size: 14.5px;
}
.zn-wx-day:last-child { border-bottom: none; }
.zn-wx-dname { width: 46px; font-weight: 600; text-transform: capitalize; }
.zn-wx-day i { color: var(--zn-cyan); width: 20px; text-align: center; }
.zn-wx-minmax { margin-left: auto; color: var(--zn-ink-soft); font-variant-numeric: tabular-nums; }
.zn-wx-minmax b { color: var(--zn-ink); }

/* --------------------------------------------------------------- toast */

.zn-toast {
    position: fixed;
    bottom: calc(28px + env(safe-area-inset-bottom));
    left: 50%;
    transform: translateX(-50%);
    z-index: 80;
    padding: 11px 20px;
    border-radius: 999px;
    background: var(--zn-grad);
    color: #fff;
    font-family: 'Outfit', sans-serif;
    font-size: 13.5px;
    font-weight: 700;
    box-shadow: 0 8px 24px rgba(139, 92, 246, 0.45);
    animation: zn-pillin 0.3s cubic-bezier(0.22, 1, 0.36, 1);
    transition: opacity 0.35s ease, transform 0.35s ease;
}

.zn-toast-out { opacity: 0; transform: translate(-50%, 10px); }

/* ------------------------------------------------------------ bookmark */

.zn-foot-right { display: inline-flex; align-items: center; gap: 12px; }

.zn-bm {
    border: none;
    background: none;
    color: var(--zn-ink-faint);
    font-size: 16px;
    cursor: pointer;
    padding: 4px;
    transition: color 0.18s ease, transform 0.18s ease;
}

.zn-bm:hover { color: var(--zn-violet); transform: scale(1.12); }
.zn-bm .fa-solid { color: var(--zn-violet); }

.zn-detail-bar { justify-content: space-between; }
.zn-detail-bar-right { display: flex; gap: 8px; }

/* -------------------------------------------------------------- digest */

.zn-digest {
    position: relative;
    border-radius: 22px;
    padding: 22px;
    margin: 26px 0 6px;
    background:
        linear-gradient(var(--zn-bg), var(--zn-bg)) padding-box,
        linear-gradient(135deg, var(--zn-cyan), var(--zn-violet)) border-box;
    border: 1.5px solid transparent;
    animation: zn-cardin 0.55s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.zn-digest-head { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 12px; }
.zn-digest-mark svg { width: 40px; height: 40px; }
.zn-digest-kicker {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    background: var(--zn-grad);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.zn-digest-title { font-size: 19px; font-weight: 800; line-height: 1.3; margin: 4px 0 0; }
.zn-digest-body p { font-size: 14.5px; line-height: 1.62; color: var(--zn-ink-body); margin: 0 0 12px; }
.zn-digest-body p:last-child { margin-bottom: 0; }

/* ------------------------------------------------------------ trending */

.zn-trending {
    position: relative;
    z-index: 1;
    display: flex;
    gap: 9px;
    padding: 10px 2px 0;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

.zn-trending::-webkit-scrollbar { display: none; }

.zn-trend-pill {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    max-width: 320px;
    padding: 8px 14px;
    border-radius: 999px;
    border: 1px solid var(--zn-border);
    background:
        linear-gradient(var(--zn-bg), var(--zn-bg)) padding-box,
        linear-gradient(135deg, var(--zn-cyan), var(--zn-violet)) border-box;
    border: 1.2px solid transparent;
    color: var(--zn-ink-soft);
    font-family: 'Outfit', sans-serif;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color 0.18s ease, transform 0.18s ease;
}

.zn-trend-pill:hover { color: var(--zn-ink); transform: translateY(-1px); }
.zn-trend-pill i { color: var(--zn-violet); font-size: 11px; }
.zn-trend-pill small { color: var(--zn-ink-faint); font-weight: 500; font-size: 11px; }

/* -------------------------------------------------------------- banner */

.zn-banner {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 12px;
    padding: 11px 16px;
    border-radius: 16px;
    border: 1px solid var(--zn-border-glow);
    background: var(--zn-surface);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    font-size: 13.5px;
    font-weight: 600;
    color: var(--zn-ink);
    animation: zn-cardin 0.4s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.zn-banner-label { display: inline-flex; align-items: center; gap: 8px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.zn-banner-label i { color: var(--zn-violet); }

.zn-banner-x {
    flex: 0 0 auto;
    border: none;
    background: none;
    color: var(--zn-cyan);
    font-family: 'Outfit', sans-serif;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* -------------------------------------------------------------- arhiva */

.zn-date-input {
    width: 100%;
    padding: 13px 16px;
    border-radius: 14px;
    border: 1px solid var(--zn-border);
    background: var(--zn-surface);
    color: var(--zn-ink);
    font-family: 'Outfit', sans-serif;
    font-size: 16px;
    outline: none;
    color-scheme: light dark;
}

.zn-date-input:focus { border-color: var(--zn-border-glow); }

/* ---------------------------------------------------------- statistici */

.zn-stats {
    position: relative;
    z-index: 1;
    text-align: center;
    font-size: 12.5px;
    font-weight: 500;
    color: var(--zn-ink-faint);
    padding: 18px 0 0;
    margin: 0;
}

/* --------------------------------------------------------------- video */

.zn-video {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--zn-border);
    margin: 16px 0 22px;
    background: #000;
}

.zn-video iframe { width: 100%; height: 100%; border: 0; display: block; }

/* -------------------------------------------------------- de ce conteaza */

.zn-detail-content p.zn-why {
    padding: 14px 16px;
    border-radius: 14px;
    border: 1px solid var(--zn-border);
    background:
        linear-gradient(var(--zn-bg), var(--zn-bg)) padding-box,
        linear-gradient(135deg, var(--zn-cyan), var(--zn-violet)) border-box;
    border: 1.2px solid transparent;
    font-size: 15px;
}

.zn-detail-content p.zn-why i { color: var(--zn-violet); margin-right: 6px; }

/* ---------------------------------------------------------- alte surse */

.zn-related {
    margin-top: 28px;
    padding: 16px 18px;
    border-radius: 18px;
    border: 1px solid var(--zn-border);
    background: var(--zn-surface);
}

.zn-related-title { font-size: 14px; font-weight: 700; margin: 0 0 10px; display: flex; align-items: center; gap: 8px; }
.zn-related-title i { color: var(--zn-violet); font-size: 12px; }

.zn-related-item {
    display: block;
    width: 100%;
    text-align: left;
    border: none;
    background: none;
    padding: 10px 0;
    border-top: 1px solid var(--zn-border);
    color: var(--zn-ink);
    font-family: 'Outfit', sans-serif;
    font-size: 14.5px;
    font-weight: 500;
    line-height: 1.4;
    cursor: pointer;
}

.zn-related-item:hover { color: var(--zn-cyan); }
.zn-related-src { display: block; font-size: 11.5px; font-weight: 700; color: var(--zn-ink-faint); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 2px; }

/* ------------------------------------------------------- cuvinte-cheie */

.zn-kw-wrap { margin: 0 0 22px; }
.zn-kw-list { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 10px; }

.zn-kw-chip {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 13px;
    border-radius: 999px;
    background: var(--zn-grad);
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
}

.zn-kw-chip i { font-size: 10px; opacity: 0.8; }

.zn-kw-row { display: flex; gap: 8px; justify-content: center; }

.zn-kw-row input {
    flex: 1;
    max-width: 260px;
    padding: 11px 16px;
    border-radius: 999px;
    border: 1px solid var(--zn-border);
    background: var(--zn-chip-bg);
    color: var(--zn-ink);
    font-family: 'Outfit', sans-serif;
    font-size: 14px;
    outline: none;
}

.zn-kw-row input:focus { border-color: var(--zn-border-glow); }

/* --------------------------------------------------- banner instalare */

.zn-install {
    position: fixed;
    bottom: calc(18px + env(safe-area-inset-bottom));
    left: 50%;
    transform: translateX(-50%);
    z-index: 45;
    width: calc(100% - 32px);
    max-width: 460px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 16px 18px;
    border-radius: 20px;
    border: 1px solid var(--zn-border);
    background: var(--zn-bg);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.35);
    animation: zn-pillin 0.45s cubic-bezier(0.22, 1, 0.36, 1);
    flex-wrap: wrap;
}

.zn-install-txt { display: flex; flex-direction: column; gap: 3px; }
.zn-install-txt b { font-size: 15px; }
.zn-install-txt span { font-size: 12.5px; color: var(--zn-ink-soft); }
.zn-install-txt span i { color: var(--zn-cyan); }
.zn-install-actions { display: flex; gap: 8px; }
.zn-install-actions .zn-btn-primary, .zn-install-actions .zn-btn-ghost { padding: 10px 18px; font-size: 13.5px; }


/* --------------------------------------------------- skeleton shimmer */

.zn-skel {
    border-radius: 22px;
    border: 1px solid var(--zn-border);
    background: var(--zn-surface);
    padding: 18px 20px 20px;
    margin-bottom: 16px;
    opacity: 0;
    animation: zn-cardin 0.4s ease forwards;
}

.zn-skel-img, .zn-skel-line {
    border-radius: 12px;
    background: linear-gradient(90deg, var(--zn-border) 25%, color-mix(in srgb, var(--zn-ink) 10%, transparent) 50%, var(--zn-border) 75%);
    background-size: 200% 100%;
    animation: zn-shimmer 1.4s ease-in-out infinite;
}

.zn-skel-img { height: 170px; margin-bottom: 16px; }
.zn-skel-line { height: 16px; margin-bottom: 10px; }
.zn-skel-line.zn-skel-thin { height: 11px; }

@keyframes zn-shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

@media (prefers-reduced-motion: reduce) {
    .zn-skel-img, .zn-skel-line { animation: none; }
}

/* --------------------------------------------------------------- citit */

.zn-card.zn-read .zn-title { color: var(--zn-ink-soft); font-weight: 600; }
.zn-card.zn-read .zn-summary { opacity: 0.75; }
.zn-card.zn-read .zn-card-img img { opacity: 0.82; }
.zn-card.zn-read .zn-read-hint { color: var(--zn-ink-faint); }
.zn-card.zn-read .zn-read-hint i { color: #22C55E; }

/* ======================================================== v4 aprobat */

/* hero */
.zn-card.zn-hero .zn-card-img { height: 320px; }
.zn-card.zn-hero .zn-card-img::after { background: linear-gradient(to top, var(--zn-bg) 10%, rgba(0,0,0,0.15) 55%, transparent); opacity: 1; }
.zn-card.zn-hero .zn-card-img + .zn-card-body { margin-top: -104px; }
.zn-card.zn-hero .zn-title { font-size: 25px; font-weight: 800; line-height: 1.24; }

/* punct categorie + data separator */
.zn-cat-dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; flex: 0 0 auto; }
.zn-day-date { font-size: 12px; font-weight: 500; color: var(--zn-ink-faint); white-space: nowrap; }

/* tab bar */
.zn-tabbar {
    position: fixed;
    bottom: max(calc(env(safe-area-inset-bottom) + 6px), 12px);
    left: 12px;
    right: 12px;
    z-index: 42;
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 7px 8px;
    transition: transform 0.22s cubic-bezier(0.22, 1, 0.36, 1);
    background: var(--zn-bar);
    -webkit-backdrop-filter: blur(22px) saturate(1.5);
    backdrop-filter: blur(22px) saturate(1.5);
    border: 1px solid var(--zn-border);
    border-radius: 999px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.16), 0 2px 8px rgba(0, 0, 0, 0.08);
}

/* ecrane late: bara nu se intinde pe toata latimea, ramane o pastila centrata */
@media (min-width: 520px) {
    .zn-tabbar {
        left: 50%;
        right: auto;
        transform: translateX(-50%);
        width: min(480px, calc(100% - 24px));
    }
    body.zn-kb .zn-tabbar { transform: translateX(-50%) translateY(160%); }
}

.zn-tab {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    border: none;
    background: none;
    color: var(--zn-ink-faint);
    font-family: 'Outfit', sans-serif;
    font-size: 10px;
    font-weight: 600;
    cursor: pointer;
    padding: 6px 14px;
    border-radius: 999px;
    transition: background 0.18s ease, color 0.18s ease;
}

.zn-tab i { font-size: 16px; }
.zn-tab.zn-on { color: var(--zn-violet); background: var(--zn-chip-bg); }

.zn-tab-flow i {
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: var(--zn-grad);
    color: #fff;
    font-size: 15px;
    margin-top: 0;
    box-shadow: 0 6px 16px rgba(139, 92, 246, 0.45);
}
.zn-tab-flow { padding: 0 10px; }
.zn-tab-flow.zn-on { background: none; }

.zn-app { padding-bottom: calc(96px + env(safe-area-inset-bottom)); }
.zn-toast { bottom: calc(86px + env(safe-area-inset-bottom)); }
.zn-install { bottom: calc(82px + env(safe-area-inset-bottom)); }

/* promo Flow */
.zn-flow-promo {
    position: relative;
    display: flex;
    align-items: center;
    gap: 16px;
    border-radius: 22px;
    padding: 18px 20px;
    margin: 20px 0 8px;
    border: 1.2px solid transparent;
    background: linear-gradient(var(--zn-surface), var(--zn-surface)) padding-box,
                linear-gradient(135deg, var(--zn-cyan), var(--zn-violet)) border-box;
    cursor: pointer;
    overflow: hidden;
    animation: zn-cardin 0.5s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.zn-flow-stack { position: relative; width: 74px; height: 88px; flex: 0 0 auto; }
.zn-flow-stack span {
    position: absolute;
    inset: 0;
    border-radius: 14px;
    background-size: cover;
    background-position: center;
    background-color: var(--zn-chip-bg);
    border: 2px solid var(--zn-bg);
}
.zn-flow-stack span:nth-child(1) { transform: rotate(-8deg) translateX(-7px); }
.zn-flow-stack span:nth-child(2) { transform: rotate(5deg) translateX(7px); }
.zn-flow-stack span:nth-child(3) { transform: rotate(0); }
.zn-flow-promo-txt b { font-size: 17px; font-weight: 800; display: block; margin-bottom: 3px; }
.zn-flow-promo-txt span { font-size: 13.5px; color: var(--zn-ink-soft); }
.zn-flow-promo-go { margin-left: auto; color: var(--zn-violet); font-size: 20px; }

/* ============================================================ ZEN FLOW */

.zn-flow {
    overscroll-behavior: contain;
    touch-action: pan-y;
    position: fixed;
    inset: 0;
    z-index: 46;
    background: #08090D;
    overflow-y: auto;
    scroll-snap-type: y mandatory;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    scrollbar-width: none;
    animation: zn-detailin 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}
.zn-flow::-webkit-scrollbar { display: none; }

.zn-flow-slide {
    position: relative;
    height: 100vh;
    height: 100dvh;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    overflow: hidden;
}

.zn-flow-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-color: #10131C;
    animation: zn-kenburns 14s ease-in-out infinite alternate;
}
.zn-flow-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, #08090D 22%, rgba(8, 9, 13, 0.55) 55%, rgba(8, 9, 13, 0.25));
}
.zn-flow-slide.zn-tinted .zn-flow-bg::after {
    background: linear-gradient(to top, #08090D 22%, rgba(8, 9, 13, 0.55) 55%, rgba(8, 9, 13, 0.2)),
                linear-gradient(160deg, transparent 55%, var(--tint) 140%);
}

@keyframes zn-kenburns {
    from { transform: scale(1) translateY(0); }
    to { transform: scale(1.12) translateY(-2%); }
}

.zn-flow-content {
    position: relative;
    z-index: 1;
    padding: 0 22px calc(46px + env(safe-area-inset-bottom));
    max-width: 620px;
    margin: 0 auto;
    width: 100%;
    color: #F2F3F7;
}

.zn-flow-meta { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; flex-wrap: wrap; }
.zn-flow-chip { background: rgba(8, 9, 13, 0.5) !important; color: #C9CDD6 !important; border-color: rgba(255,255,255,0.14) !important; }

.zn-flow-title {
    font-size: 30px;
    font-weight: 800;
    line-height: 1.18;
    letter-spacing: -0.02em;
    margin: 0 0 14px;
    text-shadow: 0 2px 24px rgba(0, 0, 0, 0.5);
}

.zn-flow-sum { font-size: 16px; line-height: 1.6; color: #C9CDD6; margin: 0 0 22px; max-height: 30vh; overflow: hidden; }

.zn-flow-actions { display: flex; align-items: center; gap: 10px; }
.zn-flow-actions.zn-center { justify-content: center; }

.zn-flow-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.08);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    color: #fff;
    font-family: 'Outfit', sans-serif;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
}
.zn-flow-btn.zn-grad { background: var(--zn-grad); border-color: transparent; box-shadow: 0 8px 24px rgba(139, 92, 246, 0.45); }
.zn-flow-btn.zn-round { width: 46px; height: 46px; padding: 0; justify-content: center; }

.zn-flow-segs {
    position: fixed;
    top: calc(10px + env(safe-area-inset-top));
    left: 16px;
    right: 16px;
    z-index: 48;
    display: flex;
    gap: 5px;
}
.zn-flow-segs span { flex: 1; height: 3px; border-radius: 2px; background: rgba(255, 255, 255, 0.22); position: relative; overflow: hidden; }
.zn-flow-segs span.zn-done { background: rgba(255, 255, 255, 0.85); }
.zn-flow-segs span.zn-on::after {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--zn-grad);
    box-shadow: 0 0 8px rgba(139, 92, 246, 0.7);
}

.zn-flow-top {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 48;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 18px;
    padding-top: calc(26px + env(safe-area-inset-top));
    background: linear-gradient(to bottom, rgba(8, 9, 13, 0.72), transparent);
    pointer-events: none;
}
.zn-flow-top > * { pointer-events: auto; }
.zn-flow-x { border-color: rgba(255, 255, 255, 0.2) !important; background: rgba(255, 255, 255, 0.08) !important; color: #fff !important; }
.zn-flow-count { font-size: 13px; font-weight: 700; color: rgba(255, 255, 255, 0.85); letter-spacing: 0.06em; }

.zn-flow-hint {
    position: absolute;
    bottom: calc(12px + env(safe-area-inset-bottom));
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    color: rgba(255, 255, 255, 0.55);
    font-size: 12px;
    display: flex;
    align-items: center;
    gap: 7px;
    animation: zn-hintfloat 1.8s ease-in-out infinite;
}
@keyframes zn-hintfloat {
    0%, 100% { transform: translate(-50%, 0); }
    50% { transform: translate(-50%, -6px); }
}

/* cover */
.zn-flow-cover { justify-content: center; text-align: center; }
.zn-flow-cover .zn-flow-bg { background: radial-gradient(circle at 30% 20%, #143048, #0B0E14 60%), #0B0E14; animation: none; }
.zn-flow-cover .zn-flow-bg::after { background: none; }
.zn-flow-cover-orb { display: flex; justify-content: center; margin-bottom: 20px; }
.zn-flow-cover-orb svg { width: 82px; height: 82px; }
.zn-flow-cover-orb .zn-orbit-ring { animation-duration: 10s; }
.zn-flow-cover-orb .zn-orbit-dot { fill: #08090D; }
.zn-flow-kicker { font-size: 13px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; background: var(--zn-grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.zn-flow-h1 { font-size: 38px; font-weight: 800; letter-spacing: -0.02em; margin: 10px 0 6px; color: #fff; }
.zn-flow-date { font-size: 14px; color: rgba(255, 255, 255, 0.55); margin-bottom: 14px; text-transform: capitalize; }

.zn-flow-ctx {
    display: flex;
    justify-content: center;
    gap: 18px;
    flex-wrap: wrap;
    margin-bottom: 20px;
    font-size: 14.5px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.85);
}
.zn-flow-ctx i { color: var(--zn-cyan); margin-right: 5px; }
.zn-flow-ctx .zn-up, .zn-flow-ctx .zn-down { margin: 0 0 0 3px; }

.zn-flow-brief {
    max-width: 480px;
    margin: 0 auto 24px;
    padding: 18px 20px;
    border-radius: 20px;
    border: 1.2px solid transparent;
    background: linear-gradient(rgba(15, 18, 26, 0.85), rgba(15, 18, 26, 0.85)) padding-box,
                linear-gradient(135deg, #22D3EE, #8B5CF6) border-box;
    text-align: left;
    font-size: 14.5px;
    line-height: 1.6;
    color: #C9CDD6;
}
.zn-flow-brief b { color: #fff; display: block; margin-bottom: 6px; font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; }

.zn-flow-stats { display: flex; gap: 26px; justify-content: center; }
.zn-flow-stat { display: flex; flex-direction: column; }
.zn-flow-stat b { font-size: 26px; font-weight: 800; color: #fff; }
.zn-flow-stat span { font-size: 12px; color: rgba(255, 255, 255, 0.5); text-transform: uppercase; letter-spacing: 0.08em; }

/* final */
.zn-flow-end { justify-content: center; text-align: center; }
.zn-flow-end .zn-flow-bg { background: radial-gradient(circle at 70% 80%, #241B44, #0B0E14 65%), #0B0E14; animation: none; }
.zn-flow-end .zn-flow-bg::after { background: none; }
.zn-flow-check {
    width: 92px;
    height: 92px;
    margin: 0 auto 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 38px;
    color: #fff;
    background: var(--zn-grad);
    box-shadow: 0 0 60px rgba(139, 92, 246, 0.55);
    animation: zn-popin 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}
@keyframes zn-popin {
    from { transform: scale(0.4); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}
.zn-flow-h2 { font-size: 32px; font-weight: 800; color: #fff; margin: 0 0 8px; }
.zn-flow-endsub { color: rgba(255, 255, 255, 0.6); font-size: 15px; margin: 0 0 26px; }

@media (max-width: 480px) {
    .zn-flow-title { font-size: 26px; }
    .zn-flow-h1 { font-size: 32px; }
    .zn-card.zn-hero .zn-card-img { height: 250px; }
    .zn-card.zn-hero .zn-title { font-size: 21.5px; }
}

@media (prefers-reduced-motion: reduce) {
    .zn-flow-bg, .zn-flow-hint, .zn-flow-check { animation: none !important; }
}

/* ==================================================== superapp v4.2 */

/* chat "intreaba stirea" */
.zn-chat { display: flex; flex-direction: column; height: min(62vh, 520px); }

.zn-chat-msgs {
    flex: 1;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 4px 2px 14px;
}

.zn-chat-msg {
    max-width: 86%;
    padding: 11px 15px;
    border-radius: 16px;
    font-size: 14.5px;
    line-height: 1.55;
}

.zn-chat-ai {
    align-self: flex-start;
    background: var(--zn-chip-bg);
    border: 1px solid var(--zn-border);
    border-bottom-left-radius: 6px;
    color: var(--zn-ink);
}

.zn-chat-user {
    align-self: flex-end;
    background: var(--zn-grad);
    color: #fff;
    border-bottom-right-radius: 6px;
}

.zn-chat-typing i { font-size: 6px; color: var(--zn-ink-faint); margin: 0 2px; animation: zn-typing 1.2s ease-in-out infinite; }
.zn-chat-typing i:nth-child(2) { animation-delay: 0.15s; }
.zn-chat-typing i:nth-child(3) { animation-delay: 0.3s; }
@keyframes zn-typing { 0%, 100% { opacity: 0.3; } 50% { opacity: 1; } }

.zn-chat-row { display: flex; gap: 8px; padding-top: 12px; border-top: 1px solid var(--zn-border); }

.zn-chat-row input {
    flex: 1;
    padding: 12px 16px;
    border-radius: 999px;
    border: 1px solid var(--zn-border);
    background: var(--zn-chip-bg);
    color: var(--zn-ink);
    font-family: 'Outfit', sans-serif;
    font-size: 14.5px;
    outline: none;
}

.zn-chat-row input:focus { border-color: var(--zn-border-glow); }
.zn-chat-send { padding: 0; width: 46px; height: 46px; flex: 0 0 auto; display: flex; align-items: center; justify-content: center; border-radius: 50%; }

/* raspuns AI in feed */
.zn-ai-answer {
    border-radius: 22px;
    border: 1.2px solid transparent;
    background: linear-gradient(var(--zn-surface), var(--zn-surface)) padding-box,
                linear-gradient(135deg, var(--zn-cyan), var(--zn-violet)) border-box;
    padding: 18px 20px;
    margin: 16px 0;
    animation: zn-cardin 0.5s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.zn-ai-answer-kicker {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    background: var(--zn-grad);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 10px;
}

.zn-ai-answer-kicker i { -webkit-text-fill-color: var(--zn-violet); margin-right: 5px; }
.zn-ai-answer p { margin: 0 0 10px; font-size: 15px; line-height: 1.6; color: var(--zn-ink); }
.zn-ai-answer p:last-child { margin-bottom: 0; }
.zn-ai-answer-src { font-size: 12.5px; font-weight: 700; color: var(--zn-ink-faint); text-transform: uppercase; letter-spacing: 0.08em; margin: 18px 2px 4px; }

/* comparatie surse */
.zn-cmp-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    margin-top: 12px;
    padding: 12px 16px;
    border-radius: 14px;
    border: 1px dashed var(--zn-border-glow);
    background: none;
    color: var(--zn-violet);
    font-family: 'Outfit', sans-serif;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
}

.zn-cmp-btn:disabled { opacity: 0.6; cursor: wait; }

.zn-cmp-box { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--zn-border); }
.zn-cmp-box p { margin: 0 0 10px; font-size: 14.5px; line-height: 1.6; color: var(--zn-ink-soft); }

/* sarbatoare pe cover Flow */
.zn-flow-holiday {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0 auto 20px;
    padding: 9px 18px;
    border-radius: 999px;
    background: rgba(245, 158, 11, 0.14);
    border: 1px solid rgba(245, 158, 11, 0.35);
    color: #FCD34D;
    font-size: 13.5px;
    font-weight: 600;
}

/* mod TV */
.zn-flow-clock { font-size: 15px; font-weight: 800; color: #fff; letter-spacing: 0.04em; margin-right: auto; padding-left: 14px; }
.zn-flow-tv .zn-flow-hint { display: none; }

/* X pe cardul de digest */
.zn-digest { position: relative; }
.zn-digest-x {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid var(--zn-border);
    background: var(--zn-chip-bg);
    color: var(--zn-ink-faint);
    font-size: 13px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}
.zn-bnr-code i { color: var(--zn-violet); margin-right: 4px; }

/* ==================================================== superapp II v4.4 */

/* ore de liniste in onboarding */
.zn-quiet-row { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 0 0 22px; flex-wrap: wrap; }
.zn-quiet-row input[type="time"] {
    padding: 9px 13px;
    border-radius: 12px;
    border: 1px solid var(--zn-border);
    background: var(--zn-chip-bg);
    color: var(--zn-ink);
    font-family: 'Outfit', sans-serif;
    font-size: 14px;
}
.zn-quiet-sep { color: var(--zn-ink-faint); }

/* profil */
.zn-prof-hero { display: flex; justify-content: space-around; padding: 6px 0 14px; }
.zn-prof-stat { display: flex; flex-direction: column; align-items: center; }
.zn-prof-stat b {
    font-size: 30px;
    font-weight: 800;
    background: var(--zn-grad);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.zn-prof-stat span { font-size: 11.5px; color: var(--zn-ink-faint); text-transform: uppercase; letter-spacing: 0.07em; }

.zn-prof-bar { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.zn-prof-bar-label { flex: 0 0 96px; font-size: 13px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.zn-prof-bar-track { flex: 1; height: 8px; border-radius: 4px; background: var(--zn-chip-bg); overflow: hidden; }
.zn-prof-bar-fill { display: block; height: 100%; border-radius: 4px; background: var(--zn-grad); }
.zn-prof-bar-n { flex: 0 0 auto; font-size: 12.5px; color: var(--zn-ink-faint); }
.zn-prof-note { font-size: 14px; color: var(--zn-ink-soft); margin: 12px 0 0; }
.zn-prof-note b { color: var(--zn-ink); }

/* sync */
.zn-sync { display: flex; flex-direction: column; gap: 10px; }
.zn-sync-code { font-size: 14.5px; min-height: 20px; }
.zn-sync-code b { letter-spacing: 0.18em; font-size: 17px; background: var(--zn-grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.zn-sync-btn { align-self: flex-start; }
.zn-sync-row { display: flex; gap: 8px; }
.zn-sync-row input {
    flex: 1;
    max-width: 220px;
    padding: 11px 15px;
    border-radius: 12px;
    border: 1px solid var(--zn-border);
    background: var(--zn-chip-bg);
    color: var(--zn-ink);
    font-family: 'Outfit', sans-serif;
    font-size: 15px;
    letter-spacing: 0.14em;
    outline: none;
}

/* resume */
.zn-resume-pill { cursor: pointer; }
.zn-card.zn-resume-hl { border-color: var(--zn-border-glow); box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.25); transition: box-shadow 0.4s ease; }

/* chip selectat in strip (Pentru tine) */
.zn-uchip.zn-sel {
    background: var(--zn-grad);
    color: #fff;
    border-color: transparent;
}
.zn-uchip.zn-sel i { color: #fff; }

/* ==================================================== superapp III v4.5 */

/* badge cluster */
.zn-chip-cluster { color: var(--zn-cyan); border-color: color-mix(in srgb, var(--zn-cyan) 40%, transparent); }
.zn-chip-cluster i { color: var(--zn-cyan); }

/* populare azi */
.zn-popular { margin: 18px 0 6px; }
.zn-popular-title { font-size: 13px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 10px; }
.zn-popular-title i { color: #F59E0B; margin-right: 5px; }

.zn-popular-row {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 6px;
    scrollbar-width: none;
}
.zn-popular-row::-webkit-scrollbar { display: none; }

.zn-pop-card {
    position: relative;
    flex: 0 0 150px;
    border: 1px solid var(--zn-border);
    border-radius: 16px;
    background: var(--zn-surface);
    padding: 0 0 10px;
    text-align: left;
    cursor: pointer;
    overflow: hidden;
    font-family: 'Outfit', sans-serif;
}

.zn-pop-rank {
    position: absolute;
    top: 6px;
    left: 8px;
    z-index: 1;
    font-size: 22px;
    font-weight: 800;
    color: #fff;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

.zn-pop-img { display: block; height: 84px; background-size: cover; background-position: center; }
.zn-pop-noimg { display: flex; align-items: center; justify-content: center; color: var(--zn-ink-faint); background: var(--zn-chip-bg); }
.zn-pop-t {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    padding: 8px 10px 0;
    font-size: 12.5px;
    font-weight: 600;
    line-height: 1.35;
    color: var(--zn-ink);
}

/* cronologie */
.zn-timeline { margin: 20px 0 6px; padding-left: 6px; }
.zn-tl-step {
    position: relative;
    display: grid;
    grid-template-columns: 14px 58px 1fr;
    gap: 10px;
    padding: 0 0 18px;
}
.zn-tl-step::before {
    content: '';
    position: absolute;
    left: 5px;
    top: 14px;
    bottom: 0;
    width: 2px;
    background: var(--zn-border);
}
.zn-tl-step:last-child::before { display: none; }
.zn-tl-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--zn-grad);
    box-shadow: 0 0 8px rgba(139, 92, 246, 0.5);
    margin-top: 3px;
}
.zn-tl-date { font-size: 12.5px; font-weight: 700; color: var(--zn-ink-faint); text-transform: uppercase; padding-top: 1px; }
.zn-tl-text { font-size: 14.5px; line-height: 1.55; color: var(--zn-ink); }

/* convertor */
.zn-conv { display: flex; gap: 8px; margin-bottom: 8px; }
.zn-conv input, .zn-conv select {
    padding: 11px 14px;
    border-radius: 12px;
    border: 1px solid var(--zn-border);
    background: var(--zn-chip-bg);
    color: var(--zn-ink);
    font-family: 'Outfit', sans-serif;
    font-size: 15px;
    outline: none;
}
.zn-conv input { flex: 1; min-width: 0; }
.zn-conv-dir { padding: 0 14px; }
.zn-conv-out { min-height: 22px; font-size: 15px; margin-bottom: 14px; }
.zn-conv-out b { background: var(--zn-grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }

/* vreme: ploaie */
.zn-wx-hour em { font-style: normal; font-size: 10.5px; color: var(--zn-cyan); display: block; }
.zn-wx-rain { font-style: normal; font-size: 11.5px; color: var(--zn-cyan); min-width: 52px; text-align: center; }

/* offline */
.zn-offline {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 60;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 8px 14px calc(8px);
    padding-top: calc(8px + env(safe-area-inset-top));
    background: #B45309;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
}

/* ============================================== marimea textului (A-/A+) */
/* --zn-fs = multiplicator setat din Arii; suprascrie suprafetele de citit */

:root { --zn-fs: 1; }

.zn-title { font-size: calc(21.5px * var(--zn-fs)); }
.zn-summary { font-size: calc(15.5px * var(--zn-fs)); }
.zn-card.zn-hero .zn-title { font-size: calc(25px * var(--zn-fs)); }
.zn-detail-title { font-size: calc(29px * var(--zn-fs)); }
.zn-detail-content p { font-size: calc(16.5px * var(--zn-fs)); }
.zn-flow-title { font-size: calc(30px * var(--zn-fs)); }
.zn-flow-sum { font-size: calc(16px * var(--zn-fs)); }
.zn-related-item { font-size: calc(14.5px * var(--zn-fs)); }
.zn-chat-msg { font-size: calc(14.5px * var(--zn-fs)); }
.zn-ai-answer p { font-size: calc(15px * var(--zn-fs)); }
.zn-tl-text { font-size: calc(14.5px * var(--zn-fs)); }
.zn-cmp-box p { font-size: calc(14.5px * var(--zn-fs)); }

@media (max-width: 480px) {
    .zn-title { font-size: calc(19.5px * var(--zn-fs)); }
    .zn-detail-title { font-size: calc(25px * var(--zn-fs)); }
    .zn-flow-title { font-size: calc(26px * var(--zn-fs)); }
    .zn-card.zn-hero .zn-title { font-size: calc(21.5px * var(--zn-fs)); }
}

/* controlul din Arii */
.zn-fs-row { display: flex; align-items: center; justify-content: center; gap: 12px; margin: 0 0 22px; }
.zn-fs-btn {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 1px solid var(--zn-border);
    background: var(--zn-chip-bg);
    color: var(--zn-ink);
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    cursor: pointer;
}
.zn-fs-btn.zn-minus { font-size: 13px; }
.zn-fs-btn.zn-plus { font-size: 19px; }
.zn-fs-val { min-width: 64px; text-align: center; font-size: 14px; font-weight: 700; color: var(--zn-ink-soft); }

/* ================================================== nu ma intereseaza */

.zn-mute-menu { display: flex; flex-direction: column; gap: 10px; }

.zn-mute-opt {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 15px 16px;
    border-radius: 16px;
    border: 1px solid var(--zn-border);
    background: var(--zn-chip-bg);
    color: var(--zn-ink);
    font-family: 'Outfit', sans-serif;
    font-size: 14.5px;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
}

.zn-mute-opt i { color: var(--zn-ink-faint); width: 18px; text-align: center; }
.zn-mute-opt:active { transform: scale(0.985); }

.zn-mute-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-top: 20px;
    padding: 0;
    border: none;
    background: none;
    color: var(--zn-ink-faint);
    font-family: 'Outfit', sans-serif;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
}

.zn-mute-link:hover { color: var(--zn-ink-soft); }

.zn-mute-chip { background: var(--zn-chip-bg) !important; color: var(--zn-ink-soft) !important; border: 1px solid var(--zn-border); }
.zn-mute-chip i:first-child { font-size: 10px; color: #F43F5E; }

/* buton "..." pe card (nu ma intereseaza) */
.zn-bm.zn-more { color: var(--zn-ink-faint); }
.zn-bm.zn-more:hover { color: var(--zn-ink-soft); }

/* ---- 4.9.14: imaginile din corpul articolului, intercalate in detaliu ---- */
.zn-d-img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 68vh;
    object-fit: cover;
    border-radius: 14px;
    margin: 16px 0;
    background: rgba(127, 127, 127, .08);
}


/* ---- 4.9.18: tastatura iOS - bara se ascunde cat viewportul vizual e micsorat,
   altfel raman elemente fixed "plutind" la mijlocul ecranului ---- */
body.zn-kb .zn-tabbar { transform: translateY(160%); }


/* ---- 4.9.20: logo-ul cu contrast pe tema deschisa - arcul de sus (cyan pal)
   disparea pe fundalul alb, de unde senzatia de "ceata" ---- */
.zn-lg-a { stop-color: var(--zn-logo-a); }
.zn-lg-b { stop-color: var(--zn-logo-b); }



/* =====================================================================
   MISCARE — limbajul din portalul ZenRP si CRM
   Regula: putin, scurt, cu scop numit. Sub 300 ms peste tot, doar
   transform + opacity, iesirea mai scurta decat intrarea si pe acelasi
   drum, niciodata scale(0). Navigarea frecventa si datele (cifre, curs)
   nu se animeaza.
   ===================================================================== */
:root {
    --zn-ease-out: cubic-bezier(0.23, 1, 0.32, 1);
    --zn-ease-io: cubic-bezier(0.77, 0, 0.175, 1);
}

/* 01 · feedback la apasare: orice buton "raspunde" sub deget */
.zn-icon-btn, .zn-tab, .zn-chip, .zn-uchip, .zn-cat-chip, .zn-btn-ghost, .zn-btn-primary,
.zn-flow-btn, .zn-round, .zn-new-pill, .zn-trend-pill, .zn-resume-pill, .zn-fs-btn,
.zn-cmp-btn, .zn-sync-btn, .zn-ask-btn, .zn-ai-btn, .zn-chat-send, .zn-bm, .zn-more,
.zn-plus, .zn-minus, .zn-chip-onb, .zn-pop-card, .zn-related-item {
    transition-property: transform, background-color, color, border-color, box-shadow, opacity;
    transition-duration: 160ms;
    transition-timing-function: var(--zn-ease-out);
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}
.zn-icon-btn:active, .zn-tab:active, .zn-chip:active, .zn-uchip:active, .zn-cat-chip:active,
.zn-btn-ghost:active, .zn-btn-primary:active, .zn-flow-btn:active, .zn-round:active,
.zn-new-pill:active, .zn-trend-pill:active, .zn-resume-pill:active, .zn-fs-btn:active,
.zn-cmp-btn:active, .zn-sync-btn:active, .zn-ask-btn:active, .zn-ai-btn:active,
.zn-chat-send:active, .zn-bm:active, .zn-more:active, .zn-plus:active, .zn-minus:active,
.zn-chip-onb:active { transform: scale(0.97); transition-duration: 90ms; }
/* suprafetele mari: abia perceptibil, altfel par ca "se scufunda" */
.zn-card:active, .zn-pop-card:active, .zn-related-item:active, .zn-flow-promo:active { transform: scale(0.985); transition-duration: 90ms; }

/* 02 · intrarea cardurilor: grup scurt (intarzierea de 35 ms vine din JS) */
.zn-card {
    transform: translateY(8px);
    animation: zn-cardin 300ms var(--zn-ease-out) forwards;
    transition: border-color 0.2s var(--zn-ease-out), transform 160ms var(--zn-ease-out), box-shadow 0.2s var(--zn-ease-out), background 0.3s ease;
}
.zn-card:hover { transform: translateY(-2px); }
.zn-flow-promo, .zn-popular, .zn-digest { animation-duration: 300ms !important; animation-timing-function: var(--zn-ease-out) !important; }

/* 03 · stirea: foaie care urca 24 px, iese pe acelasi drum, mai repede */
.zn-detail:not(.zn-navcover) { animation: zn-sheetin 280ms var(--zn-ease-out); }
.zn-detail.zn-detail-out { animation: zn-sheetout 160ms var(--zn-ease-out) forwards; }
@keyframes zn-sheetin { from { transform: translateY(24px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes zn-sheetout { to { transform: translateY(16px); opacity: 0; } }

/* 04 · modalele (curs, carburanti, arii): valul se estompeaza, caseta creste din 0.95 */
.zn-modal { animation: zn-fadein 200ms ease-out; }
.zn-modal-box { animation: zn-boxin 220ms var(--zn-ease-out); }
.zn-onboard { animation: zn-fadein 200ms ease-out; }
.zn-onboard-box { animation: zn-boxin 240ms var(--zn-ease-out); }
@keyframes zn-fadein { from { opacity: 0; } to { opacity: 1; } }
@keyframes zn-boxin { from { transform: scale(0.95) translateY(6px); opacity: 0; } to { transform: none; opacity: 1; } }

/* 05 · mesajele scurte (toast): urca 8 px, pleaca pe acelasi drum */
.zn-toast { animation: zn-toastin 240ms var(--zn-ease-out); transition: opacity 160ms var(--zn-ease-out), transform 160ms var(--zn-ease-out); }
@keyframes zn-toastin { from { transform: translate(-50%, 8px); opacity: 0; } to { transform: translate(-50%, 0); opacity: 1; } }

/* 06 · stiri noi venite din polling: intra fara salt */
@starting-style {
    .zn-new-pill { opacity: 0; transform: translate(-50%, -8px); }
}

/* 07 · bara de jos: pastila tabului activ aluneca intre stari */
.zn-tab { transition-duration: 200ms; }

/* 08 · momentul de delight (unul singur): salvarea unei stiri */
.zn-pop { animation: zn-bmpop 340ms cubic-bezier(0.34, 1.56, 0.64, 1); display: inline-block; }
@keyframes zn-bmpop { 0% { transform: scale(1); } 40% { transform: scale(1.32); } 100% { transform: scale(1); } }

@media (prefers-reduced-motion: reduce) {
    .zn-card, .zn-detail, .zn-modal, .zn-modal-box, .zn-onboard, .zn-onboard-box, .zn-toast, .zn-pop,
    .zn-flow-promo, .zn-popular, .zn-digest { animation: none !important; opacity: 1 !important; transform: none !important; }
    .zn-icon-btn:active, .zn-card:active { transform: none; }
}
