:root{--ink:#272333;--muted:#8e8799;--purple:#7658ad;--line:#ece8f0;--bg:#f8f7fa}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--bg);color:var(--ink);font:15px/1.8 -apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif}a{color:inherit;text-decoration:none}button,input{font:inherit}.top{height:72px;background:#171523;color:white;display:flex;align-items:center;padding:0 6%;position:sticky;top:0;z-index:4}.brand{display:flex;gap:12px;align-items:center;line-height:1.2}.brand-icon{font-size:27px;color:#d4b885}.brand b{font-size:17px;letter-spacing:2px}.brand small{display:block;font-size:10px;letter-spacing:3px;color:#b2a6c2;margin-top:5px}.menu{display:none}.layout{max-width:1440px;margin:auto;display:grid;grid-template-columns:270px minmax(0,1fr);min-height:100vh}aside{padding:32px 20px 50px 30px;border-right:1px solid var(--line);background:#fff;position:sticky;top:72px;height:calc(100vh - 72px);overflow:auto}.sidehead{font-weight:700;font-size:15px;display:flex;justify-content:space-between}.sidehead span{font-size:12px;color:#aaa;font-weight:400}.search{display:flex;background:#f5f3f7;border-radius:8px;margin:18px 0;padding:7px 10px;gap:7px;align-items:center;color:#8c809c}.search span{font-size:23px;line-height:1}.search input{border:0;background:transparent;outline:0;min-width:0;width:100%;font-size:13px}nav a{display:block;border-radius:7px;padding:8px 10px;color:#756e7c;font-size:13px;line-height:1.5}nav a:hover,nav a.active{background:#f0ebf7;color:#70539f}main{min-width:0;padding:36px 5.5% 80px}.hero{background:radial-gradient(ellipse at 85% 20%,#806898 0,transparent 34%),linear-gradient(115deg,#201b31,#453452 70%,#716079);border-radius:15px;min-height:300px;position:relative;overflow:hidden;color:white;padding:43px 48px}.eyebrow,.kicker,.article-label{font-size:11px;letter-spacing:2px;color:#cfb68f;font-weight:700}.hero h1{font-size:36px;line-height:1.38;letter-spacing:2px;margin:16px 0 10px}.hero em{font-style:normal;color:#dfc39d}.hero p{max-width:530px;color:#d1c8d7;font-size:14px}.primary{display:inline-flex;gap:36px;background:#d5bd98;color:#292233;font-weight:700;border-radius:6px;padding:10px 17px;margin-top:14px}.hero-art{position:absolute;right:9%;top:30px;width:230px;height:230px;border:1px solid #ffffff35;transform:rotate(45deg);border-radius:22px;display:grid;place-items:center;pointer-events:none}.hero-art:before{content:'';position:absolute;inset:18px;border:1px solid #ffffff2e;border-radius:18px}.hero-art div{transform:rotate(-45deg);font-size:100px;color:#e3c9a055}.section{margin-top:48px}.section-heading{display:flex;align-items:end;justify-content:space-between;margin-bottom:18px}.section-heading h2{font-size:23px;margin:1px 0}.section-heading>span{color:#aaa1af;font-size:12px}.kicker{color:#ab8cb7}.cards{display:grid;grid-template-columns:repeat(4,1fr);gap:13px}.cards a{background:#fff;border:1px solid var(--line);border-radius:10px;padding:20px;display:flex;flex-direction:column;min-height:150px;transition:.2s}.cards a:hover{transform:translateY(-3px);border-color:#c7b4db}.cards i{font-style:normal;font-size:24px;color:#9372b1}.cards b{margin-top:12px}.cards span{font-size:12px;color:#aaa1af;margin-top:auto}.home-list{display:grid;grid-template-columns:1fr 1fr;gap:8px 25px}.home-list a{background:white;border-bottom:1px solid var(--line);padding:12px 14px;font-size:14px}.home-list a:hover{color:var(--purple)}footer{color:#968e9d;border-top:1px solid var(--line);margin-top:55px;padding-top:24px;font-size:13px}footer small{font-size:11px}article{background:#fff;border:1px solid var(--line);border-radius:14px;padding:36px 46px;overflow:hidden}.back{border:0;background:none;color:#8b799c;padding:0;cursor:pointer;margin-bottom:25px}.article-label{color:#ab8cb7}article h2{font-size:28px;line-height:1.4;margin:12px 0 28px;padding-bottom:22px;border-bottom:1px solid var(--line)}article h3{font-size:20px;margin:38px 0 12px;color:#694d87}article h4{font-size:17px;margin:25px 0 10px}article p{line-height:1.95;margin:10px 0;overflow-wrap:anywhere}article p:empty{display:none}article a{color:#7855a2;text-decoration:underline;overflow-wrap:anywhere}article img{display:block;max-width:100%;height:auto;margin:18px auto;border-radius:7px;cursor:zoom-in}article img[src$=".emf"],article img[src$=".wmf"]{display:none}.table-wrap{overflow-x:auto;margin:20px 0;border:1px solid var(--line);border-radius:8px}table{border-collapse:collapse;min-width:100%;font-size:13px}td{border:1px solid var(--line);padding:8px 12px;min-width:110px;vertical-align:top}td p{margin:2px 0}td img{max-width:200px}.article-end{text-align:center;border-top:1px solid var(--line);margin-top:45px;padding-top:25px;color:#a49aab}.article-end span{color:#c2a6d0;font-size:22px}.article-end a{font-size:13px}#no-results{padding:30px;color:#999}#top-button{position:fixed;right:22px;bottom:22px;border:1px solid var(--line);border-radius:50%;background:white;width:42px;height:42px;cursor:pointer;color:#7855a2;box-shadow:0 3px 15px #33204412}#lightbox{position:fixed;inset:0;background:#100d19ed;z-index:10;display:flex;align-items:center;justify-content:center;padding:25px}#lightbox[hidden]{display:none}#lightbox img{max-width:100%;max-height:90vh;object-fit:contain}#lightbox button{position:absolute;right:20px;top:10px;background:none;border:0;color:white;font-size:36px;cursor:pointer}@media(max-width:900px){.cards{grid-template-columns:repeat(2,1fr)}.hero-art{opacity:.5;right:-40px}.hero>*:not(.hero-art){position:relative;z-index:1}}@media(max-width:700px){.top{height:62px;padding:0 18px;justify-content:space-between}.menu{display:block;background:#ffffff12;color:#eee;border:1px solid #ffffff20;border-radius:6px;padding:5px 10px;font-size:13px}.layout{display:block}aside{display:none;position:fixed;z-index:3;top:62px;left:0;bottom:0;width:min(310px,87vw);height:auto;box-shadow:10px 10px 50px #18122230}aside.open{display:block}main{padding:20px 16px 60px}.hero{min-height:270px;padding:32px 25px}.hero h1{font-size:29px}.hero p{font-size:13px;max-width:300px}.hero-art{width:160px;height:160px;top:60px}.section{margin-top:35px}.section-heading>span{font-size:10px}.cards{gap:9px}.cards a{padding:15px;min-height:135px}.home-list{grid-template-columns:1fr;gap:0}article{padding:26px 20px}article h2{font-size:23px}article h3{font-size:18px}td{min-width:105px}}
.copy-code{display:inline-block;margin-left:8px;border:1px solid #e2d6ec;background:#f7f3fa;color:#74518f;border-radius:5px;font-size:11px;line-height:1.5;padding:2px 7px;cursor:pointer}
/* Continuous reading: fixed heading scale and a separate scrollable directory. */
html{scroll-padding-top:88px}.guide-intro{padding:28px 36px;margin-bottom:22px;border-radius:14px;background:linear-gradient(110deg,#242033,#51405b);color:#fff}.guide-intro h1{font-size:30px;line-height:1.35;margin:9px 0;font-weight:750}.guide-intro p{margin:0;color:#e3dbe7;font-size:15px}.guide-intro small{display:block;margin-top:9px;color:#c8bacd;font-size:12px}article{padding:0 46px}.chapter{scroll-margin-top:88px;padding:20px 0 34px;border-bottom:1px solid var(--line)}.chapter:last-child{border-bottom:0}.chapter h2{font-size:25px;line-height:1.45;font-weight:750;margin:12px 0 22px;padding-bottom:16px}.chapter h3{font-size:20px;line-height:1.55;font-weight:700}.chapter h4{font-size:17px;line-height:1.6;font-weight:700}.chapter p,.chapter td{font-size:15px;line-height:1.9}.chapter span[style*="d83931"]{font-weight:700}#search-empty{color:#918b98;font-size:13px}footer{margin-top:30px}@media(max-width:700px){html{scroll-padding-top:74px}.guide-intro{padding:24px 20px}.guide-intro h1{font-size:25px}article{padding:0 20px}.chapter{scroll-margin-top:74px;padding:15px 0 28px}.chapter h2{font-size:22px}.chapter h3{font-size:19px}.chapter h4{font-size:17px}.chapter p,.chapter td{font-size:15px}}
/* Compact chapter reading and collapsible headings */
.chapter{padding:0;border-bottom:1px solid var(--line)}
.chapter summary{display:flex;align-items:center;gap:12px;cursor:pointer;list-style:none;padding:16px 0;scroll-margin-top:88px}
.chapter summary::-webkit-details-marker{display:none}
.chapter summary::before{content:'▾';flex:none;color:#8b70a5;font-size:16px;transition:transform .15s}
.chapter details:not([open])>summary::before{transform:rotate(-90deg)}
.chapter summary h2{font-size:23px;line-height:1.4;margin:0;padding:0;border:0}
.chapter-body{padding:0 0 18px}
.chapter p{margin:0;line-height:1.65}
.chapter h3{margin:18px 0 5px}.chapter h4{margin:12px 0 4px}
.table-wrap{margin:10px 0}td{padding:5px 8px;vertical-align:middle}td p{margin:0}
#chapter-1 td:has(.copy-code){white-space:nowrap;width:1%;min-width:0}
#chapter-1 td:has(.copy-code) p{display:inline}
#chapter-1 td:has(.copy-code) .copy-code{vertical-align:middle;margin-left:6px}
#chapter-1 table{table-layout:auto}#chapter-1 td:not(:has(.copy-code)){min-width:0}
@media(max-width:700px){.chapter summary{padding:13px 0;gap:8px}.chapter summary h2{font-size:20px}.chapter-body{padding-bottom:14px}.chapter p,.chapter td{font-size:15px;line-height:1.6}#chapter-1 td{padding:5px 6px}#chapter-1 td:has(.copy-code) .copy-code{margin-left:4px;padding:1px 4px}}
/* Align guide table content at the top of each cell. */
.chapter td { vertical-align: top; }

/* Light guidebook theme and responsive cards */
:root{--ink:#272333;--muted:#8e8799;--purple:#7658ad;--line:#ece8f0;--bg:#f8f7fa;color-scheme:light}
.nav-group{border-bottom:1px solid #eee8f1;padding:6px 0}.nav-group>summary{list-style:none;cursor:pointer;color:#816095;font-size:13px;font-weight:700;padding:8px 10px}.nav-group>summary::-webkit-details-marker{display:none}.nav-group>summary:before{content:'▾';display:inline-block;margin-right:8px;color:#a58aae}.nav-group:not([open])>summary:before{transform:rotate(-90deg)}
.quick-links{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:0 0 20px}.quick-links a{display:flex;align-items:center;gap:9px;background:#fff;border:1px solid #e9e1ed;border-radius:9px;padding:12px 15px;color:#694f7d;font-weight:700;font-size:14px}.quick-links a:hover{background:#f4eef8;border-color:#c8afd3}.quick-links a span{color:#a782b6;font-size:18px}
.illustrated-cards{border:0;background:transparent;overflow:visible}.illustrated-cards table,.illustrated-cards tbody,.illustrated-cards tr{display:block;min-width:0;width:100%}.illustrated-cards tr{display:grid;grid-template-columns:repeat(auto-fit,minmax(165px,1fr));gap:10px}.illustrated-cards td{display:block;min-width:0;border:1px solid #e8e1eb;border-radius:9px;background:#faf8fb;padding:10px;overflow-wrap:anywhere}.illustrated-cards td img{max-width:100%;max-height:190px;width:auto;height:auto;object-fit:contain;margin:5px auto 10px}.illustrated-cards td p{line-height:1.6}.illustrated-cards td:empty{display:none}
.guide-warning{background:#fff4f2;border-left:3px solid #d85e55;border-radius:4px;padding:6px 10px!important;margin:7px 0!important;color:#8f3732!important}
.chapter img.standalone-portrait{max-width:50%;height:auto}.chapter img.standalone-landscape{max-width:75%;height:auto}
@media(max-width:700px){.quick-links{display:flex;overflow-x:auto;gap:8px;padding-bottom:3px}.quick-links a{flex:0 0 auto;padding:9px 12px;font-size:13px}.illustrated-cards tr{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.illustrated-cards td{padding:8px}.illustrated-cards td img{max-height:140px}.illustrated-cards td p{overflow-wrap:anywhere}}
/* Keep standalone screenshots compact even when they are very tall. */
.chapter img.standalone-portrait{width:auto;height:auto;max-height:320px;max-width:50%;object-fit:contain}
.chapter img.standalone-landscape{width:auto;height:auto;max-height:260px;max-width:75%;object-fit:contain}
@media(max-width:700px){.chapter img.standalone-portrait{max-height:260px}.chapter img.standalone-landscape{max-height:220px}}
/* Left-align guide images within text and cards. */
.chapter img { margin-left: 0; margin-right: auto; }
.chapter .illustrated-cards td img { margin-left: 0; margin-right: auto; }
/* Four fixed tracks on desktop; unused tracks remain empty. */
.illustrated-cards tr{grid-template-columns:repeat(4,minmax(0,1fr))}
.illustrated-cards td img.card-portrait{width:100%;max-width:100%;height:auto;max-height:none;object-fit:contain}
@media(max-width:700px){.illustrated-cards tr{grid-template-columns:repeat(2,minmax(0,1fr))}.illustrated-cards td img.card-portrait{max-height:none}}
/* Longer card groups stay on one row and scroll horizontally. */
.illustrated-cards.cards-scroll{overflow-x:auto;overscroll-behavior-x:contain;padding-bottom:8px}
.illustrated-cards.cards-scroll tr{display:grid;grid-template-columns:none;grid-auto-flow:column;grid-auto-columns:calc((100% - 30px)/4)}
@media(max-width:700px){.illustrated-cards.cards-scroll tr{grid-auto-columns:calc((100% - 8px)/2)}}
/* Reveal part of the next card as a horizontal scrolling cue. */
.illustrated-cards.cards-scroll tr{grid-auto-columns:calc(23.8095% - 9.5238px)}
@media(max-width:700px){.illustrated-cards.cards-scroll tr{grid-auto-columns:calc(45.4545% - 7.2727px)}}
/* Navigate to sections immediately. */
html{scroll-behavior:auto}
/* Weapon entries pair each screenshot with its original description. */
.weapon-gallery{display:grid;grid-auto-flow:column;grid-auto-columns:calc(23.8095% - 9.5238px);gap:10px;overflow-x:auto;overscroll-behavior-x:contain;padding-bottom:8px;margin:12px 0}
.weapon-card{min-width:0;border:1px solid #e8e1eb;border-radius:9px;background:#faf8fb;padding:10px;overflow-wrap:anywhere}
.weapon-card img{display:block;width:100%;max-width:100%;height:auto;max-height:none;margin:0 0 10px;object-fit:contain}
.weapon-card p{margin:0;line-height:1.6}
@media(max-width:700px){.weapon-gallery{grid-auto-columns:calc(45.4545% - 7.2727px);gap:8px}.weapon-card{padding:8px}}

/* Numbered subsections remain visually nested under their chapter. */
.nav-group a.nav-subsection{margin-left:14px;padding:6px 10px 6px 13px;border-left:2px solid #ede6f2;border-radius:0 7px 7px 0;font-size:12px}
.chapter-body h3[id],.chapter-body h4[id]{scroll-margin-top:88px}

.chapter summary{flex-wrap:wrap}.chapter-credit{font-size:11px;color:#a594ae;font-weight:500;margin-left:auto;white-space:nowrap}.watermarked-guide{display:inline-block;position:relative;max-width:100%;vertical-align:top}.watermarked-guide img.standalone-portrait{max-width:100%;margin-bottom:0}.guide-watermark{position:absolute;right:6px;top:6px;background:#322647aa;color:white;padding:2px 6px;border-radius:4px;font-size:11px;line-height:1.4;pointer-events:none}.chapter p.guide-warning:before{content:"✦ 水间建议  ";font-weight:700}@media(max-width:700px){.chapter-credit{font-size:10px}.watermarked-guide{max-width:50%}.watermarked-guide img.standalone-portrait{max-width:100%}}

.author-contact{display:flex;align-items:center;flex-wrap:wrap;gap:8px 10px;margin-top:16px;padding:10px 13px;border:1px solid #b796e277;border-radius:9px;background:#7955a5;color:#ffe8aa;font-size:15px;font-weight:700;line-height:1.5}.author-contact b{color:#fff;user-select:all}.author-contact button{border:1px solid #ffe6a5;border-radius:7px;background:#f7d477;color:#594078;font-weight:700;padding:4px 12px;cursor:pointer}.author-contact button:focus-visible{outline:2px solid #fff;outline-offset:2px}.copy-status{font-size:12px;color:#fff}@media(max-width:700px){.author-contact{font-size:13px;padding:9px 10px}}

/* Author credit follows the heading without a separate background. */
.guide-intro .author-contact{background:transparent;border:0;border-radius:0;padding:0;margin:5px 0 10px;color:#e9dcbb;font-size:14px;font-weight:600}.guide-intro .author-contact button{background:transparent;border:1px solid #cbb4df;color:#f5e9ff;padding:2px 10px}.guide-intro .author-contact button:hover{background:#ffffff1a}@media(max-width:700px){.guide-intro .author-contact{font-size:13px;gap:4px 8px}}
.copy-contact{display:inline-block;vertical-align:middle;border:1px solid #ded0eb;border-radius:6px;background:#f7f3fa;color:#74518f;font-size:13px;line-height:1.4;padding:3px 9px;cursor:pointer}.copy-contact:focus-visible{outline:2px solid #7658ad;outline-offset:2px}
