/* SRD magic item pages. Builds on /monsters/monsters.css (the same hero, tabs, stat-block card, table and filter bar); everything new is scoped to .it-*. */
.wf .it-tags{display:flex;gap:8px;flex-wrap:wrap}
.wf .it-tag{padding:3px 12px;border-radius:999px;border:1px solid #3a475e;color:#e9e4d6;font-size:15px;text-decoration:none}
.wf a.it-tag:hover,.wf a.it-tag:focus-visible{border-color:#e3b04b}
.wf .it-tag.gold{border-color:#e3b04b;color:#f3cd84}
.wf .it-pill{display:inline-block;margin-left:8px;padding:0 8px;border:1px solid #3a475e;border-radius:999px;font-size:12px;letter-spacing:.05em;text-transform:uppercase;color:#c9d0dc;vertical-align:middle;font-weight:500}
.wf .it-counts{display:flex;flex-wrap:wrap;gap:6px 22px;margin:0 0 18px;padding:0;list-style:none;color:#c9d0dc;font-size:17px}
.wf .it-counts a{color:#f3cd84;font-weight:700}
.wf .it-note{padding:20px 22px}
.wf .it-note h2{font-size:24px;margin:0}
.wf .it-rel{margin:10px 0 0}
.wf .it-rel h3{font-size:19px;margin:16px 0 6px;color:#f4efe0}
.wf .mn-sb .it-tbl{width:100%;border-collapse:collapse;margin:8px 0 12px;font-size:16px;line-height:1.35}
.wf .mn-sb .it-tbl th,.wf .mn-sb .it-tbl td{padding:4px 10px;text-align:left;border-bottom:1px solid #c9a24a}
.wf .mn-sb .it-tbl thead th{background:rgba(122,31,16,.12);color:#7a1f10;font-weight:700}
.wf .mn-sb .it-tbl a{color:#7a1f10;font-weight:700}
.wf .mn-sb .it-ul{margin:0 0 8px;padding-left:22px;font-size:17px;line-height:1.45}
.wf .mn-sb h3.mn-sec{scroll-margin-top:84px}
.wf .it-sortable th[data-sort]{cursor:pointer;user-select:none}
.wf .it-sortable th[data-sort]::after{content:"";margin-left:6px;opacity:.55}
.wf .it-sortable th[aria-sort=ascending]::after{content:"\25B2";font-size:11px}
.wf .it-sortable th[aria-sort=descending]::after{content:"\25BC";font-size:11px}
@media(max-width:600px){.wf .mn-sb .it-tbl{font-size:15px}.wf .mn-sb .it-tbl th,.wf .mn-sb .it-tbl td{padding:4px 6px}}
.wf .it-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.wf .it-sortable th[data-sort]:focus-visible{outline:2px solid #e3b04b;outline-offset:-2px}

.wf .it-chips{display:grid;grid-template-columns:repeat(auto-fill,minmax(176px,1fr));gap:8px}
.wf .it-chips .mn-chip{min-height:58px;padding:8px 14px}
.wf .it-chips .mn-chip b{font-size:19px}
@media(max-width:600px){.wf .it-chips{grid-template-columns:repeat(2,minmax(0,1fr))}.wf .it-chips .mn-chip b{font-size:17px}}
@media(min-width:601px){.wf #mn-chips.it-chips{grid-template-columns:repeat(5,minmax(0,1fr))}}
.wf .mn-filter{scroll-margin-top:84px}
