/* ===== Печатный лист персонажа (A4) =====
   Разметка строит charprint.js. Все размеры в мм; лист A4 с полями 8 мм → область 194 × 279 мм.
   .e24 — оформление под правила 2024 (рамки, клетка), .e14 — под правила 2014 (серые панели). */
.csheet{--ink:#1b1b1b;--ln:#3a3a3a;--panel:#ebebeb;--sans:'PT Sans','Open Sans',Arial,sans-serif;--serif:'PT Serif',Georgia,serif;
 color:var(--ink);font:8pt/1.25 var(--sans);-webkit-print-color-adjust:exact;print-color-adjust:exact}
.csheet *{box-sizing:border-box}
.csheet .pg{position:relative;width:194mm;height:279mm;margin:0 auto 14px;background:#fff;color:var(--ink);overflow:hidden;zoom:var(--z,1)}
.csheet .pg.flow{height:auto;min-height:279mm;overflow:visible}
@media screen{.csheet .pg{box-sizing:content-box;padding:8mm;box-shadow:0 2px 14px rgba(0,0,0,.22)}}
@media print{.csheet .pg{zoom:1;margin:0;padding:0;box-shadow:none;break-after:page;page-break-after:always}.csheet .pg:last-child{break-after:auto;page-break-after:auto}}
.csheet small{display:block;font:400 5.2pt/1.15 var(--sans);text-transform:uppercase;letter-spacing:.03em;color:#555}
.csheet b{font-weight:700}
.csheet p{margin:0}

/* значки */
.csheet .dt{display:inline-block;width:2.9mm;height:2.9mm;border:.7pt solid #222;border-radius:50%;flex:none;background:#fff;vertical-align:middle}
.csheet .dt.on{background:#222}
.csheet .dt.ex{box-shadow:0 0 0 .4mm #fff,0 0 0 .75mm #222}
.csheet .dt.big{width:3.7mm;height:3.7mm}
.csheet .dt.huge{width:11mm;height:11mm;border-width:1pt}
.csheet .dm{display:inline-block;width:2.5mm;height:2.5mm;border:.7pt solid #222;transform:rotate(45deg);background:#fff;flex:none;margin:0 .4mm}
.csheet .dm.on{background:#222}
.csheet .cs3{display:inline-flex;gap:1.2mm}
.csheet .fld{min-width:0}
.csheet .fld b{display:block;border-bottom:.6pt solid #666;font:400 10pt/1.25 var(--sans);min-height:5.2mm;padding:0 .5mm;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.csheet .fld small{margin-top:.4mm}

/* шапка вторичных страниц */
.csheet .ph{display:flex;justify-content:space-between;align-items:flex-end;border-bottom:2.2pt double #222;padding-bottom:1.2mm;margin-bottom:3mm}
.csheet .pt{font:700 15pt var(--serif)}.csheet .pn{font-size:8pt;color:#555}
.csheet .pnote{font-size:6.6pt;color:#555;margin-top:1.8mm}

/* линии и клетка для записей */
.csheet .ln{background-image:repeating-linear-gradient(to bottom,transparent 0,transparent calc(4.7mm - .45pt),#9b9b9b calc(4.7mm - .45pt),#9b9b9b 4.7mm)}
.csheet .tx.ln{line-height:4.7mm;font-size:7.2pt;padding:0 2.2mm;overflow:hidden}
.csheet .tx.ln p{line-height:4.7mm}
.csheet .gr{background-color:#fff;background-image:linear-gradient(#dcdcdc .4pt,transparent .4pt),linear-gradient(90deg,#dcdcdc .4pt,transparent .4pt);background-size:3.5mm 3.5mm}
.csheet .tx{overflow:hidden}
.csheet .tx.tall{min-height:58mm}.csheet .tx.m{min-height:19mm}.csheet .tx.m.tall{min-height:50mm}

/* таблицы */
.csheet table{border-collapse:collapse;width:100%}
.csheet .wtab{font-size:7.4pt}
.csheet .wtab th{font:400 5.6pt var(--sans);text-transform:uppercase;color:#555;text-align:left;padding:.8mm 1.2mm;border-bottom:.7pt solid #222}
.csheet .wtab td{height:5.6mm;padding:0 1.2mm;border-bottom:.45pt solid #999}
.csheet .wtab .c,.csheet .itab .c,.csheet .sptab .c{text-align:center}
.csheet .fl{columns:2;column-gap:3.5mm;padding:1.5mm 2.6mm;overflow:hidden;font-size:7.3pt;line-height:1.3}
.csheet .fl.one{columns:1}
.csheet .fi{break-inside:avoid;margin-bottom:.9mm}
.csheet .fi small{display:inline;text-transform:none;font-size:6pt;color:#666;letter-spacing:0}
.csheet .coins{display:grid;grid-template-columns:repeat(5,1fr);gap:1.5mm;padding:2mm 2.5mm}
.csheet .coin{text-align:center}.csheet .coin small{font-size:5.6pt;color:#222;font-weight:700}
.csheet .coin b{display:block;border:.8pt solid #444;border-radius:.9mm;min-height:6.5mm;font:400 9pt/6.3mm var(--sans);margin-top:.5mm}

/* ======================= D&D 2024 ======================= */
.e24 .bx{display:flex;flex-direction:column;border:1pt solid var(--ln);border-radius:2.6mm;background:#fff;position:relative;box-shadow:inset 0 0 0 .85mm #fff,inset 0 0 0 1.1mm #b4b4b4}
.e24 .bh{font:700 6.6pt/1.1 var(--sans);letter-spacing:.04em;text-transform:uppercase;text-align:center;padding:1.7mm 1.5mm .7mm;margin:0 1.8mm;border-bottom:.65pt solid var(--ln)}
.e24 .bx>.tx,.e24 .bx>.fl{margin:0 1.7mm 1.7mm}
.e24.p1{display:flex;flex-direction:column;gap:2.5mm}
.e24 .hd{display:grid;grid-template-columns:64mm 18mm 19mm 1fr;gap:2.5mm;height:32mm;flex:none}
.e24 .hn{padding:2.2mm 3.6mm}
.e24 .hn .fld.snm b{font:400 13pt var(--sans);min-height:7.2mm}
.e24 .g2{display:grid;grid-template-columns:1fr 1fr;gap:.8mm 4mm;margin-top:1.4mm}
.e24 .lv{border-radius:50%;align-items:center;justify-content:center;text-align:center;box-shadow:inset 0 0 0 .85mm #fff,inset 0 0 0 1.1mm #b4b4b4}
.e24 .lv b{font:400 18pt/1 var(--sans)}.e24 .xpl{display:block;width:11mm;height:4.5mm;border-bottom:.6pt solid #666;margin-top:1.5mm}
.csheet .shield{position:relative}
.csheet .shield .sv{position:absolute;inset:0}.csheet .shield .sv svg{display:block;width:100%;height:100%}
.csheet .shield .sv path{fill:#fff;stroke:var(--ln);stroke-width:1.6;vector-effect:non-scaling-stroke}
.csheet .si{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding-top:.8mm}
.csheet .si b{font:400 20pt/1.05 var(--sans)}.csheet .si small{font-size:5pt}
.e24 .hpb{display:grid;grid-template-columns:1fr 16mm 26mm}
.e24 .hpb>div{display:flex;flex-direction:column;min-width:0}
.e24 .hpb>div+div{border-left:.6pt solid var(--ln)}
.e24 .hph{font:700 6.2pt/1.1 var(--sans);letter-spacing:.04em;text-transform:uppercase;text-align:center;padding:2mm 1mm .8mm;margin:0 1.5mm;border-bottom:.65pt solid var(--ln)}
.e24 .hpr{display:grid;grid-template-columns:1fr 20mm;flex:1}
.e24 .hpcur{display:flex;align-items:flex-end;justify-content:flex-start;padding:0 0 2mm 3mm}
.e24 .hpmt{display:flex;flex-direction:column;border-left:.4pt dashed #999;text-align:center}
.e24 .hmx{flex:1;display:flex;flex-direction:column;justify-content:center}.e24 .hmx b{font:400 15pt/1 var(--sans)}
.e24 .htmp{flex:1;display:flex;align-items:flex-end;justify-content:center;padding-bottom:2mm;border-top:.4pt dashed #999}
.e24 .hdv{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center}.e24 .hdv b{font:400 15pt/1 var(--sans)}
.e24 .hdu{display:flex;align-items:flex-end;justify-content:center;height:9mm;padding-bottom:2mm;margin:0 3mm;border-top:.4pt dashed #999}
.e24 .dsc{align-items:stretch}.e24 .dsr{display:flex;align-items:center;justify-content:space-between;padding:0 1.8mm;flex:1;gap:.8mm}.e24 .dsr small{font-size:5.6pt;color:#222}
.e24 .hrule{height:5mm;display:flex;align-items:center;gap:3mm;flex:none}
.e24 .hrule::before,.e24 .hrule::after{content:'';flex:1;border-top:.8pt solid #8a8a8a}
.e24 .hrule span{font:700 9.5pt var(--serif);color:#666;letter-spacing:.07em}
.e24 .bd{flex:1;min-height:0;display:flex;gap:2.5mm}
.e24 .left{width:73mm;flex:none;display:flex;flex-direction:column;gap:2.5mm}
.e24 .abcols{display:flex;gap:2.5mm;flex:none}
.e24 .acol{flex:1;display:flex;flex-direction:column;gap:2.5mm;min-width:0}
.e24 .right{flex:1;min-width:0;display:flex;flex-direction:column;gap:2.5mm}
.e24 .ab .am{display:flex;justify-content:center;align-items:flex-start;gap:1.2mm;padding:1.8mm 1mm 1.2mm}
.e24 .mc{text-align:center;width:15.5mm}
.e24 .circ{display:flex;width:13mm;height:13mm;margin:0 auto .7mm;border:1.2pt solid var(--ln);border-radius:50%;align-items:center;justify-content:center;font:700 15pt var(--serif)}
.e24 .vc{text-align:center;padding-top:2.4mm;width:12.5mm}
.e24 .val{display:flex;width:11mm;height:8mm;border:1pt solid var(--ln);border-radius:1.3mm;align-items:center;justify-content:center;font:700 11pt var(--sans);margin:0 auto .7mm}
.e24 .mc small,.e24 .vc small{font-size:4.5pt;text-align:center}
.e24 .sks{border-top:.65pt solid var(--ln);margin:0 1.8mm 1.8mm}
.e24 .sk{display:flex;align-items:center;gap:1.3mm;min-height:5.2mm;border-bottom:.4pt solid #cfcfcf;padding:.2mm 0}
.e24 .sk:last-child{border-bottom:0}
.e24 .sk .bn{min-width:6.3mm;text-align:center;font:700 8pt var(--sans);border-bottom:.5pt solid #777;line-height:1.2}
.e24 .sk .snm{font-size:6.9pt;line-height:1.05}.e24 .sk.sv .snm{font-weight:700}
.e24 .pbv{width:14mm;margin:1.8mm auto 2.4mm;border:1pt solid var(--ln);border-radius:1mm;text-align:center;font:700 14pt/1.5 var(--serif)}
.e24 .sq6{display:flex;gap:1.1mm;justify-content:center;padding:2.2mm 1mm 2.8mm}
.e24 .sqr{display:block;width:4.1mm;height:4.1mm;border:.8pt solid var(--ln);border-radius:.8mm}
.e24 .hi{flex:none}.e24 .hic{display:flex;align-items:center;justify-content:center;padding:1mm 0 1.4mm}.e24 .hic .dt.huge{width:7mm;height:7mm;border-width:.9pt}
.e24 .acol:last-child>.ab{flex:1}.e24 .acol:last-child>.ab .sks{flex:1}
.e24 .prof{flex:1;min-height:0}
.e24 .pry{display:flex;flex-wrap:wrap;gap:.4mm 2.2mm;align-items:center;padding:1mm 2.6mm 0;font-size:6.8pt}
.e24 .pl{font:700 5.8pt var(--sans);text-transform:uppercase;width:11mm}
.e24 .pi{display:inline-flex;align-items:center;gap:.5mm}
.e24 .prof .tx{flex:1;padding:1.2mm 2.4mm;font-size:7.2pt;line-height:1.3}.e24 .prof .tx p{margin-bottom:1.1mm}
.e24 .st4{display:grid;grid-template-columns:repeat(4,1fr);gap:2.5mm;height:20mm;flex:none}
.e24 .sb .bh{font-size:5.9pt;padding-top:1.5mm;min-height:7.6mm;display:flex;align-items:center;justify-content:center}
.e24 .sb>b{flex:1;display:flex;align-items:center;justify-content:center;font:400 14pt var(--sans)}
.e24 .sb .pas2{font-size:4.3pt;text-align:center;padding:0 1mm 1.8mm;letter-spacing:0;margin-top:-1mm}
.e24 .sb>b+.pas2{margin-top:-2mm}
.e24 .wp{flex:none}
.e24 .fb{flex:1;min-height:0}
.e24 .fb .fl.gr{flex:1}
.e24 .pair{display:grid;grid-template-columns:1fr 1fr;gap:2.5mm;height:50mm;flex:none}
.e24 .pair .bx{min-height:0}.e24 .pair .fl,.e24 .pair .tx{flex:1}

/* заклинания 2024 */
.e24 .sptop{display:grid;grid-template-columns:64mm 1fr;gap:2.5mm;height:31mm;margin-bottom:2.5mm}
.e24 .spst{padding:2mm 3mm;justify-content:space-between}
.e24 .ss{display:flex;align-items:center;gap:2mm;border-bottom:.4pt solid #bbb;flex:1}.e24 .ss:last-child{border-bottom:0}
.e24 .ss b{min-width:17mm;text-align:center;font:700 10pt var(--sans)}.e24 .ss small{font-size:5.4pt;color:#222;font-weight:700}
.e24 .slg{display:grid;grid-template-columns:repeat(3,1fr);gap:1.4mm 3mm;padding:2mm 3mm .5mm;align-content:start}
.e24 .slc{display:flex;align-items:center;flex-wrap:wrap;gap:.2mm}.e24 .slc small{width:12mm;font:700 6.6pt var(--sans);color:#222;text-transform:none}
.e24 .spn{font-size:5.8pt;color:#555;padding:0 3mm 1.8mm;margin-top:auto}
.e24 .spt{padding-bottom:1.5mm}
.e24 .sptab{font-size:7.3pt;margin:0}
.e24 .spt .sptab{width:calc(100% - 3.6mm);margin:0 1.8mm}
.e24 .sptab th{font:400 5.6pt var(--sans);text-transform:uppercase;text-align:left;color:#444;border-bottom:.8pt solid #222;padding:1.2mm .8mm}
.e24 .sptab td{height:5.4mm;border-bottom:.4pt solid #aaa;padding:0 .8mm;white-space:nowrap;overflow:hidden}
.e24 .sptab td.snm{font-weight:700;font-size:7.5pt}.e24 .sptab td.snm small{display:inline;text-transform:none;font-size:5.6pt;font-weight:400;color:#666}
.e24 .sptab td.comp{font-size:6.6pt;color:#333}
.e24 .sptab td.fl{font-weight:700;font-size:7pt;columns:auto;padding:0}
.e24 .sptab th:nth-child(1),.e24 .sptab td:nth-child(1){width:6mm}.e24 .sptab th:nth-child(2),.e24 .sptab td:nth-child(2){width:6.5mm}
.e24 .sptab th:nth-child(4),.e24 .sptab td:nth-child(4){width:25mm}.e24 .sptab th:nth-child(5),.e24 .sptab td:nth-child(5){width:20mm}
.e24 .sptab th:nth-child(6),.e24 .sptab td:nth-child(6),.e24 .sptab th:nth-child(7),.e24 .sptab td:nth-child(7){width:5mm}
.e24 .sptab th:nth-child(8),.e24 .sptab td:nth-child(8){width:14mm}.e24 .sptab th:nth-child(9),.e24 .sptab td:nth-child(9){width:21mm}

/* ======================= D&D 2014 ======================= */
.e14 .bx{display:flex;flex-direction:column;border:1.1pt solid #111;border-radius:1.8mm;background:#fff}
.e14 .bh{order:9;font:700 6.3pt/1.1 var(--sans);letter-spacing:.03em;text-transform:uppercase;text-align:center;padding:1.2mm 1mm 1.5mm}
.e14 .bx>.tx,.e14 .bx>.fl{margin:0}
.e14.p1{display:flex;flex-direction:column;gap:3mm}
.e14 .hd{display:flex;gap:5mm;height:33mm;flex:none;align-items:flex-end}
.e14 .hname{width:66mm;flex:none;padding-bottom:3mm}.e14 .hname b{display:block;font:700 16pt/1.2 var(--serif);border-bottom:1pt solid #222;min-height:9mm;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.e14 .hname small{margin-top:.6mm;font-size:5.6pt}
.e14 .hinfo{flex:1;height:100%;padding:3.2mm 4mm;justify-content:center}
.e14 .g4{display:grid;grid-template-columns:1.2fr 1.2fr 1fr 1fr;gap:3.5mm 4mm}.e14 .fld.c2{grid-column:span 2}
.e14 .fld.lvl b{font-weight:700;font-size:11pt}
.e14 .bd{flex:1;min-height:0;display:flex;gap:3mm}
.e14 .c1{width:68mm;flex:none;display:flex;flex-direction:column;gap:3mm}.e14 .c2{width:63mm;flex:none;display:flex;flex-direction:column;gap:3mm}.e14 .c3{flex:1;min-width:0;display:flex;flex-direction:column;gap:3mm}
.e14 .c1top{display:flex;gap:2mm;flex:none}
.e14 .abstrip{width:18mm;flex:none;background:var(--panel);border-radius:5mm;padding:4mm 1.5mm 6mm;display:flex;flex-direction:column;align-items:center;justify-content:space-between}
.e14 .ab14{width:14.4mm;background:#fff;border:1.1pt solid #111;border-radius:1.6mm;text-align:center;padding:1.2mm 0 4.6mm;position:relative;margin-bottom:3mm}
.e14 .an{font:700 5.6pt var(--sans);text-transform:uppercase;letter-spacing:.02em}.e14 .an.long{font-size:4.5pt;letter-spacing:-.05pt}
.e14 .amod{font:400 17pt/1.2 var(--sans)}
.e14 .asc{position:absolute;left:50%;bottom:-3.2mm;transform:translateX(-50%);width:10.6mm;height:6.4mm;border:1.1pt solid #111;border-radius:50%;background:#fff;display:flex;align-items:center;justify-content:center;font:400 9.5pt var(--sans)}
.e14 .c1b{flex:1;min-width:0;display:flex;flex-direction:column;gap:3mm}
.e14 .insp{display:flex;align-items:center;gap:2mm;height:10mm;flex:none}
.e14 .sqb{display:block;width:10mm;height:10mm;border:1.3pt solid #111;border-radius:1.6mm;background:#fff;flex:none}
.e14 .insp b,.e14 .pbc b{flex:1;border:1.1pt solid #111;border-radius:1.4mm;background:#fff;font:700 6.2pt var(--sans);text-transform:uppercase;text-align:center;padding:2mm 1mm;line-height:1.1}
.e14 .pbc{display:flex;align-items:center;gap:0;height:10mm;flex:none}
.e14 .pcirc{display:flex;width:10.5mm;height:10.5mm;border:1.3pt solid #111;border-radius:50%;background:#fff;align-items:center;justify-content:center;font:400 11pt var(--sans);flex:none;margin-right:-1mm;position:relative;z-index:1}
.e14 .sk{display:flex;align-items:center;gap:1.4mm;padding:0 2mm;height:4.85mm}
.e14 .sk .bn{min-width:6.2mm;text-align:center;font:400 9pt var(--sans);border-bottom:.6pt solid #222;line-height:1.1}
.e14 .sk .snm{font-size:7pt;white-space:nowrap}.e14 .sk .snm.big{font-size:8.2pt}.e14 .sk .at{font-style:normal;color:#777;font-size:6pt}
.e14 .sv14,.e14 .sk14{padding-top:1.4mm}
.e14 .sv14{flex:none}.e14 .sk14{flex:none}
.e14 .pasw{display:flex;align-items:center;gap:2.5mm;flex:none}
.e14 .poval{display:flex;width:11mm;height:11mm;border:1.2pt solid #111;border-radius:50%;align-items:center;justify-content:center;font:400 10.5pt var(--sans);flex:none}
.e14 .pasw b{font:700 6.2pt/1.15 var(--sans);text-transform:uppercase}
.e14 .lang{flex:1;min-height:0}.e14 .lang .tx.ln{flex:1;padding-top:1mm}
.e14 .panel{background:var(--panel);border-radius:5mm;padding:3mm;display:flex;flex-direction:column;gap:2.5mm}
.e14 .p3{display:flex;gap:2.5mm;height:22mm}
.e14 .s14{width:17.5mm;flex:none}.e14 .s14 .si b{font:400 15pt/1}.e14 .s14 .si small{font:700 5.6pt var(--sans);margin-bottom:.3mm}
.e14 .sb{flex:1}.e14 .sb>b{flex:1;display:flex;align-items:center;justify-content:center;font:400 14pt var(--sans)}
.e14 .mx{height:14mm}.e14 .mx>b{flex:1;display:flex;align-items:center;justify-content:center;font:400 12pt var(--sans)}
.e14 .curhp,.e14 .tmp{height:24mm}
.e14 .p2{display:flex;gap:2.5mm;height:23mm}.e14 .p2 .bx{flex:1}
.e14 .hdb,.e14 .dsb{align-items:center;justify-content:center;text-align:center}
.e14 .hdb b{font:400 14pt/1.1 var(--sans)}.e14 .hdb .sp{display:none}
.e14 .dsb .dsr{display:flex;align-items:center;gap:1.5mm;font-size:5.6pt;margin:.4mm 0}.e14 .dsb .dsr small{font-size:5.4pt;color:#222;width:8mm;text-align:left}
.e14 .dsb .dt.big{width:3.4mm;height:3.4mm}
.e14 .wp{height:56mm;flex:none}.e14 .wp .wtab{flex:none}.e14 .wp .tx.ln{flex:1}
.e14 .eq{flex:1;min-height:0}.e14 .eq .tx.ln{flex:1}
.e14 .coins.small{padding:2mm 2mm 1mm;gap:1mm}.e14 .coins.small .coin b{min-height:5.6mm;line-height:5.4mm;font-size:8pt}
.e14 .iti{display:flex;align-items:center;gap:1.4mm;height:4.7mm;white-space:nowrap;overflow:hidden}.e14 .iti .eqm{width:2.2mm;font-style:normal;font-size:6pt;flex:none}.e14 .iti b{margin-left:auto;font-size:7pt}
.e14 .pers{height:21.5mm}.e14 .pers .tx.ln{flex:1;padding:0 1.5mm}
.e14 .c3 .fb{flex:1;min-height:0}.e14 .c3 .fb .tx.ln{flex:1}
.e14 .c3 .fi{margin:0;height:4.7mm;line-height:4.7mm;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.e14 .fsub{font:700 6pt var(--sans);text-transform:uppercase;color:#444;height:4.7mm;line-height:4.7mm}

/* заклинания 2014 */
.e14 .sphd{display:grid;grid-template-columns:1fr 38mm 38mm 38mm;gap:3.5mm;margin-bottom:3.5mm;align-items:end}
.e14 .sbx{padding:2mm 1.5mm 1mm;text-align:center;height:14mm;justify-content:flex-end}.e14 .sbx b{font:400 12pt var(--sans);display:block;order:0}
.e14 .sbx small{order:1;margin-top:.6mm;font-size:5pt}
.e14 .lvcols{display:flex;gap:4mm}.e14 .lvc{flex:1;display:flex;flex-direction:column;gap:3mm;min-width:0}
.e14 .lh{display:flex;align-items:center;gap:1.6mm;border:1.1pt solid #111;border-radius:2mm;height:7.2mm;padding:0 1.8mm;margin-bottom:.6mm}
.e14 .ln0{font:700 13pt var(--serif);width:5mm;text-align:center}.e14 .lz{font:700 6.6pt var(--sans);text-transform:uppercase;flex:1;text-align:center}
.e14 .lt{display:flex;align-items:center;gap:1.2mm}.e14 .lt b{font:400 10pt var(--sans);border-bottom:.6pt solid #222;min-width:5mm;text-align:center}.e14 .lt small,.e14 .ls small{font-size:4.5pt;max-width:9mm;line-height:1}
.e14 .ls{display:flex;align-items:center;gap:1mm;margin-left:auto}.e14 .ls .dt{width:2.9mm;height:2.9mm}
.e14 .sl{display:flex;align-items:center;gap:1.5mm;height:5.1mm;border-bottom:.45pt solid #8a8a8a;font-size:7.4pt;white-space:nowrap;overflow:hidden}.e14 .sl small{display:inline;margin-left:auto;font-size:5.6pt;color:#555}

/* ======================= общие страницы ======================= */
/* тексты умений */
.csheet .pfeat{columns:2;column-gap:6mm}
.csheet .pfi{break-inside:avoid;margin-bottom:2.3mm;font-size:7.8pt;line-height:1.28}
.csheet .pfi small{display:inline;text-transform:none;color:#555;font-size:6.3pt;letter-spacing:0}
.csheet .pfi .ft p{margin:1mm 0}.csheet .pfi .ft ul{margin:1mm 0;padding-left:4mm}

/* карточки заклинаний 63,5 × 88,9 мм */
.csheet .cgrid{display:grid;grid-template-columns:repeat(3,63.5mm);grid-auto-rows:88.9mm;justify-content:center}
.csheet .cardhost{position:absolute;left:-9999px;top:0;width:200mm;display:flex;flex-wrap:wrap}
.csheet .scard{width:63.5mm;height:88.9mm;border:1.4pt solid #111;background:#fff;display:flex;flex-direction:column;overflow:hidden;flex:none}
.csheet .ch{display:flex;align-items:center;gap:1.6mm;padding:1.9mm 2.1mm .7mm}
.csheet .cl{display:inline-flex;min-width:4.6mm;height:4.6mm;border:1.1pt solid #111;border-radius:.9mm;font:700 8pt var(--sans);align-items:center;justify-content:center;flex:none}
.csheet .scn{font:700 10pt/1.05 var(--serif)}
.csheet .chips{display:flex;flex-wrap:wrap;gap:.8mm;padding:0 2.1mm 1mm}
.csheet .schip{background:#e8e8e8;border-radius:.9mm;font-size:5.8pt;padding:.35mm 1.2mm;white-space:nowrap}
.csheet .schip.flag{background:#222;color:#fff;font-weight:700}
.csheet .cbody{flex:1;min-height:0;overflow:hidden;padding:.8mm 2.3mm;font:6.9pt/1.22 var(--sans)}
.csheet .cbody p{margin:0 0 1.1mm}.csheet .cbody ul{margin:0 0 1.1mm;padding-left:3.6mm}.csheet .cbody table{font-size:6pt;width:100%;margin-bottom:1.1mm}.csheet .cbody td,.csheet .cbody th{border:.4pt solid #888;padding:0 .8mm;text-align:left}
.csheet .cf{display:flex;justify-content:space-between;padding:.3mm 2.1mm;font-size:5.8pt;color:#444;min-height:3.2mm}
.csheet .sch{background:#e8e8e8;font-size:6pt;padding:.9mm 2.1mm;border-top:.5pt solid #aaa}

/* снаряжение и описание */
.csheet .dgrid{display:grid;grid-template-columns:90mm 1fr;gap:2.8mm;align-items:start}
.csheet .dcol{display:flex;flex-direction:column;gap:2.8mm;min-width:0}
.csheet .p4{display:grid;grid-template-columns:1fr 1fr;gap:2.8mm}
.csheet .itab{font-size:7.4pt}.csheet .itab th{font:400 5.6pt var(--sans);text-transform:uppercase;color:#555;text-align:left;padding:1.2mm 1mm;border-bottom:.8pt solid #222}
.csheet .itab td{height:5.1mm;border-bottom:.45pt solid #8a8a8a;padding:0 1mm}.csheet .itab th.c{text-align:center}
.csheet .itab th:first-child,.csheet .itab td:first-child{width:5mm}.csheet .itab th:nth-child(3),.csheet .itab td:nth-child(3){width:10mm}.csheet .itab th:nth-child(4),.csheet .itab td:nth-child(4){width:15mm}
.csheet .dinv .itab{width:calc(100% - 3mm);margin:0 1.5mm}
.csheet .cap{display:flex;justify-content:space-between;gap:3mm;padding:2mm 3mm;font-size:7pt}
.csheet .attn{display:flex;gap:6mm;justify-content:center;padding:2.2mm 0 2.6mm}
.csheet .desc .bx>.tx{margin:0 1.7mm 1.7mm}
.csheet .e14.desc .bx>.tx{margin:0}

/* облики зверей */
.csheet .pform{break-inside:avoid;margin-bottom:3mm}.csheet .pform .stat{box-shadow:none;font-size:9pt}
.csheet .fmore{font:italic 6pt var(--sans);color:#666;break-inside:avoid}
.e14 .fmore{height:4.7mm;line-height:4.7mm}
.e24 .dsr .dt{width:2.6mm;height:2.6mm}.e24 .dsc .dsr{padding:0 2.4mm 0 1.6mm}
.e24 .shield .si .dm{margin-top:1.4mm}

/* предыстория вместо заметок (2024) */
.e24 .bgt{background:#fff;font-size:6.8pt;line-height:1.28;padding:1.2mm 1.6mm;color:#111}
.e24 .bgt p{margin:0 0 .7mm}
.e24 .bgt .bgn{font:700 9pt/1.15 var(--serif);margin-bottom:1mm}
.e24 .bgt .bgd{margin-top:1mm;color:#333}

/* страницы «Описание» и «Снаряжение» */
.csheet .port{min-height:128mm}
.csheet .desc:not(.gear) .dgrid{min-height:250mm;align-items:stretch}
.csheet .dcol>.port.grow{flex:1}
.csheet .port .pimg{flex:1;position:relative;overflow:hidden;margin:1.7mm;min-height:0}
.csheet .port .pimg img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;display:block}
.csheet .gear .dcoin{margin-bottom:2.8mm}
.csheet .gearg{grid-template-columns:1fr 62mm;align-items:stretch}
.csheet .gearg .dinv{min-width:0}
.csheet .dcol .st.grow{flex:1}.csheet .dcol .st.grow .tx{flex:1}
.csheet .e14 .port .pimg,.csheet .port .pimg{background:#fff}
