/* v3 reading page */
body.reading{background:#fbf7ef}
.rtop{position:sticky;top:0;z-index:5;display:flex;justify-content:space-between;align-items:center;gap:.6rem;flex-wrap:wrap;
  padding:.55rem clamp(1rem,4vw,2rem);background:rgba(251,247,239,.94);backdrop-filter:blur(6px);border-bottom:1px solid var(--line);font-size:.85rem}
.rtop a{font-weight:700;text-decoration:none}
.rtools{display:flex;gap:.4rem}
.rbtn{font:inherit;font-size:.85rem;font-weight:700;color:var(--ink);background:#fff;border:1px solid var(--line);border-radius:999px;padding:.25rem .9rem;cursor:pointer;text-decoration:none}
.rbtn[aria-pressed="true"]{background:var(--accent);color:#fff;border-color:var(--accent)}
.article{max-width:40rem;margin:0 auto;padding:1.4rem clamp(1rem,4vw,1.5rem) 2rem}
.article p{margin:0 0 1rem;line-height:1.9}
.kicker{color:var(--accent);font-weight:800;font-size:.9rem;margin:.6rem 0 0!important}
.article h1{margin:.2rem 0 .2rem;font-size:clamp(1.8rem,3vw + 1rem,2.6rem)}
.sub{color:var(--soft);font-size:1.05rem}
.intro{font-size:1.06rem}
.article figure{margin:1rem 0 1.2rem}
.article figure img{width:100%;height:auto;display:block;border-radius:16px;aspect-ratio:4/3;object-fit:cover;background:#efe4d1}
.article figure.mini img{aspect-ratio:16/9}
figcaption{font-size:.82rem;color:var(--soft);margin-top:.4rem;line-height:1.6}
.toc{background:#fff;border:1px solid var(--line);border-radius:16px;padding:.9rem 1.2rem;margin:1.4rem 0 2rem}
.toc h2{font-size:1rem;margin:0 0 .3rem}
.toc ol{margin:0;padding-left:1.4rem;line-height:1.9}
.toc .try-li,.toc .src-li{list-style:none;margin-left:-1.4rem}
.toc .try-li::before{content:"✎ "} .toc .src-li::before{content:"· "}
.stop{margin:2.6rem 0 0;scroll-margin-top:3.4rem}
.stop-no{color:var(--accent);font-weight:800;font-size:.85rem;margin:0 0 .1rem!important;letter-spacing:.02em}
.stop h2,.try h2,.sources h2{font-size:clamp(1.3rem,1.2vw + 1rem,1.6rem);margin:0 0 .6rem;line-height:1.4}
sup.ref{font-size:.62em;line-height:0;margin-left:.1em}
sup.ref a{text-decoration:none;color:#7a8aa6} sup.ref .sep{color:#7a8aa6}
.think{background:#fff6e2;border-radius:14px;padding:.8rem 1.1rem;margin:1.2rem 0 0;border-left:5px solid #e0a54a}
.think p{margin:0!important}
.think-h{font-weight:800;color:#8a5a12;font-size:.88rem;margin-bottom:.2rem!important}
.think-h::before{content:"💭 "}
.try{margin:3rem 0 0;background:#eef5ee;border-radius:18px;padding:1.2rem clamp(1rem,3vw,1.6rem);scroll-margin-top:3.4rem}
.steps{padding-left:1.3rem;margin:.4rem 0 1rem}
.steps li{margin:.55rem 0;line-height:1.85}
.steps strong{display:block;color:#2f5a33}
.mapfig .mapbox{overflow-x:auto;border-radius:12px;background:#fff}
.mapfig svg.map{width:100%;height:auto;display:block;border-radius:12px;border:1px solid var(--line)}
.mapfig figcaption span{display:inline-block;width:1.8rem;height:0;vertical-align:middle}
.close{font-weight:600;margin-bottom:0!important}
.sources{margin:2.6rem 0 0;font-size:.85rem;color:var(--soft);scroll-margin-top:3.4rem}
.sources ol{padding-left:1.4rem}
.sources li{margin:.3rem 0;line-height:1.6;overflow-wrap:anywhere}
.sources .url{display:none}
.sources .note{font-size:.8rem}
.rfoot{max-width:40rem;margin:0 auto;padding:1rem clamp(1rem,4vw,1.5rem) 3rem;font-size:.8rem;color:var(--soft);border-top:1px solid var(--line)}
@media (max-width:760px){ .mapfig svg.map{min-width:640px} }
@media print{
  @page{size:A4;margin:16mm 15mm}
  body.reading{background:#fff;font-size:11pt}
  .rtop,.no-print,.toc{display:none!important}
  .article{max-width:none;padding:0}
  .article p{line-height:1.7;margin-bottom:.55rem}
  .stop-head{break-inside:avoid;page-break-inside:avoid}
  .article figure img{max-height:5.6cm;width:auto;max-width:100%;margin:0 auto;aspect-ratio:auto}
  .article figure{break-inside:avoid;text-align:center}
  .stop{margin-top:1.2rem;break-before:auto}
  .stop h2{break-after:avoid}
  .think{break-inside:avoid;background:#fff;border:1px solid #c9a25a;border-left-width:5px}
  .think::after{content:"";display:block;height:1.4cm;border-bottom:1px dashed #bbb}
  .try{background:#fff;border:1px solid #9cbf9f;break-before:page}
  .mapfig .mapbox{overflow:visible}
  .mapfig svg.map{min-width:0;max-height:8cm}
  sup.ref a{color:#555}
  .sources .url{display:inline;font-size:.75em}
  .sources a{display:none}
  .rfoot{border:none;padding:0}
}
