/* Shared antique paper and spacious reading surfaces throughout the main hall. */
:is(body.main-hall,body.future-body,.antique-reader-surface)[data-antique="true"]{background:#f5f2e9;color:#343c35;--muted:#72776a;--bronze:#8a5543;--line:#7b80632e}
:is(body.main-hall,body.future-body,.antique-reader-surface)[data-antique="true"][data-reading="true"] .hall-world:after{background:linear-gradient(180deg,#172c3020,transparent 20%,#f5f2e9 42%)}
:is(body[data-antique="true"],.antique-reader-surface) .hall-topbar{position:relative;z-index:2;color:#fcfaf1;background:linear-gradient(#1b302c80,transparent);text-shadow:0 1px 5px #20332c}
:is(body[data-antique="true"],.antique-reader-surface) .primary-nav{display:none}
:is(body[data-antique="true"],.antique-reader-surface) .antique-view{padding:0 7px 30px;min-height:calc(100svh - 70px);animation:none}
.antique-scene{position:relative;height:235px;margin:-70px -7px 0;background-image:var(--leaf-scene);background-size:cover;background-position:50% 53%;pointer-events:none}
.antique-scene:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,#18312a40,transparent 35%,#f5f2e900 70%,#f5f2e9 100%)}
:is(body[data-antique="true"],.antique-reader-surface) .antique-leaf{position:relative;isolation:isolate;margin:-13px 0 0;padding:31px 15px 28px 18px;background:linear-gradient(90deg,#86785e26,transparent 16px,transparent calc(100% - 9px),#a18e6c14),radial-gradient(ellipse at 0% 4%,#b8a47d13,transparent 27%),radial-gradient(ellipse at 100% 76%,#b8a47d0f,transparent 24%),#f8f5ed;border:1px solid #89816b;border-radius:1px 3px 3px 1px;box-shadow:2px 2px 0 #ddd5c0,3px 3px 0 #8e867066,4px 5px 0 #eae3d0,5px 6px 0 #8e867055,0 12px 25px #313d342b,inset 7px 0 8px #655d4c20;transform-origin:3% 50%;animation:leaf-settle .46s ease-out both}
.antique-leaf:before{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;opacity:1;background-image:url("assets/antique-paper-fibers.svg");background-size:100% 100%;background-repeat:no-repeat;mix-blend-mode:multiply}
.antique-leaf:after{content:"";position:absolute;inset:9px 7px 10px 10px;border:3px double #70654b9c;pointer-events:none}
.leaf-binding{position:absolute;z-index:1;left:-5px;top:-1px;bottom:-1px;width:10px;background:repeating-linear-gradient(0deg,transparent 0 2px,#ffffff0b 2px 3px),linear-gradient(90deg,#243b3b,#415450 70%,#1c3333);border-radius:2px 0 0 2px;box-shadow:2px 0 3px #413d3b40;pointer-events:none}
.leaf-binding i{position:absolute;left:-1px;width:14px;height:3px;border-top:1px solid #ded1ad;border-bottom:1px solid #988b69;transform:rotate(-13deg);box-shadow:0 1px 1px #102421}
.leaf-binding i:nth-child(1){top:42px}.leaf-binding i:nth-child(2){top:130px}.leaf-binding i:nth-child(3){bottom:130px}.leaf-binding i:nth-child(4){bottom:42px}
.leaf-seal{position:absolute;top:24px;right:20px;color:#964d3d;border:2px solid #964d3dbd;outline:1px solid #964d3d8c;outline-offset:2px;padding:2px 3px;font:12px/1.05 "KaiTi","STKaiti",serif;letter-spacing:1px;transform:rotate(-5deg);opacity:.84;pointer-events:none}
:is(body[data-antique="true"],.antique-reader-surface) .antique-leaf .page-heading{padding:0 0 11px;text-shadow:none}
:is(body[data-antique="true"],.antique-reader-surface) .antique-leaf .eyebrow{color:#706851;font:12px/1.8 "SimSun",serif;letter-spacing:.19em;margin:0 48px 19px 0!important}
:is(body[data-antique="true"],.antique-reader-surface) .antique-leaf h1{font-family:"KaiTi","STKaiti","Songti SC",serif;font-size:30px;line-height:1.5;letter-spacing:.025em;font-weight:600;color:#353d32}
/* Three tactile book labels: large tap targets and an unmistakable selected state. */
:is(body.main-hall,body.future-body,.antique-reader-surface) :is(.antique-leaf .tabs,.mirror-reading-paper .tabs,.artifact-paper .artifact-tabs,.life-article-paper .reading-version-tabs){display:grid;grid-template-columns:repeat(3,minmax(0,1fr));position:relative;margin:3px 0 27px;padding:0 0 16px;gap:9px;overflow:visible;border-bottom:1px solid #8e80634a}
:is(body.main-hall,body.future-body,.antique-reader-surface) :is(.antique-leaf .tabs,.mirror-reading-paper .tabs,.artifact-paper .artifact-tabs,.life-article-paper .reading-version-tabs):after{content:none}
:is(body.main-hall,body.future-body,.antique-reader-surface) :is(.antique-leaf .tabs,.mirror-reading-paper .tabs,.artifact-paper .artifact-tabs,.life-article-paper .reading-version-tabs) :is(a,button){display:flex;align-items:center;justify-content:center;position:relative;min-width:0;min-height:55px;padding:8px 3px;box-sizing:border-box;color:#575044!important;background:linear-gradient(180deg,#fffdf6bd,#eee8da88);border:1px solid #a69a82;border-radius:3px;font:600 22px/1.4 "KaiTi","STKaiti","Songti SC",serif;letter-spacing:.12em;text-indent:.12em;text-decoration:none;text-shadow:none;box-shadow:inset 0 0 0 3px #fffdf26b,0 2px 3px #51442a10;cursor:pointer;transition:background .16s,color .16s,box-shadow .16s}
:is(body.main-hall,body.future-body,.antique-reader-surface) :is(.antique-leaf .tabs,.mirror-reading-paper .tabs,.artifact-paper .artifact-tabs,.life-article-paper .reading-version-tabs) :is(a,button):before{content:none}
:is(body.main-hall,body.future-body,.antique-reader-surface) :is(.antique-leaf .tabs,.mirror-reading-paper .tabs,.artifact-paper .artifact-tabs,.life-article-paper .reading-version-tabs) :is(a,button):hover{border-color:#8e493c;background:#f0e5d5;box-shadow:inset 0 0 0 3px #fffdf26b,0 3px 7px #51442a20}
:is(body.main-hall,body.future-body,.antique-reader-surface) :is(.antique-leaf .tabs,.mirror-reading-paper .tabs,.artifact-paper .artifact-tabs,.life-article-paper .reading-version-tabs) :is(a,button):focus-visible{outline:2px solid #8e493c;outline-offset:3px}
:is(body.main-hall,body.future-body,.antique-reader-surface) :is(.antique-leaf .tabs,.mirror-reading-paper .tabs,.artifact-paper .artifact-tabs,.life-article-paper .reading-version-tabs) :is(a,button)[aria-current="page"]{color:#fff8e9!important;border-color:#853d30;background:linear-gradient(160deg,#a45947,#874031);text-shadow:0 1px 1px #592e3266;box-shadow:inset 0 0 0 3px #8e493c,inset 0 0 0 4px #f0d6a66b,0 3px 6px #703a2926}
:is(body.main-hall,body.future-body,.antique-reader-surface) :is(.antique-leaf .tabs,.mirror-reading-paper .tabs,.artifact-paper .artifact-tabs,.life-article-paper .reading-version-tabs) :is(a,button)[aria-current="page"]:after{content:"";position:absolute;left:calc(50% - 5px);bottom:-6px;width:9px;height:9px;background:#884132;transform:rotate(45deg);border-right:1px solid #853d30;border-bottom:1px solid #853d30}
:is(body[data-antique="true"],.antique-reader-surface) .antique-leaf .prose{font-family:"Songti SC","STSong","SimSun",serif;font-size:18px;line-height:1.95;color:#353b33;letter-spacing:.015em;overflow-wrap:break-word;text-align:justify}
:is(body[data-antique="true"],.antique-reader-surface) .antique-leaf .prose p{margin:0 0 1.25em}
:is(body[data-antique="true"],.antique-reader-surface) .antique-leaf .prose h2,:is(body[data-antique="true"],.antique-reader-surface) .antique-leaf .prose h3{position:relative;color:#4a4638;font-family:"KaiTi","STKaiti",serif;font-size:22px;font-weight:600;letter-spacing:.06em;margin:27px 0 15px;line-height:1.6;text-align:left}
:is(body[data-antique="true"],.antique-reader-surface) .antique-leaf .prose h2:first-child{margin-top:0}
:is(body[data-antique="true"],.antique-reader-surface) .antique-leaf .prose h2:before{content:"";display:inline-block;width:9px;height:9px;border:1px solid #9a6049;background:#9a604918;transform:rotate(45deg);margin-right:10px;vertical-align:2px}
:is(body[data-antique="true"],.antique-reader-surface) .antique-leaf .prose strong{color:#354535}
:is(body[data-antique="true"],.antique-reader-surface) .antique-leaf .sources{color:#777869;border-color:#7d7b602b;margin-top:30px}
.leaf-end{display:flex;align-items:center;justify-content:center;gap:12px;color:#777f6c;font:12px/2 "SimSun",serif;letter-spacing:.15em;margin-top:24px}
.leaf-end:before,.leaf-end:after{content:"";width:25px;height:1px;background:#93977d66}
@keyframes leaf-settle{from{opacity:.65;transform:perspective(1200px) rotateY(-3deg) translateY(4px)}to{opacity:1;transform:none}}
@media(min-width:480px){:is(body[data-antique="true"],.antique-reader-surface) .antique-leaf{padding-left:22px;padding-right:22px}.antique-scene{height:270px}}
@media(prefers-reduced-motion:reduce){:is(body[data-antique="true"],.antique-reader-surface) .antique-leaf{animation:none}}

/* One paper recipe for every article; decoration and navigation stay with their own reader. */
:is(body.main-hall,body.future-body,.antique-reader-surface){--reader-paper:url("assets/antique-paper-fibers.svg"),linear-gradient(90deg,#86785e26,transparent 16px,transparent calc(100% - 9px),#a18e6c14),radial-gradient(ellipse at 0% 4%,#b8a47d13,transparent 27%),radial-gradient(ellipse at 100% 76%,#b8a47d0f,transparent 24%),#f8f5ed}
:is(body.main-hall,body.future-body,.antique-reader-surface) :is(.antique-leaf,.mirror-reading-paper,.artifact-paper,.genealogy-paper,.dossier-paper,.manuscript,.life-article-paper){background:var(--reader-paper);background-size:100% 100%;background-repeat:no-repeat;color:#353b33;--muted:#72776a;--line:#7b80632e;text-shadow:none}
:is(body.main-hall,body.future-body,.antique-reader-surface) .antique-leaf:before,:is(body.main-hall,body.future-body,.antique-reader-surface) .manuscript:before{content:none}
:is(body.main-hall,body.future-body,.antique-reader-surface) :is(.mirror-reading-paper,.artifact-paper){margin:24px 7px 0;padding:25px 19px 34px;border:1px solid #89816b;box-shadow:inset 0 0 0 5px #f8f5ed,inset 0 0 0 6px #70654b66,2px 3px 0 #ddd5c0;position:relative}
:is(body.main-hall,body.future-body,.antique-reader-surface) :is(.antique-leaf,.mirror-reading-paper,.artifact-paper,.genealogy-paper,.dossier-paper,.manuscript,.life-article-paper) .prose{color:#353b33;font-family:"Songti SC","STSong","SimSun",serif;font-size:18px;line-height:1.95;text-shadow:none}
:is(body.main-hall,body.future-body,.antique-reader-surface) :is(.antique-leaf,.mirror-reading-paper,.artifact-paper,.genealogy-paper,.dossier-paper,.manuscript,.life-article-paper) :is(.prose h2,.prose h3,.prose h4,.prose strong){color:#354535}
:is(body.main-hall,body.future-body,.antique-reader-surface) :is(.mirror-reading-paper,.artifact-paper) :is(h2,h3,h4,summary,.artifact-next span,.mirror-reading-footer span){color:#354535}
:is(body.main-hall,body.future-body,.antique-reader-surface) :is(.mirror-reading-paper,.artifact-paper) :is(.sources,.artifact-tags,.artifact-section-note,.artifact-sources,small){color:#686b5d}
:is(body.main-hall,body.future-body,.antique-reader-surface) :is(.mirror-reading-paper,.artifact-paper) :is(a,button):not([aria-current]){color:#52604d!important;text-shadow:none}
:is(body.main-hall,body.future-body,.antique-reader-surface) :is(.mirror-reading-paper,.artifact-paper) blockquote{color:#626451;border-color:#a99b7c;background:#b8a47d0b}
:is(body.main-hall,body.future-body,.antique-reader-surface) :is(.mirror-reading-footer,.artifact-next,.artifact-sources,.artifact-more){border-color:#7b80632e}
:is(body.main-hall,body.future-body,.antique-reader-surface) .artifact-reading{background:linear-gradient(180deg,#0a191b26,#10232170 250px,#f5f2e9 620px)}
:is(body.main-hall,body.future-body,.antique-reader-surface) .artifact-reading:before{content:none}
:is(body.main-hall,body.future-body,.antique-reader-surface) .mirror-reading{padding-bottom:30px}

/* A pale worn folio: narrow gutters and sparse hairline paper cracks. */
:is(body.main-hall,body.future-body,.antique-reader-surface){--reader-paper:url("assets/antique-paper-cracks.svg?v=cracks-ribbon-20261020"),linear-gradient(90deg,#81613a1c,transparent 18px,transparent calc(100% - 14px),#94714016),radial-gradient(ellipse at 3% 6%,#b9914922,transparent 42%),radial-gradient(ellipse at 98% 74%,#b18b491a,transparent 38%),radial-gradient(ellipse at 38% 100%,#c4a36516,transparent 45%),#f6efdf}
:is(body.main-hall,body.future-body,.antique-reader-surface) :is(.antique-leaf,.mirror-reading-paper,.artifact-paper,.genealogy-paper,.dossier-paper,.manuscript,.life-article-paper){background-size:100% 1100px,100% 100%,100% 100%,100% 100%,100% 100%,auto;background-repeat:repeat,no-repeat,no-repeat,no-repeat,no-repeat,no-repeat}
:is(body.main-hall,body.future-body,.antique-reader-surface) :is(.mirror-reading-paper,.artifact-paper){box-shadow:inset 0 0 0 4px #f2e9d5,inset 0 0 0 5px #a24636b3,inset 0 0 0 7px #f2e9d5,inset 0 0 0 8px #4f493b70,2px 3px 0 #d8c9aa}
:is(body.main-hall,body.future-body,.antique-reader-surface) :is(.antique-leaf,.mirror-reading-paper,.artifact-paper,.genealogy-paper,.dossier-paper,.manuscript,.life-article-paper) .prose{font-size:17px;line-height:1.95;color:#353b33}

/* Vermilion/ink rules sit inside the existing gutter, like a worn stitched folio. */
:is(body.main-hall,body.future-body,.antique-reader-surface) .antique-leaf:after{inset:7px;border:1px solid #4f493b70;outline:1px solid #a24636b3;outline-offset:2px}
:is(body.main-hall,body.future-body,.antique-reader-surface) :is(.antique-leaf .tabs,.mirror-reading-paper .tabs,.artifact-paper .artifact-tabs,.life-article-paper .reading-version-tabs){border-bottom:1px solid #a2463699;box-shadow:0 2px 0 #4f493b20}

/* The cord crosses the paper border and turns around its edges. Padding stays narrow. */
:is(body.main-hall,body.future-body,.antique-reader-surface){
  --cord-images:url("assets/antique-yuelao-red-cord.png?v=wrap-cord-20261020"),url("assets/antique-cord-edge-turns.svg?v=wrap-cord-20261020");
  --cord-tone:grayscale(1) sepia(1) hue-rotate(45deg) saturate(.85) brightness(1.05) contrast(.9) drop-shadow(0 2px 1px #34422f33);
}
:is(body.main-hall,body.future-body,.antique-reader-surface) :is(.mirror-reading-paper,.artifact-paper){--cord-left:23px;--cord-right:23px}
:is(body.main-hall,body.future-body,.antique-reader-surface) .antique-leaf{--cord-left:22px;--cord-right:19px}
:is(body.main-hall,body.future-body,.antique-reader-surface) .genealogy-paper{--cord-left:36px;--cord-right:29px}
:is(body.main-hall,body.future-body,.antique-reader-surface) .manuscript{--cord-left:32px;--cord-right:32px}
:is(body.main-hall,body.future-body,.antique-reader-surface) .dossier-paper{--cord-left:29px;--cord-right:29px}
:is(body.main-hall,body.future-body,.antique-reader-surface) .daily-reading .genealogy-paper{--cord-left:38px;--cord-right:30px}
@media(min-width:480px){
  :is(body.main-hall,body.future-body,.antique-reader-surface) .antique-leaf{--cord-left:26px;--cord-right:26px}
  :is(body.main-hall,body.future-body,.antique-reader-surface) .genealogy-paper{--cord-left:42px;--cord-right:35px}
}
@media(max-width:360px){
  :is(body.main-hall,body.future-body,.antique-reader-surface) .genealogy-paper{--cord-left:30px;--cord-right:23px}
  :is(body.main-hall,body.future-body,.antique-reader-surface) .manuscript{--cord-left:25px;--cord-right:25px}
  :is(body.main-hall,body.future-body,.antique-reader-surface) .dossier-paper{--cord-left:24px;--cord-right:24px}
  :is(body.main-hall,body.future-body,.antique-reader-surface) .daily-reading .genealogy-paper{--cord-left:33px;--cord-right:25px}
}
@media(max-width:380px){
  :is(body.main-hall,body.future-body,.antique-reader-surface) .artifact-career-reading .artifact-paper{--cord-left:20px;--cord-right:20px}
}
:is(body.main-hall,body.future-body,.antique-reader-surface) :is(.antique-leaf .tabs,.mirror-reading-paper .tabs,.artifact-paper .artifact-tabs,.life-article-paper .reading-version-tabs){
  border-bottom:0;box-shadow:none;padding-bottom:57px;margin-bottom:32px;
}
:is(body.main-hall,body.future-body,.antique-reader-surface) :is(.antique-leaf .tabs,.mirror-reading-paper .tabs,.artifact-paper .artifact-tabs,.life-article-paper .reading-version-tabs):after{
  content:"";position:absolute;inset:auto calc(-1 * var(--cord-right,23px)) -9px calc(-1 * var(--cord-left,23px));
  height:38px;z-index:2;background-image:var(--cord-images);background-position:center;
  background-size:100% 94px,100% 38px;background-repeat:no-repeat;filter:var(--cord-tone);pointer-events:none;
}
:is(body.main-hall,body.future-body,.antique-reader-surface) :is(.antique-leaf,.mirror-reading-paper,.artifact-paper,.genealogy-paper,.dossier-paper,.manuscript,.life-article-paper) .prose .article-major-heading:not(:first-child){
  position:relative;padding-top:64px;margin-top:38px;
}
:is(body.main-hall,body.future-body,.antique-reader-surface) :is(.antique-leaf,.mirror-reading-paper,.artifact-paper,.genealogy-paper,.dossier-paper,.manuscript,.life-article-paper) .prose .article-major-heading:not(:first-child):before{
  content:"";display:block;position:absolute;inset:0 calc(-1 * var(--cord-right,23px)) auto calc(-1 * var(--cord-left,23px));
  width:auto;height:38px;margin:0;border:0;transform:none;z-index:2;
  background-image:var(--cord-images);background-position:center;background-size:100% 94px,100% 38px;
  background-repeat:no-repeat;filter:var(--cord-tone);pointer-events:none;
}
:is(body.main-hall,body.future-body,.antique-reader-surface) .reading-divider{
  position:relative;height:38px;border:0;
  margin:38px calc(-1 * var(--cord-right,0px)) 38px calc(-1 * var(--cord-left,0px));
  background-image:var(--cord-images);background-position:center;background-size:100% 94px,100% 38px;
  background-repeat:no-repeat;filter:var(--cord-tone);pointer-events:none;
}

/* Paper bookmarks on a fine red cord; the nature seal stays visible in every state. */
:is(body.main-hall,body.future-body,.antique-reader-surface) .reading-version-tabs.tabs{
  display:grid;grid-template-columns:repeat(var(--reading-version-count,3),minmax(0,1fr));align-items:stretch;
  gap:10px;padding-top:13px;isolation:isolate;
}
:is(body.main-hall,body.future-body,.antique-reader-surface) .reading-version-tabs.tabs:before{
  content:"";position:absolute;left:-4px;right:-4px;top:0;height:16px;z-index:2;
  background:url("assets/antique-yuelao-red-cord.png?v=wrap-cord-20261020") center/100% 52px no-repeat;
  filter:brightness(.8) saturate(.8) drop-shadow(0 1px 1px #642c2426);pointer-events:none;
}
:is(body.main-hall,body.future-body,.antique-reader-surface) .reading-version-tabs.tabs :is(a,button){
  display:flex;align-items:center;justify-content:center;gap:6px;min-height:59px;
  padding:11px 5px 10px;border:1px solid #b5a287;border-radius:2px 2px 5px 5px;
  color:#5a604d!important;background:linear-gradient(110deg,#fffdf47a,#f3e9d4a8);
  font:600 22px/1.4 "KaiTi","STKaiti","Songti SC",serif;
  letter-spacing:0;text-indent:0;text-shadow:none;
  box-shadow:inset 0 0 0 3px #fffaf047,inset 0 -3px 0 #aa93751a,0 2px 3px #51442a0d;
}
:is(body.main-hall,body.future-body,.antique-reader-surface) .reading-version-tabs.tabs :is(a,button):before{
  content:"";position:absolute;top:-8px;left:calc(50% - 2px);width:4px;height:10px;
  box-sizing:border-box;border:1px solid #914435;border-radius:50%;background:#eee0c4;
  box-shadow:1px 0 1px #71482a24;pointer-events:none;
}
:is(body.main-hall,body.future-body,.antique-reader-surface) .reading-version-tabs.tabs :is(a,button):after{content:none}
:is(body.main-hall,body.future-body,.antique-reader-surface) .reading-version-tabs.tabs :is(a,button):hover{
  border-color:#9c6450;background:linear-gradient(110deg,#fffaf0,#efe0c6);
  box-shadow:inset 0 0 0 3px #fffaf057,0 2px 4px #51442a12;
}
:is(body.main-hall,body.future-body,.antique-reader-surface) .reading-version-tabs.tabs :is(a,button)[aria-current="page"]{
  color:#8d392d!important;border-color:#a0523d;
  background:linear-gradient(110deg,#fff8e9,#f0ddbe);
  text-shadow:none;box-shadow:inset 0 0 0 3px #fff7e5,inset 0 0 0 4px #b7765359,0 2px 4px #68452c14;
}
:is(body.main-hall,body.future-body,.antique-reader-surface) .reading-version-tabs.tabs :is(a,button)[aria-current="page"]:after{
  content:"";position:absolute;left:calc(50% - 9px);right:auto;bottom:5px;
  width:18px;height:2px;border:0;border-radius:50%;background:#a04b39;transform:none;
}
:is(body.main-hall,body.future-body,.antique-reader-surface) .reading-version-tabs.tabs .reading-version-label{letter-spacing:.1em;text-indent:.1em}
:is(body.main-hall,body.future-body,.antique-reader-surface) .reading-version-tabs.tabs .reading-must-read{
  display:inline-block;flex:0 0 auto;writing-mode:vertical-rl;
  padding:3px 2px;color:#963c2e!important;border:1px solid #a44d3b;
  border-radius:2px 1px 2px 1px;background:#fbf1dc;
  font:600 10px/1.1 "KaiTi","STKaiti","SimSun",serif;
  letter-spacing:1px;text-indent:0;transform:rotate(5deg);
  box-shadow:inset 0 0 0 1px #fbf1dc,inset 0 0 0 2px #a44d3b26;
}
@media(max-width:360px){
  :is(body.main-hall,body.future-body,.antique-reader-surface) .reading-version-tabs.tabs{gap:7px}
  :is(body.main-hall,body.future-body,.antique-reader-surface) .reading-version-tabs.tabs :is(a,button){font-size:20px;gap:4px;padding-inline:3px}
}

/* Inline chapters use the same paper and version bookmarks as full-page articles. */
body.main-hall .life-section.life-article-paper{
  position:relative;isolation:isolate;margin:22px 0;padding:25px 15px 28px 18px;
  border:1px solid #89816b;border-radius:1px 3px 3px 1px;
  box-shadow:inset 0 0 0 4px #f2e9d5,inset 0 0 0 5px #a24636b3,inset 0 0 0 7px #f2e9d5,inset 0 0 0 8px #4f493b70,2px 3px 0 #d8c9aa;
  --cord-left:22px;--cord-right:19px;
}
body.main-hall .life-article>header{margin-bottom:18px}
body.main-hall .life-article .life-article-image{display:block;width:100%;height:auto;max-height:420px;object-fit:cover;border-radius:2px;margin:0 0 24px}
body.main-hall .life-article .life-text-link{margin-top:20px}

/* The five books already supply the paper: chapters flow directly on that leaf. */
body.main-hall[data-antique="true"] .genealogy-reading:is(.preference-reading-articles,.preference-master-reading){padding:0 7px 32px}
body.main-hall :is(.preference-reading-articles,.preference-master-reading) .book-page-frame{display:block}
body.main-hall .preference-reading .life-section.life-article-inline{
  margin:22px 0 30px;padding:0;border:0;border-radius:0;
  background:none;box-shadow:none;
}
body.main-hall .preference-reading .life-article-inline:first-child{margin-top:0}
body.main-hall .preference-reading .preference-life-content>.life-toc{
  padding:0;margin:0 0 24px;border:0;border-radius:0;background:none;box-shadow:none;
}
body.main-hall .preference-reading-articles .preference-bookmarks{
  position:relative;inset:auto;width:auto;display:grid;grid-template-columns:repeat(6,minmax(0,1fr));
  gap:4px;margin:0 0 24px;padding:0;
}
body.main-hall .preference-reading-articles .preference-bookmarks a{
  min-width:0;min-height:42px;padding:4px 0;font-size:14px;line-height:1.4;
  border:1px solid #b4a382;border-radius:2px;box-shadow:none;
}
body.main-hall .preference-reading-articles .preference-book-content{border-top:0;padding-top:0}
