/* 0.95.5 · DOTS Art Generator — układ z planszy projektowej (Unbounded + Manrope, lokalne pliki czcionek). */
@font-face { font-family: "Unbounded"; font-style: normal; font-display: swap; font-weight: 200 900;
  src: url("../vendor/fonts/unbounded-latin-ext-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, 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: "Unbounded"; font-style: normal; font-display: swap; font-weight: 200 900;
  src: url("../vendor/fonts/unbounded-latin-wght-normal.woff2") format("woff2-variations");
  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; }
@font-face { font-family: "Manrope"; font-style: normal; font-display: swap; font-weight: 200 800;
  src: url("../vendor/fonts/manrope-latin-ext-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, 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: "Manrope"; font-style: normal; font-display: swap; font-weight: 200 800;
  src: url("../vendor/fonts/manrope-latin-wght-normal.woff2") format("woff2-variations");
  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; }

.dz {
  --dz-bg: #0B0E13; --dz-card: #131823; --dz-deep: #0E121A; --dz-line: #222A37; --dz-line2: #2C3442;
  --dz-ink: #EEF2F8; --dz-soft: #B7C0CE; --dz-muted: #8E99AA; --dz-accent: #FFC93C; --dz-on-accent: #2A1F00;
  --dz-display: "Unbounded", "Bricolage Grotesque", system-ui, sans-serif; --dz-ui: "Manrope", "Inter", system-ui, sans-serif;
  max-width: 1360px; margin: 0 auto; display: flex; flex-direction: column; gap: 40px; padding-bottom: 40px;
  color: var(--dz-ink); font-family: var(--dz-ui);
}
html[data-ui-theme="light"] .dz {
  --dz-card: #FFFFFF; --dz-deep: #F3F5F9; --dz-line: #E1E6EE; --dz-line2: #D3DAE4; --dz-ink: #10141B; --dz-soft: #3F4A5A; --dz-muted: #5B6676;
}
.dz :is(button, input, select) { font-family: var(--dz-ui); }
.dz h2 { margin: 0; font: 700 30px/1.1 var(--dz-display); letter-spacing: -0.02em; color: var(--dz-ink); }
.dz h3 { margin: 0; font-size: 18px; font-weight: 800; color: var(--dz-ink); }
.dz-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 12px; }
.dz-head > span, .dz-hint { font-size: 13px; color: var(--dz-muted); }
.dz-hint { margin: 0; line-height: 1.45; }
.dz-card { padding: 28px; border-radius: 24px; background: var(--dz-card); border: 1px solid var(--dz-line); }

/* przyciski: wyższa szczegółowość niż ogólna reguła przycisków aplikacji */
html[data-ui-theme] body .main-content .dz :is(a.dz-cta, button.dz-btn) { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 44px; padding: 0 18px; border: 0; border-radius: 12px; background: var(--dz-accent); color: var(--dz-on-accent); font: 800 14px var(--dz-ui); text-decoration: none; cursor: pointer; box-shadow: none; filter: none; }
html[data-ui-theme] body .main-content .dz a.dz-cta { min-height: 54px; padding: 0 26px; border-radius: 14px; font-size: 16px; }
html[data-ui-theme] body .main-content .dz :is(a.dz-ghost, button.dz-ghost-btn) { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 16px; border: 1.5px solid var(--dz-line2); border-radius: 12px; background: transparent; color: var(--dz-ink); font: 700 14px var(--dz-ui); text-decoration: none; cursor: pointer; box-shadow: none; filter: none; }
html[data-ui-theme] body .main-content .dz a.dz-ghost { min-height: 54px; padding: 0 22px; border-radius: 14px; font-size: 15px; }
html[data-ui-theme] body .main-content .dz button.dz-link-btn { min-height: 0; padding: 0; border: 0; background: none; color: var(--dz-accent); font: 700 13px var(--dz-ui); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; box-shadow: none; }
html[data-ui-theme="light"] body .main-content .dz button.dz-link-btn { color: #8A5A00; }
html[data-ui-theme] body .main-content .dz button.dz-round { width: 48px; height: 48px; min-height: 0; padding: 0; border: 0; border-radius: 50%; background: #EEF2F8; color: #0B0E13; font-size: 24px; line-height: 1; cursor: pointer; box-shadow: none; }
html[data-ui-theme] body .main-content .dz button.dz-round.is-accent { background: var(--dz-accent); color: var(--dz-on-accent); }
html[data-ui-theme] body .main-content .dz button.dz-icon-btn { width: 42px; height: 42px; min-height: 0; padding: 0; border: 1px solid var(--dz-line2); border-radius: 10px; background: var(--dz-deep); color: var(--dz-ink); font-size: 18px; cursor: pointer; box-shadow: none; }
html[data-ui-theme] body .main-content .dz button.dz-chip { min-height: 0; padding: 5px 11px; border: 1.5px solid var(--dz-line2); border-radius: 999px; background: transparent; color: var(--dz-ink); font: 700 12px var(--dz-ui); cursor: pointer; box-shadow: none; }
html[data-ui-theme] body .main-content .dz button.dz-thumb { display: block; min-height: 0; padding: 0; overflow: hidden; border: 3px solid transparent; border-radius: 12px; background: #06080B; cursor: pointer; box-shadow: none; transition: transform .15s, border-color .15s; }
html[data-ui-theme] body .main-content .dz button.dz-thumb:hover { transform: translateY(-3px); }
html[data-ui-theme] body .main-content .dz button.dz-thumb.is-active { border-color: var(--dz-accent); }
html[data-ui-theme] body .main-content .dz button.dz-size { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 54px; padding: 6px 12px; border: 1.5px solid var(--dz-line); border-radius: 12px; background: var(--dz-deep); color: var(--dz-ink); text-align: left; cursor: pointer; box-shadow: none; }
html[data-ui-theme] body .main-content .dz button.dz-size:hover { border-color: var(--dz-accent); }
html[data-ui-theme] body .main-content .dz button.dz-size.is-active { border-color: var(--dz-accent); background: color-mix(in srgb, var(--dz-accent) 12%, var(--dz-deep)); }

/* góra strony */
.dz-hero { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px; align-items: center; padding-top: 28px; }
.dz-hero-text { display: flex; flex-direction: column; gap: 22px; }
.dz-kicker { margin: 0; font-size: 13px; font-weight: 800; letter-spacing: .16em; color: var(--dz-accent); }
html[data-ui-theme="light"] .dz-kicker { color: #8A5A00; }
.dz-title { margin: 0; font: 800 80px/.95 var(--dz-display); letter-spacing: -0.035em; color: var(--dz-ink); }
.dz-title span { color: var(--dz-accent); }
.dz-lead { margin: 0; max-width: 470px; font-size: 18px; line-height: 1.6; color: var(--dz-soft); }
.dz-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 0; }
.dz-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 8px 0 0; }
.dz-facts div { padding: 14px 16px; border-radius: 14px; background: var(--dz-card); border: 1px solid var(--dz-line); }
.dz-facts dt { font-size: 12px; color: var(--dz-muted); }
.dz-facts dd { margin: 4px 0 0; font: 700 22px var(--dz-display); color: var(--dz-ink); }
.dz-show { display: flex; flex-direction: column; gap: 14px; min-width: 0; }

/* porównanie zdjęcie ↔ mozaika */
.dz-compare { position: relative; overflow: hidden; background: #06080B; touch-action: none; user-select: none; cursor: ew-resize; }
.dz-compare.is-hero { aspect-ratio: 1; border-radius: 26px; box-shadow: 0 30px 80px rgba(0, 0, 0, .45); }
.dz-compare.is-hero > img, .dz-compare.is-hero .dz-compare-before img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.dz-compare-before { position: absolute; inset: 0; clip-path: inset(0 50% 0 0); }
.dz-compare-line { position: absolute; top: 0; bottom: 0; left: 50%; width: 3px; margin-left: -1px; background: var(--dz-accent); pointer-events: none; }
.dz-tag { position: absolute; top: 18px; padding: 6px 12px; border-radius: 999px; background: rgba(11, 14, 19, .8); color: #EEF2F8; font-size: 12px; font-weight: 800; pointer-events: none; }
.dz-tag.is-left { left: 18px; } .dz-tag.is-right { right: 18px; }
.dz-show-caption { position: absolute; left: 0; right: 0; bottom: 0; display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; padding: 70px 22px 20px; background: linear-gradient(transparent, rgba(6, 8, 11, .92)); color: #EEF2F8; }
.dz-show-title { margin: 0; font: 700 26px var(--dz-display); }
.dz-show-meta { margin: 4px 0 0; font-size: 14px; color: #B7C0CE; }
.dz-show-nav { display: flex; gap: 8px; }
.dz-slider { display: flex; align-items: center; gap: 14px; font-size: 13px; font-weight: 700; color: var(--dz-muted); }
.dz-slider input, .dz-range input { flex: 1; width: 100%; accent-color: var(--dz-accent); }
.dz-thumbs { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 10px; }
.dz-thumb img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; }

/* jak to działa 2/3 + rozmiary 1/3 */
.dz-row { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 20px; align-items: stretch; scroll-margin-top: 16px; }
.dz-how { display: flex; flex-direction: column; gap: 22px; }
.dz-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.dz-steps article { display: flex; flex-direction: column; gap: 12px; padding: 20px; border-radius: 18px; background: var(--dz-deep); border: 1px solid var(--dz-line); }
.dz-steps p { margin: 0; font-size: 14px; line-height: 1.55; color: var(--dz-soft); }
.dz-num { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--dz-accent); color: var(--dz-on-accent); font: 800 18px var(--dz-display); }
.dz-note { margin: 0; padding: 14px 16px; border-radius: 14px; background: var(--dz-deep); font-size: 14px; color: var(--dz-soft); }
.dz-note b { color: var(--dz-ink); }
.dz-sizes { display: flex; flex-direction: column; gap: 12px; padding: 24px; }
.dz-sizes h2 { font-size: 22px; }
.dz-sizes > p { margin: 0; font-size: 13px; line-height: 1.5; color: var(--dz-muted); }
.dz-size-list { display: flex; flex-direction: column; gap: 6px; }
.dz-size-icon { flex: none; display: grid; place-items: center; width: 36px; height: 36px; }
.dz-size-icon i { display: block; border-radius: 3px; background: var(--dz-line2); }
.dz-size.is-active .dz-size-icon i { background: var(--dz-accent); }
.dz-size-name { flex: 1; display: grid; }
.dz-size-name b { font: 700 14px var(--dz-display); }
.dz-size-name small, .dz-size-count small { font-size: 11.5px; font-weight: 600; color: var(--dz-muted); }
.dz-size-count { display: grid; text-align: right; font-size: 13px; font-weight: 700; }

/* studio: pasek ustawień, pasek podsumowania, podgląd */
.dz-studio { display: flex; flex-direction: column; gap: 14px; scroll-margin-top: 16px; }
.dz-bar { display: grid; grid-template-columns: minmax(150px, 1fr) minmax(190px, 1.2fr) minmax(170px, 1.1fr) minmax(260px, 1.7fr) minmax(200px, 1.2fr); gap: 14px; padding: 14px; border-radius: 22px; background: var(--dz-card); border: 1px solid var(--dz-line); }
.dz-group { display: flex; flex-direction: column; gap: 8px; min-width: 0; padding: 6px 4px; }
.dz-label { font-size: 11px; font-weight: 800; letter-spacing: .12em; color: var(--dz-muted); }
.dz-drop { position: relative; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 6px; min-height: 120px; padding: 12px; border: 2px dashed var(--dz-line2); border-radius: 16px; color: var(--dz-accent); text-align: center; cursor: pointer; }
.dz-drop.is-over, .dz-drop:hover { border-color: var(--dz-accent); }
.dz-drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.dz-drop span { display: grid; gap: 2px; color: var(--dz-ink); font-size: 14px; }
.dz-drop small { color: var(--dz-muted); font-size: 12px; font-weight: 600; }
.dz-size-pick { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 6px; align-items: center; }
.dz select { width: 100%; min-width: 0; height: 42px; box-sizing: border-box; padding: 0 10px; border: 1px solid var(--dz-line2); border-radius: 10px; background: var(--dz-deep); color: var(--dz-ink); font: 700 14px var(--dz-ui); }
.dz-size-pick select { font-family: var(--dz-display); }
.dz-segment { display: flex; gap: 6px; }
.dz-segment label { position: relative; flex: 1; min-width: 0; cursor: pointer; }
.dz-segment input { position: absolute; opacity: 0; pointer-events: none; }
.dz-segment span { display: grid; place-items: center; gap: 1px; min-height: 42px; padding: 4px 8px; border: 1.5px solid var(--dz-line2); border-radius: 10px; background: var(--dz-deep); color: var(--dz-ink); font-size: 13px; font-weight: 800; text-align: center; }
.dz-segment.is-frames span { min-height: 52px; }
.dz-segment small { font-size: 11px; font-weight: 600; color: var(--dz-muted); }
.dz-segment input:checked + span { border-color: var(--dz-accent); background: color-mix(in srgb, var(--dz-accent) 16%, var(--dz-deep)); }
.dz-segment:not(.is-frames) input:checked + span { background: var(--dz-accent); color: var(--dz-on-accent); }
.dz-segment input:focus-visible + span { outline: 2px solid var(--dz-accent); outline-offset: 2px; }
.dz-colors, .dz-base { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.dz-swatches { display: flex; flex-wrap: wrap; gap: 6px; }
.dz-swatches label { position: relative; cursor: pointer; }
.dz-swatches input { position: absolute; opacity: 0; pointer-events: none; }
.dz-swatches span { display: block; width: 24px; height: 24px; border-radius: 50%; border: 3px solid var(--dz-line2); }
.dz-swatches input:checked + span { border-color: var(--dz-accent); }
.dz-swatches input:focus-visible + span { outline: 2px solid var(--dz-accent); outline-offset: 2px; }
.dz-base select { flex: 1; height: 34px; font-size: 12.5px; }
.dz-check { display: flex; gap: 8px; align-items: center; font-size: 13px; font-weight: 700; color: var(--dz-soft); cursor: pointer; }
.dz-range { display: grid; grid-template-columns: 1fr auto; gap: 2px 8px; font-size: 12px; font-weight: 700; color: var(--dz-soft); }
.dz-range output { color: var(--dz-ink); }
.dz-range input { grid-column: 1 / -1; }

.dz-stats { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)) auto; gap: 10px; }
.dz-stats > div { display: flex; flex-direction: column; justify-content: center; gap: 4px; min-width: 0; padding: 14px 16px; border-radius: 16px; background: var(--dz-card); border: 1px solid var(--dz-line); }
.dz-stats > div.is-total { background: color-mix(in srgb, var(--dz-accent) 8%, var(--dz-card)); }
.dz-stats span { font-size: 11px; font-weight: 800; letter-spacing: .1em; color: var(--dz-muted); }
.dz-stats b { overflow: hidden; font: 700 21px var(--dz-display); white-space: nowrap; text-overflow: ellipsis; color: var(--dz-ink); }
.dz-stats small { overflow: hidden; font-size: 12px; color: var(--dz-muted); white-space: nowrap; text-overflow: ellipsis; }
html[data-ui-theme] body .main-content .dz a.dz-stats-cta { display: flex; flex-direction: column; justify-content: center; gap: 2px; padding: 0 22px; border-radius: 16px; background: var(--dz-accent); color: var(--dz-on-accent); font: 800 15px var(--dz-ui); text-decoration: none; }
.dz-stats-cta small { font-size: 12px; font-weight: 700; }

.dz-work { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 14px; align-items: start; }
.dz-stage { display: flex; flex-direction: column; gap: 14px; min-height: 420px; padding: 22px; border-radius: 24px; background: #06080B; }
.dz-empty { margin: auto; color: #9AA3B0; font-size: 15px; line-height: 1.7; text-align: center; }
.dz-frame { align-self: center; max-width: 100%; box-sizing: border-box; border-radius: 10px; box-shadow: 0 20px 60px rgba(0, 0, 0, .6); }
.dz-compare.is-stage { border-radius: 4px; }
.dz-compare.is-stage canvas { display: block; max-width: 100%; height: auto; }
.dz-compare.is-stage .dz-compare-before canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.dz-stage-foot { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; }
.dz-stage-foot .dz-slider { flex: 1 1 320px; color: #8E99AA; }
.dz-stage-btns { display: flex; gap: 8px; }
html[data-ui-theme] body .main-content .dz .dz-stage button.dz-ghost-btn { border-color: #2C3442; color: #EEF2F8; }
.dz-used { display: flex; flex-direction: column; gap: 10px; padding: 18px; }
.dz-used-head { display: flex; justify-content: space-between; align-items: baseline; }
.dz-used-head h3 { font-size: 16px; }
.dz-used-head span { font-size: 12px; color: var(--dz-muted); }
.dz-used-list { display: flex; flex-direction: column; gap: 4px; max-height: 420px; overflow-y: auto; }
html[data-ui-theme] body .main-content .dz button.dz-used-row { display: grid; grid-template-columns: 20px minmax(0, 1fr) auto; gap: 10px; align-items: center; width: 100%; min-height: 34px; padding: 4px 8px; border: 0; border-radius: 8px; background: transparent; color: var(--dz-ink); font: 600 13px var(--dz-ui); text-align: left; cursor: pointer; box-shadow: none; }
html[data-ui-theme] body .main-content .dz button.dz-used-row:hover { background: var(--dz-deep); }
.dz-used-row i { width: 18px; height: 18px; border-radius: 50%; border: 1px solid rgba(127, 127, 127, .5); }
.dz-used-row span { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.dz-all-colors > summary { cursor: pointer; font-size: 13px; font-weight: 800; color: var(--dz-soft); }
.dz-chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0; }
.dz-swatch-grid { display: flex; flex-wrap: wrap; gap: 6px; max-height: 200px; overflow-y: auto; padding: 3px; }
.dz-swatch { position: relative; flex: none; width: 24px; height: 24px; box-sizing: border-box; border-radius: 50%; border: 2px solid var(--dz-line2); cursor: pointer; }
.dz-swatch input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.dz-swatch.is-off { opacity: .22; }
.dz-swatch.is-owned::after { content: ""; position: absolute; right: -3px; bottom: -3px; width: 9px; height: 9px; border-radius: 50%; background: #1E8A4C; border: 2px solid var(--dz-card); }

/* lista elementów i zakupy */
.dz-row.is-parts { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); align-items: start; }
.dz-parts { display: flex; flex-direction: column; gap: 12px; padding: 24px; }
.dz-parts h2 { font-size: 22px; }
.dz-table-wrap { overflow-x: auto; }
.dz-table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.dz-table :is(th, td) { padding: 9px 8px; border-top: 1px solid var(--dz-line); text-align: left; white-space: nowrap; color: var(--dz-ink); }
.dz-table th { border-top: 0; font-size: 11.5px; font-weight: 800; color: var(--dz-muted); }
.dz-table small { color: var(--dz-muted); }
.dz-table tr.is-group td { padding-top: 14px; font-size: 11px; font-weight: 800; letter-spacing: .12em; color: var(--dz-muted); }
.dz-table .is-missing { color: #FF8A7A; font-weight: 800; }
.dz-table .is-ok { color: #7EE2A8; font-weight: 800; }
html[data-ui-theme="light"] .dz-table .is-missing { color: #B42318; } html[data-ui-theme="light"] .dz-table .is-ok { color: #1E7A44; }
.dz-dot { display: inline-block; width: 14px; height: 14px; margin-right: 8px; vertical-align: -2px; border-radius: 50%; border: 1px solid rgba(127, 127, 127, .5); }
.dz-shop { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.dz-shop article { display: flex; flex-direction: column; gap: 8px; padding: 18px; border-radius: 18px; background: var(--dz-card); border: 1px solid var(--dz-line); }
.dz-shop article > b { font: 700 16px var(--dz-display); color: var(--dz-ink); }
.dz-shop article > span { font-size: 13px; line-height: 1.45; color: var(--dz-muted); }
.dz-shop p { display: flex; flex-wrap: wrap; gap: 8px; margin: auto 0 0; }
.dz-shop a { font-size: 12.5px; font-weight: 700; color: var(--dz-accent); }
html[data-ui-theme="light"] .dz-shop a { color: #8A5A00; }
.dz-msg { grid-column: 1 / -1; margin: 0; padding: 10px 12px; border-radius: 10px; background: color-mix(in srgb, #1E8A4C 22%, var(--dz-card)); font-weight: 700; font-size: 13px; }
.dz-msg.is-err { background: color-mix(in srgb, #C8102E 22%, var(--dz-card)); }

@media (max-width: 1240px) {
  .dz-bar { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .dz-bar .is-wide { grid-column: span 2; }
  .dz-stats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .dz-stats-cta { grid-column: span 4; min-height: 54px; }
}
@media (max-width: 960px) {
  .dz-hero, .dz-row, .dz-row.is-parts, .dz-work { grid-template-columns: minmax(0, 1fr); }
  .dz-title { font-size: 56px; }
  .dz-steps { grid-template-columns: minmax(0, 1fr); }
  .dz-bar { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .dz-thumbs { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 620px) {
  .dz-bar, .dz-stats, .dz-shop { grid-template-columns: minmax(0, 1fr); }
  .dz-bar .is-wide, .dz-stats-cta { grid-column: auto; }
  .dz-facts { grid-template-columns: minmax(0, 1fr); }
}

/* pokazówka podstawy i ramki w „Jak to działa” */
.dz-frames-demo { flex: 1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: end; }
.dz-frames-demo figure { display: flex; flex-direction: column; align-items: center; gap: 10px; margin: 0; }
.dz-frames-demo figcaption { display: grid; gap: 2px; font-size: 12.5px; text-align: center; color: var(--dz-muted); }
.dz-frames-demo figcaption b { font-size: 14px; color: var(--dz-ink); }
.dz-demo-wrap { display: block; width: min(150px, 100%); box-sizing: border-box; border-radius: 6px; }
.dz-demo-wrap.is-tiles { padding: 9px; background: #05131D; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12); }
.dz-demo-wrap.is-bricks { padding: 16px; background: radial-gradient(circle, rgba(255, 255, 255, .2) 32%, transparent 35%) 0 0 / 8px 8px, #582A12; }
.dz-demo { display: block; aspect-ratio: 1; border-radius: 2px;
  background: radial-gradient(circle, transparent 40%, #06080B 43%) 0 0 / 9px 9px, linear-gradient(135deg, #F8BB3D 0%, #FE8A18 30%, #C91A09 52%, #0A3463 78%, #36AEBF 100%); }

/* drobne poprawki */
.dz .sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.dz [hidden] { display: none !important; }
.dz-stats a.dz-stats-cta small { color: var(--dz-on-accent); opacity: .8; }
.dz-row.is-parts { grid-template-columns: minmax(0, 1fr); }
.dz-shop { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.dz-drop { align-self: stretch; }
@media (max-width: 960px) { .dz-shop { grid-template-columns: repeat(2, minmax(0, 1fr)); } .dz-frames-demo { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 620px) { .dz-shop, .dz-frames-demo { grid-template-columns: minmax(0, 1fr); } }