/* ============================================================
   Angličtina Zdarma – PRO DĚTI design system (produkce)
   Port schváleného návrhu docs-tobe/navrhy/pro-deti/kids.css.
   Prefix: pd-  ·  Vrstvy: kid zone (hravá) + parent layer (klidná)
   Mechanika akcentů: --pd-ac jako RGB trojice (vzor V4 --ac)
   Tokeny scopované na .pd-root – mimo dětskou sekci se nic nemění.
   Načítá se passthrough copy + <link> jen v pd- layoutech.
   ============================================================ */

.pd-root {
  /* ── Site base (slate/blue – hodnoty shodné s Tailwind paletou webu) ── */
  --slate-50:#f8fafc; --slate-100:#f1f5f9; --slate-200:#e2e8f0; --slate-300:#cbd5e1;
  --slate-400:#94a3b8; --slate-500:#64748b; --slate-600:#475569; --slate-700:#334155;
  --slate-800:#1e293b; --slate-900:#0f172a;
  --blue-600:#2563eb; --blue-700:#1d4ed8;

  /* ── KIDS ACCENT (oranžová – finální volba přes Tweaks; názvy proměnných
     zůstávají historicky --pd-pink-*, hodnoty jsou Tailwind orange) ── */
  --pd-pink-50:#fff7ed; --pd-pink-100:#ffedd5; --pd-pink-200:#fed7aa; --pd-pink-300:#fdba74;
  --pd-pink-400:#fb923c; --pd-pink-500:#f97316; --pd-pink-600:#ea580c; --pd-pink-700:#c2410c;
  --pd-rose-500:#f59e0b;
  --pd-accent: var(--pd-pink-500);
  --pd-accent-deep: var(--pd-pink-600);     /* tlačítka; pro drobný text na bílé AA použít 700 */
  --pd-accent-rgb: 249 115 22;
  --pd-gradient: linear-gradient(135deg, var(--pd-pink-500), var(--pd-rose-500));

  /* ── TOPIC WORLD ACCENTS (RGB trojice → rgb(var(--pd-ac)/.NN)) ── */
  --pd-ac-green: 22 163 74;     /* Zvířátka  */
  --pd-ac-violet: 147 51 234;   /* Barvy     */
  --pd-ac-sky: 2 132 199;       /* Čísla     */
  --pd-ac-amber: 217 119 6;     /* Jídlo     */
  --pd-ac-rose: 225 29 72;      /* Rodina    */
  --pd-ac-teal: 13 148 136;     /* Tělo      */
  --pd-ac-indigo: 79 70 229;    /* Oblečení  */
  --pd-ac-orange: 234 88 12;    /* Hračky    */
  --pd-ac-pink: 234 88 12;      /* výchozí (oranžový akcent) */

  /* ── VĚKOVÁ PÁSMA ── */
  --pd-band-1: 217 119 6;       /* 🧒 Předškoláci – amber-600  */
  --pd-band-2: 2 132 199;       /* ✏️ 1.–2. třída – sky-600    */
  --pd-band-3: 124 58 237;      /* 🎒 3.–5. třída – violet-600 */

  /* ── PLOCHY ── */
  --pd-zone-bg: linear-gradient(180deg, #fff3ea 0%, #fff9f4 70%, #ffffff 100%);
  --pd-zone-bg-flat: #fff6ef;
  --pd-paper: #ffffff;

  /* ── TVAR (chunky, sticker – finální škála po Tweaks 0,7×) ── */
  --pd-r-sm: 10px;
  --pd-r: 14px;
  --pd-r-lg: 18px;
  --pd-r-xl: 22px;
  --pd-border-w: 2.5px;
  --pd-shadow-soft: 0 8px 24px -8px rgb(var(--pd-accent-rgb) / 0.18);
  --pd-shadow-card: 0 2px 0 rgb(15 23 42 / 0.04), 0 10px 22px -12px rgb(15 23 42 / 0.12);

  /* ── PÍSMO (Baloo 2 jen kid zone, parent layer = site body font) ── */
  --pd-display: 'Baloo 2', 'Inter', system-ui, sans-serif;
  --pd-body: 'Inter', system-ui, sans-serif;

  /* ── MOTION ── */
  --pd-ease-pop: cubic-bezier(0.34, 1.56, 0.64, 1);
}

.pd-root :focus-visible {
  outline: 3px solid var(--pd-pink-500);
  outline-offset: 2px;
  border-radius: 8px;
}

/* Tailwind .hidden je v style.css, který se načítá PŘED tímto souborem –
   pd komponenty s vlastním display (pd-btn…) by ho jinak přebily.
   Stejná gotcha jako .vw-root .hidden u kola sloves. */
.pd-root .hidden { display: none !important; }

.pd-root button { font: inherit; cursor: pointer; }

/* ============================================================
   KID ZONE – hravá vrstva
   ============================================================ */
.pd-zone {
  background: var(--pd-zone-bg);
  border-bottom: 1px solid var(--pd-pink-100);
}
.pd-zone--card {
  border: var(--pd-border-w) solid var(--pd-pink-100);
  border-radius: var(--pd-r-xl);
  border-bottom-width: 5px;
  background: var(--pd-zone-bg);
  box-shadow: var(--pd-shadow-soft);
}

/* Display typografie (jen kid zone) */
.pd-display { font-family: var(--pd-display); font-weight: 700; letter-spacing: 0; line-height: 1.15; color: var(--slate-900); }
.pd-h1 { font-size: clamp(30px, 6vw, 44px); font-weight: 800; }
.pd-h2 { font-size: clamp(22px, 4vw, 30px); font-weight: 700; }
.pd-kicker {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--pd-display); font-weight: 700; font-size: 14px;
  color: var(--pd-accent-deep);
  background: #fff; border: 2px solid var(--pd-pink-200); border-radius: 999px;
  padding: 6px 14px;
  box-shadow: 0 2px 0 var(--pd-pink-100);
}

/* Sticker – štítek s bílým rámem */
.pd-sticker {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--pd-display); font-weight: 700; font-size: 14px;
  background: #fff; border-radius: 999px; padding: 6px 14px;
  border: 2.5px solid rgb(var(--pd-ac, var(--pd-accent-rgb)) / 0.35);
  color: rgb(var(--pd-ac, var(--pd-accent-rgb)));
  box-shadow: 0 3px 10px -3px rgb(var(--pd-ac, var(--pd-accent-rgb)) / 0.35);
}

/* ── PD BUTTON – velká „mačkací" tlačítka ── */
.pd-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--pd-display); font-weight: 700;
  font-size: 19px; line-height: 1.1;
  min-height: 56px; padding: 14px 30px;
  border-radius: 999px; border: none;
  color: #fff; background: var(--pd-accent-deep);
  box-shadow: 0 5px 0 var(--pd-pink-700), 0 12px 20px -8px rgb(var(--pd-accent-rgb) / 0.5);
  transition: transform 120ms ease, box-shadow 120ms ease, background 150ms ease;
  text-decoration: none; user-select: none;
}
.pd-btn:hover { background: var(--pd-pink-500); color: #fff; transform: translateY(-1px); }
.pd-btn:active { transform: translateY(4px); box-shadow: 0 1px 0 var(--pd-pink-700), 0 4px 10px -6px rgb(var(--pd-accent-rgb) / 0.5); }
.pd-btn--green { background: #16a34a; box-shadow: 0 5px 0 #15803d, 0 12px 20px -8px rgb(22 163 74 / 0.5); }
.pd-btn--green:hover { background: #22c55e; }
.pd-btn--green:active { box-shadow: 0 1px 0 #15803d, 0 4px 10px -6px rgb(22 163 74 / 0.5); }
.pd-btn--ghost {
  background: #fff; color: var(--pd-accent-deep);
  border: var(--pd-border-w) solid var(--pd-pink-200);
  box-shadow: 0 5px 0 var(--pd-pink-100);
}
.pd-btn--ghost:hover { border-color: var(--pd-pink-300); color: var(--pd-accent-deep); background: var(--pd-pink-50); }
.pd-btn--ghost:active { box-shadow: 0 1px 0 var(--pd-pink-100); }
.pd-btn--sm { min-height: 44px; padding: 8px 20px; font-size: 16px; }
.pd-btn--ghost.is-active { border-color: var(--pd-pink-500); background: var(--pd-pink-50); }

/* ── SPEAKER CHIP – podpisová komponenta (slovo + 🔊) ── */
.pd-speaker {
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 56px; padding: 10px 18px 10px 20px;
  font-family: var(--pd-display); font-weight: 700; font-size: 19px; color: var(--slate-900);
  background: #fff;
  border: var(--pd-border-w) solid var(--pd-pink-200);
  border-bottom-width: 4.5px;
  border-radius: 999px;
  transition: transform 120ms ease, border-color 150ms ease, background 150ms ease, box-shadow 150ms ease;
  user-select: none;
}
.pd-speaker .pd-speaker__cz { font-family: var(--pd-body); font-weight: 500; font-size: 14px; color: var(--slate-500); }
.pd-speaker__icon { font-size: 20px; line-height: 1; }
.pd-speaker:hover { border-color: var(--pd-pink-400); transform: translateY(-1px); box-shadow: var(--pd-shadow-soft); }
.pd-speaker:active { transform: translateY(2px); }
.pd-speaker.is-playing {
  border-color: var(--pd-pink-500); background: var(--pd-pink-50); color: var(--pd-accent-deep);
  animation: pd-ring 1s ease-in-out infinite;
}
.pd-speaker.is-learned { border-color: #86efac; }
.pd-speaker.is-learned::after { content: '✓'; font-size: 15px; font-weight: 800; color: #16a34a; }

/* ── WORD CARD – obrázková kartička slovíčka ── */
.pd-wordcard {
  position: relative;
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  width: 100%; padding: 18px 12px 16px;
  background: #fff;
  border: var(--pd-border-w) solid var(--slate-200);
  border-bottom-width: 5px;
  border-radius: var(--pd-r-lg);
  box-shadow: var(--pd-shadow-card);
  transition: transform 150ms var(--pd-ease-pop), border-color 150ms ease, box-shadow 150ms ease;
  text-align: center; user-select: none;
}
.pd-wordcard:hover { transform: translateY(-3px) rotate(-0.5deg); border-color: var(--pd-pink-300); }
.pd-wordcard:active { transform: translateY(1px); }
.pd-wordcard__pic {
  display: grid; place-items: center;
  width: 84px; height: 84px; font-size: 52px; line-height: 1;
  background: rgb(var(--pd-ac, var(--pd-accent-rgb)) / 0.10);
  border-radius: 22px; margin-bottom: 8px;
}
.pd-wordcard__en { font-family: var(--pd-display); font-weight: 800; font-size: 24px; line-height: 1.1; color: var(--slate-900); }
.pd-wordcard__cz { font-size: 14px; font-weight: 500; color: var(--slate-500); }
.pd-wordcard__audio {
  position: absolute; top: 10px; right: 10px;
  display: grid; place-items: center; width: 34px; height: 34px;
  font-size: 16px; border-radius: 999px;
  background: var(--pd-pink-50); border: 2px solid var(--pd-pink-200);
  transition: transform 150ms var(--pd-ease-pop);
}
.pd-wordcard:hover .pd-wordcard__audio { transform: scale(1.12); }
.pd-wordcard.is-playing { border-color: rgb(var(--pd-ac, var(--pd-accent-rgb))); animation: pd-ring 1s ease-in-out infinite; }
.pd-wordcard.is-playing .pd-wordcard__audio { background: rgb(var(--pd-ac, var(--pd-accent-rgb)) / 0.15); border-color: rgb(var(--pd-ac, var(--pd-accent-rgb))); animation: pd-wiggle 0.6s ease-in-out infinite; }
.pd-wordcard.is-playing .pd-wordcard__en { color: rgb(var(--pd-ac, var(--pd-accent-rgb))); }
.pd-wordcard.is-learned { border-color: #86efac; }
.pd-wordcard__check {
  position: absolute; top: -10px; left: -8px;
  display: none; place-items: center; width: 30px; height: 30px;
  background: #16a34a; color: #fff; font-size: 15px; font-weight: 800;
  border: 3px solid #fff; border-radius: 999px;
  box-shadow: 0 3px 8px -2px rgb(22 163 74 / 0.6);
  transform: rotate(-8deg);
}
.pd-wordcard.is-learned .pd-wordcard__check { display: grid; animation: pd-pop 0.4s var(--pd-ease-pop); }

/* ── TOPIC TILE – dlaždice tematického světa ── */
.pd-tile {
  position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 2px;
  padding: 18px 16px 16px;
  background: #fff;
  border: var(--pd-border-w) solid rgb(var(--pd-ac) / 0.25);
  border-bottom: 5px solid rgb(var(--pd-ac) / 0.45);
  border-radius: var(--pd-r-lg);
  box-shadow: var(--pd-shadow-card);
  text-decoration: none;
  transition: transform 180ms var(--pd-ease-pop), box-shadow 180ms ease, border-color 180ms ease;
  overflow: hidden;
}
.pd-tile::before {
  content: ''; position: absolute; right: -22px; top: -22px; width: 90px; height: 90px;
  border-radius: 999px; background: rgb(var(--pd-ac) / 0.10);
  transition: transform 250ms var(--pd-ease-pop);
}
.pd-tile:hover { transform: translateY(-4px) rotate(-0.6deg); box-shadow: 0 16px 28px -12px rgb(var(--pd-ac) / 0.45); border-color: rgb(var(--pd-ac) / 0.55); }
.pd-tile:hover::before { transform: scale(1.35); }
.pd-tile:active { transform: translateY(0); }
.pd-tile__emoji { font-size: 44px; line-height: 1; margin-bottom: 8px; transition: transform 250ms var(--pd-ease-pop); }
.pd-tile:hover .pd-tile__emoji { transform: scale(1.15) rotate(6deg); }
.pd-tile__cz { font-family: var(--pd-display); font-weight: 800; font-size: 20px; color: var(--slate-900); line-height: 1.1; }
.pd-tile__en { font-size: 13px; font-weight: 600; color: rgb(var(--pd-ac)); font-style: italic; }
.pd-tile__count {
  position: absolute; top: 12px; right: 12px;
  font-size: 12px; font-weight: 700; color: rgb(var(--pd-ac));
  background: rgb(var(--pd-ac) / 0.10); border-radius: 999px; padding: 3px 9px;
}

/* ── BAND CHIPS – filtr věkových pásem ── */
.pd-band {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 48px; padding: 8px 18px;
  font-family: var(--pd-display); font-weight: 700; font-size: 16px; color: var(--slate-700);
  background: #fff; border: var(--pd-border-w) solid var(--slate-200); border-radius: 999px;
  transition: all 150ms ease; text-decoration: none; user-select: none;
  white-space: nowrap;
}
.pd-band__age { font-family: var(--pd-body); font-size: 12px; font-weight: 500; color: var(--slate-400); }
.pd-band:hover { border-color: rgb(var(--pd-bc) / 0.6); color: var(--slate-900); transform: translateY(-1px); }
.pd-band.is-active {
  background: rgb(var(--pd-bc) / 0.10);
  border-color: rgb(var(--pd-bc));
  color: rgb(var(--pd-bc));
  box-shadow: 0 3px 0 rgb(var(--pd-bc) / 0.35);
}
.pd-band.is-active .pd-band__age { color: rgb(var(--pd-bc) / 0.75); }
.pd-band--1 { --pd-bc: var(--pd-band-1); }
.pd-band--2 { --pd-bc: var(--pd-band-2); }
.pd-band--3 { --pd-bc: var(--pd-band-3); }
.pd-band--all { --pd-bc: var(--pd-accent-rgb); }
.pd-band__count { font-family: var(--pd-body); font-size: 12px; font-weight: 700; background: rgb(var(--pd-bc, 100 116 139) / 0.12); color: rgb(var(--pd-bc, 71 85 105)); border-radius: 999px; padding: 2px 8px; }

/* Badge varianta (na kartách) */
.pd-band-badge {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 999px;
  background: rgb(var(--pd-bc) / 0.12); color: rgb(var(--pd-bc));
}

/* ── PROGRESS – chunky ukazatel ── */
.pd-progress { height: 14px; background: #fff; border: 2px solid var(--pd-pink-100); border-radius: 999px; overflow: hidden; }
.pd-progress__fill {
  height: 100%; width: 0%;
  background: linear-gradient(90deg, var(--pd-pink-400), var(--pd-rose-500));
  border-radius: 999px;
  transition: width 0.5s var(--pd-ease-pop);
}
.pd-progress--green .pd-progress__fill { background: linear-gradient(90deg, #4ade80, #16a34a); }

/* ── CONTENT CARD – řádkové karty na hubu (kvízy, písničky…) ── */
.pd-rowcard {
  display: flex; flex-direction: column; gap: 4px;
  padding: 16px; background: #fff;
  border: var(--pd-border-w) solid var(--slate-200); border-bottom-width: 4.5px;
  border-radius: var(--pd-r);
  box-shadow: var(--pd-shadow-card);
  text-decoration: none;
  transition: transform 160ms var(--pd-ease-pop), border-color 160ms ease, box-shadow 160ms ease;
}
.pd-rowcard:hover { transform: translateY(-3px); border-color: rgb(var(--pd-ac, var(--pd-accent-rgb)) / 0.5); box-shadow: 0 14px 24px -12px rgb(var(--pd-ac, var(--pd-accent-rgb)) / 0.4); }
.pd-rowcard__emoji { font-size: 34px; line-height: 1; }
.pd-rowcard__title { font-family: var(--pd-display); font-weight: 700; font-size: 17px; color: var(--slate-900); line-height: 1.2; }
.pd-rowcard__meta { font-size: 12.5px; color: var(--slate-500); display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.pd-rowcard__go { font-family: var(--pd-display); font-weight: 700; font-size: 14px; color: rgb(var(--pd-ac)); margin-top: 6px; }

/* ── SEKČNÍ HLAVIČKA kid-zone ── */
.pd-section-head { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.pd-section-head .pd-h2 { display: flex; align-items: center; gap: 10px; }
.pd-section-head__more { margin-left: auto; font-weight: 600; font-size: 14px; color: var(--pd-accent-deep); white-space: nowrap; }
.pd-section-head__more:hover { color: var(--pd-pink-700); }

/* ── Breadcrumbs v kid zone (vizuální varianta produkčních drobečků) ── */
.pd-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 13px; color: var(--slate-500); padding: 16px 0 0; }
.pd-crumbs a { color: var(--slate-500); text-decoration: none; }
.pd-crumbs a:hover { color: var(--blue-600); }
.pd-crumbs .sep { color: var(--slate-300); }
.pd-crumbs .current { color: var(--slate-700); font-weight: 500; }

/* ============================================================
   PARENT LAYER – klidná vrstva (vizuální slovník hlavního webu)
   ============================================================ */
.pd-parent { background: #fff; border-top: 1px solid var(--slate-200); }
.pd-parent__inner { max-width: 72rem; margin: 0 auto; padding: 40px 1rem 8px; }
.pd-parent-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em;
  color: var(--pd-accent-deep);
  background: var(--pd-pink-50); border: 1px solid var(--pd-pink-200);
  border-radius: 999px; padding: 4px 12px; margin-bottom: 12px;
}
.pd-parent h2 { font-size: 24px; font-weight: 800; letter-spacing: -0.02em; color: var(--slate-900); margin-bottom: 8px; }
.pd-parent h3 { font-size: 17px; font-weight: 700; color: var(--slate-900); }
.pd-parent p { color: var(--slate-600); line-height: 1.65; }
.pd-parent .lead { font-size: 17px; }
.pd-parent-note2 { max-width: 760px; font-size: 16px; color: var(--slate-600); line-height: 1.7; margin-top: 12px; }
.pd-article-ad-top { max-width: 760px; margin: 24px auto 0; padding: 0 1rem; }
.pd-article-ad-mid { margin: 28px 0; }

.pd-tipcard {
  background: var(--slate-50); border: 1px solid var(--slate-200); border-radius: 12px; padding: 18px;
}
.pd-parent-grid { display: grid; gap: 14px; margin: 20px 0 8px; }
@media (min-width: 768px) { .pd-parent-grid { grid-template-columns: repeat(3, 1fr); } }
.pd-tipcard__num {
  display: inline-grid; place-items: center; width: 28px; height: 28px;
  background: var(--pd-pink-100); color: var(--pd-accent-deep);
  font-weight: 800; font-size: 14px; border-radius: 999px; margin-bottom: 10px;
}
.pd-tipcard p { font-size: 14px; line-height: 1.6; }

.pd-linkcard {
  display: flex; align-items: center; gap: 14px;
  background: #fff; border: 1px solid var(--slate-200); border-radius: 12px; padding: 14px 16px;
  text-decoration: none; transition: all 200ms ease;
}
.pd-linkcard:hover { box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1); border-color: var(--slate-300); }
.pd-linkcard__emoji { font-size: 26px; }
.pd-linkcard__title { font-weight: 700; font-size: 15px; color: var(--slate-900); }
.pd-linkcard__sub { font-size: 13px; color: var(--slate-500); }
.pd-linkcard__arrow { margin-left: auto; color: var(--slate-400); transition: transform 200ms ease; }
.pd-linkcard:hover .pd-linkcard__arrow { transform: translateX(3px); color: var(--pd-accent-deep); }
.pd-parent-links2 { display: grid; gap: 12px; margin-top: 20px; }
@media (min-width: 768px) { .pd-parent-links2 { grid-template-columns: repeat(2, 1fr); } }

/* ============================================================
   KVÍZ – restyle stávajícího enginu (quiz-core + matching.js)
   ============================================================ */
.pd-quiz-col { display: flex; flex-direction: column; gap: 12px; }
.pd-match {
  display: flex; align-items: center; gap: 10px;
  min-height: 56px; padding: 10px 16px;
  font-family: var(--pd-display); font-weight: 700; font-size: 18px;
  background: #fff; border: var(--pd-border-w) solid var(--slate-200); border-bottom-width: 4.5px;
  border-radius: var(--pd-r-sm);
  transition: transform 130ms ease, border-color 150ms ease, background 150ms ease, box-shadow 150ms ease;
  width: 100%; text-align: left; user-select: none;
}
.pd-match__emoji { font-size: 26px; }
.pd-match__color { display: inline-block; width: 22px; height: 22px; border-radius: 999px; flex-shrink: 0; }
.pd-match--cz { color: var(--slate-800); }
.pd-match--en { color: var(--pd-accent-deep); justify-content: center; text-align: center; }
.pd-match:hover:not(:disabled) { transform: translateY(-2px); border-color: var(--pd-pink-300); }
.pd-match.is-selected {
  border-color: var(--pd-pink-500) !important; background: var(--pd-pink-50) !important;
  animation: pd-ring 1s ease-in-out infinite;
  transform: scale(1.02);
}
.pd-match.is-correct {
  border-color: #4ade80 !important; background: #f0fdf4 !important; color: #15803d !important;
  animation: pd-pop 0.4s var(--pd-ease-pop); cursor: default;
}
.pd-match.is-wrong { border-color: #f87171 !important; background: #fef2f2 !important; animation: pd-shake 0.4s ease-in-out; }
.pd-quiz-svg { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 10; }

/* score circle */
.pd-score-ring { transform: rotate(-90deg); }
.pd-score-ring circle { fill: none; stroke-width: 12; stroke-linecap: round; }
.pd-score-ring .track { stroke: var(--pd-pink-100); }
.pd-score-ring .fill { stroke: url(#pd-score-grad); transition: stroke-dashoffset 1s var(--pd-ease-pop); }

/* ── Kvíz: start / hra / výsledky (šablona 03) ── */
.pd-qstart { text-align: center; padding-block: 36px 48px; }
.pd-qstart__emoji { font-size: 96px; line-height: 1; display: inline-block; animation: pd-float 2.6s ease-in-out infinite; }
.pd-qstart h1 { margin: 10px 0 8px; }
.pd-qstart__sub { font-size: 17px; color: var(--slate-600); }
.pd-qstart__meta { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin: 18px 0 28px; }
.pd-qstart__actions { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.pd-qstart__intro { max-width: 560px; margin: 10px auto 0; font-size: 15px; color: var(--slate-600); line-height: 1.6; }
.pd-qstart__intro a { color: var(--pd-accent-deep); font-weight: 600; }
.pd-qstart__best { margin-top: 14px; font-family: var(--pd-display); font-weight: 700; font-size: 15px; color: var(--pd-accent-deep); }

.pd-qgame { max-width: 760px; margin: 0 auto; padding-block: 20px 48px; }
.pd-qgame__top { display: flex; align-items: center; gap: 14px; margin-bottom: 8px; }
.pd-qgame__title { font-family: var(--pd-display); font-weight: 800; font-size: 20px; }
.pd-qgame__streak { margin-left: auto; font-family: var(--pd-display); font-weight: 800; font-size: 17px; color: #ea580c; }
.pd-qgame__hint { text-align: center; font-size: 14.5px; color: var(--slate-500); margin: 10px 0 18px; }
.pd-arena { position: relative; }
.pd-arena__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 56px; }
@media (min-width: 640px) { .pd-arena__cols { gap: 14px 96px; } }
.pd-qgame__status { display: flex; align-items: center; gap: 12px; margin-top: 22px; }
.pd-qgame__status .pd-progress { flex: 1; }
.pd-qgame__counter { font-family: var(--pd-display); font-weight: 700; font-size: 15px; color: var(--pd-accent-deep); white-space: nowrap; }

.pd-qresults { text-align: center; padding-block: 36px 48px; }
.pd-qresults__ring { position: relative; width: 190px; height: 190px; margin: 8px auto 4px; }
.pd-qresults__score {
  position: absolute; inset: 0; display: grid; place-items: center;
  font-family: var(--pd-display); font-weight: 800; font-size: 46px; color: var(--pd-accent-deep);
}
.pd-qresults__stars { font-size: 38px; letter-spacing: 6px; margin: 6px 0 2px; }
.pd-qresults h2 { margin-bottom: 4px; }
.pd-qresults__sub { color: var(--slate-500); font-size: 15px; }
.pd-qresults__actions { display: flex; flex-direction: column; align-items: center; gap: 14px; margin-top: 26px; }
.pd-qparent { max-width: 760px; margin: 0 auto; }
.pd-qparent a { color: var(--blue-600); }
.pd-qparent a:hover { color: var(--blue-700); }

/* Feedback box quiz-core (#question-feedback dostává Tailwind třídy z core,
   tady jen jemné typografické sladění uvnitř pd kvízu) */
.pd-qgame #question-feedback { font-size: 14.5px; }

/* ============================================================
   ŠABLONA 01 – HUB
   ============================================================ */
.pd-hero { padding-block: 8px 36px; }
.pd-hero__grid { display: flex; flex-direction: column; gap: 28px; margin-top: 20px; }
@media (min-width: 1024px) { .pd-hero__grid { flex-direction: row; align-items: flex-start; gap: 40px; } }
.pd-hero__content { flex: 1; min-width: 0; }
.pd-hero__ad { flex-shrink: 0; align-self: center; }
@media (min-width: 1024px) { .pd-hero__ad { align-self: flex-start; } }
.pd-hero h1 { margin: 14px 0 12px; }
.pd-hero__lead { font-size: 17px; color: var(--slate-600); line-height: 1.6; max-width: 620px; text-wrap: pretty; }
.pd-hero__bands { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.pd-hero__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 24px; }

.pd-worlds { padding-block: 8px 44px; }
.pd-worlds__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 768px) { .pd-worlds__grid { grid-template-columns: repeat(3, 1fr); gap: 14px; } }
@media (min-width: 1024px) { .pd-worlds__grid { grid-template-columns: repeat(4, 1fr); } }
.pd-tile--more { background: var(--pd-pink-50); border-color: var(--pd-pink-200); border-bottom-color: var(--pd-pink-300); justify-content: center; align-items: center; text-align: center; }

.pd-ages { padding-block: 36px 8px; }
.pd-ages__grid { display: grid; gap: 14px; margin-top: 16px; }
@media (min-width: 768px) { .pd-ages__grid { grid-template-columns: repeat(3, 1fr); } }
.pd-agecard {
  display: flex; flex-direction: column; gap: 4px; padding: 22px 20px 18px;
  background: #fff; border: var(--pd-border-w) solid rgb(var(--pd-bc) / 0.3);
  border-bottom: 5px solid rgb(var(--pd-bc) / 0.5); border-radius: var(--pd-r-lg);
  box-shadow: var(--pd-shadow-card); text-decoration: none;
  transition: transform 180ms var(--pd-ease-pop), box-shadow 180ms ease;
}
.pd-agecard:hover { transform: translateY(-4px); box-shadow: 0 16px 28px -12px rgb(var(--pd-bc) / 0.45); }
.pd-agecard__emoji { font-size: 40px; line-height: 1; margin-bottom: 6px; }
.pd-agecard__title { font-family: var(--pd-display); font-weight: 800; font-size: 21px; color: var(--slate-900); }
.pd-agecard__age { font-size: 13px; font-weight: 700; color: rgb(var(--pd-bc)); }
.pd-agecard__desc { font-size: 14px; color: var(--slate-500); line-height: 1.5; margin-top: 4px; }
.pd-agecard__go { font-weight: 700; font-size: 14px; color: rgb(var(--pd-bc)); margin-top: 10px; }

.pd-row { padding-block: 26px 10px; }
.pd-row__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 768px) { .pd-row__grid { grid-template-columns: repeat(4, 1fr); gap: 14px; } }
@media (min-width: 768px) { .pd-row__grid--3 { grid-template-columns: repeat(3, 1fr); } }
.pd-parent-links { display: grid; gap: 12px; margin-top: 20px; }
@media (min-width: 768px) { .pd-parent-links { grid-template-columns: repeat(2, 1fr); } }

/* ============================================================
   ŠABLONA 02 – OBRÁZKOVÝ SLOVNÍČEK
   ============================================================ */
.pd-dict-hero { padding-block: 8px 24px; }
.pd-dict-hero h1 { margin: 14px 0 6px; }
.pd-dict-hero__sub { font-size: 17px; color: var(--slate-600); }
.pd-dict-hero__badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; align-items: center; }
.pd-dict-progress { display: flex; align-items: center; gap: 12px; margin-top: 18px; max-width: 420px; }
.pd-dict-progress .pd-progress { flex: 1; }
.pd-dict-progress__label { font-family: var(--pd-display); font-weight: 700; font-size: 14px; color: var(--pd-accent-deep); white-space: nowrap; }

.pd-dict-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px;
  padding-block: 4px 36px;
}
@media (min-width: 640px) { .pd-dict-grid { grid-template-columns: repeat(3, 1fr); gap: 14px; } }
@media (min-width: 1024px) { .pd-dict-grid { grid-template-columns: repeat(4, 1fr); } }

/* Mini aktivita „Najdi a klikni" */
.pd-activity { margin: 0 auto 44px; padding: 26px 20px 30px; text-align: center; }
.pd-activity__q { display: flex; justify-content: center; margin: 16px 0 22px; }
.pd-activity__opts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; max-width: 480px; margin: 0 auto; }
@media (min-width: 640px) { .pd-activity__opts { grid-template-columns: repeat(4, 1fr); max-width: 560px; } }
.pd-pick {
  display: grid; place-items: center;
  min-height: 96px; font-size: 54px;
  background: #fff; border: var(--pd-border-w) solid var(--slate-200); border-bottom-width: 5px;
  border-radius: var(--pd-r-lg);
  transition: transform 150ms var(--pd-ease-pop), border-color 150ms ease, background 150ms ease;
}
.pd-pick:hover { transform: translateY(-3px); border-color: var(--pd-pink-300); }
.pd-pick.is-correct { border-color: #4ade80 !important; background: #f0fdf4 !important; animation: pd-pop 0.4s var(--pd-ease-pop); }
.pd-pick.is-wrong { border-color: #f87171 !important; background: #fef2f2 !important; animation: pd-shake 0.4s ease-in-out; }
.pd-activity__feedback { min-height: 34px; margin-top: 18px; font-family: var(--pd-display); font-weight: 800; font-size: 22px; }
.pd-activity__feedback.ok { color: #16a34a; }
.pd-activity__feedback.ko { color: #dc2626; }

/* ============================================================
   ŠABLONA 04 – PÍSNIČKA
   ============================================================ */
.pd-song-hero { padding-block: 8px 22px; }
.pd-song-hero h1 { margin: 14px 0 6px; }
.pd-song-hero__sub { font-size: 17px; color: var(--slate-600); }
.pd-song-controls { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }

.pd-verse {
  max-width: 760px; margin: 0 auto 18px; padding: 22px 18px 24px;
}
@media (min-width: 640px) { .pd-verse { padding: 26px 30px 28px; } }
.pd-verse__label { margin-bottom: 14px; }
.pd-line { display: flex; align-items: flex-start; gap: 12px; padding: 7px 0; }
.pd-line__play {
  flex-shrink: 0; display: grid; place-items: center;
  width: 44px; height: 44px; margin-top: 2px;
  font-size: 18px; border-radius: 999px;
  background: #fff; border: 2px solid var(--slate-200);
  transition: transform 150ms var(--pd-ease-pop), border-color 150ms ease, background 150ms ease;
}
.pd-line__play:hover { border-color: rgb(var(--pd-ac)); transform: scale(1.08); }
.pd-line__play.is-playing { background: rgb(var(--pd-ac) / 0.12); border-color: rgb(var(--pd-ac)); animation: pd-wiggle 0.6s ease-in-out infinite; }
.pd-line__text { font-family: var(--pd-display); font-weight: 700; font-size: clamp(21px, 4.5vw, 28px); line-height: 1.35; color: var(--slate-800); }
.pd-line__move { font-size: 22px; margin-left: 6px; }
.pd-key {
  display: inline-block; padding: 0 3px; border-radius: 8px; cursor: pointer;
  color: rgb(var(--pd-ac));
  box-shadow: inset 0 -3px 0 rgb(var(--pd-ac) / 0.35);
  transition: background 140ms ease;
  border: none; background: transparent; font: inherit;
}
.pd-key:hover { background: rgb(var(--pd-ac) / 0.10); }
.pd-key.is-playing { background: rgb(var(--pd-ac) / 0.16); animation: pd-ring 1s ease-in-out infinite; }

.pd-vocab { max-width: 760px; margin: 0 auto; padding-block: 14px 40px; }
.pd-vocab__chips { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 16px; }

.pd-moves { display: grid; gap: 12px; margin: 18px 0 8px; }
@media (min-width: 768px) { .pd-moves { grid-template-columns: repeat(2, 1fr); } }
.pd-move { display: flex; gap: 12px; align-items: flex-start; background: var(--slate-50); border: 1px solid var(--slate-200); border-radius: 12px; padding: 14px 16px; }
.pd-move__emoji { font-size: 26px; }
.pd-move p { font-size: 14.5px; line-height: 1.55; }
.pd-move strong { color: var(--slate-900); }

/* ============================================================
   ŠABLONA 05 – POHÁDKA (první čtení)
   ============================================================ */
.pd-story-hero { padding-block: 8px 22px; }
.pd-story-hero h1 { margin: 14px 0 6px; }
.pd-story-hero__sub { font-size: 17px; color: var(--slate-600); }
.pd-story-controls { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; align-items: center; }

.pd-story { max-width: 720px; margin: 0 auto; padding-bottom: 8px; }
.pd-illu {
  display: grid; place-items: center; gap: 4px;
  height: clamp(180px, 40vw, 300px); margin-bottom: 22px;
  border: 3px dashed rgb(var(--pd-ac, var(--pd-ac-orange)) / 0.4);
  border-radius: var(--pd-r-lg);
  background: rgb(var(--pd-ac, var(--pd-ac-orange)) / 0.06);
  overflow: hidden;
}
.pd-illu__emoji { font-size: 64px; line-height: 1; }
.pd-illu img { width: 100%; height: 100%; object-fit: cover; }
.pd-sentence {
  display: flex; align-items: flex-start; gap: 12px;
  width: 100%; text-align: left;
  padding: 12px 14px; margin-bottom: 10px;
  background: #fff; border: var(--pd-border-w) solid var(--slate-200); border-bottom-width: 4px;
  border-radius: var(--pd-r);
  transition: transform 140ms ease, border-color 150ms ease, background 150ms ease;
}
.pd-sentence:hover { border-color: rgb(var(--pd-ac, var(--pd-ac-orange)) / 0.6); transform: translateY(-1px); }
.pd-sentence.is-playing { border-color: rgb(var(--pd-ac, var(--pd-ac-orange))); background: #fffbf7; animation: pd-ring 1s ease-in-out infinite; }
.pd-sentence__num {
  flex-shrink: 0; display: grid; place-items: center; width: 30px; height: 30px; margin-top: 3px;
  font-family: var(--pd-display); font-weight: 800; font-size: 14px;
  background: rgb(var(--pd-ac, var(--pd-ac-orange)) / 0.12); color: rgb(var(--pd-ac, var(--pd-ac-orange))); border-radius: 999px;
}
.pd-sentence__en { font-family: var(--pd-display); font-weight: 700; font-size: clamp(19px, 4vw, 24px); line-height: 1.4; color: var(--slate-800); }
.pd-sentence__icon { margin-left: auto; flex-shrink: 0; font-size: 18px; opacity: 0.5; margin-top: 6px; }
.pd-sentence:hover .pd-sentence__icon, .pd-sentence.is-playing .pd-sentence__icon { opacity: 1; }

/* Otázky na porozumění */
.pd-questions { max-width: 720px; margin: 26px auto 0; padding: 24px 18px 28px; }
@media (min-width: 640px) { .pd-questions { padding: 28px 30px 32px; } }
.pd-q { margin-top: 20px; }
.pd-q__row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }
.pd-q__opts { display: flex; gap: 12px; flex-wrap: wrap; }
.pd-q__opts .pd-pick { min-height: 76px; width: 86px; font-size: 42px; border-radius: var(--pd-r); }
.pd-q__feedback { font-family: var(--pd-display); font-weight: 800; font-size: 18px; min-height: 26px; margin-top: 8px; }
.pd-q__feedback.ok { color: #16a34a; }
.pd-q__feedback.ko { color: #dc2626; }

.pd-glossary { max-width: 720px; margin: 0 auto; padding-block: 30px 40px; }
.pd-glossary__chips { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 14px; }

/* ============================================================
   ŠABLONA 06 – K VYTIŠTĚNÍ (A4 náhled + tisk)
   ============================================================ */
.pd-print-hero { padding-block: 8px 24px; }
.pd-print-hero h1 { margin: 14px 0 6px; }
.pd-print-hero__sub { font-size: 17px; color: var(--slate-600); max-width: 620px; }
.pd-print-controls { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 20px; }
.pd-print-tabs { display: flex; gap: 10px; }
.pd-cz-check {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; font-size: 14.5px; color: var(--slate-700);
  background: #fff; border: 2px solid var(--slate-200); border-radius: 999px; padding: 10px 16px;
  cursor: pointer; user-select: none;
}
.pd-cz-check input { width: 18px; height: 18px; accent-color: var(--pd-pink-600); }

.pd-preview-wrap { padding-block: 10px 44px; }
.pd-sheet-viewport { margin: 0 auto; overflow: hidden; }
.pd-sheet-scaler { transform-origin: top left; }
.pd-sheet {
  width: 210mm; min-height: 297mm; padding: 9mm 11mm;
  background: #fff; border: 1px solid var(--slate-200);
  box-shadow: 0 18px 40px -18px rgb(15 23 42 / 0.25);
  display: flex; flex-direction: column;
  font-family: var(--pd-body);
}
.pd-sheet__head { display: flex; align-items: baseline; gap: 8px; padding: 0 1mm 4mm; }
.pd-sheet__title { font-family: var(--pd-display); font-weight: 800; font-size: 16pt; color: var(--slate-900); }
.pd-sheet__sub { font-size: 9.5pt; color: var(--slate-500); }
.pd-sheet__grid { flex: 1; display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 1fr; }
.pd-sheet__grid--pexeso { grid-template-columns: repeat(4, 1fr); }
.pd-cutcard {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2mm;
  border: 1.2pt dashed var(--slate-300); margin: -0.6pt;
  padding: 4mm 2mm; text-align: center;
}
.pd-cutcard__emoji { font-size: 46pt; line-height: 1; }
.pd-cutcard__en { font-family: var(--pd-display); font-weight: 800; font-size: 17pt; color: var(--slate-900); line-height: 1.1; }
.pd-cutcard__cz { font-size: 9.5pt; color: var(--slate-500); display: none; }
.with-cz .pd-cutcard__cz { display: block; }
.pd-sheet__grid--pexeso .pd-cutcard__emoji { font-size: 30pt; }
.pd-sheet__grid--pexeso .pd-cutcard__en { font-size: 13pt; }
.pd-sheet__foot {
  display: flex; align-items: center; gap: 6px;
  padding: 4mm 1mm 0; font-size: 8.5pt; color: var(--slate-400);
}
.pd-sheet__foot .mark {
  display: inline-grid; place-items: center; width: 14pt; height: 14pt; border-radius: 4pt;
  background: linear-gradient(135deg, #3b82f6, #9333ea 50%, #ec4899);
  color: #fff; font-weight: 700; font-size: 6.5pt;
}
.pd-sheet__foot .url { color: var(--slate-500); font-weight: 600; }
.pd-sheet__foot .right { margin-left: auto; }

.pd-howto-steps { display: grid; gap: 14px; margin: 20px 0 8px; }
@media (min-width: 768px) { .pd-howto-steps { grid-template-columns: repeat(3, 1fr); } }

/* TISK – body.pd-print-page nastavuje pro-deti.js na stránkách s .pd-sheet.
   Skryje vše kromě archu; arch je ink-friendly (bílé pozadí, čárkované linky). */
@media print {
  @page { size: A4 portrait; margin: 0; }
  body.pd-print-page { background: #fff; }
  body.pd-print-page header,
  body.pd-print-page footer,
  body.pd-print-page .pd-zone,
  body.pd-print-page .pd-parent,
  body.pd-print-page .ad-container { display: none !important; }
  body.pd-print-page .pd-preview-wrap { padding: 0 !important; }
  body.pd-print-page .pd-sheet-viewport { height: auto !important; max-width: none !important; overflow: visible; }
  body.pd-print-page .pd-sheet-scaler { transform: none !important; }
  body.pd-print-page .pd-sheet { box-shadow: none; border: none; width: 210mm; height: 297mm; }
  body.pd-print-page .pd-sheet.hidden { display: none !important; }
}

/* ============================================================
   ŠABLONA 07 – TŘÍDNÍ LANDING (rodičovský portál)
   ============================================================ */
.pd-grade-hero { background: linear-gradient(180deg, var(--pd-pink-50) 0%, #fff 100%); border-bottom: 1px solid var(--slate-200); }
.pd-grade-hero__inner { padding-block: 8px 36px; }
.pd-grade-hero h1 { font-size: clamp(30px, 5vw, 40px); font-weight: 800; letter-spacing: -0.02em; margin: 14px 0 10px; color: var(--slate-900); }
.pd-grade-hero__lead { font-size: 17px; color: var(--slate-600); line-height: 1.65; max-width: 680px; text-wrap: pretty; }

.pd-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--slate-200); border: 1px solid var(--slate-200); border-radius: 14px; overflow: hidden; margin-top: 26px; max-width: 760px; }
@media (min-width: 768px) { .pd-stats { grid-template-columns: repeat(4, 1fr); } }
.pd-stat { background: #fff; padding: 16px 18px; }
.pd-stat__n { font-weight: 800; font-size: 26px; color: var(--pd-accent-deep); letter-spacing: -0.02em; }
.pd-stat__l { font-size: 13px; font-weight: 600; color: var(--slate-700); margin-top: 2px; }
.pd-stat__s { font-size: 12px; color: var(--slate-400); }

.pd-grade-section { padding-block: 34px 6px; }
.pd-grade-section h2 { font-size: 24px; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 6px; color: var(--slate-900); }
.pd-grade-section .sub { color: var(--slate-500); font-size: 14.5px; margin-bottom: 18px; }

.pd-checklist { display: grid; gap: 8px 24px; max-width: 760px; }
@media (min-width: 768px) { .pd-checklist { grid-template-columns: repeat(2, 1fr); } }
.pd-check { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; color: var(--slate-700); line-height: 1.55; padding: 6px 0; }
.pd-check::before { content: '✓'; flex-shrink: 0; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 999px; background: #dcfce7; color: #15803d; font-weight: 800; font-size: 13px; margin-top: 1px; }

.pd-grade-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 768px) { .pd-grade-row { grid-template-columns: repeat(4, 1fr); gap: 14px; } }

.pd-routine { counter-reset: step; display: grid; gap: 12px; max-width: 760px; }
.pd-routine-step { display: flex; gap: 14px; background: #fff; border: 1px solid var(--slate-200); border-radius: 12px; padding: 16px 18px; }
.pd-routine-step::before {
  counter-increment: step; content: counter(step);
  flex-shrink: 0; display: grid; place-items: center; width: 32px; height: 32px;
  background: var(--pd-pink-100); color: var(--pd-accent-deep); font-weight: 800; border-radius: 999px;
}
.pd-routine-step h3 { font-size: 15.5px; font-weight: 700; margin-bottom: 2px; color: var(--slate-900); }
.pd-routine-step p { font-size: 14px; color: var(--slate-600); line-height: 1.55; }

/* ============================================================
   ŠABLONA 08 – PRŮVODCE PRO RODIČE (článek)
   ============================================================ */
.pd-article-hero { background: linear-gradient(180deg, var(--pd-pink-50) 0%, #fff 100%); border-bottom: 1px solid var(--slate-200); }
.pd-article-hero__inner { padding-block: 8px 32px; max-width: 760px; }
.pd-article-hero h1 { font-size: clamp(28px, 5vw, 38px); font-weight: 800; letter-spacing: -0.02em; line-height: 1.2; margin: 14px 0 12px; text-wrap: pretty; color: var(--slate-900); }
.pd-article-meta { display: flex; flex-wrap: wrap; gap: 8px 16px; font-size: 13.5px; color: var(--slate-500); margin-bottom: 14px; }
.pd-article-lead { font-size: 18px; color: var(--slate-600); line-height: 1.65; text-wrap: pretty; }

.pd-article { max-width: 760px; margin: 0 auto; padding: 28px 1rem 0; }
.pd-article section { margin-bottom: 36px; }
.pd-article h2 { font-size: 23px; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 12px; scroll-margin-top: 84px; color: var(--slate-900); }
.pd-article h2::after { content: ''; display: block; width: 44px; height: 4px; border-radius: 2px; background: linear-gradient(90deg, var(--pd-pink-400), var(--pd-rose-500)); margin-top: 8px; }
.pd-article p { font-size: 16.5px; color: var(--slate-700); line-height: 1.7; margin-bottom: 14px; }
.pd-article em { color: var(--slate-900); }
.pd-article ul { padding-left: 22px; margin-bottom: 14px; list-style: disc; }
.pd-article li { font-size: 16px; color: var(--slate-700); line-height: 1.65; margin-bottom: 8px; }
.pd-article a { color: var(--blue-600); }
.pd-article a:hover { color: var(--blue-700); }

/* Kid varianta hlavičky (obsahové články v dětské zóně) */
.pd-article-hero--kid { background: linear-gradient(180deg, #fff7ed 0%, var(--pd-pink-50) 45%, #fff 100%); }

/* Markdown prvky v těle dětského článku (tabulky, citace, kód, h3, ol, hr) */
.pd-article h3 { font-size: 18px; font-weight: 700; color: var(--slate-900); margin: 22px 0 8px; scroll-margin-top: 84px; }
.pd-article strong { color: var(--slate-900); font-weight: 700; }
.pd-article ol { padding-left: 22px; margin-bottom: 14px; list-style: decimal; }
.pd-article ol li { font-size: 16px; color: var(--slate-700); line-height: 1.65; margin-bottom: 8px; }
.pd-article hr { border: 0; border-top: 1px solid var(--slate-200); margin: 28px 0; }

/* Příkladové věty (blockquote) – nejčastější prvek, callout s barevným okrajem */
.pd-article blockquote {
  margin: 14px 0; padding: 12px 16px;
  background: var(--pd-pink-50); border-left: 4px solid var(--pd-pink-400);
  border-radius: 0 10px 10px 0;
}
.pd-article blockquote p { margin-bottom: 8px; font-size: 16px; color: var(--slate-800); }
.pd-article blockquote p:last-child { margin-bottom: 0; }
.pd-article blockquote em { font-style: italic; color: var(--pd-accent-deep); }

/* Tabulky frází/slovíček */
.pd-article table {
  width: 100%; border-collapse: collapse; margin: 16px 0; font-size: 15.5px;
  border: 1px solid var(--slate-200); border-radius: 12px; overflow: hidden;
}
.pd-article thead th {
  background: var(--pd-pink-50); color: var(--slate-900); font-weight: 700;
  text-align: left; padding: 10px 14px; border-bottom: 1px solid var(--slate-200);
}
.pd-article tbody td { padding: 10px 14px; border-bottom: 1px solid var(--slate-100); color: var(--slate-700); vertical-align: top; }
.pd-article tbody tr:last-child td { border-bottom: 0; }
.pd-article tbody tr:nth-child(even) { background: var(--slate-50); }

/* Kód a předformátovaný blok (např. týdenní kalendář) */
.pd-article code { background: var(--slate-100); padding: 1px 6px; border-radius: 6px; font-size: 0.92em; color: var(--pd-accent-deep); }
.pd-article pre {
  background: var(--slate-900); color: #f1f5f9; padding: 16px; border-radius: 12px;
  overflow-x: auto; margin: 16px 0; font-size: 13.5px; line-height: 1.6;
}
.pd-article pre code { background: none; padding: 0; color: inherit; }

@media (max-width: 640px) { .pd-article table { font-size: 13.5px; } .pd-article thead th, .pd-article tbody td { padding: 8px 10px; } }

.pd-toc { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.pd-toc a {
  font-size: 13.5px; font-weight: 600; color: var(--slate-600); text-decoration: none;
  background: #fff; border: 1px solid var(--slate-200); border-radius: 999px; padding: 6px 14px;
  transition: all 150ms ease;
}
.pd-toc a:hover { border-color: var(--pd-pink-300); color: var(--pd-accent-deep); background: var(--pd-pink-50); }

.pd-summary {
  background: var(--pd-pink-50); border: 1px solid var(--pd-pink-200); border-radius: 14px;
  padding: 20px 22px; margin: 18px 0;
}
.pd-summary__label { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; color: var(--pd-accent-deep); margin-bottom: 8px; }
.pd-summary p { margin-bottom: 0 !important; }

.pd-agetable { display: grid; gap: 12px; margin: 18px 0; }
@media (min-width: 640px) { .pd-agetable { grid-template-columns: repeat(3, 1fr); } }
.pd-agecol { background: #fff; border: 1px solid var(--slate-200); border-top: 4px solid rgb(var(--pd-bc)); border-radius: 12px; padding: 16px 18px; }
.pd-agecol h3 { font-size: 15.5px; font-weight: 700; margin-bottom: 2px; color: var(--slate-900); }
.pd-agecol .age { font-size: 12.5px; font-weight: 700; color: rgb(var(--pd-bc)); margin-bottom: 8px; }
.pd-agecol p { font-size: 14px !important; line-height: 1.6 !important; color: var(--slate-600) !important; margin-bottom: 8px !important; }
.pd-agecol a { font-size: 13.5px; font-weight: 600; }

/* FAQ accordion */
.pd-faq { display: grid; gap: 10px; }
.pd-faq details { background: #fff; border: 1px solid var(--slate-200); border-radius: 12px; overflow: hidden; }
.pd-faq summary {
  display: flex; align-items: center; gap: 10px; justify-content: space-between;
  padding: 16px 18px; cursor: pointer; font-weight: 700; font-size: 15.5px; color: var(--slate-900);
  list-style: none; user-select: none;
}
.pd-faq summary::-webkit-details-marker { display: none; }
.pd-faq summary::after { content: '›'; font-size: 22px; color: var(--slate-400); transform: rotate(90deg); transition: transform 200ms ease; flex-shrink: 0; }
.pd-faq details[open] summary::after { transform: rotate(-90deg); }
.pd-faq details p { padding: 0 18px 16px; margin: 0 !important; font-size: 15px !important; }

/* ============================================================
   ŠABLONA 09 – LISTING PODSEKCE (band filtr)
   ============================================================ */
.pd-list-hero { padding-block: 8px 24px; }
.pd-list-hero h1 { margin: 14px 0 6px; }
.pd-list-hero__sub { font-size: 17px; color: var(--slate-600); max-width: 620px; }
.pd-list-filters { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }

.pd-list-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; padding-block: 4px 40px; }
@media (min-width: 768px) { .pd-list-grid { grid-template-columns: repeat(3, 1fr); gap: 14px; } }
.pd-list-grid .pd-rowcard.is-filtered { display: none; }
.pd-list-empty { grid-column: 1 / -1; text-align: center; padding: 32px 16px; color: var(--slate-500); font-size: 15px; }

/* ============================================================
   ANIMACE
   ============================================================ */
@keyframes pd-ring {
  0%, 100% { box-shadow: 0 0 0 0 rgb(var(--pd-accent-rgb, 249 115 22) / 0.35); }
  50% { box-shadow: 0 0 0 9px rgb(var(--pd-accent-rgb, 249 115 22) / 0); }
}
@keyframes pd-pop {
  0% { transform: scale(0.7); }
  55% { transform: scale(1.12); }
  100% { transform: scale(1); }
}
@keyframes pd-wiggle {
  0%, 100% { transform: rotate(0deg) scale(1.05); }
  25% { transform: rotate(-8deg) scale(1.05); }
  75% { transform: rotate(8deg) scale(1.05); }
}
@keyframes pd-shake {
  0%, 100% { transform: translateX(0); }
  20% { transform: translateX(-7px); }
  40% { transform: translateX(7px); }
  60% { transform: translateX(-5px); }
  80% { transform: translateX(5px); }
}
@keyframes pd-bounce-in {
  0% { opacity: 0; transform: translateY(16px) scale(0.94); }
  60% { transform: translateY(-3px) scale(1.02); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes pd-confetti-fall {
  0% { transform: translateY(-10px) rotate(0deg); opacity: 1; }
  100% { transform: translateY(105vh) rotate(900deg); opacity: 0; }
}
@keyframes pd-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-7px); }
}
.pd-bounce-in { animation: pd-bounce-in 0.45s var(--pd-ease-pop) both; }
.pd-confetti-overlay { position: fixed; inset: 0; pointer-events: none; z-index: 999; overflow: hidden; }
.pd-confetti-piece { position: absolute; top: -12px; animation: pd-confetti-fall ease-out forwards; }

@media (prefers-reduced-motion: reduce) {
  .pd-root *, .pd-root *::before, .pd-root *::after {
    animation: none !important;
    transition-duration: 0.01ms !important;
  }
  .pd-confetti-piece { display: none; }
}

/* Překladová vrstva (písničky, pohádky) */
.pd-cz-line { display: none; font-family: var(--pd-body); font-size: 0.62em; font-weight: 500; color: var(--slate-500); }
body.show-cz .pd-cz-line { display: block; }
