
/* Hanyugongfang — design system generated from theme seed */
:root { --max: 1120px; } /* --max — единственная переменная, не зависящая от темы; остальные (--ink, --paper, ...) вставляются PHP в <head> из inc/theme.php */
* { box-sizing: border-box; }
/* Без этого правила элемент с JS-атрибутом hidden всё равно остаётся видимым,
   если у его класса где-то ниже по каскаду задан свой display (flex/grid/block) —
   у [hidden] в браузере обычный приоритет, а не !important, поэтому более
   специфичное или более позднее правило автора стиля побеждает его display:none.
   Разово ловилось на .mobile-nav, повторно вылезло на .fc-card/.fc-controls/.fc-grade
   (флеш-карты) — правило ниже закрывает это для всех элементов сайта сразу. */
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--font-body); line-height: 1.55; font-size: 17px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.skip-link {
  position: absolute; left: -999px; top: 0; background: var(--ink); color: var(--paper);
  padding: 10px 16px; z-index: 100;
}
.skip-link:focus { left: 12px; top: 12px; }
h1, h2, h3 { font-family: var(--font-head); font-weight: 600; line-height: 1.2; color: var(--ink); }
h1 { font-size: clamp(30px, 4vw, 46px); margin: 0 0 14px; letter-spacing: -0.01em; }
h2 { font-size: 26px; margin: 40px 0 14px; }
h3 { font-size: 19px; margin: 20px 0 8px; }
p { margin: 0 0 14px; max-width: 68ch; }
.lede { font-size: 19px; color: var(--muted); max-width: 62ch; }
.muted { color: var(--muted); }
:focus-visible { outline: 3px solid var(--accent2); outline-offset: 2px; }

.eyebrow {
  display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--muted);
  margin: 0 0 10px; font-family: var(--font-body); text-transform: uppercase; letter-spacing: .06em; font-weight: 600;
}

/* ---------- header ---------- */
.site-header { border-bottom: var(--border-w) solid var(--border); background: var(--surface); position: relative; }
.header-row { display: flex; align-items: center; justify-content: space-between; padding: 16px 24px; gap: 16px; max-width: 1320px; }
.brand { font-family: var(--font-head); font-weight: 700; font-size: 20px; color: var(--ink); display: flex; gap: 8px; align-items: center; white-space: nowrap; flex-shrink: 0; }
.brand:hover { text-decoration: none; }
.brand-mark { font-size: 20px; }
.main-nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px 18px; }
.nav-link { color: var(--ink); font-size: 14.5px; padding: 6px 2px; border-bottom: 2px solid transparent; white-space: nowrap; }
.nav-link:hover { text-decoration: none; border-color: var(--border); }
.nav-link.is-active { color: var(--accent); border-color: var(--accent); font-weight: 600; }
.burger { display: none; flex-direction: column; gap: 5px; width: 36px; height: 32px; background: none; border: var(--border-w) solid var(--border); border-radius: var(--radius); justify-content: center; align-items: center; cursor: pointer; }
.burger span { display: block; width: 18px; height: 2px; background: var(--ink); }
.mobile-nav { display: none; flex-direction: column; gap: 2px; padding: 8px 24px 16px; border-top: var(--border-w) solid var(--border); }
.mobile-nav .nav-link { padding: 10px 4px; border-bottom: 1px solid var(--border); }
.mobile-nav[hidden] { display: none !important; }
@media (max-width: 820px) {
  .main-nav { display: none; }
  .burger { display: flex; }
  .mobile-nav.is-open { display: flex; }
}

/* ---------- hero ----------
   Каллиграфическая композиция: тёмная «тушь», крупный водяной знак 汉
   и красная печать — вместо геометрических фигур. */
.hero {
  background-color: var(--ink); color: var(--paper); padding: 56px 0 44px;
  position: relative; overflow: hidden;
}
.hero::before {
  content: "\6C49"; position: absolute; right: 4%; top: 50%; transform: translateY(-50%);
  font-family: var(--font-head); font-size: clamp(160px, 26vw, 340px); line-height: 1; font-weight: 700;
  color: color-mix(in srgb, var(--paper) 9%, transparent); z-index: 0; pointer-events: none;
}
.hero::after {
  content: "\5B57"; position: absolute; right: 8%; bottom: 28px; width: 54px; height: 54px;
  display: flex; align-items: center; justify-content: center;
  background: var(--accent); color: var(--paper); font-family: var(--font-head); font-size: 30px; font-weight: 700;
  border-radius: 3px; transform: rotate(-4deg); z-index: 0;
}
.hero-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; position: relative; z-index: 1; }
.hero .eyebrow { color: var(--accent2); }
.hero h1 { color: var(--paper); }
.hero .lede { color: var(--paper); opacity: .85; }
.hero-actions { display: flex; gap: 12px; margin-top: 22px; flex-wrap: wrap; }
.hero-route { display: flex; flex-direction: column; gap: 0; padding-left: 20px; position: relative; }
.hero-route::before {
  content: ""; position: absolute; left: 19px; top: 10px; bottom: 10px; width: 3px;
  background: var(--accent2);
}
.route-stop { display: flex; align-items: center; gap: 14px; color: var(--paper); padding: 9px 0; position: relative; }
.route-stop:hover { text-decoration: none; }
.route-stop:hover .stop-name { text-decoration: underline; }
.stop-badge {
  width: 32px; height: 32px; border: 2px solid var(--ink); color: var(--ink);
  display: flex; align-items: center; justify-content: center; font-family: var(--font-head); font-weight: 700; font-size: 12px; flex-shrink: 0;
  margin-left: -27px; background: var(--accent2); position: relative; z-index: 1;
  box-shadow: 3px 3px 0 var(--ink);
}
.stop-name { font-size: 15px; }
@media (max-width: 820px) { .hero-grid { grid-template-columns: 1fr; } }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; border-radius: var(--btn-radius); font-family: var(--font-body); font-weight: 600;
  font-size: 15px; cursor: pointer; border: var(--border-w) solid transparent;
}
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { opacity: .88; }
.btn-ghost { background: transparent; border-color: currentColor; color: inherit; }
.btn-ghost:hover { background: rgba(255,255,255,.1); }

/* ---------- sections / cards ---------- */
.section { padding-top: 44px; padding-bottom: 44px; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.section-head h2 { margin: 0; }
.level-section { margin: 32px 0; }
.level-section h2 { margin-bottom: 4px; }
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; margin-top: 14px; }
.card {
  display: block; background: var(--surface); border: var(--border-w) solid var(--border);
  border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow); color: var(--ink);
  position: relative; transition: box-shadow .12s, border-color .12s, transform .12s;
}
.card:hover {
  border-color: var(--ink); text-decoration: none; transform: translate(-3px, -3px);
  box-shadow: 6px 6px 0 var(--accent);
}
.card h3 { margin: 6px 0 6px; font-size: 18px; }
.card p { margin: 0; color: var(--muted); font-size: 14.5px; }
.card-topic { font-size: 12.5px; color: var(--muted); margin-top: 8px; }

.lvl-badge {
  display: inline-flex; align-items: center; justify-content: center; min-width: 30px; height: 22px;
  padding: 0 7px; border-radius: var(--radius); font-size: 12px; font-weight: 700; font-family: var(--font-head);
  background: var(--accent2); color: var(--ink);
}
.lvl-placement { background: var(--accent); color: #fff; padding: 0 10px; }

.stats-section { display: flex; flex-wrap: wrap; gap: 28px; border-top: var(--border-w) solid var(--border); border-bottom: var(--border-w) solid var(--border); padding: 26px 24px; }
.stat { display: flex; flex-direction: column; }
.stat-num { font-family: var(--font-head); font-size: 30px; font-weight: 700; color: var(--accent); }
.stat-label { font-size: 13px; color: var(--muted); }

/* ---------- breadcrumbs ---------- */
.crumbs { font-size: 13.5px; color: var(--muted); margin-bottom: 18px; }
.crumbs a { color: var(--muted); }
.crumbs-sep { margin: 0 2px; }

/* ---------- lesson page ---------- */
.lesson-page .lesson-body { margin-top: 18px; }
.lesson-list { padding-left: 20px; }
.lesson-list li { margin-bottom: 8px; max-width: 66ch; }
.note {
  border-left: 3px solid var(--accent2); padding: 10px 16px; background: color-mix(in srgb, var(--accent2) 12%, var(--surface));
  max-width: 66ch;
}
.table-wrap { overflow-x: auto; margin: 14px 0; }
table.lesson-table { border-collapse: collapse; min-width: 100%; }
table.lesson-table caption { text-align: left; font-weight: 600; margin-bottom: 6px; font-family: var(--font-head); }
table.lesson-table td { border: var(--border-w) solid var(--border); padding: 8px 12px; font-size: 15px; }
.related { margin-top: 40px; border-top: var(--border-w) solid var(--border); padding-top: 20px; }

/* ---------- quiz ---------- */
.quiz-block { margin-top: 34px; background: var(--surface); border: var(--border-w) solid var(--border); border-radius: var(--radius); padding: 22px; }
.quiz-q { margin-bottom: 18px; padding-bottom: 16px; border-bottom: 1px dashed var(--border); }
.quiz-q:last-of-type { border-bottom: none; }
.quiz-task { margin-bottom: 8px; }
.quiz-opts { display: flex; flex-direction: column; gap: 8px; }
.opt {
  text-align: left; padding: 10px 14px; border: var(--border-w) solid var(--border); border-radius: var(--radius);
  background: var(--paper); cursor: pointer; font-family: var(--font-body); font-size: 15px; color: var(--ink);
}
.opt:hover { border-color: var(--accent); }
.opt.is-selected { border-color: var(--ink); font-weight: 600; }
.opt.is-correct { background: color-mix(in srgb, var(--ok) 20%, var(--surface)); border-color: var(--ok); }
.opt.is-wrong { background: color-mix(in srgb, var(--accent) 18%, var(--surface)); border-color: var(--accent); }
.opt:disabled { cursor: default; }
.quiz-result { margin-top: 14px; padding: 12px 16px; border-radius: var(--radius); background: color-mix(in srgb, var(--accent2) 18%, var(--surface)); font-weight: 600; }

/* заполнение пропуска */
.fill-input { padding: 10px 14px; border: var(--border-w) solid var(--border); border-radius: var(--radius);
  font-size: 15px; font-family: var(--font-body); width: 240px; max-width: 100%; color: var(--ink); background: var(--surface); }
.fill-input:focus { border-color: var(--accent); }
.fill-input.is-correct { border-color: var(--ok); background: color-mix(in srgb, var(--ok) 15%, var(--surface)); }
.fill-input.is-wrong { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 12%, var(--surface)); }
.fill-feedback { margin-top: 8px; font-size: 14px; font-weight: 600; }

/* сопоставление пар */
.matching-rows { display: flex; flex-direction: column; gap: 10px; max-width: 520px; }
.matching-row { display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 10px 14px; border: var(--border-w) solid var(--border); border-radius: var(--radius); }
.matching-row.is-correct { border-color: var(--ok); background: color-mix(in srgb, var(--ok) 12%, var(--surface)); }
.matching-row.is-wrong { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 10%, var(--surface)); }
.matching-left { font-weight: 600; }
.matching-select { padding: 8px 10px; border: var(--border-w) solid var(--border); border-radius: var(--radius);
  font-family: var(--font-body); font-size: 14.5px; background: var(--surface); color: var(--ink); }

/* перевод-самопроверка (флеш-карта) */
.reveal-btn { padding: 9px 16px; border-radius: var(--btn-radius); border: var(--border-w) solid var(--border);
  background: var(--surface); color: var(--ink); cursor: pointer; font-family: var(--font-body); font-size: 14.5px; }
.reveal-btn:hover { border-color: var(--accent); }
.translate-answer { margin-top: 10px; font-size: 17px; font-weight: 600; padding: 10px 14px;
  background: color-mix(in srgb, var(--accent2) 15%, var(--surface)); border-radius: var(--radius); max-width: 66ch; }
.self-check { margin-top: 10px; display: flex; align-items: center; gap: 10px; font-size: 14px; flex-wrap: wrap; }
.self-check-label { color: var(--muted); }
.self-btn { padding: 7px 14px; border-radius: var(--radius); border: var(--border-w) solid var(--border); background: var(--surface);
  cursor: pointer; font-family: var(--font-body); font-size: 13.5px; }
.self-btn.self-yes.is-selected { background: color-mix(in srgb, var(--ok) 25%, var(--surface)); border-color: var(--ok); }
.self-btn.self-no.is-selected { background: color-mix(in srgb, var(--accent) 20%, var(--surface)); border-color: var(--accent); }
.translate-score { margin-top: 16px; padding: 10px 16px; border-radius: var(--radius);
  background: color-mix(in srgb, var(--accent2) 12%, var(--surface)); font-weight: 600; font-size: 14px; }

/* ---------- анаграмма (word_scramble) ---------- */
.scramble-letters {
  font-family: var(--font-head); font-size: 26px; font-weight: 700; letter-spacing: 6px;
  color: var(--accent2); margin: 6px 0 12px; padding: 10px 16px; background: var(--paper);
  border: var(--border-w) dashed var(--border); border-radius: var(--radius); display: inline-block;
}

/* ---------- сборка предложения (word_order) ---------- */
.worder-built {
  min-height: 46px; padding: 8px 10px; border: var(--border-w) solid var(--border); border-radius: var(--radius);
  background: var(--paper); margin-bottom: 10px; display: flex; flex-wrap: wrap; gap: 6px; align-items: center;
}
.worder-built:empty::before { content: "Собирайте предложение, нажимая на слова ниже…"; color: var(--muted); font-size: 14px; }
.worder-bank { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; }
.word-chip {
  padding: 8px 14px; border-radius: var(--radius); border: var(--border-w) solid var(--border); background: var(--surface);
  cursor: pointer; font-family: var(--font-body); font-size: 15px; color: var(--ink);
}
.word-chip:hover { border-color: var(--accent); }
.word-chip.is-used { opacity: .35; pointer-events: none; }
.worder-built .word-chip { background: color-mix(in srgb, var(--accent2) 14%, var(--surface)); cursor: default; }
.reset-btn {
  padding: 7px 14px; border-radius: var(--radius); border: var(--border-w) solid var(--border); background: var(--surface);
  cursor: pointer; font-size: 13.5px; color: var(--muted);
}
.reset-btn:hover { border-color: var(--accent); color: var(--ink); }

/* ---------- верно/неверно (true_false) ---------- */
.tf-opts { display: flex; gap: 12px; margin-top: 4px; }
.tf-btn {
  flex: 1; max-width: 200px; padding: 14px; border-radius: var(--radius); border: var(--border-w) solid var(--border);
  background: var(--surface); cursor: pointer; font-family: var(--font-head); font-weight: 700; font-size: 16px; color: var(--ink);
}
.tf-btn:hover { border-color: var(--accent); }
.tf-btn.is-selected { border-color: var(--ink); background: color-mix(in srgb, var(--ink) 8%, var(--surface)); }
.tf-btn.is-correct { border-color: var(--ok); background: color-mix(in srgb, var(--ok) 20%, var(--surface)); }
.tf-btn.is-wrong { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 18%, var(--surface)); }

/* ---------- инструмент: неправильные глаголы ---------- */
.tool-card { max-width: 640px; }
.irv-hide.is-hidden { color: transparent; text-shadow: 0 0 8px var(--muted); user-select: none; }
.irv-hide.is-hidden:hover { color: var(--ink); text-shadow: none; cursor: pointer; }

/* ---------- флеш-карточки ---------- */
.fc-app { max-width: 560px; }
.fc-status { font-size: 14px; color: var(--muted); margin-bottom: 14px; }
.fc-card { background: var(--surface); border: var(--border-w) solid var(--border); border-radius: var(--radius-lg);
  padding: 40px 30px; text-align: center; min-height: 160px; display: flex; align-items: center; justify-content: center; }
.fc-card-inner { width: 100%; }
.fc-front { font-family: var(--font-head); font-size: 30px; font-weight: 700; margin: 0 0 12px; }
.fc-back { font-size: 20px; color: var(--accent2); font-weight: 600; margin: 0 0 10px; }
.fc-example { font-size: 15px; color: var(--muted); margin: 0; }
.fc-controls { margin-top: 20px; display: flex; justify-content: center; }
.fc-grade { display: flex; gap: 14px; }
.fc-grade .tf-btn { min-width: 140px; }
.fc-empty { text-align: center; padding: 30px 0; color: var(--muted); }

/* ---------- предложить слово (модерация) ---------- */
.suggest-form .hp-field { position: absolute; left: -9999px; }

/* ---------- реклама/партнёрские материалы ---------- */
.ad-block { margin-top: 28px; display: flex; flex-direction: column; gap: 12px; }
.ad-card { position: relative; border: var(--border-w) dashed var(--border); border-radius: var(--radius);
  padding: 16px 18px; background: var(--paper); }
.ad-card h3 { margin: 4px 0 6px; }
.ad-card p { margin: 0 0 10px; color: var(--muted); }
.ad-label { position: absolute; top: 10px; right: 14px; font-size: 11px; text-transform: uppercase;
  letter-spacing: .05em; color: var(--muted); border: 1px solid var(--border); border-radius: var(--radius); padding: 2px 8px; }

/* ---------- "коротко" — прямой ответ вверху страницы (GEO: удобно извлекать ИИ-системам) ---------- */
.quick-answer { background: color-mix(in srgb, var(--accent2) 10%, var(--surface)); border-left: 4px solid var(--accent2);
  border-radius: var(--radius); padding: 14px 18px; margin: 14px 0 24px; }
.quick-answer-label { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: .08em;
  color: var(--accent2); font-weight: 700; margin-bottom: 4px; }
.quick-answer p { margin: 0; font-size: 17px; line-height: 1.5; }

/* ---------- сноска об источнике структуры урока — маленькая, второстепенная, не в quick-answer ---------- */
.source-note { margin: 28px 0 0; padding-top: 14px; border-top: 1px solid var(--border);
  font-size: 12.5px; line-height: 1.5; color: var(--muted); }
.source-note a { color: var(--muted); text-decoration: underline; }
.source-note a:hover { color: var(--ink); }

/* ---------- vocabulary ---------- */
.vocab-search {
  width: 100%; max-width: 420px; padding: 11px 14px; border: var(--border-w) solid var(--border);
  border-radius: var(--radius); font-size: 15px; margin: 10px 0 18px; font-family: var(--font-body); color: var(--ink); background: var(--surface);
}
table.vocab-table { border-collapse: collapse; width: 100%; }
table.vocab-table th { text-align: left; font-family: var(--font-head); border-bottom: 2px solid var(--ink); padding: 8px 12px; }
table.vocab-table td { padding: 9px 12px; border-bottom: 1px solid var(--border); }
.vocab-en { font-weight: 600; }

/* ---------- phrases ----------
   Каждый фразовый глагол — одна группа (значок + фраза + перевод + пример) в CSS-grid:
   колонки фиксированы, поэтому перевод у всех строк темы начинается на одном месте,
   а разделительная линия идёт ПОСЛЕ примера — визуально пример принадлежит своей фразе,
   а не следующей строке. */
.phrase-list { list-style: none; padding: 0; }
.phrase-item {
  display: grid;
  grid-template-columns: 34px minmax(150px, 300px) minmax(0, 420px);
  align-items: center;
  column-gap: 16px;
  row-gap: 4px;
  padding: 13px 10px;
  border-bottom: 1px solid var(--border);
  border-radius: var(--radius);
}
.phrase-item:last-child { border-bottom: none; }
.phrase-item:hover { background: var(--surface); }
.phrase-en { font-weight: 600; }
.phrase-ru { color: var(--muted); }
.phrase-example {
  grid-column: 2 / -1;
  margin: 0;
  color: var(--muted);
  font-size: 13.5px;
  font-style: italic;
}
.speak-btn {
  display: flex; align-items: center; justify-content: center;
  border: var(--border-w) solid var(--border); background: var(--surface);
  border-radius: 50%; width: 34px; height: 34px; padding: 0;
  cursor: pointer; font-size: 14px; flex-shrink: 0;
}
.speak-btn:hover { border-color: var(--accent); }
@media (max-width: 640px) {
  .phrase-item { grid-template-columns: 30px 1fr; column-gap: 12px; }
  .phrase-ru { grid-column: 2 / -1; margin-top: -2px; }
  .phrase-example { grid-column: 2 / -1; }
}

/* ---------- paths ---------- */
.path-progress { margin: 18px 0 26px; }
.path-bar { height: 8px; border-radius: var(--radius); background: var(--border); overflow: hidden; }
.path-bar > i { display: block; height: 100%; background: var(--accent); }
.path-progress-text { font-size: 14px; color: var(--muted); margin-top: 8px; }
.path-steps { list-style: none; padding: 0; margin: 0; padding-left: 19px; position: relative; }
.path-steps::before {
  content: ""; position: absolute; left: 0; top: 10px; bottom: 10px; width: 3px;
  background: var(--border);
}
.path-step { margin-left: 0; }
.path-step a { display: flex; gap: 14px; align-items: center; padding: 12px 0 12px 0; color: var(--ink); }
.path-step a:hover { text-decoration: none; }
.step-n {
  width: 28px; height: 28px; background: var(--surface); border: 2px solid var(--border);
  display: flex; align-items: center; justify-content: center; font-family: var(--font-head); font-weight: 700; flex-shrink: 0; margin-left: -15px;
  position: relative; z-index: 1;
}
.path-step.is-done .step-n { background: var(--ok); border-color: var(--ink); color: #fff; box-shadow: 3px 3px 0 var(--ink); }
.step-sub { display: block; font-size: 12px; color: var(--muted); text-transform: none; }
.step-title { display: block; font-weight: 600; }

/* ---------- tools ---------- */
.tool-card { max-width: 640px; }

/* ---------- footer ---------- */
.site-footer { border-top: var(--border-w) solid var(--border); background: var(--surface); padding: 40px 0 20px; margin-top: 40px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 24px; }
.footer-grid a { display: block; color: var(--ink); font-size: 14.5px; padding: 4px 0; }
.footer-title { font-weight: 700; font-family: var(--font-head); margin-bottom: 6px; }
.brand-footer { margin-bottom: 6px; }
.footer-fine { margin-top: 28px; font-size: 12.5px; }
@media (max-width: 720px) { .footer-grid { grid-template-columns: 1fr; } }

.static-page .lesson-body, .static-page p { max-width: 68ch; }


/* ---- v2: заголовки таблиц, FAQ, «Смотрите также», хаб вложенных страниц ---- */
table.lesson-table th {
  border: var(--border-w) solid var(--border); padding: 8px 12px; font-size: 13.5px; text-align: left;
  background: color-mix(in srgb, var(--accent) 9%, var(--surface)); font-weight: 600;
}
table.lesson-table .w-es, table.lesson-table .w-en, table.lesson-table .w-zh { font-weight: 600; }
.faq-section h2 { margin-bottom: 10px; }
.faq-item { border-top: var(--border-w) solid var(--border); padding: 14px 0; }
.faq-item h3 { margin: 0 0 6px; font-size: 17px; }
.faq-item p { margin: 0; color: var(--muted); max-width: 68ch; }
.see-also { padding-top: 8px; }
.see-also-list { list-style: none; padding: 0; margin: 10px 0 0; display: flex; flex-wrap: wrap; gap: 8px 10px; }
.see-also-list a {
  display: inline-block; padding: 6px 14px; border: var(--border-w) solid var(--border);
  border-radius: var(--btn-radius); background: var(--surface); color: var(--ink); font-size: 14.5px;
}
.see-also-list a:hover { border-color: var(--accent); text-decoration: none; }
.children-hub { margin-top: 28px; }

/* ---------- китайский контент ---------- */
table.lesson-table .w-zh { font-size: 1.3em; font-weight: 500; white-space: nowrap; }
table.lesson-table .py { color: var(--accent); font-weight: 500; white-space: nowrap; }
.hanzi-big { font-size: 56px; line-height: 1.1; font-family: var(--font-head); }
blockquote.read-text { margin: 12px 0 18px; padding: 14px 18px; border-left: 3px solid var(--accent); background: var(--surface); font-size: 1.15em; line-height: 1.9; }
blockquote.read-text p { max-width: none; margin: 0 0 6px; }
.say-btn { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); cursor: pointer; padding: 4px 10px; font-size: 15px; color: var(--accent); }
.say-btn:hover { border-color: var(--accent); }
