/* Custom Crafting v47: shared Wiki charcoal-and-gold treatment, compact readable tables */
body.custom-crafting-page{background:var(--vw-bg,#090d0f)}
.custom-crafting-page .wiki-article{max-width:100%;min-width:0}
.custom-crafting-page .cc-page-header{margin-bottom:22px}
.custom-crafting-page .cc-contents{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin:0 0 22px}
.custom-crafting-page .cc-contents a{display:flex;gap:10px;align-items:center;justify-content:space-between;padding:12px 13px;border:1px solid var(--vw-line,#282d2d);border-radius:4px;background:#111618;font-size:.78rem;color:#dedbd2;font-weight:700;text-decoration:none;transition:background .16s ease,border-color .16s ease}
.custom-crafting-page .cc-contents a:hover,.custom-crafting-page .cc-contents a:focus-visible{background:#1b2020;border-color:#aa8c56}
.custom-crafting-page .cc-contents a b{color:#d8b768;font-variant-numeric:tabular-nums}
.custom-crafting-page .cc-intro{padding:14px 0 2px;color:#b9b7ae;font-size:.89rem;line-height:1.7}
.custom-crafting-page .cc-intro p{margin:0 0 8px}
.custom-crafting-page .cc-intro strong{color:#e7e3da}
.custom-crafting-page .cc-intro-footnote{font-size:.78rem;color:#8d9696!important}
.custom-crafting-page .cc-section{margin-top:30px;padding-top:27px;border-top:1px solid var(--vw-line,#293031);scroll-margin-top:15px}
.custom-crafting-page .cc-section-heading{margin:0 0 16px}
.custom-crafting-page .cc-section-heading>span{display:block;color:#d6b76d;font-size:.68rem;letter-spacing:.1em;font-weight:800;text-transform:uppercase;margin-bottom:4px}
.custom-crafting-page .cc-section-heading h2{margin:0 0 7px!important;color:#f0ece3!important;font-size:1.65rem!important;line-height:1.13}
.custom-crafting-page .cc-section-heading p{margin:0!important;color:#aeb0a9!important;font-size:.85rem;line-height:1.6!important;max-width:74ch}
.custom-crafting-page .cc-table-scroll{width:100%;overflow-x:auto;border:1px solid #2b3230;border-radius:5px;background:#0d1215;scrollbar-width:thin}
.custom-crafting-page .cc-reference-table{width:100%;border-collapse:collapse;border-spacing:0;color:#e4e4dd;text-align:left;font-size:.83rem;line-height:1.4;table-layout:fixed}
.custom-crafting-page .cc-reference-table thead{background:#191e1e}
.custom-crafting-page .cc-reference-table th{padding:12px 14px;color:#c3ae79;text-transform:uppercase;letter-spacing:.08em;font-size:.67rem;font-weight:850;border-bottom:1px solid #3b3f38}
.custom-crafting-page .cc-reference-table td{padding:13px 14px;border-bottom:1px solid #273030;vertical-align:middle}
.custom-crafting-page .cc-reference-table tbody tr:last-child td{border-bottom:none}
.custom-crafting-page .cc-reference-table tbody tr:hover{background:rgba(215,184,108,.045)}
.custom-crafting-page .cc-craft-table th:first-child{width:33%}.custom-crafting-page .cc-craft-table th:nth-child(2){width:42%}.custom-crafting-page .cc-craft-table th:last-child{width:25%}
.custom-crafting-page .cc-stone-table th:first-child{width:34%}.custom-crafting-page .cc-stone-table th:nth-child(2){width:56%}.custom-crafting-page .cc-stone-table th:last-child{width:10%;text-align:right}
.custom-crafting-page .cc-furnace-table th:first-child{width:36%}.custom-crafting-page .cc-furnace-table th:nth-child(2){width:42%}.custom-crafting-page .cc-furnace-table th:last-child{width:22%}
.custom-crafting-page .cc-item{display:inline-flex;align-items:center;gap:9px;min-width:0;vertical-align:middle;max-width:100%}
.custom-crafting-page .cc-item-text{display:flex;flex-direction:column;gap:2px;min-width:0;overflow-wrap:anywhere}
.custom-crafting-page .cc-item-text strong{font-size:.84rem;font-weight:690;color:#e7e6de}
.custom-crafting-page .cc-item-meta{font-size:.68rem;color:#949c97;font-weight:450}
.custom-crafting-page .cc-ingredients{display:flex;flex-wrap:wrap;align-items:center;gap:7px 14px}
.custom-crafting-page .cc-qty{margin-left:0;color:#cba965;font-size:.77rem;white-space:nowrap}
.custom-crafting-page .cc-pixel-icon{position:relative;display:inline-flex;flex:0 0 34px;width:34px;height:34px;align-items:center;justify-content:center;border:1px solid #343b38;border-radius:4px;background:#1b2424;overflow:hidden}
.custom-crafting-page .cc-pixel-icon img{position:absolute;inset:4px;display:block;width:26px;height:26px;object-fit:contain;image-rendering:pixelated;image-rendering:crisp-edges;filter:drop-shadow(0 1px 1px rgba(0,0,0,.4))}
.custom-crafting-page .cc-fallback{font-size:.6rem;letter-spacing:.02em;color:#7f8b86;font-weight:800}
.custom-crafting-page .cc-icon-custom{border-color:rgba(203,169,101,.27);color:#ddc38c;background:#24231c}
.custom-crafting-page .cc-icon-custom span{font-size:1.3rem;color:#d8ba76}
.custom-crafting-page .cc-kind{font-size:.74rem;color:#d0bc87;font-weight:680}
.custom-crafting-page .cc-tag{display:block;margin:4px 0 1px 43px;color:#bd9c59;font-size:.67rem;font-weight:700;text-transform:uppercase;letter-spacing:.06em}
.custom-crafting-page .cc-id{display:block;margin-left:43px;color:#7e9290;font-size:.62rem;line-height:1.45;overflow-wrap:anywhere}
.custom-crafting-page .cc-layout-details{margin-top:5px}
.custom-crafting-page .cc-layout-details summary{width:fit-content;cursor:pointer;color:#d8b768;font-size:.7rem;text-decoration:underline;text-decoration-color:rgba(216,183,104,.4);text-underline-offset:3px}
.custom-crafting-page .cc-mini-pattern{margin:11px 0 2px;border-collapse:separate;border-spacing:3px;width:auto;table-layout:auto!important}
.custom-crafting-page .cc-mini-pattern td{width:66px;max-width:82px;min-width:55px;min-height:51px;padding:5px!important;border:1px solid #353e3b!important;background:#192020;text-align:center;vertical-align:middle}
.custom-crafting-page .cc-mini-pattern td.cc-empty{color:#414c47;background:#111619;border-style:dashed!important}
.custom-crafting-page .cc-mini-pattern td .cc-pixel-icon{width:23px;height:23px;flex-basis:23px;margin:auto}
.custom-crafting-page .cc-mini-pattern td .cc-pixel-icon img{width:17px;height:17px;inset:3px}
.custom-crafting-page .cc-mini-pattern td>span:last-child{display:block;font-size:.54rem;line-height:1.25;color:#9da6a0;margin-top:3px;overflow-wrap:anywhere}
.custom-crafting-page .cc-muted{color:#89938d;font-size:.72rem}
.custom-crafting-page .cc-line{display:block;margin-top:6px}
.custom-crafting-page .cc-time{font-variant-numeric:tabular-nums;color:#d5c095;font-weight:750;font-size:.77rem;white-space:nowrap}
.custom-crafting-page .cc-info-note{font-size:.81rem;line-height:1.7;color:#a8afa8;margin:11px 0 0}
.custom-crafting-page .cc-info-note strong{color:#e0ceaa}
.custom-crafting-page .cc-search-line{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:17px 0 12px}
.custom-crafting-page .cc-search-line label{color:#dad9d0;font-size:.79rem;font-weight:700;flex-basis:100%}
.custom-crafting-page .cc-search-line input{min-width:200px;flex:1;height:42px;padding:0 12px;border:1px solid #4a473d;border-radius:4px;outline:none;color:#e9ece6;background:#11181a;font:inherit;font-size:.84rem}
.custom-crafting-page .cc-search-line input:focus{border-color:#d6b76d;box-shadow:0 0 0 2px rgba(214,183,109,.08)}
.custom-crafting-page #cc-filter-status{font-size:.76rem;color:#909b97;font-variant-numeric:tabular-nums}
.custom-crafting-page .cc-stone-family{margin:22px 0 0}
.custom-crafting-page .cc-stone-family h3{margin:0 0 4px;font-size:1.15rem;color:#e5e1d7}
.custom-crafting-page .cc-family-intro{margin:0 0 10px!important;font-size:.76rem;line-height:1.4;color:#8e9994!important}
.custom-crafting-page .cc-stone-table .cc-cell-note{margin:4px 0 0!important;font-size:.72rem;color:#8f9b93!important;line-height:1.6!important;max-width:60ch}
.custom-crafting-page .cc-count{text-align:right;color:#bba371;font-weight:700;font-variant-numeric:tabular-nums}
.custom-crafting-page .cc-no-results{color:#b8aaa0;font-size:.84rem}
.custom-crafting-page [hidden]{display:none!important}
.custom-crafting-page .cc-reference-note h2{margin:0 0 10px!important;font-size:1.35rem;color:#e7e0d5}
.custom-crafting-page .cc-reference-note>p{margin:8px 0 0;color:#adb1ab;font-size:.82rem;line-height:1.75}
.custom-crafting-page .cc-reference-note .cc-ref-links{display:flex;gap:11px;flex-wrap:wrap;margin:19px 0}
.custom-crafting-page .cc-ref-links a{display:inline-flex;border-bottom:1px solid #a58b5a;padding:0 0 4px;color:#d9b879;font-size:.84rem;font-weight:700;text-decoration:none}
.custom-crafting-page .cc-ref-links a:hover{color:#f6dc9a;border-color:#e8c279}
.custom-crafting-page .cc-credit{color:#788985!important;font-size:.72rem!important}
.custom-crafting-page .cc-credit a{color:#b3a27f;text-decoration:underline}
@media (max-width:780px){.custom-crafting-page .cc-pixel-icon{width:29px;height:29px;flex-basis:29px}.custom-crafting-page .cc-pixel-icon img{width:23px;height:23px;inset:3px}.custom-crafting-page .cc-reference-table td{padding:11px 9px}.custom-crafting-page .cc-reference-table th{padding:10px 9px}.custom-crafting-page .cc-item{gap:6px}.custom-crafting-page .cc-tag,.custom-crafting-page .cc-id{margin-left:35px}}
@media (max-width:600px){.custom-crafting-page .cc-contents{gap:5px}.custom-crafting-page .cc-contents a{display:grid;gap:4px;padding:10px;font-size:.68rem}.custom-crafting-page .cc-contents a b{font-size:1.05rem}.custom-crafting-page .cc-reference-table{min-width:620px}.custom-crafting-page .cc-stone-table{min-width:640px}.custom-crafting-page .cc-table-scroll{scrollbar-width:thin}.custom-crafting-page .cc-search-line{align-items:stretch;flex-direction:column}.custom-crafting-page #cc-filter-status{font-size:.72rem}}
@media(prefers-reduced-motion:reduce){.custom-crafting-page .cc-contents a{transition:none}}
