/* ═══════════════════════════════════════════════════════════════════════
   muzyka.css — podstrona „Muzyka" (2026-11-30, scena v2)
   Motyw: jasna scena z falami dźwięku (karmazyn, burgund, grafit, róż), słupkami, rastrem i nutami.
   Celowo BEZ motywów sieci handlowej: żadnej czerwieni z żółtym, żadnych kropek biedronki.
   Ruch: fale płyną powoli cały czas (szybciej podczas odtwarzania), słupki ruszają dopiero z muzyką
   (na komputerze wg dźwięku, na telefonie stałym rytmem), nuty lekko unoszą się. prefers-reduced-motion → bez ruchu.
   Kolory listy i paska idą za trybem jasnym/ciemnym portalu (html.dark).
   ═══════════════════════════════════════════════════════════════════════ */

@font-face {
    font-family: 'Bricolage Grotesque';
    font-style: normal; font-display: swap; font-weight: 200 800;
    src: url('../vendor/bricolage/bricolage-grotesque-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: 'Bricolage Grotesque';
    font-style: normal; font-display: swap; font-weight: 200 800;
    src: url('../vendor/bricolage/bricolage-grotesque-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

.mz {
    --mz-red: #B5122B;            /* karmazyn — akcent strony (nie czerwień sieci) */
    --mz-red-deep: #7E0D22;
    --mz-ink: #231F20;
    --mz-pink: #F2A7AD;
    --mz-bg: #FFFFFF;
    --mz-fg: #231F20;
    --mz-muted: #6F6668;
    --mz-line: #EFE7E5;
    --mz-soft: #FBF4F2;
    --mz-stage-a: #FBE6E2;        /* tło sceny: od różu do kremu */
    --mz-stage-b: #FFF8F5;
    --mz-stage-fg: #231F20;
    --mz-wave-dark: url(#mzGradDark);
    --mz-display: 'Bricolage Grotesque', 'Inter', system-ui, sans-serif;
    --lvl: 0;                     /* poziom dźwięku 0–1 (ustawia muzyka.js) */
    display: block;
    background: var(--mz-bg);
    color: var(--mz-fg);
}
html.dark .mz {
    --mz-bg: #111827;
    --mz-fg: #F4F1F0;
    --mz-muted: #A39C9E;
    --mz-line: #263041;
    --mz-soft: #1A2333;
    --mz-stage-a: #2A1319;
    --mz-stage-b: #151B29;
    --mz-stage-fg: #FBF3F1;
}
.mz button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
.mz :focus-visible { outline: 3px solid var(--mz-red); outline-offset: 2px; border-radius: 6px; }
html.dark .mz :focus-visible { outline-color: var(--mz-pink); }
.mz [hidden] { display: none !important; }

/* ── SCENA ─────────────────────────────────────────────────────────── */
.mz-stage {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    background: linear-gradient(100deg, var(--mz-stage-a) 0%, var(--mz-stage-b) 70%);
    color: var(--mz-stage-fg);
    padding: calc(64px + clamp(1.75rem, 4vw, 3.25rem)) 1.25rem clamp(2rem, 4vw, 3.25rem);
    min-height: clamp(420px, 44vw, 520px);
    display: flex; align-items: center;
}
.mz-stage-in { position: relative; z-index: 1; width: 100%; max-width: 1120px; margin: 0 auto; }
.mz-stage-in > * { max-width: 36rem; }
.mz-stage-in > .mz-h1 { max-width: 46rem; }
.mz-h1 span { display: inline-block; }   /* zdania nagłówka łamią się w całości */
.mz-kicker {
    display: inline-block; margin: 0 0 1rem; padding: .4rem .8rem; border-radius: 999px;
    background: rgba(181, 18, 43, .1); color: var(--mz-red);
    font-size: .76rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
}
html.dark .mz-kicker { background: rgba(242, 167, 173, .14); color: var(--mz-pink); }
.mz-h1 {
    font-family: var(--mz-display);
    font-weight: 800;
    font-size: clamp(2.1rem, 4.1vw, 3.45rem);
    line-height: 1.02;
    letter-spacing: -.03em;
    margin: 0;
    text-wrap: balance;
}
.mz-lead { font-size: clamp(1rem, 1.35vw, 1.16rem); line-height: 1.5; font-weight: 500; margin: 1.1rem 0 0; max-width: 34em; }
.mz-stage-cta { display: flex; flex-wrap: wrap; align-items: center; gap: .9rem 1.5rem; margin-top: 1.6rem; }
.mz .mz-playall {
    display: inline-flex; align-items: center; gap: .65rem;
    padding: .5rem 1.5rem .5rem .55rem; border-radius: 999px;
    background: var(--mz-red); color: #fff;
    font-family: var(--mz-display); font-weight: 700; font-size: 1.08rem;
    box-shadow: 0 10px 24px -8px rgba(181, 18, 43, .55);
    transition: transform .15s ease, box-shadow .15s ease, background .15s;
}
.mz .mz-playall:hover { background: #9F0F25; transform: translateY(-2px); box-shadow: 0 14px 28px -8px rgba(181, 18, 43, .6); }
.mz .mz-playall:active { transform: translateY(1px); }
.mz-playall-ico { width: 2.6rem; height: 2.6rem; border-radius: 50%; background: rgba(255, 255, 255, .16); display: grid; place-items: center; font-size: 1.55rem; }
.mz-playall-ico .bi-pause-fill, .mz[data-playing="1"] .mz-playall-ico .bi-play-fill { display: none; }
.mz[data-playing="1"] .mz-playall-ico .bi-pause-fill { display: block; }
.mz-link { display: inline-flex; align-items: center; gap: .3rem; color: var(--mz-red); font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }
.mz-link:hover { color: var(--mz-red-deep); }
.mz-link .bi { font-size: .8em; transition: transform .2s; }
.mz-link:hover .bi { transform: translateX(3px); }
html.dark .mz-link, html.dark .mz-link:hover { color: var(--mz-pink); }
.mz-facts { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem 0; margin: 1.5rem 0 0; padding: 0; font-size: .95rem; font-weight: 500; }
.mz-facts li { display: inline-flex; align-items: center; gap: .45rem; padding: 0 1rem; border-left: 1.5px solid rgba(35, 31, 32, .22); }
.mz-facts li:first-child { padding-left: 0; border-left: 0; }
html.dark .mz-facts li { border-left-color: rgba(255, 255, 255, .25); }
.mz-facts .bi { color: var(--mz-red); }
html.dark .mz-facts .bi { color: var(--mz-pink); }
.mz-now {
    display: inline-flex; align-items: center; gap: .7rem; margin: 1.3rem 0 0; padding: .6rem 1.1rem .6rem .9rem; border-radius: 999px;
    background: rgba(35, 31, 32, .07); font-size: .95rem;
}
html.dark .mz-now { background: rgba(255, 255, 255, .09); }
.mz-now .mz-eq { color: var(--mz-red); }
.mz-now b { font-family: var(--mz-display); font-weight: 700; color: var(--mz-red); }
html.dark .mz-now b, html.dark .mz-now .mz-eq { color: var(--mz-pink); }

/* grafika sceny */
.mz-art {
    position: absolute; z-index: 0; top: 0; bottom: 0; right: 0; width: min(60%, 900px);
    /* lewa krawędź grafiki rozpływa się pod tekstem */
    -webkit-mask-image: linear-gradient(to right, transparent 20%, #000 58%); mask-image: linear-gradient(to right, transparent 20%, #000 58%);
    animation: mz-art-in 1.1s cubic-bezier(.2, .8, .2, 1) both;
}
.mz-art svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.mz-halftone { fill: var(--mz-red); opacity: .26; }
html.dark .mz-halftone { fill: var(--mz-pink); opacity: .2; }
.mz-dot { fill: var(--mz-red); }
/* wstęgi: narysowane na 3 okresy (okres = 800), przesuw o jeden okres daje płynną pętlę */
.mz-wave { animation: mz-flow 38s linear infinite; }
.mz-wave-dark { animation-duration: 52s; animation-direction: reverse; }
.mz-wave-pink { animation-duration: 70s; }
.mz-wave-red .mz-wave-fill { fill: url(#mzGradRed); }
.mz-wave-dark .mz-wave-fill { fill: url(#mzGradDark); opacity: .92; }
.mz-wave-pink .mz-wave-fill { fill: var(--mz-pink); opacity: .42; }
.mz-wave-line { fill: none; stroke: #fff; stroke-width: 1.2; opacity: .2; }
.mz-wave-dark .mz-wave-line { opacity: .13; }
@keyframes mz-flow { to { transform: translateX(-800px); } }
@keyframes mz-art-in { from { opacity: 0; transform: translateX(40px); } to { opacity: 1; transform: none; } }
/* słupki dźwięku: wysokość ustawia muzyka.js (scaleY wg pasm), bez analizy dźwięku — rytm w CSS */
.mz-bars rect { fill: url(#mzGradBar); opacity: .85; transform-box: fill-box; transform-origin: 50% 100%; transform: scaleY(.62); transition: transform .12s linear; }
.mz-bars rect.d { fill: var(--mz-red-deep); }
.mz-bars rect.l { opacity: .5; }
.mz-noviz[data-playing="1"] .mz-bars rect { animation: mz-bar 1s ease-in-out infinite; transition: none; }
.mz-noviz[data-playing="1"] .mz-bars rect:nth-child(3n) { animation-duration: .62s; animation-delay: -.2s; }
.mz-noviz[data-playing="1"] .mz-bars rect:nth-child(3n+1) { animation-duration: .84s; animation-delay: -.5s; }
.mz-noviz[data-playing="1"] .mz-bars rect:nth-child(4n) { animation-duration: 1.15s; animation-delay: -.35s; }
@keyframes mz-bar { 0%, 100% { transform: scaleY(.42); } 50% { transform: scaleY(1); } }
/* nuty */
.mz-note { position: absolute; color: var(--mz-red); font-size: clamp(1.4rem, 2.6vw, 2.5rem); animation: mz-float 6s ease-in-out infinite; }
.mz-note:nth-of-type(1) { left: 47%; top: 22%; color: #8B8082; font-size: clamp(1.6rem, 3vw, 2.9rem); }
.mz-note:nth-of-type(2) { left: 70%; top: 20%; color: var(--mz-pink); animation-delay: -1.5s; animation-duration: 7s; }
.mz-note:nth-of-type(3) { left: 83%; top: 18%; color: var(--mz-red-deep); animation-delay: -3s; }
.mz-note:nth-of-type(4) { left: 87%; top: 70%; animation-delay: -2s; animation-duration: 8s; font-size: clamp(1.7rem, 3.2vw, 3rem); }
.mz-note:nth-of-type(5) { left: 30%; top: 74%; color: #8B8082; animation-delay: -4s; }
html.dark .mz-note:nth-of-type(1), html.dark .mz-note:nth-of-type(5) { color: #B8AEB0; }
html.dark .mz-note:nth-of-type(3) { color: var(--mz-pink); }
@keyframes mz-float { 0%, 100% { transform: translateY(0) rotate(-4deg); } 50% { transform: translateY(-12px) rotate(5deg); } }

/* słupki „gra" */
.mz-eq { display: inline-flex; align-items: flex-end; gap: 3px; height: 16px; }
.mz-eq i { width: 3px; height: 100%; border-radius: 2px; background: currentColor; transform-origin: bottom; transform: scaleY(.3); animation: mz-eq 1s ease-in-out infinite; animation-play-state: paused; }
.mz-eq i:nth-child(2) { animation-duration: .7s; animation-delay: -.2s; }
.mz-eq i:nth-child(3) { animation-duration: 1.2s; animation-delay: -.5s; }
.mz-eq i:nth-child(4) { animation-duration: .85s; animation-delay: -.1s; }
.mz[data-playing="1"] .mz-eq i { animation-play-state: running; }
@keyframes mz-eq { 0%, 100% { transform: scaleY(.25); } 50% { transform: scaleY(1); } }

/* ── LISTA ─────────────────────────────────────────────────────────── */
.mz-list-wrap { max-width: 1040px; margin: 0 auto; padding: clamp(1.5rem, 3vw, 2.5rem) 1.25rem 9rem; }
.mz-lib { margin: 0 0 1.1rem; }
.mz-lib h2 { font-family: var(--mz-display); font-weight: 800; font-size: clamp(1.6rem, 3vw, 2.2rem); letter-spacing: -.02em; line-height: 1.1; margin: 0; }
.mz-lib p { margin: .25rem 0 0; color: var(--mz-muted); font-size: 1.02rem; }
.mz-notice { margin: 0 0 1.25rem; padding: .8rem 1rem; border-radius: 12px; background: var(--mz-soft); color: var(--mz-muted); }
.mz-tools { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .8rem 1.5rem; margin-bottom: .75rem; }
.mz-chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.mz .mz-chips button {
    display: inline-flex; align-items: center; gap: .45rem;
    padding: .5rem .95rem; border-radius: 999px;
    border: 1.5px solid var(--mz-line); font-weight: 600; font-size: .92rem;
    transition: background .15s, border-color .15s, color .15s;
}
.mz .mz-chips button span { color: var(--mz-muted); font-weight: 500; }
.mz .mz-chips button:hover { border-color: var(--mz-fg); }
.mz .mz-chips button.on { background: var(--mz-fg); border-color: var(--mz-fg); color: var(--mz-bg); }
.mz .mz-chips button.on span { color: inherit; opacity: .7; }
.mz-sort { display: inline-flex; align-items: center; gap: .6rem; font-size: .9rem; color: var(--mz-muted); }
.mz-sort select {
    font: inherit; font-weight: 600; color: var(--mz-fg);
    background: var(--mz-bg); border: 1.5px solid var(--mz-line); border-radius: 10px; padding: .45rem .7rem;
}

.mz-list { list-style: none; margin: 0; padding: 0; counter-reset: none; }
.mz-item { border-bottom: 1px solid var(--mz-line); scroll-margin-top: 84px; }
.mz-item:first-child { border-top: 1px solid var(--mz-line); }
.mz-row {
    display: grid; align-items: center;
    grid-template-columns: 44px 60px minmax(0, 1fr) auto auto auto auto;
    gap: .9rem; padding: .75rem .5rem;
    border-radius: 14px;
    transition: background .15s;
}
.mz-item:hover > .mz-row, .mz-item.open > .mz-row { background: var(--mz-soft); }

.mz .mz-play {
    position: relative; width: 44px; height: 44px; border-radius: 50%;
    display: grid; place-items: center;
    font-size: 1.5rem; color: var(--mz-fg);
    transition: background .15s, color .15s, transform .15s;
}
.mz-play > * { grid-area: 1 / 1; }
.mz-num { font-family: var(--mz-display); font-weight: 600; font-size: 1.05rem; color: var(--mz-muted); font-variant-numeric: tabular-nums; }
.mz-play .bi, .mz-play .mz-eq { opacity: 0; }
.mz-play .mz-eq { color: var(--mz-red); }
.mz-item:hover .mz-play, .mz-play:focus-visible, .mz-item.is-current .mz-play { background: var(--mz-red); color: #fff; }
.mz-item:hover .mz-num, .mz-play:focus-visible .mz-num, .mz-item.is-current .mz-num { opacity: 0; }
.mz-item:hover .mz-play .bi-play-fill, .mz-play:focus-visible .bi-play-fill, .mz-item.is-current .mz-play .bi-play-fill { opacity: 1; }
/* gra: słupki zamiast numeru, pauza po najechaniu */
.mz-item.is-playing .mz-play { background: transparent; }
.mz-item.is-playing .mz-play .bi-play-fill { opacity: 0; }
.mz-item.is-playing .mz-play .mz-eq { opacity: 1; }
.mz-item.is-playing:hover .mz-play, .mz-item.is-playing .mz-play:focus-visible { background: var(--mz-red); }
.mz-item.is-playing:hover .mz-play .mz-eq, .mz-item.is-playing .mz-play:focus-visible .mz-eq { opacity: 0; }
.mz-item.is-playing:hover .mz-play .bi-pause-fill, .mz-item.is-playing .mz-play:focus-visible .bi-pause-fill { opacity: 1; }
.mz-play.mz-play-video { font-size: 1.1rem; }
.mz-item:hover .mz-play-video .bi, .mz-play-video:focus-visible .bi { opacity: 1; }
.mz .mz-play:active { transform: scale(.94); }

/* okładka: zdjęcie albo wygenerowana (fale) — wariant kolorów wg data-seed */
.mz-cover {
    position: relative; display: block; width: 60px; height: 60px; border-radius: 12px; overflow: hidden; flex: none;
    --a: #F6D5D3; --b: var(--mz-red); --c: #3A3436;
    background:
        radial-gradient(95% 60% at 18% 112%, var(--c) 0 58%, transparent 59%),
        radial-gradient(120% 70% at 92% 96%, var(--b) 0 60%, transparent 61%),
        radial-gradient(80% 46% at 30% 40%, rgba(255, 255, 255, .28) 0 60%, transparent 61%),
        radial-gradient(110% 62% at 76% -12%, var(--b) 0 58%, transparent 59%),
        var(--a);
}
.mz-cover[data-seed="1"] { --a: #D9D2CC; --b: #7B7F6E; --c: #3A3436; }
.mz-cover[data-seed="2"] { --a: #3A3436; --b: #8E0F26; --c: #F2A7AD; }
.mz-cover[data-seed="3"] { --a: #F9E3E1; --b: #E0707C; --c: #5A5356; }
.mz-cover[data-seed="4"] { --a: #8E0F26; --b: #D2203F; --c: #2A2527; }
.mz-cover[data-seed="5"] { --a: #EFE9E6; --b: #4A4447; --c: #B5122B; }
/* obraz zawsze w całości (contain) — gdy nie jest kwadratowy, wolne pole wypełnia ciemne tło jak przy okładce płyty */
.mz-cover:has(img) { background: #1E1A1B; }
.mz-cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }

.mz .mz-main { text-align: left; min-width: 0; display: block; padding: .15rem 0; }
.mz-title {
    display: block; font-family: var(--mz-display); font-weight: 700; font-size: 1.22rem; line-height: 1.2; letter-spacing: -.01em;
    overflow-wrap: anywhere; text-wrap: pretty;               /* tytuł zawsze w całości — długi łamie się na kolejne linie */
}
.mz-item.is-current .mz-title { color: var(--mz-red); }
html.dark .mz-item.is-current .mz-title { color: #FF5A63; }
.mz-meta:empty { display: none; }
.mz-meta { display: flex; flex-wrap: wrap; align-items: center; gap: .15rem .7rem; margin-top: .2rem; font-size: .88rem; color: var(--mz-muted); }
.mz-tag { display: inline-flex; align-items: center; gap: .3rem; font-weight: 600; color: var(--mz-fg); }
.mz-tag .bi { color: var(--mz-red); font-size: .85em; }
.mz-tag-hot .bi { color: #B98A2E; }
/* stałe kolumny — wpis bez pliku (sam teledysk) nie ma licznika i czasu, a serce i strzałka zostają na miejscu */
.mz-plays { grid-column: 4; } .mz-dur { grid-column: 5; } .mz-row > .mz-like { grid-column: 6; } .mz-row > .mz-more { grid-column: 7; }
.mz-plays, .mz-dur { font-size: .9rem; color: var(--mz-muted); font-variant-numeric: tabular-nums; white-space: nowrap; }
.mz-plays b { font-weight: 600; }
.mz-dur { min-width: 2.6em; text-align: right; }
.mz .mz-like, .mz .mz-more {
    display: inline-flex; align-items: center; gap: .35rem; height: 40px; min-width: 40px; justify-content: center;
    padding: 0 .55rem; border-radius: 999px; font-size: 1.05rem; color: var(--mz-muted);
    transition: background .15s, color .15s;
}
.mz .mz-like b { font-size: .88rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.mz .mz-like:hover, .mz .mz-more:hover { background: var(--mz-line); color: var(--mz-fg); }
.mz-like .bi-heart-fill, .mz-like.on .bi-heart { display: none; }
.mz-like.on .bi-heart-fill { display: inline-block; }
.mz .mz-like.on { color: var(--mz-red); }
.mz-like.pop .bi-heart-fill { animation: mz-pop .45s cubic-bezier(.3, 1.6, .5, 1); }
@keyframes mz-pop { 0% { transform: scale(.4); } 60% { transform: scale(1.35); } 100% { transform: scale(1); } }
.mz-more .bi { transition: transform .3s; }
.mz-item.open .mz-more .bi { transform: rotate(180deg); }

/* szczegóły — rozwijane */
.mz-detail { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .38s cubic-bezier(.3, .8, .3, 1); }
.mz-item.open > .mz-detail { grid-template-rows: 1fr; }
.mz-detail-in {
    overflow: hidden; min-height: 0;
    display: grid; grid-template-columns: minmax(0, 400px) minmax(0, 1fr); gap: 1.75rem;
    padding: 0 .5rem 0 calc(44px + .9rem + .5rem);
}
.mz-detail-in > :only-child { grid-column: 1 / -1; }
.mz-item.open .mz-detail-in { padding-top: .6rem; padding-bottom: 1.75rem; }
.mz-video {
    position: relative; align-self: start; aspect-ratio: 16 / 9; border-radius: 16px; overflow: hidden; background: #000; cursor: pointer; line-height: 0;
}
.mz-video img { width: 100%; height: 100%; object-fit: cover; opacity: .9; transition: transform .4s, opacity .3s; }
.mz-video:hover img { transform: scale(1.04); opacity: 1; }
.mz-video-play {
    position: absolute; left: 50%; top: 50%; width: 68px; height: 68px; margin: -34px 0 0 -34px; border-radius: 50%;
    background: var(--mz-red); color: #fff; display: grid; place-items: center; font-size: 2.1rem; line-height: 1;
    box-shadow: 0 0 0 0 rgba(227, 6, 19, .5); transition: transform .2s, box-shadow .3s;
}
.mz-video:hover .mz-video-play { transform: scale(1.08); box-shadow: 0 0 0 12px rgba(227, 6, 19, .25); }
.mz-video-cap { position: absolute; left: .8rem; bottom: .8rem; padding: .35rem .65rem; border-radius: 8px; background: rgba(22, 8, 10, .8); color: #fff; font-size: .8rem; font-weight: 600; line-height: 1; }
.mz-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* powiększona okładka w szczegółach (utwór bez filmu) — kwadrat, obraz w całości, przycisk jak na miniaturze YouTube */
.mz .mz-art-big {
    width: 100%; max-width: 320px; height: auto; aspect-ratio: 1 / 1; align-self: start; border-radius: 16px;
    box-shadow: 0 18px 40px -22px rgba(42, 37, 39, .55);
}
/* z obrazem: ramka przyjmuje proporcje obrazu (16:9 jak miniatura YouTube, kwadrat jak okładka płyty), bardzo wysokie obrazy mają limit wysokości */
.mz .mz-art-big:has(img) { aspect-ratio: auto; max-width: 400px; }
.mz .mz-art-big img { position: static; display: block; width: 100%; height: auto; max-height: 400px; object-fit: contain; transition: transform .4s; }
.mz-art-big:hover img { transform: scale(1.03); }
.mz .mz-art-play {
    position: absolute; left: 50%; top: 50%; width: 68px; height: 68px; margin: -34px 0 0 -34px; border-radius: 50%;
    background: var(--mz-red); color: #fff; display: grid; place-items: center; font-size: 2.1rem; line-height: 1;
    box-shadow: 0 0 0 0 rgba(227, 6, 19, .5); transition: transform .2s, box-shadow .3s;
}
.mz-art-play > .bi { grid-area: 1 / 1; }
.mz-art-play .bi-pause-fill, .mz-item.is-playing .mz-art-play .bi-play-fill { display: none; }
.mz-item.is-playing .mz-art-play .bi-pause-fill { display: block; }
.mz-art-big:hover .mz-art-play, .mz .mz-art-play:focus-visible { transform: scale(1.08); box-shadow: 0 0 0 12px rgba(227, 6, 19, .25); }
.mz-item.is-playing .mz-art-play { box-shadow: 0 0 0 10px rgba(227, 6, 19, .22); }

.mz-copy { min-width: 0; max-width: 68ch; font-size: 1rem; line-height: 1.65; }
.mz-desc { font-size: 1.05rem; }
.mz-long { margin-top: .9rem; color: var(--mz-fg); }
.mz-copy p { margin: 0 0 .8rem; }
.mz-copy ul, .mz-copy ol { margin: 0 0 .8rem 1.2rem; padding: 0; }
.mz-copy ul { list-style: disc; } .mz-copy ol { list-style: decimal; }
.mz-copy a { color: var(--mz-red); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
html.dark .mz-copy a { color: #FF6B73; }
.mz-date { color: var(--mz-muted); font-size: .9rem; }
.mz-lyrics { margin: 1rem 0 0; border: 1.5px solid var(--mz-line); border-radius: 14px; }
.mz-lyrics summary { cursor: pointer; padding: .7rem 1rem; font-weight: 700; list-style: none; display: flex; align-items: center; justify-content: space-between; }
.mz-lyrics summary::-webkit-details-marker { display: none; }
.mz-lyrics summary::after { content: "+"; font-family: var(--mz-display); font-size: 1.3rem; line-height: 1; }
.mz-lyrics[open] summary::after { content: "–"; }
.mz-lyrics > div { padding: 0 1rem 1rem; white-space: normal; color: var(--mz-fg); font-size: .98rem; line-height: 1.75; }

.mz-links { display: flex; flex-wrap: wrap; gap: .55rem; margin-top: 1.2rem; }
.mz-copy .mz-links a {
    display: inline-flex; align-items: center; gap: .5rem;
    padding: .6rem 1rem; border-radius: 999px; border: 1.5px solid var(--mz-line);
    color: var(--mz-fg); font-weight: 700; font-size: .93rem; text-decoration: none;
    transition: background .15s, border-color .15s, color .15s, transform .15s;
}
.mz-links a .bi { color: var(--c); font-size: 1.15rem; transition: color .15s; }
html.dark .mz-links a .bi { color: inherit; }
.mz-copy .mz-links a:hover { background: var(--c); border-color: var(--c); color: #fff; transform: translateY(-2px); }
.mz-links a:hover .bi { color: #fff; }
.mz-actions { display: flex; flex-wrap: wrap; gap: .3rem 1.2rem; margin-top: 1.1rem; }
.mz .mz-actions button, .mz-copy .mz-actions a {
    display: inline-flex; align-items: center; gap: .45rem; padding: .4rem 0;
    font-size: .9rem; font-weight: 600; color: var(--mz-muted); text-decoration: none;
}
.mz .mz-actions button:hover, .mz-copy .mz-actions a:hover { color: var(--mz-fg); }
.mz .mz-actions .mz-dislike.on { color: var(--mz-fg); }
.mz-none { padding: 2rem 0; color: var(--mz-muted); }

/* dyskusja na forum */
.mz-forum { margin-top: 3rem; padding: clamp(1.25rem, 3vw, 2rem); border-radius: 22px; background: var(--mz-soft); border: 1px solid var(--mz-line); scroll-margin-top: 84px; }
.mz-forum-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1rem 2rem; }
.mz-forum-head h2 { font-family: var(--mz-display); font-weight: 800; font-size: clamp(1.4rem, 2.6vw, 1.9rem); letter-spacing: -.02em; line-height: 1.1; margin: 0; }
.mz-forum-head p { margin: .35rem 0 0; color: var(--mz-muted); max-width: 46ch; }
.mz-forum-btn {
    display: inline-flex; align-items: center; gap: .55rem; padding: .75rem 1.3rem; border-radius: 999px;
    background: var(--mz-red); color: #fff; font-weight: 700; text-decoration: none; white-space: nowrap;
    transition: background .15s, transform .15s;
}
.mz-forum-btn:hover { background: #9F0F25; transform: translateY(-2px); color: #fff; }
.mz-forum-topic {
    display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .2rem 1rem;
    margin-top: 1.25rem; padding: .85rem 1rem; border-radius: 14px; background: var(--mz-bg); border: 1px solid var(--mz-line);
    color: var(--mz-fg); text-decoration: none; transition: border-color .15s;
}
.mz-forum-topic:hover { border-color: var(--mz-red); }
.mz-forum-topic b { font-family: var(--mz-display); font-weight: 700; font-size: 1.05rem; }
.mz-forum-topic span { font-size: .88rem; color: var(--mz-muted); }
.mz-forum-list { list-style: none; margin: 1rem 0 0; padding: 0; display: grid; gap: .25rem; }
.mz-forum-list li { display: grid; grid-template-columns: 38px minmax(0, 1fr); gap: .8rem; padding: .7rem .25rem; }
.mz-forum-list li + li { border-top: 1px solid var(--mz-line); }
.mz-forum-av { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--mz-red); color: #fff; font-weight: 700; font-family: var(--mz-display); }
.mz-forum-list li:nth-child(2) .mz-forum-av { background: #4A4447; }
.mz-forum-list li:nth-child(3) .mz-forum-av { background: #E0707C; }
.mz-forum-meta { margin: 0; font-size: .85rem; color: var(--mz-muted); }
.mz-forum-meta b { color: var(--mz-fg); margin-right: .35rem; }
.mz-forum-text { margin: .15rem 0 0; line-height: 1.55; overflow-wrap: anywhere; }
@media (max-width: 639px) { .mz-forum-btn { width: 100%; justify-content: center; } }

/* pusto */
.mz-empty { text-align: center; padding: 3.5rem 1rem; }
.mz-empty > .bi { font-size: 3.5rem; color: var(--mz-red); }
.mz-empty h2 { font-family: var(--mz-display); font-weight: 800; font-size: 1.9rem; margin: .6rem 0 .4rem; }
.mz-empty p { color: var(--mz-muted); margin: 0 0 1.4rem; }
.mz-btn { display: inline-block; margin: .25rem; padding: .75rem 1.3rem; border-radius: 999px; background: var(--mz-red); color: #fff; font-weight: 700; text-decoration: none; }
.mz-btn-ghost { background: none; color: var(--mz-fg); box-shadow: inset 0 0 0 1.5px var(--mz-line); }

/* ── PASEK ODTWARZACZA ─────────────────────────────────────────────── */
.mz-bar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 48;
    background: var(--mz-ink); color: #fff;
    box-shadow: 0 -10px 30px rgba(22, 8, 10, .28);
    padding-bottom: env(safe-area-inset-bottom, 0);
    animation: mz-bar-in .4s cubic-bezier(.2, .9, .3, 1) both;
}
@keyframes mz-bar-in { from { transform: translateY(100%); } to { transform: none; } }
.mz-seek {
    --p: 0%;
    position: absolute; left: 0; right: 0; top: -7px; width: 100%; height: 18px; margin: 0;
    -webkit-appearance: none; appearance: none; background: transparent; cursor: pointer;
}
.mz-seek::-webkit-slider-runnable-track { height: 5px; background: linear-gradient(to right, var(--mz-red) var(--p), #4a3d40 var(--p)); }
.mz-seek::-moz-range-track { height: 5px; background: #4a3d40; }
.mz-seek::-moz-range-progress { height: 5px; background: var(--mz-red); }
.mz-seek::-webkit-slider-thumb { -webkit-appearance: none; width: 15px; height: 15px; margin-top: -5px; border-radius: 50%; background: #fff; border: 0; opacity: 0; transition: opacity .15s; }
.mz-seek::-moz-range-thumb { width: 15px; height: 15px; border-radius: 50%; background: #fff; border: 0; }
.mz-bar:hover .mz-seek::-webkit-slider-thumb, .mz-seek:focus-visible::-webkit-slider-thumb { opacity: 1; }
.mz-bar-in {
    max-width: 1120px; margin: 0 auto; padding: .7rem 1.25rem;
    display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 1rem;
}
.mz .mz-bar-track { display: flex; align-items: center; gap: .8rem; min-width: 0; text-align: left; }
.mz-bar .mz-cover { width: 46px; height: 46px; border-radius: 9px; }
.mz-bar-txt { min-width: 0; display: grid; }
.mz-bar-txt b { font-family: var(--mz-display); font-weight: 700; font-size: 1.02rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mz-bar-txt small { font-size: .8rem; color: #B9AEB0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mz-bar-ctl { display: flex; align-items: center; gap: .5rem; }
.mz .mz-bar-ctl button { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; font-size: 1.5rem; color: #fff; transition: background .15s, transform .15s; }
.mz .mz-bar-ctl button:hover { background: rgba(255, 255, 255, .12); }
.mz .mz-bar-ctl .mz-bar-play { width: 50px; height: 50px; background: var(--mz-red); color: #fff; font-size: 1.8rem; }
.mz .mz-bar-ctl .mz-bar-play:hover { background: #CF1B3A; transform: scale(1.05); }
.mz-bar-play .bi-pause-fill, .mz[data-playing="1"] .mz-bar-play .bi-play-fill { display: none; }
.mz[data-playing="1"] .mz-bar-play .bi-pause-fill { display: block; }
.mz-bar-side { display: flex; align-items: center; justify-content: flex-end; gap: .6rem; }
.mz-time { font-size: .85rem; color: #D5CCCE; font-variant-numeric: tabular-nums; white-space: nowrap; }
.mz .mz-mute { width: 36px; height: 36px; border-radius: 50%; font-size: 1.15rem; color: #fff; }
.mz-mute .bi-volume-mute-fill, .mz-mute.on .bi-volume-up-fill { display: none; }
.mz-mute.on .bi-volume-mute-fill { display: inline-block; }
.mz-vol { width: 96px; accent-color: var(--mz-red); }

.mz-toast {
    position: fixed; left: 50%; bottom: 6.5rem; z-index: 70; transform: translateX(-50%);
    max-width: min(92vw, 440px); padding: .8rem 1.1rem; border-radius: 12px;
    background: var(--mz-ink); color: #fff; font-size: .93rem; font-weight: 600; text-align: center;
    box-shadow: 0 12px 30px rgba(22, 8, 10, .35);
    animation: mz-toast .25s ease both;
}
.mz-toast a { color: var(--mz-pink); text-decoration: underline; }
@keyframes mz-toast { from { opacity: 0; transform: translate(-50%, 8px); } to { opacity: 1; transform: translate(-50%, 0); } }

/* ── MNIEJSZE EKRANY ───────────────────────────────────────────────── */
@media (max-width: 860px) {
    /* grafika schodzi pod tekst jako pas na całą szerokość */
    .mz-stage { flex-direction: column; align-items: stretch; min-height: 0; padding-bottom: 0; }
    .mz-art { order: 2; position: relative; width: auto; height: 190px; margin: 1.5rem -1.25rem 0; -webkit-mask-image: none; mask-image: none; }
    .mz-note:nth-of-type(1) { left: 12%; top: 8%; } .mz-note:nth-of-type(5) { left: 8%; top: 70%; }
    .mz-detail-in { grid-template-columns: 1fr; gap: 1.1rem; padding-left: .5rem; }
}
@media (max-width: 639px) {
    /* wiersz na telefonie: [▶] [okładka] [tytuł na całą szerokość, łamany]   [˅]
                                          [oznaczenia ……………………… ♥ 13]          */
    .mz-row { grid-template-columns: 38px 64px minmax(0, 1fr) auto; grid-template-rows: auto auto; gap: .2rem .7rem; padding: .7rem .25rem; align-items: start; }
    .mz .mz-play { width: 38px; height: 38px; grid-column: 1; grid-row: 1 / span 2; align-self: center; }
    .mz-row > .mz-cover { width: 64px; height: 64px; grid-column: 2; grid-row: 1 / span 2; align-self: center; }
    .mz .mz-main { grid-column: 3; grid-row: 1 / span 2; align-self: center; padding: 0; }
    .mz-plays, .mz-dur { display: none; }
    .mz-row > .mz-more { grid-column: 4; grid-row: 1; align-self: start; }
    .mz-row > .mz-like { grid-column: 4; grid-row: 2; align-self: end; flex-direction: column; gap: 0; height: auto; padding: .15rem .2rem; line-height: 1.1; }
    .mz-title { font-size: 1.06rem; line-height: 1.22; }
    .mz-meta { font-size: .82rem; gap: .1rem .6rem; }
    .mz .mz-like, .mz .mz-more { min-width: 38px; padding: 0 .2rem; }
    .mz-bar-txt b { white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; font-size: .95rem; line-height: 1.2; }
    /* na dotyku numer zastępuje stały przycisk odtwarzania */
    .mz-item .mz-play { background: var(--mz-soft); }
    .mz-item .mz-num { opacity: 0; }
    .mz-item .mz-play .bi-play-fill, .mz-item .mz-play-video .bi { opacity: 1; }
    .mz-item.is-playing .mz-play .bi-play-fill { opacity: 0; }
    .mz-bar-in { grid-template-columns: minmax(0, 1fr) auto; padding: .6rem .8rem; gap: .5rem; }
    .mz-bar-side { display: none; }
    .mz .mz-bar-ctl button { width: 38px; height: 38px; }
    .mz .mz-bar-ctl .mz-bar-play { width: 46px; height: 46px; }
    body.has-bottom-bar .mz-bar { bottom: 72px; }
    body.has-bottom-bar .mz-toast { bottom: 10.5rem; }
    .mz-list-wrap { padding-bottom: 7rem; }
}

@media (prefers-reduced-motion: reduce) {
    .mz-art, .mz-wave, .mz-note, .mz-bar, .mz-toast, .mz-eq i { animation: none; }
    .mz-bars rect, .mz-noviz[data-playing="1"] .mz-bars rect { animation: none; transition: none; }
    .mz-detail { transition: none; }
}

/* ── PROPOZYCJE SPOŁECZNOŚCI (2026-12-01) ──────────────────────────────
   Tekst propozycji składany jak kartka z tekstem piosenki: wersy w osobnych liniach, karmazynowa linia z lewej.
   Karty w dwóch kolumnach na komputerze, w jednej na telefonie. Długie teksty zwinięte do 8 wersów. */
.mz-prop { margin-top: 3rem; scroll-margin-top: 84px; }
.mz-prop-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1rem 2rem; margin-bottom: 1.25rem; }
.mz-prop-head h2 { font-family: var(--mz-display); font-weight: 800; font-size: clamp(1.6rem, 3vw, 2.2rem); letter-spacing: -.02em; line-height: 1.1; margin: 0; }
.mz-prop-head p { margin: .4rem 0 0; color: var(--mz-muted); max-width: 54ch; line-height: 1.55; }
.mz .mz-prop-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .55rem; padding: .75rem 1.3rem; border-radius: 999px;
    background: var(--mz-red); color: #fff; font-weight: 700; text-decoration: none; white-space: nowrap;
    transition: background .15s, transform .15s;
}
.mz .mz-prop-btn:hover { background: #9F0F25; transform: translateY(-2px); color: #fff; }
.mz .mz-prop-btn:disabled { opacity: .6; cursor: wait; transform: none; }

/* formularz */
.mz-pform { display: grid; gap: 1rem; padding: clamp(1.1rem, 3vw, 1.75rem); margin-bottom: 1.5rem; border-radius: 20px; background: var(--mz-soft); border: 1px solid var(--mz-line); scroll-margin-top: 90px; }
.mz-pform-row { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 1rem; }
.mz-f { display: grid; gap: .35rem; font-weight: 700; font-size: .92rem; position: relative; }
.mz-f small { font-weight: 500; color: var(--mz-muted); }
.mz-f input, .mz-f select, .mz-f textarea {
    font: inherit; font-weight: 500; font-size: 1rem; color: var(--mz-fg); width: 100%;
    background: var(--mz-bg); border: 1.5px solid var(--mz-line); border-radius: 12px; padding: .65rem .8rem;
    transition: border-color .15s, box-shadow .15s;
}
.mz-f textarea { resize: vertical; line-height: 1.6; }
.mz-f textarea[name="lyrics"] { min-height: 14rem; }
.mz-f input:focus, .mz-f select:focus, .mz-f textarea:focus { outline: none; border-color: var(--mz-red); box-shadow: 0 0 0 3px rgba(181, 18, 43, .14); }
.mz .is-bad { border-color: #DC2626 !important; box-shadow: 0 0 0 3px rgba(220, 38, 38, .15) !important; }
.mz-count { justify-self: end; font-size: .8rem; font-weight: 600; color: var(--mz-muted); font-variant-numeric: tabular-nums; }
.mz-count.warn { color: #B45309; }
.mz-seg { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.mz-seg legend { font-weight: 700; font-size: .92rem; margin-bottom: .4rem; padding: 0; }
.mz-seg label { cursor: pointer; }
.mz-seg input { position: absolute; opacity: 0; pointer-events: none; }
.mz-seg span { display: inline-block; padding: .5rem .95rem; border-radius: 999px; border: 1.5px solid var(--mz-line); font-weight: 600; font-size: .92rem; background: var(--mz-bg); transition: background .15s, border-color .15s, color .15s; }
.mz-seg input:checked + span { background: var(--mz-fg); border-color: var(--mz-fg); color: var(--mz-bg); }
.mz-seg input:focus-visible + span { outline: 3px solid var(--mz-red); outline-offset: 2px; }
.mz-check { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: .6rem; align-items: start; font-size: .92rem; line-height: 1.5; cursor: pointer; }
.mz-check input { width: 18px; height: 18px; margin: .15rem 0 0; accent-color: var(--mz-red); }
.mz-check input.is-bad { outline: 2px solid #DC2626; outline-offset: 2px; }
.mz-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.mz-pform-note { margin: 0; font-size: .85rem; color: var(--mz-muted); line-height: 1.5; }
.mz-pform-err { margin: 0; padding: .7rem .9rem; border-radius: 12px; background: #FEF2F2; color: #B91C1C; font-weight: 600; font-size: .92rem; }
html.dark .mz-pform-err { background: rgba(220, 38, 38, .15); color: #FCA5A5; }
.mz-pform-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; }
.mz-pdone { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 1rem; padding: 1rem 1.25rem; margin-bottom: 1.5rem; border-radius: 18px; background: #ECFDF5; color: #065F46; }
.mz-pdone > .bi { font-size: 1.8rem; }
.mz-pdone p { margin: .15rem 0 0; line-height: 1.5; }
html.dark .mz-pdone { background: rgba(16, 185, 129, .14); color: #A7F3D0; }

/* moje propozycje */
.mz-pmine { margin-bottom: 1.75rem; padding: 1rem 1.25rem; border-radius: 18px; border: 1.5px dashed var(--mz-line); }
.mz-pmine h3 { font-family: var(--mz-display); font-weight: 700; font-size: 1.1rem; margin: 0 0 .5rem; }
.mz-pmine ul { list-style: none; margin: 0; padding: 0; }
.mz-pmine li { padding: .65rem 0; display: grid; gap: .2rem; justify-items: start; }
.mz-pmine li + li { border-top: 1px solid var(--mz-line); }
.mz-pmine-top { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem .8rem; }
.mz-pmine-meta { margin: 0; font-size: .85rem; color: var(--mz-muted); }
.mz-pmine-answer { margin: .2rem 0 0; font-size: .9rem; line-height: 1.5; padding-left: .75rem; border-left: 3px solid var(--mz-line); }
.mz .mz-pwithdraw { font-size: .85rem; font-weight: 600; color: var(--mz-muted); text-decoration: underline; text-underline-offset: 3px; }
.mz .mz-pwithdraw:hover { color: #B91C1C; }

/* status */
.mz-pst { display: inline-flex; align-items: center; gap: .3rem; padding: .15rem .6rem; border-radius: 999px; font-size: .78rem; font-weight: 700; background: var(--mz-soft); color: var(--mz-muted); white-space: nowrap; }
.mz-pst-pending  { background: #FEF3C7; color: #92400E; }
.mz-pst-public   { background: #EEF2FF; color: #3730A3; }
.mz-pst-progress { background: #FCE7EA; color: var(--mz-red-deep); }
.mz-pst-done     { background: #DCFCE7; color: #166534; }
.mz-pst-rejected { background: #F3F4F6; color: #4B5563; }
html.dark .mz-pst-pending  { background: rgba(245, 158, 11, .16); color: #FCD34D; }
html.dark .mz-pst-public   { background: rgba(99, 102, 241, .18); color: #C7D2FE; }
html.dark .mz-pst-progress { background: rgba(181, 18, 43, .25); color: #FBB6C0; }
html.dark .mz-pst-done     { background: rgba(34, 197, 94, .16); color: #86EFAC; }
html.dark .mz-pst-rejected { background: rgba(156, 163, 175, .16); color: #D1D5DB; }

/* lista */
.mz-pchips { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1rem; }
.mz .mz-pchips button { padding: .45rem .9rem; border-radius: 999px; border: 1.5px solid var(--mz-line); font-weight: 600; font-size: .9rem; transition: background .15s, border-color .15s, color .15s; }
.mz .mz-pchips button:hover { border-color: var(--mz-fg); }
.mz .mz-pchips button.on { background: var(--mz-fg); border-color: var(--mz-fg); color: var(--mz-bg); }
.mz-plist { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 420px), 1fr)); gap: 1rem; align-items: start; }
.mz-pcard { display: grid; gap: .6rem; padding: 1.1rem 1.2rem 1rem; border-radius: 18px; background: var(--mz-bg); border: 1px solid var(--mz-line); }
.mz-pcard-progress { border-color: rgba(181, 18, 43, .35); }
.mz-pcard-top { display: flex; align-items: flex-start; justify-content: space-between; gap: .6rem; }
.mz-pcard-top h3 { font-family: var(--mz-display); font-weight: 700; font-size: 1.22rem; line-height: 1.2; letter-spacing: -.01em; margin: 0; overflow-wrap: anywhere; }
.mz-pcard-meta { margin: 0; font-size: .85rem; color: var(--mz-muted); display: flex; flex-wrap: wrap; align-items: center; gap: .35rem; }
.mz-pcard-meta b { color: var(--mz-fg); font-weight: 600; }
.mz-pmood { display: inline-block; padding: .05rem .5rem; border-radius: 6px; background: var(--mz-soft); color: var(--mz-fg); font-size: .78rem; font-weight: 600; }
.mz-plyr {
    white-space: pre-line; overflow-wrap: anywhere;
    font-size: 1.02rem; line-height: 1.7; padding: .15rem 0 .15rem .95rem; border-left: 3px solid var(--mz-red);
}
html.dark .mz-plyr { border-left-color: var(--mz-pink); }
.mz-plyr.is-clamped {
    max-height: calc(1.7em * 8); overflow: hidden;
    -webkit-mask-image: linear-gradient(to bottom, #000 70%, transparent);
            mask-image: linear-gradient(to bottom, #000 70%, transparent);
}
.mz .mz-pmore { justify-self: start; font-size: .88rem; font-weight: 700; color: var(--mz-red); text-decoration: underline; text-underline-offset: 3px; }
html.dark .mz .mz-pmore { color: var(--mz-pink); }
.mz-pnote { margin: 0; font-size: .9rem; color: var(--mz-muted); line-height: 1.55; }
.mz-pnote b { color: var(--mz-fg); font-weight: 600; }
.mz-pcard-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .6rem; margin-top: .2rem; padding-top: .7rem; border-top: 1px solid var(--mz-line); }
.mz .mz-pvote {
    display: inline-flex; align-items: center; gap: .45rem; margin-left: auto;
    padding: .45rem .9rem; border-radius: 999px; border: 1.5px solid var(--mz-line); font-weight: 700; font-size: .9rem;
    transition: border-color .15s, background .15s, color .15s, transform .15s;
}
.mz .mz-pvote:hover { border-color: var(--mz-red); }
.mz .mz-pvote:active { transform: scale(.96); }
.mz .mz-pvote b { font-variant-numeric: tabular-nums; }
.mz-pvote .bi-heart-fill, .mz-pvote.on .bi-heart { display: none; }
.mz-pvote.on .bi-heart-fill { display: inline-block; animation: mz-pop .35s cubic-bezier(.3, 1.6, .5, 1); }
.mz .mz-pvote.on { background: var(--mz-red); border-color: var(--mz-red); color: #fff; }
@keyframes mz-pop { from { transform: scale(.4); } to { transform: none; } }
.mz-pown { margin-left: auto; font-size: .85rem; color: var(--mz-muted); font-weight: 600; }
.mz-plisten { display: inline-flex; align-items: center; gap: .4rem; font-weight: 700; color: var(--mz-red); text-decoration: none; }
.mz-plisten:hover { text-decoration: underline; text-underline-offset: 3px; }
html.dark .mz-plisten { color: var(--mz-pink); }
.mz .mz-pshow { display: block; margin: 1.25rem auto 0; padding: .65rem 1.3rem; border-radius: 999px; border: 1.5px solid var(--mz-line); font-weight: 700; }
.mz .mz-pshow:hover { border-color: var(--mz-fg); }
.mz .mz-pshow span { color: var(--mz-muted); font-weight: 500; }
.mz-pempty { margin: 0; padding: 1.5rem; text-align: center; color: var(--mz-muted); border-radius: 18px; border: 1.5px dashed var(--mz-line); }
.mz-pempty .bi { color: var(--mz-red); margin-right: .3rem; }
@media (max-width: 639px) {
    .mz .mz-prop-btn { width: 100%; }
    .mz-pform-row { grid-template-columns: 1fr; }
    .mz-pdone { grid-template-columns: auto minmax(0, 1fr); }
    .mz-pdone .mz-link { grid-column: 1 / -1; }
}
@media (prefers-reduced-motion: reduce) { .mz-pvote.on .bi-heart-fill { animation: none; } .mz .mz-prop-btn:hover { transform: none; } }


/* ── TYLKO ADMIN: ostatni odwiedzający (2026-12-01) ─────────────────── */
.mz-visits { margin-top: 3rem; padding: 1.25rem 1.25rem 1rem; border-radius: 18px; border: 1.5px dashed var(--mz-line); background: var(--mz-soft); }
.mz-visits-head h2 { font-family: var(--mz-display); font-weight: 700; font-size: 1.25rem; margin: 0; display: flex; align-items: center; gap: .5rem; }
.mz-visits-head h2 .bi { color: var(--mz-red); }
.mz-visits-head p { margin: .3rem 0 0; font-size: .88rem; color: var(--mz-muted); }
.mz-visits-filter { margin-top: .7rem; font-size: .88rem; }
.mz-visits-scroll { overflow-x: auto; margin-top: 1rem; -webkit-overflow-scrolling: touch; }
.mz-visits-table { width: 100%; border-collapse: collapse; font-size: .9rem; min-width: 620px; }
.mz-visits-table th { text-align: left; font-size: .75rem; font-weight: 700; color: var(--mz-muted); padding: .45rem .6rem; border-bottom: 1.5px solid var(--mz-line); white-space: nowrap; }
.mz-visits-table td { padding: .55rem .6rem; border-bottom: 1px solid var(--mz-line); vertical-align: middle; }
.mz-visits-table tr:last-child td { border-bottom: 0; }
.mz-visits-table .num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.mz-visits-table td:nth-child(2) { white-space: nowrap; }
.mz-visits-table a { color: var(--mz-fg); font-weight: 600; text-decoration: none; }
.mz-visits-table a:hover { color: var(--mz-red); text-decoration: underline; }
.mz-visits-adm { display: inline-block; margin-left: .3rem; padding: 0 .4rem; border-radius: 5px; background: var(--mz-line); font-size: .7rem; font-weight: 700; color: var(--mz-muted); }
.mz-visits-muted { color: var(--mz-muted); }
.mz-visits-live { display: inline-flex; align-items: center; gap: .35rem; color: #047857; font-weight: 700; }
.mz-visits-live i { width: 8px; height: 8px; border-radius: 50%; background: #10B981; box-shadow: 0 0 0 3px rgba(16, 185, 129, .2); }
html.dark .mz-visits-live { color: #6EE7B7; }
.mz-visits-empty, .mz-visits-note { margin: .9rem 0 0; font-size: .82rem; color: var(--mz-muted); }
@media (max-width: 639px) {
    /* telefon: każda osoba jako karta — nazwa i data u góry, reszta w parach „etykieta: wartość” */
    .mz-visits { padding: 1rem .9rem .8rem; }
    .mz-visits-table { min-width: 0; }
    .mz-visits-table thead { display: none; }
    .mz-visits-table tr { display: grid; grid-template-columns: 1fr auto; gap: .15rem .8rem; padding: .7rem 0; border-bottom: 1px solid var(--mz-line); }
    .mz-visits-table tr:last-child { border-bottom: 0; }
    .mz-visits-table tr[hidden] { display: none; }
    .mz-visits-table td { padding: 0; border: 0; text-align: left !important; }
    .mz-visits-table td:nth-child(2) { text-align: right !important; color: var(--mz-muted); font-size: .85rem; }
    .mz-visits-table td[data-l] { grid-column: 1 / -1; display: flex; justify-content: space-between; gap: 1rem; font-size: .86rem; }
    .mz-visits-table td[data-l]::before { content: attr(data-l); color: var(--mz-muted); }
}
