/* 复古风格由配色、边框和原画呈现；所有文字使用系统字体，保证多语言阅读清晰。 */
:root{--paper:#111c2a;--ink:#f4e8c6;--muted:#b6c8c9;--line:#4f6b78;--orange:#ffcc78;--panel:#213443;--deep:#080e18;--gold:#ffcc78;--mint:#a9d59a}
html{background:var(--deep)}body{background:linear-gradient(90deg,#ffffff02 1px,transparent 1px),linear-gradient(#ffffff02 1px,transparent 1px),var(--paper);background-size:24px 24px;color:var(--ink);font-family:-apple-system,BlinkMacSystemFont,'PingFang SC','Microsoft YaHei',sans-serif;font-size:15px}h1,h2,h3,.brand,.eyebrow,.button,.guide-number,.art-label,.tags,.guide-topics,.footer-brand{font-family:inherit;font-weight:700}a:hover{color:#ffe1a0}a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible{outline:3px dashed var(--gold);outline-offset:5px}h1{letter-spacing:0;line-height:1.45;text-shadow:3px 3px 0 #07101a}.wrap{max-width:1240px}.header{height:auto;min-height:106px;gap:26px;padding:20px 0;border-bottom:3px solid var(--line)}.header>nav{flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:14px;font-size:12px}.header>nav>a{padding:9px 2px}.brand{letter-spacing:0;color:#fff0c4}.brand small{letter-spacing:1px;color:var(--mint)}.brand-logo{border-radius:0;image-rendering:pixelated;background:#fff;border:2px solid #080e18;box-shadow:3px 3px 0 #080e18}.language-select{border:2px solid var(--line);border-radius:0;background:#172633;color:#fff0c4;padding:9px;font:inherit}.hero{min-height:650px;gap:50px}.hero h1{color:#fff1c8}.accent:after{background:#f1a85b;height:4px;opacity:1;bottom:-6px}.lead{color:#c7d7d3;font-size:16px;line-height:2.1}.button{background:var(--gold);color:#182431;border:3px solid #080e18;border-radius:0;box-shadow:5px 5px 0 #080e18;padding:16px 24px}.button:hover{background:#ffe3a0;color:#101e2a;transform:translate(-1px,-1px)}.hero-note{color:var(--mint)}.hero-art{height:548px;border-radius:0;border:4px solid #628b85;box-shadow:8px 8px 0 var(--deep);background:linear-gradient(#172c3d40,#172c3d80),url('/assets/pixel-world.webp') center/cover;image-rendering:pixelated}.art-label{top:15px;background:#0e1c2dec;color:#ffe1a0;padding:10px;font-size:10px;letter-spacing:1px}.art-circle{display:none}.image-window{border-radius:0;border:5px solid #f3d7a1;box-shadow:5px 5px 0 #0c1c2b;transform:none;height:405px;width:206px}.image-window img{image-rendering:pixelated}.floating-title{border:3px solid #0b1827;border-radius:0;box-shadow:4px 4px 0 #0b1827;background:#f1dfb6;color:#24333c;bottom:28px;left:20px;right:20px;width:auto}.floating-title img{border-radius:0;image-rendering:pixelated}.floating-title small{color:#52645c}.float-arrow{color:#a14c31}.pixel-spark{font-size:30px;color:var(--gold);text-shadow:2px 2px 0 #111}.art-caption{display:none}.divider{border-top:3px solid var(--line);border-bottom:3px solid var(--line);color:var(--mint);padding:18px 0}.game-card{background:#1b2f3d;border:3px solid #54747b;border-radius:0;box-shadow:7px 7px 0 #080e18;overflow:hidden}.game-detail>p,.game-points small{color:#bdd0cc}.game-heading h3{color:#ffe3a0}.game-heading img{border:3px solid #0a1521;border-radius:0;image-rendering:pixelated}.game-heading span,.section-note{color:var(--mint)}.tags>span{border:2px solid #59777b;border-radius:0;color:#d7e9ce;background:#182a35}.game-points b{color:var(--gold)}.screenshots{background:#283f44;border-left:3px solid #54747b}.screenshots figure,.screenshots figure+figure{border:4px solid #eed3a0;border-radius:0;box-shadow:5px 5px 0 #0c1c27;transform:none}.screenshots figure+figure{margin-top:45px}.screenshots>span{color:#e2d8b5}.screenshots img{image-rendering:pixelated}.download-link{background:#263e48;border:2px solid #648080;border-radius:0;color:#fff0cb;box-shadow:3px 3px 0 #0b1622}.download-link small{color:#bfd7cf}.download-primary{background:#eac27b;color:#172a35;border-color:#eac27b}.download-primary small{color:#354e4c}.download-link:hover{background:#36545c;color:#fff3ce}.download-primary:hover{background:#ffdc94;color:#132b33}.company{border-top:3px solid var(--line)}.company-copy>p{color:#c0d0cc}.company-meta{border-top:2px dashed var(--line)}.company-meta small{color:var(--mint)}.company-meta strong,.company-meta a{color:#eadbb4}.search-links{border:3px solid #54747b;border-radius:0;background:#1b303e;box-shadow:6px 6px 0 #080e18;padding:28px;margin-bottom:45px}.search-links p{color:#bdd0cc}.search-links a{color:var(--gold);border-radius:0}.language-entry{padding-top:55px;padding-bottom:55px}.language-links{border-top:2px dashed var(--line);padding:25px 0;gap:18px}.language-links a{color:#d7e6c7}.footer{border-top:3px solid var(--line);padding-top:35px}.footer p,.footer-right .icp{color:#b7c9c8}.footer-right>a{color:#f6dda7}.community{border-top:3px solid var(--line);padding-top:32px;padding-bottom:40px}.community h2{color:var(--gold)}.community-grid>section{background:#1d313f;border:3px solid #55747d;border-radius:0;box-shadow:4px 4px 0 var(--deep)}.community-grid p{color:#e3eecf}.community small,.community>p{color:#bfd0cc}.community button{border:2px solid #80958b;border-radius:0;background:#29424b;color:#ffe8b6}.community-link{color:#ffda91}.copy-status{color:#c6e4a6}.search-page h1{font-size:clamp(30px,4vw,46px)}.breadcrumbs{color:#c3d7d1}.breadcrumbs a{color:#ffdc91}.search-page article{max-width:1060px}.search-page article h2{color:#f8d08d;line-height:1.6}.search-page p{color:#c7d8d2}.article-intro{color:#d0dfd8}.article-toc{border:2px solid var(--line);background:#1b303f;padding:18px}.article-toc a{color:#d9e9c3}.search-page details{border-color:var(--line)}.search-page details summary{color:#f3d18f}.article-image{border:4px solid #e4cb99;box-shadow:5px 5px 0 #080e18;image-rendering:pixelated}.related{border-top:2px dashed var(--line)}.related a{color:#ffda91}.official-guide>header{margin-top:20px;padding:26px;background:linear-gradient(90deg,#102333f5,#102333bf),url('/assets/pixel-world.webp') 50% 48%/cover;border:3px solid #587c7e;box-shadow:6px 6px 0 #080e18}.official-guide>header h1{margin:14px 0 18px;color:#fff0bd}.guide-scope{background:#122b35c9;border-left:3px solid #dbb76f;padding:10px 14px;margin:0;color:#c5d8cf!important;font-size:13px}.guide-cards{gap:20px}.guide-cards>a{border:3px solid #5b7b82;border-radius:0;background:#203745;box-shadow:5px 5px 0 #080e18;padding:24px;position:relative;transition:transform .15s}.guide-cards>a:hover{transform:translate(-2px,-2px);border-color:#d4be82;background:#294552}.guide-cards h2{font-size:22px;line-height:1.6;margin:15px 0}.guide-number{display:inline-block;color:#a9d598;background:#122936;padding:7px 9px;border:2px solid #456d6e}.guide-card-hint{color:#b8cdc7;font-size:13px;line-height:1.8;margin:12px 0}.guide-topics{gap:9px}.guide-topics a{border:2px solid #52737b;border-radius:0;background:#1e3542;color:#c9dacf}.guide-topics a[aria-current]{background:#ecd099;color:#20333e;border-color:#ecd099}.guide-note{background:#243d47;color:#e1dfba!important;border-left:4px solid #e8c688}.reference-controls label{color:#ceddd2}.reference-controls input,.reference-controls select{background:#102532;color:#fff0c5;border:2px solid #6b8a8c;border-radius:0}.reference-controls input::placeholder{color:#9db9ba}.reference-scroll{border:3px solid #8f9e8c;border-radius:0;box-shadow:5px 5px 0 #080e18}.reference-scroll table{background:#efe2b9;color:#243a3e;min-width:650px;font-size:14px}.reference-scroll caption{background:#d3c391;color:#23363a;border-bottom:2px solid #9a9e7a;font-weight:700}.reference-scroll thead th{background:#465e59;color:#fff0bf;border-bottom:2px solid #233c3d;white-space:normal}.reference-scroll td,.reference-scroll th{border-color:#b9b895;padding:14px;line-height:1.85}.reference-scroll tbody tr:nth-child(even){background:#e3d5ab}.reference-scroll tbody th{color:#273c38}.reference-scroll p,.reference-scroll summary{color:#334d46!important}.reference-scroll a{color:#285955;text-decoration:underline}.reference-scroll a:hover{color:#9c4a2e}.recipe-answer summary{color:#914d2d!important}.recipe-answer p{color:#263d3b!important}.reference-scroll .entry-detail{margin-top:7px;color:#536455;font-size:13px}.reference-scroll .entry-detail strong{color:#314b43}.reference-scroll .mechanics{font-size:13px;color:#354c44;border-top:1px dashed #a4a984;padding-top:7px;margin-top:8px}.reference-scroll .mechanics summary{cursor:pointer}.reference-scroll .mechanics p{white-space:pre-line;line-height:1.9}.stat-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px;min-width:170px}.stat-grid span{padding:4px 7px;background:#d2c695;border:1px solid #adb18d;font-size:12px}.stat-grid b{color:#223d39;margin-left:6px}.notebook-intro{border:3px solid #5b7a7c;padding:25px;background:#1c3341;line-height:2;color:#d5dfce}.notebook-index{display:flex;gap:9px;flex-wrap:wrap;margin:24px 0}.notebook-index a{background:#263e46;border:2px solid #54747c;padding:8px 13px}.guide-related{border-top:3px solid var(--line)}.guide-related a{color:var(--gold)}.guide-source{color:#9fbab8!important}.mini-label{color:#5b6957;font-size:12px;display:block}.handbook-tip{max-width:760px;white-space:normal}.handbook-tip .tip-index{color:#8b5034;font-family:inherit}.matchup-good{color:#255b3b;font-weight:750}.matchup-bad{color:#9d3c31;font-weight:750}.table-heading{margin:36px 0 20px}.table-help{font-size:13px;line-height:1.9;color:#a6c3bf!important}.container,.policy-content{background:#f2e6c4!important;color:#253b3e!important;border:3px solid #839b8c!important;border-radius:0!important;box-shadow:6px 6px 0 #080e18}.policy-intro p{color:#c8d9cd}.container a{color:#965034!important}.container p,.container div{color:inherit}.container table{color:#253b3e}.container h1,.container h2,.container h3{color:#253b3e;text-shadow:none}.container .color-red{color:#a72d28!important}
@media(max-width:1000px){.hero{gap:25px}.hero-art{height:510px}.header{align-items:flex-start}.header>nav{max-width:65%}.official-guide>header{padding:22px}.reference-scroll table{font-size:13px}}
@media(max-width:720px){.wrap{width:calc(100% - 36px)}.header{gap:18px;padding:20px 0}.header>nav{max-width:none;width:100%;justify-content:flex-start;gap:10px;font-size:11px}.header>nav>a{padding:5px 0}.brand{font-size:21px}.hero{min-height:0;padding-top:36px}.hero h1{font-size:36px;line-height:1.55}.hero-art{height:500px;border-width:3px;box-shadow:5px 5px 0 #080e18}.image-window{height:375px;width:190px}.art-label{font-size:8px}.floating-title{left:12px;right:12px;bottom:22px;font-size:13px}.divider{font-size:9px;gap:12px}.divider span:last-child{display:none}.game-section{padding-top:38px}.game-card{box-shadow:4px 4px 0 #080e18}.screenshots{border-left:0;border-top:3px solid #54747b;padding:26px 17px 60px}.screenshots figure+figure{margin-top:25px}.game-detail{padding:20px}.company{gap:20px}.company h2{font-size:30px}.company-meta>div{align-items:flex-start}.search-links{padding:22px}.official-guide>header{padding:18px 15px;box-shadow:4px 4px 0 #080e18}.official-guide h1{font-size:29px}.guide-cards>a{padding:20px}.guide-cards{gap:16px}.guide-cards h2{font-size:21px}.guide-scope{font-size:12px;line-height:1.9}.guide-topics{gap:7px}.guide-topics a{font-family:inherit;font-size:12px;padding:8px}.reference-scroll table{min-width:720px}.reference-scroll td,.reference-scroll th{padding:11px}.reference-controls{gap:12px}.community-grid{gap:17px}.community-grid>section{padding:18px}.community h2{font-size:23px}.notebook-intro{padding:18px;font-size:14px}.footer{gap:16px}.footer-right{text-align:left}.search-page article h2{font-size:23px}.table-help{font-size:12px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}
/* 长段小提示在手机上就地换行；数值图鉴仍可横向滚动，并保留左侧名称。 */
.reference-scroll tbody th{position:sticky;left:0;z-index:1;background:#efe2b9}.reference-scroll tbody tr:nth-child(even)>th{background:#e3d5ab}.reference-scroll thead th:first-child{position:sticky;left:0;z-index:2}.floating-title{transform:none}
@media(max-width:720px){[data-reference-kind="tips"] table,[data-reference-kind="traits"] table{min-width:0;table-layout:fixed}[data-reference-kind="tips"] th,[data-reference-kind="tips"] td,[data-reference-kind="traits"] th,[data-reference-kind="traits"] td{min-width:0;max-width:none;position:static;overflow-wrap:anywhere;padding:10px}[data-reference-kind="tips"] th:first-child,[data-reference-kind="tips"] td:first-child{width:44px}[data-reference-kind="tips"] th:nth-child(2),[data-reference-kind="tips"] td:nth-child(2){width:78px}[data-reference-kind="traits"] th:first-child{width:100px}.handbook-tip{font-size:14px;line-height:1.95}}
/* 配方表同时含说明、属性与来源，给长说明保留列宽，手机在表格内横向滚动。 */
[data-reference-kind="classic-items"] table{min-width:1200px}
[data-reference-kind="classic-items"] tbody td:nth-child(3){min-width:240px}
[data-reference-kind="classic-items"] tbody th{min-width:150px}
