/* Crafting component on the Weapon crafting and Crafting pages (2026-11-11). The component itself (ranked ways, "Write it yourself",
   ingredient chips) is styled by css/ability-tree.css, the stylesheet of the Ability Tree page; this file only adds the page frame:
   panels like the Ability Tree info panel, the recipe cards and the example cards. Icons: css/gi-craft-icons.css. */
.cr-panel{margin:14px 0;padding:10px 12px;border:1px solid rgba(127,151,156,.45);border-radius:3px;scroll-margin-top:12px}
.cr-panel>h3:first-child{margin-top:0}
.cr-panel>:last-child{margin-bottom:0}
.cr-panel .at-ing2{margin:4px 0 8px}
/* recipe cards (Cards view of the Weapon crafting table; gi-cards.css makes the rows cards) */
.gi-t.cr-t.ic-cards tbody{grid-template-columns:repeat(auto-fill,minmax(min(330px,100%),1fr))}
.gi-t.cr-t.ic-cards tr{contain-intrinsic-size:auto 560px}
.gi-t.cr-t.ic-cards .cr-meta{order:1;color:var(--dim);font-size:12px}
.gi-t.cr-t.ic-cards .cr-how{order:2}
.gi-t.cr-t .ic-h a{color:inherit}
.cr-how .at-rank{margin:8px 0 0}
.cr-how .at-rank>li{padding:6px 8px}
.cr-how .at-why,.cr-how .at-small{margin:3px 0 4px}
.cr-how p{margin:4px 0}
/* example / fragment cards on the Crafting page */
.cr-cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(330px,100%),1fr));gap:12px;margin:10px 0}
.cr-card{padding:10px 12px 12px;border:1px solid rgba(127,151,156,.45);border-top:2px solid rgba(79,240,238,.45);border-radius:3px;font-size:13px;line-height:1.45;min-width:0}
.cr-card .at-ihead{display:flex;align-items:center;gap:10px}
.cr-card h4{margin:0;font-size:15px}
.cr-card .at-sub{margin:2px 0 6px}
.cr-card p{margin:4px 0}
.cr-ic{border:1px solid rgba(127,151,156,.5)}
/* "Write the code" link on the Weapons page: the chip look of the crafting pages */
a.cr-chip{display:inline-flex;align-items:center;padding:0 8px 0 4px;border:1px solid rgba(127,151,156,.5);border-radius:3px;text-decoration:none;white-space:nowrap}
a.cr-chip::before{content:"\25B8";display:inline-block;width:14px;color:#4ff0ee}
a.cr-chip:hover,a.cr-chip:focus-visible{border-color:#4ff0ee;background:rgba(79,240,238,.12);outline:none}
/* fragment list of the Crafting page: the fragment chip, its recipe level and bits below it */
.cr-frags{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(300px,100%),1fr));gap:4px 14px;margin:6px 0}
.cr-frag{min-width:0}
.cr-frag>.at-small{margin:0 0 4px 22px}
