/* Veloria v10: ornamental archival finish; no lore or routing changes. */
html[data-theme="stone"] .codex{grid-template-columns:minmax(230px,.79fr) minmax(390px,1.38fr) minmax(340px,1.12fr);gap:clamp(18px,1.7vw,32px);padding-top:clamp(26px,4vh,55px)}
html[data-theme="stone"] .catalog{border:1px solid #c6ad79a6;background:linear-gradient(135deg,#1b2923ec,#23342bec);box-shadow:0 2px 0 #d0b47a4a,0 20px 55px #101b1559}
html[data-theme="stone"] .catalog:before{inset:6px;border:1px solid #bb9d6370;clip-path:polygon(0 0,18px 0,18px 1px,calc(100% - 18px) 1px,calc(100% - 18px) 0,100% 0,100% 100%,0 100%)}
html[data-theme="stone"] .catalog:after{content:"❧";position:absolute;right:15px;top:10px;color:#d0b57e;font-size:21px;pointer-events:none;opacity:.8}
html[data-theme="stone"] .group-heading{transition:background .2s,color .2s;border-bottom:1px solid #d3c09643}
html[data-theme="stone"] .group-heading:hover{background:#e6cca01b;color:#fff7e5}
html[data-theme="stone"] .entry-button{transition:background .2s,box-shadow .2s;padding-block:11px}
html[data-theme="stone"] .entry-button[aria-current="true"]{box-shadow:inset 3px 0 #e2c387,0 1px 12px #d1b17f1c}
html[data-theme="stone"] .reader{overflow:hidden;border:2px solid #b39a69;outline:1px solid #b49b6b;outline-offset:-11px;box-shadow:0 0 0 5px #2d302b8f,0 25px 60px #16231977,inset 0 0 65px #9b7d4930;background-image:radial-gradient(ellipse at 45% 20%,#fff7dfad,transparent 70%),repeating-linear-gradient(0deg,#725a3210 0px,#725a3210 1px,transparent 2px,transparent 7px),linear-gradient(135deg,#e8d6b4,#f6ead0 44%,#e1c9a0)}
html[data-theme="stone"] .reader:before,html[data-theme="stone"] .reader:after{font-size:28px;color:#a17f4a}
html[data-theme="stone"] .reader-scroll{padding-bottom:39px}
html[data-theme="stone"] .reader-frame{opacity:.58;background-size:100% 100%}
html[data-theme="stone"] .reader h2{letter-spacing:.012em;text-shadow:0 1px 0 #fff5e16b}
html[data-theme="stone"] .prose{font-size:clamp(17px,1.15vw,20px);line-height:1.75}
html[data-theme="stone"] #entry-category{border-bottom:2px solid #aa905f;background:linear-gradient(90deg,#aa966b,#d8c395);font-family:Georgia,serif;font-size:13px;letter-spacing:.2em}
html[data-theme="stone"] .title-rule{height:10px;background:linear-gradient(90deg,transparent,#ab8c59a1,transparent) center/100% 1px no-repeat}
html[data-theme="stone"] .book-stage{position:relative;z-index:1;perspective:1000px}
html[data-theme="stone"] .book-button{width:116%;margin-left:-8%;transform:rotate(-1.5deg) translateY(4px);transition:transform .4s ease,filter .4s ease;filter:drop-shadow(8px 24px 13px #0b1c1088)}
html[data-theme="stone"] .book-button:hover{transform:rotate(-.6deg) translateY(-4px) scale(1.018)}
html[data-theme="stone"] #book{filter:brightness(1.05) saturate(.94) drop-shadow(0 23px 19px #13221585)}
html[data-theme="stone"] .topbar{box-shadow:0 5px 22px #0c191441;border-bottom:1px solid #e0bc7e88}
html[data-theme="stone"] .topbar nav a{transition:color .2s}
html[data-theme="stone"] .search:focus-within{border-color:#dcc590;box-shadow:0 0 0 2px #d0b57b24}
@media(max-width:1150px){html[data-theme="stone"] .codex{grid-template-columns:230px minmax(0,1fr)}html[data-theme="stone"] .book-button{width:100%;margin-left:0}}
@media(max-width:680px){html[data-theme="stone"] .codex{display:flex;flex-direction:column}html[data-theme="stone"] .catalog{width:100%}html[data-theme="stone"] .book-button{width:100%;margin-left:0;transform:none}html[data-theme="stone"] .book-button:hover{transform:translateY(-2px)}html[data-theme="stone"] .reader{width:100%}}
@media(prefers-reduced-motion:reduce){html[data-theme="stone"] .book-button,html[data-theme="stone"] .entry-button{transition:none!important}}
