@font-face{font-family:Source;src:url('assets/source-sans.ttf') format('truetype');font-weight:200 900;font-display:swap}
@font-face{font-family:Cinzel;src:url('assets/cinzel.ttf') format('truetype');font-weight:400 900;font-display:swap}
:root{--red:#a3132c;--red-dark:#800b20;--ink:#17202b;--muted:#5c6673;--line:#dce1e7;--soft:#f3f6f9;--blue:#e3edf7;--sidebar:210px;--serif:Georgia,'Times New Roman',serif;--sans:Source,'Segoe UI',sans-serif}
*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:16px}body{margin:0;color:var(--ink);background:#e5e9ee;font-family:var(--sans);font-size:16px;line-height:1.4}button,input,select,textarea{font:inherit}button,a,input,select{touch-action:manipulation}button,a{ -webkit-tap-highlight-color:transparent}button{cursor:pointer}a{color:inherit;text-decoration:none}a:hover{color:var(--red)}button{color:inherit}button:disabled{cursor:not-allowed;opacity:.55}img{max-width:100%;display:block}svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;flex:none}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #2685bf;outline-offset:3px}h1,h2,h3,p{margin:0}h1,h2,h3{font-family:var(--serif);line-height:1.15}h1{font-size:32px}h2{font-size:23px}h3{font-size:20px}button{border:0;background:none}input,select{min-width:0}.sr-only{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.skip-link{position:fixed;top:-60px;left:12px;background:white;padding:12px;z-index:50}.skip-link:focus{top:8px}
.site-shell{max-width:1640px;min-height:100vh;margin:auto;display:grid;grid-template-columns:var(--sidebar) minmax(0,1fr);background:white;box-shadow:0 0 70px #18233019}.sidebar{grid-column:1;background:#000;color:#fff;padding:22px 12px 18px;display:flex;flex-direction:column;min-height:100vh;position:relative;z-index:20}.brand{display:block;text-align:center;color:#fff!important}.brand-emblem{position:relative;width:94px;height:96px;margin:0 auto 8px;border:1px solid #ffffff80;border-radius:50%;padding:10px;transform:rotate(-5deg)}.brand-emblem img{height:76px;object-fit:contain}.emblem-die{position:absolute;bottom:-3px;right:-4px;border:1px solid white;transform:rotate(5deg);background:black;font-family:Cinzel,serif;font-size:17px;padding:1px 5px;clip-path:polygon(25% 0,75% 0,100% 50%,75% 100%,25% 100%,0 50%)}.brand-name{font-family:Cinzel,serif;font-weight:600;font-size:25px;line-height:1.15;display:block}.brand-name>span{display:block;font-size:23px;letter-spacing:5px;margin-top:3px}.brand-motto{font-size:12px;color:#c8ced5;display:block;margin-top:12px}.ornament{display:flex;align-items:center;gap:8px;justify-content:center;margin:13px 18px;color:#e4e8ef;font-size:14px}.ornament:before,.ornament:after{content:'';width:40px;height:1px;background:#8e959b}.side-search{display:flex;align-items:center;border:1px solid #666;border-radius:5px;background:#151515;margin:0 2px 22px;height:38px}.side-search button{color:#ddd;padding:8px;display:flex}.side-search input{width:100%;background:none;border:none;color:white;padding:7px 4px 7px 0;font-size:14px}.side-search input::placeholder{color:#c0c0c0}.main-nav{display:grid;gap:3px}.main-nav a{display:flex;align-items:center;gap:10px;padding:10px 13px;border-radius:2px;font-family:var(--serif);font-size:20px;line-height:1.2;transition:background .15s;color:#e5e7eb}.main-nav a img{width:19px;height:19px;object-fit:contain;opacity:.75}.main-nav a>span{width:19px;text-align:center}.main-nav a[aria-current=page]{background:var(--red);color:white;box-shadow:inset 3px 0 #f07b8d}.main-nav a:hover{background:#25252b;color:white}.main-nav a[aria-current=page]:hover{background:var(--red)}.sidebar-note{text-align:center;color:#9da6b2;margin:45px 8px 30px}.sidebar-note img{margin:0 auto 10px;opacity:.3}.sidebar-note p{font-family:var(--serif);font-size:13px;font-style:italic;line-height:1.6}.sidebar-bottom{margin-top:auto;padding:16px 8px 0;border-top:1px solid #525252;font-size:14px}.sidebar-bottom>a,.sidebar-bottom>button{display:flex;gap:9px;align-items:center;color:#ddd;padding:8px 0;width:100%;text-align:left}.sidebar-bottom>a:hover,.sidebar-bottom>button:hover{color:#fff}.sidebar-bottom>a>span:first-child,.sidebar-bottom>button>span{font-size:20px}.sidebar-bottom #favorite-count{margin-left:auto;background:#2d2d34;min-width:23px;text-align:center;border-radius:3px;font-size:12px}.preview-label{display:block;font-size:10px;letter-spacing:.1px;color:#9da6b2;line-height:1.5;margin-top:14px}.main-wrap{min-width:0}.hero{height:230px;position:relative;overflow:hidden;background:#153456;border-bottom:3px solid #263a50}.hero-art{width:100%;height:100%;object-fit:cover;object-position:center;position:absolute;inset:0}.hero:after{content:'';position:absolute;inset:0;background:linear-gradient(90deg,#06132690 0,transparent 40%);pointer-events:none}.hero-copy{position:relative;z-index:1;color:white;padding:31px 30px;text-shadow:0 2px 5px #000a;width:36%}.hero-copy>p{font-family:var(--serif);font-size:34px;font-weight:bold;font-style:italic;line-height:1.08}.hero-copy>span:last-child{font-size:13px;line-height:1.4;display:block;color:#f0f4fa}.hero-rule{display:flex;align-items:center;gap:8px;margin:12px 0;color:#e0e9f1;font-size:12px}.hero-rule:before,.hero-rule:after{content:'';width:32px;height:1px;background:#c5cfd9}.edition-nav{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));padding:0 15px;background:#fff;border-bottom:1px solid #bdc6d0;min-height:52px;align-items:center}.edition-nav a{display:flex;justify-content:center;align-items:center;text-align:center;font-family:var(--serif);font-weight:bold;font-size:16px;padding:10px 4px;position:relative;min-height:44px;white-space:nowrap}.edition-nav a:not(:last-child):after{content:'';height:15px;width:1px;background:#d2d7dd;position:absolute;right:0}.edition-nav a:hover,.edition-nav a[aria-current=page]{color:var(--red)}.edition-nav a[aria-current=page]:before{content:'';position:absolute;bottom:0;left:20%;right:20%;height:3px;background:var(--red)}main{padding:22px 25px 12px;min-height:500px}main:focus{outline:none}.home-grid{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(0,1fr);gap:22px}.home-primary,.home-secondary{min-width:0}.home-secondary{border-left:1px solid var(--line);padding-left:20px}.section-heading{display:flex;align-items:center;gap:12px;margin-bottom:13px}.section-heading h2{white-space:nowrap}.section-heading:after{content:'';height:1px;background:var(--red);flex:1;min-width:15px;order:1}.section-heading>a{font-size:12px;font-weight:600;color:var(--red);order:2;white-space:nowrap}.section-heading>a:hover{text-decoration:underline}.feature{display:grid;grid-template-columns:1.08fr 1fr;gap:18px;margin-bottom:22px}.art{background-image:url('assets/worlds.png');background-size:300% 200%;background-repeat:no-repeat;background-color:#173c58;display:block}.art-0{background-position:0 0}.art-1{background-position:50% 0}.art-2{background-position:100% 0}.art-3{background-position:0 100%}.art-4{background-position:50% 100%}.art-5{background-position:100% 100%}.feature-art{min-height:180px;border-radius:3px;position:relative;overflow:hidden}.feature-art:after{content:'';position:absolute;inset:0;box-shadow:inset 0 0 0 1px #0001;pointer-events:none}.feature-copy{padding:3px 0}.feature-copy h3{font-size:25px;line-height:1.08;color:var(--red);margin:5px 0 9px}.feature-copy p{font-size:15px;line-height:1.45;color:#38434e;margin-bottom:10px}.eyebrow{font-size:11px;color:var(--muted);font-weight:600}.text-link{color:var(--red);font-size:14px;font-weight:600;padding:0}.text-link:hover{text-decoration:underline}.text-link span{margin-left:5px}.book-shelf{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:17px;margin-bottom:24px}.book-card{min-width:0;display:block;text-align:center;width:100%;padding:0}.book-cover{position:relative;width:100%;aspect-ratio:2/2.8;border-radius:2px 5px 5px 2px;box-shadow:2px 3px 5px #15213222;border:1px solid #d5d9df;overflow:hidden;background:#173c58;transition:transform .18s}.book-cover:after{content:'';position:absolute;inset:0;border:3px solid #f1f3fa33;box-shadow:inset 4px 0 4px #0007;pointer-events:none}.book-cover .art{position:absolute;inset:0;opacity:.9}.book-cover .cover-title{position:absolute;bottom:0;left:0;right:0;background:linear-gradient(transparent,#081322ef);color:white;font-family:Cinzel,serif;font-size:11px;line-height:1.2;padding:28px 5px 13px;text-shadow:0 1px 3px #000}.book-card:hover .book-cover{transform:translateY(-3px)}.book-title{display:block;font-family:var(--serif);font-size:14px;font-weight:bold;line-height:1.13;margin:8px 0 4px}.book-meta{display:block;color:var(--muted);font-size:12px}.aid-row{display:grid;grid-template-columns:46px minmax(0,1fr) auto auto;gap:11px;align-items:center;padding:9px 0;border-top:1px solid var(--line);font-size:13px}.aid-thumb{width:46px;height:31px;border-radius:2px}.aid-row .aid-name{font-weight:600;color:var(--red);font-size:14px}.aid-row .aid-name:hover{text-decoration:underline}.tag{display:inline-block;background:var(--blue);color:#254667;border:1px solid #d5e2f0;border-radius:3px;font-size:11px;padding:2px 7px;white-space:nowrap;font-weight:600}.download-icon{color:var(--red);font-size:11px;border:1px solid #c7a1a8;border-radius:2px;padding:2px 4px;line-height:1.2}.thread-list{margin-top:-3px}.thread-item{display:flex;gap:10px;border-bottom:1px solid var(--line);padding:10px 0;width:100%;text-align:left}.avatar{display:flex;align-items:center;justify-content:center;width:33px;height:33px;border-radius:50%;flex:none;font-family:var(--serif);font-size:17px;font-weight:bold;color:#fff;background:#314963}.avatar.green{background:#395c59}.avatar.red{background:#8b3047}.thread-item strong{display:block;font-family:var(--serif);color:var(--red);font-size:15px;line-height:1.17}.thread-item small{font-size:11px;color:var(--muted);display:block;margin-top:4px}.thread-item:hover strong{text-decoration:underline}.small-note{font-size:11px;color:var(--muted);margin-top:8px}.workshop-small{margin-top:20px}.workshop-row{display:grid;grid-template-columns:21px minmax(0,1fr) auto;gap:9px;align-items:center;padding:8px 0;border-bottom:1px solid var(--line);font-size:13px}.workshop-row img{width:20px;filter:invert(1)}.workshop-row strong{color:var(--red);font-weight:600}.workshop-row .tag{font-size:10px}.community-small{margin-top:21px}.community-small .mini-feature{display:grid;grid-template-columns:88px 1fr;gap:12px}.mini-feature .art{height:85px;border-radius:3px}.mini-feature h3{font-size:16px;color:var(--red);margin:1px 0 5px}.mini-feature p{font-size:13px;color:#47515b;line-height:1.35}.world-section{border-top:1px solid var(--line);margin-top:23px;padding-top:16px}.world-section .section-heading{margin-bottom:12px}.carousel-actions{display:flex;gap:4px;order:2}.carousel-actions button{border:1px solid var(--line);border-radius:3px;width:32px;height:30px;font-size:22px;line-height:1;display:grid;place-items:center;color:var(--red)}.carousel-actions button:hover{background:var(--soft)}.world-strip{display:flex;gap:12px;overflow:auto;scroll-snap-type:x mandatory;scrollbar-width:thin;scrollbar-color:#bac5d2 #eff2f7;padding:1px 1px 10px}.world-tile{flex:0 0 calc((100% - 84px)/8);min-width:105px;scroll-snap-align:start;display:block;text-align:center}.world-tile .art{aspect-ratio:1.6;border-radius:3px;transition:filter .2s}.world-tile:hover .art{filter:brightness(1.13)}.world-tile strong{font-family:var(--serif);display:block;font-size:13px;margin-top:7px;line-height:1.1}.site-footer{display:flex;justify-content:space-between;align-items:center;gap:15px;font-size:11px;color:var(--muted);margin:8px 25px 0;border-top:1px solid var(--line);padding:15px 0 18px}.site-footer>span>span{padding:0 6px;color:var(--red)}.site-footer div{display:flex;gap:12px}.site-footer button{font-size:11px;color:var(--muted);padding:3px 0}.site-footer button:hover{color:var(--red)}.mobile-header{display:none}.menu-backdrop[hidden]{display:none}
/* Shared inner-page components */
.page-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin:0 0 21px}.page-heading p{color:var(--muted);margin-top:8px;font-size:15px;max-width:680px}.page-heading .eyebrow{display:block;margin-bottom:7px}.button{display:inline-flex;align-items:center;justify-content:center;gap:8px;background:var(--red);color:#fff;border:1px solid var(--red);padding:9px 15px;border-radius:3px;font-size:14px;font-weight:600;line-height:1.3;min-height:40px}.button:hover{background:var(--red-dark);color:white}.button.secondary{background:#fff;color:var(--red);border-color:#d9bdc3}.button.secondary:hover{background:#f9f1f3}.notice{padding:11px 14px;background:#f2f6fa;border-left:3px solid #637d9a;font-size:13px;line-height:1.5;margin-bottom:20px;color:#425367}.filters{background:var(--soft);border:1px solid var(--line);border-radius:4px;padding:13px;display:grid;grid-template-columns:minmax(170px,1.6fr) 1fr 1fr auto;gap:12px;margin-bottom:12px}.field label{font-size:12px;font-weight:600;display:block;margin-bottom:4px}.field input,.field select{border:1px solid #b8c4d0;border-radius:3px;padding:8px 10px;background:white;width:100%;color:var(--ink);height:39px;font-size:14px}.filters .button{align-self:end;height:39px;min-height:39px}.results-bar{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:7px 0 12px;font-size:13px;color:var(--muted)}.results-bar select{border:1px solid var(--line);border-radius:3px;padding:4px;background:#fff;font-size:13px;margin-left:8px;color:var(--ink)}.results-bar label{display:flex;gap:5px;align-items:center}.table-wrap{overflow:auto}.library-table{width:100%;border-collapse:collapse;text-align:left;font-size:14px}.library-table th{font-size:12px;background:#f1f4f7;padding:11px 10px;font-weight:600;border-top:1px solid var(--line);border-bottom:1px solid var(--line);white-space:nowrap}.library-table td{padding:11px 10px;border-bottom:1px solid var(--line);vertical-align:middle}.library-table tbody tr:hover{background:#fafbfd}.resource-cell{display:flex;gap:13px;align-items:center;min-width:240px}.resource-cell>.art{width:43px;height:58px;flex:none;border-radius:2px}.resource-cell button{text-align:left;padding:0;color:var(--red);font-family:var(--serif);font-weight:bold;font-size:17px}.resource-cell small{display:block;font-size:12px;font-weight:normal;color:var(--muted);margin-top:4px}.favorite-button{color:var(--muted);font-size:26px;padding:2px 8px;min-width:40px;min-height:40px}.favorite-button[aria-pressed=true]{color:var(--red)}.empty-state{padding:40px 20px;text-align:center;background:var(--soft);border:1px dashed #c9d1dc;margin:15px 0;border-radius:3px}.empty-state h2{margin-bottom:10px}.empty-state p{color:var(--muted);margin-bottom:17px}.inner-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.world-card{border:1px solid var(--line);border-radius:4px;overflow:hidden}.world-card>.art{height:150px}.world-card>div:last-child{padding:15px}.world-card h2{font-size:21px;margin-bottom:8px}.world-card p{font-size:14px;color:var(--muted);margin-bottom:15px;line-height:1.5}.world-card .text-link{font-size:13px}.world-focus{display:grid;grid-template-columns:1fr 1.4fr;gap:25px;margin-bottom:25px;align-items:center}.world-focus>.art{height:220px;border-radius:4px}.world-focus h1{margin-bottom:12px}.world-focus p{color:var(--muted);margin-bottom:12px}.forum-tabs{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:20px}.forum-tabs button{border:1px solid var(--line);padding:7px 13px;border-radius:3px;font-size:13px;background:#fff}.forum-tabs button[aria-pressed=true]{background:var(--red);color:#fff;border-color:var(--red)}.forum-row{display:grid;grid-template-columns:40px 1fr auto;align-items:center;gap:15px;padding:19px 9px;border-bottom:1px solid var(--line);width:100%;text-align:left}.forum-row:hover{background:var(--soft)}.forum-row h2{font-size:20px;color:var(--red);margin-bottom:6px}.forum-row p{font-size:14px;color:var(--muted);margin:4px 0}.forum-row small{font-size:12px;color:var(--muted)}.forum-row>span:last-child{font-size:24px;color:var(--red)}.back-link{color:var(--red);display:inline-block;font-size:14px;margin-bottom:18px}.post{border:1px solid var(--line);display:grid;grid-template-columns:125px 1fr;border-radius:3px;margin-bottom:15px;overflow:hidden}.post-author{background:var(--soft);padding:20px 15px;text-align:center;font-size:14px;font-weight:600}.post-author .avatar{margin:0 auto 10px}.post-body{padding:23px;font-size:16px;line-height:1.65}.post-body>small{font-size:11px;color:var(--muted);display:block;margin-bottom:10px}.workshop-board{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.workshop-column{background:var(--soft);border:1px solid var(--line);padding:18px;border-radius:4px}.workshop-column h2{font-size:20px;margin-bottom:16px}.workshop-card{background:white;padding:16px;border:1px solid var(--line);border-radius:3px;box-shadow:0 2px 5px #17334d08}.workshop-card h3{color:var(--red);font-size:19px;margin:10px 0}.workshop-card .art{height:110px;border-radius:2px}.workshop-card p{font-size:14px;color:var(--muted);margin-bottom:14px}.community-intro{max-width:760px;font-size:17px;line-height:1.65;margin-bottom:25px}.community-intro p{margin-bottom:14px}.community-roles{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.role-card{border-top:2px solid var(--red);padding:18px;background:var(--soft)}.role-card h2{font-size:22px;margin-bottom:10px}.role-card p{font-size:15px;color:var(--muted);margin-bottom:15px}
/* Reading dialog */
dialog{border:1px solid #c7cfd8;border-radius:6px;padding:0;max-width:760px;width:calc(100% - 32px);max-height:90vh;color:var(--ink);box-shadow:0 25px 100px #0006}dialog::backdrop{background:#091323b8;backdrop-filter:blur(3px)}.dialog-close{position:absolute;right:12px;top:12px;border-radius:50%;height:36px;width:36px;background:#fff;box-shadow:0 1px 8px #0002;font-size:27px;z-index:2;line-height:1}.dialog-close:hover{background:#eee}.dialog-cover{height:155px;position:relative}.dialog-cover:after{content:'';position:absolute;inset:0;background:linear-gradient(0deg,#0e192677,transparent)}.dialog-body{padding:28px 35px}.dialog-body h1{font-size:30px;margin-bottom:8px}.dialog-body .subtitle{color:var(--muted);margin-bottom:20px}.dialog-meta{display:flex;flex-wrap:wrap;gap:8px;margin:15px 0}.dialog-actions{display:flex;gap:9px;flex-wrap:wrap;margin:20px 0;padding-bottom:20px;border-bottom:1px solid var(--line)}.prose h2{font-size:21px;margin:23px 0 10px}.prose p{line-height:1.65;font-size:16px;white-space:pre-line}.prose a{text-decoration:underline;color:var(--red)}.prose .notice{white-space:normal;font-size:13px;margin-top:20px}.toast{position:fixed;left:50%;bottom:24px;transform:translate(-50%,12px);background:#17202b;color:#fff;max-width:calc(100% - 28px);padding:12px 20px;border-radius:5px;box-shadow:0 5px 20px #0002;z-index:100;font-size:14px;opacity:0;pointer-events:none;transition:opacity .2s,transform .2s}.toast.visible{opacity:1;transform:translate(-50%,0)}
@media(min-width:1500px){:root{--sidebar:230px}.hero{height:270px}.hero-copy{padding:43px 35px}.hero-copy>p{font-size:43px}.feature-art{min-height:210px}.feature-copy h3{font-size:30px}.feature-copy p{font-size:17px}.main-nav a{font-size:22px}.book-title{font-size:16px}.thread-item strong{font-size:17px}.thread-item{padding:13px 0}.workshop-row{padding:11px 0;font-size:14px}.hero-copy>span:last-child{font-size:15px}.world-tile strong{font-size:15px}}
@media(max-width:1200px){:root{--sidebar:185px}.sidebar{padding:17px 10px}.main-nav a{font-size:18px;padding:10px}.brand-name{font-size:23px}.brand-emblem{width:79px;height:81px}.brand-emblem img{height:62px}.hero{height:215px}.hero-copy{padding:28px 23px}.hero-copy>p{font-size:30px}.edition-nav{padding:0 8px}.edition-nav a{font-size:14px}main{padding:20px 20px 10px}.home-grid{gap:18px;grid-template-columns:minmax(0,1.5fr) minmax(0,1fr)}.home-secondary{padding-left:17px}.section-heading h2{font-size:21px}.feature{gap:13px}.feature-copy h3{font-size:23px}.feature-copy p{font-size:14px}.feature-art{min-height:170px}.book-shelf{gap:11px}.book-title{font-size:13px}.cover-title{font-size:9px!important}.aid-row{gap:8px;grid-template-columns:37px minmax(0,1fr) auto}.aid-row .download-icon{display:none}.aid-thumb{width:37px}.aid-row .aid-name{font-size:13px}.workshop-row{grid-template-columns:18px 1fr}.workshop-row .tag{grid-column:2;justify-self:start}.world-tile{min-width:108px}.site-footer{margin-left:20px;margin-right:20px}.inner-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:940px){.home-grid{grid-template-columns:1fr}.home-secondary{border-left:0;padding-left:0;display:grid;grid-template-columns:1fr 1fr;gap:20px}.home-secondary .threads-small{grid-row:span 2}.workshop-small,.community-small{margin-top:0}.book-shelf{gap:18px}.book-cover{max-width:140px;margin:auto}.feature{grid-template-columns:1.1fr 1fr}.feature-art{height:185px}.feature-copy p{font-size:16px}.edition-nav{grid-template-columns:repeat(4,minmax(0,1fr));min-height:84px}.edition-nav a{font-size:15px}.edition-nav a:nth-child(4):after{display:none}.hero{height:205px}.hero-copy>p{font-size:28px}.hero-copy>span:last-child{font-size:12px}.filters{grid-template-columns:1fr 1fr}.filters .button{justify-self:start}.world-focus{grid-template-columns:1fr 1fr}.workshop-board{gap:12px}.workshop-column{padding:12px}.workshop-card{padding:12px}.community-roles{gap:12px}.role-card{padding:14px}.page-heading{flex-wrap:wrap}.sidebar-note{margin-top:30px}}
@media(max-width:700px){:root{--sidebar:0px}.site-shell{display:block}.mobile-header{height:56px;background:#000;color:#fff;display:flex;justify-content:space-between;align-items:center;padding:0 17px}.mobile-header>a{font-family:Cinzel,serif;font-size:19px}.mobile-header button{color:white;padding:8px;display:flex;gap:10px;align-items:center}.sidebar{position:fixed;width:245px;left:0;top:56px;bottom:0;min-height:0;overflow:auto;transform:translateX(-100%);transition:transform .2s;z-index:40}.sidebar.open{transform:translateX(0)}.sidebar .brand-emblem{display:none}.sidebar .brand-name>span{display:inline;font-size:inherit;margin-left:7px;letter-spacing:0}.sidebar .brand-motto{display:none}.sidebar .brand-name{font-size:21px}.sidebar-note{display:none}.sidebar-bottom{margin-top:25px}.main-nav a{padding:12px}.menu-backdrop{position:fixed;inset:56px 0 0;background:#0008;z-index:30;width:100%;height:calc(100% - 56px)}.hero{height:180px}.hero-art{object-position:64% center}.hero-copy{padding:22px 18px;width:38%}.hero-copy>p{font-size:27px}.hero-copy>span:last-child{font-size:11px}.hero:after{background:linear-gradient(90deg,#071a36bd,transparent 60%)}.hero-rule{margin:9px 0}.edition-nav a{font-size:15px;padding:8px 3px;min-height:42px}main{padding:19px 16px 8px}.section-heading h2{font-size:22px}.section-heading{gap:9px}.section-heading>a{font-size:11px}.feature{gap:15px;grid-template-columns:1fr 1fr}.feature-art{height:190px}.feature-copy h3{font-size:24px}.feature-copy p{font-size:15px;line-height:1.4}.book-shelf{gap:12px;display:flex;overflow:auto;padding:1px 2px 10px;scroll-snap-type:x mandatory}.book-card{flex:0 0 106px;scroll-snap-align:start}.book-title{font-size:14px}.home-secondary{gap:20px}.world-section{margin-top:20px}.site-footer{margin:8px 16px 0;flex-direction:column;align-items:flex-start;gap:6px}.page-heading h1{font-size:29px}.page-heading p{font-size:14px}.library-table .type-col{display:none}.resource-cell{min-width:200px}.library-table td,.library-table th{padding:10px 7px}.resource-cell button{font-size:15px}.library-table .tag{font-size:10px}.favorite-button{padding:2px 4px}.results-bar{font-size:12px;flex-wrap:wrap}.filters{gap:10px;padding:11px}.inner-grid{gap:14px}.world-card>.art{height:130px}.world-card>div:last-child{padding:13px}.world-card h2{font-size:19px}.world-card p{font-size:13px}.world-focus{grid-template-columns:1fr}.world-focus>.art{height:170px}.forum-row{gap:10px;padding:15px 0;grid-template-columns:33px 1fr 15px}.forum-row h2{font-size:19px}.forum-row p{font-size:13px}.post{grid-template-columns:1fr}.post-author{display:flex;align-items:center;gap:10px;padding:10px 15px;text-align:left}.post-author .avatar{margin:0}.post-body{padding:18px}.workshop-board,.community-roles{grid-template-columns:1fr}.workshop-card{display:block}.workshop-card .art{height:140px}.dialog-body{padding:23px}.dialog-cover{height:130px}.dialog-body h1{font-size:27px}.dialog-actions .button{font-size:13px}}
@media(max-width:440px){.hero{height:165px}.hero-copy{padding:22px 14px}.hero-copy>p{font-size:24px}.hero-copy>span:last-child{display:none}.hero-art{object-position:65% center}.feature{grid-template-columns:1fr}.feature-art{height:170px;min-height:0}.feature-copy h3{font-size:26px}.feature-copy p{font-size:16px}.home-secondary{display:block}.home-secondary .workshop-small,.home-secondary .community-small{margin-top:22px}.workshop-row{grid-template-columns:20px 1fr auto}.workshop-row .tag{grid-column:auto}.aid-row{grid-template-columns:34px 1fr auto}.inner-grid{grid-template-columns:1fr 1fr}.filters{grid-template-columns:1fr}.filters .button{width:100%}.library-table .edition-col{display:none}.resource-cell{min-width:180px}.world-card h2{font-size:18px}.world-card p{font-size:13px}.world-card>.art{height:110px}.page-heading .button{width:100%}.world-tile{min-width:115px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{animation:none!important;transition:none!important}.book-card:hover .book-cover{transform:none}}
@media print{.sidebar,.hero,.edition-nav,.mobile-header,.site-footer,.dialog-close,.dialog-actions{display:none}.site-shell{display:block}dialog[open]{position:static;max-height:none;max-width:none;width:100%;border:0;box-shadow:none}body:has(dialog[open]) .site-shell{display:none}.dialog-body{padding:0}.prose p{font-size:12pt}.prose h2{break-after:avoid}}

/* Full original covers: no crop and no title overlay. */
.book-cover>.pdf-cover{width:100%;height:100%;object-fit:contain;background:#edf0f3;position:absolute;inset:0}.resource-cell>.pdf-cover{width:52px;height:70px;flex-shrink:0;object-fit:contain;background:#edf0f3}.pdf-detail{display:grid;grid-template-columns:minmax(150px,32%) minmax(0,1fr);align-items:start;padding:30px 0 0 25px}.pdf-detail-cover{padding-top:10px}.pdf-detail-cover>.pdf-cover{width:100%;height:auto;max-height:440px;object-fit:contain}.pdf-detail .dialog-body{padding-top:10px}.pdf-detail h1{overflow-wrap:anywhere}.pdf-detail .dialog-actions a{min-height:44px}@media(max-width:600px){.pdf-detail{display:block;padding:20px 0 0}.pdf-detail-cover>.pdf-cover{max-height:210px}.pdf-detail .dialog-body{padding-top:20px}.resource-cell>.pdf-cover{width:44px;height:60px}}
@media(max-width:440px){.section-heading h2{white-space:normal;min-width:0;line-height:1.15}.section-heading>a{white-space:normal;text-align:right;flex-shrink:0;max-width:88px}.section-heading:after{min-width:6px}}
/* Keep books and edition labels on shared horizontal lines. */
.book-card{display:flex;flex-direction:column;align-items:stretch;justify-content:flex-start}
.book-cover{flex-shrink:0}
.book-title{flex:1;min-height:3.39em}
.book-cover>.pdf-cover{object-position:top center}
.book-card:hover .book-cover{transform:none;box-shadow:0 0 0 2px #a51232,2px 3px 5px #15213222}
.catalog-file-icon{display:grid;place-items:center;flex:none;width:52px;height:70px;background:#edf0f3;color:#283544;font-size:12px;font-weight:bold;border:1px solid #d5d9df;border-radius:3px}.pdf-detail-cover>.catalog-file-icon{width:100%;height:170px;font-size:24px}

/* Home previews are editorial, not download controls. */
.book-preview{cursor:default}
.book-preview:hover .book-cover{transform:none;box-shadow:2px 3px 5px #15213222}
.aid-preview{grid-template-columns:48px minmax(0,1fr) auto}
.aid-preview .aid-name{cursor:default}
@media(max-width:900px){.aid-preview{grid-template-columns:37px minmax(0,1fr) auto}}

.book-drift{display:flex;overflow-x:auto;gap:14px;padding:2px 2px 12px;scrollbar-width:none;scroll-snap-type:none;scroll-behavior:auto}
.book-drift::-webkit-scrollbar{display:none}
.book-drift .book-preview{flex:0 0 calc((100% - 56px)/5);min-width:95px;scroll-snap-align:none}
.book-drift:focus-visible{outline:2px solid #a51232;outline-offset:4px}
@media(max-width:700px){.book-drift .book-preview{flex-basis:106px}}

.discovery-combat{display:block;width:100%;height:100%;object-fit:cover;object-position:center;border-radius:2px}

.staff-flame{position:absolute;pointer-events:none;overflow:visible;mix-blend-mode:screen}
/* A slow charge travels over the engraved sun, then gathers above the head. */
.hammer-rune{stroke-dasharray:100;animation:holy-charge 8s ease-in-out infinite}
.hammer-arc{opacity:0;animation:holy-crown 8s ease-in-out infinite}
.hammer-arc-two{animation-delay:.15s}
@keyframes holy-charge{0%,35%{stroke-dashoffset:100;opacity:0}55%{opacity:.75}70%{stroke-dashoffset:0;opacity:.9}90%,100%{stroke-dashoffset:0;opacity:0}}
@keyframes holy-crown{0%,62%,90%,100%{opacity:0}72%{opacity:.8}80%{opacity:.25}84%{opacity:.55}}
.hero.effects-paused .staff-flame *{animation-play-state:paused}
@media(prefers-reduced-motion:reduce){.staff-flame{display:none}}

/* Readable at banner size: continuous gold charge, no flashing. */
.hammer-rune{animation:holy-charge-visible 4.5s ease-in-out infinite}
.hammer-arc{animation:holy-crown-visible 3.6s ease-in-out infinite;transform-box:view-box;transform-origin:1960px 238px}
.hammer-arc-two{animation-delay:-1.1s}
.hammer-spark{animation:holy-spark 2.8s linear infinite}
@keyframes holy-charge-visible{0%,100%{stroke-dashoffset:35;opacity:.45}50%{stroke-dashoffset:0;opacity:1}}
@keyframes holy-crown-visible{0%,100%{opacity:.35;transform:scaleY(.84)}45%{opacity:.95;transform:scaleY(1.04)}75%{opacity:.6;transform:scaleY(.94)}}
@keyframes holy-spark{from{stroke-dashoffset:195}to{stroke-dashoffset:0}}

.wiki-feature{border-left:4px solid #a01e25;padding:18px 22px;background:#f4f5f7;margin:0 0 24px}
.wiki-feature h2{font-size:1.55rem;margin:8px 0}
.wiki-reading{max-width:72ch;font-size:1.05rem;line-height:1.8}
.wiki-reading section{margin:30px 0}
.wiki-reading h2{font-size:1.35rem;line-height:1.35;margin-bottom:10px}
.wiki-reading p{margin:10px 0}
.wiki-reading a,.wiki-contents a,.wiki-timeline a,.wiki-pagination a{text-decoration:underline;text-underline-offset:3px}
.wiki-reading .wiki-citations{font-size:.82rem;line-height:1.65;color:#555;overflow-wrap:anywhere}
.wiki-bibliography{border-top:1px solid #ccc;margin-top:32px;padding-top:14px;font-size:.9rem}
.wiki-bibliography li{margin:8px 0;overflow-wrap:anywhere}
.wiki-contents{max-width:80ch;margin:24px 0}
.wiki-contents li{padding:12px 4px;border-bottom:1px solid #ddd}
.wiki-contents a{font-weight:700}
.wiki-contents p{margin:5px 0;font-size:.9rem;line-height:1.5}
.wiki-table-wrap{overflow-x:auto;margin-bottom:26px}
.wiki-timeline{border-collapse:collapse;width:100%;font-size:.93rem}
.wiki-timeline caption{text-align:left;font-size:.85rem;padding:10px 0;color:#555}
.wiki-timeline th,.wiki-timeline td{text-align:left;border-bottom:1px solid #ddd;padding:12px;vertical-align:top}
.wiki-timeline thead{background:#16181c;color:white}
.wiki-timeline tbody th{white-space:nowrap}
.wiki-pagination{display:flex;justify-content:space-between;gap:24px;border-top:1px solid #ccc;padding:20px 0;margin-top:24px;font-size:.9rem;line-height:1.6}
@media(max-width:600px){.wiki-reading{font-size:1rem}.wiki-pagination{flex-direction:column}.wiki-feature{padding:14px}.wiki-timeline th,.wiki-timeline td{padding:9px}}
.wiki-guide-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:22px 0 30px}
.wiki-guide-card{display:flex;gap:16px;padding:18px;border:1px solid #d8dce2;border-radius:6px;background:#fff;align-items:center}
.wiki-guide-card h2{font-size:1.15rem;margin:0 0 7px}.wiki-guide-card p{margin:0;line-height:1.55}.wiki-guide-card img{object-fit:contain;flex-shrink:0;background:#f4f5f7}
.wiki-figure{float:right;width:220px;margin:0 0 22px 28px}.wiki-figure img{display:block;width:100%;height:auto;box-shadow:0 3px 12px #0002}.wiki-figure figcaption{font-size:.78rem;line-height:1.5;color:#555;margin-top:10px}
.wiki-article-toc{font-size:.92rem;background:#f3f5f8;border-left:3px solid #8c1720;padding:15px 20px;margin:20px 0 30px}.wiki-article-toc ul{padding-left:20px;margin:8px 0 0}.wiki-article-toc li{margin:5px 0}
.wiki-reading:after{content:'';display:block;clear:both}.wiki-reading section{scroll-margin-top:25px}.wiki-spoiler{clear:both;padding:16px;border:1px solid #c9ccd2;margin-top:25px}.wiki-spoiler summary{cursor:pointer;font-weight:700}.wiki-pagination{flex-wrap:wrap;gap:15px}
@media(max-width:760px){.wiki-guide-list{grid-template-columns:1fr}.wiki-figure{float:none;width:min(220px,75%);margin:20px auto 25px}.wiki-guide-card{padding:13px;gap:12px}}
.wiki-search{margin:0 0 24px;padding:16px;background:#f4f4f4;border-left:3px solid #941c27}.wiki-search label{display:block;font-weight:700;margin-bottom:8px}.wiki-search input{width:100%;box-sizing:border-box;padding:11px 12px;border:1px solid #767676;border-radius:3px;font:inherit;background:#fff;color:#202020}.wiki-search input:focus-visible{outline:3px solid #941c27;outline-offset:2px}.wiki-search #wiki-search-count:empty{display:none}.wiki-search-results:empty{display:none}

@media(max-width:440px){.discovery-combat{height:170px;min-height:0}}

.book-drift .book-cover:has(>.pdf-cover),.book-drift .book-preview:hover .book-cover:has(>.pdf-cover){background:none;border:0;box-shadow:none}
.book-drift .book-cover:has(>.pdf-cover)::after{content:none}
.book-drift .book-cover>.pdf-cover{
  width:auto;height:auto;max-width:100%;max-height:100%;margin:auto;
  background:none;border-radius:inherit;box-shadow:2px 3px 5px #15213222;
}

.post-body{min-width:0}
.post-text{white-space:pre-wrap;overflow-wrap:anywhere}
.post-edit{margin-top:.75rem}
.post-edit summary{width:fit-content;min-height:44px;padding:.55rem 0;color:var(--red);cursor:pointer}
.post-edit textarea{display:block;width:100%;margin:.35rem 0 .75rem;padding:.5rem;resize:vertical}
