.mhw-icon { width: 20px; height: 20px; object-fit: contain; vertical-align: middle; }
.mhw-icon-sm { width: 16px; height: 16px; object-fit: contain; vertical-align: middle; }
.mhw-inline { display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; }
.mhw-stats { display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: .85rem; color: var(--wa-muted); margin-top: 2px; }
.mhw-stats > span { display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; }
.mhw-stats > span.mhw-wrap { display: inline; white-space: normal; }
.wa-hero .mhw-icon-sm { width: 16px; height: 16px; border-radius: 0; background: none; }
.mhw-dmg-head img { width: 20px; height: 20px; max-width: none; object-fit: contain; vertical-align: middle; }
.mhw-slots { display: inline-flex; gap: 2px; vertical-align: middle; }
.mhw-slots img { width: 18px; height: 18px; }
.mhw-sharpness { display: inline-block; position: relative; width: min(140px, 100%); max-width: 100%; height: 10px; background: #070000; border: 1px solid #070000; vertical-align: middle; cursor: pointer; }
.mhw-sharpness > i { position: absolute; top: 0; bottom: 0; left: 0; display: block; }
.mhw-sharpness-wide { width: 100%; height: 14px; }
.mhw-crowns { display: inline-flex; gap: 2px; }
.mhw-crowns img { width: 18px; height: 18px; }
.mhw-crown-toggle { display: grid; grid-template-columns: repeat(3, auto); gap: 8px 24px; justify-content: start; margin: 8px 0; }
.mhw-crown-toggle label { display: inline-flex; align-items: center; gap: 6px; cursor: pointer; }
.mhw-crown-toggle img { width: 20px; height: 20px; }
.mhw-group-head { display: flex; align-items: center; gap: 10px; }
.mhw-group-head .wa-check { margin-left: auto; }
.mhw-sub-list { list-style: none; padding: 0; margin: 4px 0 0; }
.mhw-sub-list li { display: flex; align-items: center; gap: 6px; font-size: .85rem; margin: 2px 0; }
.mhw-loot-entry { font-size: .85rem; color: var(--wa-muted); }
.mhw-kv-icon dt { display: flex; align-items: center; gap: 6px; }
.mhw-tree-0 { padding-left: 14px; }
body.mhw-indent .mhw-tree-1 { padding-left: 34px; }
body.mhw-indent .mhw-tree-2 { padding-left: 54px; }
body.mhw-indent .mhw-tree-3 { padding-left: 74px; }
body.mhw-indent .mhw-tree-4 { padding-left: 94px; }
body.mhw-indent .mhw-tree-5 { padding-left: 114px; }
body.mhw-indent .mhw-tree-6 { padding-left: 134px; }
body.mhw-indent .mhw-tree-7 { padding-left: 154px; }
body.mhw-indent .mhw-tree-8 { padding-left: 174px; }
body.mhw-indent .mhw-tree-9, body.mhw-indent .mhw-tree-10, body.mhw-indent .mhw-tree-11, body.mhw-indent .mhw-tree-12 { padding-left: 194px; }
@media (max-width: 600px) {
    .mhw-tree-0 { padding-left: 8px; }
    body.mhw-indent .mhw-tree-1 { padding-left: 14px; }
    body.mhw-indent .mhw-tree-2 { padding-left: 20px; }
    body.mhw-indent .mhw-tree-3 { padding-left: 26px; }
    body.mhw-indent .mhw-tree-4 { padding-left: 32px; }
    body.mhw-indent .mhw-tree-5, body.mhw-indent .mhw-tree-6, body.mhw-indent .mhw-tree-7, body.mhw-indent .mhw-tree-8, body.mhw-indent .mhw-tree-9, body.mhw-indent .mhw-tree-10, body.mhw-indent .mhw-tree-11, body.mhw-indent .mhw-tree-12 { padding-left: 38px; }
}
.mhw-count { display: inline-flex; align-items: center; gap: 4px; }
.mhw-count input { width: 64px; text-align: center; }
.mhw-count button { width: 32px; height: 32px; padding: 0; }
.mhw-swatch { display: inline-block; width: 12px; height: 12px; border-radius: 3px; border: 1px solid color-mix(in srgb, var(--wa-text) 35%, transparent); vertical-align: middle; }
.mhw-note { display: inline-block; width: 16px; height: 16px; border-radius: 50%; vertical-align: middle; border: 1px solid rgba(0, 0, 0, .3); }
.mhw-hero-images { display: flex; flex-wrap: wrap; gap: 12px; }
.mhw-hero-images figure { margin: 0; text-align: center; font-size: .85rem; color: var(--wa-muted); }
.mhw-hero-images img { width: 160px; height: 160px; object-fit: contain; background: var(--wa-surface-2); border-radius: var(--wa-radius); }
.mhw-html { overflow-wrap: anywhere; }
.mhw-html img { max-width: 100%; height: auto; }
.mhw-html img:not(.screenshot) { width: 18px; height: 18px; object-fit: contain; vertical-align: middle; }
.mhw-html iframe { display: block; width: 100%; max-width: 720px; height: auto; aspect-ratio: 16 / 9; border: 0; border-radius: var(--wa-radius); }
.mhw-html table { border-collapse: collapse; max-width: 100%; }
.mhw-html td, .mhw-html th { border: 1px solid var(--wa-border); padding: 4px 6px; }
.mhw-rank-low { color: #1cdce9; }
.mhw-rank-high { color: #fb6d00; }
.mhw-rank-master { color: #ddb500; }
.mhw-level { font-weight: 700; }
.mhw-overcharged { color: #ff0000; font-weight: 700; }
.mhw-builder-slot { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-bottom: 1px solid var(--wa-border); }
.mhw-builder-slot:last-child { border-bottom: 0; }
.mhw-builder-slot a.wa-row-main { color: inherit; text-decoration: none; }
.mhw-builder-actions { display: flex; align-items: center; gap: 6px; flex: none; }
.mhw-two-col { display: grid; grid-template-columns: 1fr; gap: 12px; }
@media (min-width: 900px) { .mhw-two-col { grid-template-columns: 1fr 1fr; } }
.mhw-option-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 8px 16px; }
.mhw-option-grid label { display: flex; align-items: center; gap: 8px; }
.mhw-skill-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 10px 14px; border-bottom: 1px solid var(--wa-border); }
.mhw-skill-row:last-child { border-bottom: 0; }
.mhw-skill-row .wa-row-main { min-width: 160px; }
.mhw-levels { display: flex; gap: 4px; flex-wrap: wrap; }
.mhw-levels button { min-width: 34px; }
.mhw-result { margin: 16px 0; }
.mhw-squad-img { width: 56px; height: 56px; object-fit: contain; border-radius: 8px; }
.mhw-video { position: relative; width: 100%; max-width: 720px; aspect-ratio: 16 / 9; margin: 8px 0; }
.mhw-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; border-radius: var(--wa-radius); }
.mhw-notes { display: inline-flex; gap: 3px; }
.mhw-pick { display: flex; align-items: center; gap: 12px; flex: 1; min-width: 0; padding: 0; margin: 0; border: 0; background: none; font: inherit; color: inherit; text-align: left; cursor: pointer; text-decoration: none; }
.mhw-pick:hover .wa-row-title { color: var(--wa-accent-fg); }
