.item-properties{margin:.65rem 0;text-align:left;min-width:0;color:var(--text);font-family:var(--body,Arial,sans-serif)}
.item-stat-note{font-size:.67rem;color:var(--muted);line-height:1.45;margin:.4rem 0}
.item-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.45rem;margin:.45rem 0 .65rem}
.item-metrics>div{min-width:0;display:flex;flex-direction:column}.item-metrics dt{font-size:.67rem;line-height:1.3;color:var(--muted);overflow-wrap:anywhere}
.item-metrics dd{margin:auto 0 0;padding-top:.15rem;font:1.55rem/1.2 var(--display);color:var(--gold);white-space:nowrap}
.item-metrics dd small{font:.65rem var(--body,Arial,sans-serif);color:var(--muted)}
.item-properties img{width:20px;height:20px;object-fit:contain;vertical-align:middle}
.item-scaling{margin:.55rem 0}.item-scaling>p,.item-abilities>p,.item-requirements>p{font-size:.64rem;color:var(--muted);margin:.25rem 0}
.item-scaling table{width:100%;border-collapse:collapse;table-layout:fixed;font-size:.7rem}
.item-scaling th,.item-scaling td{padding:.25rem .15rem;border-bottom:1px solid #9e884b30;text-align:center;font-weight:400}
.item-scaling th:first-child{width:43%;text-align:left;overflow-wrap:anywhere}.item-scaling td{color:var(--gold);font-variant-numeric:tabular-nums}
.item-requirements span{display:inline-flex;align-items:center;gap:.25rem;font-size:.75rem;margin:.15rem .4rem .15rem 0;color:#c8cfaa}.item-requirements span.is-unmet,.item-stat-warning{color:#d99a7e}
.item-stat-warning{font-size:.66rem;line-height:1.45;margin:.35rem 0}
.item-abilities>div,.item-effect>div{display:flex;justify-content:space-between;gap:.5rem;padding:.3rem 0;border-bottom:1px solid #9e884b30;font-size:.75rem}
.item-abilities b,.item-effect b{color:var(--gold);font-weight:400}.item-effect>p{margin:.7rem 0 .2rem;font-size:.75rem;line-height:1.5}.item-effect>div>span{flex:none;color:var(--muted)}.item-effect>div>p{margin:0;line-height:1.5}.item-effect small{color:var(--muted);font-size:.62rem}
.item-properties.is-compact .item-metrics dd{font-size:1.2rem}.item-properties.is-compact .item-stat-note{font-size:.6rem}.item-properties.is-compact .item-scaling table{font-size:.64rem}
body[data-view=builder] .forge-weapon .item-properties{max-width:330px;margin:.65rem auto}
body[data-view=builder] .arsenal-showcase-art{height:clamp(145px,calc(100dvh - 580px),230px)}
body[data-view=builder] .arsenal-showcase-caption .item-properties{margin:.5rem 0}
@media(max-width:760px){body[data-view=builder] .arsenal-stage{grid-template-columns:minmax(0,1fr) minmax(145px,1.6fr) minmax(0,1fr);min-height:510px}body[data-view=builder] .arsenal-showcase-art{height:130px}.item-properties.is-compact .item-metrics{gap:.2rem}.item-properties.is-compact .item-metrics dt{font-size:.54rem}.item-properties.is-compact .item-metrics dd{font-size:1rem}.item-properties.is-compact .item-scaling table{font-size:.56rem}.item-properties.is-compact .item-metrics dd small{font-size:.48rem}.item-properties.is-compact .item-stat-note{font-size:.53rem}}

body[data-view=builder] .arsenal-showcase-caption>.eyebrow{margin-bottom:.15rem}
body[data-view=builder] .arsenal-showcase-caption>.arsenal-alternate{margin-bottom:.2rem}
body[data-view=builder] .arsenal-showcase-caption .item-properties{margin:.35rem 0}

body[data-view=builder] .inventory-preview-heading{display:grid;grid-template-columns:64px minmax(0,1fr);gap:.7rem;align-items:center;margin-bottom:.65rem}
body[data-view=builder] .inventory-preview-heading .inventory-preview-art{float:none;width:64px;height:80px;margin:0;background:none}
body[data-view=builder] .inventory-preview-heading h3{font-size:1.05rem;line-height:1.25;margin:.2rem 0}
body[data-view=builder] .inventory-preview-heading .eyebrow{font-size:.6rem;margin:0}
body[data-view=builder] .inventory-preview-heading .inventory-alternate{font-size:.64rem;margin:.25rem 0 0}
body[data-view=builder] .inventory-preview-heading .inventory-equipped-label{margin:.25rem 0 0}
body[data-view=builder] .inventory-preview .item-requirements{display:flex;align-items:center;flex-wrap:wrap;gap:.4rem;margin-top:.4rem}
body[data-view=builder] .inventory-preview .item-requirements>p{margin:0}
body[data-view=builder] .inventory-dialog .dialog-head{margin-bottom:.35rem;padding:.6rem .8rem}
body[data-view=builder] .inventory-dialog .dialog-head h2{font-size:1.6rem;line-height:1.2}
body[data-view=builder] .inventory-search{margin:.55rem 0 .75rem}
body[data-view=builder] .inventory-footer{margin-top:.7rem;padding-top:.7rem}
@media(min-width:1051px){body[data-view=builder] .inventory-layout{grid-template-columns:400px minmax(0,1fr)}}
@media(max-width:760px){body[data-view=builder] .inventory-preview{flex-basis:50%}body[data-view=builder] .inventory-preview-heading{grid-template-columns:48px minmax(0,1fr);gap:.55rem;margin-bottom:.4rem}body[data-view=builder] .inventory-preview-heading .inventory-preview-art{width:48px;height:60px}body[data-view=builder] .inventory-preview-heading h3{font-size:.94rem}}

/* Armour numbers stay beside the game symbols; names appear on demand. */
body[data-view=builder] .defence-details{gap:.55rem}
body[data-view=builder] .defence-details>div{grid-template-columns:20px minmax(0,1fr);gap:.5rem}
body[data-view=builder] .defence-details dt{gap:0}
body[data-view=builder] .defence-details dd{display:flex;align-items:center;gap:.4rem;min-width:0;font-variant-numeric:tabular-nums}
body[data-view=builder] .defence-details [data-defence]{min-width:2.4ch;line-height:1.2}
body[data-view=builder] .defence-details [data-counter-digits="4"]{font-size:1.35rem}
body[data-view=builder] .defence-details [data-counter-digits="5"]{font-size:1.15rem}
body[data-view=builder] .defence-details [data-counter-digits="6"]{font-size:1rem}
.defence-help{position:relative;display:inline-flex;flex:none;align-items:center}
.defence-info{display:grid;place-items:center;width:28px;height:28px;padding:0;border:0;background:transparent;color:#b89958;cursor:help}
.defence-info>span{display:grid;place-items:center;width:19px;height:19px;border:1px solid #90733e99;border-radius:50%;font:italic 13px/1 'Spectral',serif}
.defence-info:hover>span,.defence-info:focus-visible>span{border-color:#cfb373;color:#ecd19b}
.defence-info:focus-visible{outline:1px solid #cfb373;outline-offset:1px;border-radius:50%}
.defence-tooltip{position:absolute;right:0;bottom:100%;z-index:5;width:max-content;max-width:190px;padding:.45rem .6rem;border:1px solid #8b733d;background:#191810;color:#e3d2ac;box-shadow:0 3px 8px #0007;font:.75rem/1.4 var(--body,Arial,sans-serif);visibility:hidden;opacity:0;pointer-events:none;text-align:left}
.defence-help:not(.is-dismissed):hover .defence-tooltip,.defence-help:not(.is-dismissed):has(.defence-info:focus-visible) .defence-tooltip,.defence-help.is-pinned .defence-tooltip{visibility:visible;opacity:1;pointer-events:auto}
