.rscroll::-webkit-scrollbar { width: 4px; }
    .rscroll::-webkit-scrollbar-thumb { background: #a9822a; border-radius: 4px; }
    .plate { filter: grayscale(0.55) sepia(0.32) contrast(1.05) brightness(1.05) saturate(1.05); }
    .frame { border: 1px solid rgba(36,26,15,0.35); box-shadow: inset 0 0 0 4px #d3b787, inset 0 0 0 5px rgba(36,26,15,0.3); }
    .paper-grain { background-color: rgba(255,250,240,0.15); background-image: repeating-linear-gradient(115deg, rgba(36,26,15,0.015) 0px, rgba(36,26,15,0.015) 1px, transparent 1px, transparent 3px); }
    .manuscript-plate { border: 1px solid rgba(36,26,15,0.55); box-shadow: inset 0 0 0 4px #d3b787, inset 0 0 0 5px rgba(36,26,15,0.25), 3px 5px 14px rgba(36,26,15,0.3), 0 1px 0 rgba(255,255,255,0.4); padding: 6px; }
    .plate-corner { position:absolute; width:14px; height:14px; border-color:#8a6a35; z-index:5; opacity:0.7; }
    .plate-corner.tl { top:2px; left:2px; border-top:1.5px solid; border-left:1.5px solid; }
    .plate-corner.tr { top:2px; right:2px; border-top:1.5px solid; border-right:1.5px solid; }
    .plate-corner.bl { bottom:2px; left:2px; border-bottom:1.5px solid; border-left:1.5px solid; }
    .plate-corner.br { bottom:2px; right:2px; border-bottom:1.5px solid; border-right:1.5px solid; }
    .rail-link { color: #5c4b34; border-bottom: 1px solid transparent; transition: color .25s ease, border-color .25s ease, opacity .25s ease; }
    .rail-link.active { color: #241a0f; border-bottom-color: rgba(138,106,53,0.6); }
    .rail-link:hover { color: #241a0f; opacity: 0.85; }
    .infinity-glyph { font-family:'Cormorant Garamond',serif; font-weight:600; }
    .hero-title { font-size: 3.2rem; }
    @media (min-width: 768px){ .hero-title { font-size: 5.5rem; } }
    .drop-cap { float:left; font-family:'Cormorant Garamond',serif; font-weight:600; font-size:4.4rem; line-height:0.78; padding-right:10px; padding-top:6px; color:#241a0f; }
    .clearfix::after { content:""; display:table; clear:both; }
    /* ===== Legion Book system ===== */
    .book-cover { min-height: 82vh; }
    .book-cover .cover-rule { width: 64px; height: 1px; background: #8a6a35; opacity: 0.6; }
    .toc-volume { font-family:'Cormorant Garamond',serif; font-weight:600; letter-spacing:0.2em; color:#241a0f; }
    .toc-act { display:flex; align-items:baseline; gap: 14px; padding: 9px 0; border-bottom: 1px dotted rgba(36,26,15,0.18); }
    .toc-act .num { font-family:'Cormorant Garamond',serif; font-size:15px; color:#8a6a35; width: 34px; flex-shrink:0; }
    .toc-act .name { font-family:'EB Garamond',serif; font-size:13.5px; letter-spacing:0.03em; color:#241a0f; }
    .toc-act.toc-inactive .name, .toc-act.toc-inactive .num { color:#8a7455; opacity:0.62; }
    .toc-act.toc-active .name { color:#241a0f; }
    .toc-act.toc-active a { border-bottom: 1px solid rgba(138,106,53,0.55); }
    .toc-act a:hover { color:#241a0f; }
    .book-page { border-top: 1px solid rgba(36,26,15,0.15); }
    .page-number { font-family:'EB Garamond',serif; font-size:11px; letter-spacing:0.15em; color:#5c4b34; text-align:center; }
    .book-meta { font-family:'EB Garamond',serif; font-size:10px; letter-spacing:0.3em; text-transform:uppercase; color:#8a6a35; }
    .marginalia { font-family:'EB Garamond',serif; font-style:italic; font-size:12px; color:#5c4b34; opacity:0.85; line-height:1.6; }
    /* archival table-of-contents refinements */
    .toc-rail { border-left: 1px solid rgba(36,26,15,0.16); }
    .toc-volume-row { display:flex; align-items:baseline; gap:10px; margin: 28px 0 14px -29px; }
    .toc-volume-row:first-child { margin-top: 0; }
    .toc-volume-num { font-family:'Cormorant Garamond',serif; font-weight:600; font-size:22px; color:#8a6a35; width:29px; text-align:center; background:transparent; }
    .toc-volume-rule { flex:1; height:1px; background: linear-gradient(to right, rgba(36,26,15,0.35), transparent); }
    .toc-act { position: relative; }
    .toc-act::before { content:""; position:absolute; left:-33px; top:50%; width:6px; height:1px; background: rgba(36,26,15,0.25); }
    .toc-plate { margin-left:auto; font-family:'EB Garamond',serif; font-size:9px; letter-spacing:0.1em; color:#8a7455; opacity:0.55; flex-shrink:0; }
    .toc-note { font-family:'EB Garamond',serif; font-style:italic; font-size:10px; color:#8a6a35; opacity:0.75; margin-left:10px; white-space:nowrap; }
