/* ==========================================================================
   English Дети — готовые уроки: плеер (ученик/преподаватель), курсы,
   «герой» урока на странице темы и игры на предложениях.
   Поверх brand.css + portal.css: те же токены и «стикерный» стиль.
   Размеры внутри плеера — в em: в режиме преподавателя всё крупнеет вместе.
   ========================================================================== */

/* ------------------------------------------------ шапка: третий пункт меню */
@media (max-width: 480px) {
  .pt-nav { gap: 2px; }
  .pt-nav a { flex-direction: column; gap: 0; padding: 4px 8px; min-height: 48px; font-size: 12.5px; line-height: 1.1; justify-content: center; }
  .pt-nav .nav-emo { font-size: 19px; line-height: 1.1; }
}
@media (max-width: 350px) {
  .nav-emo { display: inline !important; }
  .pt-nav a { padding: 4px 6px; }
}

/* ------------------------------------------------ плитки тем: отметка урока */
.u-top-r { display: inline-flex; align-items: center; gap: 4px; min-width: 0; }
.u-learned {
  font-family: var(--emoji); font-size: 15px; width: 28px; height: 28px; flex: none; display: grid; place-items: center;
  background: var(--mint-soft); border: 2px solid var(--ink); border-radius: 50%; transform: rotate(-8deg);
}
.u-dots { flex-wrap: wrap; }

/* Домашка в кабинете: плитка + кнопка «▶ Урок» */
.hw-tile { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.hw-tile .u-tile { flex: 1 1 auto; }
.hw-lesson { width: 100%; min-height: 50px; padding: 10px 14px; font-size: 16px; }
.hw-lesson-done { background: var(--mint); color: #fff; border-radius: 50%; width: 22px; height: 22px; display: inline-grid; place-items: center; font-size: 13px; border: 2px solid var(--ink); }

/* Баннер «Уроки» (как алфавит) */
.lessons-banner { background: var(--mint-soft); }
.lessons-banner .abc-banner-l { font-family: var(--emoji); font-size: 34px; }

/* ------------------------------------------------ страница темы: «герой» урока */
.lesson-hero {
  position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 18px;
  margin: 18px 0 8px; padding: 18px 20px; background: var(--paper); border: var(--bw) solid var(--ink);
  border-radius: 28px; box-shadow: var(--shadow-lg);
  background-image: radial-gradient(circle at 0 0, var(--cs) 0 38%, transparent 38.2%);
}
.lh-art { position: relative; flex: none; }
.lh-art .fox { width: 96px; height: 96px; }
.lh-book {
  position: absolute; right: -10px; bottom: -6px; font-family: var(--emoji); font-size: 30px;
  width: 46px; height: 46px; display: grid; place-items: center; background: var(--yellow);
  border: 2px solid var(--ink); border-radius: 14px; transform: rotate(10deg); box-shadow: 2px 2px 0 var(--ink);
}
.lh-txt { min-width: 0; }
.lh-badges { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 6px; }
.lesson-hero h2 { font-size: clamp(21px, 3.2vw, 28px) !important; margin: 0 0 6px; overflow-wrap: anywhere; }
.lh-intro { margin: 0; font-weight: 700; color: var(--ink-2); }
.lh-say {
  display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; min-height: 44px; margin: 0 0 4px;
  background: var(--yellow-soft); border: 2px solid var(--ink); border-radius: 14px; font-weight: 900; color: var(--ink);
  text-align: left; max-width: 100%;
}
.lh-say:hover { background: var(--yellow); }
.lh-ru { display: block; font-size: 15px; }
.lh-btns { display: flex; flex-direction: column; align-items: stretch; gap: 10px; }
.lh-go { font-size: 22px; padding: 18px 34px; animation: lhPulse 2.4s ease-in-out infinite; }
.lh-t { justify-content: center; }
.lesson-hero.is-soon { background-image: none; background: #F6F2EA; border-style: dashed; box-shadow: none; }
.lesson-hero.is-soon .fox { filter: grayscale(.4); }
@keyframes lhPulse {
  0%, 100% { box-shadow: var(--shadow); }
  50% { box-shadow: 4px 4px 0 var(--ink), 0 0 0 8px rgba(255, 122, 48, .22); }
}
@media (max-width: 760px) {
  .lesson-hero { grid-template-columns: auto minmax(0, 1fr); padding: 16px; gap: 12px 14px; }
  .lh-btns { grid-column: 1 / -1; }
  .lh-art .fox { width: 70px; height: 70px; }
  .lh-book { width: 36px; height: 36px; font-size: 22px; right: -8px; }
  .lh-go { width: 100%; }
}
@media (max-width: 560px) {
  /* Фокси выглядывает из-за угла карточки — тексту вся ширина */
  .lesson-hero { grid-template-columns: minmax(0, 1fr); margin-top: 34px; background-image: radial-gradient(circle at 100% 0, var(--cs) 0 30%, transparent 30.2%); }
  .lh-art { position: absolute; right: 10px; top: -30px; }
  .lh-art .fox { width: 66px; height: 66px; }
  .lh-book { width: 30px; height: 30px; font-size: 17px; right: -6px; bottom: -2px; border-radius: 10px; }
  .lh-badges { padding-right: 64px; }
}

/* ------------------------------------------------ курсы: список уроков уровня */
.lsn-lead { margin: -8px 0 20px; font-weight: 700; }
.lsn-foot { margin: 24px 0 0; }
.lc-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 440px), 1fr)); gap: 14px; }
.lc { display: flex; align-items: stretch; gap: 8px; min-width: 0; }
.lc-main {
  flex: 1 1 auto; min-width: 0; display: grid; grid-template-columns: auto auto minmax(0, 1fr) auto; align-items: center; gap: 12px;
  padding: 12px 14px; background: var(--paper); border: var(--bw) solid var(--ink); border-radius: 22px;
  box-shadow: var(--shadow); text-decoration: none; transition: transform .15s, box-shadow .15s;
  background-image: linear-gradient(90deg, var(--cs) 0 64px, transparent 64px);
}
.lc-main:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--ink); }
.lc-main:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--ink); }
.lc-num {
  width: 38px; height: 38px; border-radius: 50%; background: var(--c); color: var(--ct); border: 2px solid var(--ink);
  display: grid; place-items: center; font-weight: 900; font-size: 16px;
}
.lc.is-done .lc-num { background: var(--mint); color: #fff; }
.lc-emo { font-family: var(--emoji); font-size: 26px; letter-spacing: 1px; line-height: 1; }
.lc-txt { min-width: 0; display: flex; flex-direction: column; }
.lc-txt b { font-family: var(--f-head); font-weight: 700; font-size: 16.5px; line-height: 1.15; overflow-wrap: anywhere; }
.lc-txt small { font-weight: 700; color: var(--ink-2); font-size: 14px; line-height: 1.25; }
.lc-badges { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 5px; }
.lc-go {
  width: 46px; height: 46px; border-radius: 50%; background: var(--orange); color: #fff; border: 2px solid var(--ink);
  display: grid; place-items: center; font-size: 18px; box-shadow: 2px 2px 0 var(--ink); font-family: var(--emoji);
}
.lc.is-soon .lc-main { border-style: dashed; box-shadow: none; background: #F6F2EA; }
.lc.is-soon .lc-go { background: var(--paper); color: var(--ink); }
.lc.is-soon .lc-emo { filter: grayscale(.7); opacity: .6; }
.lc-alt {
  flex: none; width: 54px; display: grid; place-items: center; font-family: var(--emoji); font-size: 24px;
  background: var(--paper); border: var(--bw) solid var(--ink); border-radius: 18px; box-shadow: 3px 3px 0 var(--ink); text-decoration: none;
}
.lc-alt:hover { background: var(--yellow-soft); }
@media (max-width: 420px) {
  .lc-main { grid-template-columns: auto minmax(0, 1fr) auto; padding: 10px 12px; gap: 10px; background-image: linear-gradient(90deg, var(--cs) 0 56px, transparent 56px); }
  .lc-emo { display: none; }
  .lc-alt { width: 48px; font-size: 20px; }
  .lc-go { width: 40px; height: 40px; }
}

/* ================================================================ ПЛЕЕР */
.lp { max-width: 980px; margin: 0 auto; font-size: 17px; }
.lp .emo { font-family: var(--emoji); }
.lp-bar { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 10px; margin-bottom: 10px; }
.lp-title { flex: 1 1 auto; }
.lp-tools { display: flex; align-items: center; gap: 8px; flex: none; }
.lp-tool { min-height: 48px; padding: 8px 14px; font-size: 14px; }
.lp-tool.is-on { background: var(--yellow); }
.lp-kid .lp-mode span { display: none; }
.lp-kid .lp-mode { width: 48px; padding: 0; font-size: 20px; font-family: var(--emoji); }

/* Шаги урока */
.lp-steps {
  position: relative; display: grid; grid-template-columns: repeat(var(--n, 9), minmax(0, 1fr)); gap: 2px;
  order: 5; flex: 1 1 100%; min-width: 0; margin: 0; padding: 0 2px;
}
.lp-steps::before {
  content: ''; position: absolute; left: 6%; right: 6%; top: 22px; height: 3px; margin-top: -1.5px;
  background: repeating-linear-gradient(90deg, var(--ink-3) 0 6px, transparent 6px 11px); opacity: .5;
}
.lp-step {
  position: relative; display: flex; flex-direction: column; align-items: center; gap: 2px; min-width: 0; min-height: 44px;
  padding: 4px 0 0; border: 0; background: none; -webkit-tap-highlight-color: transparent; color: var(--ink);
}
/* На узком экране колонка шага уже 44px — невидимая подложка расширяет зону нажатия до 44×44, вид не меняется */
.lp-step::before { content: ''; position: absolute; top: 0; bottom: 0; left: -7px; right: -7px; }
.lp-step i {
  width: 34px; height: 34px; flex: none; border-radius: 50%; border: 2px solid var(--ink); background: var(--paper);
  display: grid; place-items: center; font-size: 16px; font-style: normal; font-family: var(--emoji); line-height: 1;
  transition: transform .2s, background .2s, box-shadow .2s;
}
.lp-step span { display: none; font-size: 12px; font-weight: 800; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.lp-step:hover i { transform: translateY(-2px); }
.lp-step.is-done i { background: var(--cs); }
.lp-step.is-cur i { background: var(--c); transform: scale(1.18); box-shadow: 2px 2px 0 var(--ink); }
.lp-step.is-cur span { color: var(--ink); }
@media (min-width: 700px) { .lp-step span { display: block; } }
@media (max-width: 380px) { .lp-step i { width: 30px; height: 30px; font-size: 14px; } .lp-steps::before { top: 20px; } }

.lp-fox { display: flex; align-items: center; gap: 14px; min-width: 0; }
.lp-fox .bubble { font-size: .95em; }
/* Фокси в шапке слайда: на телефоне — строкой сверху, на широком экране — справа от заголовка */
.sl-h .lp-fox { order: -1; flex: 1 1 100%; margin-bottom: 2px; }
@media (min-width: 900px) {
  .sl-h .lp-fox { order: 0; flex: 0 1 auto; max-width: 46%; margin: 0 0 0 auto; }
}
.lp-body { display: grid; gap: 18px; min-width: 0; }
.lp-main { min-width: 0; }
.lp-stage { position: relative; min-width: 0; touch-action: pan-y pinch-zoom; } /* горизонтальный свайп — листать шаги */

.sl { min-width: 0; }
.sl.in-r { animation: slInR .35s ease; }
.sl.in-l { animation: slInL .35s ease; }
@keyframes slInR { from { opacity: 0; transform: translateX(26px); } to { opacity: 1; transform: none; } }
@keyframes slInL { from { opacity: 0; transform: translateX(-26px); } to { opacity: 1; transform: none; } }

/* Навигация снизу — «прилипает» к низу экрана */
.lp-nav {
  position: sticky; bottom: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: 10px;
  margin-top: 22px; padding: 14px 0 calc(12px + env(safe-area-inset-bottom, 0px));
  background: linear-gradient(rgba(255, 248, 236, 0), var(--cream) 34%);
}
.lp-nav .btn { min-height: 58px; padding: 12px 22px; }
.lp-nav .btn[disabled] { opacity: .35; }
.lp-count { font-weight: 900; font-size: 15px; color: var(--ink-2); font-variant-numeric: tabular-nums; white-space: nowrap; }
@media (max-width: 420px) {
  .lp-nav .btn { padding: 12px 16px; font-size: 16px; }
  .lp-prev span { display: none; }
  .lp-prev { width: 58px; padding: 0 !important; }
}

/* Текст из данных урока (длинные русские фразы, слова без пробелов) переносится, а не распирает экран */
.lp .ru, .intro-ru, .intro-sub, .intro-say, .pt-explain p, .wq-t, .wq-a, .cl-t, .stl, .stq-q, .stq-opt, .spk-t, .spk-model,
.dl-b, .dl-turn, .qc-q, .qc-ru, .fin-card h2, .fin-hw, .fin-par, .tp-tips, .tp-plan, .lp-miss-card, .og-card, .gp-s { overflow-wrap: anywhere; }

/* Перевод: скрыть */
.lp.no-ru .ru { display: none !important; }
.lp-ru { flex: none; min-height: 44px; }
.lp-ru b { font-weight: 900; color: var(--ink-2); }
.lp-ru[aria-pressed="true"] { background: var(--blue-soft); }

/* Заголовок слайда */
.sl-h { display: flex; align-items: center; gap: 12px 14px; margin: 0 0 16px; flex-wrap: wrap; }
.sl-h .grow { min-width: 0; flex: 1 1 180px; }
@media (min-width: 900px) { .sl-h .grow { flex: 0 1 auto; } }
.sl-emo {
  font-family: var(--emoji); font-size: 1.7em; width: 2.1em; height: 2.1em; flex: none; display: grid; place-items: center;
  background: var(--cs); border: var(--bw) solid var(--ink); border-radius: 18px; transform: rotate(-6deg); box-shadow: 3px 3px 0 var(--ink);
}
.lp .sl-h h2 { font-size: 1.55em; margin: 0; line-height: 1.1; overflow-wrap: anywhere; }
.sl-h small { display: block; font-weight: 800; color: var(--ink-2); font-size: .85em; margin-top: 2px; }
.sl-h3 { font-family: var(--f-head); font-size: 1.2em; margin: 26px 0 12px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.sl-ctrl { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin: 18px 0 0; }
.sl-ctrl-top { margin: 0 0 16px; justify-content: flex-start; }
.sl-tip { text-align: center; color: var(--ink-2); font-weight: 700; font-size: .88em; margin: 14px 0 0; }
.lp-seq.is-playing { background: var(--ink); color: #fff; }

.say-sm.is-say, .is-say { animation: sayPop .4s ease; }

/* «Караоке»: пока строка звучит, непроговорённые слова бледнее */
.kw { border-radius: 4px; transition: opacity .15s, background .15s; }
.is-on .kw { opacity: .45; }
.is-on .kw.on { opacity: 1; background: linear-gradient(transparent 60%, rgba(255, 255, 255, .9) 60%); }

/* ---- а) Привет */
.sl-intro { display: grid; gap: 10px; justify-items: center; text-align: center; padding-top: 4px; }
.intro-fox .fox { width: clamp(110px, 32vw, 210px); height: auto; }
.intro-card {
  width: 100%; max-width: 640px; background: var(--cs); border: var(--bw) solid var(--ink); border-radius: 30px;
  box-shadow: var(--shadow-lg); padding: 22px 20px 24px; display: flex; flex-direction: column; align-items: center; gap: 10px;
}
.intro-emo { font-family: var(--emoji); font-size: 2.3em; letter-spacing: 6px; line-height: 1.1; }
.lp .intro-title { font-size: 2.3em; margin: 0; line-height: 1.05; overflow-wrap: anywhere; }
.intro-sub { margin: 0; font-weight: 800; font-size: 1.1em; color: var(--ink-2); }
.intro-say {
  display: flex; align-items: center; gap: 12px; width: 100%; padding: 14px 16px; margin-top: 4px;
  background: var(--paper); border: var(--bw) solid var(--ink); border-radius: 22px; box-shadow: var(--shadow);
  font-weight: 900; font-size: 1.3em; line-height: 1.25; text-align: left; color: var(--ink);
}
.intro-say:hover { background: var(--yellow-soft); }
.intro-say-ico { font-family: var(--emoji); font-size: 1.1em; width: 2em; height: 2em; flex: none; display: grid; place-items: center; background: var(--yellow); border: 2px solid var(--ink); border-radius: 50%; }
.intro-say.is-on { background: var(--yellow); }
.intro-ru { margin: 0; font-weight: 700; color: var(--ink-2); font-size: 1.02em; }
.intro-meta { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.intro-go { margin-top: 8px; font-size: 1.25em; padding: .8em 2.2em; min-height: 64px; animation: lhPulse 2.4s ease-in-out infinite; }
@media (min-width: 760px) {
  .sl-intro { grid-template-columns: auto minmax(0, 1fr); justify-items: start; text-align: left; gap: 26px; align-items: center; }
  .intro-card { align-items: flex-start; }
  .intro-meta { justify-content: flex-start; }
}
@media (max-width: 759px) {
  /* Фокси «выглядывает» из-за карточки — кнопка «Начать» остаётся на первом экране */
  .sl-intro { gap: 0; }
  .intro-fox { position: relative; z-index: 1; margin-bottom: -26px; }
  .intro-fox .fox { width: 92px; }
  .intro-card { padding-top: 30px; gap: 8px; }
  .intro-emo { font-size: 1.9em; }
  .intro-meta .chip { font-size: 13px; padding: 4px 9px; }
}

/* ---- б) Разминка */
.wq-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.wq {
  position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 10px 12px; align-items: center;
  background: var(--paper); border: var(--bw) solid var(--ink); border-radius: 22px; padding: 14px; box-shadow: var(--shadow);
}
.wq-n {
  width: 1.9em; height: 1.9em; border-radius: 50%; display: grid; place-items: center; font-weight: 900;
  background: var(--c); color: var(--ct); border: 2px solid var(--ink); flex: none;
}
.wq-q { display: flex; align-items: center; gap: 12px; min-width: 0; padding: 4px; border: 0; background: none; text-align: left; color: var(--ink); border-radius: 14px; min-height: 48px; }
.wq-q:hover { background: var(--yellow-soft); }
.wq-play, .pe-play {
  font-family: var(--emoji); font-size: 1.05em; width: 2.6em; height: 2.6em; flex: none; display: grid; place-items: center;
  background: var(--yellow); border: 2px solid var(--ink); border-radius: 50%; box-shadow: 2px 2px 0 var(--ink);
}
.wq-t b { display: block; font-size: 1.3em; line-height: 1.2; overflow-wrap: anywhere; }
.wq-t small, .pe-t small, .spk-t small, .stq-q small { display: block; color: var(--ink-2); font-weight: 700; font-size: .92em; line-height: 1.3; }
.wq-slot { grid-column: 1 / -1; display: flex; }
.wq-show { min-height: 48px; }
.wq-a, .spk-model {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 8px 12px; width: 100%;
  background: var(--mint-soft); border: 2px solid var(--ink); border-radius: 16px; animation: popIn .25s ease;
}
.wq-a b, .spk-model b { font-size: 1.2em; font-weight: 900; flex: 1 1 auto; min-width: 0; overflow-wrap: anywhere; }
.wq-a-ico { font-family: var(--emoji); font-size: 1.2em; }
.lp .say-sm { width: 48px; height: 48px; }

/* ---- б2) Кричалка */
.chant {
  display: grid; gap: 10px; padding: 16px; border: var(--bw) solid var(--ink); border-radius: 26px; box-shadow: var(--shadow);
  background: repeating-linear-gradient(-45deg, rgba(255, 255, 255, .35) 0 12px, transparent 12px 24px), var(--purple-soft);
}
.cl {
  display: flex; align-items: flex-start; gap: 12px; width: 100%; min-height: 58px; padding: 10px 14px;
  background: var(--paper); border: 2px solid var(--ink); border-radius: 18px; text-align: left; color: var(--ink);
  transition: transform .2s, background .2s, box-shadow .2s;
}
.cl:nth-child(odd) { transform: rotate(-.4deg); }
.cl:nth-child(even) { transform: rotate(.4deg); }
.cl:hover { background: var(--yellow-soft); }
.cl-n {
  width: 1.8em; height: 1.8em; flex: none; border-radius: 50%; display: grid; place-items: center; margin-top: .1em;
  background: var(--purple); color: #fff; border: 2px solid var(--ink); font-weight: 900; font-size: .9em;
}
.cl-t { min-width: 0; }
.cl-en { display: block; font-weight: 900; font-size: 1.28em; line-height: 1.3; overflow-wrap: anywhere; }
.cl-ru { display: block; font-weight: 700; font-size: .88em; color: var(--ink-2); }
.cl.is-on { background: var(--yellow); transform: scale(1.025) rotate(-.6deg); box-shadow: 4px 4px 0 var(--ink); }
.cl.is-done { background: var(--yellow-soft); }

/* ---- в) Слова */
.wc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; }
@media (max-width: 560px) { .wc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } }
.wc {
  display: flex; flex-direction: column; min-width: 0; overflow: hidden; background: var(--paper);
  border: var(--bw) solid var(--ink); border-radius: 22px; box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s;
}
.wc-main {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; width: 100%; min-height: 150px;
  padding: 14px 8px 10px; border: 0; background: var(--cs); color: var(--ink); -webkit-tap-highlight-color: transparent;
}
.wc-main:hover .wc-pic { transform: scale(1.08) rotate(-4deg); }
.wc-pic { transition: transform .2s; }
.wc-pic .emo { font-size: 3.3em; line-height: 1.05; }
.wc-pic .ru-pic { font-size: 1.05em; background: var(--paper); }
.wc-en { font-weight: 900; font-size: 1.35em; line-height: 1.1; text-align: center; overflow-wrap: anywhere; }
.wc-ru { font-weight: 700; color: var(--ink-2); font-size: .92em; text-align: center; line-height: 1.2; }
.wc-ex {
  display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-top: 2px dashed rgba(30, 27, 58, .22);
  font-weight: 700; font-size: .92em; line-height: 1.3; flex: 1 1 auto;
}
.wc-ex > span { min-width: 0; overflow-wrap: anywhere; }
.wc-ex .say-sm { width: 44px; height: 44px; font-size: 16px; }
.lp mark { background: var(--yellow); border-radius: 5px; padding: 0 .12em; color: inherit; }
.wc.is-on, .wc.is-say { transform: translateY(-4px) rotate(-1deg); box-shadow: 0 0 0 5px var(--yellow), var(--shadow-lg); }
.wc.is-say { animation: sayPop .45s ease; }
@media (max-width: 380px) {
  .wc-ex { flex-direction: column; align-items: flex-start; }
  .wc-main { min-height: 130px; }
}

/* ---- г) Модель фразы */
.pt-explain {
  display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; background: var(--yellow-soft);
  border: var(--bw) solid var(--ink); border-radius: 20px; box-shadow: var(--shadow); transform: rotate(-.4deg);
}
.pt-explain .emo { font-size: 1.5em; line-height: 1.1; }
.pt-explain p { margin: 0; font-weight: 700; font-size: 1.05em; line-height: 1.45; }
.pe-list { display: grid; gap: 12px; margin-top: 18px; }
.pe {
  display: flex; align-items: center; gap: 14px; width: 100%; min-height: 64px; padding: 12px 16px; text-align: left; color: var(--ink);
  background: var(--paper); border: var(--bw) solid var(--ink); border-radius: 20px; box-shadow: var(--shadow); transition: transform .15s, background .2s;
}
.pe:hover { transform: translate(-2px, -2px); background: var(--yellow-soft); }
.pe.is-on { background: var(--yellow); }
.pe-t { min-width: 0; }
.pe-t b { display: block; font-size: 1.35em; line-height: 1.25; overflow-wrap: anywhere; }
.pt-model { margin: 16px 0 0; font-weight: 700; color: var(--ink-2); font-size: .92em; text-align: center; }

/* ---- д) Диалог */
.dl-cast { display: flex; flex-wrap: wrap; gap: 8px; margin: -4px 0 12px; }
.dl-chip { background: var(--cs); font-size: .85em; max-width: 100%; white-space: normal; overflow-wrap: anywhere; }
.dl-chip .emo { font-size: 1.2em; }
.dl-chip small { font-weight: 700; color: var(--ink-2); }
.dl-chat {
  display: flex; flex-direction: column; gap: 12px; padding: 16px 14px; border: var(--bw) solid var(--ink); border-radius: 26px;
  background: var(--blue-soft); box-shadow: var(--shadow); min-height: 120px;
}
.dl { display: flex; align-items: flex-end; gap: 10px; max-width: 92%; min-width: 0; }
.dl.is-kid { align-self: flex-end; flex-direction: row-reverse; }
.dl-ava {
  font-family: var(--emoji); font-size: 1.6em; width: 1.95em; height: 1.95em; flex: none; display: grid; place-items: center;
  background: var(--cs); border: 2px solid var(--ink); border-radius: 50%; box-shadow: 2px 2px 0 var(--ink);
}
.dl-col { display: flex; flex-direction: column; gap: 8px; min-width: 0; align-items: flex-start; }
.dl.is-kid .dl-col { align-items: flex-end; }
.dl-b {
  display: block; min-width: 0; max-width: 100%; padding: 8px 14px 10px; text-align: left; color: var(--ink);
  background: var(--paper); border: 2px solid var(--ink); border-radius: 20px 20px 20px 6px; box-shadow: 2px 2px 0 var(--ink);
  transition: transform .15s, background .2s, box-shadow .2s;
}
.dl.is-kid .dl-b { background: var(--cs); border-radius: 20px 20px 6px 20px; }
.dl-b:hover { transform: translateY(-2px); }
.dl-who { display: block; font-size: .72em; font-weight: 900; letter-spacing: .05em; text-transform: uppercase; color: var(--ink-2); }
.dl-en { display: block; font-weight: 800; font-size: 1.18em; line-height: 1.3; overflow-wrap: anywhere; }
.dl-ru { display: block; font-weight: 700; font-size: .86em; color: var(--ink-2); line-height: 1.3; }
.dl.is-on .dl-b { box-shadow: 0 0 0 4px var(--yellow), 2px 2px 0 var(--ink); transform: scale(1.03); }
.dl-turn { display: none; }
.dl-chat.is-role .dl:not(.is-shown) { display: none; }
.dl-chat.is-role .dl.is-shown { animation: popIn .3s ease; }
.dl.is-wait .dl-b { display: none; }
.dl.is-wait .dl-turn, .dl.is-hinted .dl-turn {
  display: flex; flex-direction: column; align-items: flex-end; gap: 8px; padding: 12px 14px; text-align: right;
  background: var(--paper); border: 3px dashed var(--ink); border-radius: 20px; animation: popIn .3s ease;
}
.dl.is-hinted .dl-turn { border: 0; background: none; padding: 0; }
.dl.is-hinted .dl-turn-t, .dl.is-hinted .dl-turn-ru, .dl.is-hinted .dl-hint { display: none; }
.dl-turn-t { font-weight: 900; font-size: 1.05em; }
.dl-turn-ru { font-weight: 800; color: var(--ink-2); }
.dl-turn-btns { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
.dl-turn-btns .btn { min-height: 52px; }
.dl-turn-btns .btn-sm { min-height: 48px; }
.dl.is-wait .dl-ava { animation: foxCheer 1s ease-in-out infinite; }
.dl.is-said .dl-b { animation: rightPop .5s ease; background: var(--mint-soft); }
@media (max-width: 420px) {
  .dl { max-width: 100%; gap: 8px; }
  .dl-chat { padding: 12px 10px; }
  .dl-ava { font-size: 1.35em; }
}

/* ---- е) История */
.st-book {
  display: grid; gap: 4px; padding: 18px 16px; background: var(--paper); border: var(--bw) solid var(--ink); border-radius: 26px;
  box-shadow: var(--shadow-lg); position: relative;
  background-image: linear-gradient(90deg, transparent 38px, rgba(255, 111, 168, .35) 38px 40px, transparent 40px);
}
.stl {
  display: block; width: 100%; text-align: left; padding: 8px 10px 8px 34px; border: 0; background: none; color: var(--ink);
  border-radius: 14px; transition: background .2s;
}
.stl:hover { background: var(--yellow-soft); }
.stl-en { display: block; font-weight: 800; font-size: 1.2em; line-height: 1.4; overflow-wrap: anywhere; }
.stl-ru { display: block; font-weight: 700; font-size: .86em; color: var(--ink-2); }
.stl.is-on { background: var(--yellow); }
.stl.is-done { background: var(--yellow-soft); }
.stq-list { display: grid; gap: 14px; }
.stq { padding: 14px; background: var(--paper); border: var(--bw) solid var(--ink); border-radius: 22px; box-shadow: var(--shadow); }
.stq.is-done { background: var(--mint-soft); }
.stq-q { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.stq-q b { display: block; font-size: 1.15em; line-height: 1.25; }
.stq-opts { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; }

/* ---- ж) Тест */
.qz2-top { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; justify-content: center; margin-bottom: 14px; }
.qz2-dots { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; flex: 1 1 100%; }
.qz2-dots i { width: 16px; height: 16px; border-radius: 50%; border: 2px solid var(--ink); background: var(--paper); transition: transform .2s, background .2s; }
.qz2-dots i.ok { background: var(--mint); }
.qz2-dots i.no { background: var(--red); }
.qz2-dots i.cur { background: var(--yellow); transform: scale(1.35); }
.qz2-n, .qz2-ok { font-size: .9em; }
.qc {
  max-width: 760px; margin: 0 auto; padding: 20px 18px; text-align: center; background: var(--paper);
  border: var(--bw) solid var(--ink); border-radius: 28px; box-shadow: var(--shadow-lg); animation: popIn .25s ease;
}
.qc-label {
  display: inline-block; padding: 4px 12px; border-radius: 999px; background: var(--cs); border: 2px solid var(--ink);
  font-weight: 900; font-size: .85em; margin-bottom: 8px;
}
.qc-q { font-weight: 900; font-size: 1.5em; line-height: 1.25; margin: 6px 0 4px; overflow-wrap: anywhere; }
.qc-q .say-sm { vertical-align: middle; display: inline-grid; }
.qc-ru { margin: 4px 0 0; font-weight: 700; color: var(--ink-2); }
.qc-gap {
  display: inline-block; min-width: 3em; padding: 0 .3em; margin: 0 .1em; border-bottom: 4px solid var(--ink);
  background: var(--yellow-soft); border-radius: 8px 8px 2px 2px; color: var(--ink-3); text-align: center;
}
.qc-gap.is-filled { background: var(--mint-soft); color: var(--ink); animation: bounceIn .45s; }
.qc-opts { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin-top: 16px; }
.qc-opt {
  position: relative; min-height: 64px; padding: 12px 16px 12px 36px; background: var(--paper); border: var(--bw) solid var(--ink);
  border-radius: 20px; box-shadow: var(--shadow); font-weight: 900; font-size: 1.15em; line-height: 1.2; color: var(--ink);
  transition: transform .12s, box-shadow .12s, background .2s; overflow-wrap: anywhere;
}
.qc-opt:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--ink); }
.qc-opt:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--ink); }
.qc-opt .opt-n { top: 50%; transform: translateY(-50%); left: 13px; }
.stq-opt { padding-left: 16px; font-size: 1.05em; min-height: 56px; }
.qc-opt:disabled, .tf-btn:disabled, .ord-tile:disabled { color: var(--ink); -webkit-text-fill-color: var(--ink); opacity: 1; cursor: default; }
.qc-opt:disabled:hover { transform: none; box-shadow: var(--shadow); }
.qc-opt.is-right, .tf-btn.is-right { background: var(--mint-soft); box-shadow: 0 0 0 5px var(--mint), var(--shadow); animation: rightPop .5s ease; }
.qc-opt.is-wrong, .tf-btn.is-wrong { background: var(--red-soft); opacity: .75; box-shadow: none; animation: shake .45s ease; }
.qc-tf { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 16px; }
.tf-btn {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 124px; padding: 12px;
  background: var(--paper); border: var(--bw) solid var(--ink); border-radius: 24px; box-shadow: var(--shadow); color: var(--ink);
  transition: transform .12s, box-shadow .12s, background .2s;
}
.tf-btn .emo { font-size: 2.6em; line-height: 1.1; }
.tf-btn b { font-size: 1.15em; }
.tf-btn small { font-weight: 800; color: var(--ink-2); }
.tf-yes { background: #EFFBF6; }
.tf-no { background: #FFF1F1; }
.tf-btn:hover { transform: translate(-2px, -2px) rotate(-1deg); box-shadow: 6px 6px 0 var(--ink); }
.qc-fb {
  display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 8px 10px; margin: 18px auto 0; padding: 10px 14px;
  border: 2px solid var(--ink); border-radius: 18px; font-weight: 800; font-size: 1.1em; animation: popIn .25s ease; max-width: 100%;
}
.qc-fb b { overflow-wrap: anywhere; }
.qc-fb.is-ok { background: var(--mint-soft); }
.qc-fb.is-no { background: var(--yellow-soft); }
.qc-next { margin-top: 16px; }
.qc-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 16px; }
.qc-actions .btn { min-height: 52px; }
.qz-sum { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 10px 0; }
.qz-sum h3 { font-size: 1.4em; margin: 6px 0 0; }
.qz-sum-n { margin: 0; font-weight: 800; font-size: 1.1em; }
.qz-sum-btns { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 10px; }

/* Плитки-слова (тест «Собери предложение» и игра order) */
.ord-line {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px; min-height: 76px; padding: 12px;
  margin: 14px 0 0; background: var(--cream); border: 3px dashed var(--ink-3); border-radius: 20px; transition: background .2s, border-color .2s;
}
.ord-line.is-ok, .ord-line.is-done { background: var(--mint-soft); border-color: var(--mint); border-style: solid; }
.ord-line.is-shown { background: var(--yellow-soft); border-color: var(--yellow); border-style: solid; }
.ord-ph { font-weight: 800; color: var(--ink-3); }
.ord-tiles { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 16px 0 0; min-height: 56px; }
.ord-tile {
  min-height: 54px; min-width: 54px; padding: 8px 14px; background: var(--paper); border: var(--bw) solid var(--ink); border-radius: 16px;
  box-shadow: 3px 3px 0 var(--ink); font-weight: 900; font-size: 1.15em; line-height: 1.1; color: var(--ink);
  transition: transform .12s, box-shadow .12s, opacity .2s, background .2s; -webkit-tap-highlight-color: transparent;
}
.ord-tile:hover { transform: translateY(-3px); }
.ord-tile:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--ink); }
.ord-tile.in-line { background: var(--cs); animation: popIn .18s ease; }
.ord-tile.is-ok { background: var(--mint-soft); }
.ord-tile.is-bad { background: var(--red-soft); animation: shake .45s ease; }
.ord-tile.is-ghost { opacity: .18; box-shadow: none; border-style: dashed; pointer-events: none; }
.ord-tile.is-used { opacity: 0; transform: scale(.5); pointer-events: none; }
.ord-slot {
  display: inline-grid; place-items: center; min-width: var(--w, 3em); height: 52px; padding: 0 10px;
  border-bottom: 4px solid var(--ink); background: rgba(255, 255, 255, .75); border-radius: 12px 12px 4px 4px;
  font-weight: 900; font-size: 1.1em;
}
.ord-slot.is-filled { background: var(--cs); border: var(--bw) solid var(--ink); border-bottom-width: 4px; animation: popIn .2s ease; min-width: 0; }
.ord-slot.is-hint { background: var(--yellow-soft); }
.og-line.is-done .ord-slot { background: var(--mint-soft); animation: bounceIn .5s ease; }
.og-card {
  display: flex; flex-direction: column; align-items: center; gap: 8px; max-width: 560px; margin: 0 auto; padding: 16px 18px;
  background: var(--paper); border: var(--bw) solid var(--ink); border-radius: 24px; box-shadow: var(--shadow); text-align: center;
}
.og-label { font-weight: 800; color: var(--ink-2); font-size: 15px; }
.og-ru { font-weight: 900; font-size: clamp(20px, 5vw, 28px); line-height: 1.2; overflow-wrap: anywhere; }
.og-say { min-height: 48px; }
.game .ord-tile { font-size: 20px; }
@media (max-width: 420px) {
  .ord-tile { min-height: 50px; padding: 6px 11px; font-size: 1.05em; }
  .game .ord-tile { font-size: 18px; }
  .ord-tiles { gap: 8px; }
  .ord-slot { height: 48px; padding: 0 8px; }
}

/* Игра «Вставь слово» */
.gp-card {
  display: flex; align-items: center; gap: 18px; max-width: 620px; margin: 0 auto 16px; padding: 18px 20px;
  background: var(--paper); border: var(--bw) solid var(--ink); border-radius: 26px; box-shadow: var(--shadow);
}
.gp-pic { flex: none; }
.gp-pic .emo { font-size: clamp(56px, 15vw, 84px); }
.gp-pic .ru-pic { font-size: clamp(16px, 4vw, 20px); padding: 10px 12px; }
.gp-s { margin: 0; font-weight: 900; font-size: clamp(21px, 5.2vw, 30px); line-height: 1.3; overflow-wrap: anywhere; min-width: 0; }
.gp-blank {
  display: inline-block; min-width: 2.6em; min-height: 1.2em; padding: 0 .25em; margin: 0 .05em; vertical-align: baseline;
  border-bottom: 4px solid var(--ink); background: var(--yellow-soft); border-radius: 8px 8px 2px 2px; text-align: center;
}
.gp-blank.is-filled { background: var(--mint-soft); animation: bounceIn .45s; }
@media (max-width: 420px) {
  .gp-card { flex-direction: column; text-align: center; gap: 8px; padding: 14px; }
}

/* ---- з) Говорим */
.spk-list { display: grid; gap: 14px; }
.spk { display: grid; gap: 12px; padding: 16px; background: var(--paper); border: var(--bw) solid var(--ink); border-radius: 22px; box-shadow: var(--shadow); }
.spk:nth-child(odd) { transform: rotate(-.3deg); }
.spk-q { display: flex; align-items: center; gap: 12px; }
.spk-t { min-width: 0; }
.spk-t b { display: block; font-size: 1.3em; line-height: 1.25; overflow-wrap: anywhere; }
.say-big {
  width: 2.8em; height: 2.8em; flex: none; border-radius: 50%; border: var(--bw) solid var(--ink); background: var(--yellow);
  box-shadow: 3px 3px 0 var(--ink); font-size: 1.15em; display: grid; place-items: center; padding: 0; font-family: var(--emoji);
  min-width: 48px; min-height: 48px;
}
.say-big:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--ink); }
.spk-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.spk-slot { display: flex; flex: 1 1 220px; min-width: 0; }
.spk-tools .btn { min-height: 48px; }
.rec-btn.is-rec { --bg: var(--red); --fg: #fff; animation: recPulse 1.2s ease-in-out infinite; }
@keyframes recPulse { 0%, 100% { box-shadow: 2px 2px 0 var(--ink), 0 0 0 0 rgba(229, 72, 77, .5); } 50% { box-shadow: 2px 2px 0 var(--ink), 0 0 0 10px rgba(229, 72, 77, 0); } }
.rec-audio { width: 100%; max-width: 360px; height: 44px; }

/* ---- и) Финиш */
.fin { display: grid; gap: 18px; justify-items: center; }
.fin-card {
  width: 100%; max-width: 560px; text-align: center; padding: 20px 20px 22px; background: var(--paper);
  border: var(--bw) solid var(--ink); border-radius: 30px; box-shadow: var(--shadow-lg);
  background-image: radial-gradient(circle at 50% 0, var(--yellow-soft) 0 45%, transparent 45.3%);
}
.fin-card .fox { margin: 0 auto 4px; }
.fin-kicker { display: inline-block; font-weight: 900; background: var(--ink); color: #fff; padding: 4px 12px; border-radius: 999px; transform: rotate(-2deg); font-size: .9em; }
.lp .fin-card h2 { font-size: 1.6em; margin: 8px 0 2px; }
.fin-wait p { font-weight: 700; color: var(--ink-2); }
.fin-hw {
  width: 100%; max-width: 760px; padding: 18px; background: var(--yellow-soft); border: var(--bw) solid var(--ink);
  border-radius: 24px; box-shadow: var(--shadow); transform: rotate(-.4deg);
}
.fin-hw h3 { margin: 0 0 8px; font-size: 1.25em; }
.fin-hw p { margin: 0 0 12px; font-weight: 700; overflow-wrap: anywhere; }
.fin-games { display: flex; flex-wrap: wrap; gap: 10px; }
.fin-game {
  display: inline-flex; align-items: center; gap: 8px; min-height: 52px; padding: 8px 16px 8px 10px; text-decoration: none;
  background: var(--paper); border: var(--bw) solid var(--ink); border-radius: 16px; box-shadow: 3px 3px 0 var(--ink); transition: transform .15s;
}
.fin-game:hover { transform: translate(-2px, -2px); }
.fin-game .emo { font-size: 1.4em; width: 1.7em; height: 1.7em; display: grid; place-items: center; background: var(--cs); border-radius: 50%; border: 2px solid var(--ink); }
.fin-game b { font-size: .95em; }
.fin-par {
  width: 100%; max-width: 760px; background: var(--paper); border: 2px solid var(--ink); border-radius: 18px; padding: 0;
}
.fin-par summary { cursor: pointer; padding: 14px 16px; font-weight: 900; min-height: 48px; list-style-position: inside; }
.fin-par p { margin: 0; padding: 0 16px 16px; font-weight: 600; color: var(--ink-2); }
.fin-btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
@media (max-width: 480px) { .fin-btns { flex-direction: column; width: 100%; } .fin-btns .btn { width: 100%; } }

/* «Урок скоро появится» */
.lp-missing { max-width: 820px; margin: 0 auto; }
.lp-miss-card { text-align: center; background: var(--paper); }
.lp-miss-card .fox { margin: 0 auto 10px; }
.lp-miss-card h1 { font-size: clamp(24px, 5vw, 36px) !important; }
.lp-miss-games { margin: 18px 0; text-align: left; overflow-wrap: break-word; } /* названия игр не рвём посреди слова */
@media (max-width: 480px) {
  .lp-miss-card { padding-left: 12px; padding-right: 12px; }
  .lp-miss-games { gap: 10px; }
  .lp-miss-games .g-tile { padding-left: 8px; padding-right: 8px; }
  .lp-miss-games .g-name { font-size: 15.5px; }
}

/* =================================================== РЕЖИМ ПРЕПОДАВАТЕЛЯ */
/* Презентационный режим: без шапки и подвала сайта — всё место уроку */
body.pt-wide .pt-top, body.pt-wide .pt-foot { display: none; }
body.pt-wide .pt-main { max-width: 1680px; padding: 12px 20px 0; }
.lp-teacher {
  max-width: none; font-size: clamp(18px, 1.05vw + .7vh, 32px);
  min-height: calc(100vh - 12px); display: flex; flex-direction: column;
}
.lp-teacher .lp-bar { font-size: 17px; }
.lp-teacher .lp-steps { gap: 4px; }
.lp-teacher .lp-step span { display: block; font-size: 13px; }
.lp-teacher .lp-step i { width: 38px; height: 38px; font-size: 18px; }
.lp-teacher .lp-steps::before { top: 23px; }
.lp-teacher .lp-body { flex: 1 1 auto; align-items: start; }
.lp-teacher .lp-main { max-width: 64em; width: 100%; margin: 0 auto; }
.lp-teacher .lp-fox .fox { width: 2.8em; height: 2.8em; }
.lp-teacher .lp-fox .bubble { font-size: .85em; }
.lp-mute { width: 48px; padding: 0; font-family: var(--emoji); font-size: 20px; }
@media (min-width: 1100px) {
  /* шаги — прямо в строке с заголовком и кнопками */
  .lp-teacher .lp-title { flex: 0 1 auto; max-width: 230px; }
  .lp-teacher .lp-steps { order: 0; flex: 1 1 auto; }
  .lp-teacher .lp-tool:not(.lp-tool-tips) span { display: none; }
  .lp-teacher .lp-tool:not(.lp-tool-tips):not(.lp-mute) { width: 48px; padding: 0; font-family: var(--emoji); font-size: 20px; }
}
@media (min-width: 1600px) {
  .lp-teacher .lp-tool:not(.lp-tool-tips) span { display: inline; }
  .lp-teacher .lp-tool:not(.lp-tool-tips):not(.lp-mute) { width: auto; padding: 8px 14px; font-family: var(--f-body); font-size: 15px; }
}
.lp-teacher .btn { font-size: .82em; }
.lp-teacher .btn-lg { font-size: .95em; }
.lp-teacher .lp-nav .btn, .lp-teacher .lp-tool { font-size: 17px; }
.lp-teacher .say-sm { width: 2.4em; height: 2.4em; font-size: .9em; }
.lp-teacher .wc-grid { grid-template-columns: repeat(auto-fill, minmax(10em, 1fr)); }
.lp-teacher .wc-main { min-height: 7.5em; }
.lp-teacher .ord-slot { height: 2.6em; }
.lp-teacher .tf-btn { min-height: 5.5em; }
.lp-teacher .lp-nav { background: linear-gradient(rgba(255, 248, 236, 0), var(--cream) 30%); }
.lp-teacher .intro-fox .fox { width: clamp(150px, 16vw, 300px); }
@media (min-width: 1000px) {
  .lp-teacher.tips-open .lp-body { grid-template-columns: minmax(0, 1fr) minmax(300px, 25%); }
  /* нижняя граница — над «прилипшей» панелью «Назад/Дальше», иначе конец подсказок прячется под кнопками */
  .lp-teacher.tips-open .lp-tips { position: sticky; top: 90px; max-height: calc(100vh - 196px); overflow: auto; overscroll-behavior: contain; }
}
.lp-tips {
  font-size: 16px; padding: 16px 18px; background: var(--purple-soft); border: var(--bw) solid var(--ink);
  border-radius: 22px; box-shadow: var(--shadow); min-width: 0;
}
.tp-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.lp-tips h2 { font-size: 19px !important; margin: 0 0 10px; }
.lp-tips h3 { font-size: 17px; margin: 16px 0 8px; }
.tp-tips { margin: 0; padding-left: 20px; display: grid; gap: 8px; font-weight: 600; line-height: 1.45; }
.tp-plan { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.tp-plan li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 8px; font-size: 14.5px; line-height: 1.4; }
.tp-min { display: grid; place-items: center; height: 30px; background: var(--paper); border: 2px solid var(--ink); border-radius: 10px; font-size: 13px; }
.lp-tips .tiny { margin: 14px 0 0; }

/* Полноэкранный режим (демонстрация экрана) */
.lp:fullscreen { max-width: none; width: 100%; height: 100%; overflow: auto; padding: 1.2vh 2.4vw 0; background-color: var(--cream);
  background-image: radial-gradient(rgba(30, 27, 58, .07) 1.3px, transparent 1.4px); background-size: 24px 24px; }
.lp:-webkit-full-screen { max-width: none; width: 100%; height: 100%; overflow: auto; padding: 1.2vh 2.4vw 0; background-color: var(--cream); }
.lp.is-fs { min-height: 100vh; }
.lp.is-fs .lp-tips { top: 12px; max-height: calc(100vh - 118px); }

@media (max-width: 700px) {
  .lp-teacher .lp-tool span { display: none; }
  .lp-teacher .lp-tool { width: 48px; padding: 0; font-family: var(--emoji); }
  .lp-teacher .lp-step span { display: none; }
}
@media (max-width: 420px) {
  .lp { font-size: 16px; }
  .lp-bar { gap: 8px; }
  .lp-fox .fox-sm { width: 50px; height: 50px; }
  .lp-fox { gap: 12px; }
  .lp .sl-h h2 { font-size: 1.35em; }
  .sl-emo { font-size: 1.4em; border-radius: 14px; }
  .qc { padding: 16px 12px; }
  .qc-q { font-size: 1.3em; }
  .qc-opts { grid-template-columns: 1fr; }
  .intro-card { padding: 18px 14px 20px; }
  .lp .intro-title { font-size: 1.9em; }
  .intro-say { font-size: 1.15em; }
}

@media (prefers-reduced-motion: reduce) {
  .lh-go, .intro-go, .rec-btn.is-rec, .dl.is-wait .dl-ava { animation: none !important; }
}
