/* Codex の style.css に無い部品だけを足す（本文の原稿にある物） */
/* ジャンルごとの色：記事・人物ページは body の data-genre で切り替える */
body[data-genre=mik]{--accent-bud:var(--accent-mik)}
body[data-genre=ju]{--accent-bud:var(--accent-ju)}
body[data-genre=ph]{--accent-bud:var(--accent-ph)}
body[data-genre=his]{--accent-bud:var(--accent-his)}
/* 先生・読者以外の話し手（王さま・ナーガセーナなど）：名前が長いので丸ではなく札にする */
.dialogue-row.other{grid-template-columns:7.2rem minmax(0,1fr)}
.dialogue-row.other .speaker{justify-self:start;width:auto;min-width:48px;padding:0 12px;border-radius:24px;white-space:nowrap;font-size:.75rem}
.dialogue-row.other .speech{border-radius:0 18px 18px 18px}
/* 挿絵：大きく見せる */
.diagram.illust .art-box{aspect-ratio:16/9;max-height:none}
.diagram.illust .art-box img{object-fit:cover}
/* 本文中の見出し・箇条書き・表 */
.reading-copy h3{font-size:1.15em;margin:2em 0 .6em;font-family:var(--font-heading)}
.reading-copy .list{padding-left:1.4em;margin:1.2em 0}
.reading-copy .list li+li{margin-top:.4em}
.table-wrap{overflow-x:auto;margin:28px 0;border:1px solid var(--line);border-radius:12px;background:var(--surface)}
.table-wrap table{border-collapse:collapse;width:100%;font-size:.9em;line-height:1.7;letter-spacing:0}
.table-wrap th,.table-wrap td{padding:12px 14px;text-align:left;vertical-align:top;border-bottom:1px solid var(--line)}
.table-wrap tr:last-child td{border-bottom:0}
.table-wrap th{background:var(--soft);white-space:nowrap}
.source-translation blockquote p+p{margin-top:.6em}
.reading-copy strong{background:linear-gradient(transparent 62%,color-mix(in srgb,var(--accent-bud) 22%,transparent) 62%)}
/* 最終話の次に「近くの人物」を並べる */
.next-people{display:flex;flex-wrap:wrap;gap:10px 22px;margin-top:16px}
@media(max-width:640px){.dialogue-row.other{grid-template-columns:5.6rem minmax(0,1fr)}.dialogue-row.other .speaker{min-width:40px;padding:0 8px;font-size:.6875rem}.table-wrap th,.table-wrap td{padding:10px}}
.article-header .lead{margin-top:20px;font-size:1.05rem;line-height:1.9}
/* 共通部品 button_glow.css は本体を繰り返し動かす古い版。決まり（2026-10-17：脈打つ繰り返しの動きは使わない・光だけ）に合わせて、ここで本体の動きを止める。光の帯と、マウスを乗せたときの浮きは残す */
.btn-glow{animation:none}
