/* Extra MVC Wiki + Dragon crafting additions */
.wiki-hub-grid{grid-template-columns:repeat(5,1fr)}
@media(max-width:1100px){.wiki-hub-grid{grid-template-columns:repeat(3,1fr)}}
@media(max-width:700px){.wiki-hub-grid{grid-template-columns:1fr 1fr}}
@media(max-width:520px){.wiki-hub-grid{grid-template-columns:1fr}}

.dragon-crafting{margin-top:54px}
.recipe-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px;margin-top:24px}
.recipe-card{background:linear-gradient(145deg,rgba(255,212,92,.12),rgba(183,131,255,.10),rgba(255,255,255,.04));border:1px solid var(--line);border-radius:22px;padding:20px;box-shadow:var(--shadow)}
.recipe-card h3{margin:0 0 16px;color:var(--gold);font-size:1.15rem}.recipe-card p{color:var(--muted);line-height:1.55;margin:14px 0 0}.recipe-card.wide{grid-column:span 4}
.craft-grid{display:grid;grid-template-columns:repeat(3,58px);grid-template-rows:repeat(3,58px);gap:8px;justify-content:center;background:rgba(0,0,0,.18);border:1px solid var(--line);border-radius:18px;padding:16px}
.craft-grid span{border:1px solid var(--line);border-radius:14px;background:rgba(255,255,255,.055);display:grid;place-items:center;min-width:0}
.craft-grid span:before{content:"";width:34px;height:34px;border-radius:10px;background:transparent}
.recipe-helmet span:nth-child(1):before,.recipe-helmet span:nth-child(2):before,.recipe-helmet span:nth-child(3):before,.recipe-helmet span:nth-child(4):before,.recipe-helmet span:nth-child(6):before,
.recipe-chestplate span:nth-child(1):before,.recipe-chestplate span:nth-child(3):before,.recipe-chestplate span:nth-child(4):before,.recipe-chestplate span:nth-child(5):before,.recipe-chestplate span:nth-child(6):before,.recipe-chestplate span:nth-child(7):before,.recipe-chestplate span:nth-child(8):before,.recipe-chestplate span:nth-child(9):before,
.recipe-leggings span:nth-child(1):before,.recipe-leggings span:nth-child(2):before,.recipe-leggings span:nth-child(3):before,.recipe-leggings span:nth-child(4):before,.recipe-leggings span:nth-child(6):before,.recipe-leggings span:nth-child(7):before,.recipe-leggings span:nth-child(9):before,
.recipe-boots span:nth-child(4):before,.recipe-boots span:nth-child(6):before,.recipe-boots span:nth-child(7):before,.recipe-boots span:nth-child(9):before,
.recipe-wing span:nth-child(4):before,.recipe-wing span:nth-child(6):before,.recipe-wing span:nth-child(7):before,.recipe-wing span:nth-child(9):before{background:url("assets/item-icons/amethyst_shard.png") center/contain no-repeat;image-rendering:pixelated;filter:drop-shadow(0 0 12px rgba(183,131,255,.65)) drop-shadow(0 5px 8px rgba(0,0,0,.35))}
.recipe-wing .chest-slot:before{background:linear-gradient(135deg,#252b31,#715d83);box-shadow:0 0 18px rgba(183,131,255,.35);clip-path:polygon(20% 5%,40% 5%,50% 20%,60% 5%,80% 5%,92% 35%,82% 95%,18% 95%,8% 35%)}
.craft-grid span:after{font-size:.72rem;font-weight:900;color:#041009}.recipe-wing .chest-slot:after{content:"CHEST";color:var(--gold);font-size:.62rem;position:absolute}.craft-grid span{position:relative}
@media(max-width:1100px){.recipe-grid{grid-template-columns:1fr 1fr}.recipe-card.wide{grid-column:span 2}}
@media(max-width:650px){.recipe-grid{grid-template-columns:1fr}.recipe-card.wide{grid-column:span 1}.craft-grid{grid-template-columns:repeat(3,52px);grid-template-rows:repeat(3,52px)}}
