/* ============================================================
   整册练习本（zitie.html 的 book 模式）
   ============================================================ */
.sheet.book{padding:14mm 13mm}
.book-body{flex:1;display:flex;flex-direction:column;min-height:0}
.book-body .blocks,.book-body .wordtable,.book-body .map-list{flex:1}

/* ---- 封面 ---- */
.cover{height:100%;display:flex;flex-direction:column;text-align:center}
.cover .band{font-size:9.5px;letter-spacing:.32em;color:#a2978a}
.cover h1{font-family:var(--kai);font-size:62px;font-weight:400;letter-spacing:.08em;margin:9mm 0 2mm}
.cover .sub{font-size:12px;color:#7a6f61;letter-spacing:.12em}
.cover .chars{display:grid;grid-template-columns:repeat(5,1fr);gap:4mm;margin:11mm 0 4mm}
.cover .chars .cell{border:1px solid #e7c9c9;border-radius:1mm}
.cover .chars .ch{font-size:13mm;color:#cfa8a8}
.cover .note{font-size:10.5px;color:#9a8f80;line-height:1.9;margin-top:2mm}
.cover .name{margin-top:auto;border-top:1px dashed #cbb99f;padding-top:6mm;font-size:13px;color:#5f5548;letter-spacing:.12em}
.cover .foot{font-size:9px;color:#b3a795;margin-top:4mm;letter-spacing:.1em}

/* ---- 学习地图 ---- */
.map-head{display:flex;align-items:flex-end;justify-content:space-between;border-bottom:1.4px solid #333;padding-bottom:3mm;margin-bottom:5mm}
.map-head h2{font-size:17px;font-weight:800;letter-spacing:.08em}
.map-head .tip{font-size:9.5px;color:#8a8074}
.map-list{display:flex;flex-direction:column}
.map-row{display:grid;grid-template-columns:9mm 16mm 26mm 1fr;align-items:center;gap:3mm;
  padding:3.4mm 0;border-bottom:1px dashed #e2d6c3}
.map-row .box{width:5.4mm;height:5.4mm;border:1.2px solid #b9ab96;border-radius:1.2mm}
.map-row .ch{font-family:var(--kai);font-size:22px;line-height:1;text-align:center}
.map-row .py{font-size:11px;color:#5f5548;letter-spacing:.06em}
.map-row .wd{font-size:11px;color:#8a8074}

/* ---- 描一描 / 写一写 ---- */
.blocks{display:flex;flex-direction:column;gap:5.5mm}
.block .bhead{display:flex;align-items:baseline;gap:4mm;margin-bottom:1.4mm}
.block .bhead .ch{font-family:var(--kai);font-size:20px;line-height:1}
.block .bhead .py{font-size:11px;color:#5f5548;letter-spacing:.08em}
.block .bhead .meta{font-size:8.6px;color:#9a8f80;margin-left:auto}
.block .hint{font-size:8.6px;color:#a89d8d;margin-left:3mm}

/* ---- 组词 ---- */
.wordtable{display:flex;flex-direction:column}
.word-row{display:grid;grid-template-columns:16mm 24mm 1fr;align-items:end;gap:3mm;
  padding:3mm 0;border-bottom:1px dashed #e2d6c3}
.word-row .ch{font-family:var(--kai);font-size:20px;line-height:1.2;text-align:center}
.word-row .py{font-size:10px;color:#5f5548}
.word-row .lines{display:flex;flex-direction:column;gap:5mm}
.word-row .line{border-bottom:1px solid #ded1bc;height:7mm}

/* ---- 找一找 ---- */
.findgrid{display:grid;grid-template-columns:repeat(8,1fr);gap:1.6mm;margin-top:5mm}
.findgrid div{aspect-ratio:1;border:1px solid #ece0cd;border-radius:1.4mm;
  display:grid;place-items:center;font-family:var(--kai);font-size:11mm;color:#2b241d}
.find-tip{font-size:11px;color:#6b5f52;line-height:1.9}
.find-tip b{color:#2b241d}

/* ---- 复习 / 奖励 ---- */
.review-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:3mm;margin-top:4mm}
.review-grid .cell{aspect-ratio:1}
.review-line{display:flex;align-items:center;gap:4mm;margin-top:7mm;font-size:11px;color:#5f5548}
.review-line .star{width:9mm;height:9mm;border:1px dashed #cbb99f;border-radius:50%;display:grid;place-items:center;font-size:11px;color:#c9a86a}
.sign{margin-top:auto;display:flex;justify-content:space-between;border-top:1px dashed #cbb99f;
  padding-top:5mm;font-size:11px;color:#6b5f52}

/* 格子颜色：通过 --grid 覆盖 */
.sheet[data-ink="red"]{--grid:#d9a2a2}
.sheet[data-ink="green"]{--grid:#8fae83}
.sheet[data-ink="blue"]{--grid:#9db4c9}
.sheet[data-ink="gray"]{--grid:#b9b1a6}
