@charset "UTF-8";
:root{color-scheme:light;--bg:#f3ead8;--surface:#faf4e8;--border:#d7c7ab;--text:#443b30;--muted:#827360;--gold:#956337;--teal:#756455;--blue:#765c45}body{background-color:var(--bg);background-image:radial-gradient(#92774d12 .6px,transparent .7px),linear-gradient(110deg,#e7d7bb38,transparent 45%,#fefaf23d);background-size:5px 5px,100% 100%;font-family:"Segoe UI","Microsoft YaHei",sans-serif;line-height:1.75}.header{height:94px}.brand{color:#6f5438}.header nav{font-size:14px}main{max-width:1380px}.eyebrow{color:var(--muted);letter-spacing:2.4px}h1,h2,h3{color:var(--text)}.hero h1,.wiki-intro h1,.entry-heading h1{font-family:Georgia,"Noto Serif SC","SimSun",serif;font-weight:600}.hero h1{line-height:1.35}.button{background:#805a37;border-color:#805a37;color:#fff9ed;border-radius:5px;padding:10px 18px;gap:14px}.button:hover{background:#986e46}.button.secondary{color:var(--text);background:transparent;border-color:var(--border)}.button.secondary:hover{background:#e8dcc7}.button.danger{background:#9c4939;border-color:#9c4939}.hero-art{background:radial-gradient(ellipse at 50% 45%,#fff8e9,#e8d6b73d);border-color:var(--border);border-radius:8px;box-shadow:0 12px 35px #72553910}.hero-art:before{background-image:linear-gradient(#80684708 1px,transparent 1px),linear-gradient(90deg,#80684708 1px,transparent 1px)}.orbital{border-color:#97724924}.art-slide img{filter:drop-shadow(0 8px 10px #533b2924)!important;image-rendering:pixelated}.art-tag{font-size:20px;border-color:var(--border)}.art-tag span{color:var(--muted)}.carousel-controls button{background:#f8eedc;color:var(--text);border-color:var(--border)}.carousel-controls span{color:var(--muted)}.mod-card{background:var(--surface);box-shadow:0 4px 10px #72553908}.mod-card:hover{border-color:#b79a74}.mod-art,.gtit .mod-art,.gtswn .mod-art,.gtsr .mod-art{background:linear-gradient(150deg,#f9efd9,#e9dcc4)}.project-index{color:#9a8464}.mod-info h3{font-size:22px}.card-bottom,.mod-info>p:not(.eyebrow){color:var(--muted)}.mod-picker{margin:12px 0 80px}.mod-picker h2{font-size:24px}.search-box{background:#fffcf3;border-color:#ccb795;flex-wrap:nowrap;box-shadow:0 2px 6px #72553907}.search-box button{background:#805a37;color:#fff9ed}.search-box input::placeholder{color:#a49680}.hero-search{flex-wrap:wrap;gap:8px}.hero-search select{flex-basis:100%;border:0;border-bottom:1px solid var(--border);padding:5px 0;background:transparent;color:var(--muted);font-size:12px}.hero-search input{flex:1}.hero-search>span{display:none}.hero-meta{font-size:10px}.hero-meta b{font-size:12px}.side-link.active,.taxonomy-link.active,.taxonomy-link:hover{background:#dfcbaa42;color:#78522f}.mod-summary{background:#f8f0df}.mod-summary a,.prose a,.source-note a{color:var(--blue)}.filters .selected{color:#805a37;border-color:#b69973;background:#e6d4b938}.filters a{font-size:12px}.catalog-card .entry-thumb{background:linear-gradient(135deg,#f9f1e2,#eee2cd)}.catalog-card .entry-thumb img,.entry-icon img{image-rendering:pixelated}.entry-card:hover{box-shadow:0 2px 8px #80684713}.entry-card-info h3{font-size:14px}.entry-card-info p,.entry-label{color:var(--muted)}.placeholder{color:#ad9471!important;font-size:24px!important}.index-group h3{display:flex;justify-content:space-between;margin:0;padding:9px 14px;font-size:16px;background:#99805b;color:#fff9eb}.index-group h3 span{font-size:12px;font-weight:400}.catalog-index{padding:0;margin-top:40px}.catalog-index>h2{font-family:Georgia,"SimSun",serif;font-size:28px}.mc-index{background:#f6eedf;border:1px solid #bda989}.mc-index th{background:#e0d1b7;border:1px solid #c4b191;color:#604c33;font-size:13px;width:132px}.mc-index td{border:1px solid #d9c9ac;font-size:13px}.index-entry{color:var(--blue);font-size:13px;gap:4px}.index-entry:hover{color:#593f28}.index-entry img{width:22px;height:22px;image-rendering:pixelated}.index-symbol{font-size:19px;color:#9b8667}.index-dot{color:#a08e72}.index-tabs a,.index-jump a{border-color:var(--border);padding:5px 10px;font-size:12px}.index-jump small{color:var(--muted)}.entry-page{max-width:1120px}.entry-basics{background:var(--surface)}.entry-icon{background:#f4ead6}.fact-table dt{background:#eaddc5;color:#675239}.fact-table dd{background:#fbf5e9}.prose{color:#554a3b}.prose pre{background:#e9dec9;color:var(--text)}.prose code{background:#e6d6bc5e;color:#6d4e2c}.prose th{color:#6d4e2c}.entry-gallery{background:#fbf4e6}.entry-gallery img{image-rendering:pixelated}.entry-description{margin-top:35px}.entry-description>h2{font-size:22px;border-bottom:1px solid var(--border);padding-bottom:8px;margin-bottom:18px}.structure-materials th{background:#eaddc5}.related-list a{background:var(--surface)}.asset-credits,footer{color:var(--muted)}dialog{background:#fbf5e8;box-shadow:0 12px 65px #3d2a2740;border-radius:7px}dialog::backdrop{background:#44352670;backdrop-filter:blur(3px)}#image-viewer{width:min(1200px,95vw);max-height:95vh;overflow:auto}#image-viewer img{display:block;max-height:80vh;margin:auto;image-rendering:pixelated}#image-viewer-title{padding-right:25px}.admin-page{padding:40px 0 70px}.paper-panel{background:#fbf6eb;border:1px solid var(--border);border-radius:7px;padding:24px;margin:20px 0;box-shadow:0 3px 10px #79614008}.paper-panel h2{font-size:21px;margin-bottom:16px}.paper-panel p,.paper-panel li{font-size:13px;color:var(--muted)}.admin-page label{display:block;font-size:12px;margin:16px 0 8px}.admin-page input,.admin-page textarea,.admin-page select{display:block;width:100%;margin-top:6px;color:var(--text);background:#fffdf7;border:1px solid var(--border);border-radius:4px;padding:9px;max-width:100%;font:inherit}.admin-page textarea{overflow-wrap:anywhere;resize:vertical}.admin-page .button{margin-top:8px}.admin-fields{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;align-items:end}.admin-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.admin-metrics strong{display:block;font-size:30px;color:#805a37;margin:10px 0}.admin-metrics span{display:block;font-size:11px;color:var(--muted)}.table-scroll{overflow:auto}.admin-table{width:100%;border-collapse:collapse;font-size:12px}.admin-table td,.admin-table th{text-align:left;padding:9px;border-bottom:1px solid var(--border);min-width:100px;max-width:300px;overflow-wrap:anywhere}.admin-table th{background:#efe4cf}.admin-table td:last-child{font-size:11px}.danger-panel{border-color:#bb8274}.minecraft-tooltip{position:fixed;z-index:1000;pointer-events:none;max-width:min(420px,90vw);white-space:pre-line;padding:9px 12px;border:2px solid #2c1261;background:#130918f5;color:#f5effc;font-size:13px;line-height:1.6;box-shadow:0 0 0 2px #150c21,4px 4px 0 #13091840;border-radius:2px}.tooltip-panel{background:#160e1e;color:#e8ddf2;padding:18px 22px;border:2px solid #3d2860;line-height:1.7;font-size:13px;white-space:pre-line;border-radius:3px}.recipe-card{display:flex;gap:25px;align-items:center;flex-wrap:wrap;background:#eee4d2;border:1px solid var(--border);padding:18px;margin:18px 0;border-radius:5px}.recipe-grid{display:grid;grid-template-columns:repeat(3,48px);grid-auto-rows:48px;gap:4px}.recipe-slot{position:relative;display:flex;align-items:center;justify-content:center;background:#c9c1b0;box-shadow:inset 2px 2px #8e877a,inset -2px -2px #fff8e9;padding:3px;cursor:help}.recipe-slot img{width:40px;height:40px;object-fit:contain;image-rendering:pixelated}.recipe-slot span{font-size:10px;line-height:1.15;overflow-wrap:anywhere;text-align:center}.recipe-slot b{position:absolute;right:3px;bottom:0;color:white;font-size:12px;text-shadow:1px 1px #333}.recipe-arrow{font-size:30px;color:#928778}.recipe-output{min-width:48px;min-height:48px;max-width:200px}.recipe-meta{font-size:12px;color:var(--muted);flex:1;min-width:140px}.entry-toc{display:flex;flex-wrap:wrap;gap:15px;padding:15px 0;border-bottom:1px solid var(--border);font-size:12px;color:var(--blue)}.entry-gallery a{cursor:zoom-in}.recipe-slot:focus-visible{outline:2px solid var(--gold)}[hidden]{display:none!important}
@media(max-width:900px){.admin-fields{grid-template-columns:repeat(2,minmax(0,1fr))}.admin-metrics{grid-template-columns:1fr;gap:0}.admin-metrics .paper-panel{margin:7px 0}.header{height:85px}.paper-panel{padding:18px}.hero h1{font-size:42px}}
@media(max-width:600px){.header{padding:0 18px}.hero{padding-top:32px}.hero h1{font-size:38px}.hero-search{padding:10px}.hero-meta{gap:14px}.wiki-intro h1{font-size:29px}.catalog-index{padding:0}.mc-index th{width:72px;font-size:12px;padding:6px}.mc-index td{padding:6px}.index-entry{font-size:12px}.catalog-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.entry-gallery a{max-width:100%}.entry-basics{grid-template-columns:1fr}.admin-fields{grid-template-columns:1fr}.recipe-grid{grid-template-columns:repeat(3,42px);grid-auto-rows:42px}.recipe-slot img{width:34px;height:34px}.paper-panel{padding:15px}.recipe-card{gap:12px;padding:13px}.header nav{font-size:11px}.entry-heading h1{font-size:27px}.index-group h3{font-size:14px}.recipe-arrow{font-size:23px}}

.country-picker{margin-top:15px;font-size:13px}.country-picker>div{max-height:280px;overflow:auto;display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:5px}.country-picker label{display:flex;align-items:center;gap:8px;margin:0}.country-picker input{display:inline-block;width:auto;margin:0}.hero-search select{max-width:140px;background:#f9f0dd;border:1px solid var(--border);color:var(--text);font:inherit;padding:7px;border-radius:4px}

.entry-gallery a{display:block;width:480px;min-height:160px;max-width:100%}.entry-gallery img{display:block;width:100%;height:auto;max-height:480px;object-fit:contain}

/* Inventory and Minecraft text use their own pixel type and colors. */
@font-face{font-family:MiaoWikiPixel;src:url('/static/miao-pixel.woff2?v=9ce05ec25163') format('woff2');font-display:swap;font-weight:400}
.minecraft-tooltip,.tooltip-panel,.recipe-slot b,.recipe-caption{font-family:MiaoWikiPixel,monospace;font-synthesis:style}
.minecraft-tooltip{padding:8px 10px;background:#100010f0;border:2px solid #280064;border-top-color:#5000a0;border-radius:0;box-shadow:0 0 0 2px #100010f0;line-height:1.5;font-size:12px;text-shadow:1px 1px #000;white-space:normal;max-width:min(560px,95vw)}
.mc-tooltip-line{min-height:18px;white-space:pre-wrap;overflow-wrap:anywhere}.mc-tooltip-title{margin-bottom:5px;color:white}.tooltip-panel{border-radius:0;background:#100010f2;border:2px solid #280064;border-top-color:#5000a0;font-size:12px;text-shadow:1px 1px #000;line-height:1.5;padding:12px 14px;width:fit-content;max-width:100%}
.recipe-card{display:block;background:#c6c6c6;border:3px solid #373737;border-radius:0;box-shadow:inset 2px 2px #fff,inset -2px -2px #555;padding:18px 22px;color:#373737;max-width:100%;width:fit-content;min-width:400px}
.recipe-caption{font-size:12px;color:#373737;margin:0 0 16px}.recipe-workspace{display:flex;align-items:center;gap:28px}.recipe-grid{gap:0;grid-template-columns:repeat(3,48px);grid-auto-rows:48px}.recipe-slot{width:48px;height:48px;min-width:48px;padding:4px;background:#8b8b8b;box-shadow:inset 2px 2px #373737,inset -2px -2px #fff;border-radius:0}.recipe-slot:hover{background:#bcbcbc}.recipe-slot a{display:flex;align-items:center;justify-content:center;width:100%;height:100%}.recipe-slot img{width:40px;height:40px;image-rendering:pixelated}.recipe-slot b{right:3px;bottom:1px;font-size:12px;line-height:1;text-shadow:1px 1px #3f3f3f,2px 2px #3f3f3f;pointer-events:none}.recipe-arrow{width:48px;height:36px;display:block;margin:0}.recipe-arrow svg{width:100%;height:100%;fill:#8b8b8b;filter:drop-shadow(1px 1px white)}.recipe-output{width:64px;height:64px;padding:12px}.recipe-fluids{display:flex;gap:4px;margin-top:10px}.recipe-meta{display:grid;grid-template-columns:max-content 1fr;gap:4px 18px;color:#373737;font-size:12px;margin:20px 0 0;border-top:1px solid #999;padding-top:12px}.recipe-meta dt,.recipe-meta dd{margin:0}.recipe-meta dd{font-variant-numeric:tabular-nums}.machine-parameters{width:100%;border-collapse:collapse;font-size:13px}.machine-parameters td,.machine-parameters th{padding:10px 14px;text-align:left;border:1px solid var(--border)}.machine-parameters th{background:#eaddc5;font-weight:500}.admin-message{padding:14px;border:1px solid #a79382;background:#f3ebe4}.admin-page input[type=hidden]{display:none}.admin-table .button{white-space:nowrap;font-size:12px;margin:0}
@media(max-width:600px){.recipe-card{min-width:0;padding:16px;width:100%}.recipe-workspace{gap:15px}.recipe-grid{grid-template-columns:repeat(3,40px);grid-auto-rows:40px}.recipe-slot{width:40px;height:40px;min-width:40px;padding:4px}.recipe-slot img{width:32px;height:32px}.recipe-output{width:48px;height:48px;padding:8px}.recipe-arrow{width:32px;height:24px}}

.recipe-caption{display:flex;justify-content:space-between;gap:24px}.recipe-number{color:#666}.recipe-fluid img{width:100%;height:100%;object-fit:cover}.recipe-fluid{padding:4px}.recipe-slot .fluid-amount{font-size:10px;color:white;right:3px;bottom:3px}.recipe-slot .not-consumed{color:#ffff55;font-size:18px}.recipe-hint{font-size:12px;color:#555;margin:12px 0 0}.machine-progress svg{fill:#bbb;filter:drop-shadow(1px 1px #fff)}.machine-progress{background:linear-gradient(90deg,#9b9b9b 0%,#9b9b9b 50%,transparent 50%);background-size:80% 12%;background-position:center;background-repeat:no-repeat}.entry-description .prose h3{font-size:18px;margin:24px 0 12px}

.asset-credits{max-width:1000px;margin:4px auto;font-size:12px;line-height:1.8;color:#6d6153;white-space:normal;overflow-wrap:anywhere}

/* Native NEI slots, precise quantities and stage-based loom construction. */
.catalog-index .index-entry-preview{color:#b77979}.catalog-index .index-entry-preview:hover,.catalog-index .index-entry-preview:focus-visible{color:#925454}.catalog-index .index-entry-preview small{color:inherit}
.recipe-card{--nei-slot:44px;margin:18px 0;padding:18px;width:100%;max-width:620px;min-width:0;box-sizing:border-box}.recipe-caption{display:flex;justify-content:space-between;align-items:baseline;gap:16px;font-weight:700;border-bottom:2px solid #888;padding-bottom:9px}.recipe-number{white-space:nowrap;font-size:12px;font-weight:400}.recipe-display-label{font-size:12px;color:#5a4f35;margin:10px 0 14px}.recipe-workspace{display:flex;align-items:center;gap:18px;justify-content:center;margin:20px 0}.recipe-inputs{max-width:calc(var(--nei-slot)*4);min-width:0}.recipe-port-label{display:block;font-size:11px;color:#575757;margin-bottom:6px}.recipe-grid{grid-template-columns:repeat(3,var(--nei-slot));grid-auto-rows:var(--nei-slot);gap:0}.recipe-grid:empty{display:none}.machine-recipe-grid{grid-template-columns:repeat(3,var(--nei-slot))}.recipe-fluids{display:flex;flex-wrap:wrap;gap:0;margin-top:8px}.recipe-slot{width:var(--nei-slot);height:var(--nei-slot);box-sizing:border-box;flex:none;padding:4px;position:relative}.recipe-slot img{width:100%;height:100%;object-fit:contain;image-rendering:pixelated}.recipe-slot a{display:block;width:100%;height:100%}.recipe-slot .fluid-amount{font-size:10px;white-space:nowrap;text-shadow:1px 1px #000,-1px -1px #000}.recipe-fluid img{object-fit:cover}.recipe-slot.recipe-output{width:var(--nei-slot);height:var(--nei-slot)}.recipe-output-list{display:flex;flex-wrap:wrap;max-width:calc(var(--nei-slot)*2);gap:0}.recipe-arrow{flex:none;width:40px;height:30px}.recipe-meta{font-size:12px;grid-template-columns:minmax(72px,max-content) minmax(0,1fr);gap:6px 14px}.recipe-meta dd{overflow-wrap:anywhere}.recipe-hint{font-size:12px;line-height:1.65;color:#4b4b4b}.recipe-energy{font:bold 24px monospace;color:#715d28;padding:8px 0}.recipe-research{border-top:1px solid #999;margin-top:14px;padding-top:10px}.recipe-research h3{font-size:13px;margin:0 0 8px}.recipe-research>div{display:flex;gap:12px;align-items:center}.recipe-research p{font-size:12px;margin:0}.construction-target{display:flex;justify-content:flex-end;align-items:center;gap:12px;margin:12px 0;font-size:12px}.construction-row{margin-top:16px;padding-top:12px;border-top:1px solid #999}.construction-row-title{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;font-size:12px;margin-bottom:8px}.construction-slots{display:flex;gap:12px;--nei-slot:36px}.construction-items{display:grid;grid-template-columns:repeat(6,var(--nei-slot))}.construction-fluids{display:flex}.construction-row .recipe-hint{margin:5px 0}.recipe-navigation{display:flex;align-items:center;gap:14px;flex-wrap:wrap;font-size:13px;margin:16px 0}.recipe-navigation form{display:flex;align-items:center;gap:8px}.recipe-navigation select,.recipe-navigation button{font:inherit;padding:5px 8px;background:#f5f2eb;border:1px solid #b9b1a6;border-radius:2px}
@media(max-width:600px){.recipe-card{--nei-slot:36px;padding:12px}.recipe-workspace{gap:12px}.recipe-arrow{width:28px;height:21px}.recipe-meta{grid-template-columns:minmax(60px,max-content) minmax(0,1fr);gap:6px 10px}.construction-slots{--nei-slot:30px;gap:8px}.recipe-caption{font-size:13px}.recipe-slot b{font-size:11px}}

.loom-setup{margin:32px 0}.loom-setup figure{max-width:360px;margin:14px auto}.loom-setup figure img{width:100%;height:auto;object-fit:contain}.loom-setup figcaption{font-size:12px;color:#776d62}.loom-setup ol{padding-left:24px;line-height:1.85}.loom-setup details{margin:16px 0}.loom-materials{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:10px;margin:14px 0}.loom-materials>div{display:flex;align-items:center;gap:9px;font-size:13px}.loom-materials .recipe-slot{--nei-slot:36px}

.minecraft-tooltip{max-height:calc(100dvh - 16px);overflow-y:auto;pointer-events:auto;overscroll-behavior:contain}

.recipe-process-diagram{width:64px;height:42px}.recipe-arrow .nei-process{fill:none;filter:none;stroke-width:2;stroke-linejoin:miter;shape-rendering:crispEdges}.nei-heat{stroke:#a55b2a}.nei-cold{stroke:#477f97}.nei-energy{stroke:#9d7a26}.nei-fusion{stroke:#8062a0}.nei-pulse{animation:nei-pulse 2.4s steps(4,end) infinite}@keyframes nei-pulse{50%{opacity:.45}}@media(prefers-reduced-motion:reduce){.nei-pulse{animation:none}}@media(max-width:600px){.recipe-process-diagram{width:48px;height:32px}}

.recipe-inputs{width:calc(var(--nei-slot)*3);max-width:calc(var(--nei-slot)*3);flex:none}.construction-slots{display:grid;grid-template-columns:minmax(0,3fr) minmax(0,1fr);gap:8px;max-width:360px}.construction-items{grid-template-columns:repeat(6,minmax(0,1fr))}.construction-fluids{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.construction-slots .recipe-slot{width:100%;height:auto;min-width:0;aspect-ratio:1;padding:3px}

.recipe-workspace .recipe-slot,.recipe-research .recipe-slot{width:var(--nei-slot);height:var(--nei-slot)}

.recipe-meta{grid-template-columns:minmax(0,1fr) minmax(0,1.2fr)}.recipe-meta dt{min-width:0;overflow-wrap:anywhere}

.recipe-name{min-width:0;overflow-wrap:anywhere;flex:1}.recipe-number{flex:none}
