@font-face{font-family:ArchiveSerif;src:local("Georgia")}*{box-sizing:border-box}html{color-scheme:dark;scroll-behavior:smooth}body{margin:0;background:#101313;color:#e2ddd0;font-family:"Segoe UI",sans-serif;font-size:14px;line-height:1.6}a{color:inherit;text-decoration:none}button,input,select{font:inherit}button,a,input,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:default}a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible{outline:2px solid #dbb975;outline-offset:4px}h1,h2,h3,p{margin:0}h1,h2,h3{font-family:ArchiveSerif,Georgia,serif;font-weight:400;line-height:1.15}h1{font-size:46px}h2{font-size:30px}h3{font-size:23px}button{border:1px solid #3c403c;background:transparent;color:#d1c8b6;padding:8px 13px;border-radius:2px}button:hover{background:#262b28;color:#f0dfbd}.sidebar{width:226px;position:fixed;inset:0 auto 0 0;background:linear-gradient(160deg,#1b201c,#101411 65%);border-right:1px solid #3c3e30;display:flex;flex-direction:column;padding:32px 22px;z-index:5}.brand{display:flex;align-items:center;gap:12px;letter-spacing:3px;font-weight:650;font-size:19px;line-height:1.4;color:#e0c792}.brand small{display:block;letter-spacing:1px;font-weight:400;font-size:10px;color:#a49e8d;text-transform:uppercase}.brand-sigil{font-size:40px;font-weight:400;color:#b5955c}.sidebar-label{font-size:9px;letter-spacing:2px;color:#7e8377;margin:47px 10px 15px}.sidebar nav{display:grid;gap:7px}.sidebar nav a{display:flex;gap:13px;padding:11px 12px;color:#b2b5a6;font-size:13px;border-left:2px solid transparent}.sidebar nav a span{width:20px;font-size:19px;line-height:1.2;color:#9b987c}.sidebar nav a:hover{background:#242922}.sidebar nav a.active{border-color:#c4a76b;background:linear-gradient(90deg,#30362a,#1c221a);color:#ead7ab}.sidebar-note{margin:auto 8px 42px;text-align:center;border-top:1px solid #353a30;padding-top:28px}.seal{color:#a38a57;font-size:47px}.sidebar-note p{font-family:Georgia,serif;color:#c9c6b5;font-size:19px;line-height:1.6;margin:6px 0 15px}.sidebar-note>span:last-child{color:#838878;font-size:10px;letter-spacing:1px}.sidebar-bottom{font-size:9px;letter-spacing:.4px;color:#777c70;text-align:center}.workspace{margin-left:226px}.topbar{height:69px;border-bottom:1px solid #2c302a;display:flex;align-items:center;justify-content:space-between;padding:0 42px;color:#a7aa9c;font-size:12px;letter-spacing:.4px}.top-actions{display:flex;gap:8px}.top-actions button{border:none;font-size:22px;padding:0 7px;line-height:1.5}main{max-width:1450px;margin:auto;padding:34px 42px 50px}.eyebrow{font-size:9px;letter-spacing:2px;color:#c2a56b;font-weight:650;text-transform:uppercase}.hero{position:relative;isolation:isolate;min-height:440px;border:1px solid #424435;overflow:hidden;background:#171a18}.hero-art,.hero-shade{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-2}.hero-shade{background:linear-gradient(90deg,rgba(8,12,12,.92),rgba(8,12,12,.57) 45%,rgba(8,12,12,.08) 78%);z-index:-1}.hero-copy{padding:58px 45px 78px;max-width:600px}.hero h1{font-size:clamp(37px,3.6vw,56px);margin:20px 0 20px;color:#f0e5ce;line-height:1.12}.hero-copy p{max-width:360px;line-height:1.85;color:#c2c4b8;font-size:14px;margin-bottom:27px}.hero-caption{position:absolute;bottom:21px;left:45px;color:#8f9487;letter-spacing:2px;font-size:8px}.button{display:inline-flex;align-items:center;justify-content:center;gap:15px;padding:11px 18px;background:#b59a60;border:1px solid #c3a96d;color:#151a14;font-size:12px;font-weight:650;letter-spacing:.4px;border-radius:1px}.button:hover{background:#d0b578}.button.subtle{background:transparent;color:#cdb47d;border-color:#48503e}.home-section{margin-top:38px}.section-heading{display:flex;justify-content:space-between;align-items:end;margin-bottom:20px;gap:20px}.section-heading h2{margin-top:7px;font-size:29px}.text-link{font-size:11px;color:#c8ad74;letter-spacing:.3px}.text-link:hover{color:#f4dca6}.feature{position:relative;display:block;height:275px;overflow:hidden;border:1px solid #43473b}.feature>img{width:100%;height:100%;object-fit:cover;object-position:center 40%}.feature:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(6,11,9,.9),rgba(6,11,9,.58) 39%,transparent 72%)}.feature-copy{position:absolute;inset:0;padding:32px 34px;z-index:1}.feature h2{font-size:38px;margin:9px 0 13px;color:#ece0c4}.feature p{color:#c3c5b7;font-family:Georgia,serif;font-size:16px;line-height:1.7;margin-bottom:19px}.feature .button{background:rgba(19,26,18,.5);color:#d8bd7f;border-color:#82734a;font-size:10px;padding:8px 13px}.article-grid,.team-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px}.article-grid{margin-top:18px}.article-card{display:flex;flex-direction:column;min-height:195px;border:1px solid #353d32;padding:24px 23px;background:linear-gradient(150deg,#20261e,#171d18);transition:border-color .15s,transform .15s}.article-card:hover,.team-card:hover{border-color:#b19b66;transform:translateY(-2px)}.article-card h3{margin:12px 0 12px;font-size:22px;color:#e5ddc7}.article-card p{font-size:12px;color:#a7ae9e;margin-bottom:22px}.card-link{font-size:10px;color:#c5ac74;display:flex;justify-content:space-between;align-items:center;margin-top:auto}.team-card{min-height:220px;position:relative;display:flex;overflow:hidden;border:1px solid #3d4437;transition:border-color .15s,transform .15s;background:linear-gradient(140deg,#29302a,#121713);isolation:isolate}.team-card>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-2}.team-card.has-art:after{content:"";position:absolute;inset:0;background:linear-gradient(0deg,rgba(6,11,8,.98),rgba(6,11,8,.1));z-index:-1}.ambient-card{background-image:linear-gradient(0deg,rgba(9,14,12,.96),rgba(9,14,12,.35)),url('/assets/cathedral.png');background-size:cover;background-position:70% 40%}.card-ornament{position:absolute;right:25px;top:20px;font-size:32px;color:#a38d58;opacity:.45}.team-card-copy{align-self:end;width:100%;padding:24px 23px}.team-card .eyebrow{font-size:8px;letter-spacing:1.5px;color:#bcb08a}.team-card h3{margin:10px 0 19px;color:#e3ddc9}.page-footer{text-align:center;color:#6e796b;font-size:9px;letter-spacing:1px;margin-top:50px;padding-top:25px;border-top:1px solid #29332a}.page-heading{margin:9px 0 32px}.page-heading h1{margin:13px 0 18px;color:#eaddbc}.page-heading p{color:#aab1a0;font-size:14px;max-width:650px}.filters{display:flex;gap:16px;align-items:end;margin:20px 0}.search-form{display:flex;gap:10px;align-items:center;background:#1a211b;border:1px solid #3c4537;padding:8px 13px;flex:1;min-width:240px}.search-form>span{color:#bda86f;font-size:25px}.search-form input{background:transparent;border:none;color:#dedccb;width:100%;min-width:0;font-size:13px;outline-offset:0}.search-form input::placeholder{color:#8e9889}.search-form button{padding:5px 12px;font-size:10px}.faction-filter{display:grid;gap:4px;color:#8d9989;font-size:10px}.faction-filter select{height:51px;max-width:280px;border:1px solid #3c4537;background:#1a211b;color:#d3d4c1;padding:8px 12px;font-size:12px}.result-count{color:#879580;font-size:11px;margin:18px 0}.back-link{font-size:11px;color:#aab296;display:inline-block;margin-bottom:19px}.back-link:hover{color:#d7ba7c}.team-hero{position:relative;isolation:isolate;overflow:hidden;height:300px;border:1px solid #434b3b}.team-hero>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center 36%;z-index:-2}.team-hero.ambient>img{object-position:center 50%}.team-hero .hero-shade{background:linear-gradient(90deg,rgba(8,14,10,.9),rgba(8,14,10,.52),rgba(8,14,10,.1)),linear-gradient(0deg,rgba(8,14,10,.6),transparent)}.team-hero-copy{position:absolute;bottom:30px;left:35px;right:30px}.team-hero h1{font-size:45px;margin:13px 0 10px;color:#f1e6cc}.team-hero p{font-family:Georgia,serif;color:#c5cab8;font-size:17px}.team-tabs{display:flex;border-bottom:1px solid #434b39;margin:0 0 24px;gap:28px;overflow:auto}.team-tabs a{white-space:nowrap;padding:20px 3px 15px;border-bottom:2px solid transparent;color:#96a08d;font-size:13px}.team-tabs a:hover{color:#e2c787}.team-tabs a[aria-current]{border-bottom-color:#c2a56b;color:#e4cf9b}.reading{background:#191f19;border:1px solid #364331;margin-top:26px;padding:0 42px 30px}.reader-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:18px 0 20px;border-bottom:1px solid #374331;font-size:10px;color:#8f9c84}.reader-toolbar>div{display:flex;gap:8px}.reader-toolbar button{border:none;font-size:11px;padding:5px 7px;color:#c5b183}.reader-toolbar button[aria-pressed=true]{color:#e1c88b}.prose{max-width:720px;margin:37px auto 0;font-family:Georgia,serif;line-height:1.95;color:#ced2be;font-size:19px}.prose h1{font-size:36px;color:#e8debc;margin-bottom:26px;line-height:1.25}.prose h2{font-size:25px;margin:37px 0 18px;color:#ddcfaa;line-height:1.4}.prose h3{font-size:22px;margin:26px 0 14px}.prose p{margin:0 0 22px}.prose a{color:#dac085;text-decoration:underline;text-underline-offset:3px}.prose blockquote{border-left:2px solid #a0874f;margin:25px 0;padding:5px 24px;color:#bcbfa9;font-style:italic}.prose li{margin-bottom:8px}.reading-end{text-align:center;margin:36px auto 0;color:#78896e;font-size:10px;letter-spacing:1px}.reading-end>span{font-size:27px;color:#a68c57}.reading-end p{margin-top:12px}.empty{text-align:center;border:1px solid #364330;background:linear-gradient(145deg,#1c241b,#141c15);padding:57px 25px;margin:25px 0}.empty-sigil{font-size:48px;color:#a58c58;line-height:1}.empty h2{font-size:29px;margin:16px 0 17px;color:#dbcfb0}.empty p{max-width:430px;margin:0 auto 25px;color:#99a48e;font-size:13px;line-height:1.9}.loading{padding:40px;color:#a6b197}.story-grid{margin:25px 0}.light-paper .reading{background:#e8e1cf;border-color:#a39676}.light-paper .prose{color:#383d32}.light-paper .prose h1,.light-paper .prose h2,.light-paper .prose h3{color:#303e30}.light-paper .reader-toolbar{color:#6d735a;border-color:#c4bea5}.light-paper .reader-toolbar button{color:#6d5732}.light-paper .reader-toolbar button:hover{background:#d4ccb6}.light-paper .prose a{color:#775d2f}.light-paper .prose blockquote{color:#535c48}.skip-link{position:fixed;top:-80px;left:240px;background:#d9be80;color:#132013;padding:10px;z-index:10}.skip-link:focus{top:8px}#notice{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);background:#d6be85;color:#162013;padding:11px 22px;font-size:12px;z-index:20;box-shadow:0 5px 25px #0007}#notice:empty{display:none}@media(min-width:1600px){main{padding:40px 55px}.hero{min-height:490px}.hero-copy{padding-top:72px}}@media(max-width:1100px){.sidebar{width:190px;padding:27px 16px}.brand{font-size:16px;gap:8px}.brand-sigil{font-size:31px}.workspace{margin-left:190px}main{padding:27px 27px 40px}.topbar{padding:0 27px}.hero-copy{padding:42px 28px 70px;max-width:480px}.hero-caption{left:28px}.article-card{padding:20px 17px}.team-card-copy{padding:20px 17px}.reading{padding:0 28px 25px}}@media(max-width:850px){.sidebar{position:static;width:100%;padding:16px 20px;border-right:0;border-bottom:1px solid #3c3e30}.brand{font-size:17px}.brand-sigil{font-size:28px}.sidebar-label,.sidebar-note,.sidebar-bottom{display:none}.sidebar nav{display:flex;flex-wrap:wrap;gap:10px;margin-top:15px}.sidebar nav a{font-size:11px;padding:6px 8px;border-left:0;border-bottom:2px solid transparent;gap:6px}.sidebar nav a.active{border-bottom-color:#c4a76b}.sidebar nav a span{font-size:15px;width:15px}.workspace{margin-left:0}.topbar{height:49px;padding:0 22px}main{padding:22px}.hero{min-height:390px}.hero h1{font-size:42px}.hero-copy{padding:38px 25px 65px;max-width:500px}.hero-caption{left:25px;font-size:7px}.article-grid,.team-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.team-tabs{gap:20px}.team-hero h1{font-size:38px}.filters{flex-wrap:wrap}.search-form{width:100%}.faction-filter{width:100%}.faction-filter select{max-width:none}.feature{height:280px}.feature-copy{padding:30px}.section-heading{align-items:start}.reading{padding:0 23px 25px}.prose{font-size:18px}.prose h1{font-size:30px}}@media(max-width:520px){main{padding:16px}.hero h1{font-size:34px}.hero-copy{padding:31px 21px 65px}.hero-copy p{font-size:12px;max-width:300px}.hero-caption{font-size:6px;letter-spacing:1px;left:21px}.hero-shade{background:linear-gradient(90deg,rgba(8,12,12,.92),rgba(8,12,12,.55))}.hero{min-height:385px}.article-grid,.team-grid{grid-template-columns:1fr}.team-card{min-height:230px}.section-heading h2{font-size:25px}.section-heading .text-link{font-size:9px}.team-tabs{gap:17px}.team-tabs a{font-size:11px}.team-hero{height:260px}.team-hero-copy{left:22px;bottom:25px}.team-hero h1{font-size:34px}.team-hero p{font-size:14px}.reading{padding:0 18px 22px}.reader-toolbar{flex-wrap:wrap}.reader-toolbar button{font-size:10px}.prose{line-height:1.85}.prose h2{font-size:23px}.empty h2{font-size:25px}.page-heading h1{font-size:38px}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.team-card,.article-card{transition:none}}
.illustration-gallery{display:grid;grid-template-columns:1fr;gap:24px;max-width:800px;margin:35px auto 0}.illustration-gallery figure{margin:0}.illustration-gallery img{display:block;width:100%;height:auto;border:1px solid #4b523e}.illustration-gallery figcaption{font-family:Georgia,serif;text-align:center;color:#98a28a;font-size:13px;margin-top:10px}.light-paper .illustration-gallery figcaption{color:#636e55}

.story-card{padding:0 0 23px}.story-card .story-cover{display:block;width:100%;height:160px;object-fit:cover;border-bottom:1px solid #455039;margin-bottom:22px}.story-card>.eyebrow,.story-card>h3,.story-card>p,.story-card>.card-link{margin-left:23px;margin-right:23px}.prose hr{border:0;border-top:1px solid #4b573e;max-width:90px;margin:35px auto}.light-paper .prose hr{border-color:#a39676}

.prose-illustration{margin:28px 0 36px}.prose-illustration img{display:block;width:100%;height:auto;border:1px solid #4b523e}.prose-illustration figcaption{font-family:Georgia,serif;text-align:center;color:#98a28a;font-size:13px;line-height:1.6;margin-top:10px}.light-paper .prose-illustration figcaption{color:#636e55}

.card-status{display:flex;flex-wrap:wrap;gap:12px 24px;color:#aeb99e;font-size:12px;margin:20px 0 30px}.card-team-choice,.card-controls label{display:grid;gap:8px;font-size:13px;color:#d3d4c1}.card-team-choice select,.card-controls select,.card-controls input[type=date]{background:#1a211b;color:#dedccb;border:1px solid #536044;padding:12px;min-height:46px;font:inherit;max-width:100%}.card-team-choice{max-width:550px}.card-intro,.card-controls{padding:25px;border:1px solid #434b39;background:#191f19;margin:25px 0;line-height:1.7}.card-controls form{display:flex;flex-wrap:wrap;align-items:end;gap:18px}.card-controls form>label{flex:1;min-width:200px}.card-controls [hidden]{display:none}.card-passport{display:flex;align-items:center;flex-wrap:wrap;gap:15px;margin-top:22px;font-size:12px}.card-passport input{max-width:240px}.card-passport label{display:inline-block;cursor:pointer}.card-help{font-size:12px;line-height:1.8;color:#aeb99e}.card-result-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:35px 0 25px}.card-result-heading p{font-size:13px;line-height:1.7}.datacard-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}.datacard{min-width:0;border:1px solid #434b39;background:#191f19;padding:20px}.datacard h3{font-size:20px;margin:12px 0 20px}.datacard figure{margin:20px 0}.datacard img{display:block;width:100%;max-height:420px;object-fit:contain;background:#101313}.datacard figcaption{font-size:12px;margin-top:10px;line-height:1.7}.datacard a,.card-limit a,.card-intro a{color:#e2c787;text-decoration:underline}.datacard pre,.card-limit pre{white-space:pre-wrap;overflow-wrap:anywhere;font:12px/1.7 Arial,sans-serif;color:#cbd2bd}.card-limit{margin-top:25px;padding:18px;border:1px solid #434b39;line-height:1.8}.card-limit summary,.datacard summary{cursor:pointer;color:#d6be85}.card-limit p{font-size:13px}.card-finish{margin:35px 0;padding:22px;border:1px solid #536044;line-height:1.8}.card-finish p{font-size:13px;max-width:720px}@media(max-width:850px){.datacard-grid{grid-template-columns:1fr}.card-result-heading{align-items:start;flex-direction:column}}.card-controls select{max-width:600px}

.history-selection{display:flex;gap:12px;align-items:center;cursor:pointer;color:#e2c787;font-size:13px}.history-selection input{width:18px;height:18px}.history-images{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.historical-card{grid-column:1/-1}.historical-card .history-images img{max-height:650px}.historical-card summary{margin:12px 0}.card-result-heading a[aria-disabled=true]{opacity:.45;cursor:default}.historical-card pre{white-space:pre-wrap}@media(max-width:520px){.history-images{grid-template-columns:1fr}}
.card-controls form>label select{width:100%;min-width:0}.card-passport input[type=file]{position:absolute;width:1px;height:1px;opacity:0;overflow:hidden}.card-controls form{align-items:flex-end}.card-controls form>label{min-width:210px}

.datacard img[role=button]{cursor:zoom-in}.datacard img[role=button]:focus-visible{outline:3px solid #d6be85;outline-offset:4px}.card-image-viewer{max-width:96vw;max-height:95vh;border:1px solid #ad9663;padding:12px;background:#111813;color:#d6d7c4}.card-image-viewer::backdrop{background:#000c}.card-image-tools{display:flex;flex-wrap:wrap;gap:12px;align-items:center;margin-bottom:12px;font-size:12px}.card-image-tools span{margin-right:auto}.card-image-tools button{padding:8px;color:#d6be85}.card-image-scroll{overflow:auto;max-height:calc(95vh - 70px)}.card-image-scroll img{display:block;margin:auto;max-width:90vw;max-height:80vh;object-fit:contain}.card-image-viewer.actual-size .card-image-scroll img{max-width:none;max-height:none}

.rule-diff{line-height:2;white-space:normal}.rule-diff del{color:#ffb6b6;background:#712b2b;padding:2px 4px;text-decoration:line-through}.rule-diff ins{color:#c5f9c7;background:#25582d;padding:2px 4px;text-decoration:none}.rule-change{border-left:3px solid #ae9969;padding:8px 18px;margin:14px 0}.historical-card[hidden]{display:none}.card-result-heading select{max-width:100%}
.rules-heading{margin-bottom:2rem}.rules-heading .search-form{max-width:800px}.rules-heading .search-form label{display:block;margin-bottom:.6rem}.rules-heading .search-form>div{display:flex;gap:.5rem}.rules-heading input{width:100%;min-width:0;padding:.8rem;border:1px solid var(--border);border-radius:6px;background:var(--panel);color:inherit;font:inherit}.rules-layout{display:grid;grid-template-columns:265px minmax(0,1fr);gap:2.5rem;align-items:start}.rules-outline{position:sticky;top:90px;max-height:calc(100vh - 110px);overflow:auto;padding-right:1rem;font-size:.88rem}.rules-outline h2{font-size:.95rem;margin:1.5rem 0 .5rem}.rules-outline ol,.rules-outline ul{list-style:none;padding:0;margin:0}.rules-outline a{display:block;padding:.45rem .5rem;text-decoration:none;border-radius:4px}.rules-outline a[aria-current],.rule-filters a[aria-current]{background:rgba(170,151,90,.18);font-weight:bold}.rules-outline ul{border-left:1px solid var(--border);margin-left:.5rem;padding-left:.4rem;font-size:.82rem}.rules-outline .level-3{padding-left:.8rem}.rules-body{min-width:0;max-width:1050px}.rules-body h1{line-height:1.2}.rule-edition{opacity:.75}.rule-status{border-left:3px solid #a99563;padding:1rem 1.3rem;background:rgba(170,151,90,.08);margin:1.6rem 0}.rule-status p:last-child{margin-bottom:0}.rule-actions,.rule-filters{display:flex;gap:.7rem;flex-wrap:wrap;margin:1.3rem 0}.rule-filters a{padding:.55rem .8rem;border:1px solid var(--border);border-radius:5px;text-decoration:none}.rules-group{margin:2rem 0}.rule-chapter-card,.rule-source{display:flex;flex-direction:column;gap:.3rem;padding:1rem 1.2rem;margin:.55rem 0;border:1px solid var(--border);border-radius:7px;text-decoration:none;background:rgba(130,150,120,.035)}.rule-chapter-card span,.rule-source span{font-size:.92rem;opacity:.75}.rule-chapter-card:hover,.rule-source:hover{border-color:#a99563}.rules-prose{max-width:none}.rules-prose h2,.rules-prose h3{scroll-margin-top:90px}.rules-prose table{display:block;overflow-x:auto;border-collapse:collapse;font-size:.88em;max-width:100%}.rules-prose th,.rules-prose td{border:1px solid var(--border);padding:.55rem .7rem;min-width:100px;vertical-align:top}.rules-prose th{background:rgba(170,151,90,.12)}.rules-prose blockquote{border-left:3px solid #a99563;padding-left:1rem}.rule-chapter-sources{border-top:1px solid var(--border);margin-top:3rem;padding-top:1rem;font-size:.92rem}.rule-pdf{width:100%;height:78vh;border:1px solid var(--border);border-radius:6px;background:#fff}.rule-search-hit{padding:1rem 0;border-bottom:1px solid var(--border)}.rule-search-hit>a{display:block;padding:.3rem 0}.rule-search-hit h2{font-size:1.25rem}@media(max-width:1100px){.rules-layout{grid-template-columns:220px minmax(0,1fr);gap:1.3rem}}@media(max-width:760px){.rules-layout{display:block}.rules-outline{position:static;max-height:240px;margin-bottom:2rem;border:1px solid var(--border);padding:.8rem}.rules-heading .search-form>div{flex-wrap:wrap}.rule-actions .button{white-space:normal}.rule-pdf{height:65vh}}
.rules-layout,.rules-heading{--border:#484b40;--panel:#1b211d}.light-paper .rules-layout,.light-paper .rules-heading{--border:#b7ad97;--panel:#f7f1e4}.rules-body p{margin:.8rem 0}.rules-body h2{margin:1.5rem 0 .8rem}.rules-body h3{margin:1.2rem 0 .6rem}
.rule-original-page{display:block;width:100%;height:auto;background:white;border:1px solid var(--border);margin:1rem 0}.rule-page-toolbar{display:flex;gap:.7rem;align-items:center;flex-wrap:wrap;margin:1rem 0}.rule-page-toolbar select{padding:.6rem;background:var(--panel);color:inherit;border:1px solid var(--border)}.rule-extracted{margin:1.5rem 0;border:1px solid var(--border);padding:1rem}.rule-extracted summary{cursor:pointer}.rule-extracted pre{white-space:pre-wrap;overflow-wrap:anywhere;font-size:14px;line-height:1.5}.rules-heading .search-form{display:block;padding:1rem}.rules-heading .search-form>div input{flex:1;max-width:none}.rules-heading .search-form label{font-size:.95rem}
.competition-guide{border:1px solid var(--line, #484b40);background:rgba(170,151,90,.06);padding:1rem 1.4rem;margin:0 0 1.5rem;line-height:1.65;font-size:.93rem}.competition-guide p{margin:.5rem 0}.competition-guide a{text-decoration:underline}.competition-guide summary{cursor:pointer;color:var(--gold, #c2a56b)}.competition-filters{flex-wrap:wrap;align-items:end}.competition-filters .search-form{flex:1 1 280px}.season-group{margin:2.8rem 0}.season-heading{display:flex;justify-content:space-between;align-items:center;gap:1rem;border-bottom:1px solid var(--line, #484b40);padding-bottom:1rem;margin-bottom:1.4rem}.season-heading h2{margin:.35rem 0}.season-heading>p{max-width:360px;font-size:.92rem;line-height:1.5;opacity:.8}.season-group .team-card{height:auto;min-height:410px}.team-competition{margin:1rem 0;font-size:.86rem;line-height:1.45}.rotation-status{display:inline-block;padding:.25rem .5rem;border:1px solid currentColor;border-radius:3px;color:#b7cda1}.rotation-status.declassified,.rotation-status.historical,.rotation-status.unconfirmed{color:#c6b493}.rotation-end{margin:.65rem 0}.competition-values{display:flex;flex-wrap:wrap;gap:.5rem;align-items:center}.tier{border-radius:3px;padding:.3rem .5rem;background:rgba(170,151,90,.14)}.tier-Top{color:#ead285}.tier-Upper{color:#b7d6a4}.sample-size{opacity:.8;font-size:.8rem;margin:.6rem 0}.light-paper .rotation-status{color:#416036}.light-paper .rotation-status.declassified,.light-paper .rotation-status.historical,.light-paper .rotation-status.unconfirmed{color:#71542b}.light-paper .tier-Top{color:#765307}.light-paper .tier-Upper{color:#37522b}@media(max-width:760px){.season-heading{display:block}.competition-filters .faction-filter{flex:1 1 140px}.season-group .team-card{min-height:360px}}

/* Compact Classified label and five-field competitive tier scale. */
.meta-table-wrap{overflow-x:auto}.meta-table{width:100%;border-collapse:collapse;font-size:.82rem}.meta-table th,.meta-table td{padding:.6rem;text-align:left;border-bottom:1px solid var(--line);vertical-align:top}.meta-table th{font-weight:600}.meta-table small{display:inline-block;max-width:260px}.meta-comparison summary{padding:.4rem 0}
.rotation-status.classified,.season-classified.classified{color:#9bdd9c}
.rotation-status.declassified,.season-classified.declassified{color:#ff9999}
.rotation-status{font-weight:650;border:0;padding:0}
.competition-values{display:grid;gap:.65rem;margin-top:.85rem}
.tier-row{display:flex;align-items:center;gap:.6rem;width:100%}
.tier-scale{display:grid;grid-template-columns:repeat(5,22px);gap:3px;flex:none}
.tier-field{display:flex;align-items:center;justify-content:center;width:22px;height:20px;border:1px solid rgba(194,165,107,.22);border-radius:1px;color:#f0e5ce;position:relative}
.tier-field-D{background:#65383f}.tier-field-C{background:#765039}.tier-field-B{background:#786638}.tier-field-A{background:#59653b}.tier-field-S{background:#3b6147}
.tier-mark{font-size:11px;font-weight:650;line-height:1}
.tier-field:not(.selected) .tier-mark{color:rgba(255,255,255,.35)}
.tier-field.selected{border-color:#c2a56b;outline:none;box-shadow:inset 0 0 0 1px rgba(194,165,107,.18)}
.light-paper .rotation-status.classified,.light-paper .season-classified.classified{color:#9bdd9c}
.light-paper .rotation-status.declassified,.light-paper .season-classified.declassified{color:#ff9999}
.light-paper .tier-field.selected{border-color:#c2a56b;outline:none;box-shadow:inset 0 0 0 1px rgba(194,165,107,.18)}
.season-heading>.season-classified{opacity:1;font-weight:650}

/* Shared visual system for the local web and desktop archive. */
:root {
  --canvas: #0e1014;
  --surface: #171a20;
  --surface-raised: #1d2129;
  --line: #30343e;
  --gold: #d6b779;
  --text: #eeeef0;
  --muted: #a9adb8;
  --border: var(--line);
  --panel: var(--surface);
}
body { background: var(--canvas); color: var(--text); font-family: "Segoe UI Variable", "Segoe UI", sans-serif; }
h1,h2,h3 { font-family: "Segoe UI Variable Display", "Segoe UI", sans-serif; font-weight: 600; letter-spacing: -.035em; }
a,button { transition: background .18s, color .18s, border-color .18s, transform .18s; }
:is(a,button,input,select,textarea):focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }
button { border-color: var(--line); border-radius: 8px; color: var(--text); }
button:hover { background: var(--surface-raised); color: var(--gold); }
.sidebar { width: 238px; padding: 34px 20px 24px; background: #12151a; border-color: var(--line); }
.brand { gap: 11px; font-size: 18px; letter-spacing: 2.4px; color: #f0e5cf; }
.brand-sigil { width: 42px; height: 46px; display: grid; place-items: center; border: 1px solid #d6b77940; border-radius: 11px; background: #d6b7790a; font-size: 31px; color: var(--gold); }
.brand small { margin-top: 5px; font-size: 9px; letter-spacing: 1.4px; color: var(--muted); }
.sidebar-label { margin: 46px 14px 16px; color: #858b99; font-size: 10px; }
.sidebar nav { gap: 6px; }
.sidebar nav a { padding: 13px 14px; border: 1px solid transparent; border-radius: 9px; color: #b3b8c3; font-weight: 500; }
.sidebar nav a span { color: inherit; display: flex; align-items: center; }
.nav-icon { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.sidebar nav a:hover { background: #ffffff06; color: var(--text); }
.sidebar nav a.active { background: #d6b77912; border-color: #d6b7792b; color: #e6cc99; }
.sidebar-note { border-color: var(--line); margin-bottom: 32px; }
.sidebar-note .seal { color: #d6b77980; font-size: 36px; }
.sidebar-note p { font-size: 18px; color: #bfc1c9; }
.sidebar-note>span:last-child,.sidebar-bottom { color: #969caa; }
.workspace { margin-left: 238px; }
.topbar { position: sticky; top: 0; z-index: 4; height: 72px; padding: 0 42px; border-color: var(--line); background: #0e1014ed; backdrop-filter: blur(16px); color: #c2c6d0; }
#breadcrumb { font-weight: 500; }
.top-actions { gap: 10px; }
.top-actions button { display: grid; place-items: center; width: 36px; height: 36px; border: 1px solid var(--line); border-radius: 9px; font-size: 21px; }
main { padding-top: 36px; }
.eyebrow { color: var(--gold); font-size: 10px; letter-spacing: 2.1px; }
.hero,.feature,.team-hero { border-color: #41434b; border-radius: 16px; box-shadow: 0 16px 45px #0003; }
.hero { min-height: 470px; }
.hero-copy { padding: 65px 48px 85px; max-width: 670px; }
.hero h1 { font-size: clamp(40px,4.3vw,64px); color: #f6f2e9; font-weight: 650; letter-spacing: -.045em; line-height: 1.06; margin: 23px 0; }
.hero-shade { background: linear-gradient(90deg,#0c1015f2,#0c1015a8 48%,#0c10151a 85%); }
.hero-copy p { font-size: 15px; color: #c2c6ce; max-width: 390px; }
.hero-caption { left: 48px; color: #b1b5bd; font-size: 9px; }
.button { border-radius: 8px; padding: 12px 19px; background: var(--gold); border-color: var(--gold); color: #17191e; font-size: 13px; letter-spacing: 0; }
.button:hover { background: #ead09b; border-color: #ead09b; color: #17191e; }
.button.subtle { background: #ffffff04; color: #dfc58f; border-color: #d6b77940; }
.button.subtle:hover { background: #d6b77914; }
.home-section { margin-top: 46px; }
.section-heading { margin-bottom: 23px; }
.section-heading h2 { font-size: 30px; margin-top: 9px; }
.text-link,.card-link { color: var(--gold); font-size: 12px; }
.feature { height: 290px; }
.feature:after { background: linear-gradient(90deg,#0d1117ed,#0d11178c 45%,transparent 80%); }
.feature-copy { padding: 35px 38px; }
.feature h2 { color: #f1eee7; font-size: 40px; }
.feature .button { border-radius: 6px; background: #0e101480; font-size: 12px; }
.article-grid,.team-grid { gap: 20px; }
.article-card { background: linear-gradient(145deg,#1d2129,#15181e); border-color: var(--line); border-radius: 12px; padding: 26px; min-height: 210px; }
.article-card h3 { color: #ebe9e3; font-size: 23px; line-height: 1.25; }
.article-card p { color: #b4b9c4; font-size: 13px; }
.article-card:hover,.team-card:hover { border-color: #d6b77980; transform: translateY(-3px); box-shadow: 0 12px 28px #0003; }
.team-card { border-radius: 12px; border-color: var(--line); background: var(--surface); min-height: 245px; }
.team-card.has-art:after { background: linear-gradient(0deg,#101319fc 4%,#101319cf 42%,#10131908); }
.ambient-card { background-image: linear-gradient(0deg,#101319fc,#10131988 65%,#10131933),url('/assets/cathedral.png'); }
.team-card-copy { padding: 26px; }
.team-card h3 { font-size: 26px; color: #eeece7; line-height: 1.2; }
.team-card .eyebrow { color: #d2c1a0; font-size: 9px; }
.card-ornament { color: var(--gold); }
.story-card { padding: 0 0 25px; overflow: hidden; }
.story-card .story-cover { height: 185px; border-color: var(--line); }
.page-heading h1 { font-size: clamp(38px,4vw,52px); color: #f1eee7; margin-top: 16px; }
.page-heading p { color: #b2b7c2; font-size: 15px; line-height: 1.8; }
.search-form { background: var(--surface); border-color: var(--line); border-radius: 9px; padding: 10px 14px; }
.search-form input { color: var(--text); font-size: 14px; }
.search-form input::placeholder { color: #a1a7b4; }
.faction-filter { color: #b2b7c2; font-size: 12px; gap: 7px; }
.faction-filter select { height: 51px; }
:is(.faction-filter select,.card-team-choice select,.card-controls select,.card-controls input[type=date],.team-rules-tools input,.team-rule-template input,.team-rule-template textarea) { background: var(--surface); color: var(--text); border: 1px solid var(--line); border-radius: 8px; }
.result-count,.back-link { color: #afb5c2; font-size: 12px; }
.team-hero h1 { font-size: clamp(34px,4vw,52px); color: #f5f0e7; }
.team-hero .hero-shade { background: linear-gradient(90deg,#0c1015e6,#0c10156b 65%,#0c101520),linear-gradient(0deg,#0c101588,transparent); }
.team-tabs { gap: 10px; padding: 12px 0; margin-bottom: 28px; border-color: var(--line); }
.team-tabs a { padding: 10px 16px; border: 1px solid transparent; border-radius: 7px; font-size: 13px; color: #afb5c2; }
.team-tabs a:hover { background: #ffffff06; }
.team-tabs a[aria-current] { border-color: #d6b77940; background: #d6b77912; color: #e6cc99; }
.reading { background: #171a20; border-color: var(--line); border-radius: 14px; padding: 0 44px 40px; }
.reader-toolbar { border-color: var(--line); color: #afb5c2; font-size: 12px; flex-wrap: wrap; }
.reader-toolbar>div { flex-wrap: wrap; }
.reader-toolbar button { font-size: 12px; color: #dfc58f; border-radius: 6px; }
.prose { color: #d0d2d8; line-height: 1.95; }
.prose h1,.prose h2,.prose h3 { font-family: Georgia,serif; font-weight: 400; letter-spacing: -.02em; color: #e9dfc9; }
.prose-illustration img,.illustration-gallery img { border-radius: 10px; border-color: #424651; }
.prose-illustration figcaption,.illustration-gallery figcaption { color: #afb5c2; }
.empty { background: var(--surface); border-color: var(--line); border-radius: 14px; }
.empty h2 { color: #eee8da; }
.empty p { color: #afb5c2; font-size: 14px; }
.page-footer,.reading-end { color: #959dab; border-color: var(--line); }
:is(.card-intro,.card-controls,.datacard,.card-limit,.card-finish,.competition-guide,.team-rules-scope,.team-rule-card,.team-rule-template fieldset,.rule-chapter-card,.rule-source,.rule-extracted) { background: var(--surface); border-color: var(--line); border-radius: 11px; }
.card-help,.card-status,.card-team-choice,.card-controls label { color: #bcc2cc; }
.datacard pre,.card-limit pre { color: #cdd1da; }
.card-image-viewer { background: var(--canvas); border-color: #d6b77960; border-radius: 12px; }
.rules-layout,.rules-heading { --border: var(--line); --panel: var(--surface); }
.rules-outline a { color: #bbc1cc; padding: 9px 12px; border-radius: 7px; }
.rules-outline a[aria-current],.rule-filters a[aria-current] { background: #d6b77915; color: #e6cc99; }
.rule-status { background: #d6b7790a; border-left-color: var(--gold); border-radius: 0 9px 9px 0; }
.rule-chapter-card,.rule-source { padding: 18px 20px; }
.rule-chapter-card span,.rule-source span { color: #b4bac5; opacity: 1; }
.team-rules-header,.team-rule-section>header,.team-rules-outline,.team-rule-transcript { border-color: var(--line); }
.team-rules-header p,.team-rules-tools label,.team-rules-outline a,.team-rules-scope,.team-rule-transcript,.team-rule-transcript pre,.team-rule-template p { color: #b9c0cc; }
.team-rules-stamps>span { border-color: var(--line); border-radius: 7px; }
.team-rule-card summary strong { color: #eee8dc; font-weight: 550; }
.team-rule-card[open]>summary { background: #ffffff04; border-color: var(--line); }
.team-rule-kind,.team-rule-pages,.team-rule-figure figcaption { color: #aab3c1; }
.competition-guide { color: #bbc1cc; font-size: 13px; }
.season-heading { border-color: var(--line); }
.season-heading h2 { font-size: 30px; }
.sample-size { color: #b2b8c4; opacity: 1; }
/* Status colors and the compact 22 × 20 tier fields retain their meaning. */
.light-paper .reading { background: #f0eadf; border-color: #c9bfac; }
.light-paper .prose { color: #343841; }
.light-paper .prose h1,.light-paper .prose h2,.light-paper .prose h3 { color: #292d35; }
.light-paper .reader-toolbar { color: #615b50; border-color: #cec4b2; }
.light-paper .reader-toolbar button { color: #705526; }
.light-paper .prose-illustration figcaption,.light-paper .illustration-gallery figcaption { color: #655e52; }
.light-paper .reading-end { color: #696153; }
.light-paper .rules-layout,.light-paper .rules-heading { --border: #c9bfac; --panel: #f5f0e6; }
.light-paper .rules-outline a { color: #bbc1cc; }
.light-paper .rules-outline a[aria-current] { color: #e6cc99; }
.light-paper .rule-chapter-card,.light-paper .rule-source { background: var(--surface); border-color: var(--line); }
.light-paper .team-rules-header p,.light-paper .team-rules-tools label,.light-paper .team-rules-outline a { color: #b9c0cc; }
#notice { border-radius: 10px; background: #dfc58f; color: #17191e; }
@media(min-width:1600px) { main { padding: 40px 55px 60px; } .hero { min-height: 510px; } }
@media(max-width:1100px) { .sidebar { width: 205px; padding: 28px 14px; } .brand { font-size: 16px; letter-spacing: 1.6px; } .brand-sigil { width: 34px; flex: none; } .workspace { margin-left: 205px; } main { padding: 28px; } .topbar { padding: 0 28px; } .hero-copy { padding: 48px 32px 75px; } .hero-caption { left: 32px; } .team-tabs { gap: 5px; } .team-tabs a { padding: 10px 12px; } }
@media(max-width:850px) { .sidebar { position: static; width: 100%; padding: 18px 22px 12px; } .workspace { margin-left: 0; } .sidebar nav { flex-wrap: nowrap; overflow-x: auto; gap: 5px; padding-bottom: 5px; } .sidebar nav a { flex: none; padding: 10px 12px; border: 1px solid transparent; font-size: 12px; } .sidebar nav a.active { border-color: #d6b7792b; } .sidebar nav a span { width: 18px; } .brand-sigil { height: 37px; } .topbar { height: 58px; padding: 0 22px; } main { padding: 22px; } .hero { min-height: 425px; } .hero h1 { font-size: 48px; } .hero-copy { max-width: 570px; } .hero-caption { font-size: 8px; } .reading { padding: 0 26px 30px; } .season-group .team-card { min-height: 390px; } }
@media(max-width:520px) { main { padding: 16px; } .sidebar { padding: 16px 16px 9px; } .hero,.feature,.team-hero { border-radius: 12px; } .hero { min-height: 440px; } .hero-copy { padding: 36px 24px 80px; } .hero h1 { font-size: 40px; } .hero-copy p { font-size: 14px; } .hero-caption { left: 24px; right: 24px; font-size: 7px; letter-spacing: 1px; } .hero-shade { background: linear-gradient(90deg,#0c1015ed,#0c10158f); } .hero .button { gap: 10px; padding: 12px 14px; font-size: 12px; } .feature-copy { padding: 28px 24px; } .section-heading { flex-wrap: wrap; gap: 12px; } .section-heading h2,.season-heading h2 { font-size: 27px; } .section-heading .text-link { font-size: 12px; } .team-tabs a { font-size: 12px; padding: 9px 12px; } .reading { padding: 0 19px 25px; } .reader-toolbar>div { gap: 5px; } .competition-filters .faction-filter { min-width: 0; } .competition-filters select { width: 100%; } .search-form { min-width: 0; } .card-controls form>label { min-width: 0; flex-basis: 100%; } .team-hero h1 { font-size: 35px; } }
@media(prefers-reduced-motion:reduce) { a,button,.article-card,.team-card { transition: none; } }
/* Shared navigation and scrollbars stay legible in both reader modes. */
html { scrollbar-color: #454b57 #111419; scrollbar-width: thin; }
.sidebar nav { scrollbar-width: thin; }
.light-paper .team-rules-stamps strong { color: #e5d5aa; }
.light-paper .team-rules-stamps .team-rules-checked { color: #b5d4b6; }
.ops-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(170px,1fr)); gap: 16px; margin: 22px 0 32px; }
.ops-card { padding: 12px; border-radius: 12px; }
.ops-card h3 { font-size: 17px; margin: 8px 0 14px; }
.ops-card .eyebrow { font-size: 10px; margin: 0; }
.ops-card figure { margin: 0; }
.ops-card img { height: auto; max-height: none; cursor: zoom-in; background: white; border-radius: 3px; }
.ops-card figcaption { font-size: 11px; }
.ops-intro { padding: 20px; border: 1px solid var(--line); border-radius: 12px; margin: 20px 0; font-size: 14px; line-height: 1.7; }
.ops-inline { font-family: var(--sans, sans-serif); font-size: 14px; }
@media(max-width:520px) { .ops-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; } .ops-card { padding: 8px; } .ops-card h3 { font-size: 14px; } }
/* Handbook illustrations retain their own contrast on dark and light reader pages. */
.rules-prose .rule-diagram { margin: 1.8em 0; padding: 0; overflow: hidden; border: 1px solid var(--line, #49505a); border-radius: 14px; background: #171d25; }
.rules-prose .rule-diagram img { display: block; width: 100%; height: auto; cursor: zoom-in; border-radius: 0; }
.rules-prose .rule-diagram img:focus-visible { outline: 3px solid #d7ba7b; outline-offset: -4px; }
.rules-prose .rule-diagram figcaption { padding: 12px 16px; color: #ece8df; font: 15px/1.6 Arial, sans-serif; }
.rules-prose .rule-diagram figcaption span { color: #b7c1cc; }
.shared-print-label{display:flex;align-items:center;gap:12px;margin-bottom:18px;cursor:pointer;color:#e2c787;font-size:13px}.shared-print-label input{width:18px;height:18px}.shared-equipment-results>.button{display:inline-flex;margin:20px 12px 0 0}.shared-equipment-results>.button[aria-disabled=true]{opacity:.45;cursor:default}.shared-import-preview{flex-basis:100%;padding:12px 0}.shared-equipment-results article>.button{margin-top:18px}
.shared-equipment-results>a.button{color:#151719}.shared-equipment-results .card-passport>label{border:1px solid #434b39;border-radius:8px;padding:12px 18px;cursor:pointer}

/* Old and latest cards remain side by side, with explanation below. */
.card-comparison-pair{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin:22px 0}.card-comparison-pair>section{min-width:0;padding:14px;border:1px solid var(--line,#434b39);border-radius:8px}.card-comparison-pair h4{margin:0 0 14px;font-size:16px;color:var(--gold,#d6be85)}.card-comparison-pair figure{margin:14px 0}.card-comparison-pair img{max-height:650px}.card-change-explanation{border-top:1px solid var(--line,#434b39);padding-top:20px;line-height:1.8}.card-change-explanation>h4{font-size:20px;margin:0 0 12px}.card-change-explanation h5{font-size:14px;margin:12px 0 8px}.card-change-explanation p{margin:8px 0;overflow-wrap:anywhere}.card-change-explanation details{margin-top:14px}.card-pair-empty{padding:22px 0;color:#bcc2cc}.rule-meaning{font-weight:600}@media(max-width:520px){.card-comparison-pair{gap:8px}.card-comparison-pair>section{padding:8px}.card-comparison-pair h4{font-size:13px}.card-comparison-pair figcaption{font-size:10px}.historical-card{padding:12px}}
.download-deck{margin:0 0 32px;padding:28px;border:1px solid var(--line,#4a463c);border-radius:16px;background:var(--panel,#202327)}
.download-deck h2{margin-top:8px}.download-gallery{margin-top:24px}.download-gallery>summary{cursor:pointer;padding:12px 0}.download-gallery .datacard-grid{margin-top:16px}.download-faces{display:flex;gap:12px;align-items:start}.download-face{margin:0;flex:1;min-width:0}.download-face img{width:100%;height:auto;object-fit:contain}.download-face figcaption{margin-top:8px;font-size:12px}.download-deck .card-help{max-width:75ch}
@media(max-width:600px){.download-deck{padding:18px}.download-faces{flex-wrap:wrap}.download-face{flex-basis:45%}}

/* Paired download actions; expanded previews fill the panel. */
.download-deck{display:grid;grid-template-columns:170px 240px minmax(0,1fr);gap:14px;align-items:start}
.download-deck>h2{grid-column:1/-1;margin:0 0 10px}
.download-deck>.button,.download-deck>.download-gallery>summary{display:flex;align-items:center;justify-content:center;gap:10px;box-sizing:border-box;min-height:48px;padding:12px 18px;border:1px solid var(--gold);border-radius:10px;font-family:inherit;font-size:13px;line-height:1.4;text-decoration:none;cursor:pointer;transition:background .18s,border-color .18s,box-shadow .18s}
.download-deck>.button{grid-column:1;color:#17191e;background:var(--gold);font-weight:600}
.download-deck>.button:hover{background:#e5c78d;border-color:#e5c78d;box-shadow:0 4px 16px #0002}
.download-deck>.download-gallery{display:contents}
.download-deck>.download-gallery>summary{grid-column:2;list-style:none;color:var(--gold);background:transparent;border-color:var(--line);font-weight:600;margin:0}
.download-deck>.download-gallery>summary::-webkit-details-marker{display:none}
.download-deck>.download-gallery>summary:hover,.download-deck>.download-gallery[open]>summary{border-color:var(--gold);background:#d6b7790d}
.download-deck>.download-gallery>summary:focus-visible{outline:2px solid var(--gold);outline-offset:4px}
.download-action-icon,.download-toggle-icon{width:19px;height:19px;flex-shrink:0;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.download-toggle-icon{width:15px;height:15px;transition:transform .18s}
.download-gallery[open] .download-toggle-icon{transform:rotate(180deg)}
.download-deck>.download-gallery>.datacard-grid{grid-column:1/-1;margin:10px 0 0;padding-top:24px;border-top:1px solid var(--line)}
@media(max-width:600px){.download-deck{grid-template-columns:minmax(0,1fr);gap:12px}.download-deck>.button,.download-deck>.download-gallery>summary{grid-column:1;width:100%}.download-deck>h2{margin-bottom:6px}}
@media(prefers-reduced-motion:reduce){.download-deck>.button,.download-deck>.download-gallery>summary,.download-toggle-icon{transition:none}}

.download-deck>.download-gallery::details-content{display:contents}

.download-deck>.download-gallery:not([open])>.datacard-grid{display:none}
.download-deck>[data-deck-update]{grid-column:1/-1;min-width:0}
.deck-update{margin:18px 0 26px;border:1px solid var(--line,#4a463c);border-radius:12px;background:var(--panel,#202327)}
.deck-update>summary{cursor:pointer;padding:16px 20px;font-weight:600;color:var(--gold,#c6b68e)}
.deck-update>summary span{display:block;font-size:12px;font-weight:400;margin-top:6px;color:var(--muted,#a7a5a0)}
.deck-update-body{padding:0 20px 20px}.deck-update-body form{display:flex;flex-wrap:wrap;align-items:end;gap:12px}
.deck-update-body label{display:block}.deck-update-body input:not([type=checkbox]),.deck-update-body select{display:block;max-width:100%;margin-top:6px;padding:10px;border:1px solid var(--line,#4a463c);border-radius:8px;background:var(--bg,#17191e);color:inherit;font:inherit}
.deck-change-list article{padding:16px 0;border-top:1px solid var(--line,#4a463c)}
.deck-change-images{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-top:14px}.deck-change-images img{display:block;width:100%;height:auto;margin:10px 0}
.deck-new-image{width:min(100%,330px);height:auto}.deck-update-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:18px}
.deck-update button{font:inherit;cursor:pointer}.deck-update input[type=checkbox]{accent-color:var(--gold,#c6b68e)}
@media(max-width:600px){.deck-update-body{padding:0 12px 16px}.deck-update-actions .button,.deck-update-body form label{width:100%}.deck-change-images{grid-template-columns:1fr}}

/* The theme applies to the whole shared desktop/web interface. */
html.light-paper {
  color-scheme: light;
  scrollbar-color: #a69e90 #f4f1ea;
  --canvas: #f4f1ea;
  --surface: #fffdf8;
  --surface-raised: #eae4d9;
  --line: #c9c1b3;
  --gold: #76551d;
  --text: #292d35;
  --muted: #605e59;
  --bg: var(--canvas);
}
.light-paper .sidebar { background: #ece7dd; }
.light-paper .topbar { background: #f4f1eaed; color: var(--text); }
.light-paper .brand,.light-paper .sidebar-note p { color: var(--text); }
.light-paper .sidebar-label,.light-paper .sidebar-bottom,.light-paper .sidebar-note>span:last-child { color: var(--muted); }
.light-paper .sidebar nav a { color: #535660; }
.light-paper .sidebar nav a:hover,.light-paper .team-tabs a:hover { background: #76551d0b; color: var(--text); }
.light-paper .sidebar nav a.active,.light-paper .team-tabs a[aria-current],.light-paper .rules-outline a[aria-current],.light-paper .rule-filters a[aria-current] { background: #76551d10; border-color: #76551d55; color: var(--gold); }
.light-paper .page-heading h1,.light-paper .article-card h3,.light-paper .empty h2 { color: var(--text); }
.light-paper .article-card { background: var(--surface); }
.light-paper .page-heading p,.light-paper .article-card p,.light-paper .empty p,.light-paper .faction-filter,.light-paper .result-count,.light-paper .back-link,.light-paper .page-footer,.light-paper .team-tabs a,.light-paper .competition-guide,.light-paper .card-help,.light-paper .card-status,.light-paper .card-team-choice,.light-paper .card-controls label { color: var(--muted); }
.light-paper .search-form input::placeholder { color: var(--muted); }
.light-paper .button { background: #d6b779; border-color: #a18249; color: #17191e; }
.light-paper .button:hover { background: #e5c78d; }
.light-paper .button.subtle { background: transparent; color: var(--gold); border-color: #a18249; }
.light-paper .button.subtle:hover { background: #76551d10; }
.light-paper .download-deck>.button { background: #d6b779; border-color: #a18249; }
.light-paper .reading { background: var(--surface); border-color: var(--line); }
.light-paper .reader-toolbar { border-color: var(--line); color: var(--muted); }
.light-paper .reading-end,.light-paper .prose-illustration figcaption,.light-paper .illustration-gallery figcaption { color: var(--muted); }
.light-paper .rules-outline a,.light-paper .team-rules-header p,.light-paper .team-rules-tools label,.light-paper .team-rules-outline a,.light-paper .team-rule-kind,.light-paper .team-rule-pages,.light-paper .team-rule-figure figcaption,.light-paper .team-rule-transcript,.light-paper .team-rule-transcript pre,.light-paper .team-rule-template p,.light-paper .datacard pre,.light-paper .card-limit pre,.light-paper .card-pair-empty { color: var(--muted); }
.light-paper .team-rule-card summary strong,.light-paper .team-rules-stamps strong,.light-paper .team-rules-scope strong,.light-paper .team-rule-template legend,.light-paper .datacard a,.light-paper .card-limit a,.light-paper .card-intro a,.light-paper .card-limit summary,.light-paper .datacard summary { color: var(--gold); }
.light-paper .team-rules-scope,.light-paper .team-rule-card,.light-paper .team-rule-template fieldset { background: var(--surface); color: var(--text); border-color: var(--line); }
.light-paper .team-rules-tools input,.light-paper .team-rule-template input,.light-paper .team-rule-template textarea { background: var(--surface); color: var(--text); }
.light-paper .team-rules-stamps .team-rules-checked { color: #34593a; background: #34593a0d; }
.light-paper .team-rules-outline a:hover { color: var(--gold); }
.light-paper .team-rule-section>header>small,.light-paper .team-rules-outline a>small { color: var(--muted); }
.light-paper .rule-chapter-card span,.light-paper .rule-source span { color: var(--muted); }
.light-paper .team-card.has-art:after { background: linear-gradient(0deg,rgba(255,253,248,.88) 4%,rgba(255,253,248,.60) 42%,rgba(255,253,248,0)); }
.light-paper .ambient-card { background-image: linear-gradient(0deg,rgba(255,253,248,.88),rgba(255,253,248,.45) 65%,rgba(255,253,248,.08)),url('/assets/cathedral.png'); }
.light-paper .team-card h3,.light-paper .competition-values strong { color: var(--text); }
.light-paper .team-card .eyebrow,.light-paper .team-card .card-link { color: var(--gold); }
.light-paper .team-competition,.light-paper .competition-values,.light-paper .sample-size { color: var(--muted); }
.light-paper .rotation-status.classified,.light-paper .season-classified.classified { color: #286038; }
.light-paper .rotation-status.declassified,.light-paper .season-classified.declassified { color: #983c3c; }
.light-paper .rotation-status.historical,.light-paper .rotation-status.unconfirmed { color: #72551e; }
/* Text laid over hero artwork and handbook diagrams keeps its own dark backdrop. */
.light-paper .hero .eyebrow,.light-paper .team-hero .eyebrow { color: #d6b779; }
