:root{--ink:#34251b;--muted:#715d45;--paper:#e6d2a6;--leather:#35180f;--gold:#b88a3d;--red:#7b3027;--serif:'IM Fell English',Georgia,serif;--display:Cinzel,Georgia,serif}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;min-height:100vh;color:var(--ink);font-family:var(--serif);background:#24150c;background-image:radial-gradient(circle at 15% 25%,rgba(216,146,62,.12),transparent 18%),radial-gradient(circle at 87% 16%,rgba(241,174,73,.09),transparent 16%),repeating-linear-gradient(91deg,transparent 0 22px,rgba(0,0,0,.025) 23px 25px),linear-gradient(105deg,#140c07,#3b2415 48%,#1c1009);overflow-x:hidden}.table-atmosphere{position:fixed;inset:0;pointer-events:none}.candle{position:absolute;top:9%;left:3%;width:78px;height:78px;background:radial-gradient(circle,rgba(255,196,88,.32),transparent 67%);filter:blur(3px)}.quill{position:absolute;right:2%;bottom:4%;width:190px;height:12px;border-radius:100%;background:linear-gradient(90deg,#1a110c,#d4bd87 65%,transparent);transform:rotate(-55deg);opacity:.45}.map-corner{position:absolute;right:-45px;top:18%;width:190px;height:290px;transform:rotate(8deg);background:#a98a55;opacity:.12;box-shadow:0 8px 30px #000}.deskbar{width:min(1440px,calc(100% - 54px));height:64px;margin:20px auto 0;display:flex;align-items:center;gap:26px;color:#e9d6a4}.deskbar p{margin:0;opacity:.66;font-style:italic}.deskbar>div{margin-left:auto;display:flex;gap:10px}.wordmark{color:inherit;text-decoration:none;font:600 16px var(--display);letter-spacing:.16em}.wordmark span{display:inline-grid;place-items:center;width:34px;height:34px;border:1px solid #c39850;transform:rotate(45deg);margin-right:12px}.gold,.quiet{border:1px solid #a87b3d;padding:10px 16px;border-radius:2px;font:inherit;cursor:pointer}.gold{background:linear-gradient(#d0ac62,#a87935);color:#25160c}.quiet{background:rgba(31,16,10,.46);color:#ecd7a8}.book{position:relative;width:min(1440px,calc(100% - 54px));height:min(820px,calc(100vh - 130px));min-height:650px;margin:12px auto 18px;display:grid;grid-template-columns:1fr 1fr;filter:drop-shadow(0 30px 42px rgba(0,0,0,.66));perspective:1800px}.book:before{content:"";position:absolute;inset:-15px -22px;background:linear-gradient(90deg,#26110b,#562a18 48%,#2a130c);border:2px solid #886039;border-radius:20px 28px 28px 20px;box-shadow:inset 0 0 0 7px #1d0c08,inset 0 0 0 9px #906839;z-index:-2}.book-edge{position:absolute;inset:8px -12px -12px;background:#a78652;border-radius:10px 15px 18px;z-index:-1}.page{position:relative;overflow:hidden;padding:clamp(34px,4vw,66px);background-color:var(--paper);background-image:radial-gradient(circle at 20% 10%,rgba(255,255,255,.35),transparent 24%),repeating-linear-gradient(0deg,rgba(79,51,27,.025) 0 1px,transparent 1px 5px),linear-gradient(90deg,#c7a971,#ead9b1 12%,#e8d4a5 88%,#b69660);box-shadow:inset 0 0 35px rgba(80,48,20,.28)}.page-left{border-radius:7px 0 0 7px}.page-right{border-radius:0 7px 7px 0;background-image:radial-gradient(circle at 80% 10%,rgba(255,255,255,.33),transparent 24%),repeating-linear-gradient(0deg,rgba(79,51,27,.025) 0 1px,transparent 1px 5px),linear-gradient(90deg,#ae8d5a,#dec591 7%,#ead9b0 86%,#c19f68)}.page-left:after,.page-right:before{content:"";position:absolute;top:0;bottom:0;width:44px;pointer-events:none}.page-left:after{right:0;background:linear-gradient(90deg,transparent,rgba(52,29,15,.28))}.page-right:before{left:0;background:linear-gradient(90deg,rgba(52,29,15,.3),transparent);z-index:4}.page-number{position:absolute;bottom:18px;left:50%;font:500 12px var(--display);color:#7f6748}.crest{text-align:center;border-bottom:1px solid rgba(79,51,30,.35);padding:2px 0 28px}.crest>span{display:grid;place-items:center;width:74px;height:74px;margin:0 auto 18px;border:2px solid #8a6335;outline:1px solid #8a6335;outline-offset:6px;transform:rotate(45deg);font:700 39px var(--display);color:#743829}.crest h1{margin:18px 0 2px;font:700 clamp(34px,4vw,56px) var(--display);letter-spacing:.12em}.crest p{margin:0;color:var(--muted);font-style:italic}.chapters{display:grid;gap:3px;margin:28px 0}.chapters button{display:flex;align-items:center;gap:18px;width:100%;padding:12px 14px;text-align:left;color:var(--ink);background:transparent;border:0;border-bottom:1px solid rgba(90,61,34,.2);font:inherit;cursor:pointer}.chapters button:hover,.chapters button.active{background:rgba(116,61,35,.1);color:#762f27}.chapters b{width:34px;font:600 15px var(--display)}.chapters span{font-size:22px}.chapters small{display:block;font-size:14px;color:var(--muted);font-style:italic}.page-left blockquote{margin:25px 42px 0;text-align:center;color:#70583e;font-style:italic}.wax-seal{position:absolute;right:44px;bottom:42px;width:68px;height:68px;display:grid;place-items:center;border-radius:50%;background:radial-gradient(circle at 35% 30%,#a34b3f,#5c1d1a);color:#d9aa76;font:700 27px var(--display);box-shadow:0 5px 10px #5d3a26}.chapter{height:100%;overflow:auto;padding:0 10px 35px 16px;scrollbar-width:thin;scrollbar-color:#8b673e transparent}.kicker{margin:0 0 10px;color:#863c2f;font:600 12px var(--display);letter-spacing:.24em}.chapter h2{font:600 clamp(36px,4vw,62px)/.98 var(--display);margin:0 0 18px;letter-spacing:-.04em}.chapter h2 em{color:#78352b;font-style:normal}.intro{font-size:19px;color:var(--muted)}.hero-engraving{position:relative;height:270px;margin:22px 0;overflow:hidden;border:10px solid #e6d5ae;outline:1px solid #86633e;box-shadow:0 7px 18px rgba(71,42,20,.28);transform:rotate(-.5deg)}.hero-engraving img{width:100%;height:100%;object-fit:cover;filter:sepia(.35) contrast(1.08)}.hero-engraving:after{content:"";position:absolute;inset:0;box-shadow:inset 0 0 35px #3e2819}.hero-engraving span{position:absolute;left:14px;bottom:12px;padding:6px 10px;background:rgba(231,211,170,.88);font:600 10px var(--display);letter-spacing:.12em}.dropcap{font-size:18px;line-height:1.55}.dropcap:first-letter{float:left;font:700 62px/.72 var(--display);color:#7c342b;margin:10px 8px 0 0}.ink-actions{display:flex;gap:10px;margin:20px 0}.ink-actions .quiet{color:#3d291b;background:transparent;border-color:#7c5c39}.folio-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;border-top:1px solid #95734b;padding-top:15px}.folio-stats div{text-align:center}.folio-stats dt{font:600 19px var(--display)}.folio-stats dd{margin:2px 0;color:var(--muted);font-size:12px}.stamp-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:18px;padding:8px}.stamp{position:relative;min-height:170px;overflow:hidden;border:9px solid transparent;border-image:repeating-linear-gradient(45deg,#e9d9b5 0 7px,#795534 7px 11px) 12;background:#d7bd89;box-shadow:0 5px 10px rgba(59,35,18,.22);transform:rotate(var(--r));cursor:pointer}.stamp img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;filter:sepia(.28)}.stamp:after{content:"";position:absolute;inset:0;background:linear-gradient(transparent 35%,rgba(229,209,167,.96) 78%)}.stamp span{position:absolute;z-index:2;left:12px;right:12px;bottom:10px}.stamp strong{display:block;font:600 16px var(--display)}.stamp small{color:#675039}.catalog-tools{display:flex;gap:15px;align-items:end;margin:18px 0}.catalog-tools label{flex:1}.catalog-tools label span{display:block;font-size:12px;color:var(--muted);margin-bottom:4px}.catalog-tools input{width:100%;padding:11px 12px;background:rgba(255,248,226,.45);border:1px solid #9b774c;color:var(--ink);font:16px var(--serif)}.filter-tabs{display:flex}.filter-tabs button{padding:10px;border:1px solid #967049;background:transparent;font:inherit;cursor:pointer}.filter-tabs button.active{background:#6f3529;color:#f0dbac}.bestiary-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}.beast{display:grid;grid-template-columns:82px 1fr;gap:12px;align-items:center;padding:10px;text-align:left;background:rgba(255,249,228,.25);border:1px solid rgba(104,73,42,.35);color:var(--ink);font:inherit;cursor:pointer}.beast:hover{background:rgba(128,69,41,.12)}.beast img{width:82px;height:72px;object-fit:contain;filter:sepia(.18);background:radial-gradient(circle,#ead9b5,transparent 70%)}.beast strong{font:600 14px var(--display)}.beast small{display:block;color:var(--muted);margin-top:4px}.more{display:block;margin:18px auto;padding:9px 20px;color:#ead6aa;background:#54291e;border:1px solid #9a7245;font:inherit;cursor:pointer}.loading{text-align:center;color:var(--muted);font-style:italic}.questline{list-style:none;margin:28px 0;padding:0}.questline li{display:grid;grid-template-columns:66px 1fr;gap:18px;padding:18px 0;border-bottom:1px solid rgba(102,70,39,.28)}.questline li>b{font:600 30px var(--display);color:#854034}.questline h3{margin:0;font:600 20px var(--display)}.questline p{margin:6px 0;color:var(--muted)}.questline button{padding:0;border:0;background:none;color:#7a342a;text-decoration:underline;font:inherit;cursor:pointer}.page-arrow{position:absolute;bottom:22px;z-index:5;width:36px;height:36px;border-radius:50%;border:1px solid #8d683f;background:rgba(238,219,180,.7);color:#4e321f;font-size:25px;cursor:pointer}.page-arrow.prev{left:42px}.page-arrow.next{right:35px}.turn-sheet{position:absolute;inset:0;z-index:20;pointer-events:none;transform-origin:left center;background:linear-gradient(90deg,#b08e59,#ead8ae 10%,#dfc38c 100%);opacity:0}.turn-sheet.turn{animation:turnPage .72s cubic-bezier(.55,.02,.2,1)}@keyframes turnPage{0%{opacity:1;transform:perspective(1600px) rotateY(0)}100%{opacity:.25;transform:perspective(1600px) rotateY(-178deg);box-shadow:22px 0 35px rgba(38,20,10,.42)}}dialog{width:min(720px,calc(100% - 32px));max-height:82vh;padding:0;border:2px solid #815b34;background:#e2cca0;color:var(--ink);box-shadow:0 25px 90px #000}dialog::backdrop{background:rgba(20,10,5,.82);backdrop-filter:blur(4px)}.dialog-close{position:absolute;right:12px;top:8px;z-index:2;border:0;background:none;font-size:28px;color:#4d3020;cursor:pointer}.detail-wrap{padding:35px}.detail-head{display:flex;align-items:center;gap:20px}.detail-head img{width:150px;height:130px;object-fit:contain;filter:sepia(.18)}.detail-head h3{font:600 30px var(--display);margin:0}.drops{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-top:20px}.drop{padding:9px;text-align:center;border:1px solid #987149;background:rgba(255,250,231,.3)}.drop img{width:48px;height:48px;object-fit:contain}.drop small{display:block}.action-card{padding:45px;text-align:center}.action-card h3{font:600 30px var(--display)}footer{text-align:center;color:#c7ad7b;font-size:13px;padding:4px 0 18px}footer button{border:0;background:none;color:#dfc18a;text-decoration:underline}.opening{position:fixed;inset:0;z-index:100;display:grid;place-items:center;background:radial-gradient(circle,#4c2c19,#100905 70%);pointer-events:none;animation:openingAway 2.45s forwards}.cover{width:min(410px,70vw);aspect-ratio:.73;border-radius:8px 24px 24px 8px;background:linear-gradient(90deg,#1d0c08 0 8%,#552719 9% 96%,#24100b);border:3px solid #a4773d;box-shadow:0 38px 85px #000,inset 0 0 0 8px #28100b,inset 0 0 0 10px #b08243;transform-origin:left;animation:coverOpen 1.45s .35s cubic-bezier(.42,.02,.16,1) forwards}.cover-frame{height:72%;margin:14%;display:grid;place-content:center;text-align:center;border:1px solid #c0924b;outline:1px solid #c0924b;outline-offset:8px;color:#e2c377}.cover-frame strong{font:700 clamp(31px,5vw,51px) var(--display);letter-spacing:.12em}.cover-frame small{letter-spacing:.2em}.sigil{display:grid;place-items:center;width:70px;height:70px;margin:0 auto 25px;border:2px solid #c0924b;transform:rotate(45deg);font:700 30px var(--display)}@keyframes coverOpen{to{transform:perspective(1500px) rotateY(-118deg);opacity:.08}}@keyframes openingAway{0%,72%{opacity:1}100%{opacity:0;visibility:hidden}}body.reduce-motion *{animation:none!important;transition:none!important}.chapter[hidden]{display:none}
@media(max-width:900px){body{background:#25160d}.table-atmosphere,.opening{display:none}.deskbar{width:100%;height:auto;margin:0;padding:12px 15px;background:#35190f}.deskbar p{display:none}.deskbar .quiet{display:none}.book{display:block;width:min(720px,100%);height:auto;min-height:0;margin:0 auto;filter:none}.book:before,.book-edge,.page-left{display:none}.page-right{min-height:calc(100vh - 70px);border-radius:0;padding:34px 24px 64px}.page-right:before{display:none}.chapter{height:auto;overflow:visible}.stamp-grid,.bestiary-grid{grid-template-columns:1fr 1fr}.hero-engraving{height:240px}.catalog-tools{display:block}.filter-tabs{margin-top:10px}.page-arrow{position:fixed;bottom:18px}.page-arrow.prev{left:18px}.page-arrow.next{right:18px}footer{display:none}}
@media(max-width:560px){.deskbar .wordmark{font-size:13px}.deskbar .gold{padding:8px 10px}.chapter h2{font-size:39px}.stamp-grid,.bestiary-grid{grid-template-columns:1fr}.hero-engraving{height:210px}.folio-stats{grid-template-columns:1fr 1fr}.drops{grid-template-columns:repeat(2,1fr)}}
@media(prefers-reduced-motion:reduce){.opening{display:none}.turn-sheet{display:none}*{scroll-behavior:auto!important;animation:none!important}}
/* Book navigation v2: colored notes and leaf-by-leaf reading */
.chapters{gap:13px;margin:28px 12px 28px 6px}
.chapters button{position:relative;width:88%;padding:12px 20px 12px 14px;background:var(--note,#d8b56e);border:0;box-shadow:2px 4px 7px rgba(76,48,25,.24);transform:rotate(var(--tilt,-1deg));transition:transform .2s,filter .2s}
.chapters button:nth-child(2){--note:#b9c99b;--tilt:.8deg;margin-left:6%}
.chapters button:nth-child(3){--note:#bea9c8;--tilt:-.5deg;margin-left:2%}
.chapters button:nth-child(4){--note:#d59b85;--tilt:1deg;margin-left:8%}
.chapters button:after{content:"";position:absolute;right:0;top:0;border-style:solid;border-width:0 0 16px 16px;border-color:transparent transparent rgba(83,55,31,.28) transparent}
.chapters button:hover,.chapters button.active{background:var(--note);filter:saturate(1.15) brightness(1.04);color:#5f261f;transform:translateX(10px) rotate(0)}
.chapter{overflow:hidden;scrollbar-width:none}
.page-arrow{top:50%;bottom:auto;transform:translateY(-50%);width:46px;height:54px;z-index:30}
.page-arrow.prev{left:calc(-100% + 18px)}.page-arrow.next{right:-18px}
.turn-sheet.turn-back{transform-origin:right center;animation:turnPageBack .72s cubic-bezier(.55,.02,.2,1)}
@keyframes turnPageBack{0%{opacity:1;transform:perspective(1600px) rotateY(0)}100%{opacity:.25;transform:perspective(1600px) rotateY(178deg);box-shadow:-22px 0 35px rgba(38,20,10,.42)}}
@media(max-width:900px){.page-arrow{position:fixed;top:auto;bottom:18px;transform:none}.page-arrow.prev{left:18px}.page-arrow.next{right:18px}.chapter{min-height:calc(100vh - 168px)}}
/* Full-spread navigation v3 */
.top-notes{position:relative;z-index:12;width:min(980px,calc(100% - 80px));margin:0 auto -3px;display:flex;justify-content:center;gap:10px}
.top-notes button{position:relative;padding:11px 24px 14px;border:0;background:#d8b56e;color:#39261a;font:600 13px var(--display);box-shadow:1px -2px 8px rgba(0,0,0,.28);clip-path:polygon(0 0,100% 0,96% 84%,52% 100%,4% 85%);cursor:pointer;transform:translateY(8px);transition:.2s}
.top-notes button:nth-child(2){background:#b9c99b}.top-notes button:nth-child(3){background:#bea9c8}.top-notes button:nth-child(4){background:#d59b85}.top-notes button.active,.top-notes button:hover{transform:translateY(1px);filter:saturate(1.15)}
.book-tools{position:relative;z-index:10;width:min(900px,calc(100% - 80px));margin:5px auto 8px;padding:8px 14px;display:flex;align-items:end;gap:15px;background:#3b2014;color:#e6d1a4;border:1px solid #896039}.book-tools[hidden]{display:none}.book-tools label{flex:1;font-size:12px}.book-tools input{display:block;width:100%;margin-top:3px;padding:8px;background:#e8d4aa;border:1px solid #9c7447;font:16px var(--serif)}
.spread-book{margin-top:0}.spread-page{padding:clamp(30px,3.6vw,58px);overflow:hidden}.leaf-content{height:100%;overflow:hidden}.spread-page .crest{margin-top:22px}.hero-engraving.tall{height:430px}.book-quote{text-align:center;margin:28px 25px;color:#6e5338;font-size:20px;font-style:italic}.ink-quiet{color:#3d291b;background:transparent}.bestiary-grid.single{grid-template-columns:1fr;gap:9px}.bestiary-grid.single .beast{grid-template-columns:68px 1fr;padding:7px}.bestiary-grid.single .beast img{width:68px;height:58px}.spread-counter{text-align:center;color:#d2b77f;margin-top:-9px;font:12px var(--display)}.spread-book>.page-arrow{position:absolute;top:50%;transform:translateY(-50%)}.spread-book>.page-arrow.prev{left:-24px}.spread-book>.page-arrow.next{right:-24px}.page-arrow:disabled{opacity:.22;cursor:default}
.spread-book>.turn-sheet{left:50%;right:0;top:0;bottom:0}.spread-book>.turn-sheet.turn-back{left:0;right:50%}.opening-spread{display:flex;align-items:center;justify-content:center;gap:0;background:radial-gradient(circle,#4c2c19,#100905 70%);animation:introFade 2.25s forwards}.opening-spread strong{position:absolute;color:#e2c377;font:700 45px var(--display);letter-spacing:.18em;animation:titleGrow 1.4s ease forwards}.intro-leaf{width:min(34vw,420px);height:min(60vh,560px);background:linear-gradient(90deg,#c2a16b,#ead9b0);box-shadow:0 25px 60px #000;transform:scale(.42);animation:leafGrow 1.55s .15s cubic-bezier(.2,.8,.2,1) forwards}.left-leaf{transform-origin:right;border-radius:8px 0 0 8px}.right-leaf{transform-origin:left;border-radius:0 8px 8px 0;background:linear-gradient(90deg,#b49360,#e5d0a4)}@keyframes leafGrow{0%{transform:scale(.42) rotateY(84deg)}60%{transform:scale(.82) rotateY(15deg)}100%{transform:scale(1) rotateY(0)}}@keyframes titleGrow{0%{transform:scale(.5);opacity:0}55%{opacity:1}100%{transform:scale(1)}}@keyframes introFade{0%,75%{opacity:1}100%{opacity:0;visibility:hidden}}
@media(max-width:900px){.top-notes{width:100%;overflow-x:auto;justify-content:flex-start;padding:0 10px;background:#35190f}.top-notes button{flex:0 0 auto;padding:10px 15px}.book-tools{width:100%;margin:0;border-inline:0}.spread-book>.page-arrow.prev{left:18px}.spread-book>.page-arrow.next{right:18px}.hero-engraving.tall{height:250px}.spread-page{min-height:calc(100vh - 150px)}.page-left{display:block}.spread-book{display:grid;grid-template-columns:1fr;}.spread-book .page-right{display:none}.spread-counter{position:fixed;bottom:28px;left:50%;z-index:32}.opening-spread{display:none}}
@media(min-width:701px){.spread-book{position:relative!important;display:grid!important;grid-template-columns:1fr 1fr!important;width:min(1440px,calc(100% - 54px))!important;height:min(820px,calc(100vh - 150px))!important;min-height:650px!important;margin:0 auto 18px!important;filter:drop-shadow(0 30px 42px rgba(0,0,0,.66))!important}.spread-book:before,.spread-book .book-edge,.spread-book .page-left,.spread-book .page-right{display:block!important}.spread-book .page-left{border-radius:7px 0 0 7px}.spread-book .page-right{border-radius:0 7px 7px 0}.spread-book .page-right:before{display:block}.spread-book .spread-page{min-height:0}.spread-book>.page-arrow{position:absolute!important;top:50%!important;bottom:auto!important;transform:translateY(-50%)!important}.spread-book>.page-arrow.prev{left:-24px!important}.spread-book>.page-arrow.next{right:-24px!important}}
/* Aged edition v4 */
.wordmark{display:flex;align-items:center}.wordmark img{width:52px;height:52px;object-fit:contain;margin-right:8px;filter:drop-shadow(0 2px 3px #000)}.wordmark b{font:600 16px var(--display);letter-spacing:.16em}.wordmark>span{display:none}
.top-notes{position:fixed;z-index:45;top:180px;right:max(6px,calc((100vw - 1440px)/2 - 58px));width:150px;margin:0;display:flex;flex-direction:column;align-items:flex-end;gap:9px}
.top-notes button{width:132px;clip-path:polygon(8% 0,100% 4%,100% 96%,8% 100%,0 50%);padding:13px 13px 13px 19px;text-align:left;transform:translateX(72px) rotate(var(--tab-tilt,-1deg));transition:.28s}.top-notes button:nth-child(2){--tab-tilt:1deg}.top-notes button:nth-child(3){--tab-tilt:-.7deg}.top-notes button:nth-child(4){--tab-tilt:.6deg}.top-notes button:hover,.top-notes button.active{transform:translateX(8px) rotate(0)}
.page{background-color:#cdb17a;background-image:radial-gradient(circle at 14% 12%,rgba(93,51,22,.13) 0 1px,transparent 2px),radial-gradient(circle at 82% 74%,rgba(87,44,20,.1) 0 2px,transparent 3px),radial-gradient(ellipse at 50% 20%,rgba(255,246,209,.24),transparent 50%),repeating-linear-gradient(2deg,rgba(65,39,19,.035) 0 1px,transparent 1px 5px),linear-gradient(90deg,#a98955,#d8c08e 9%,#dcc797 89%,#a98652);filter:sepia(.14)}
.page:after{content:"";position:absolute;inset:0;pointer-events:none;box-shadow:inset 0 0 58px rgba(68,34,14,.35);mix-blend-mode:multiply}.page-left:before{content:"";position:absolute;left:22px;top:70px;width:90px;height:55px;background:radial-gradient(ellipse,rgba(95,48,20,.09),transparent 70%);transform:rotate(-18deg)}.page-right{background-image:radial-gradient(circle at 84% 17%,rgba(86,43,18,.12) 0 1px,transparent 2px),radial-gradient(circle at 24% 78%,rgba(82,44,19,.09) 0 2px,transparent 3px),repeating-linear-gradient(-1deg,rgba(65,39,19,.035) 0 1px,transparent 1px 5px),linear-gradient(90deg,#a27f4d,#d3b983 8%,#dec99b 90%,#a98753)}
.stamp-grid{align-items:start}.stamp{min-height:155px;box-shadow:2px 6px 11px rgba(54,29,12,.3);transform:translate(var(--sx,0),var(--sy,0)) rotate(var(--r));border-image:repeating-linear-gradient(45deg,#e1c99a 0 6px,#7c5532 6px 10px) 11}.stamp:nth-child(1){--sx:-5px;--sy:4px;--r:-2.1deg}.stamp:nth-child(2){--sx:7px;--sy:-3px;--r:1.4deg}.stamp:nth-child(3){--sx:3px;--sy:7px;--r:.7deg}.stamp:nth-child(4){--sx:-8px;--sy:-1px;--r:-1.2deg}.stamp:before{content:"";position:absolute;z-index:3;top:-7px;left:37%;width:58px;height:18px;background:rgba(202,180,130,.68);transform:rotate(-3deg);box-shadow:0 1px 2px rgba(0,0,0,.18)}
.filter-tabs{display:flex;flex-wrap:wrap;gap:3px}.filter-tabs button{padding:7px 8px;font-size:12px}
.spread-book>.turn-sheet{z-index:35;background:linear-gradient(90deg,#8f6e42 0,#d2b781 7%,#e1cd9e 70%,#b49360);box-shadow:-12px 2px 22px rgba(45,23,10,.28);backface-visibility:hidden}.spread-book>.turn-sheet:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(50,25,9,.25),transparent 16%,rgba(255,250,220,.12));transform:rotateY(180deg);backface-visibility:hidden}.spread-book>.turn-sheet.turn{animation:bookLeafForward .78s cubic-bezier(.55,.02,.18,1)}.spread-book>.turn-sheet.turn-back{animation:bookLeafBack .78s cubic-bezier(.55,.02,.18,1)}@keyframes bookLeafForward{0%{opacity:1;transform:perspective(1800px) rotateY(0) skewY(0)}45%{box-shadow:-35px 9px 45px rgba(38,19,8,.44)}100%{opacity:1;transform:perspective(1800px) rotateY(-179deg) skewY(-1deg)}}@keyframes bookLeafBack{0%{opacity:1;transform:perspective(1800px) rotateY(0)}45%{box-shadow:35px 9px 45px rgba(38,19,8,.44)}100%{opacity:1;transform:perspective(1800px) rotateY(179deg)}}
.ancient-opening{background:radial-gradient(circle,#4b2a17,#100805 72%);perspective:1800px;animation:ancientFade 3.1s forwards}.ancient-cover{width:min(430px,70vw);aspect-ratio:.73;display:flex;flex-direction:column;align-items:center;justify-content:center;border-radius:10px 26px 26px 10px;background:radial-gradient(circle at 50% 35%,rgba(176,112,44,.12),transparent 30%),linear-gradient(90deg,#180a07 0 8%,#4c2216 9% 96%,#21100b);border:3px solid #a4783e;box-shadow:0 36px 90px #000,inset 0 0 0 9px #24100a,inset 0 0 0 11px #a1783e;transform-origin:left;animation:ancientCoverOpen 2s .55s cubic-bezier(.38,.02,.14,1) forwards}.ancient-cover img{width:48%;height:auto;filter:drop-shadow(0 8px 10px #140906)}.ancient-cover strong{color:#e0bd70;font:700 42px var(--display);letter-spacing:.18em}.ancient-cover small{color:#b69255;letter-spacing:.25em}.opening-spread{display:none}@keyframes ancientCoverOpen{0%{transform:scale(.72) rotateY(0)}30%{transform:scale(.92) rotateY(0)}100%{transform:scale(1.55) translateX(-18%) rotateY(-155deg);opacity:.1}}@keyframes ancientFade{0%,82%{opacity:1}100%{opacity:0;visibility:hidden}}
@media(max-width:900px){.top-notes{position:relative;top:auto;right:auto;width:100%;flex-direction:row;overflow:auto;align-items:center;padding:0 9px}.top-notes button,.top-notes button:hover,.top-notes button.active{width:auto;flex:0 0 auto;transform:none;clip-path:polygon(0 0,100% 0,96% 86%,52% 100%,4% 86%)}.wordmark img{width:42px;height:42px}}

/* Field journal edition v5: real parchment, protruding bookmarks and pasted bestiary notes */
.page,.page-right{
  background-color:#c89a4f;
  background-image:linear-gradient(rgba(104,58,19,.12),rgba(71,35,12,.2)),url('/assets/site/parchment-reference-v1.jpg');
  background-size:100% 100%;
  background-position:center;
  filter:sepia(.2) saturate(.88) contrast(1.04);
}
.page:after{box-shadow:inset 0 0 76px rgba(55,25,8,.5),inset 0 0 8px rgba(46,19,7,.42);mix-blend-mode:multiply}
.page-left:after{background:linear-gradient(90deg,transparent,rgba(42,20,8,.34))}
.page-right:before{background:linear-gradient(90deg,rgba(42,20,8,.37),transparent)}
.leaf-content{position:relative;z-index:2}

.top-notes{right:max(62px,calc((100vw - 1440px)/2 - 5px));gap:11px}
.top-notes button{width:144px;padding:14px 13px 14px 22px;transform:translateX(42px) rotate(var(--tab-tilt,-1deg));box-shadow:4px 5px 10px rgba(30,14,6,.42);transition:transform .34s cubic-bezier(.2,.75,.25,1),filter .2s}
.top-notes button:hover,.top-notes button.active{transform:translateX(82px) rotate(0);filter:saturate(1.12) brightness(1.04)}
.top-notes button.active:before{content:"";position:absolute;left:10px;top:50%;width:6px;height:6px;border:1px solid rgba(64,38,20,.6);border-radius:50%;transform:translateY(-50%);box-shadow:inset 0 1px 2px rgba(0,0,0,.32)}

.bestiary-grid.single{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px 13px;padding:10px 8px 6px;align-items:start}
.bestiary-grid.single .beast{position:relative;display:block;min-width:0;padding:8px 8px 13px;text-align:center;background:#d8b978;border:1px solid rgba(82,47,20,.42);box-shadow:2px 5px 9px rgba(49,25,9,.3);transform:translate(var(--jx,0),var(--jy,0)) rotate(var(--jr,-1deg));transition:transform .2s,box-shadow .2s}
.bestiary-grid.single .beast:nth-child(1){--jx:-3px;--jy:3px;--jr:-2.4deg}.bestiary-grid.single .beast:nth-child(2){--jx:2px;--jy:-4px;--jr:1.2deg}.bestiary-grid.single .beast:nth-child(3){--jx:4px;--jy:4px;--jr:-.4deg}.bestiary-grid.single .beast:nth-child(4){--jx:1px;--jy:-2px;--jr:1.8deg}.bestiary-grid.single .beast:nth-child(5){--jx:-4px;--jy:5px;--jr:-1.3deg}.bestiary-grid.single .beast:nth-child(6){--jx:3px;--jy:0;--jr:2.2deg}
.bestiary-grid.single .beast:before{content:"";position:absolute;z-index:3;left:50%;top:-8px;width:42px;height:15px;background:rgba(202,177,119,.72);border-inline:1px solid rgba(103,73,38,.16);transform:translateX(-50%) rotate(var(--tape,-2deg));box-shadow:0 1px 2px rgba(34,18,7,.25)}
.bestiary-grid.single .beast:nth-child(even):before{--tape:3deg;left:38%}
.bestiary-grid.single .beast:hover{transform:translate(var(--jx,0),calc(var(--jy,0) - 4px)) rotate(0);box-shadow:4px 9px 14px rgba(45,23,8,.35);z-index:4}
.bestiary-grid.single .beast img{display:block;width:100%;height:92px;padding:3px;object-fit:contain;background:radial-gradient(ellipse,#dfc590 15%,#b58d51 75%);border:5px solid #ead7aa;outline:1px solid rgba(77,43,18,.45);filter:sepia(.35) contrast(1.06) saturate(.8);box-shadow:0 3px 7px rgba(50,26,10,.25)}
.bestiary-grid.single .beast span{display:block;padding-top:9px;border-bottom:1px solid rgba(91,53,23,.25)}
.bestiary-grid.single .beast strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font:600 13px var(--display);letter-spacing:.02em}
.bestiary-grid.single .beast small{display:block;min-height:28px;margin-top:4px;color:#604528;font-size:11px;line-height:1.2;font-style:italic}

.spread-book>.turn-sheet{background-color:#c89a4f;background-image:linear-gradient(90deg,rgba(76,39,13,.35),transparent 18%,rgba(255,236,178,.12)),url('/assets/site/parchment-reference-v1.jpg');background-size:100% 100%;transform-style:preserve-3d;will-change:transform,filter}
.spread-book>.turn-sheet.turn{animation:journalLeafForward 1s cubic-bezier(.34,.02,.12,1) forwards}
.spread-book>.turn-sheet.turn-back{animation:journalLeafBack 1s cubic-bezier(.34,.02,.12,1) forwards}
@keyframes journalLeafForward{0%{opacity:1;transform:perspective(1900px) rotateY(0) translateZ(0);filter:brightness(1)}35%{transform:perspective(1900px) rotateY(-63deg) translateZ(18px) skewY(-1.2deg);filter:brightness(.82);box-shadow:-35px 10px 48px rgba(31,15,5,.5)}72%{transform:perspective(1900px) rotateY(-145deg) translateZ(8px) skewY(-.35deg);filter:brightness(.93);box-shadow:-14px 7px 28px rgba(31,15,5,.42)}100%{opacity:1;transform:perspective(1900px) rotateY(-179.6deg) translateZ(0);filter:brightness(1);box-shadow:0 2px 7px rgba(31,15,5,.28)}}
@keyframes journalLeafBack{0%{opacity:1;transform:perspective(1900px) rotateY(0) translateZ(0);filter:brightness(1)}35%{transform:perspective(1900px) rotateY(63deg) translateZ(18px) skewY(1.2deg);filter:brightness(.82);box-shadow:35px 10px 48px rgba(31,15,5,.5)}72%{transform:perspective(1900px) rotateY(145deg) translateZ(8px) skewY(.35deg);filter:brightness(.93);box-shadow:14px 7px 28px rgba(31,15,5,.42)}100%{opacity:1;transform:perspective(1900px) rotateY(179.6deg) translateZ(0);filter:brightness(1);box-shadow:0 2px 7px rgba(31,15,5,.28)}}

@media(max-width:1100px) and (min-width:701px){.bestiary-grid.single{grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}.bestiary-grid.single .beast img{height:76px}.bestiary-grid.single .beast small{min-height:14px}.top-notes{right:50px}.top-notes button{width:126px}.top-notes button:hover,.top-notes button.active{transform:translateX(66px)}}
@media(max-width:900px){.top-notes{right:auto}.top-notes button,.top-notes button:hover,.top-notes button.active{transform:none}.bestiary-grid.single{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 12px}.bestiary-grid.single .beast img{height:105px}}
@media(max-width:520px){.bestiary-grid.single{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 8px}.bestiary-grid.single .beast{padding:6px 6px 10px}.bestiary-grid.single .beast img{height:78px}.bestiary-grid.single .beast strong{font-size:11px}.bestiary-grid.single .beast small{font-size:10px}}

/* Bound volume v6: purpose-made continuous spread, no pasted reference texture */
.sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
.page,.page-right{
  background-color:#c79451;
  background-image:url('/assets/site/titanis-aged-spread-v1.png');
  background-size:200% 100%;
  background-repeat:no-repeat;
  filter:sepia(.08) saturate(.9) contrast(1.02);
}
.page-left{background-position:left center}.page-right{background-position:right center}
.page:after{box-shadow:inset 0 0 35px rgba(45,19,6,.2);mix-blend-mode:multiply}
.page-left:after{width:70px;background:linear-gradient(90deg,transparent,rgba(38,15,4,.44))}
.page-right:before{width:70px;background:linear-gradient(90deg,rgba(38,15,4,.46),transparent)}
.spread-book>.turn-sheet{background-image:linear-gradient(90deg,rgba(60,27,8,.28),transparent 20%),url('/assets/site/titanis-aged-spread-v1.png');background-size:200% 100%;background-position:right center}

.book-tools{background:transparent;border:0;padding:3px 12px;margin:2px auto 5px;align-items:center;filter:drop-shadow(0 4px 5px rgba(22,10,4,.35))}
.book-tools label{flex:0 0 180px;transform:rotate(-1deg)}
.book-tools input{margin:0;padding:9px 13px;background:#d4af6d;border:1px solid #70451f;box-shadow:inset 0 0 13px rgba(90,47,16,.17);clip-path:polygon(2% 3%,98% 0,100% 88%,94% 100%,4% 96%,0 15%)}
.book-tools .filter-tabs{justify-content:center;gap:6px}
.book-tools .filter-tabs button{border:0;background:#c9a364;color:#3b2718;box-shadow:1px 3px 5px rgba(41,20,7,.28);transform:rotate(var(--ft,-.8deg));clip-path:polygon(3% 4%,97% 0,100% 91%,94% 100%,2% 96%,0 12%)}
.book-tools .filter-tabs button:nth-child(even){--ft:.8deg;background:#b9b57b}.book-tools .filter-tabs button.active{background:#763a29;color:#f0d79e;transform:translateY(-2px) rotate(0)}

@media(min-width:701px){
  .top-notes{position:fixed!important;z-index:45!important;top:170px!important;right:0!important;width:144px!important;margin:0!important;padding:0!important;display:flex!important;flex-direction:column!important;align-items:flex-end!important;gap:11px!important;overflow:visible!important;background:transparent!important}
  .top-notes button{display:block!important;width:144px!important;flex:none!important;padding:14px 13px 14px 22px!important;text-align:left!important;clip-path:polygon(8% 0,100% 4%,100% 96%,8% 100%,0 50%)!important;transform:translateX(34px) rotate(var(--tab-tilt,-1deg))!important;transition:transform .34s cubic-bezier(.2,.75,.25,1),filter .2s!important}
  .top-notes button:hover,.top-notes button.active{transform:translateX(52px) rotate(0)!important}
}

/* Faster page response while retaining the leaf-turn gesture v36 */
.spread-book>.turn-sheet.turn{animation-duration:.48s!important}
.spread-book>.turn-sheet.turn-back{animation-duration:.48s!important}

/* Wood-mounted action tabs and horror-ink lettering v29 */
:root{--blood-ink:#8c171e;--blood-edge:#5b0b10}
.kicker,
.systems-page .intro,
.systems-page .stamp small,
.manifesto-lead,
.manifesto-copy strong{
  color:var(--blood-ink)!important;
  font-family:'Creepster',var(--hand)!important;
  font-weight:400!important;
  letter-spacing:.045em;
  -webkit-text-stroke:.18px var(--blood-edge)!important;
  text-shadow:0 1px 0 rgba(255,221,157,.42),0 0 1px rgba(72,5,10,.36)!important;
}
@media(min-width:701px){
  .deskbar>div{top:3px!important;right:0!important;gap:5px!important;width:190px!important}
  .deskbar .quiet,.deskbar .gold{
    width:158px!important;
    min-height:41px!important;
    padding:9px 17px 9px 27px!important;
    transform:translateX(58px) rotate(var(--action-tilt,-1deg))!important;
  }
  .deskbar .quiet:hover,.deskbar .quiet:focus-visible,
  .deskbar .gold:hover,.deskbar .gold:focus-visible{transform:translateX(-4px) rotate(0)!important}
}

/* Final Turkish-character-safe colour-only correction v30 */
.kicker,
.systems-page .intro,
.systems-page .stamp small,
.manifesto-lead,
.manifesto-copy strong{
  color:#8c171e!important;
  font-family:var(--hand)!important;
  font-weight:700!important;
  letter-spacing:normal!important;
  -webkit-text-stroke:0!important;
  text-shadow:0 1px 0 rgba(255,221,157,.38)!important;
}
.kicker{font-family:var(--display)!important;letter-spacing:.2em!important}

/* Right-side bookmarks belong to the document flow, not the viewport v32 */
@media(min-width:701px){
  .top-notes{position:absolute!important}
  .deskbar>div{position:absolute!important}
}

/* Black-ink opening initial v31 */
.dropcap:first-letter{color:#21140e!important}

/* Turkish-safe handwriting; retain only the reference blood-red colour v30 */
.kicker,
.systems-page .intro,
.systems-page .stamp small,
.manifesto-lead,
.manifesto-copy strong{
  color:#8c171e!important;
  font-family:var(--hand)!important;
  font-weight:700!important;
  letter-spacing:normal;
  -webkit-text-stroke:0!important;
  text-shadow:0 1px 0 rgba(255,221,157,.38)!important;
}
.kicker{font-family:var(--display)!important;letter-spacing:.2em}
@media(max-width:900px) and (min-width:701px){.book-tools{width:calc(100% - 80px);flex-wrap:wrap}.book-tools label{flex:1 1 160px}.book-tools .filter-tabs{flex:1 1 100%;flex-wrap:wrap}.book-tools .filter-tabs button{font-size:10px;padding:6px}.spread-book{height:min(760px,calc(100vh - 175px))!important}}
@media(min-width:561px) and (max-width:700px){
  .top-notes{position:fixed!important;z-index:45!important;top:154px!important;right:0!important;width:126px!important;margin:0!important;padding:0!important;display:flex!important;flex-direction:column!important;align-items:flex-end!important;gap:8px!important;overflow:visible!important;background:transparent!important}
  .top-notes button{display:block!important;width:126px!important;flex:none!important;padding:11px 10px 11px 18px!important;text-align:left!important;font-size:10px!important;clip-path:polygon(8% 0,100% 4%,100% 96%,8% 100%,0 50%)!important;transform:translateX(32px) rotate(var(--tab-tilt,-1deg))!important}
  .top-notes button:hover,.top-notes button.active{transform:translateX(46px) rotate(0)!important}
  .spread-book{position:relative!important;display:grid!important;grid-template-columns:1fr 1fr!important;width:calc(100% - 34px)!important;height:calc(100vh - 120px)!important;min-height:600px!important;margin:0 auto 18px!important;filter:drop-shadow(0 22px 30px rgba(0,0,0,.6))!important}
  .spread-book:before,.spread-book .book-edge,.spread-book .page-left,.spread-book .page-right{display:block!important}
  .spread-book .page-left{border-radius:7px 0 0 7px}.spread-book .page-right{border-radius:0 7px 7px 0}.spread-book .page-right:before{display:block}.spread-page{padding:26px 20px!important;min-height:0!important}.spread-book .page-right{min-height:0!important}
  .spread-book>.page-arrow{position:absolute!important;top:50%!important;bottom:auto!important;transform:translateY(-50%)!important}.spread-book>.page-arrow.prev{left:-12px!important}.spread-book>.page-arrow.next{right:-12px!important}
  .book-tools{width:calc(100% - 46px);margin:0 auto 4px;flex-wrap:wrap}.book-tools label{flex:1 1 120px}.book-tools .filter-tabs{flex:1 1 100%;flex-wrap:wrap}.book-tools .filter-tabs button{font-size:9px;padding:5px}.bestiary-grid.single{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px 6px}.bestiary-grid.single .beast img{height:62px}.bestiary-grid.single .beast small{font-size:8px}.bestiary-grid.single .beast strong{font-size:9px}.chapter h2{font-size:30px}.hero-engraving.tall{height:330px}
}

/* Consistent folio sizing and denser journal collections v7 */
.book-tools,.book-tools[hidden]{display:flex;height:68px;min-height:68px}
.book-tools[hidden]{visibility:hidden;pointer-events:none}
.page-left:before,.page-left:after{display:none!important}

.bestiary-grid.single{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:10px 8px;padding:5px 3px}
.bestiary-grid.single .beast{padding:5px 5px 7px;box-shadow:1px 3px 6px rgba(49,25,9,.27)}
.bestiary-grid.single .beast:before{top:-5px;width:28px;height:10px}
.bestiary-grid.single .beast img{height:54px;padding:2px;border-width:3px;image-rendering:auto}
.bestiary-grid.single .beast span{padding-top:5px;border:0}
.bestiary-grid.single .beast strong{font-size:10px;line-height:1.15}
.bestiary-grid.single .beast small{min-height:20px;margin-top:2px;font-size:8px;line-height:1.15}

.stamp-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 13px;padding:8px 10px}
.stamp{min-height:150px;padding:7px;background:#d8b978;border:5px solid #ead7aa;border-image:none;outline:1px solid rgba(77,43,18,.45);box-shadow:2px 5px 9px rgba(49,25,9,.3)}
.stamp:before{top:-5px;left:50%;width:42px;height:14px;transform:translateX(-50%) rotate(-3deg)}
.stamp:after{background:linear-gradient(transparent 42%,rgba(216,185,120,.94) 78%)}
.stamp img{inset:7px;width:calc(100% - 14px);height:calc(100% - 14px);filter:sepia(.34) contrast(1.06) saturate(.82)}
.stamp span{left:14px;right:14px;bottom:12px;border:0}
.stamp strong{font-size:13px}.stamp small{font-size:10px}

@media(min-width:561px) and (max-width:900px){.book-tools,.book-tools[hidden]{height:82px;min-height:82px}.bestiary-grid.single{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:7px 5px}.bestiary-grid.single .beast img{height:46px}.bestiary-grid.single .beast strong{font-size:8px}.bestiary-grid.single .beast small{font-size:7px;min-height:16px}.stamp-grid{gap:10px 8px;padding:4px}.stamp{min-height:120px}}
@media(max-width:560px){.book-tools,.book-tools[hidden]{height:auto;min-height:0}.book-tools[hidden]{display:none}.bestiary-grid.single{grid-template-columns:repeat(3,minmax(0,1fr))!important}.bestiary-grid.single .beast img{height:50px}}

/* Four-row folios v8 */
.bestiary-grid.single{align-content:start;gap:7px 8px}
.bestiary-grid.single .beast{padding:4px 5px 6px}
.bestiary-grid.single .beast img{height:46px}
.bestiary-grid.single .beast span{padding-top:4px}
.bestiary-grid.single .beast strong{font-size:9px}
.bestiary-grid.single .beast small{min-height:17px;font-size:7.5px}
@media(min-width:561px) and (max-width:900px){.bestiary-grid.single{gap:5px 5px}.bestiary-grid.single .beast{padding:3px 4px 4px}.bestiary-grid.single .beast img{height:36px}.bestiary-grid.single .beast span{padding-top:3px}.bestiary-grid.single .beast strong{font-size:7.5px}.bestiary-grid.single .beast small{min-height:13px;font-size:6.5px}}
@media(max-width:560px){.bestiary-grid.single .beast img{height:42px}}

/* Oak desk, parchment bookmarks and handwritten folio v9 */
:root{--serif:'Kalam','Segoe Print',cursive;--hand:'Kalam','Segoe Print',cursive}
body{font-family:var(--serif);font-weight:400;background-color:#21130a;background-image:linear-gradient(rgba(20,9,3,.18),rgba(20,9,3,.35)),url('/assets/site/aged-oak-desk-v1.png');background-size:cover;background-position:center;background-attachment:fixed}
.book{filter:drop-shadow(0 34px 34px rgba(0,0,0,.72)) drop-shadow(0 6px 5px rgba(15,7,2,.72))}
.book:before{inset:-19px -27px -21px;background:linear-gradient(90deg,#170905,#502414 48%,#1c0b06);border:3px solid #94673a;border-radius:24px 31px 31px 24px;box-shadow:inset 0 0 0 7px #1b0b06,inset 0 0 0 10px #8e6336,0 8px 12px rgba(0,0,0,.62)}
.book-edge{inset:9px -16px -16px;background:linear-gradient(#b29260,#79522d);box-shadow:0 7px 8px rgba(0,0,0,.38)}
.chapter h2,.crest h1,.stamp strong,.beast strong,.questline h3,.book-quote{font-family:var(--hand);font-weight:700;letter-spacing:.01em}
.chapter h2{line-height:1.02}.intro,.dropcap,.beast small,.stamp small{font-family:var(--hand);font-weight:400}

.top-notes button,.top-notes button:nth-child(2),.top-notes button:nth-child(3),.top-notes button:nth-child(4){background-color:#c79b58!important;background-image:linear-gradient(90deg,rgba(79,39,12,.28),transparent 18%,rgba(255,224,150,.12)),url('/assets/site/titanis-aged-spread-v1.png')!important;background-size:320% 160%!important;background-position:center!important;color:#3b2415!important;font-family:var(--hand)!important;font-weight:700!important;font-size:15px!important;box-shadow:inset 0 0 10px rgba(67,29,8,.28),3px 5px 9px rgba(23,10,3,.48)!important}
.top-notes button.active,.top-notes button:hover{filter:brightness(1.08) saturate(.88)!important;color:#682b20!important}
.top-notes button.active:before{border-color:rgba(74,39,18,.72);background:#8d5a2e}

.kicker{font-family:var(--display);font-weight:700}.page-number,.spread-counter{font-family:var(--display)}
.book-tools input,.book-tools .filter-tabs button{font-family:var(--hand);font-weight:700}
.book-tools .filter-tabs button{font-size:13px}

.bestiary-grid.single{row-gap:13px;column-gap:8px}
.bestiary-grid.single .beast{padding-bottom:7px}
@media(min-width:561px) and (max-width:900px){.bestiary-grid.single{row-gap:9px;column-gap:5px}.top-notes button,.top-notes button:nth-child(2),.top-notes button:nth-child(3),.top-notes button:nth-child(4){font-size:12px!important}}
@media(max-width:560px){body{background-image:linear-gradient(rgba(20,9,3,.2),rgba(20,9,3,.38)),url('/assets/site/aged-oak-desk-v1.png');background-size:auto 100%;background-position:center}.top-notes button,.top-notes button:nth-child(2),.top-notes button:nth-child(3),.top-notes button:nth-child(4){font-size:12px!important}.bestiary-grid.single{row-gap:10px}}

/* Visible page block beneath the open leaves v10 */
.book-edge{
  inset:7px -15px -20px;
  overflow:visible;
  border:1px solid #6f4928;
  border-radius:8px 13px 16px 10px;
  background-color:#c5a66f;
  background-image:repeating-linear-gradient(0deg,#725033 0 1px,#d5bd89 1px 3px,#9a774a 3px 4px,#e0c995 4px 6px);
  box-shadow:0 3px 0 #a27d4e,0 6px 0 #d0b47d,0 9px 0 #795333,0 13px 11px rgba(14,6,2,.65),-4px 3px 0 #b39261,5px 5px 0 #8d673f;
  clip-path:polygon(.4% 1%,49.4% 0,50% 1.2%,50.7% 0,99.5% 1%,100% 96%,99.1% 100%,51% 98.8%,50% 100%,49% 98.7%,.7% 100%,0 95%);
}
.book-edge:before,.book-edge:after{content:"";position:absolute;top:2px;bottom:-8px;z-index:-1;pointer-events:none;background:repeating-linear-gradient(0deg,#87613b 0 1px,#d8be88 1px 3px,#a47d4d 3px 4px,#e3cc9a 4px 6px);border:1px solid #684322;box-shadow:0 4px 0 #b39260,0 7px 0 #7b5330,0 10px 7px rgba(24,10,3,.5)}
.book-edge:before{left:-5px;right:50%;border-radius:10px 2px 4px 13px;transform:rotate(.18deg)}
.book-edge:after{left:50%;right:-6px;border-radius:2px 13px 14px 4px;transform:rotate(-.18deg)}
.page-left{box-shadow:inset 0 0 35px rgba(45,19,6,.2),-3px 2px 0 rgba(214,188,134,.78),-6px 5px 0 rgba(126,88,48,.62)}
.page-right{box-shadow:inset 0 0 35px rgba(45,19,6,.2),3px 2px 0 rgba(214,188,134,.78),6px 5px 0 rgba(126,88,48,.62)}
@media(max-width:560px){.book-edge{display:none!important}.page-right{box-shadow:inset 0 0 35px rgba(45,19,6,.2)}}

/* Directional, parchment-textured page block v11 */
.book-edge{
  top:auto;
  left:-13px;
  right:-13px;
  bottom:-20px;
  height:30px;
  overflow:visible;
  border:0;
  border-radius:0 0 13px 13px;
  background-color:#b18a53;
  background-image:linear-gradient(90deg,rgba(67,35,13,.48),transparent 7%,transparent 47.5%,rgba(49,23,8,.58) 49.5%,rgba(35,15,5,.72) 50%,rgba(49,23,8,.58) 50.5%,transparent 52.5%,transparent 93%,rgba(67,35,13,.48)),repeating-linear-gradient(0deg,rgba(69,39,19,.72) 0 1px,rgba(223,196,139,.74) 1px 3px,rgba(132,92,51,.68) 3px 4px,rgba(205,170,112,.7) 4px 6px),url('/assets/site/titanis-aged-spread-v1.png');
  background-size:100% 100%,100% 100%,200% 500%;
  background-position:center,center,center bottom;
  background-blend-mode:multiply,normal,multiply;
  box-shadow:0 3px 0 rgba(91,58,30,.82),0 7px 0 rgba(185,145,87,.66),0 11px 14px rgba(13,5,1,.72);
  clip-path:polygon(.5% 0,8% 5%,17% 0,27% 7%,39% 1%,49% 8%,50% 17%,51% 8%,62% 1%,74% 6%,84% 0,94% 5%,99.5% 0,100% 76%,98.8% 100%,88% 94%,77% 100%,64% 93%,51% 100%,50% 91%,49% 100%,36% 94%,23% 100%,12% 93%,1.2% 100%,0 76%);
}
.book-edge:before,.book-edge:after{
  content:"";
  position:absolute;
  bottom:16px;
  width:18px;
  height:calc(100vh - 118px);
  min-height:610px;
  max-height:830px;
  z-index:-1;
  border:0;
  background-color:#b38a52;
  background-image:linear-gradient(0deg,rgba(65,32,12,.55),transparent 8%,transparent 91%,rgba(71,36,14,.48)),repeating-linear-gradient(90deg,rgba(70,39,18,.72) 0 1px,rgba(224,197,140,.72) 1px 3px,rgba(127,87,47,.66) 3px 4px,rgba(207,173,114,.7) 4px 6px),url('/assets/site/titanis-aged-spread-v1.png');
  background-size:100% 100%,100% 100%,480% 160%;
  background-blend-mode:multiply,normal,multiply;
  box-shadow:0 5px 8px rgba(19,8,2,.46);
}
.book-edge:before{left:0;right:auto;border-radius:10px 1px 2px 12px;transform:rotate(.12deg);clip-path:polygon(23% 0,100% .8%,83% 9%,100% 19%,88% 30%,100% 43%,84% 55%,100% 67%,87% 79%,100% 91%,78% 100%,0 99%,8% 87%,0 75%,12% 62%,0 50%,10% 38%,0 25%,13% 12%,0 2%)}
.book-edge:after{left:auto;right:0;border-radius:1px 10px 12px 2px;transform:rotate(-.12deg);clip-path:polygon(0 .8%,77% 0,100% 2%,87% 12%,100% 25%,90% 38%,100% 50%,88% 62%,100% 75%,92% 87%,100% 99%,22% 100%,0 91%,13% 79%,0 67%,16% 55%,0 43%,12% 30%,0 19%,17% 9%)}
.page-left{box-shadow:inset 0 0 35px rgba(45,19,6,.2),-2px 1px 0 rgba(207,177,119,.58)}
.page-right{box-shadow:inset 0 0 35px rgba(45,19,6,.2),2px 1px 0 rgba(207,177,119,.58)}
@media(min-width:561px) and (max-width:700px){.book-edge:before,.book-edge:after{height:calc(100vh - 92px);min-height:610px}}
@media(max-width:560px){.book-edge{display:none!important}}

/* Illustrated open-book underlay v12 */
.book:before{
  content:"";
  position:absolute;
  inset:-32px -38px -36px;
  z-index:-2;
  border:0;
  border-radius:0;
  background:transparent url('/assets/site/open-book-base-v1.png') center/100% 100% no-repeat;
  box-shadow:none;
  pointer-events:none;
}
.book-edge{display:none!important}
.page-left,.page-right{position:relative;z-index:1;box-shadow:inset 0 0 32px rgba(45,19,6,.18)}
.page-arrow{border:0;background:transparent;color:#5a351d;font-family:Georgia,serif;font-size:38px;text-shadow:0 1px 0 rgba(255,225,160,.72),0 2px 4px rgba(35,15,4,.38);box-shadow:none;opacity:.78}
.page-arrow:hover{color:#7b3c28;opacity:1;transform:translateY(-50%) scale(1.08)}
.page-arrow:disabled{visibility:hidden}
@media(max-width:900px){.page-arrow:hover{transform:none}}
@media(max-width:560px){.book:before{display:none}}

/* Quiet integrated binding v13 — replaces the detached illustrated frame */
.book:before{
  inset:-13px -17px -18px;
  border:1px solid rgba(137,91,48,.75);
  border-radius:17px 21px 23px 17px;
  background:linear-gradient(90deg,#170905,#472012 48.5%,#1a0a06 51.5%,#4b2213 96%,#160805);
  box-shadow:inset 0 0 0 5px rgba(24,9,5,.88),inset 0 0 0 7px rgba(145,94,48,.45),0 14px 23px rgba(10,4,1,.58);
  opacity:1;
}
.book-edge{
  display:block!important;
  inset:5px -7px -10px;
  height:auto;
  border:0;
  border-radius:7px 9px 12px;
  clip-path:none;
  background-color:#b28b57;
  background-image:linear-gradient(rgba(110,72,37,.18),rgba(65,35,16,.24)),url('/assets/site/titanis-aged-spread-v1.png');
  background-size:100% 100%,200% 180%;
  background-position:center,center bottom;
  background-blend-mode:multiply;
  box-shadow:0 2px 0 rgba(211,181,124,.72),0 5px 0 rgba(119,82,46,.62),0 9px 13px rgba(13,5,2,.48);
  opacity:.82;
}
.book-edge:before,.book-edge:after{display:none!important}
.page-left,.page-right{box-shadow:inset 0 0 30px rgba(45,19,6,.16)}
@media(max-width:560px){.book-edge,.book:before{display:none!important}}

/* Final annotated folio v14 */
.map-corner{display:none!important}

/* The bookmarks float directly over the desk; no backing panel. */
.top-notes{background:transparent!important;box-shadow:none!important}
.top-notes:before,.top-notes:after{display:none!important}

/* Real Titanis emblem on the opening chapter. */
.crest>span{display:none!important}
.crest>img{display:block;width:112px;height:112px;object-fit:contain;margin:0 auto 4px;filter:sepia(.14) drop-shadow(0 5px 5px rgba(55,24,8,.28))}
.crest h1{margin-top:4px}

/* Hand-drawn red-ink circles instead of modern CTA boxes. */
.ink-actions{gap:20px;align-items:center;margin-top:24px}
.ink-circle{position:relative;isolation:isolate;padding:13px 20px;border:0;background:transparent;color:#65251f;font:700 17px var(--hand);cursor:pointer;transform:rotate(-1.2deg)}
.ink-circle:before,.ink-circle:after{content:"";position:absolute;z-index:-1;pointer-events:none}
.ink-circle:before{inset:2px -7px 0;border:2px solid rgba(126,35,30,.84);border-radius:49% 54% 46% 52% / 53% 47% 55% 45%;transform:rotate(-2.5deg);filter:drop-shadow(0 1px 0 rgba(104,31,26,.24))}
.ink-circle:after{inset:0 -4px 3px;border:1px solid rgba(151,44,35,.52);border-radius:52% 45% 55% 47% / 46% 56% 44% 54%;transform:rotate(2.1deg)}
.ink-circle-alt{transform:rotate(1deg)}
.ink-circle:hover{color:#8a211d;transform:rotate(0) scale(1.035)}

/* Quiet final line: remove vanity counts and make the remaining caption legible. */
.folio-stats.single-stat{display:block;width:74%;margin:18px auto 0;padding-top:13px}
.folio-stats.single-stat div{text-align:center}
.folio-stats.single-stat dt{color:#3c2618;font:700 20px var(--display);letter-spacing:.12em}
.folio-stats.single-stat dd{margin-top:4px;color:#4b311f;font:700 15px var(--hand);opacity:1}
.book-quote{color:#4b311f;font-weight:700}

/* Founder's foreword. */
.manifesto-seal{text-align:center;margin:-10px 0 -3px}
.manifesto-seal img{width:92px;height:92px;object-fit:contain;filter:sepia(.18) drop-shadow(0 4px 5px rgba(55,24,8,.25))}
.manifesto-lead{margin:22px 7% 24px;padding:17px 20px;border-block:1px solid rgba(112,63,28,.36);text-align:center;color:#672d25;font:700 22px/1.35 var(--hand)}
.manifesto-copy{margin:16px 3%;color:#3d291b;font:400 18px/1.55 var(--hand)}
.manifesto-copy strong{color:#6c2c25}
.manifesto-rules{display:grid;gap:17px;margin-top:24px}
.manifesto-rules article{display:grid;grid-template-columns:44px 1fr;gap:13px;align-items:start;padding:13px 14px;border-bottom:1px solid rgba(104,61,30,.28);background:rgba(174,125,64,.07);transform:rotate(var(--rule-angle,-.25deg))}
.manifesto-rules article:nth-child(2){--rule-angle:.3deg}.manifesto-rules article:nth-child(3){--rule-angle:-.15deg}
.manifesto-rules b{display:grid;place-items:center;width:39px;height:39px;border:1px solid rgba(116,50,38,.58);border-radius:50%;color:#713127;font:700 16px var(--display)}
.manifesto-rules h3{margin:0 0 3px;color:#3b2517;font:700 18px var(--hand)}
.manifesto-rules p{margin:0;color:#493320;font:400 15px/1.4 var(--hand)}
.manifesto-sign{text-align:right;margin:22px 5% 0;color:#6b3028;font:700 17px var(--hand);transform:rotate(-2deg)}

/* System cards fill both folios while retaining handmade irregularity. */
.systems-page{height:100%;display:flex;flex-direction:column}
.systems-page .intro{color:#49331f!important;font-weight:700;opacity:1;margin:8px 0 17px}
.systems-page .stamp-grid{flex:1;grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:repeat(2,minmax(0,1fr));align-items:stretch;gap:clamp(24px,3.2vh,38px) clamp(18px,2vw,30px);padding:12px 13px 18px}
.systems-page .stamp{min-height:0;height:100%;max-height:none}
.systems-page .stamp:nth-child(1){--sx:-5px;--sy:5px;--r:-2.1deg}.systems-page .stamp:nth-child(2){--sx:6px;--sy:-2px;--r:1.5deg}.systems-page .stamp:nth-child(3){--sx:4px;--sy:3px;--r:.8deg}.systems-page .stamp:nth-child(4){--sx:-6px;--sy:-3px;--r:-1.4deg}
.systems-page .stamp small{color:#46301e!important;font-weight:700;opacity:1;text-shadow:0 1px rgba(255,235,184,.35)}

/* Külliyat: airy full-page journal grid and torn parchment sub-tabs. */
.bestiary-grid.single{height:calc(100% - 82px);grid-template-rows:repeat(4,minmax(0,1fr));align-content:stretch;row-gap:clamp(17px,2.3vh,27px);column-gap:clamp(11px,1.1vw,17px);padding:13px 8px 18px}
.bestiary-grid.single .beast{height:100%;min-height:0;padding:6px 7px 8px}
.bestiary-grid.single .beast img{height:clamp(46px,7.1vh,68px)}
.bestiary-grid.single .beast small{color:#49331f;font-weight:700;opacity:1}
.book-tools .filter-tabs{gap:7px}
.book-tools .filter-tabs button{position:relative;padding:8px 10px;background-color:#c9a364!important;background-image:linear-gradient(90deg,rgba(85,43,15,.21),transparent 25%,rgba(255,229,168,.13)),url('/assets/site/titanis-aged-spread-v1.png')!important;background-size:330% 180%!important;border:1px solid rgba(101,62,29,.4)!important;clip-path:polygon(2% 8%,12% 2%,31% 5%,51% 0,70% 5%,97% 2%,100% 87%,91% 100%,73% 96%,49% 100%,26% 95%,4% 99%,0 15%)!important;box-shadow:1px 3px 5px rgba(35,16,5,.3)!important;transition:transform .2s,filter .2s}
.book-tools .filter-tabs button:nth-child(even){background-color:#c5aa70!important}
.book-tools .filter-tabs button.active{background-color:#7a3b2c!important;color:#f3dda8!important;filter:saturate(.82)}
.book-tools .filter-tabs button.loading-tab{opacity:.65;cursor:wait}

@media(max-width:900px){
  .manifesto-copy{font-size:16px}.manifesto-lead{font-size:19px}.manifesto-rules{gap:10px}.manifesto-rules article{padding:10px}
  .systems-page .stamp-grid{gap:14px 10px}.systems-page .stamp{min-height:110px}
  .bestiary-grid.single{height:auto;grid-template-rows:none;row-gap:12px}
}

/* Exact-ratio system plates and ink hierarchy v19 */
.kicker{color:#751d1c!important;font-weight:700!important;opacity:1!important;text-shadow:0 1px 0 rgba(255,213,145,.18),0 0 .5px rgba(83,15,15,.72)}
.leaf-content h2,.systems-page h2,.journey-page h2{color:#211711!important;font-weight:700!important;text-shadow:0 .5px 0 rgba(17,9,5,.28)}
.systems-page{min-height:0}
.systems-page .stamp-grid{min-height:0;grid-template-rows:repeat(2,minmax(0,1fr));gap:clamp(18px,2.3vh,27px) clamp(18px,2vw,28px);padding:9px 13px 12px}
.systems-page .stamp{display:flex;flex-direction:column;height:auto!important;min-height:0!important;overflow:visible;padding:8px 8px 10px}
.systems-page .stamp img{position:relative;inset:auto;display:block;width:100%;height:auto!important;max-height:none;aspect-ratio:3/2;flex:0 0 auto;object-fit:cover;object-position:center;background:#bea06a;filter:sepia(.08) contrast(1.04);mix-blend-mode:multiply;opacity:.96}
.systems-page .stamp:after{inset:8px 8px 10px;height:auto;aspect-ratio:3/2;background:linear-gradient(transparent 69%,rgba(210,183,125,.88) 94%,rgba(202,171,111,.96));pointer-events:none}
.systems-page .stamp span{position:relative;left:auto;right:auto;bottom:auto;z-index:4;flex:1;min-height:35px;margin-top:-35px;padding:8px 5px 0}
.systems-page .stamp strong{font-size:14px}.systems-page .stamp small{font-size:10px}
@media(max-width:1100px) and (min-width:701px){.systems-page .stamp-grid{gap:12px 10px}.systems-page .stamp strong{font-size:11px}.systems-page .stamp small{font-size:8px}.systems-page .stamp span{min-height:30px;margin-top:-30px;padding-top:6px}}

/* Clean system captions and true blood-ink hierarchy v20 */
.page,.page-right{filter:none!important}
.kicker{
  color:#86151b!important;
  font-weight:700!important;
  opacity:1!important;
  -webkit-text-stroke:.18px rgba(83,9,13,.48);
  text-shadow:0 1px 0 rgba(255,220,157,.18),0 0 1px rgba(91,8,12,.72)!important;
}
.leaf-content h2,.systems-page h2,.journey-page h2{color:#17110d!important;font-weight:700!important;text-shadow:0 .5px 0 rgba(0,0,0,.28)!important}
.systems-page .stamp{
  background-color:#cbaa70!important;
  background-image:radial-gradient(circle at 14% 19%,rgba(87,45,17,.14) 0 1px,transparent 2px),radial-gradient(circle at 81% 74%,rgba(87,45,17,.09) 0 1px,transparent 2px),linear-gradient(112deg,rgba(255,239,188,.25),transparent 35%,rgba(75,37,13,.1))!important;
  background-size:auto!important;
  background-position:center!important;
}
.systems-page .stamp img{display:block;flex:0 0 auto;width:100%;height:auto!important;aspect-ratio:3/2;object-fit:cover;margin:0;filter:sepia(.06) contrast(1.04);mix-blend-mode:multiply}
.systems-page .stamp:after{display:none!important}
.systems-page .stamp span{
  position:relative!important;left:auto!important;right:auto!important;bottom:auto!important;
  display:block!important;flex:1 1 auto;min-height:38px!important;
  margin:0!important;padding:6px 5px 2px!important;
  background:linear-gradient(180deg,rgba(218,189,132,.15),rgba(187,146,82,.2));
  border-top:1px solid rgba(105,62,28,.2);
}
.systems-page .stamp strong{display:block;line-height:1.05;color:#1f160f}
.systems-page .stamp small{display:block;margin-top:4px;line-height:1.08;color:#4b301e!important}
@media(max-width:1100px) and (min-width:701px){.systems-page .stamp span{min-height:31px!important;padding:4px 4px 1px!important}.systems-page .stamp small{margin-top:2px}}

/* Book-parchment cards, stronger blood ink and natural opening leaves v21 */
.kicker{
  color:#a00818!important;
  -webkit-text-stroke:.28px rgba(83,0,8,.58)!important;
  text-shadow:0 1px 0 rgba(255,217,145,.2),0 0 1px rgba(112,0,10,.9)!important;
}
.systems-page .intro{
  color:#94101a!important;
  font-weight:700!important;
  opacity:1!important;
  text-shadow:0 .5px 0 rgba(93,0,8,.34)!important;
}
.systems-page .stamp{
  background-color:#d2ad70!important;
  background-image:linear-gradient(108deg,rgba(85,40,12,.1),transparent 27%,rgba(255,233,174,.16) 72%,rgba(73,32,9,.12)),url('/assets/site/titanis-aged-spread-v1.png')!important;
  background-size:auto,440% 145%!important;
  background-position:center,5% center!important;
  background-blend-mode:multiply,normal!important;
  box-shadow:3px 6px 10px rgba(42,19,5,.34),inset 0 0 12px rgba(75,34,10,.18)!important;
}
.systems-page .stamp:nth-child(even){background-position:center,94% center!important}
.systems-page .stamp span{background:linear-gradient(180deg,rgba(224,197,143,.2),rgba(190,147,83,.13))!important}

.cover-pages{
  overflow:visible;
  background-color:#cda565!important;
  background-image:linear-gradient(90deg,rgba(72,31,8,.22),transparent 12%,transparent 47%,rgba(50,20,5,.38) 49.5%,rgba(35,13,3,.48) 50%,rgba(50,20,5,.38) 50.5%,transparent 53%,transparent 88%,rgba(72,31,8,.22)),url('/assets/site/titanis-aged-spread-v1.png')!important;
  background-size:100% 100%,100% 100%!important;
  background-position:center!important;
  border:1px solid rgba(104,66,32,.76);
  box-shadow:0 4px 0 rgba(211,179,119,.64),0 8px 0 rgba(128,87,47,.62),0 28px 70px rgba(0,0,0,.8),inset 0 0 28px rgba(65,29,8,.24)!important;
  clip-path:polygon(1% 2%,9% 0,19% 1.5%,31% .3%,43% 1.4%,49% .4%,50% 1.8%,51% .4%,60% 1.5%,72% .2%,85% 1.5%,99% 1%,100% 95%,91% 98%,79% 97%,66% 99%,52% 97%,50% 99%,48% 97%,34% 99%,20% 97%,8% 99%,0 96%);
}
.cover-pages:before,.cover-pages:after{content:"";position:absolute;inset:5px -5px -9px;z-index:-1;border:1px solid rgba(91,57,29,.55);border-radius:7px 16px 18px 7px;background-color:#b98e55;background-image:url('/assets/site/titanis-aged-spread-v1.png');background-size:100% 100%;box-shadow:0 4px 0 rgba(210,177,117,.48),0 8px 8px rgba(20,8,2,.42)}
.cover-pages:before{transform:rotate(.45deg)}.cover-pages:after{transform:translateY(5px) rotate(-.38deg);filter:brightness(.83)}
@keyframes pageBlockSettle{0%{transform:translate(7px,9px) scale(.68,.72);opacity:.55}34%{transform:translate(7px,9px) scale(.9,.92);opacity:1}72%{transform:translate(7px,9px) scale(1.28,.96)}100%{transform:translate(7px,9px) scale(1.62,.96)}}
@media(max-width:560px){
  .crest>img{width:84px;height:84px}.ink-actions{gap:8px;flex-wrap:wrap}.ink-circle{font-size:14px;padding:11px 14px}
  .manifesto-seal img{width:72px;height:72px}.manifesto-copy{font-size:15px}.manifesto-rules article{grid-template-columns:36px 1fr}.manifesto-rules b{width:32px;height:32px}
}

/* Pulled-bookmark direction and 18-record folios v15 */
@media(min-width:701px){
  .top-notes button{
    padding-right:28px!important;
    transform:translateX(58px) rotate(var(--tab-tilt,-1deg))!important;
    box-shadow:inset -9px 0 0 rgba(87,44,17,.16),inset -11px 0 0 rgba(239,207,139,.16),3px 5px 9px rgba(23,10,3,.48)!important;
  }
  .top-notes button:hover,.top-notes button.active{transform:translateX(-4px) rotate(0)!important}
  .top-notes button.active:before{
    left:auto!important;right:12px!important;top:50%!important;
    width:7px!important;height:7px!important;
    border:1px solid rgba(74,39,18,.72)!important;
    border-radius:50%!important;
    background:#8d5a2e!important;
    transform:translateY(-50%)!important;
    box-shadow:inset 0 1px 2px rgba(0,0,0,.34)!important;
  }
}
.bestiary-grid.single{
  height:calc(100% - 82px);
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  grid-template-rows:repeat(6,minmax(0,1fr));
  row-gap:clamp(7px,1vh,11px);
  column-gap:clamp(8px,.8vw,12px);
  padding:10px 7px 14px;
}
.bestiary-grid.single .beast{padding:3px 5px 5px}
.bestiary-grid.single .beast img{height:clamp(31px,4.2vh,43px);border-width:3px}
.bestiary-grid.single .beast span{padding-top:3px}
.bestiary-grid.single .beast strong{font-size:8.5px}
.bestiary-grid.single .beast small{min-height:12px;margin-top:2px;font-size:7px;line-height:1.05}
@media(max-width:900px){.bestiary-grid.single{height:auto;grid-template-rows:none}}

/* Compact bestiary record dialog v16 */
#detail{width:min(610px,calc(100% - 34px));max-height:76vh;border:1px solid #76502f;border-radius:3px;background-color:#d1ad70;background-image:linear-gradient(rgba(112,62,23,.08),rgba(71,35,12,.14)),url('/assets/site/titanis-aged-spread-v1.png');background-size:210% 150%;box-shadow:0 20px 70px rgba(12,5,2,.82),inset 0 0 28px rgba(72,36,13,.22)}
#detail .detail-wrap{padding:24px 27px 26px}
#detail .detail-head{gap:15px;padding-bottom:13px;border-bottom:1px solid rgba(100,57,27,.34)}
#detail .detail-head img{flex:0 0 auto;width:82px;height:74px;padding:4px;object-fit:contain;background:rgba(222,190,128,.24);border:1px solid rgba(105,63,31,.34);filter:sepia(.12) contrast(1.03);image-rendering:auto}
#detail .detail-head h3{font:700 23px var(--hand);line-height:1.05}
#detail .detail-head p{margin:4px 0;color:#4c3320;font-size:13px}
#detail .detail-head .kicker{margin-bottom:4px;font-size:9px}
#detail .drops{grid-template-columns:repeat(4,minmax(0,1fr));gap:7px;margin-top:14px}
#detail .drop{min-width:0;padding:6px 4px 7px;background:rgba(255,238,195,.18);border:1px solid rgba(117,75,39,.38)}
#detail .drop img{display:block;width:28px;height:28px;margin:0 auto 3px;object-fit:contain;image-rendering:auto;filter:none}
#detail .drop strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#3f2919;font:700 10px var(--hand)}
#detail .drop small{display:block;margin-top:1px;color:#5a4028;font:400 9px/1.15 var(--hand)}
@media(max-width:560px){#detail .detail-wrap{padding:22px 18px}#detail .detail-head img{width:65px;height:58px}#detail .drops{grid-template-columns:repeat(3,minmax(0,1fr))}#detail .drop img{width:25px;height:25px}}

/* Final hand-bound art pass v17 */

/* The mark and crease now follow each label instead of cutting through the tab. */
.top-notes button{background-position:18% center!important}
.top-notes button.active:before{display:none!important}
.top-notes button span{display:inline-flex;align-items:center;white-space:nowrap}
.top-notes button span:after{content:"";order:3;width:2px;height:21px;margin-left:10px;background:linear-gradient(90deg,rgba(72,34,12,.18),rgba(75,34,11,.58),rgba(255,222,151,.18));box-shadow:1px 0 rgba(82,42,17,.18);transform:rotate(-2deg)}
.top-notes button.active span:before{content:"";order:2;width:7px;height:7px;margin-left:7px;border:1px solid rgba(71,36,17,.68);border-radius:50%;background:#8d5a2e;box-shadow:inset 0 1px 2px rgba(0,0,0,.36)}
@media(min-width:701px){.top-notes button{width:auto!important;min-width:130px!important;padding-right:15px!important}}

/* A heavier, tactile leather volume for the opening scene. */
.ancient-opening{background:radial-gradient(ellipse at 50% 56%,rgba(129,73,33,.42),transparent 29%),linear-gradient(rgba(15,7,3,.22),rgba(9,4,2,.72)),url('/assets/site/aged-oak-desk-v1.png') center/cover;perspective:2200px;animation:finalOpeningAway 4.1s forwards}
.cover-pages{position:absolute;width:min(440px,72vw);aspect-ratio:.73;border-radius:12px 29px 31px 10px;background:repeating-linear-gradient(0deg,#9a7446 0 1px,#d0b57d 1px 3px,#80603c 3px 4px,#dfc68e 4px 6px);box-shadow:0 34px 76px rgba(0,0,0,.88);transform:translate(7px,9px) scale(.7);animation:pageBlockSettle 2.25s .2s cubic-bezier(.2,.72,.18,1) forwards}
.ancient-cover{position:relative;overflow:hidden;width:min(440px,72vw);aspect-ratio:.73;border-radius:12px 30px 31px 10px;background-color:#3b180f;background-image:radial-gradient(circle at 50% 31%,rgba(195,125,48,.16),transparent 24%),linear-gradient(90deg,#160806 0 7%,#4d2115 8% 94%,#210d08),repeating-linear-gradient(17deg,rgba(255,255,255,.018) 0 1px,transparent 1px 7px);border:3px solid #8e6537;box-shadow:0 38px 90px #000,inset 0 0 0 7px #1e0b07,inset 0 0 0 9px #9d733d,inset 0 0 55px rgba(0,0,0,.72);transform-origin:left center;animation:finalCoverOpen 2.6s .78s cubic-bezier(.45,.01,.12,1) forwards}
.ancient-cover:before{content:"";position:absolute;inset:31px;border:1px solid rgba(199,151,74,.7);outline:1px solid rgba(71,31,18,.9);outline-offset:6px;box-shadow:inset 0 0 22px rgba(0,0,0,.48)}
.ancient-cover:after{content:"";position:absolute;left:25px;top:0;bottom:0;width:19px;background:linear-gradient(90deg,rgba(0,0,0,.48),rgba(162,93,42,.22),rgba(0,0,0,.38));box-shadow:6px 0 10px rgba(0,0,0,.34)}
.ancient-cover img{position:relative;z-index:2;width:44%;margin-bottom:4px;filter:sepia(.08) drop-shadow(0 8px 12px rgba(8,3,1,.75))}
.ancient-cover strong{position:relative;z-index:2;color:#e0bd70;font:700 39px var(--display);letter-spacing:.18em;text-shadow:0 2px 3px #140704}
.ancient-cover small{position:relative;z-index:2;margin-top:5px;color:#c6a367;font:600 14px var(--display);letter-spacing:.2em}
.ancient-cover em{position:relative;z-index:2;margin-top:17px;color:#b98d53;font:700 15px var(--hand);letter-spacing:.04em}
.cover-corner{position:absolute;z-index:3;width:64px;height:64px;border-color:#b18142;opacity:.8}.cover-corner.one{left:32px;top:32px;border-left:4px solid;border-top:4px solid}.cover-corner.two{right:32px;bottom:32px;border-right:4px solid;border-bottom:4px solid}
@keyframes pageBlockSettle{0%{transform:translate(7px,9px) scale(.7);opacity:.6}36%{transform:translate(7px,9px) scale(.92);opacity:1}100%{transform:translate(7px,9px) scale(1)}}
@keyframes finalCoverOpen{0%{transform:scale(.7) rotateY(0);filter:brightness(.72)}22%{transform:scale(.92) rotateY(0);filter:brightness(1)}48%{transform:scale(1) rotateY(-18deg)}82%{transform:scale(1) rotateY(-143deg);box-shadow:22px 34px 70px rgba(0,0,0,.64)}100%{transform:scale(1) translateX(-3%) rotateY(-176deg);opacity:.22;box-shadow:7px 16px 30px rgba(0,0,0,.45)}}
@keyframes finalOpeningAway{0%,84%{opacity:1;visibility:visible}100%{opacity:0;visibility:hidden}}

/* Handmade fibre-paper frames and pencil-treated system illustrations. */
.systems-page .stamp{overflow:visible;border:0;outline:0;padding:10px 10px 14px;background-color:#cbae71;background-image:radial-gradient(circle at 16% 20%,rgba(89,47,18,.13) 0 1px,transparent 2px),linear-gradient(112deg,rgba(255,239,188,.25),transparent 32%,rgba(74,37,13,.11)),url('/assets/site/titanis-aged-spread-v1.png');background-size:auto,auto,270% 190%;background-position:center;clip-path:polygon(1% 4%,8% 1%,18% 3%,29% 0,41% 2%,53% .5%,65% 3%,78% 1%,91% 3%,99% 1%,98% 17%,100% 31%,98% 47%,100% 62%,97% 79%,99% 96%,88% 98%,75% 97%,64% 100%,49% 98%,36% 100%,22% 97%,9% 99%,1% 96%,3% 81%,0 65%,2% 49%,0 34%,2% 18%);box-shadow:4px 7px 12px rgba(40,19,6,.36),inset 0 0 15px rgba(69,33,11,.18)}
.systems-page .stamp:before{top:-8px;left:38%;width:62px;height:19px;background:rgba(191,162,104,.68);clip-path:polygon(2% 9%,96% 0,100% 88%,8% 100%,0 34%);mix-blend-mode:multiply}
.systems-page .stamp img{inset:10px 10px 14px;width:calc(100% - 20px);height:calc(100% - 24px);object-fit:cover;filter:grayscale(1) sepia(.72) contrast(1.34) brightness(1.08);mix-blend-mode:multiply;opacity:.9;clip-path:polygon(1% 3%,99% 0,98% 96%,3% 100%,0 51%)}
.systems-page .stamp:after{inset:10px 10px 14px;background:linear-gradient(transparent 37%,rgba(210,183,125,.94) 78%,rgba(202,171,111,.98));clip-path:polygon(1% 3%,99% 0,98% 96%,3% 100%,0 51%)}
.systems-page .stamp span{bottom:18px}

.hero-engraving.charcoal-art{overflow:visible;border:0;outline:0;padding:11px;background-color:#c7a66e;background-image:linear-gradient(rgba(255,238,188,.18),rgba(80,41,15,.08)),url('/assets/site/titanis-aged-spread-v1.png');background-size:auto,230% 170%;clip-path:polygon(1% 2%,9% 0,20% 2%,33% .5%,47% 2%,60% 0,74% 2%,88% .5%,99% 2%,98% 17%,100% 35%,98% 52%,100% 69%,98% 84%,99% 98%,88% 100%,72% 98%,58% 100%,44% 98%,29% 100%,14% 98%,1% 100%,2% 82%,0 65%,2% 49%,0 31%,2% 16%);box-shadow:5px 8px 14px rgba(43,21,7,.35),inset 0 0 18px rgba(73,35,11,.2);transform:rotate(-.65deg)}
.hero-engraving.charcoal-art img{position:relative;width:100%;height:100%;object-fit:cover;filter:sepia(.08) contrast(1.03);clip-path:polygon(.5% 1%,99.5% 0,99% 98%,1% 100%)}
.hero-engraving.charcoal-art:after{inset:11px;box-shadow:inset 0 0 20px rgba(58,29,12,.24);clip-path:polygon(.5% 1%,99.5% 0,99% 98%,1% 100%)}
.hero-engraving.charcoal-art span{left:22px;bottom:20px;background:rgba(213,183,123,.86)}

@media(prefers-reduced-motion:reduce){.ancient-opening{display:none!important}}
@media(max-width:900px){.ancient-opening{display:none}.top-notes button span:after{height:16px}.systems-page .stamp{overflow:hidden}.hero-engraving.charcoal-art{padding:8px}}

/* Final clean integration v18 */

/* Identical right-edge bookmarks with no texture seam through the label. */
@media(min-width:701px){
  .top-notes{right:0!important;width:196px!important;align-items:flex-end!important}
  .top-notes button,.top-notes button:nth-child(2),.top-notes button:nth-child(3),.top-notes button:nth-child(4){
    width:max-content!important;min-width:132px!important;max-width:188px!important;
    padding:13px 14px 13px 22px!important;
    overflow:visible!important;
    background-color:#c79a57!important;
    background-image:radial-gradient(circle at 18% 34%,rgba(98,49,17,.13) 0 1px,transparent 2px),linear-gradient(101deg,rgba(91,45,14,.2),transparent 20%,rgba(255,224,151,.16) 72%,rgba(91,45,14,.16))!important;
    background-size:auto!important;background-position:center!important;
    transform:translateX(55px) rotate(var(--tab-tilt,-1deg))!important;
    box-shadow:inset -7px 0 10px rgba(78,38,13,.16),3px 5px 9px rgba(23,10,3,.48)!important;
  }
  .top-notes button:hover,.top-notes button.active{transform:translateX(-3px) rotate(0)!important}
}
.top-notes button span{gap:0}
.top-notes button span:after{height:20px;margin-left:9px}
.top-notes button.active span:before{margin-left:7px}

/* Header calls-to-action become loose desk notes, not interface buttons. */
.deskbar>div{gap:17px;align-items:center}
.deskbar .quiet,.deskbar .gold{position:relative;isolation:isolate;border:0;border-radius:0;padding:12px 19px;background-color:#c89d5a;color:#382316;font:700 16px var(--hand);box-shadow:3px 6px 9px rgba(18,8,2,.42);clip-path:polygon(2% 6%,12% 1%,29% 4%,49% 0,68% 4%,91% 1%,100% 9%,98% 88%,90% 100%,72% 96%,51% 100%,28% 96%,7% 100%,0 88%);transition:transform .22s,filter .22s,box-shadow .22s}
.deskbar .quiet{transform:rotate(-1.5deg);background-image:linear-gradient(100deg,rgba(87,41,12,.18),transparent 28%,rgba(255,228,163,.13)),url('/assets/site/titanis-aged-spread-v1.png');background-size:auto,340% 180%;background-position:center}
.deskbar .gold{padding-right:34px;transform:rotate(1.1deg);background-image:linear-gradient(100deg,rgba(87,41,12,.18),transparent 28%,rgba(255,228,163,.13)),url('/assets/site/titanis-aged-spread-v1.png');background-size:auto,340% 180%;background-position:center}
.deskbar .gold:after{content:"T";position:absolute;right:7px;top:50%;display:grid;place-items:center;width:22px;height:22px;border-radius:50%;background:radial-gradient(circle at 35% 30%,#a84b3c,#65221d 70%);color:#dbad72;font:700 10px var(--display);box-shadow:0 2px 4px rgba(40,10,5,.45),inset 0 0 0 2px rgba(86,24,20,.45);transform:translateY(-50%) rotate(-7deg)}
.deskbar .quiet:hover,.deskbar .gold:hover{transform:translateY(-4px) rotate(0);filter:brightness(1.07);box-shadow:5px 10px 13px rgba(18,8,2,.5)}

/* System images retain their entire composition inside a stable paper window. */
.systems-page .stamp{display:grid;grid-template-rows:minmax(0,1fr) auto;overflow:visible;padding:9px 9px 12px}
.systems-page .stamp img{position:relative;inset:auto;width:100%;height:100%;min-height:0;object-fit:contain;object-position:center;background:rgba(174,135,76,.24);clip-path:polygon(1% 2%,99% 0,98% 97%,2% 100%)}
.systems-page .stamp:after{inset:9px 9px 12px;height:auto;background:linear-gradient(transparent 54%,rgba(210,183,125,.9) 86%,rgba(202,171,111,.98));clip-path:polygon(1% 2%,99% 0,98% 97%,2% 100%)}
.systems-page .stamp span{position:relative;left:auto;right:auto;bottom:auto;z-index:4;margin-top:-43px;padding:8px 7px 1px;min-height:43px}

/* Miniature form of the system scrapbook frame for all Külliyat records. */
.bestiary-grid.single .beast{position:relative;overflow:visible;border:0;outline:0;background-color:#c9a96e;background-image:radial-gradient(circle at 15% 22%,rgba(87,45,17,.14) 0 1px,transparent 2px),linear-gradient(112deg,rgba(255,239,188,.22),transparent 34%,rgba(75,37,13,.1));clip-path:polygon(2% 5%,13% 1%,27% 4%,42% 0,57% 3%,73% 1%,88% 4%,99% 1%,98% 20%,100% 39%,98% 59%,100% 79%,97% 97%,82% 99%,66% 96%,49% 100%,32% 97%,16% 100%,1% 96%,3% 78%,0 60%,2% 42%,0 23%);box-shadow:2px 4px 6px rgba(40,19,6,.3),inset 0 0 8px rgba(67,31,10,.15);transform:translate(var(--jx,0),var(--jy,0)) rotate(var(--jr,-1deg))}
.bestiary-grid.single .beast:before{content:"";position:absolute;z-index:5;left:50%;top:-4px;width:26px;height:8px;background:rgba(188,159,102,.72);clip-path:polygon(3% 12%,96% 0,100% 88%,7% 100%,0 35%);transform:translateX(-50%) rotate(-2deg);box-shadow:0 1px 1px rgba(39,18,6,.22)}
.bestiary-grid.single .beast:nth-child(even):before{left:39%;transform:translateX(-50%) rotate(3deg)}
.bestiary-grid.single .beast img{width:100%;height:clamp(29px,3.9vh,40px);padding:2px;background:radial-gradient(ellipse,#d8bd83 20%,#ad824a 82%);border:0;outline:1px solid rgba(82,47,20,.28);box-shadow:none;filter:sepia(.28) contrast(1.06);object-fit:contain}
.bestiary-grid.single .beast span{border:0;padding-top:3px}

/* A full-height hand-drawn route across both roadmap folios. */
.journey-page{height:100%;display:flex;flex-direction:column}
.journey-page .questline{position:relative;flex:1;display:grid;grid-template-rows:repeat(2,minmax(0,1fr));gap:22px;margin:20px 7px 4px;padding:7px 0 8px}
.journey-page .questline:before{content:"";position:absolute;left:32px;top:29px;bottom:34px;width:3px;background:repeating-linear-gradient(180deg,rgba(113,49,38,.72) 0 8px,transparent 8px 14px);transform:rotate(-.8deg);filter:drop-shadow(1px 0 rgba(255,225,166,.34))}
.journey-page .questline li{position:relative;z-index:1;display:grid;grid-template-columns:67px 1fr;gap:18px;align-content:center;min-height:0;padding:22px 18px 22px 0;border:0;background:rgba(176,128,67,.06);clip-path:polygon(0 2%,97% 0,100% 92%,91% 100%,3% 97%);transform:rotate(var(--route-angle,-.25deg))}
.journey-page .questline li:nth-child(2){--route-angle:.22deg}
.journey-page .questline li>b{display:grid;place-items:center;width:58px;height:58px;border:2px solid rgba(120,51,39,.58);border-radius:48% 52% 46% 54%;background:rgba(213,178,112,.66);color:#743028;font:700 20px var(--display);box-shadow:inset 0 0 0 3px rgba(226,196,134,.38)}
.journey-page .questline h3{font:700 24px var(--hand)}
.journey-page .questline p{max-width:430px;margin-top:9px;color:#44301f;font:400 17px/1.42 var(--hand)}
.journey-page .questline span{display:inline-block;margin-top:11px;padding:3px 10px;border-block:1px solid rgba(111,61,29,.28);color:#77362c;font:700 13px var(--hand);transform:rotate(-1deg)}
.journey-page .questline li:after{position:absolute;right:24px;bottom:19px;color:rgba(97,48,27,.18);font:700 58px var(--display);transform:rotate(-8deg)}
.route-register:after{content:"✦"}.route-download:after{content:"⇩"}.route-power:after{content:"⚔"}.route-legend:after{content:"⚑"}

@media(max-width:900px){
  .deskbar .quiet{display:inline-block}.deskbar .quiet,.deskbar .gold{font-size:13px;padding:9px 13px}.deskbar .gold{padding-right:31px}
  .journey-page .questline{display:block}.journey-page .questline li{min-height:180px;margin-bottom:16px}.journey-page .questline h3{font-size:21px}.journey-page .questline p{font-size:15px}
}

/* Unified, saturated blood-ink accents v25 */
:root{--blood-ink:#b0001b;--blood-edge:#65000d;--paper-glow:rgba(255,226,166,.42)}
.kicker,
.systems-page .intro,
.systems-page .stamp small,
.manifesto-lead,
.manifesto-copy strong{
  color:var(--blood-ink)!important;
  opacity:1!important;
  font-weight:700!important;
  -webkit-text-stroke:.24px var(--blood-edge);
  text-shadow:0 1px 0 var(--paper-glow),0 0 1px rgba(80,0,8,.82)!important;
}
.systems-page .stamp strong,
.chapter h2,
.manifesto-rules h3{color:#21140e!important;-webkit-text-stroke:0;text-shadow:0 .5px 0 rgba(255,224,164,.24)!important}

/* Opening book: cover and parchment block grow and open as one object v26 */
.ancient-opening{isolation:isolate}
.ancient-cover{z-index:3}
.cover-pages{
  z-index:1;
  transform-origin:center center;
  animation:pageBlockOpen 2.6s .78s cubic-bezier(.45,.01,.12,1) forwards!important;
}
.cover-pages:before{z-index:-2}
.cover-pages:after{z-index:-3}
@keyframes pageBlockOpen{
  0%{transform:translate(7px,9px) scale(.7);opacity:.58}
  22%{transform:translate(7px,9px) scale(.92);opacity:1}
  48%{transform:translate(7px,9px) scale(1);opacity:1}
  72%{transform:translate(2px,9px) scale(1.42,.98);opacity:1}
  100%{transform:translate(0,9px) scale(1.82,.96);opacity:1}
}

/* Dense page block and an unobstructed cover swing v27 */
.cover-pages{
  border:1px solid rgba(78,43,20,.72);
  background-color:#c9a15f!important;
  background-image:
    linear-gradient(90deg,rgba(68,31,11,.22),transparent 7%,transparent 48.5%,rgba(64,30,12,.34) 50%,transparent 52%,transparent 94%,rgba(70,34,14,.24)),
    url('/assets/site/titanis-aged-spread-v1.png')!important;
  background-size:auto,100% 100%!important;
  box-shadow:
    0 2px 0 #e1c687,
    0 4px 0 #8d673d,
    0 6px 0 #d4b675,
    0 8px 0 #76512f,
    0 10px 0 #c9a867,
    0 13px 0 #604025,
    0 18px 18px rgba(24,9,3,.62),
    0 38px 76px rgba(0,0,0,.7)!important;
}
.cover-pages:before{
  inset:4px -4px -7px!important;
  background-image:repeating-linear-gradient(0deg,#d9bd7d 0 2px,#815b36 2px 3px,#caaa6a 3px 5px)!important;
  box-shadow:0 3px 0 #dfc184,0 6px 0 #7b5634,0 9px 0 #c6a364!important;
}
.cover-pages:after{
  inset:7px -7px -13px!important;
  background-image:repeating-linear-gradient(0deg,#c5a467 0 2px,#74502f 2px 3px,#d0b174 3px 5px)!important;
  box-shadow:0 3px 0 #b89458,0 6px 0 #684528!important;
}
.ancient-cover{animation:coverSwingClear 2.6s .78s cubic-bezier(.45,.01,.12,1) forwards!important}
@keyframes coverSwingClear{
  0%{transform:scale(.7) rotateY(0);opacity:1;filter:brightness(.72)}
  22%{transform:scale(.92) rotateY(0);opacity:1;filter:brightness(1)}
  48%{transform:scale(1) rotateY(-22deg);opacity:1}
  68%{transform:scale(1) translateX(-2%) rotateY(-104deg);opacity:.62}
  84%{transform:scale(1) translateX(-5%) rotateY(-154deg);opacity:.16}
  100%{transform:scale(1) translateX(-7%) rotateY(-178deg);opacity:0}
}

/* Direct foreword opening, pull-out action bookmarks and softer red ink v28 */
.opening,.ancient-opening{display:none!important}
:root{--blood-ink:#98414a;--blood-edge:#713039;--paper-glow:rgba(255,226,166,.38)}
.kicker,
.systems-page .intro,
.systems-page .stamp small,
.manifesto-lead,
.manifesto-copy strong{
  color:var(--blood-ink)!important;
  -webkit-text-stroke:.12px var(--blood-edge)!important;
  text-shadow:0 1px 0 var(--paper-glow)!important;
}
@media(min-width:701px){
  .deskbar>div{
    position:fixed;
    z-index:52;
    right:0;
    top:82px;
    width:188px;
    display:flex;
    flex-direction:column;
    align-items:flex-end;
    gap:9px;
    pointer-events:none;
  }
  .deskbar .quiet,.deskbar .gold{
    pointer-events:auto;
    width:154px;
    min-height:48px;
    padding:12px 18px 12px 27px!important;
    color:#3a2417!important;
    text-align:left;
    background-color:#c99b58!important;
    background-image:radial-gradient(circle at 22% 35%,rgba(95,47,16,.12) 0 1px,transparent 2px),linear-gradient(100deg,rgba(84,40,12,.22),transparent 24%,rgba(255,229,163,.18))!important;
    background-size:auto!important;
    clip-path:polygon(14% 0,100% 3%,98% 88%,90% 100%,12% 96%,0 50%)!important;
    box-shadow:inset -8px 0 10px rgba(75,35,11,.17),3px 6px 10px rgba(19,8,2,.5)!important;
    transform:translateX(57px) rotate(var(--action-tilt,-1deg))!important;
    transition:transform .34s cubic-bezier(.2,.78,.22,1),filter .2s!important;
  }
  .deskbar .gold{--action-tilt:1deg;padding-right:18px!important}
  .deskbar .gold:after{display:none!important}
  .deskbar .quiet:hover,.deskbar .quiet:focus-visible,
  .deskbar .gold:hover,.deskbar .gold:focus-visible{
    transform:translateX(-4px) rotate(0)!important;
    filter:brightness(1.06);
  }
}

/* Final placement and reference-matched ink override v29 */
:root{--blood-ink:#8c171e;--blood-edge:#5b0b10}
.kicker,
.systems-page .intro,
.systems-page .stamp small,
.manifesto-lead,
.manifesto-copy strong{
  color:var(--blood-ink)!important;
  font-family:'Creepster',var(--hand)!important;
  font-weight:400!important;
  letter-spacing:.045em;
  -webkit-text-stroke:.18px var(--blood-edge)!important;
  text-shadow:0 1px 0 rgba(255,221,157,.42),0 0 1px rgba(72,5,10,.36)!important;
}
@media(min-width:701px){
  .deskbar>div{top:3px!important;right:0!important;gap:5px!important;width:190px!important}
  .deskbar .quiet,.deskbar .gold{
    width:158px!important;
    min-height:41px!important;
    padding:9px 17px 9px 27px!important;
    transform:translateX(58px) rotate(var(--action-tilt,-1deg))!important;
  }
  .deskbar .quiet:hover,.deskbar .quiet:focus-visible,
  .deskbar .gold:hover,.deskbar .gold:focus-visible{transform:translateX(-4px) rotate(0)!important}
}

/* Final Turkish-character-safe colour-only correction v30 */
.kicker,
.systems-page .intro,
.systems-page .stamp small,
.manifesto-lead,
.manifesto-copy strong{
  color:#8c171e!important;
  font-family:var(--hand)!important;
  font-weight:700!important;
  letter-spacing:normal!important;
  -webkit-text-stroke:0!important;
  text-shadow:0 1px 0 rgba(255,221,157,.38)!important;
}
.kicker{font-family:var(--display)!important;letter-spacing:.2em!important}

/* Final scroll-with-page positioning v32 */
@media(min-width:701px){
  .top-notes{position:absolute!important}
  .deskbar>div{position:absolute!important}
}

/* Külliyat cards now share the Systems parchment frame v33 */
.bestiary-grid.single .beast{
  border:0!important;
  outline:0!important;
  background-color:#cbae71!important;
  background-image:
    radial-gradient(circle at 16% 20%,rgba(89,47,18,.13) 0 1px,transparent 2px),
    linear-gradient(112deg,rgba(255,239,188,.25),transparent 32%,rgba(74,37,13,.11)),
    url('/assets/site/titanis-aged-spread-v1.png')!important;
  background-size:auto,auto,270% 190%!important;
  background-position:center!important;
  clip-path:polygon(1% 4%,8% 1%,18% 3%,29% 0,41% 2%,53% .5%,65% 3%,78% 1%,91% 3%,99% 1%,98% 17%,100% 31%,98% 47%,100% 62%,97% 79%,99% 96%,88% 98%,75% 97%,64% 100%,49% 98%,36% 100%,22% 97%,9% 99%,1% 96%,3% 81%,0 65%,2% 49%,0 34%,2% 18%)!important;
  box-shadow:3px 5px 8px rgba(40,19,6,.34),inset 0 0 11px rgba(69,33,11,.18)!important;
}
.bestiary-grid.single .beast:before{
  top:-4px!important;
  width:30px!important;
  height:9px!important;
  background:rgba(191,162,104,.68)!important;
  clip-path:polygon(2% 9%,96% 0,100% 88%,8% 100%,0 34%)!important;
  mix-blend-mode:multiply;
}

/* Keep the source spread's dark binding away from each Külliyat card v34 */
.bestiary-grid.single .beast{background-size:auto,auto,540% 190%!important;background-position:center,center,6% center!important}
.bestiary-grid.single .beast:nth-child(even){background-position:center,center,94% center!important}

/* Reserve a wooden rail for bookmarks so they never cover the right folio v35 */
@media(min-width:701px){
  .spread-book{
    width:min(1440px,calc(100% - 230px))!important;
    margin-left:max(27px,calc((100vw - 1440px)/2))!important;
    margin-right:0!important;
  }
  .deskbar{
    width:min(1440px,calc(100% - 230px))!important;
    margin-left:max(27px,calc((100vw - 1440px)/2))!important;
    margin-right:0!important;
  }
}

/* Selected Külliyat subcategory uses blood-red ink instead of pale text v37 */
.book-tools .filter-tabs button.active,
.book-tools .filter-tabs button[aria-pressed="true"]{
  color:#8c171e!important;
  background-color:#d2b274!important;
  filter:saturate(.9) brightness(1.03)!important;
  font-weight:700!important;
  text-shadow:0 1px 0 rgba(255,222,164,.38)!important;
}

/* Production status and secure account form */
.server-presence{display:flex!important;align-items:center;gap:7px;margin-left:auto!important;color:#d9c79e!important;font:700 13px var(--hand);opacity:1!important}
.server-presence i{width:9px;height:9px;border-radius:50%;background:#9e7e4a;box-shadow:0 0 0 3px rgba(158,126,74,.15)}
.server-presence.online i{background:#5f9b57;box-shadow:0 0 0 3px rgba(95,155,87,.18),0 0 9px rgba(95,155,87,.62)}
.server-presence.offline i{background:#8c171e;box-shadow:0 0 0 3px rgba(140,23,30,.18)}
.server-presence strong{color:#e6c884;font:700 14px var(--display)}
.secure-account{padding:38px 42px 34px;text-align:left}.secure-account h3{margin:0 0 5px;font:700 28px var(--hand)}.secure-account>p{margin:0 0 22px;color:#5c4129}.secure-account form{display:grid;grid-template-columns:1fr 1fr;gap:14px}.secure-account label{display:grid;gap:5px;color:#3f2a1b;font:700 13px var(--hand)}.secure-account label.wide,.secure-account .turnstile-slot,.secure-account button,.secure-account .form-status{grid-column:1/-1}.secure-account input{min-width:0;padding:11px 12px;border:1px solid rgba(99,60,30,.48);background:rgba(255,238,196,.38);color:#2c1b12;font:16px var(--hand)}.secure-account input:focus{outline:2px solid rgba(140,23,30,.38);outline-offset:1px}.secure-account button{padding:12px;border:1px solid #7e482b;background:#8c171e;color:#f4dfae;font:700 17px var(--hand);cursor:pointer}.secure-account button:disabled{opacity:.55;cursor:wait}.secure-account .form-status{min-height:22px;margin:0;color:#6b4529}.secure-account .form-status.error{color:#8c171e}.secure-account .form-status.success{color:#3f7042}.secure-account .honeypot{position:absolute!important;left:-10000px!important}.download-production{padding:42px;text-align:center}.download-production h3{font:700 30px var(--hand)}.download-production a{display:inline-block;margin-top:14px;padding:12px 20px;background:#8c171e;color:#f5dfae;text-decoration:none;font:700 17px var(--hand)}
@media(max-width:900px){.server-presence{margin-left:0!important;font-size:11px}.server-presence strong{font-size:11px}.secure-account{padding:30px 20px}.secure-account form{grid-template-columns:1fr}.secure-account label{grid-column:1/-1}}

/* Mobile reading edition */
@media(max-width:700px){
  body{padding:0 0 76px;background-attachment:fixed}
  .deskbar{position:sticky;top:0;z-index:60;display:grid;grid-template-columns:1fr auto;gap:8px 10px;width:100%;min-height:60px;margin:0;padding:8px 10px;background:rgba(48,24,14,.97);box-shadow:0 5px 16px rgba(0,0,0,.4)}
  .wordmark{min-width:0;display:flex;align-items:center;font-size:11px!important;letter-spacing:.08em}.wordmark img{width:38px;height:38px;margin-right:5px}.wordmark b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  .deskbar>div{position:static!important;display:flex;width:auto!important;margin:0!important;gap:6px!important}.deskbar .quiet,.deskbar .gold{min-height:38px;padding:7px 9px!important;font-size:11px!important;white-space:nowrap;transform:none!important}.deskbar .gold{padding-right:9px!important}.deskbar .gold:after{display:none!important}
  .server-presence{grid-column:1/-1;display:flex!important;justify-content:center;min-height:18px;margin:0!important;font-size:10px!important}
  .top-notes{position:sticky!important;top:78px!important;right:auto!important;z-index:55!important;width:100%!important;margin:0!important;padding:7px 8px 10px!important;display:flex!important;flex-direction:row!important;justify-content:flex-start!important;align-items:center!important;gap:7px!important;overflow-x:auto!important;overscroll-behavior-inline:contain;background:rgba(43,20,11,.96)!important;scrollbar-width:none}.top-notes::-webkit-scrollbar{display:none}
  .top-notes button,.top-notes button:nth-child(2),.top-notes button:nth-child(3),.top-notes button:nth-child(4){flex:0 0 auto!important;width:auto!important;min-width:88px!important;max-width:none!important;padding:9px 12px!important;font-size:11px!important;line-height:1!important;text-align:center!important;transform:none!important;clip-path:polygon(3% 5%,97% 1%,100% 88%,93% 100%,5% 96%,0 14%)!important}.top-notes button span:after,.top-notes button.active span:before{display:none!important}
  .book-tools,.book-tools[hidden]{width:100%;height:auto;min-height:0;margin:0;padding:8px 10px;display:block}.book-tools[hidden]{display:none}.book-tools label{display:block;width:100%;transform:none}.book-tools input{width:100%;font-size:16px}.book-tools .filter-tabs{display:flex;justify-content:flex-start;gap:6px;margin-top:8px;overflow-x:auto;scrollbar-width:none}.book-tools .filter-tabs::-webkit-scrollbar{display:none}.book-tools .filter-tabs button{flex:0 0 auto;padding:8px 10px;font-size:11px!important}
  .spread-book{display:block!important;width:100%!important;height:auto!important;min-height:calc(100dvh - 148px)!important;margin:0!important;filter:none!important}.spread-book:before,.spread-book>.book-edge,.spread-book>.page-left{display:none!important}.spread-book>.page-right{display:block!important;width:100%!important;min-height:calc(100dvh - 148px)!important;padding:26px 18px 70px!important;border-radius:0!important;overflow:visible!important}.spread-book>.page-right:before{display:none!important}.leaf-content,.chapter{height:auto!important;min-height:0!important;overflow:visible!important;padding-inline:0!important}
  .chapter h2{font-size:clamp(28px,10vw,40px)!important;line-height:1.05!important;overflow-wrap:anywhere}.intro,.dropcap{font-size:16px;line-height:1.48}.hero-engraving,.hero-engraving.tall{height:clamp(190px,58vw,285px)!important;margin:16px 0;border-width:6px}.crest h1{font-size:clamp(30px,11vw,45px);letter-spacing:.06em}
  .stamp-grid{grid-template-columns:1fr!important;gap:14px!important;padding:2px!important}.stamp{min-height:180px!important}.bestiary-grid.single{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px 8px!important}.bestiary-grid.single .beast{padding:7px!important}.bestiary-grid.single .beast img{height:76px!important}.bestiary-grid.single .beast strong{font-size:11px!important}.bestiary-grid.single .beast small{font-size:9px!important}
  .folio-stats{grid-template-columns:1fr 1fr}.questline li{grid-template-columns:44px 1fr;gap:10px;padding:14px 0}.questline li>b{font-size:22px}.journey-page .questline p{font-size:15px}
  .spread-book>.page-arrow{position:fixed!important;top:auto!important;bottom:14px!important;width:44px;height:44px;transform:none!important;background:#d6b471;box-shadow:0 4px 12px rgba(0,0,0,.45)}.spread-book>.page-arrow.prev{left:14px!important}.spread-book>.page-arrow.next{right:14px!important}.spread-counter{position:fixed;left:50%;bottom:28px;z-index:31;margin:0;transform:translateX(-50%);color:#f0d69e}
  dialog{width:calc(100% - 20px);max-height:90dvh;margin:auto}.secure-account{padding:28px 16px 22px}.secure-account h3{font-size:25px}.secure-account form{grid-template-columns:1fr;gap:11px}.secure-account input{min-height:44px}.turnstile-slot{max-width:100%;overflow:hidden}.download-production,.action-card,.detail-wrap{padding:30px 18px}.detail-head{gap:12px}.detail-head img{width:84px;height:76px}.detail-head h3{font-size:23px}.drops{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:380px){.wordmark b{display:none}.deskbar{grid-template-columns:auto 1fr}.deskbar>div{justify-self:end}.deskbar .quiet,.deskbar .gold{font-size:10px!important;padding:7px!important}.top-notes{top:78px!important}.bestiary-grid.single{grid-template-columns:1fr 1fr!important}}
.home-return{position:fixed;z-index:70;left:14px;bottom:14px;display:inline-flex;align-items:center;gap:8px;padding:10px 14px;color:#f0d69e;background:rgba(48,24,14,.94);border:1px solid rgba(213,173,99,.55);box-shadow:0 5px 18px rgba(0,0,0,.45);text-decoration:none;font:700 12px var(--hand);letter-spacing:.04em;transition:transform .2s,background .2s}.home-return:hover{transform:translateY(-3px);background:#5b2c1b}@media(max-width:700px){.home-return{left:50%;bottom:16px;transform:translateX(-50%);padding:9px 12px;font-size:11px;white-space:nowrap}.home-return:hover{transform:translateX(-50%) translateY(-2px)}.spread-book>.page-arrow.prev{left:10px!important}.spread-book>.page-arrow.next{right:10px!important}}
.system-detail{display:grid;grid-template-columns:minmax(260px,1.25fr) minmax(220px,.75fr);align-items:stretch;min-height:390px}.system-detail>img{width:100%;height:100%;min-height:390px;object-fit:cover}.system-detail>div{display:flex;flex-direction:column;justify-content:center;padding:38px}.system-detail h3{margin:0 0 14px;font:700 28px var(--display);line-height:1.08}.system-detail p:last-child{font-size:18px;line-height:1.45;color:var(--muted)}@media(max-width:700px){.system-detail{display:block;min-height:0}.system-detail>img{min-height:0;height:auto;aspect-ratio:16/9}.system-detail>div{padding:25px 20px}.system-detail h3{font-size:23px}.system-detail p:last-child{font-size:16px}}
