/* Živá ukázka systému (/ukazka, views/demo). Barvy přes tokeny z app.css a :root níže; raw hex jen v kresbě
   (rámeček telefonu, kamera, tapeta zamčeného telefonu, kiosek) a pod bílým textem na sytém pozadí.
   Stav řídí demo.js třídami (is-active, is-on, is-bare) a CSSOM (transform, scrollTop) — žádné inline styly. */

:root {
  --dm-zena: #a21caf;
  --dm-muz: #2563eb;
  --dm-glow: radial-gradient(900px 520px at 20% 0%, rgba(56, 189, 248, .16), transparent 62%),
             radial-gradient(800px 480px at 100% 100%, rgba(129, 140, 248, .16), transparent 60%);
}
:root[data-theme="dark"] {
  --dm-zena: #e879f9;
  --dm-muz: #60a5fa;
}

body.layout-demo { background: var(--dm-glow), var(--bg); background-attachment: fixed; min-height: 100vh; }
.dm-page { max-width: 1180px; margin: 0 auto; padding: 22px 16px 40px; }
.dm-stage { display: grid; gap: 28px; }
@media (min-width: 980px) { .dm-page { padding: 32px 24px 48px; } .dm-stage { grid-template-columns: auto minmax(0, 1fr); gap: 56px; align-items: start; } }
.dm-left { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.dm-muted { color: var(--text-muted); }
/* hidden musí vyhrát i nad display z .btn (tlačítka zvuku bez nahrávek). */
.dm-page [hidden] { display: none !important; }

/* --- Telefon ----------------------------------------------------------- */
.dm-phone { width: min(372px, 100%); height: clamp(560px, calc(100svh - 150px), 780px); padding: 11px; border-radius: 56px; background: #0b1020;
  box-shadow: 0 0 0 2px #2a3352, 0 40px 80px rgba(6, 16, 50, .28), 0 12px 24px rgba(6, 16, 50, .18); }
.dm-frame { position: relative; display: flex; flex-direction: column; height: 100%; overflow: hidden; border-radius: 45px; background: var(--bg); isolation: isolate; }
.dm-status { position: relative; display: flex; align-items: center; justify-content: space-between; flex: 0 0 auto; height: 46px; padding: 0 28px;
  font-size: 14px; font-weight: 700; color: var(--text-strong); background: var(--surface); }
.dm-island { position: absolute; left: 50%; top: 10px; width: 108px; height: 30px; border-radius: 20px; background: #0b1020; transform: translateX(-50%); }
.dm-status-ic svg { display: block; fill: currentColor; }
.dm-status-ic .dm-batt { fill: none; stroke: currentColor; stroke-width: 1.2; opacity: .5; }
.dm-progress { flex: 0 0 auto; height: 3px; background: var(--surface); }
.dm-progress i { display: block; height: 100%; background: var(--grad-sky); transform: scaleX(0); transform-origin: left; }
.dm-top { display: flex; flex: 0 0 auto; align-items: center; gap: 8px; height: 52px; padding: 0 14px; background: var(--surface); border-bottom: 1px solid var(--border); }
.dm-top-brand { display: flex; align-items: center; gap: 7px; font-weight: 800; color: var(--text-strong); font-size: .95rem; }
.dm-top-logo { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 8px; background: var(--grad-primary); color: #fff; }
.dm-top-org { flex: 1; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; color: var(--text-muted); font-size: .72rem; font-weight: 600; text-align: right; }
.dm-top-bell { position: relative; display: grid; place-items: center; width: 32px; height: 32px; color: var(--text); }
.dm-top-bell i { position: absolute; top: 2px; right: 1px; min-width: 15px; height: 15px; padding: 0 3px; border-radius: 8px; background: var(--danger-solid);
  color: #fff; font-size: 9px; font-style: normal; font-weight: 800; line-height: 15px; text-align: center; }
.dm-top-ava { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--grad-primary); color: #fff; font-size: .7rem; font-weight: 800; }
.dm-frame.is-bare .dm-top, .dm-frame.is-bare .dm-nav { display: none; }
.dm-frame.is-bare .dm-status { background: transparent; position: absolute; inset: 0 0 auto 0; z-index: 3; }
.dm-frame.is-bare .dm-progress { position: absolute; top: 46px; left: 0; right: 0; z-index: 3; background: transparent; }
.dm-frame.is-dark .dm-status { color: #fff; }
/* Zamčený telefon má čas velký uprostřed — ve stavovém řádku ne. */
.dm-frame.is-lock .dm-status > span:first-child { visibility: hidden; }

.dm-scroll { position: relative; flex: 1 1 auto; overflow: hidden; }
.dm-sc { display: none; padding: 14px 14px 200px; }
.dm-sc.is-active { display: block; }
body:not(.dm-js) .dm-sc[data-screen="intro"] { display: block; }
.dm-sc[data-bare] { min-height: 100%; padding: 60px 16px 170px; }

.dm-nav { position: absolute; z-index: 4; left: 10px; right: 10px; bottom: 10px; display: flex; justify-content: space-around; height: 60px; padding: 0 4px;
  border-radius: 22px; background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-lg); }
.dm-nav span { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; flex: 1; color: var(--text-muted); }
.dm-nav small { font-size: .62rem; font-weight: 700; }
.dm-nav span.is-active { color: var(--brand-600); }
:root[data-theme="dark"] .dm-nav span.is-active { color: var(--brand-300); }

/* Titulek s replikou nad spodní lištou. */
.dm-caption { position: absolute; z-index: 5; left: 12px; right: 12px; bottom: 80px; display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px;
  border-radius: 18px; background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-lg);
  opacity: 0; transform: translateY(10px); transition: opacity .25s ease, transform .25s ease; pointer-events: none; }
.dm-caption.is-on { opacity: 1; transform: none; }
.dm-frame.is-bare .dm-caption { bottom: 14px; }
.dm-cap-body { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.dm-cap-title { color: var(--text-muted); font-size: .66rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
.dm-cap-text { color: var(--text-strong); font-size: .86rem; line-height: 1.45; }
.dm-cap-text b { color: var(--dm-zena); }
.dm-caption.is-muz .dm-cap-text b { color: var(--dm-muz); }
.dm-ava { display: grid; place-items: center; flex-shrink: 0; width: 30px; height: 30px; border-radius: 50%; color: #fff; font-size: .8rem; font-weight: 800; }
.dm-ava-zena { background: #a21caf; }
.dm-ava-muz { background: #2563eb; }

/* Úvodní karta přes telefon. */
.dm-start { position: absolute; z-index: 8; inset: 0; display: grid; place-items: center; padding: 18px;
  background: color-mix(in srgb, var(--bg) 55%, transparent); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.dm-start[hidden] { display: none; }
.dm-start-card { display: flex; flex-direction: column; align-items: center; gap: 10px; width: 100%; max-width: 290px; padding: 22px 18px; text-align: center;
  border-radius: 22px; background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-lg); }
.dm-start-card strong { color: var(--text-strong); font-size: 1.1rem; }
.dm-start-card .dm-muted { font-size: .82rem; margin-bottom: 4px; }
.dm-logo { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 18px; background: var(--grad-primary); color: #fff; box-shadow: var(--shadow-btn); }

/* --- Ovládání a panel ---------------------------------------------------- */
.dm-controls { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; max-width: 420px; }
.dm-controls .btn { border-radius: 999px; }
.dm-controls .icon-btn { border: 1px solid var(--border-strong); border-radius: 50%; background: var(--surface); }
.dm-controls .btn[aria-pressed="false"][data-dm-captions] { opacity: .6; }
.dm-timebar { color: var(--text-muted); font-size: .82rem; font-variant-numeric: tabular-nums; }

.dm-side { min-width: 0; }
.dm-side .brand { margin-bottom: .6rem; }
.dm-side .brand > span { display: inline; }
.dm-side h1 { font-size: clamp(1.7rem, 3.4vw, 2.3rem); font-weight: 800; margin-bottom: .5rem; }
.dm-lead { color: var(--text-muted); font-size: 1.02rem; line-height: 1.6; max-width: 40em; }
.dm-chapters { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 1.2rem 0; }
.dm-ch { display: flex; align-items: center; gap: 8px; min-height: 42px; padding: 8px 12px; border-radius: 12px; border: 1px solid var(--border-strong);
  background: var(--surface); color: var(--text-strong); font: inherit; font-size: .9rem; font-weight: 600; text-align: left; cursor: pointer; }
.dm-ch:hover { border-color: var(--brand-400); background: var(--primary-soft); }
.dm-ch.is-active { border-color: var(--brand-500); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand-500) 18%, transparent); }
.dm-ch > span { flex: 1; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.dm-ch small { color: var(--text-muted); font-variant-numeric: tabular-nums; }
.dm-ch .ic { color: var(--link); }

.dm-transcript { padding: 14px 16px; border-radius: 18px; background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow); }
.dm-tr-head { display: flex; justify-content: space-between; align-items: center; color: var(--text-muted); font-size: .74rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
.dm-tr-head span { display: inline-flex; align-items: center; gap: 6px; }
.dm-tr-head small { letter-spacing: 0; text-transform: none; font-weight: 700; }
.dm-tr-title { margin: .5rem 0 .6rem; color: var(--text-strong); font-size: .78rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.dm-tr-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.dm-tr-list li { display: flex; gap: 10px; padding: 8px; border-radius: 12px; color: var(--text-muted); transition: background .2s ease, color .2s ease; }
.dm-tr-list li > span:last-child { display: flex; flex-direction: column; font-size: .9rem; line-height: 1.5; }
.dm-tr-list b { font-size: .8rem; color: var(--dm-zena); }
.dm-tr-list li.dm-tr-muz b { color: var(--dm-muz); }
.dm-tr-list li.is-current { background: var(--primary-soft); color: var(--text-strong); }
.dm-tr-list li.is-done { color: var(--text); }
.dm-cta { display: flex; flex-wrap: wrap; gap: 8px; margin: 1.2rem 0 .6rem; }

/* --- Obsah obrazovek ------------------------------------------------------ */
.dm-sc { font-size: .86rem; color: var(--text); }
.dm-sc .plate { font-size: .74rem; }
.dm-grow .plate { align-self: flex-start; }
.dm-sc .badge { font-size: .66rem; }
.dm-hello { display: flex; flex-direction: column; margin: 2px 2px 12px; }
.dm-hello span { color: var(--text-strong); font-size: 1.15rem; font-weight: 800; }
.dm-hello small, .dm-title small { color: var(--text-muted); font-size: .74rem; }
.dm-title { display: flex; flex-direction: column; margin: 2px 2px 12px; }
.dm-title strong { color: var(--text-strong); font-size: 1.12rem; font-weight: 800; }
.dm-kpis { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-bottom: 14px; }
.dm-kpi { padding: 10px 12px; border-radius: 14px; background: var(--surface); border: 1px solid var(--border); }
.dm-kpi span { display: flex; align-items: center; gap: 4px; color: var(--text-muted); font-size: .7rem; font-weight: 700; }
.dm-kpi strong { display: block; color: var(--text-strong); font-size: 1.12rem; margin-top: 2px; white-space: nowrap; }
.dm-kpi small { color: var(--text-muted); font-size: .72rem; font-weight: 600; }
.dm-h { display: flex; align-items: center; gap: 6px; margin: 16px 2px 8px; color: var(--text-muted); font-size: .68rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
.dm-card { border-radius: 16px; background: var(--surface); border: 1px solid var(--border); margin-bottom: 8px; }
.dm-pad { padding: 12px 14px; }
.dm-list .dm-row + .dm-row { border-top: 1px solid var(--border); }
.dm-row { display: flex; align-items: center; gap: 10px; padding: 10px 12px; }
.dm-grow { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 0; }
.dm-grow strong { color: var(--text-strong); font-size: .86rem; }
.dm-grow small, .dm-row small { color: var(--text-muted); font-size: .72rem; }
.dm-num { color: var(--text-strong); font-weight: 800; font-size: .8rem; white-space: nowrap; }
.dm-time { display: flex; flex-direction: column; min-width: 44px; color: var(--text-strong); font-weight: 800; font-size: .8rem; font-variant-numeric: tabular-nums; }
.dm-dot { flex-shrink: 0; width: 10px; height: 10px; border-radius: 50%; background: var(--text-muted); }
.dm-dot.ok { background: var(--success-600); }
.dm-ico { display: grid; place-items: center; flex-shrink: 0; width: 32px; height: 32px; border-radius: 10px; background: var(--primary-soft); color: var(--brand-700); }
:root[data-theme="dark"] .dm-ico { color: var(--brand-300); }
.dm-ico.strong { background: var(--grad-primary); color: #fff; }
.dm-ico.danger { background: var(--soft-danger-bg); color: var(--danger-600); }
.dm-between { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.dm-note { display: flex; align-items: center; gap: 6px; color: var(--text-muted); font-size: .76rem; margin: 6px 2px; }
.dm-sc meter { display: block; width: 100%; height: 6px; margin-top: 5px; -webkit-appearance: none; appearance: none; border: 0; border-radius: 999px; background: var(--surface-3); }
.dm-sc meter::-webkit-meter-bar { height: 6px; border: 0; border-radius: 999px; background: var(--surface-3); }
.dm-sc meter::-webkit-meter-optimum-value { border-radius: 999px; background: var(--success-600); }
.dm-sc meter::-webkit-meter-suboptimum-value { border-radius: 999px; background: var(--warning-600); }
.dm-sc meter::-webkit-meter-even-less-good-value { border-radius: 999px; background: var(--danger-600); }
.dm-sc meter::-moz-meter-bar { border-radius: 999px; background: var(--success-600); }
.dm-alert { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; margin-bottom: 8px; border-radius: 14px; background: var(--surface);
  border: 1px solid var(--border); border-left: 4px solid var(--info-600); }
.dm-alert.danger { border-left-color: var(--danger-600); }
.dm-alert.warning { border-left-color: var(--warning-600); }
.dm-alert strong { display: block; color: var(--text-strong); font-size: .84rem; }
.dm-alert small { color: var(--text-muted); font-size: .72rem; }
.dm-alert-ic { display: grid; place-items: center; flex-shrink: 0; width: 30px; height: 30px; border-radius: 50%; background: var(--soft-info-bg); color: var(--info-600); }
.dm-alert.danger .dm-alert-ic { background: var(--soft-danger-bg); color: var(--danger-600); }
.dm-alert.warning .dm-alert-ic { background: var(--soft-warning-bg); color: var(--warning-600); }
.dm-dl { display: grid; gap: 6px; margin: 10px 0 0; }
.dm-dl > div { display: flex; justify-content: space-between; gap: 10px; }
.dm-dl dt { color: var(--text-muted); font-size: .76rem; }
.dm-dl dd { margin: 0; color: var(--text-strong); font-size: .8rem; font-weight: 600; text-align: right; }
.dm-big { color: var(--text-strong); font-size: 1.5rem; font-weight: 800; }
.dm-huge { color: var(--text-strong); font-size: 2.2rem; font-weight: 800; line-height: 1.1; }
.dm-huge small { color: var(--text-muted); font-size: .9rem; font-weight: 700; }
.dm-chart { display: block; width: 100%; height: auto; }
.dm-chart-grid { fill: none; stroke: var(--border); stroke-width: 1; }
.dm-bar { fill: color-mix(in srgb, var(--brand-500) 40%, transparent); }
.dm-bar.is-now { fill: var(--brand-600); }
:root[data-theme="dark"] .dm-bar.is-now { fill: var(--brand-400); }
.dm-btn { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; margin-top: 8px; padding: 0 14px; border-radius: 12px;
  border: 1px solid var(--border-strong); background: var(--surface); color: var(--brand-800); font-weight: 700; font-size: .84rem; text-align: center; }
:root[data-theme="dark"] .dm-btn { color: var(--text-strong); }
:root .dm-btn.primary { background: var(--grad-primary); border-color: transparent; color: #fff; }
:root .dm-btn.ok { background: var(--success-600); border-color: transparent; color: #fff; }
:root[data-theme="dark"] .dm-btn.ok { color: #06210f; }
.dm-actions { display: grid; gap: 0; margin-top: 4px; }
.dm-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.dm-chips span { display: inline-flex; align-items: center; gap: 4px; padding: 4px 9px; border-radius: 999px; background: var(--surface-3); color: var(--text-muted); font-size: .7rem; font-weight: 700; }

/* Kamera vjezdu */
.dm-cam { margin-bottom: 10px; overflow: hidden; border-radius: 16px; border: 1px solid var(--border); }
.dm-cam svg { display: block; width: 100%; height: auto; }
.dm-cam-bg { fill: #1b2436; }
.dm-cam-road { fill: #2b3650; }
.dm-cam-car { fill: #c9d4ea; }
.dm-cam-glass { fill: #3a4a6b; }
.dm-cam-light { fill: #fef3c7; }
.dm-cam-plate { fill: #f8fafc; }
.dm-cam-box { fill: none; stroke: #22c55e; stroke-width: 2.5; }
.dm-cam-ts { fill: #cbd5e1; font-family: var(--mono); font-size: 10px; }

/* Veřejná stránka a online platba v prohlížeči řidiče */
.dm-browser { display: flex; align-items: center; justify-content: center; gap: 5px; margin: 0 0 12px; padding: 7px 10px; border-radius: 12px;
  background: var(--surface-3); color: var(--text-muted); font-size: .72rem; font-weight: 600; }
.dm-web h2 { font-size: 1.15rem; margin-bottom: .2rem; }
.dm-web > .dm-muted { display: flex; align-items: center; gap: 5px; font-size: .78rem; margin-bottom: 10px; }
.dm-pay-sum { margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--border); }
.dm-pay-sum strong { color: var(--text-strong); font-size: 1.3rem; }
.dm-swap .dm-swap-b { display: none; }
.dm-swap .dm-swap-b.is-on, body:not(.dm-js) .dm-swap .dm-swap-b { display: flex; }
.dm-swap:has(.dm-swap-b.is-on) .dm-swap-a { display: none; }
.dm-web > small { display: block; margin-top: 10px; font-size: .7rem; }

/* Kiosek */
.dm-sc-kiosk { background: linear-gradient(180deg, #0c1a45, #13286b); color: #fff; }
.dm-kiosk { display: flex; flex-direction: column; gap: 12px; }
.dm-kiosk-langs { display: flex; flex-wrap: wrap; gap: 5px; }
.dm-kiosk-langs b, .dm-kiosk-langs span { padding: 4px 8px; border-radius: 8px; background: rgba(255, 255, 255, .12); font-size: .68rem; font-weight: 800; }
.dm-kiosk-langs b { background: #fff; color: #13286b; }
.dm-kiosk-head { display: flex; align-items: center; gap: 6px; color: #c7d7fe; font-size: .76rem; font-weight: 700; }
.dm-kiosk-card { display: flex; flex-direction: column; gap: 8px; padding: 14px; border-radius: 18px; background: #fff; color: #1b2640; }
.dm-kiosk-card small { color: #55627e; font-size: .72rem; }
.dm-kiosk-card .plate { align-self: flex-start; font-size: .95rem; }
.dm-kiosk-amount { display: flex; align-items: baseline; justify-content: space-between; padding-top: 8px; border-top: 1px solid #dfe7f5; }
.dm-kiosk-amount strong { font-size: 1.9rem; color: #0c1a45; }
.dm-kiosk-pay, .dm-kiosk-ok { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 58px; border-radius: 16px; font-weight: 800; font-size: .95rem; }
.dm-kiosk-pay { background: rgba(255, 255, 255, .14); border: 2px dashed rgba(255, 255, 255, .5); }
.dm-kiosk-ok { display: none; background: #16a34a; }
.dm-kiosk-ok.is-on, body:not(.dm-js) .dm-kiosk-ok { display: flex; }
.dm-kiosk:has(.dm-kiosk-ok.is-on) .dm-kiosk-pay { display: none; }
.dm-kiosk-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.dm-kiosk-btns span { display: flex; align-items: center; justify-content: center; gap: 5px; min-height: 42px; border-radius: 12px; background: rgba(255, 255, 255, .1); font-size: .72rem; font-weight: 700; }

/* Zamčený telefon s upozorněním */
.dm-sc-lock { background: radial-gradient(120% 70% at 20% 10%, #38bdf8, transparent 60%), radial-gradient(120% 80% at 90% 90%, #a78bfa, transparent 60%),
  linear-gradient(160deg, #13286b, #4f46e5); color: #fff; }
.dm-lock { display: flex; flex-direction: column; align-items: center; padding-top: 30px; }
.dm-lock-time { font-size: 4.2rem; font-weight: 700; line-height: 1; letter-spacing: -.02em; }
.dm-lock-date { margin: 6px 0 34px; font-size: .95rem; font-weight: 600; opacity: .9; }
.dm-notif { width: 100%; padding: 12px 14px; border-radius: 20px; background: rgba(255, 255, 255, .9); color: #1b2640; box-shadow: 0 16px 34px rgba(6, 16, 50, .3);
  transition: opacity .35s ease, transform .35s ease; }
.dm-notif-head { display: flex; align-items: center; gap: 6px; color: #55627e; font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .03em; }
.dm-notif-head small { margin-left: auto; text-transform: none; letter-spacing: 0; }
.dm-notif-app { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 6px; background: linear-gradient(135deg, #2563eb, #4f46e5); color: #fff; }
.dm-notif strong { display: block; margin-top: 4px; font-size: .92rem; color: #0c1a45; }
.dm-notif > span { font-size: .8rem; line-height: 1.4; }

/* Server na místě a fronta k odeslání */
.dm-edge .dm-ico { width: 36px; height: 36px; }
.dm-queue { margin-top: 10px; padding: 8px 10px; border-radius: 10px; background: var(--soft-warning-bg); color: var(--warning-700); font-size: .76rem; font-weight: 700; }
.dm-qb { display: none; align-items: center; gap: 6px; }
.dm-qb.is-on, body:not(.dm-js) .dm-qb { display: flex; }
.dm-queue:has(.dm-qb.is-on) { background: var(--soft-success-bg); color: var(--success-700); }
.dm-queue:has(.dm-qb.is-on) .dm-qa { display: none; }

/* Úvod a závěr */
.dm-sc-intro { background: var(--grad-hero); background-color: var(--brand-900); color: #fff; }
.dm-intro { display: flex; flex-direction: column; align-items: center; text-align: center; padding-top: 34px; }
.dm-intro .dm-logo { width: 84px; height: 84px; border-radius: 24px; box-shadow: 0 18px 40px rgba(4, 12, 40, .4), inset 0 0 0 2px rgba(255, 255, 255, .25); }
.dm-intro-brand { margin-top: 16px; font-size: 2rem; font-weight: 800; letter-spacing: -.02em; }
.dm-intro-tag { margin: 6px 0 24px; color: #d6e3ff; font-size: .95rem; font-weight: 600; }
.dm-people { display: grid; gap: 10px; width: 100%; }
.dm-person { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 16px; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .2); text-align: left; }
.dm-person .dm-ava { width: 38px; height: 38px; font-size: 1rem; box-shadow: 0 0 0 2px rgba(255, 255, 255, .5); }
.dm-person strong { display: block; font-size: .95rem; }
.dm-person span span { color: #d6e3ff; font-size: .78rem; }
.dm-intro-note { margin-top: 18px; color: #c7d7fe; font-size: .74rem; }
.dm-outro-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; width: 100%; text-align: left; }
.dm-outro-list li { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-radius: 14px; background: rgba(255, 255, 255, .12); font-weight: 700; font-size: .86rem; }
.dm-outro-list .ic { color: #86efac; }

/* Prvky s časem (data-dm-on): bez JS vidět hned, s JS až v danou chvíli. */
.dm-js [data-dm-on] { transition: opacity .3s ease, transform .3s ease; }
.dm-js [data-dm-on]:not(.is-on) { opacity: 0; }
.dm-js .dm-notif[data-dm-on]:not(.is-on) { transform: translateY(-18px) scale(.98); }

@media (prefers-reduced-motion: reduce) {
  .dm-caption, .dm-js [data-dm-on], .dm-notif, .dm-tr-list li { transition: none; }
}

/* Režim snímkování pro MP4: deterministický stav (bez přechodů), stránka zvětšená na 1080p snímek. */
.dm-render *, .dm-render *::before, .dm-render *::after { transition: none !important; animation: none !important; }
@media (min-width: 980px) { .dm-render .dm-page { zoom: 1.32; padding-top: 18px; } .dm-render .dm-phone { height: 780px; } }
/* Na výšku (stories): jen telefon přes celou výšku snímku. */
@media (max-width: 979px) {
  .dm-render .dm-side { display: none; }
  .dm-render .dm-page { padding: 22px 0 0; }
  .dm-render .dm-phone { width: 440px; height: 916px; }
}
