/* EGW review design: original colours, original effects, existing content. */
:root{--shell:1240px;--brass:#d8b572;--border:rgba(185,148,92,.28);--soft:#c2b5cc;--purple-bright:#d1acff}
[hidden]{display:none!important}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}a,button,input,select{touch-action:manipulation}a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible{outline:2px solid #dfbcff;outline-offset:4px}button,input,select{font:inherit}button{cursor:pointer}button:disabled{cursor:default}.shell{width:min(1240px,calc(100% - 3rem));margin-inline:auto}.werks-page{color:#f1ebe2;background:#0b0910}.werks-header{position:sticky;top:0;z-index:90;background:rgba(12,9,17,.95);backdrop-filter:blur(18px);border-bottom:1px solid var(--border)}.werks-nav{display:flex;align-items:center;gap:1.25rem;min-height:84px}.werks-brand{display:flex;align-items:center;gap:.7rem;flex-shrink:0;text-decoration:none!important;color:#f1ebe2!important;font:700 1rem/1.3 Georgia,serif}.werks-brand img{width:44px;height:44px;border-radius:4px}.werks-brand small{display:block;margin-top:.35rem;color:#ac9bb6;font:600 .55rem/1.4 system-ui;letter-spacing:.12em}.werks-nav>nav{display:flex;align-items:center;justify-content:flex-end;gap:1.2rem;flex:1}.werks-nav>nav>a{white-space:nowrap;text-decoration:none;font:650 .79rem/1.5 system-ui;color:#c9bdcf;padding:.8rem 0;position:relative}.werks-nav>nav>a:hover,.werks-nav>nav>a[aria-current]{color:#f0d3a0}.werks-nav>nav>a[aria-current]::after{content:"";height:2px;position:absolute;bottom:3px;left:0;right:0;background:var(--brass);box-shadow:0 0 12px #a96dff}.werks-nav .discord-link{color:#d1acff}.werks-nav .motion-toggle{display:flex;align-items:center;gap:.35rem;flex-shrink:0;border:1px solid #493852;border-radius:4px;color:#d4c4df;background:#1c1424;padding:.5rem;font-size:.65rem;min-height:36px}.toggle-light{display:inline-block;width:6px;height:6px;background:#b58bdd;border-radius:50%}.project-subnav{display:flex;gap:1.4rem;overflow:auto;padding-block:.65rem;border-top:1px solid #33283e;scrollbar-width:thin}.project-subnav a{font-size:.78rem;white-space:nowrap;text-decoration:none;color:#c2b5cc}.project-subnav a:hover,.project-subnav a[aria-current]{color:#edcf96}
.werk-hero{position:relative;height:440px;overflow:hidden;border-bottom:1px solid var(--border)}.werk-hero>img{position:absolute;width:100%;height:100%;object-fit:cover;object-position:60% center;opacity:.86}.hero-shade{position:absolute;inset:0;background:linear-gradient(90deg,#0d0913 4%,rgba(13,9,19,.94) 24%,rgba(13,9,19,.5) 53%,rgba(13,9,19,.04) 100%),linear-gradient(0deg,#0b0910 0%,transparent 28%)}.hero-heading{position:relative;padding-top:3.8rem}.hero-heading .eyebrow{color:#d8b572;font-size:.61rem;letter-spacing:.16em;margin-bottom:1.25rem}.hero-heading h1{margin:0;color:#fff7ee;font:700 clamp(3rem,5.2vw,5rem)/.99 Georgia,serif;letter-spacing:-.05em}.hero-heading h1 em{font-size:.76em;color:#caa1ff;font-style:normal}.hero-heading>p:not(.eyebrow){margin:1.25rem 0 0;color:#cbbdd3;line-height:1.6;font-size:.95rem}.hero-heading .hero-actions{margin-top:1.45rem}.hero-actions .button{min-height:45px;border-radius:4px;padding:.65rem 1rem;font-size:.7rem}.hero-caption{position:absolute;right:5%;bottom:2rem;color:#e5d0b1;font:.7rem/1.5 Georgia,serif;letter-spacing:.17em;text-transform:uppercase}.button-primary{border-color:#b99865!important;background:linear-gradient(120deg,#e0bb7d,#b98b4f)!important;color:#180d20!important;box-shadow:0 0 25px #a96dff15}.button-quiet{background:#170f21bd;color:#ddc8ef;border-color:#65506f}.button:hover{filter:brightness(1.15)}
.catalog{padding-top:3.4rem;padding-bottom:2rem;scroll-margin-top:100px}.catalog-heading{display:flex;justify-content:space-between;gap:2rem;align-items:end;margin-bottom:1.5rem}.eyebrow{font-size:.63rem;font-weight:750;letter-spacing:.16em;color:#d8b572}.catalog h2,.library h1,.library h2{font-family:Georgia,serif}.catalog-heading h2{font-size:2.25rem;letter-spacing:-.03em;line-height:1.15;margin:.55rem 0 .8rem}.catalog-heading p:not(.eyebrow){margin:0;color:#a99bb4;font-size:.85rem}.text-link{color:#d1acff;white-space:nowrap;text-decoration:none;font-size:.8rem}.catalog-tools{display:flex;gap:1rem;align-items:center;margin:1rem 0}.search-field{position:relative;display:flex;align-items:center;gap:.7rem;flex:1;background:#18121f;border:1px solid #55405f;border-radius:5px;padding:0 1rem;min-height:52px}.search-field>span:first-child{font-size:1.6rem;color:#c7a4e2}.search-field input{flex:1;min-width:0;width:100%;color:#f4e9ff;background:transparent;border:0;font-size:.9rem;padding:.9rem 0;outline-offset:0}.search-field input::placeholder{color:#a99ab6}.search-field:focus-within{border-color:#c99ce7;box-shadow:0 0 0 2px #a96dff20}.search-field kbd{border:1px solid #594665;border-radius:3px;color:#9f8cac;padding:0 .4rem;font-size:.75rem}#project-count{min-width:140px;color:#a898b4;font-size:.75rem;text-align:right}.filter-bar{display:flex;gap:.45rem;flex-wrap:wrap;margin:1rem 0 2.2rem}.filter-bar button{border:1px solid #43334f;color:#bfb0cd;background:#16101e;border-radius:4px;padding:.55rem .8rem;font-size:.73rem}.filter-bar button[aria-pressed=true]{background:#34243f;border-color:#c8a366;color:#f5ddb7}.filter-bar button:hover{border-color:#c8a366}.catalog-shelf{margin:2.1rem 0 2.8rem}.shelf-title{border-bottom:1px solid #59452b80;padding-bottom:.85rem;margin-bottom:1rem;display:flex;justify-content:space-between;gap:1rem;align-items:baseline}.shelf-title h2{font-size:1.4rem;letter-spacing:-.02em;margin:0;color:#dec698}.shelf-title p{max-width:620px;color:#a99bb4;font-size:.77rem;margin:0}.shelf-title a{color:#d1acff}.catalog-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem}.farm-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.werk-card{display:flex;flex-direction:column;min-width:0;border:1px solid #4b3b52;background:linear-gradient(140deg,#201729d9,#120e19f5);border-radius:6px;overflow:hidden;transition:transform .2s,border-color .2s,box-shadow .2s}.werk-card:hover{transform:translateY(-3px);border-color:#a58b5b;box-shadow:0 8px 35px #100517}.card-body{padding:1.2rem;display:flex;flex:1;flex-direction:column}.card-meta{display:flex;align-items:center;justify-content:space-between;gap:.4rem;color:#bca77f;font-size:.64rem;letter-spacing:.03em}.status{font-size:.62rem;color:#c9e3bb;border:1px solid #566649;border-radius:3px;padding:.15rem .35rem;background:#172214}.status.testing{color:#dfc8a0;background:#2b2018;border-color:#735d3a}.werk-card h3{margin:1rem 0 .45rem;font:700 1.35rem/1.2 Georgia,serif;letter-spacing:-.02em;color:#f4e9df}.werk-card h3>a{color:inherit;text-decoration:none}.werk-card h3>a:hover{color:#d4abff}.werk-card p{margin:.2rem 0 .75rem;color:#b8a9c4;line-height:1.65;font-size:.81rem;flex:1}.relation{color:#d9b479;font-size:.67rem;margin-bottom:.4rem}.card-links{display:flex;gap:.4rem;flex-wrap:wrap;margin-top:.6rem;position:relative;z-index:1}.card-links a{display:flex;align-items:center;justify-content:space-between;gap:.4rem;min-height:38px;padding:.45rem .6rem;border:1px solid #594460;border-radius:3px;color:#eadcf5;text-decoration:none;font-size:.68rem;background:#191120}.card-links a:first-child{border-color:#96764e;color:#f1d7af}.card-links a:hover{background:#3b254b;border-color:#b998cf}.card-links a span{color:#d6b578}.farm-grid .card-links{display:grid;grid-template-columns:1fr 1fr}.farm-grid .card-links a:last-child{grid-column:1/-1}.recipe-callout{display:flex;align-items:center;gap:1rem;margin:-1.5rem 0 2rem;padding:1.1rem 1.3rem;background:linear-gradient(90deg,#281a34,#18131d);border:1px solid #70557d;border-left:3px solid #c8a366;border-radius:4px;text-decoration:none}.recipe-callout img{image-rendering:pixelated}.recipe-callout strong{display:block;font:700 1.1rem Georgia,serif;color:#e9d4b1}.recipe-callout small{display:block;font-size:.77rem;color:#b8a9c4;margin-top:.25rem}.recipe-callout>b{margin-left:auto;color:#c9a4f5;font-size:1.5rem}.pack-gallery{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1rem;margin:1.5rem 0 2.5rem}.pack-art{display:block;height:255px;background:radial-gradient(ellipse at 50% 80%,#2a1939,#100d16 70%);border-bottom:1px solid #483450;position:relative;overflow:hidden}.pack-art svg{display:block;height:100%;width:100%;padding:.5rem;transition:transform .3s}.pack-art:hover svg{transform:scale(1.04)}.gem-art{display:grid;place-items:center;height:100%;font-size:9rem;color:#90dfbb;text-shadow:0 0 55px #529d9a70}.visual-card h3{font-size:1.2rem}.visual-card .card-body{padding:1rem}.visual-card .card-links a{font-size:.64rem;padding:.4rem}.empty-state{padding:2rem;background:#21172b;border:1px solid #715281;border-radius:5px}.empty-state button{background:none;border:0;text-decoration:underline;color:#d6afff}.catalog .about-section{margin-top:2rem}.about-section{padding:4rem 0;background:#110c19}.about-grid{grid-template-columns:240px 1fr!important}.about-mark{position:relative!important;top:auto!important}.about-copy h2{font-size:2rem}.about-copy p{font-size:.9rem}.werks-footer{display:flex;justify-content:space-between;align-items:center;gap:2rem;padding-block:2.7rem;border-top:1px solid #5a442f}.werks-footer nav{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:.7rem 1.4rem}.werks-footer nav a{color:#b9a8c8;font-size:.75rem;text-decoration:none}
.library{padding-top:3rem;padding-bottom:3.5rem}.library-intro{padding-bottom:1.5rem;border-bottom:1px solid #58412d;margin-bottom:1.8rem}.library-intro h1{font-size:clamp(2.5rem,5vw,4rem);line-height:1.1;letter-spacing:-.04em;margin:.9rem 0}.library-intro em{font-style:normal;color:#cda6fd}.library-intro>p{color:#bfb0cc;font-size:1rem}.library-shortcuts,.craft-shortcuts{display:grid;grid-template-columns:repeat(2,1fr);gap:1rem;margin:1rem 0 2rem}.craft-shortcuts{grid-template-columns:repeat(3,1fr)}.library-shortcuts>a,.craft-shortcuts>a{display:block;padding:1rem 1.2rem;border:1px solid #694d35;border-radius:5px;background:linear-gradient(125deg,#25192c,#18101f);text-decoration:none}.library-shortcuts strong,.craft-shortcuts strong{color:#e7c691;font:700 1.2rem Georgia,serif}.library-shortcuts span,.craft-shortcuts span{display:block;color:#c1adcf;font-size:.8rem;margin-top:.4rem}.select-label{display:flex;align-items:center;gap:.65rem;color:#bcacc9;font-size:.75rem;white-space:nowrap}.select-label select{border:1px solid #594661;background:#201627;color:#eddcf5;border-radius:4px;min-height:48px;padding:.5rem;max-width:180px}.guide-results{display:grid;grid-template-columns:1fr 1fr;gap:1rem}.search-result{padding:1.4rem;border:1px solid #56405e;border-radius:5px;background:#1b1324}.search-result>small{color:#d4b278;font-size:.65rem;text-transform:uppercase;letter-spacing:.08em}.search-result h2{font-size:1.2rem;line-height:1.25;margin:.5rem 0}.search-result h2 a{color:#dfc3f6}.search-result p{font-size:.85rem;color:#c3b3cf;line-height:1.65;margin:0}.search-result mark{color:#f4e3ff;background:#5c3376}.recipe-results{display:grid;grid-template-columns:repeat(3,1fr);gap:.8rem;margin:1rem 0}.recipe-result{border:1px solid #4f3a5c;border-radius:5px;background:#1a1222;padding:1.1rem;display:flex;gap:1rem;align-items:flex-start}.recipe-result img{image-rendering:pixelated;width:42px;height:42px;flex-shrink:0}.recipe-result .recipe-icon{display:grid;place-items:center;width:42px;height:42px;flex-shrink:0;border:1px solid #644e72;color:#d3aff6}.recipe-result h2{font-size:1.05rem;line-height:1.3;margin:.2rem 0 .5rem}.recipe-result h2 a{color:#eedbc1}.recipe-result p{font-size:.78rem;color:#c5b3d2;margin:.25rem 0;line-height:1.5}.recipe-result small{font-size:.62rem;color:#cda7ee;letter-spacing:.04em}.full-books{border-top:1px solid #59462d;margin-top:3rem;padding-top:2rem}.full-books>h2{font-size:2rem}.book-grid{display:grid;grid-template-columns:1fr 1fr;gap:1.5rem}.book{border:1px solid #63466f;background:#1b1222;border-radius:6px;padding:1.5rem}.book .n{font:700 3rem Georgia,serif;color:#d2adfc;margin:.5rem 0}.book .tag{color:#d7b272;font-size:.75rem}.book h2{font-size:1.5rem}.book p{color:#beaecb;font-size:.9rem}.book a{color:#edcf96}.library-note{padding:1.2rem;border-left:3px solid #b98c4a;background:#1e1625;margin-top:1rem}.full-books>p,.full-books li{color:#bdb0c7;font-size:.9rem}
/* Guide content remains in its original layout, with consistent navigation and readable tables. */
body:not(.werks-page) .werks-header .shell{width:min(1240px,calc(100% - 3rem))}.updated-toc{top:148px!important;max-height:calc(100vh - 170px)!important}.chapter-nav{top:148px}.project-document .project-guide-intro{padding-top:2.8rem}.project-document .updated-prose code{word-break:normal;overflow-wrap:anywhere}.project-document .updated-prose table{min-width:520px}.project-document .updated-prose th{white-space:nowrap}.project-document .table-scroll{scrollbar-width:thin}.project-document .pack-gallery h3{margin-top:.8rem}.project-document .pack-gallery a{text-decoration:none}.project-document .pack-gallery .pack-art{height:250px}.project-document .updated-prose{line-height:1.8}.back-to-top{z-index:70}.site-header+.project-subnav{position:relative}html{scroll-padding-top:155px}
@media(min-width:1500px){.werk-hero>img{object-position:right 48%}.hero-shade{background:linear-gradient(90deg,#0d0913 4%,rgba(13,9,19,.94) 24%,rgba(13,9,19,.2) 65%,transparent),linear-gradient(0deg,#0b0910,transparent 35%)}}
@media(max-width:1100px){.werks-nav{flex-wrap:wrap;gap:.5rem 1rem;padding-block:.7rem;min-height:74px}.werks-nav>nav{order:3;flex-basis:100%;justify-content:flex-start;gap:1.5rem;overflow:auto}.werks-nav>nav>a{font-size:.75rem;padding:.35rem 0}.werks-nav>.motion-toggle{margin-left:auto}.farm-grid,.pack-gallery{grid-template-columns:repeat(2,minmax(0,1fr))}.catalog-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.shelf-title{display:block}.shelf-title p{margin-top:.45rem}.recipe-results{grid-template-columns:repeat(2,minmax(0,1fr))}.pack-art{height:310px}.werks-header .project-subnav{gap:1rem}.updated-toc{top:170px!important;max-height:calc(100vh - 190px)!important}}
@media(max-width:650px){.shell,body:not(.werks-page) .werks-header .shell{width:calc(100% - 1.5rem)}.werks-brand{font-size:.95rem}.werks-brand small{font-size:.5rem}.werks-nav>nav{gap:1.25rem;scrollbar-width:none}.werks-nav>nav>a{min-height:35px;display:flex;align-items:center}.werks-nav{padding-block:.5rem;gap:.4rem}.werk-hero{height:400px}.werk-hero>img{object-position:62% center;opacity:.6}.hero-shade{background:linear-gradient(90deg,#100a16f2,#100a1699),linear-gradient(0deg,#0b0910,transparent 70%)}.hero-heading{padding-top:2.5rem}.hero-heading h1{font-size:3.1rem}.hero-heading .eyebrow{font-size:.54rem}.hero-heading>p:not(.eyebrow){font-size:.9rem}.hero-caption{display:none}.desktop-break{display:none}.hero-actions{flex-direction:row!important}.hero-actions .button{width:auto;font-size:.64rem}.catalog{padding-top:2rem}.catalog-heading{display:block}.catalog-heading h2{font-size:1.85rem}.catalog-heading .text-link{display:inline-block;margin-top:.8rem}.catalog-tools{flex-wrap:wrap;gap:.6rem}.search-field{flex-basis:100%;min-height:48px}.search-field input{font-size:.85rem}.search-field kbd{display:none}#project-count{text-align:left;font-size:.7rem}.filter-bar{gap:.4rem;margin-bottom:1.5rem}.filter-bar button{min-height:42px;font-size:.68rem;padding:.5rem .65rem}.catalog-grid,.farm-grid,.guide-results,.recipe-results{grid-template-columns:1fr}.pack-gallery{grid-template-columns:repeat(2,minmax(0,1fr));gap:.65rem}.pack-art,.project-document .pack-gallery .pack-art{height:200px}.visual-card .card-body{padding:.75rem}.visual-card h3{font-size:1.1rem}.visual-card .card-meta{display:block}.visual-card .card-meta>span:last-child{display:block;margin-top:.3rem}.visual-card p{font-size:.75rem}.visual-card .card-links{display:flex;flex-direction:column}.visual-card .card-links a{min-height:40px;font-size:.66rem}.farm-grid .card-links{display:flex}.farm-grid .card-links a:last-child{grid-column:auto}.card-links a{min-height:44px;font-size:.73rem}.werk-card p{font-size:.87rem}.recipe-callout{padding:1rem;gap:.7rem}.recipe-callout img{width:32px;height:32px}.recipe-callout strong{font-size:1rem}.recipe-callout small{font-size:.72rem}.about-grid{grid-template-columns:1fr!important}.about-mark{max-width:160px!important}.about-section{padding-block:3rem}.werks-footer{flex-direction:column;align-items:flex-start;padding-block:2rem}.werks-footer nav{justify-content:flex-start;gap:1rem}.werks-footer nav a{min-height:30px}.library{padding-top:2rem}.library-intro h1{font-size:2.8rem}.library-shortcuts,.craft-shortcuts,.book-grid{grid-template-columns:1fr}.library-shortcuts,.craft-shortcuts{gap:.6rem}.updated-toc{position:static!important;max-height:none!important}.project-subnav{padding-block:.6rem}.project-document .page-shell{width:calc(100% - 1.5rem)}.recipe-result h2{font-size:1.12rem}.recipe-result p{font-size:.84rem}.guide-directory .werk-card{min-height:0}}
@media(prefers-reduced-motion:reduce){.werk-card,.pack-art svg{transition:none}.werk-card:hover,.pack-art:hover svg{transform:none}html{scroll-behavior:auto}}

.pack-art svg{width:auto;max-width:100%;margin-inline:auto;overflow:hidden}

/* Current Space Cadet item sprites, one per colourway. */
.spacecadet-icons{min-width:96px!important;white-space:normal}.spacecadet-icons img{display:inline-block;width:72px;height:72px;object-fit:contain;image-rendering:pixelated;vertical-align:middle;margin:4px}

.spacecadet-table{min-width:1120px;table-layout:auto!important}.spacecadet-table th:nth-child(4),.spacecadet-table td:nth-child(4){width:240px;min-width:240px}.spacecadet-table th:last-child,.spacecadet-table td:last-child{min-width:320px}

/* Pack guides use the exact inventory artwork shipped with each current pack. */
.pack-item-icons{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-top:12px;min-width:72px}
.pack-item-icons img,.pack-icon-grid img{width:64px;height:64px;object-fit:contain;image-rendering:pixelated}
.pack-illustrated-table .pack-id-cell{min-width:190px}
.pack-icon-library{margin:24px 0 32px;border:1px solid #55405f;border-radius:12px;background:rgba(21,15,29,.78);padding:16px 20px}
.pack-icon-library>summary{cursor:pointer;font-weight:700;color:#dfc18d;line-height:1.6}
.pack-icon-library>summary:focus-visible{outline:2px solid #bb87ec;outline-offset:6px}
.pack-icon-library>p{color:#c0b3c8}
.pack-icon-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:12px;margin-top:20px}
.pack-icon-grid figure{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:10px;margin:0;padding:16px 10px;background:#18121f;border:1px solid #3f304d;border-radius:8px;text-align:center}
.pack-icon-grid figcaption{color:#eee5f2;font-size:13px;line-height:1.4;font-weight:600}
.pack-icon-grid code{font-size:10px;line-height:1.5;overflow-wrap:anywhere;color:#b5a6c4;background:transparent;border:0;padding:0}
.pack-tile-items{display:flex;align-items:center;justify-content:center;gap:12px;width:100%;height:100%}
.pack-tile-items img{width:96px;height:96px;object-fit:contain;image-rendering:pixelated;filter:drop-shadow(0 8px 18px #8b5cb766)}
@media(max-width:600px){.pack-icon-library{padding:12px}.pack-icon-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.pack-illustrated-table{min-width:680px}.pack-tile-items{gap:4px}.pack-tile-items img{width:72px;height:72px}}
