.ew-explorer{--ew-ink:#e9eef0;--ew-muted:#afbec3;--ew-accent:#c6cdd2;color:var(--ew-ink);background:#101d23;border:1px solid #33464d;border-radius:16px;padding:clamp(20px,4vw,44px);max-width:1080px;margin:24px auto;font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;line-height:1.6;box-sizing:border-box}.ew-explorer *{box-sizing:border-box}.ew-explorer .ew-eyebrow{font-size:11px;font-weight:700;letter-spacing:.18em;color:var(--ew-accent);margin:0 0 14px}.ew-explorer h2{font-size:clamp(28px,4vw,44px);line-height:1.15;color:var(--ew-ink);margin:0 0 12px;letter-spacing:-.035em}.ew-header>p:last-child{color:var(--ew-muted);margin:0 0 28px}.ew-controls{display:grid;grid-template-columns:1fr 1fr;gap:18px}.ew-controls label{display:block;font-size:13px;font-weight:650;margin-bottom:7px}.ew-weapon-control{grid-column:1/-1}.ew-controls select,.ew-controls input{display:block;width:100%;min-height:48px;font:inherit;font-size:14px;line-height:1.4;color:var(--ew-ink);background:#1b2d35;border:1px solid #50616a;border-radius:7px;padding:10px 12px}.ew-controls select{padding-right:30px}.ew-controls option{background:#1b2d35;color:var(--ew-ink)}.ew-controls input::placeholder{color:#a0b0b8}.ew-controls select:focus-visible,.ew-controls input:focus-visible,.ew-explorer summary:focus-visible{outline:3px solid var(--ew-accent);outline-offset:3px}.ew-controls select:disabled{opacity:.6}.ew-count{color:var(--ew-muted);font-size:12px;margin:12px 0 22px}.ew-empty{padding:36px 20px;text-align:center;border:1px dashed #4b606a;border-radius:10px;color:var(--ew-muted)}.ew-card{background:#16272e;border:1px solid #3c505a;border-radius:12px;padding:clamp(18px,3vw,30px)}.ew-explorer .ew-rarity{color:var(--ew-accent);font-size:12px;text-transform:uppercase;letter-spacing:.1em;margin:0 0 8px}.ew-explorer h3{font-size:28px;color:var(--ew-ink);line-height:1.25;letter-spacing:-.02em;margin:0 0 10px}.ew-meta{color:var(--ew-muted);font-size:13px}.ew-description{font-size:14px;color:#d1dce0}.ew-stat-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:26px 0}.ew-stat-grid>div{padding:15px;background:#0f2027;border:1px solid #30464f;border-radius:8px}.ew-stat-grid dt{color:var(--ew-muted);font-size:11px}.ew-stat-grid dd{color:var(--ew-ink);font-size:19px;margin:5px 0 0;font-weight:650;overflow-wrap:anywhere}.ew-explorer h4{color:var(--ew-ink);font-size:16px;margin:24px 0 12px}.ew-damage-types{display:flex;flex-wrap:wrap;gap:8px;font-size:13px}.ew-chip{color:#f1d5a2;border:1px solid #796544;border-radius:5px;padding:5px 10px;background:#302d24}.ew-note{font-size:12px;color:var(--ew-muted);margin:14px 0}.ew-perks{padding-left:24px;font-size:14px}.ew-perks li{padding:8px 0;border-bottom:1px solid #33464e}.ew-perks li::marker{color:var(--ew-accent)}.ew-perks p{font-size:13px;color:var(--ew-muted);margin:5px 0}.ew-source{border-top:1px solid #3c505a;padding-top:15px;margin-top:24px;color:var(--ew-muted);font-size:12px;overflow-wrap:anywhere}.ew-source summary{cursor:pointer}.ew-footer{color:var(--ew-muted);font-size:11px;margin-top:24px}@media(max-width:640px){.ew-controls{grid-template-columns:1fr}.ew-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.ew-explorer h3{font-size:24px}}
.ew-level-controls{margin-top:18px}.ea-slots{display:grid;gap:16px;margin:20px 0 28px}.ea-slot{background:#16272e;border:1px solid #3c505a;border-radius:10px;padding:18px}.ea-slot h3{font-size:21px;margin:20px 0 8px}.ea-slot .ew-controls{grid-template-columns:minmax(0,3fr) minmax(0,1fr)}.ea-slot .ew-controls>div{min-width:0}.ea-bonuses{font-size:14px;padding-left:22px}.ea-bonuses li{padding:4px 0}.ew-source a{color:#c6cdd2}@media(max-width:640px){.ea-slot .ew-controls{grid-template-columns:minmax(0,1fr)}}
.ew-item-image{display:flex;align-items:center;justify-content:center;width:144px;height:144px;padding:8px;margin:8px 0 18px;background:radial-gradient(ellipse,#34434b,#101d23);border:1px solid #50616a;border-radius:12px;color:#afbec3;font-size:12px;text-align:center}.ew-item-image img{display:block;width:128px;height:128px;object-fit:contain}.ew-card-top:after{content:"";display:block;clear:both}@media(min-width:641px){.ew-card-top>.ew-item-image{float:right;margin:0 0 18px 24px}}
.ew-equipment{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:24px;max-width:1500px;margin:24px auto;align-items:start}.ew-equipment>.ew-explorer{width:100%;min-width:0;max-width:none;margin:0;padding:24px}.ew-equipment .ew-controls{grid-template-columns:minmax(0,1fr)}.ew-equipment .ew-controls>div{min-width:0}.ew-equipment .ew-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.ew-equipment .ew-card{padding:18px}.ew-equipment h2{font-size:32px}.ew-equipment h3{font-size:25px}.ew-equipment .ea-slot h3{font-size:21px}.ew-equipment .ew-card-top>.ew-item-image{float:none;margin:0 0 18px}.ew-equipment .ea-slot{padding:14px}@media(max-width:900px){.ew-equipment{grid-template-columns:minmax(0,1fr)}}
.ew-equipment>.ew-combined-panel{grid-column:1/-1}.ew-equipment .eq-shared-controls{grid-template-columns:repeat(3,minmax(0,1fr))}.ew-combined-panel [data-eq-summary]{margin-top:24px}.ew-combined-panel .ew-stat-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.eq-table-wrap{max-width:100%;overflow-x:auto}.eq-stat-table{width:100%;border-collapse:collapse;font-size:13px;color:#e9eef0}.eq-stat-table caption{text-align:left;color:#afbec3;padding:0 0 12px;font-size:12px}.eq-stat-table th,.eq-stat-table td{padding:10px 12px;border-bottom:1px solid #3c505a;text-align:right;white-space:nowrap}.eq-stat-table th:first-child{text-align:left;white-space:normal;min-width:130px}.eq-stat-table thead th{color:#c6cdd2}.eq-stat-table tbody th{font-weight:500}.eq-shared-stat{background:#363636}.ew-controls>div[hidden]{display:none}@media(max-width:640px){.ew-equipment .eq-shared-controls,.ew-combined-panel .ew-stat-grid{grid-template-columns:minmax(0,1fr)}}
.ew-equipment [data-ea-summary]{display:none}
.eq-available{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:24px;margin:24px 0}.eq-available-column{min-width:0}.eq-available-column>label{display:block;font-size:13px}.eq-available input{display:block;width:100%;background:#1b2d35;color:#e9eef0;border:1px solid #50616a;border-radius:7px;padding:12px;font:inherit;margin-top:6px}.eq-item-list{max-height:520px;overflow-y:auto;overscroll-behavior:contain;display:grid;gap:12px;padding:3px}.eq-item-card{display:grid;grid-template-columns:64px minmax(0,1fr);gap:12px;padding:14px;background:#16272e;border:1px solid #3c505a;border-radius:8px}.eq-item-selected{border-color:#c6cdd2;background:#363636}.eq-item-card img{object-fit:contain;background:#101d23;border-radius:6px}.eq-item-card h4{font-size:15px;margin:0 0 6px}.eq-item-card p{margin:4px 0}.eq-item-bonuses{font-size:12px;padding-left:16px;margin:6px 0}.eq-item-card button{grid-column:1/-1}.eq-available button{font:inherit;font-size:13px;cursor:pointer;background:#c6cdd2;color:#172027;border:1px solid #c6cdd2;border-radius:5px;padding:9px 12px}.eq-available button[aria-pressed=true]{background:#253d44;color:#e9eef0}.eq-available button:focus-visible,.eq-available input:focus-visible{outline:3px solid #c6cdd2;outline-offset:3px}.eq-more{display:block;margin-top:12px;width:100%}.eq-more[hidden]{display:none}@media(max-width:640px){.eq-available{grid-template-columns:minmax(0,1fr)}.eq-item-list{max-height:440px}}
.eq-available select{display:block;width:100%;min-height:44px;background:#1b2d35;color:#e9eef0;border:1px solid #50616a;border-radius:7px;padding:10px;font:inherit;margin:6px 0}.eq-available-column>label+label{margin-top:10px}.eq-available select:focus-visible{outline:3px solid #c6cdd2;outline-offset:3px}
.ew-equipment .eq-shared-controls{grid-template-columns:repeat(4,minmax(0,1fr))}@media(max-width:900px){.ew-equipment .eq-shared-controls{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:640px){.ew-equipment .eq-shared-controls{grid-template-columns:minmax(0,1fr)}}
.ec-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.6fr);gap:24px;align-items:start}.ec-layout>div{min-width:0}.ec-list{display:grid;gap:12px;max-height:800px;overflow:auto;padding:3px}.ec-entry,.ec-attack{padding:16px;border:1px solid #3c505a;border-radius:8px;background:#16272e}.ec-entry h4,.ec-attack h4{margin-top:0}.ec-button{display:block;font:inherit;font-size:13px;padding:10px 14px;border:1px solid #c6cdd2;background:#c6cdd2;color:#172027;border-radius:5px;cursor:pointer;margin-top:12px}.ec-button:focus-visible{outline:3px solid #c6cdd2;outline-offset:3px}.ec-button[hidden]{display:none}.ec-attack{margin-top:16px;background:#102027}.ec-explorer .ew-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.ec-entry .ew-chip{font-size:11px;padding:3px 7px}.ec-layout .ew-source{overflow-wrap:anywhere}@media(max-width:760px){.ec-layout{grid-template-columns:minmax(0,1fr)}.ec-list{max-height:440px}}
.em-categories{display:flex;flex-wrap:wrap;gap:12px 22px;border:1px solid #3c505a;border-radius:8px;padding:14px;margin-top:20px}.em-categories legend{font-size:13px;padding:0 7px}.em-categories label{font-size:13px;display:flex;gap:7px;align-items:center}.em-categories label span:before{content:"";display:inline-block;width:9px;height:9px;background:var(--em-color);border-radius:50%;margin-right:6px}.em-categories input{accent-color:#c6cdd2}.em-toolbar{display:flex;flex-wrap:wrap;gap:8px}.em-toolbar button{font:inherit;font-size:13px;padding:8px 14px;background:#1b2d35;border:1px solid #50616a;color:#e9eef0;border-radius:5px;cursor:pointer}.em-canvas{display:block;width:100%;height:clamp(360px,52vw,620px);background:#10232a;border:1px solid #50616a;border-radius:10px;touch-action:none;cursor:grab}.em-canvas:active{cursor:grabbing}.em-canvas:focus-visible,.em-toolbar button:focus-visible,.em-location:focus-visible{outline:3px solid #c6cdd2;outline-offset:3px}.em-results{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.3fr);gap:24px;margin-top:28px}.em-results>div{min-width:0}.em-list{max-height:440px;overflow:auto;display:grid;gap:8px;padding:3px}.em-location{display:block;text-align:left;width:100%;font:inherit;font-size:13px;color:#e9eef0;background:#16272e;border:1px solid #3c505a;border-radius:7px;padding:12px;cursor:pointer}.em-location span{display:block;font-size:11px;color:#afbec3;margin-top:6px}.em-location[aria-pressed=true]{border-color:#c6cdd2;background:#363636}.em-results h3{font-size:23px}.em-results li{font-size:13px}.em-results .ew-source{overflow-wrap:anywhere}@media(max-width:700px){.em-results{grid-template-columns:minmax(0,1fr)}.em-canvas{height:400px}}
/* World atlas: warm charcoal sidebar and antique-gold interface accents. */
.em-explorer{--ew-accent:#bbc5cc;--ew-muted:#bbb8af;background:#20201e;border-color:#48473f;border-radius:8px;padding:0;width:100%;max-width:none;overflow:hidden;container-type:inline-size}
.em-shell{display:grid;grid-template-columns:310px minmax(0,1fr);height:820px;max-height:90vh;min-height:520px}
.em-sidebar{background:linear-gradient(145deg,#2c2c2a,#252524);padding:22px 16px;overflow:auto;scrollbar-color:#b49a64 #232321;border-right:2px solid #bbc5cc}
.em-heading{border-bottom:2px solid #bbc5cc;margin-bottom:18px;padding-bottom:14px}
.em-heading p{color:#bbc5cc;font-size:10px;letter-spacing:.18em;margin:0 0 8px}
.em-heading h2{font-size:24px;text-transform:uppercase;letter-spacing:.12em;margin:0}
.em-tabs{position:sticky;top:-22px;z-index:5;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:3px;background:#252b2d;padding:8px 0;margin:0 0 16px;border-bottom:1px solid #56656e}
.em-explorer .em-tabs button{font-size:11px;padding:10px 4px;border:0;border-bottom:2px solid transparent;border-radius:0;background:transparent;color:#bdb8ad;white-space:nowrap}
.em-explorer .em-tabs button[aria-selected=true]{color:#dde3e7;border-bottom-color:#bbc5cc;background:#353128}
.em-tab-panel[hidden],.em-quest-suggestions[hidden]{display:none!important}
.em-tab-panel.em-regions{padding-top:0;border-bottom:0}
.em-tab-panel.em-regions h3{font-size:18px;margin:0 0 14px}
.em-quest-picker{position:relative}
.em-quest-list{max-height:340px;overflow:auto;overscroll-behavior:contain;border:1px solid #56656e;border-radius:4px;margin:8px 0 18px}
.em-explorer .em-quest-row{display:block;width:100%;text-align:left;border:0;border-bottom:1px solid #494438;border-radius:0;padding:10px;font-size:11px;line-height:1.4;background:#252b2d;color:#e3e8eb}
.em-quest-row small{display:block;font-size:10px;color:#bcb3a0;margin-top:4px}
.em-explorer .em-quest-row[aria-pressed=true]{background:#494234;border-left:3px solid #bbc5cc}
.em-explorer .em-quest-picker input{font:inherit;font-size:12px;width:100%;min-height:36px;background:#1d2427;color:#e3e8eb;border:1px solid #56656e;border-radius:4px;padding:8px}
.em-quest-suggestions{position:absolute;z-index:6;top:100%;left:0;right:0;max-height:280px;overflow:auto;overscroll-behavior:contain;background:#242421;border:1px solid #7d8c97;border-radius:4px;box-shadow:0 6px 18px #0008}
.em-quest-option{padding:9px 10px;border-bottom:1px solid #3f3c34;cursor:pointer;font-size:11px;line-height:1.4;color:#e3e8eb;overflow-wrap:anywhere}
.em-quest-option small{display:block;font-size:10px;color:#bcb3a0;margin-top:3px}
.em-quest-option:hover,.em-quest-option[aria-selected=true]{background:#494234;color:#f6dfae}
.em-quest-empty{padding:10px;font-size:11px;color:#bcb3a0}
.em-actions{display:flex;gap:8px;margin:0 0 18px}
.em-explorer button{background:#34342f;color:#ccd5dc;border:1px solid #7d8c97;border-radius:4px;font:inherit;font-size:12px;padding:7px 10px;cursor:pointer}
.em-explorer button:hover{background:#494234;border-color:#d0d7dc}
.em-explorer :is(button,input,select,summary):focus-visible{outline:2px solid #bbc5cc;outline-offset:2px}
.em-sidebar .ew-controls{grid-template-columns:minmax(0,1fr);gap:10px}
.em-sidebar .ew-controls label{font-size:11px;color:#ccc8bd}
.em-sidebar .ew-controls :is(input,select){min-height:36px;padding:8px;background:#323b3e;border-color:#56554d;font-size:12px}
.em-sidebar .ew-controls option{background:#323b3e}
.em-categories{display:block;padding:0;margin:22px 0;border:0}
.em-categories legend{font-size:10px;text-transform:uppercase;letter-spacing:.15em;color:#bdb091;margin-bottom:6px;padding:0}
.em-group{border-bottom:1px solid #45443d;padding:10px 0}
.em-group summary{cursor:pointer;color:#d0d7dc}
.em-group summary>label{display:inline-flex;width:calc(100% - 17px);vertical-align:middle;font-weight:600;font-size:12px}
.em-group img{flex-shrink:0;object-fit:contain}
.em-group small{margin-left:auto;color:#b0ac9f;font-weight:400;font-size:10px;white-space:nowrap}
.em-categories label span:before{display:none}
.em-categories input{accent-color:#bbc5cc;margin:0;flex-shrink:0}
.em-categories .em-subgroup{display:flex;gap:7px;margin:7px 0;padding:3px 2px;font-size:11px;cursor:pointer}
.em-subgroup span{flex:1}
.em-categories .em-subgroup[hidden]{display:none}
.em-subgroup img{width:32px;height:32px}
.em-subsection{margin:10px 0;padding:7px 0 7px 8px;border-left:2px solid #56656e}
.em-subsection>summary{font-size:11px;text-transform:uppercase;letter-spacing:.06em}
.em-group>input[type=search]{width:100%;margin:10px 0;padding:8px;background:#1d2427;color:#e3e8eb;border:1px solid #56656e}
.em-regions select,.em-regions input[type=text],.em-regions input[readonly]{box-sizing:border-box;width:100%;background:#1d2427;color:#e3e8eb;border:1px solid #56656e;padding:8px;margin:5px 0}
.em-regions button{margin:5px 4px 5px 0;padding:7px;border:1px solid #56656e;background:#33312b;color:#e3e8eb;border-radius:4px;cursor:pointer}
.em-regions input[type=file]{max-width:100%;font-size:11px}
.em-regions ol{padding-left:20px}.em-regions li{margin-bottom:15px}.em-pin-list{max-height:220px;overflow:auto}
.em-subgroup:has(input:checked){color:#e3e8eb}
.em-subgroup:has(input:not(:checked)){opacity:.65}
.em-stage{position:relative;min-width:0;overflow:hidden;background:#20201e}
.em-explorer .em-canvas{width:100%;height:100%;border:0;border-radius:0;outline-offset:-3px}
.em-toolbar{position:absolute;z-index:2;top:12px;left:12px;right:12px;gap:6px;pointer-events:none}
.em-toolbar button{pointer-events:auto;background:#252b2dec;box-shadow:0 2px 8px #0005}
.em-stage>.ew-count{position:absolute;z-index:2;bottom:0;left:0;right:0;margin:0;padding:8px 12px 30px;background:#1d2427e8;color:#d5cebd;font-size:10px;pointer-events:none}
.em-detail{position:absolute;z-index:3;right:16px;top:64px;width:min(350px,calc(100% - 32px));max-height:calc(100% - 135px);overflow:auto;border:1px solid #bbc5cc;border-radius:6px;background:#252b2d;box-shadow:0 8px 25px #0007}
.em-detail[hidden]{display:none}
.em-detail .ew-card{border:0;border-radius:0;background:transparent;padding:16px;font-size:12px}
.em-detail h3{font-size:20px}.em-detail h4{font-size:14px}
.em-detail .em-close{float:right;margin:8px}
.em-sidebar .ew-source{border-color:#45443d;margin-top:18px}
.em-matches{font-size:12px;color:#c2ccd3}
.em-matches .em-list{margin-top:10px}
.em-location{background:#34342f}
.em-location[aria-pressed=true]{border-color:#bbc5cc;background:#454032}
.em-explorer.em-collapsed .em-shell{grid-template-columns:minmax(0,1fr)}
.em-collapsed .em-sidebar{display:none}
@container (max-width:700px){.em-shell{grid-template-columns:240px minmax(0,1fr);height:720px;max-height:none}.em-sidebar{padding:14px 10px}.em-toolbar{top:8px;left:8px;right:8px}.em-toolbar button{padding:6px}.em-detail{top:100px}}
@container (max-width:500px){.em-shell{display:flex;flex-direction:column;height:auto;max-height:none}.em-sidebar{max-height:340px;border-right:0;border-bottom:2px solid #bbc5cc}.em-stage{height:480px;flex-shrink:0}.em-collapsed .em-stage{height:620px}}
.em-advanced{font-size:12px;color:#d0d7dc}.em-advanced summary{cursor:pointer;padding:4px 0}.em-advanced>div{margin-top:10px}
.em-regions{font-size:12px;color:#c2ccd3;border-bottom:1px solid #45443d;padding:14px 0}.em-regions summary{cursor:pointer;margin-bottom:8px}.em-regions input{accent-color:#bbc5cc}.em-region-legend{display:grid;grid-template-columns:1fr 1fr;gap:5px;font-size:10px;margin-top:10px}.em-region-legend span:before{content:"";display:inline-block;width:9px;height:9px;background:var(--region-color);margin-right:6px}
.em-shroud label{display:block;margin:8px 0}.em-shroud select{display:block;width:100%;margin-top:6px;padding:8px;background:#323b3e;color:#e3e8eb;border:1px solid #7d8c97;border-radius:4px}.em-tooltip{position:absolute;z-index:4;pointer-events:none;width:280px;max-width:calc(100% - 16px);padding:13px 15px;background:#252b2df5;border:1px solid #7d8c97;border-left:3px solid #bbc5cc;border-radius:7px;box-shadow:0 5px 18px #0006;color:#e3e8eb;font-size:12px}.em-tooltip[hidden]{display:none}.em-tooltip img{float:left;width:32px;height:32px;object-fit:contain;margin:0 9px 4px 0}.em-tooltip strong{display:block;font-size:14px;line-height:1.35}.em-tooltip-category{display:block;color:#bbc5cc;font-size:10px;margin-top:5px}.em-tooltip p{clear:both;margin:8px 0 0;color:#c8c3b7;font-size:11px}
.em-sidebar .ew-controls .em-grid-toggle{display:flex;align-items:center;gap:7px;color:#c2ccd3;font-size:11px}.em-sidebar .ew-controls .em-grid-toggle input{display:inline-block;width:14px;min-height:14px;height:14px;margin:0;padding:0;accent-color:#bbc5cc}
.em-stage>.ew-count{text-align:center;font-size:12px}
.em-stage>.ew-count{white-space:pre-line;line-height:1.6}
.em-tooltip .em-tooltip-damage{color:#ccd5dc;border-top:1px solid #514a3b;padding-top:7px}.em-tooltip-note{display:block;color:#b9b3a7;font-size:10px;line-height:1.4;margin-top:5px}
.em-enemy-regions label{display:flex;align-items:center;gap:6px;margin:6px 0;font-size:11px}.em-enemy-regions small{margin-left:auto;color:#b0ac9f}
.em-boundary-options{gap:9px 6px;margin:14px 0}
.em-boundary-option{display:flex;align-items:center;gap:5px;cursor:pointer;font-size:11px}
.em-boundary-option input{margin:0;flex-shrink:0}
.em-boundary-option span:before{border-radius:2px}
.em-boundary-actions{display:flex;gap:6px;flex-wrap:wrap}
.em-map-footer{position:absolute;z-index:2;bottom:0;left:0;right:0;background:#1d2427e8;text-align:center;padding:8px 12px 28px;pointer-events:none}
.em-map-footer .ew-count{margin:0;color:#d5cebd;font-size:12px;white-space:pre-line;line-height:1.6}
.em-map-footer .em-example-link{display:inline-block;margin-top:5px;color:#e5cb91;font-size:12px;text-decoration:underline;text-underline-offset:3px;pointer-events:auto;padding:3px 6px}
.em-example-link:focus-visible{outline:2px solid #bbc5cc;outline-offset:2px}

.em-detail{right:auto;border-left:3px solid #bbc5cc}.em-detail .em-close{position:sticky;top:8px;z-index:1;font-size:22px;line-height:1;padding:5px 9px}.em-detail-icon{width:40px;height:40px;object-fit:contain;float:left;margin:0 10px 8px 0}.em-detail h3{padding-right:30px}.em-detail .em-example-link{display:block;margin:12px 0;clear:both}

.em-toolbar .em-map-view{order:2;margin-left:auto;display:flex;align-items:center;gap:7px;pointer-events:auto;padding:5px 8px;background:#252b2df5;border:1px solid #7d8c97;border-radius:5px;box-shadow:0 2px 8px #0005}.em-map-view label{font-size:11px;color:#c6cdd2;white-space:nowrap}.em-map-view select{width:auto;max-width:160px;padding:4px 6px;background:#323b3e;color:#e3e8eb;border:1px solid #65747e;border-radius:3px;font:12px system-ui}.em-map-view select:focus-visible{outline:2px solid #c6cdd2;outline-offset:2px}@container(max-width:700px){.em-toolbar .em-map-view{gap:4px;padding:4px}.em-map-view select{max-width:135px}}

.em-toolbar .em-map-options{order:2;margin-left:auto;display:flex;flex-direction:column;align-items:stretch;gap:6px;width:230px;max-width:100%;pointer-events:auto}.em-toolbar .em-map-options .em-map-view{margin:0;order:0;justify-content:space-between}.em-map-options .em-display-options{margin:0;padding:9px 10px;background:#252b2df5;border:1px solid #7d8c97;border-radius:5px;box-shadow:0 2px 8px #0005;max-height:55vh;overflow:auto;color:#e3e8eb;font-size:12px}.em-map-options .em-display-options>summary{cursor:pointer;color:#c6cdd2}.em-map-options .em-grid-toggle{display:block;margin:10px 0;font-size:12px}.em-map-options .em-shroud{margin-top:10px}.em-map-options .em-shroud select{max-width:100%}

.em-explorer .em-tabs button{white-space:normal;line-height:1.25;min-height:46px;overflow-wrap:normal}.em-tabs{grid-template-columns:repeat(4,minmax(0,1fr))}

/* Expanded map options must not stretch neighbouring toolbar buttons. */
.em-explorer .em-toolbar{align-items:flex-start;align-content:flex-start}.em-explorer .em-toolbar>button{align-self:flex-start;flex:0 0 auto;height:auto;min-height:0;max-height:none;line-height:1.4}

.em-layer-actions{display:inline-flex;flex-wrap:wrap;gap:5px;margin-left:9px;vertical-align:middle}.em-explorer .em-layer-actions button{font:inherit;font-size:10px;line-height:1.4;padding:3px 6px;color:#c6cdd2;background:#2d373a;border:1px solid #65747e;border-radius:4px;cursor:pointer}.em-layer-actions button:focus-visible{outline:2px solid #c6cdd2;outline-offset:2px}

.em-explorer .em-toolbar>button{box-sizing:border-box;width:auto;min-width:28px;height:30px;min-height:30px;max-height:30px;padding:4px 8px;font-size:12px;line-height:20px;margin:0;display:inline-flex;align-items:center;justify-content:center}.em-explorer .em-toolbar{gap:5px}

.em-explorer .em-shell{position:relative;grid-template-columns:var(--em-sidebar-width,340px) minmax(0,1fr)}.em-sidebar-resizer{position:absolute;z-index:6;top:0;bottom:0;left:calc(var(--em-sidebar-width,340px) - 4px);width:8px;cursor:col-resize;touch-action:none}.em-sidebar-resizer:hover,.em-sidebar-resizer:focus-visible{background:#c6cdd266;outline:none}.em-resizing{user-select:none}.em-explorer.em-collapsed .em-shell{grid-template-columns:minmax(0,1fr)}.em-collapsed .em-sidebar-resizer{display:none}.em-tabs{grid-template-columns:repeat(3,minmax(0,1fr))}.em-equipment-panel>input,.em-equipment-panel select{display:block;box-sizing:border-box;width:100%;padding:9px;background:#323b3e;border:1px solid #65747e;border-radius:4px;color:#e3e8eb;font:12px system-ui;margin:8px 0 12px}.em-equipment-panel>label{font-size:12px;color:#c6cdd2}.em-equipment-item{display:flex;gap:9px;padding:10px 0;border-bottom:1px solid #45443d;font-size:12px}.em-equipment-item img{width:44px;height:44px;object-fit:contain;flex-shrink:0}.em-equipment-item p{margin:4px 0}.em-equipment-item small{color:#c6c0b1}.em-armour-set{padding:10px 0;border-bottom:1px solid #45443d;font-size:13px}.em-armour-set summary{cursor:pointer;color:#c6cdd2}@container(max-width:500px){.em-sidebar-resizer{display:none}}

/* Slate and sage preview palette. */
.em-explorer .em-sidebar,.em-explorer .em-tabs{background:#252b2d}.em-explorer .em-stage,.em-explorer .em-canvas{background:#1d2427}.em-explorer .em-toolbar>button{background:#293236;color:#d2d9df}.em-explorer .em-tabs button[aria-selected=true]{background:#3e3e3e}.em-explorer .em-sidebar input[type=search],.em-explorer .em-sidebar select{background:#323b3e;color:#eceee5}.em-explorer .em-detail{background:#252b2d}

/* Dark sage terrain surround and silver controls. */
.em-explorer .em-stage,.em-explorer .em-canvas{background:#0a0a0a}.em-explorer .em-heading{border-color:#bbc5cc}.em-explorer .em-heading p,.em-explorer .em-tabs button[aria-selected=true]{color:#d4dce1}.em-explorer input{accent-color:#bbc5cc}.em-explorer .em-sidebar{scrollbar-color:#89969f #252b2d}.em-explorer .em-sidebar::-webkit-scrollbar-thumb{background:#89969f}.em-explorer .em-sidebar::-webkit-scrollbar-track{background:#252b2d}

.em-explorer .em-boundary-actions{margin:5px 0 10px;gap:5px}.em-explorer .em-boundary-actions button{box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;min-height:24px;height:24px;width:auto;padding:2px 7px;margin:0;font-size:11px;line-height:18px;border-radius:4px}.em-equipment-regions>label{font-size:12px;color:#c6cdd2}

.em-explorer .em-order-controls{display:inline-flex;gap:3px;margin-left:6px;vertical-align:middle}.em-explorer .em-order-controls[hidden],.em-explorer .em-layer-actions button[hidden],.em-explorer .em-order-note[hidden]{display:none}.em-explorer .em-order-controls button{width:27px;min-height:26px;height:26px;padding:0;font-size:16px;line-height:24px;margin:0}.em-explorer .em-order-controls button:disabled{opacity:.35}.em-explorer .em-layer-actions{flex-wrap:wrap}.em-explorer .em-order-note{font-size:12px}

.em-boundary-editor{width:310px;max-width:calc(100vw - 65px);max-height:60vh;overflow:auto;padding:10px;background:#252b2d;border:1px solid #65747e;border-radius:5px;color:#d4dce1;font:12px/1.5 system-ui}.em-boundary-editor[hidden]{display:none}.em-boundary-editor p{margin:8px 0}.em-boundary-editor select,.em-boundary-editor input[type=number]{display:block;width:100%;box-sizing:border-box;padding:5px;background:#323b3e;color:#eee;border:1px solid #65747e}.em-boundary-tools{display:flex;flex-wrap:wrap;gap:4px}.em-explorer .em-boundary-tools button{width:auto;min-height:28px;height:auto;padding:3px 7px;font-size:11px}.em-boundary-editor label{display:block;margin:8px 0}

.em-boundary-settings{width:310px;max-width:calc(100vw - 65px);padding:10px;box-sizing:border-box;color:#d4dce1;font:12px/1.5 system-ui}.em-boundary-settings>label{display:block;margin:8px 0}.em-boundary-settings input[type=number],.em-boundary-settings select{box-sizing:border-box;display:block;width:100%;padding:5px;color:#eee;background:#323b3e;border:1px solid #65747e}.em-boundary-settings input[type=color]{width:100%;height:30px;padding:2px;margin-top:4px}.em-boundary-panel{max-height:75vh;overflow:auto}.em-boundary-panel>.em-boundary-editor{box-sizing:border-box;max-height:none}.em-explorer .em-boundary-panel>button{margin:5px 10px;font-size:12px;min-height:30px}

.em-boundary-save-status{padding:0 10px 10px;max-width:290px;font:12px/1.5 system-ui;color:#d4dce1}

/* Compact map navigation with custom vector icons. */
.em-explorer .em-tabs{gap:3px 4px;padding:5px 0;margin-bottom:10px}.em-explorer .em-tabs button{display:flex;align-items:center;justify-content:flex-start;gap:6px;min-width:0;min-height:30px;height:30px;padding:4px 6px;margin:0;font-size:11px;line-height:18px;white-space:nowrap;border-radius:3px 3px 0 0;color:#c6cdd2}.em-explorer .em-tabs .em-tab-icon{display:block;width:15px;height:15px;flex:0 0 15px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.em-tab-text{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.em-explorer .em-tabs button:hover{background:#303c3e;color:#eef4f6}.em-explorer .em-tabs button:focus-visible{outline:2px solid #c6dce7;outline-offset:-2px}

.em-boundary-context-menu{position:fixed;z-index:100000;padding:4px;background:#252b2d;border:1px solid #89969f;border-radius:5px;box-shadow:0 4px 16px #0008}.em-boundary-context-menu[hidden]{display:none}.em-boundary-context-menu button{display:block;padding:7px 14px;background:transparent;color:#e3e8eb;border:0;font:13px system-ui;cursor:pointer}.em-boundary-context-menu button:hover,.em-boundary-context-menu button:focus-visible{background:#39484c;outline:1px solid #bbc5cc}

/* Movable boundary toolbox; fixed to the viewport, independent of map panning. */
.em-boundary-window{position:fixed;z-index:1000;width:330px;max-width:calc(100vw - 16px);max-height:calc(100vh - 16px);margin:0;border:1px solid #71838c;border-radius:8px;background:#252b2d;color:#d4dce1;box-shadow:0 8px 28px #0008;font:12px/1.45 system-ui;overflow:hidden}.em-boundary-window[hidden]{display:none}.em-boundary-window *{box-sizing:border-box}.em-boundary-window-header{display:flex;align-items:center;gap:8px;padding:5px 8px;border-bottom:1px solid #536169;background:#303c40}.em-boundary-window button{min-height:28px;height:auto;width:auto;margin:0;padding:4px 8px;border:1px solid #65747e;border-radius:4px;background:#303a3e;color:#e3e8eb;font:12px/1.4 system-ui;cursor:pointer}.em-boundary-window button:hover{background:#415057}.em-boundary-window button:focus-visible{outline:2px solid #c6dce7;outline-offset:1px}.em-boundary-window button.em-boundary-grip{flex:1;text-align:left;border:0;font-weight:650;cursor:move;touch-action:none}.em-boundary-window>.em-boundary-panel{max-height:calc(100vh - 64px);padding:0;margin:0;overflow:auto;background:transparent;border:0}.em-boundary-window .em-boundary-panel>summary{display:none}.em-boundary-window .em-boundary-settings,.em-boundary-window .em-boundary-editor{width:100%;max-width:none;padding:10px;border:0;border-radius:0}.em-boundary-window .em-boundary-editor{max-height:none}.em-boundary-window .em-boundary-editor>p,.em-boundary-window .ew-note{font-size:11px;color:#b8c5cb;margin:6px 0}.em-boundary-window .em-boundary-panel>button{margin:0 10px 8px}.em-boundary-window .em-boundary-tool-group{margin:10px 0;padding-top:9px;border-top:1px solid #46545a}.em-boundary-tool-group>strong{display:block;margin-bottom:6px;font-size:11px;text-transform:uppercase;letter-spacing:.06em}.em-boundary-window .em-boundary-tools{display:flex;flex-wrap:wrap;gap:4px}.em-boundary-window-footer{position:sticky;bottom:0;padding:8px 10px;background:#252b2d;border-top:1px solid #65747e}.em-boundary-window-footer>button{width:100%;background:#505050;font-weight:650}.em-boundary-window .em-boundary-save-status{padding:0;margin:6px 0 0;font-size:11px;max-width:none}.em-boundary-window select[hidden]{display:none}.em-map-options>button{font-size:12px;padding:6px 10px}

.em-boundary-window .em-boundary-settings{display:grid;grid-template-columns:1fr 1fr;gap:0 8px}.em-boundary-window .em-boundary-settings>strong,.em-boundary-window .em-boundary-settings>label:first-of-type,.em-boundary-window .em-boundary-settings>label:last-of-type,.em-boundary-window .em-boundary-settings>p{grid-column:1/-1}.em-boundary-window .em-boundary-settings>label{margin:5px 0}.em-boundary-window .em-boundary-tool-group{margin:7px 0;padding-top:6px}

.em-node-nudge{display:flex;align-items:end;gap:7px;margin-top:8px}.em-boundary-window .em-node-nudge>button{font-size:20px;width:38px;height:31px;flex-shrink:0;padding:0}.em-boundary-window .em-node-nudge>label{flex:1;margin:0;font-size:11px}.em-boundary-window .em-node-nudge input{height:31px;margin-top:3px}

/* Compact vector-style boundary toolbar. */
.em-boundary-window{width:560px;min-width:0;max-width:calc(100vw - 16px)}.em-boundary-window-header{padding:2px 6px}.em-boundary-window-header button{min-height:24px;padding:2px 6px}.em-vector-toolbar{display:flex;align-items:center;flex-wrap:wrap;gap:5px;padding:8px}.em-vector-toolbar>select{width:125px;min-height:32px;background:#252e32;color:#e3e8eb;border:1px solid #65747e;border-radius:4px;font:11px system-ui}.em-vector-toolbar>input[type=color]{appearance:none;width:34px;height:34px;border:0;padding:0;border-radius:50%;background:transparent;cursor:pointer}.em-vector-toolbar>input[type=color]::-webkit-color-swatch-wrapper{padding:2px}.em-vector-toolbar>input[type=color]::-webkit-color-swatch{border:2px solid #c6d3da;border-radius:50%}.em-vector-toolbar>input[type=color]::-moz-color-swatch{border:2px solid #c6d3da;border-radius:50%}.em-vector-width{display:flex;align-items:center;gap:3px;border-left:1px solid #65747e;padding-left:6px;margin:0 3px;font:11px system-ui}.em-vector-width input{width:47px;height:31px;background:#252e32;color:#e3e8eb;border:1px solid #65747e;border-radius:4px;padding:3px;font:12px system-ui}.em-boundary-window .em-vector-icon{display:inline-flex;align-items:center;justify-content:center;width:31px;height:31px;min-height:31px;padding:4px}.em-vector-icon svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}.em-vector-toolbar button:disabled{opacity:.35;cursor:default}.em-vector-toolbar .em-vector-save{background:#505050;font-weight:650;min-height:31px}.em-vector-more{border-top:1px solid #46545a;padding:5px 10px}.em-vector-more>summary{cursor:pointer;font-size:11px;color:#b8c9d0}.em-boundary-window .em-vector-more .em-boundary-editor{padding:4px 0}.em-boundary-window .em-boundary-window-footer{position:static;padding:0 10px 6px;border:0}.em-boundary-window .em-boundary-tool-group>strong{font-size:10px}.em-boundary-window .em-boundary-panel{width:100%}

.em-vector-toolbar button[aria-pressed=true]{background:#45616a;border-color:#bad3dd;color:#fff}

.em-boundary-context-menu button[hidden]{display:none}

.em-snap-controls{display:inline-flex;align-items:center;gap:4px;padding-left:6px;border-left:1px solid #65747e;font:11px system-ui}.em-snap-controls input{width:44px;height:31px;padding:3px;background:#252e32;color:#e3e8eb;border:1px solid #65747e;border-radius:4px;font:12px system-ui}

/* Keep expanded boundary options within the floating palette. */
.em-boundary-window .em-vector-toolbar{gap:4px;padding:6px}.em-boundary-window .em-vector-more{padding:5px 8px;overflow-wrap:anywhere}.em-boundary-window .em-boundary-settings{padding:6px 0}.em-boundary-window .em-vector-more input[type=number]{width:100px;max-width:100%;height:28px;padding:3px 6px}.em-boundary-window .em-vector-more select{width:100%;max-width:100%;height:28px;padding:3px 6px;font:12px system-ui}.em-boundary-window .em-boundary-editor>p{line-height:1.35}.em-boundary-window .em-boundary-tool-group{margin:5px 0;padding-top:5px}

/* Aligned layer headers and per-layer selection controls. */
.em-group>summary{display:grid;grid-template-columns:12px minmax(0,1fr);align-items:center;gap:5px 6px;list-style:none}
.em-group>summary::-webkit-details-marker{display:none}
.em-group>summary::before{content:'\25B6';font-size:10px;grid-column:1;grid-row:1;transition:transform .15s}
.em-group[open]>summary::before{transform:rotate(90deg)}
.em-group>summary>label{display:flex;align-items:center;gap:6px;width:100%;min-width:0;margin:0;grid-column:2;grid-row:1}
.em-group>summary>label>span{min-width:0;line-height:1.35}
.em-group>summary>label>input{flex:0 0 auto;margin:0}
.em-group>summary>label>img{width:24px;height:24px}
.em-group>summary>label>small{margin-left:auto;padding-left:5px;font-variant-numeric:tabular-nums}
.em-layer-selection{grid-column:2;display:flex;justify-content:flex-end;gap:5px}
.em-explorer .em-layer-selection>button{width:auto;min-height:23px;height:23px;margin:0;padding:2px 7px;border:1px solid #526168;border-radius:4px;background:transparent;color:#bdcbd2;font:10px/1.3 system-ui;white-space:nowrap}
.em-explorer .em-layer-selection>button:hover{background:#36454a;color:#fff}
.em-explorer .em-layer-selection>button:focus-visible{outline:2px solid #c4d7df;outline-offset:2px}
.em-group>summary>.em-order-controls{grid-column:2}
/* Dark blue sidebar with distinct navigation icon colours. */
.em-explorer .em-sidebar,.em-explorer .em-tabs{background:#111d2b}
.em-explorer .em-sidebar{scrollbar-color:#8197ad #111d2b}
.em-explorer .em-sidebar::-webkit-scrollbar-track{background:#111d2b}
.em-explorer .em-sidebar input[type=search],.em-explorer .em-sidebar select{background:#1c3044;border-color:#405c75;color:#e7eef5}
.em-explorer .em-tabs button[aria-selected=true]{background:#304a61}
.em-explorer .em-tabs button:hover{background:#294158}
.em-explorer .em-tabs [id$='-tab-markers'] .em-tab-icon{color:#73cba9}
.em-explorer .em-tabs [id$='-tab-creatures'] .em-tab-icon{color:#ed929a}
.em-explorer .em-tabs [id$='-tab-armour'] .em-tab-icon{color:#79b9f3}
.em-explorer .em-tabs [id$='-tab-weapons'] .em-tab-icon{color:#c0a1ef}
.em-explorer .em-tabs [id$='-tab-quests'] .em-tab-icon{color:#efc17e}
.em-explorer .em-tabs [id$='-tab-personal'] .em-tab-icon{color:#88cddc}
.em-explorer .em-layer-selection>button{display:inline-flex;align-items:center;justify-content:center;width:25px;height:23px;padding:2px}.em-layer-selection svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}

/* Matching navy controls and footer. */
.em-explorer .em-sidebar button,.em-explorer .em-toolbar button{background:#203b54;border-color:#486b87;color:#e0ebf5}
.em-explorer .em-sidebar button:hover,.em-explorer .em-toolbar button:hover{background:#2c506e;border-color:#80afd0;color:#fff}
.em-explorer .em-sidebar button:focus-visible,.em-explorer .em-toolbar button:focus-visible{outline:2px solid #93c9ed;outline-offset:2px}
.em-explorer .em-tabs button{background:transparent;border-color:transparent}
.em-explorer .em-tabs button[aria-selected=true]{background:#26445f;border-bottom-color:#8fc4eb}
.em-explorer .em-tabs button:hover{background:#203b54}
.em-explorer .em-map-footer{background:rgba(17,29,43,.96);border-top:1px solid #36536c}
.em-explorer .em-map-footer .ew-count{color:#cedfed}
.em-explorer .em-map-footer .em-example-link{color:#8fc9f0}
.em-explorer .em-map-footer .em-example-link:hover{color:#c5e7ff}
/* Map controls share the sidebar palette. */
.em-explorer .em-map-options .em-map-view,.em-explorer .em-map-options .em-display-options{background:#111d2bf5;border-color:#486b87;color:#e0ebf5}
.em-explorer .em-map-options label,.em-explorer .em-map-options summary{color:#cedfed}
.em-explorer .em-map-options select{background:#203b54;border-color:#486b87;color:#e0ebf5}
.em-boundary-window,.em-boundary-window .em-boundary-editor,.em-boundary-window .em-boundary-window-footer{background:#111d2b;color:#e0ebf5;border-color:#486b87}
.em-boundary-window-header{background:#1b3045;border-color:#486b87}
.em-boundary-window button,.em-boundary-window select,.em-boundary-window input[type=number]{background:#203b54;border-color:#486b87;color:#e0ebf5}
.em-boundary-window button:hover{background:#2c506e;border-color:#80afd0}
.em-boundary-window .em-vector-save,.em-boundary-window button[aria-pressed=true]{background:#2c5878;border-color:#8fc4eb;color:#fff}
/* Saved map interface colours, scoped to each map instance. */
.em-explorer .em-sidebar,.em-explorer .em-tabs,.em-explorer .em-map-options .em-map-view,.em-explorer .em-map-options .em-display-options,.em-boundary-window,.em-boundary-window .em-boundary-editor,.em-boundary-window .em-boundary-window-footer{background:var(--em-theme-panel,#111d2b);color:var(--em-theme-text,#e0ebf5)}
.em-explorer .em-stage,.em-explorer .em-canvas{background:var(--em-theme-surround,#0a0a0a)}
.em-explorer .em-sidebar button,.em-explorer .em-toolbar button,.em-explorer .em-sidebar input[type=search],.em-explorer .em-sidebar select,.em-explorer .em-map-options select,.em-boundary-window button,.em-boundary-window select,.em-boundary-window input[type=number],.em-boundary-window-header{background:var(--em-theme-button,#203b54);border-color:var(--em-theme-border,#486b87);color:var(--em-theme-text,#e0ebf5)}
.em-explorer .em-sidebar button:hover,.em-explorer .em-toolbar button:hover,.em-boundary-window button:hover,.em-boundary-window .em-vector-save,.em-boundary-window button[aria-pressed=true],.em-explorer .em-tabs button[aria-selected=true]{background:var(--em-theme-hover,#2c506e);color:var(--em-theme-text,#e0ebf5)}
.em-explorer .em-tabs button{background:transparent}
.em-explorer .em-sidebar label,.em-explorer .em-sidebar summary,.em-explorer .em-sidebar small,.em-explorer .em-sidebar p,.em-explorer .em-sidebar legend,.em-explorer .em-map-options label,.em-explorer .em-map-options summary,.em-boundary-window label,.em-boundary-window summary,.em-boundary-window .ew-note,.em-boundary-window .em-boundary-editor>p{color:var(--em-theme-text,#e0ebf5)}
.em-explorer .em-map-footer{background:var(--em-theme-footer,#111d2b);border-color:var(--em-theme-border,#486b87)}
.em-explorer .em-map-footer .ew-count,.em-explorer .em-map-footer .em-example-link{color:var(--em-theme-text,#e0ebf5)}
.em-explorer .em-map-options .em-map-view,.em-explorer .em-map-options .em-display-options,.em-boundary-window,.em-boundary-window-header{border-color:var(--em-theme-border,#486b87)}
.em-explorer .em-sidebar{scrollbar-color:var(--em-theme-border,#486b87) var(--em-theme-panel,#111d2b)}
.em-explorer .em-sidebar::-webkit-scrollbar-track{background:var(--em-theme-panel,#111d2b)}
.em-explorer .em-sidebar .em-quest-row[aria-pressed=true],.em-explorer .em-sidebar .em-location[aria-pressed=true],.em-explorer .em-quest-option:hover,.em-explorer .em-quest-option[aria-selected=true]{background:var(--em-theme-hover,#2c506e);color:var(--em-theme-text,#e0ebf5);border-left:3px solid var(--em-theme-text,#e0ebf5)}

.em-backup-actions{display:flex;flex-wrap:wrap;gap:6px;margin-top:12px}.em-backup-actions>input[hidden]{display:none}

.em-pin-menu{position:fixed;z-index:100000;width:254px;padding:8px;background:var(--em-theme-panel,#111d2b);border:1px solid var(--em-theme-border,#486b87);border-radius:6px;box-shadow:0 5px 20px #0008;font:12px system-ui}.em-pin-menu[hidden],.em-pin-menu [hidden]{display:none}.em-pin-menu input{box-sizing:border-box;width:100%;padding:7px;margin-bottom:7px;background:var(--em-theme-button,#203b54);color:var(--em-theme-text,#e0ebf5);border:1px solid var(--em-theme-border,#486b87);border-radius:4px}.em-pin-menu button{padding:6px 10px;margin-right:5px;background:var(--em-theme-button,#203b54);color:var(--em-theme-text,#e0ebf5);border:1px solid var(--em-theme-border,#486b87);border-radius:4px;cursor:pointer}.em-pin-menu button:hover{background:var(--em-theme-hover,#2c506e)}

/* Hover labels and sticky location cards. */
.em-explorer .em-tooltip,.em-explorer .em-detail{background:var(--em-theme-label,#111d2b);border-color:var(--em-theme-border,#486b87);color:var(--em-theme-text,#e0ebf5)}
.em-explorer .em-tooltip p,.em-explorer .em-tooltip-category,.em-explorer .em-tooltip-note,.em-explorer .em-detail .ew-meta,.em-explorer .em-detail p{color:var(--em-theme-text,#e0ebf5)}
.em-explorer .em-detail button{background:var(--em-theme-button,#203b54);border-color:var(--em-theme-border,#486b87);color:var(--em-theme-text,#e0ebf5)}
.em-explorer .em-detail button:hover{background:var(--em-theme-hover,#2c506e)}
.em-detail .em-coordinates{clear:both;white-space:nowrap;font-size:11px;font-variant-numeric:tabular-nums;margin-top:10px}

/* Layer rows also retain their layout when moved into the Enemies tab. */
.em-explorer .em-group .em-subgroup{display:grid;grid-template-columns:15px 32px minmax(0,1fr) auto;align-items:center;column-gap:7px;width:100%;box-sizing:border-box;min-height:42px;margin:0;padding:5px 0;border-bottom:1px solid #294055;font-size:11px;line-height:1.4;cursor:pointer}
.em-explorer .em-group .em-subgroup[hidden]{display:none}
.em-explorer .em-group .em-subgroup>input{margin:0;width:13px;height:13px}
.em-explorer .em-group .em-subgroup>img{display:block;width:32px;height:32px;object-fit:contain;margin:0}
.em-explorer .em-group .em-subgroup>span{min-width:0;overflow-wrap:anywhere}
.em-explorer .em-group .em-subgroup>small{margin:0;padding-left:3px;text-align:right;font-size:10px;white-space:nowrap}
.em-explorer .em-group>input[type=search]{box-sizing:border-box;width:100%;margin:8px 0}
.em-detail .em-chest-loot{clear:both;margin:12px 0}
.em-chest-loot>section{border-top:1px solid var(--em-theme-border,#486b87);padding:10px 0}
.em-detail .em-chest-loot h4{margin:0 0 8px;font-size:12px;letter-spacing:.05em;text-transform:uppercase;color:var(--em-theme-text,#e0ebf5)}
.em-loot-row{display:grid;grid-template-columns:28px minmax(0,1fr) auto;align-items:center;gap:8px;padding:6px 0;border-bottom:1px solid #294055}
.em-loot-row>img{width:28px;height:28px;object-fit:contain}.em-loot-row strong{font-size:12px}.em-loot-row small{display:block;font-size:10px;line-height:1.4;opacity:.8;margin-top:3px}.em-loot-quantity{white-space:nowrap;font-size:11px;font-variant-numeric:tabular-nums}
.em-loot-rarities{display:flex;flex-wrap:wrap;gap:4px;margin:7px 0}.em-loot-rarities>span{background:var(--em-theme-button,#203b54);border-radius:4px;padding:3px 6px;font-size:10px}
.em-loot-pool{margin-top:9px}.em-loot-pool>summary{cursor:pointer;font-size:12px}.em-loot-pool input{box-sizing:border-box;width:100%;margin:7px 0;padding:6px;background:var(--em-theme-button,#203b54);color:var(--em-theme-text,#e0ebf5);border:1px solid var(--em-theme-border,#486b87);border-radius:4px}.em-loot-items{max-height:240px;overflow:auto;overscroll-behavior:contain}.ew-compare{background:#111d2b;color:#e0ebf5;padding:20px;border-radius:8px}.ew-compare-columns{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.ew-compare-columns .ew-header{display:none}.ew-compare-columns .ew-controls{grid-template-columns:1fr}.ew-compare-overview{overflow-x:auto}.ew-compare-overview table{border-collapse:collapse;width:100%;margin:16px 0}.ew-compare-overview th,.ew-compare-overview td{padding:10px;text-align:left;border:1px solid #486b87}.ew-compare button{padding:8px 12px;background:#203b54;color:#e0ebf5;border:1px solid #486b87;border-radius:4px}.ew-compare button:disabled{opacity:.5}@media(max-width:800px){.ew-compare-columns{grid-template-columns:1fr}}
.ew-compare{width:100%;max-width:none!important;box-sizing:border-box;margin-left:0;margin-right:0}.ew-compare *{box-sizing:border-box}.ew-compare-columns>div{min-width:0}.ew-compare-columns .ew-explorer{width:100%;max-width:none;margin:12px 0;padding:20px}.ew-compare-overview table{table-layout:fixed}.ew-compare-overview th,.ew-compare-overview td{overflow-wrap:anywhere;vertical-align:top}.ew-compare-overview td p{margin:6px 0}.wp-block-shortcode:has(>.ew-compare){width:100%;max-width:none!important}
.ew-enhancement-analysis{margin-top:16px;padding:18px;border:1px solid #486b87;border-radius:8px;background:#162a3d}.ew-enhancement-advantage{display:inline-block;padding:3px 8px;border-radius:4px;background:#434343;color:#b8f1dd}
.ew-bonus-graphs{display:grid;gap:12px}.ew-bonus-card{padding:16px;background:#102234;border:1px solid #36566e;border-radius:8px}.ew-bonus-card h5{margin:0 0 12px;font-size:16px;color:#e0ebf5}.ew-bonus-pair{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}.ew-bonus-weapon{display:grid;grid-template-columns:1fr auto;gap:8px;align-items:start;min-width:0}.ew-bonus-weapon strong{font-size:13px;overflow-wrap:anywhere}.ew-bonus-weapon>span{font-weight:700;font-variant-numeric:tabular-nums}.ew-bonus-track{grid-column:1/-1;background:#263b4d;height:14px;border-radius:4px;overflow:hidden}.ew-bonus-bar{height:100%;background:#66b9f0;border-radius:4px}.ew-bonus-weapon-1 .ew-bonus-bar{background:#d9ad6d}.ew-bonus-unavailable{background:repeating-linear-gradient(135deg,#263b4d,#263b4d 5px,#1b2b3b 5px,#1b2b3b 10px)}.ew-bonus-result{font-size:13px;margin:12px 0 0}.ew-bonus-verdict{padding:12px;border-left:3px solid #66b9f0;background:#102234}.ew-enhancement-analysis>details{margin-top:18px;font-size:12px}.ew-enhancement-analysis>h4{margin:0 0 12px;font-size:22px}@media(max-width:600px){.ew-bonus-pair{grid-template-columns:1fr;gap:16px}}
.ew-compare .ew-stat-grid{display:grid;grid-template-columns:1fr;gap:0;border:1px solid #36566e;border-radius:8px;overflow:hidden;margin:22px 0}.ew-compare .ew-stat-grid>div{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:16px;padding:12px 16px;border:0;border-bottom:1px solid #36566e;border-radius:0;background:#102234}.ew-compare .ew-stat-grid>div:last-child{border-bottom:0}.ew-compare .ew-stat-grid dt{font-size:14px;line-height:1.5;font-weight:500;color:#c4d5e3}.ew-compare .ew-stat-grid dd{font-size:19px;line-height:1.4;margin:0;white-space:nowrap;word-break:normal;overflow-wrap:normal;color:#f0f7ff;text-align:right;font-variant-numeric:tabular-nums}.ew-compare .ew-card{padding:22px}.ew-compare .ew-card-top{min-height:180px}.ew-compare .ew-item-image{width:128px;height:128px;max-width:35%;margin-left:16px}.ew-compare .ew-item-image img{width:100%;height:100%;object-fit:contain}.ew-compare .ew-rarity{font-size:11px;letter-spacing:.08em}.ew-compare .ew-description{line-height:1.65;font-size:14px}.ew-compare .ew-card h3{font-size:26px;overflow-wrap:normal;word-break:normal}@media(max-width:500px){.ew-compare .ew-card{padding:14px}.ew-compare .ew-stat-grid>div{padding:10px;gap:10px}.ew-compare .ew-stat-grid dt{font-size:12px}.ew-compare .ew-stat-grid dd{font-size:16px}}
.em-explorer .em-group>summary{display:grid;grid-template-columns:12px minmax(0,1fr) auto;align-items:center;column-gap:8px;row-gap:5px}.em-explorer .em-group>summary>.em-layer-selection{grid-column:3;grid-row:1;align-items:center;justify-self:end;flex-wrap:nowrap}.em-explorer .em-group>summary>label{grid-column:2;grid-row:1;width:auto;min-width:0}.em-explorer .em-group>summary>.em-order-controls{grid-column:2/-1;grid-row:2}
.em-explorer .em-group>summary{margin-bottom:6px;padding-bottom:4px}.em-explorer .em-group>.em-subsection{margin:3px 0;padding:0 0 0 8px}.em-explorer .em-group>.em-subsection>summary{padding:5px 0;margin:0;min-height:0;line-height:1.4;font-size:12px}.em-explorer .em-group>.em-subsection:first-of-type{margin-top:0}
.em-explorer .em-group{padding-top:10px;padding-bottom:10px}.em-explorer .em-group>summary{margin:0;padding-top:0;padding-bottom:0}.em-explorer .em-group[open]>summary{margin-bottom:6px}
.em-enemy-defences{margin-top:16px;border-top:1px solid #486b87;padding-top:8px}.em-defence-profile{padding:10px 0;border-bottom:1px solid #294055}.em-defence-profile p{margin:5px 0;font-size:12px;line-height:1.5}.em-defence-weak{color:#9ee6bc}.em-defence-resist{color:#e3c593}
.em-explorer .em-group>summary{grid-template-columns:12px minmax(0,1fr) auto auto}.em-explorer .em-group>summary>.em-order-controls{grid-column:4;grid-row:1;margin-left:0;gap:3px}.em-explorer .em-order-controls button{width:23px;min-height:23px;height:23px;line-height:20px;font-size:15px}
.em-nav-menu{margin:8px 0 12px;border:1px solid #486b87;border-radius:6px;background:var(--em-theme-button,#203b54)}.em-nav-menu>summary{display:flex;align-items:center;gap:9px;padding:10px 12px;cursor:pointer;list-style:none;font-size:14px;font-weight:650}.em-nav-menu>summary::-webkit-details-marker{display:none}.em-nav-menu>summary:after{content:'\25BE';margin-left:auto}.em-nav-menu[open]>summary:after{content:'\25B4'}.em-nav-menu>summary svg{width:19px;height:19px;flex:none}.em-explorer .em-nav-menu [role=tablist]{display:grid;grid-template-columns:1fr;gap:3px;padding:5px;margin:0;border-top:1px solid #486b87}.em-explorer .em-nav-menu [role=tab]{display:flex;justify-content:flex-start;width:100%;min-height:34px;white-space:nowrap;text-align:left}.em-nav-menu:focus-within{outline-color:#9bc8e7}.em-explorer .em-nav-menu:not([open])>[role=tablist]{display:none}
.em-notes-panel textarea{width:100%;box-sizing:border-box;resize:vertical;min-height:260px;padding:12px;color:var(--em-theme-text,#e0ebf5);background:var(--em-theme-panel,#111d2b);border:1px solid var(--em-theme-border,#486b87);border-radius:5px;font:14px/1.6 system-ui}.em-notes-actions{display:flex;flex-wrap:wrap;gap:6px;margin-top:10px}.em-notes-panel h3{font-size:18px}.em-nav-menu .em-tab-icon{color:#a9d6ed}
.em-nav-menu>summary:before{content:"\25BE";color:#70dd98;font-size:20px;line-height:1;flex:none}.em-nav-menu[open]>summary:before{content:"\25B4"}.em-nav-menu>summary:after{display:none}.em-nav-title{flex:1;min-width:0}.em-nav-current{font-size:11px;font-weight:400}.em-nav-menu>summary{gap:7px;font-size:13px}
.em-explorer .em-nav-menu>summary>.em-tab-icon{width:34px;height:34px;padding:6px;border:1px solid #6388a3;border-radius:7px;background:#102333;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round;color:#85e1c1}.em-nav-menu[data-section=creatures]>summary>.em-tab-icon{color:#f5a3ab}.em-nav-menu[data-section=armour]>summary>.em-tab-icon{color:#8fc9ff}.em-nav-menu[data-section=weapons]>summary>.em-tab-icon{color:#d1b0ff}.em-nav-menu[data-section=quests]>summary>.em-tab-icon{color:#ffd08a}.em-nav-menu[data-section=personal]>summary>.em-tab-icon{color:#93e3ef}.em-nav-menu[data-section=notes]>summary>.em-tab-icon{color:#b9dcff}.em-nav-current{font-size:12px;font-weight:650;color:#f0f7ff}
.em-explorer .em-actions{display:none}
.em-explorer .em-map-search{padding:7px;background:var(--em-theme-panel,#111d2b);border:1px solid var(--em-theme-border,#486b87);border-radius:5px}.em-map-search label{display:block;font-size:11px;margin-bottom:4px}.em-explorer .em-map-search input{width:100%;box-sizing:border-box;min-width:0;height:32px;padding:6px 8px;font:12px system-ui;color:var(--em-theme-text,#e0ebf5);background:var(--em-theme-button,#203b54);border:1px solid var(--em-theme-border,#486b87);border-radius:4px}
.em-explorer .em-display-options [hidden]{display:none}
/* Obsidian Gold atlas interface. Terrain and game item artwork retain native colours. */
.em-explorer{--em-gold:#c1ab72;--em-gold-dim:#6d5e3a;font-family:Georgia,'Times New Roman',serif}.em-explorer .em-sidebar{position:relative;background:radial-gradient(ellipse at 50% 0,rgba(112,95,53,.10),transparent 55%),var(--em-theme-panel,#100f0c);border:1px solid var(--em-theme-border,#665b3c);box-shadow:inset 0 0 0 4px #100f0c,inset 0 0 0 5px rgba(166,142,83,.18)}.em-explorer .em-heading{text-align:center;border-bottom:1px solid var(--em-theme-border);padding:5px 0 17px;margin-bottom:12px;position:relative}.em-explorer .em-heading>p{font:small-caps 22px/1.25 Georgia,serif;letter-spacing:.055em;margin:7px 0;color:var(--em-theme-text)}.em-explorer .em-heading>h2{font:11px/1.4 Georgia,serif!important;text-transform:uppercase;letter-spacing:.3em;color:var(--em-gold);margin:8px 0 0}.em-explorer .em-heading:after{content:'?';position:absolute;bottom:-9px;left:calc(50% - 12px);width:24px;background:var(--em-theme-panel);color:var(--em-gold);font-size:13px;line-height:16px}.em-explorer .em-nav-menu{background:var(--em-theme-button);border-color:var(--em-theme-border);border-radius:3px}.em-explorer .em-nav-menu>summary{font-family:Georgia,serif;font-weight:400}.em-explorer .em-nav-menu>summary>.em-tab-icon{background:var(--em-theme-panel);border-color:var(--em-theme-border);color:var(--em-gold);border-radius:3px}.em-explorer .em-nav-current{color:var(--em-theme-text)}.em-explorer .em-tabs .em-tab-icon{color:var(--em-gold)}.em-explorer .em-group{border-bottom:1px solid var(--em-theme-border);padding:10px 0}.em-explorer .em-group>summary{font-family:Georgia,serif}.em-explorer .em-group>summary>label>span{font-weight:400}.em-explorer .em-subsection{border-color:var(--em-theme-border)}.em-explorer .em-group .em-subgroup{border-color:var(--em-theme-border)}.em-explorer .em-categories>legend{width:100%;border-top:1px solid var(--em-theme-border);padding:12px 0 6px;color:var(--em-gold);font-family:Georgia,serif;letter-spacing:.06em}.em-explorer .em-categories{border-bottom:1px solid var(--em-theme-border);padding-bottom:16px;margin-bottom:18px}.em-explorer .em-layer-actions button,.em-explorer .em-layer-selection button,.em-explorer .em-order-controls button{border-color:var(--em-theme-border);color:var(--em-gold);background:var(--em-theme-button);border-radius:3px}.em-explorer input[type=checkbox]{accent-color:#ac965e}.em-explorer .em-sidebar input,.em-explorer .em-sidebar select,.em-explorer .em-sidebar textarea,.em-explorer .em-map-options input,.em-explorer .em-map-options select{background:var(--em-theme-button);border-color:var(--em-theme-border);color:var(--em-theme-text)}.em-explorer input::placeholder{color:#a29b88}.em-explorer .em-sidebar .ew-note,.em-explorer .em-sidebar small{color:#b6ae99}.em-explorer .em-detail,.em-explorer .em-detail .ew-card,.em-explorer .em-tooltip{background:var(--em-theme-label);color:var(--em-theme-text);border-color:var(--em-theme-border)}.em-explorer .em-detail button,.em-explorer .em-map-options button{background:var(--em-theme-button);border-color:var(--em-theme-border);color:var(--em-theme-text)}.em-explorer .em-detail h3,.em-explorer .em-detail h4{color:var(--em-theme-text)}.em-explorer .em-map-search,.em-explorer .em-display-options,.em-explorer .em-map-view{border-radius:3px}.em-explorer .em-map-footer{border-top:1px solid var(--em-theme-border)}.em-explorer .em-sidebar:after{content:'-------- ? --------';display:block;text-align:center;color:var(--em-gold-dim);padding:20px 0;font-size:13px;letter-spacing:.1em}.em-boundary-window{border-color:var(--em-theme-border,#665b3c)}.em-boundary-window .em-vector-width,.em-boundary-window .em-vector-more{border-color:var(--em-theme-border,#665b3c)}
.em-explorer .em-heading:after{content:'\25C7'}.em-explorer .em-sidebar:after{content:'\25C7';font-family:Georgia,serif;font-size:15px;letter-spacing:0;background:linear-gradient(var(--em-theme-border),var(--em-theme-border)) left center/42% 1px no-repeat,linear-gradient(var(--em-theme-border),var(--em-theme-border)) right center/42% 1px no-repeat;margin:20px 10px 8px;padding:0}.em-explorer .em-sidebar>.em-map-search{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:10px;margin:8px 0 12px;padding:7px}.em-explorer .em-sidebar>.em-map-search label{font-size:13px;margin:0;line-height:32px}.em-explorer .em-sidebar>.em-map-search input{min-height:32px;height:32px;margin:0}
.em-explorer .em-shell{position:relative}.em-explorer .em-sidebar-toggle{position:absolute;top:7px;left:8px;z-index:45;min-height:26px;padding:3px 9px;border:1px solid var(--em-theme-border,#665b3c);border-radius:3px;background:var(--em-theme-button,#1c1b16);color:var(--em-theme-text,#e5dfcf);font:12px/1.4 Georgia,serif;cursor:pointer}.em-explorer .em-sidebar-toggle:hover{background:var(--em-theme-hover,#302b1f)}.em-explorer.em-collapsed .em-toolbar{left:80px}.em-explorer .em-heading{padding-top:25px}
.em-pin-style-controls{display:flex;align-items:center;gap:8px;margin:8px 0}.em-pin-style-controls input[type=color],.em-pin-menu .em-pin-style-controls input[type=color]{width:38px;height:32px;min-height:0;padding:2px;flex:none}.em-pin-style-controls select{flex:1;min-width:0;height:32px;background:var(--em-theme-button,#1c1b16);color:var(--em-theme-text,#e5dfcf);border:1px solid var(--em-theme-border,#665b3c)}.em-saved-pin{display:flex;align-items:center;gap:5px;margin:7px 0}.em-saved-pin>svg{flex:none}.em-saved-pin>button:first-of-type{flex:1;min-width:0;overflow-wrap:anywhere}.em-pin-menu{background:var(--em-theme-panel,#100f0c);color:var(--em-theme-text,#e5dfcf);border-color:var(--em-theme-border,#665b3c)}.em-pin-menu button,.em-pin-menu input{background:var(--em-theme-button,#1c1b16);color:var(--em-theme-text,#e5dfcf);border-color:var(--em-theme-border,#665b3c)}

/* Readable pin editor and single-row icon picker. */
.em-pin-menu{box-sizing:border-box;width:580px;max-width:calc(100vw - 16px);max-height:calc(100vh - 16px);overflow:auto;padding:18px;font:15px/1.45 system-ui}
.em-pin-menu h3{margin:0 0 14px;font-size:20px;color:inherit}.em-pin-name{display:block;font-weight:600}.em-pin-menu input[type=text]{margin:6px 0 0;padding:10px 12px;font:inherit}
.em-pin-style-controls{display:block;margin:16px 0}.em-pin-colour{display:flex;align-items:center;gap:12px;font-weight:600}.em-pin-colour input[type=color],.em-pin-menu .em-pin-colour input[type=color]{margin:0;width:48px;height:34px}
.em-pin-icon-caption{margin:14px 0 8px;font-size:14px}.em-pin-icon-choices{display:flex;flex-wrap:nowrap;gap:6px;overflow-x:auto;padding:2px 0 6px}
.em-pin-icon-choices button,.em-pin-menu .em-pin-icon-choices button{box-sizing:border-box;display:flex;align-items:center;justify-content:center;flex:0 0 44px;width:44px;height:44px;padding:7px;margin:0;border:1px solid var(--em-theme-border,#665b3c);border-radius:5px;background:var(--em-theme-button,#1c1b16);cursor:pointer}
.em-pin-icon-choices button[aria-pressed=true],.em-pin-menu .em-pin-icon-choices button[aria-pressed=true]{background:var(--em-theme-hover,#302b1f);border:2px solid var(--em-theme-text,#e5dfcf);box-shadow:inset 0 0 0 1px #c1ab72}
.em-pin-icon-choices button:focus-visible{outline:2px solid #e5dfcf;outline-offset:1px}.em-pin-icon-choices svg{flex:none}
.em-pin-actions{display:flex;justify-content:flex-end;flex-wrap:wrap;gap:8px;padding-top:14px;border-top:1px solid var(--em-theme-border,#665b3c)}.em-pin-menu .em-pin-actions button{margin:0;padding:9px 14px;font:inherit;white-space:nowrap}

.em-animal-products{margin:18px 0;border-top:1px solid var(--em-theme-border,#665b3c);padding-top:4px}.em-animal-profile h4{margin:16px 0 9px}.em-animal-material{display:flex;align-items:center;gap:10px;margin:9px 0}.em-animal-material img{width:34px;height:34px;object-fit:contain;flex:none}.em-animal-material strong,.em-animal-material small{display:block}.em-animal-material small{font-size:12px;opacity:.8;margin-top:3px}.em-animal-recipes{margin:8px 0;padding:8px 0;border-bottom:1px solid var(--em-theme-border,#665b3c)}.em-animal-recipes summary{cursor:pointer}.em-animal-recipe{padding:3px 10px;border-left:2px solid var(--em-theme-border,#665b3c);margin:10px 0}

/* Drag the divider above the map footer to change the map height. */
.em-explorer .em-height-resizer{position:absolute;z-index:8;top:-10px;left:0;right:0;height:20px;display:flex;align-items:center;justify-content:center;cursor:ns-resize;touch-action:none;pointer-events:auto;user-select:none}
.em-height-resizer span{display:flex;align-items:center;justify-content:center;width:68px;height:18px;border:1px solid var(--em-theme-border,#665b3c);border-radius:5px;background:var(--em-theme-button,#1c1b16);color:var(--em-theme-text,#e5dfcf);font:15px/1 system-ui;box-shadow:0 2px 5px #0006}
.em-height-resizer:hover span,.em-height-resizer:focus-visible span{border-color:#d6b46a;background:var(--em-theme-hover,#302b1f)}.em-height-resizer:focus-visible{outline:none}.em-height-resizing,.em-height-resizing *{cursor:ns-resize!important;user-select:none!important}
.em-explorer.em-height-adjusted .em-shell{height:var(--em-map-height);min-height:320px;max-height:none}
@container(max-width:500px){.em-explorer.em-height-adjusted .em-shell{height:auto;min-height:0;max-height:none}.em-explorer.em-height-adjusted .em-stage{height:var(--em-map-height);min-height:320px}}

.em-share-feedback{position:absolute;z-index:50;top:62px;left:50%;transform:translateX(-50%);width:max-content;max-width:calc(100% - 32px);padding:12px 18px;border:1px solid var(--em-theme-border,#665b3c);border-radius:6px;background:var(--em-theme-panel,#100f0c);color:var(--em-theme-text,#e5dfcf);box-shadow:0 4px 18px #0008;font:14px/1.45 system-ui;text-align:center;pointer-events:none}.em-share-feedback[hidden]{display:none}

.em-hotspot-controls{padding:12px 0;border-bottom:1px solid var(--em-theme-border,#665b3c);font-size:12px}.em-hotspot-controls>label{display:flex;align-items:center;gap:7px}.em-hotspot-legend{margin:12px 0 6px}.em-hotspot-scale{display:block;height:10px;border-radius:5px;background:linear-gradient(90deg,transparent,var(--em-hotspot-color,#e4ad45));opacity:.4;margin-bottom:5px}.em-hotspot-legend small{font-size:10px}.em-hotspot-legend[hidden]{display:none}

.em-map-search{position:relative}.em-search-suggestions{position:absolute;z-index:60;top:100%;left:0;right:0;max-height:360px;overflow:auto;border:1px solid var(--em-theme-border,#665b3c);border-radius:5px;background:var(--em-theme-panel,#100f0c);box-shadow:0 5px 18px #0008}.em-search-suggestions[hidden]{display:none}.em-explorer .em-search-suggestion{display:flex;align-items:center;gap:10px;width:100%;text-align:left;margin:0;padding:10px;border:0;border-bottom:1px solid var(--em-theme-border,#665b3c);border-radius:0;background:transparent;color:var(--em-theme-text,#e5dfcf);cursor:pointer}.em-search-suggestion img{width:30px;height:30px;object-fit:contain;flex:none}.em-search-suggestion strong,.em-search-suggestion small{display:block;line-height:1.4}.em-search-suggestion strong{font-size:13px}.em-search-suggestion small{font-size:10px;opacity:.8}.em-explorer .em-search-suggestion:hover,.em-explorer .em-search-suggestion[aria-selected=true]{background:var(--em-theme-hover,#302b1f)}

.em-search-popup{position:absolute;z-index:60;top:100%;left:0;right:0;border:1px solid var(--em-theme-border,#665b3c);border-radius:5px;background:var(--em-theme-panel,#100f0c);box-shadow:0 5px 18px #0008}.em-search-popup[hidden]{display:none}.em-search-popup .em-search-suggestions{position:static;border:0;box-shadow:none}.em-search-find{margin-left:auto;padding:4px 6px;border:1px solid var(--em-theme-border,#665b3c);border-radius:3px;flex:none;font-size:10px;white-space:nowrap;color:#d6b46a}.em-explorer .em-search-clear{display:block;margin:8px 10px 8px auto;padding:4px 8px;border:1px solid var(--em-theme-border,#665b3c);background:var(--em-theme-button,#1c1b16);color:var(--em-theme-text,#e5dfcf);font-size:11px;cursor:pointer}

.em-custom-shroud-editor{margin:14px 0;border-top:1px solid var(--em-theme-border,#665b3c);padding-top:12px}.em-custom-shroud-editor>summary{font-weight:600;cursor:pointer}.em-custom-shroud-editor>label{display:block;margin:12px 0;font-size:12px}.em-custom-shroud-editor select,.em-custom-shroud-editor input[type=range]{display:block;width:100%;margin-top:6px;accent-color:#c1ab72}.em-custom-shroud-editor select{padding:7px;background:var(--em-theme-button,#1c1b16);color:var(--em-theme-text,#e5dfcf);border:1px solid var(--em-theme-border,#665b3c)}.em-custom-shroud-editor input[type=color]{display:block;width:50px;height:32px;margin-top:6px}.em-shroud-actions{display:flex;gap:6px;flex-wrap:wrap;margin-top:12px}.em-custom-shroud-editor button{margin:6px 0;padding:6px 9px;font-size:12px}.em-custom-shroud-editor button:disabled{opacity:.45;cursor:default}.em-custom-shroud-controls{margin:10px 0;border-top:1px solid var(--em-theme-border,#665b3c);padding-top:10px}.em-custom-shroud-controls summary{cursor:pointer}.em-explorer .em-canvas.em-shroud-painting{cursor:crosshair}

/* Enemy defence panels: split weakness / strength presentation. */
.em-enemy-defences{border-top:1px solid var(--em-theme-border,#6c5b35);padding-top:14px}
.em-defence-profile{border:0;padding:0;margin:0 0 14px}.em-defence-target{display:block;margin:0 0 10px}
.em-defence-panel{border:1px solid;border-radius:8px;padding:12px 14px;margin:0 0 12px;background:#151515}
.em-defence-panel.em-defence-weak{color:#a8e69a;border-color:#528744;background:linear-gradient(120deg,#242424,#151515)}
.em-defence-panel.em-defence-resist{color:#f0afa1;border-color:#90574a;background:linear-gradient(120deg,#291814,#17120f)}
.em-defence-panel h4{display:flex;align-items:center;gap:10px;margin:0 0 8px!important;font-size:15px!important;letter-spacing:.06em;text-transform:uppercase;color:inherit!important;border-bottom:1px solid currentColor;padding-bottom:9px}
.em-defence-badge{font-size:23px;line-height:1}.em-defence-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:8px 0;border-bottom:1px solid #ffffff12}.em-defence-row:last-child{border:0;padding-bottom:0}
.em-defence-type{display:flex;align-items:center;gap:10px;color:#eee6d5;min-width:0}.em-damage-symbol{font:22px system-ui;width:24px;text-align:center;color:inherit;flex:none}
.em-defence-stat{display:flex;align-items:baseline;justify-content:flex-end;gap:6px;flex-wrap:wrap;text-align:right}.em-defence-stat strong{font-size:21px;font-variant-numeric:tabular-nums;white-space:nowrap}.em-defence-stat small{font-size:12px;color:#e0d4c6}
.em-defence-panel .em-defence-empty{color:#d0c8b7;font-size:12px;margin:0;line-height:1.5}

.em-defence-panel .em-defence-profile{margin:0;padding:10px 0;border-bottom:1px solid #ffffff20}.em-defence-panel .em-defence-profile:last-child{border-bottom:0;padding-bottom:0}.em-defence-panel .em-defence-target{font-size:12px;color:#e4dccc;line-height:1.5;margin-bottom:6px}

.em-defence-panel h4{color:#fff!important}

.em-defence-stat strong{color:#fff}

/* Charcoal Green map palette: flat surfaces, green interactive accents. */
.em-explorer{--em-gold:#86c232;--em-gold-dim:#61892f}
.em-explorer .em-sidebar{background:var(--em-theme-panel,#252525);box-shadow:none}
.em-explorer .em-sidebar,.em-explorer .em-toolbar,.em-explorer .em-map-footer,.em-explorer .em-detail,.em-explorer .em-detail .ew-card,.em-explorer .em-tooltip{background-image:none}
.em-explorer input[type=checkbox],.em-explorer input[type=range],.em-custom-shroud-editor input[type=range]{accent-color:#86c232}
.em-explorer input::placeholder{color:#b3b8b5}.em-explorer .em-sidebar .ew-note,.em-explorer .em-sidebar small{color:#c3c8c5}
.em-explorer .em-tabs button[aria-selected=true],.em-explorer .em-sidebar button[aria-pressed=true]{border-color:#86c232;box-shadow:inset 3px 0 #86c232}
.em-explorer .em-search-find{color:#86c232}.em-explorer button:focus-visible,.em-explorer input:focus-visible,.em-explorer select:focus-visible,.em-boundary-window button:focus-visible{outline:2px solid #86c232;outline-offset:2px}
.em-explorer .em-detail [data-em-mark-circle]{background:#86c232;color:#222625;border-color:#86c232;font-weight:600}.em-explorer .em-detail [data-em-mark-circle]:hover{background:#a0d84b}
.em-explorer .em-sidebar-toggle:hover,.em-height-resizer:hover span,.em-height-resizer:focus-visible span{border-color:#86c232}
.em-pin-icon-choices button[aria-pressed=true],.em-pin-menu .em-pin-icon-choices button[aria-pressed=true]{box-shadow:inset 0 0 0 1px #86c232}

/* Modern atlas typography and controls. Uses installed system fonts, no remote font requests. */
.em-explorer,.em-boundary-window,.em-pin-menu{font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
.em-explorer :is(h2,h3,h4,p,summary,legend,label,button,input,select,textarea,small),.em-boundary-window :is(h2,h3,h4,summary,label,button,input,select),.em-pin-menu :is(button,input,select){font-family:inherit!important}
.em-explorer .em-heading>p{font-variant:normal;font-size:21px;font-weight:650;line-height:1.3;letter-spacing:.04em}
.em-explorer .em-heading>h2{font-size:11px!important;font-weight:600;letter-spacing:.18em}
.em-explorer .em-heading:after,.em-explorer .em-sidebar:after{display:none}
.em-explorer .em-group>summary,.em-explorer .em-group>summary>label>span{font-weight:600}
.em-explorer .em-nav-menu>summary{font-weight:600}.em-explorer .em-nav-menu,.em-explorer .em-map-search,.em-explorer .em-map-view,.em-explorer .em-display-options{border-radius:7px}
.em-explorer .em-categories>legend{font-size:11px;font-weight:650;text-transform:uppercase;letter-spacing:.1em}
.em-explorer .em-detail{border-radius:10px;box-shadow:0 8px 24px #0005}.em-explorer .em-detail h3{font-size:19px;line-height:1.35;font-weight:650;letter-spacing:-.015em}
.em-explorer button,.em-explorer input,.em-explorer select,.em-explorer textarea{border-radius:5px}.em-explorer button{transition:background-color .15s,border-color .15s}
.em-explorer .em-sidebar-toggle{font-size:12px;font-weight:600}.em-explorer .em-heading{padding-bottom:14px}
.em-explorer .em-defence-panel h4{font-weight:650;letter-spacing:.065em}.em-explorer .em-defence-stat strong{font-weight:700}
@media(prefers-reduced-motion:reduce){.em-explorer button{transition:none}}

/* Subtle charcoal vertical depth for the sidebar and map footer. */
.em-explorer .em-sidebar,.em-explorer .em-map-footer{background-color:#0c0c0c;background-image:linear-gradient(180deg,#171717 0%,#050505 100%)}

.em-explorer .em-layer-actions button,.em-explorer .em-layer-selection button{color:#fff}

.em-explorer .em-layer-actions button{background:#131313;color:#fff;border-color:#505653}.em-explorer .em-layer-actions button:hover{background:#252525;border-color:#86c232}

.em-explorer .em-defence-panel.em-defence-weak{background:#58be55;border-color:#58be55;color:#111312}
.em-explorer .em-defence-weak h4{background:#252525;border:0;border-radius:4px;padding:8px;color:#fff!important}
.em-explorer .em-defence-weak .em-defence-type,.em-explorer .em-defence-weak .em-defence-stat small,.em-explorer .em-defence-weak .em-defence-empty,.em-explorer .em-defence-weak .em-defence-target{color:#111312}
.em-explorer .em-defence-weak .em-defence-stat strong{background:#252525;color:#fff;border-radius:4px;padding:2px 6px}
.em-explorer .em-defence-weak .em-defence-profile,.em-explorer .em-defence-weak .em-defence-row{border-bottom-color:#22262530}

.em-explorer .em-defence-panel.em-defence-resist{background:#ff7f7f;border-color:#ff7f7f;color:#111312}
.em-explorer .em-defence-resist h4{background:#252525;border:0;border-radius:4px;padding:8px;color:#fff!important}
.em-explorer .em-defence-resist .em-defence-type,.em-explorer .em-defence-resist .em-defence-stat small,.em-explorer .em-defence-resist .em-defence-empty,.em-explorer .em-defence-resist .em-defence-target{color:#111312}
.em-explorer .em-defence-resist .em-defence-stat strong{background:#252525;color:#fff;border-radius:4px;padding:2px 6px}
.em-explorer .em-defence-resist .em-defence-profile,.em-explorer .em-defence-resist .em-defence-row{border-bottom-color:#22262530}

/* Personal enemy-panel colours and slightly larger supporting text. */
.em-explorer .em-defence-panel.em-defence-weak{background:var(--em-defence-weak,#58be55);border-color:var(--em-defence-weak,#58be55);color:var(--em-defence-weak-ink,#111312)}
.em-explorer .em-defence-panel.em-defence-resist{background:var(--em-defence-resist,#ff7f7f);border-color:var(--em-defence-resist,#ff7f7f);color:var(--em-defence-resist-ink,#111312)}
.em-explorer .em-defence-weak :is(.em-defence-type,.em-defence-stat small,.em-defence-empty,.em-defence-target){color:var(--em-defence-weak-ink,#111312)}
.em-explorer .em-defence-resist :is(.em-defence-type,.em-defence-stat small,.em-defence-empty,.em-defence-target){color:var(--em-defence-resist-ink,#111312)}
.em-explorer .em-defence-type{font-size:15px}.em-explorer .em-defence-stat small,.em-explorer .em-defence-panel .em-defence-empty,.em-explorer .em-defence-panel .em-defence-target{font-size:14px;line-height:1.5}.em-explorer .em-defence-stat strong{font-size:23px}
.em-defence-options{border-top:1px solid var(--em-theme-border);margin-top:12px;padding-top:10px}.em-defence-options summary{cursor:pointer}.em-defence-color-control{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:12px 0;font-size:13px}.em-defence-color-control input[type=color]{width:48px;height:32px;padding:2px;cursor:pointer}.em-defence-options .ew-note{font-size:12px;line-height:1.5}

.em-explorer .em-detail{max-width:calc(100% - 16px);max-height:calc(100% - 16px);min-width:min(260px,calc(100% - 16px));min-height:140px;box-sizing:border-box}
.em-detail-bar{display:flex;align-items:center;justify-content:space-between;gap:8px;position:sticky;top:0;z-index:2;padding:6px;background:var(--em-theme-label,#252525);border-bottom:1px solid var(--em-theme-border)}
.em-explorer .em-detail .em-detail-grip{flex:1;text-align:left;cursor:move;touch-action:none;font-size:12px;padding:6px 8px;background:transparent;border:0;color:#c4cac7}.em-detail-grip:before{content:'\283f';margin-right:7px}
.em-explorer .em-detail .em-close{position:static;margin:0;flex:none}
.em-explorer .em-detail .em-detail-resize{position:sticky;bottom:0;float:right;z-index:2;margin:0 3px 3px 0;width:30px;height:28px;padding:0;cursor:nwse-resize;touch-action:none;font-size:21px;line-height:1}

.em-coordinate-controls{clear:both}.em-explorer .em-detail .em-coordinates{display:flex;align-items:center;gap:8px;min-width:0;white-space:normal}.em-coordinate-value{white-space:nowrap;overflow-x:auto;min-width:0}
.em-explorer .em-detail .em-copy-coordinates{display:inline-flex;align-items:center;justify-content:center;flex:none;width:28px;height:28px;padding:5px;margin:0;cursor:pointer}.em-copy-coordinates svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linejoin:round}
.em-explorer .em-detail .em-coordinate-status{clear:both;font-size:12px;margin:4px 0 10px;color:#fff}.em-coordinate-status[hidden]{display:none}.em-coordinate-fallback{width:100%;box-sizing:border-box;margin:6px 0;padding:8px;color:#fff;background:#131313;border:1px solid #6b6e70;font:12px system-ui}

.em-explorer .em-display-options .em-compact-select-row{display:grid;grid-template-columns:minmax(0,1fr) 112px;align-items:center;gap:12px;font-size:13px;line-height:1.4;margin:10px 0}
.em-explorer .em-display-options .em-compact-select-row>select{box-sizing:border-box;width:112px;min-width:0;max-width:100%;height:34px;min-height:34px;margin:0;padding:5px 8px;font-size:13px;line-height:1.3;border-radius:5px}

.em-note-list{display:grid;gap:5px;max-height:220px;overflow:auto;margin:10px 0 16px}.em-note-list button{text-align:left;overflow-wrap:anywhere;padding:8px 10px}.em-note-list button[aria-pressed=true]{border-color:#86c232}
.em-notes-panel input[data-em-note-title]{box-sizing:border-box;width:100%;padding:9px;margin:10px 0;font-size:15px}.em-note-location{font-size:12px;line-height:1.5;overflow-wrap:anywhere;color:#c4cac7}.em-notes-panel h4{font-size:13px;margin:16px 0 8px}

.em-notes-panel input[data-em-note-folder-path]{display:block;width:100%;box-sizing:border-box;margin:6px 0;padding:8px;font-size:12px}.em-notes-panel label:has([data-em-note-folder-path]){display:block;font-size:12px;margin-top:12px}.em-notes-panel label[hidden]{display:none}

.em-tooltip-coordinates{display:block;clear:both;margin:8px 0 4px;font-size:12px;line-height:1.5;color:#fff;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}

.em-pin-menu.em-pin-context{width:max-content;min-width:150px;padding:6px;overflow:visible;border-radius:6px}
.em-pin-menu.em-pin-context>button{display:block;width:100%;min-height:34px;margin:0;padding:7px 12px;font-size:14px;line-height:1.35;text-align:left}

.em-explorer .em-sidebar>.em-map-search{margin:6px 0;padding:5px}
.em-explorer .em-regions{padding:6px 0}.em-explorer .em-regions>summary{margin:0;line-height:1.4}.em-explorer .em-regions[open]>summary{margin-bottom:8px}
.em-explorer .em-categories{margin-top:8px}.em-explorer .em-categories>legend{padding-top:8px}

.em-explorer .em-subgroup.em-region-empty{opacity:.48}.em-explorer .em-subgroup.em-region-empty input{opacity:1}

.em-explorer .em-sidebar .em-menu-icon-cell{display:inline-flex;align-items:center;justify-content:center;box-sizing:content-box;flex:none;padding:0;border:0;border-radius:0;background:transparent;width:24px;height:24px;line-height:0;font-style:normal}
.em-explorer .em-sidebar .em-menu-icon-cell>img{display:block;width:24px;height:24px;min-width:24px;object-fit:contain;margin:0;padding:0;border:0;background:transparent}
.em-explorer .em-sidebar .em-menu-category-icon>img{width:24px;height:24px;min-width:24px}

.em-explorer .em-sidebar .em-menu-category-icon{width:24px;height:24px}
.em-explorer.em-menu-icon-tiles .em-sidebar .em-menu-icon-cell{padding:3px;border:1px solid var(--em-menu-icon-border,#6b746e);border-radius:var(--em-menu-icon-radius,5px);background:var(--em-menu-icon-bg,#464646)}

.em-explorer.em-lock-search .em-sidebar>.em-map-search{position:sticky;top:0;z-index:80;background:#191919;box-shadow:0 4px 12px #0005}

.em-explorer .em-order-note:empty{display:none}

.em-explorer .em-group .em-subgroup{grid-template-columns:15px 32px minmax(0,1fr) auto;column-gap:10px}

.em-explorer{position:relative}
.em-explorer:not([data-em-ready="true"])>.em-shell{visibility:hidden}
.em-explorer>.em-loading-state{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;z-index:100;background:var(--em-theme-panel,#252525);color:var(--em-theme-text,#fff);font:500 16px/1.5 system-ui;padding:24px;text-align:center}
.em-explorer[data-em-ready="true"]>.em-loading-state{display:none}

.em-explorer.em-lock-options .em-sidebar>.em-nav-menu{position:sticky;top:0;z-index:90;background:#191919;box-shadow:0 4px 12px #0005}
.em-explorer.em-lock-options.em-lock-search .em-sidebar>.em-map-search{top:var(--em-locked-options-height,64px)}


.em-explorer.em-lock-options .em-sidebar>.em-nav-menu{top:var(--em-sidebar-lock-top,0px)}
.em-explorer.em-lock-search .em-sidebar>.em-map-search{top:var(--em-sidebar-lock-top,0px)}
.em-explorer.em-lock-options.em-lock-search .em-sidebar>.em-map-search{top:calc(var(--em-sidebar-lock-top,0px) + var(--em-locked-options-height,64px))}

.em-boundary-window{display:flex;flex-direction:column;box-sizing:border-box;max-height:calc(100dvh - 48px)}
.em-boundary-window-header{flex:0 0 auto;min-width:0}
.em-boundary-window>.em-boundary-panel{flex:1 1 auto;min-height:0;max-height:none;overflow:auto;overscroll-behavior:contain;scrollbar-gutter:stable}
.em-boundary-window .em-vector-toolbar{min-width:0;flex-shrink:0}

.em-boundary-window .em-vector-toolbar{display:block;padding:4px 10px}
.em-boundary-window .em-boundary-tool-group{padding:9px 0;margin:0;border-top:1px solid var(--em-theme-border,#46545a)}
.em-boundary-window .em-boundary-tool-group>strong,.em-boundary-window-footer>strong{display:block;margin-bottom:7px;font:650 11px/1.4 system-ui;letter-spacing:.04em;color:#fff}
.em-boundary-window .em-boundary-tools{display:flex;flex-wrap:wrap;align-items:center;gap:6px}
.em-boundary-window .em-labeled-tool{display:inline-flex;width:auto;min-width:0;gap:5px;padding:5px 8px}
.em-boundary-window .em-labeled-tool svg{width:18px;height:18px;flex:none}
.em-boundary-window .em-boundary-editor{padding:0 10px}
.em-boundary-window .em-boundary-tool-group label{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin:7px 0;font:12px/1.4 system-ui}
.em-boundary-window .em-boundary-tool-group input[type=range]{width:160px;max-width:100%;accent-color:#86c232}
.em-boundary-window .em-boundary-tools>select{width:170px;max-width:100%;font:12px system-ui;height:32px;padding:4px}
.em-boundary-window .em-boundary-tools>input[type=color]{width:34px;height:34px;padding:2px}
.em-boundary-window .em-boundary-extras{padding:8px 10px;border-top:1px solid var(--em-theme-border,#46545a)}
.em-boundary-window .em-boundary-window-footer{position:sticky;bottom:0;z-index:2;padding:10px;background:var(--em-theme-panel,#252525);border-top:1px solid var(--em-theme-border,#46545a)}
.em-boundary-window .em-boundary-window-footer>.em-vector-save{width:auto;min-width:130px;font-weight:650}
.em-boundary-window .em-vector-width input{width:60px}

/* Compact nearby controls occupy a separate row beneath the search field. */
.em-explorer .em-map-search{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:6px 10px}
.em-explorer .em-map-search>.em-search-nearby{grid-column:1/-1;min-width:0;margin:2px 0 0;padding:8px 0 0;border:0;border-top:1px solid var(--em-theme-border,#474b4f);font:12px/1.4 system-ui;text-align:left}
.em-explorer .em-map-search>.em-search-nearby[hidden]{display:none}
.em-explorer .em-search-nearby>summary{font:600 13px/1.4 system-ui;margin:0 0 6px;padding:0;cursor:pointer;color:#fff}
.em-explorer .em-map-search .em-search-nearby>.em-grid-toggle{display:flex;align-items:center;justify-content:flex-start;gap:7px;margin:5px 0;padding:0;font:12px/1.4 system-ui;color:#fff;min-height:20px}
.em-explorer .em-sidebar .em-map-search .em-search-nearby input[type=checkbox]{appearance:auto;display:inline-block;flex:0 0 15px;width:15px;min-width:15px;max-width:15px;height:15px;min-height:15px;margin:0;padding:0;box-shadow:none;accent-color:#86c232}
.em-explorer .em-map-search .em-search-nearby>.em-compact-select-row{display:flex;align-items:center;justify-content:flex-start;gap:8px;margin:7px 0 0;padding:0;font:12px/1.4 system-ui}
.em-explorer .em-map-search .em-search-nearby select{width:100px;min-width:0;max-width:100px;height:30px;min-height:30px;margin:0;padding:3px 7px;border-radius:5px;font:12px/1.4 system-ui}
.em-explorer .em-map-search .em-search-nearby>.ew-note{margin:6px 0 0;padding:0;font:11px/1.4 system-ui;color:#b6bdb9}

.em-explorer .em-sidebar .em-quest-row .em-quest-location{display:block;margin-top:4px;font-size:11px;line-height:1.4;color:#d5ddd8;white-space:normal;overflow-wrap:anywhere}

.em-explorer .em-map-search>.em-search-area{grid-column:1/-1;display:flex;align-items:center;gap:8px;margin:0;padding:0;font:12px/1.4 system-ui}
.em-explorer .em-map-search>.em-search-area select{flex:1;min-width:0;width:auto;max-width:100%;height:30px;min-height:30px;margin:0;padding:3px 7px;font:12px/1.4 system-ui;border-radius:5px}

.em-explorer .em-map-search{grid-template-columns:auto minmax(0,1fr) auto}
.em-explorer .em-map-search>label[for]{grid-column:1;grid-row:1;margin:0}
.em-explorer .em-map-search>input[type=search]{grid-column:2;grid-row:1;width:100%}
.em-explorer .em-map-search>.em-search-options-toggle{grid-column:3;grid-row:1;min-width:0;min-height:30px;height:30px;margin:0;padding:4px 7px;font:12px/1.3 system-ui;border-radius:5px}
.em-explorer .em-map-search>.em-search-tools{grid-column:1/-1;display:grid;gap:6px;border-top:1px solid var(--em-theme-border,#474b4f);padding-top:7px}
.em-explorer .em-map-search>.em-search-tools[hidden]{display:none}
.em-explorer .em-map-search .em-search-tools>.em-search-area{display:grid;grid-template-columns:75px minmax(0,1fr);align-items:center;gap:8px;margin:0;padding:0;font:12px/1.4 system-ui}
.em-explorer .em-map-search .em-search-tools select{width:100%;min-width:0;max-width:100%;height:30px;min-height:30px;margin:0;padding:3px 7px;font:12px/1.4 system-ui;border-radius:5px}

.em-explorer .em-map-search>.em-region-copy{grid-column:1/-1;margin:3px 0 0;padding:7px 0 0;border:0;border-top:1px solid var(--em-theme-border,#474b4f);font:12px/1.4 system-ui}
.em-explorer .em-map-search>.em-region-copy>summary{font:600 13px/1.4 system-ui;margin:0 0 5px;padding:0}
.em-explorer .em-map-search>.em-region-copy label{display:flex;align-items:center;gap:7px;margin:5px 0;font:12px/1.4 system-ui}
.em-explorer .em-sidebar .em-map-search .em-region-copy input[type=checkbox]{appearance:auto;flex:0 0 15px;width:15px;max-width:15px;min-width:15px;height:15px;min-height:15px;padding:0;margin:0;accent-color:#86c232}
.em-explorer .em-map-search>.em-region-copy button{margin:3px 4px 3px 0;padding:4px 6px;min-height:26px;font:11px/1.3 system-ui}

.em-explorer .em-sidebar .em-regions>summary,.em-explorer .em-map-search>.em-region-copy>summary,.em-explorer .em-sidebar .em-equipment-regions>label:first-child{font-size:11px;font-weight:650;line-height:1.6}
.em-explorer .em-enemy-layer-controls{grid-column:1/-1;display:flex;align-items:center;flex-wrap:wrap;gap:6px 9px;padding:8px 0 3px;margin:3px 0 0;border-top:1px solid var(--em-theme-border,#474b4f);font:650 11px/1.6 system-ui}
.em-explorer .em-enemy-layer-controls>strong{font:inherit;text-transform:uppercase;letter-spacing:.06em;color:#86c232}
.em-explorer .em-enemy-layer-controls .em-layer-actions{display:flex;flex-wrap:wrap;gap:4px;margin:0}
.em-explorer .em-enemy-layer-controls button{min-height:25px;margin:0;padding:4px 6px;font:600 11px/1.3 system-ui;border-radius:4px}

.em-explorer .em-subgroup[hidden],.em-explorer .em-subsection[hidden],.em-explorer .em-group[hidden]{display:none!important}

.em-weapon-hover{position:fixed;z-index:100100;box-sizing:border-box;width:340px;max-width:calc(100vw - 16px);max-height:calc(100vh - 16px);overflow:hidden;pointer-events:none;padding:14px;border:1px solid #6b746d;border-radius:8px;background:var(--em-theme-label,#252525);color:#fff;box-shadow:0 8px 30px #0009;font:12px/1.45 system-ui}
.em-weapon-hover[hidden]{display:none}.em-weapon-hover-heading{display:flex;align-items:center;gap:12px}.em-weapon-hover-heading img{width:64px;height:64px;object-fit:contain}.em-weapon-hover h3{margin:0 0 5px;color:#fff;font:650 17px/1.3 system-ui}.em-weapon-hover h4{margin:10px 0 5px;color:#fff;font:650 13px/1.3 system-ui}.em-weapon-hover p{margin:4px 0}.em-weapon-hover .em-weapon-meta{color:#d1dad4;font-size:11px}.em-explorer .em-weapon-handling,.em-weapon-hover .em-weapon-handling{display:block;color:#fff;font-size:12px;margin:5px 0}.em-weapon-damage{padding:8px 10px;margin:10px 0;border-radius:6px;background:#5b5b5b}.em-weapon-hover .em-weapon-damage h4{margin-top:0}.em-weapon-damage>div{display:flex;justify-content:space-between;gap:12px;margin-top:3px}.em-weapon-sources{border-top:1px solid #57615b;margin-top:9px}.em-weapon-sources small{display:block;margin-top:7px;font:10px/1.4 system-ui;color:#c2cdc5}.em-weapon-source-kind{font-weight:650;color:#d6ecba}

.em-weapon-hover{overflow:auto;pointer-events:auto}.em-weapon-source-list{margin:6px 0;padding:0;list-style:none}.em-weapon-source-list li{margin:0;padding:6px 0;border-bottom:1px solid #ffffff20}.em-weapon-source-list li>strong{display:block;color:#fff;font-size:11px}.em-weapon-source-list li>span{display:block;color:#c7d2ca;font-size:10px;line-height:1.45;margin-top:3px}

.em-explorer .em-weapon-damage-estimate{font:600 12px/1.4 system-ui;color:#d6ecba;margin:5px 0}

.em-explorer .em-map-search>.em-weapon-regions{grid-column:1/-1;margin:3px 0 0;padding:7px 0 0;border:0;border-top:1px solid var(--em-theme-border,#474b4f);font:12px/1.4 system-ui}
.em-explorer .em-map-search>.em-weapon-regions>summary{font:650 11px/1.6 system-ui;margin:0 0 5px;padding:0}
.em-explorer .em-map-search>.em-weapon-regions label{display:flex;align-items:center;gap:7px;margin:5px 0;font:12px/1.4 system-ui}
.em-explorer .em-sidebar .em-map-search .em-weapon-regions input[type=checkbox]{appearance:auto;flex:0 0 15px;width:15px;max-width:15px;min-width:15px;height:15px;min-height:15px;padding:0;margin:0;accent-color:#86c232}
.em-explorer .em-map-search>.em-weapon-regions button{margin:3px 4px 3px 0;padding:4px 6px;min-height:26px;font:11px/1.3 system-ui}

.em-map-analysis h3{font-size:18px;color:#fff}.em-map-analysis h4{font-size:13px;color:#fff}.em-analysis-chart{width:100%;min-width:0}.em-map-analysis table{width:100%;border-collapse:collapse;font-size:11px}.em-map-analysis td,.em-map-analysis th{text-align:left;padding:6px;border-bottom:1px solid #ffffff20}.em-map-analysis td:last-child,.em-map-analysis th:last-child{text-align:right}

.em-analysis-dashboard{position:absolute;inset:54px 10px 36px;z-index:8;overflow:auto;overscroll-behavior:contain;padding:8px;scrollbar-gutter:stable;border-radius:8px;background:#171717e8;color:#fff}
.em-analysis-dashboard[hidden]{display:none!important}.em-analysis-region-card{margin:0 0 14px;padding:16px;border:1px solid #56624f;border-radius:9px;background:#252525;box-shadow:0 5px 18px #0004;font:12px/1.5 system-ui}
.em-analysis-region-card>h3{margin:0 0 12px;font:650 21px/1.3 system-ui;color:#fff}.em-analysis-region-card h4{font:650 14px/1.4 system-ui;color:#fff;margin:8px 0}.em-analysis-region-card h5{font:650 12px/1.4 system-ui;color:#bfe087;margin:8px 0}
.em-analysis-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin-bottom:12px}.em-analysis-metrics>div{padding:9px;background:#191919;border:1px solid #424c44;border-radius:6px}.em-analysis-metrics strong{display:block;font-size:22px;color:#b7dd75}.em-analysis-metrics span{display:block;font-size:10px;color:#d4ddd6}
.em-analysis-graphs{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),1fr));gap:14px}.em-analysis-graph{min-width:0;padding:10px;background:#1d1d1d;border:1px solid #3e4b40;border-radius:7px}.em-analysis-plot{width:100%;min-width:0}.em-analysis-overall-graph{max-width:700px;margin:auto}
.em-analysis-loadout{margin:12px 0;padding:12px;border:1px solid #5b7145;border-radius:7px;background:#2f2f2f}.em-analysis-loadout-item{display:flex;align-items:center;gap:8px;margin:5px 0}.em-analysis-loadout-item img{width:34px;height:34px;object-fit:contain;flex:none}.em-analysis-loadout-item strong,.em-analysis-loadout-item small{display:block}.em-analysis-loadout-item strong{font-size:12px;color:#fff}.em-analysis-loadout-item small{font-size:10px;color:#c5d1c8}
.em-analysis-region-card .ew-note{font-size:11px;color:#c5cfc7;margin:9px 0}.em-analysis-region-card table{border-collapse:collapse;width:100%;font-size:11px}.em-analysis-region-card td,.em-analysis-region-card th{padding:7px;border-bottom:1px solid #ffffff20;text-align:left}.em-analysis-empty{padding:24px;color:#fff}
.em-explorer .em-analysis-regions label,.em-explorer .em-analysis-option{display:flex;align-items:center;gap:7px;font:12px/1.4 system-ui;margin:7px 0}.em-explorer .em-analysis-option select{box-sizing:border-box;height:auto;min-height:40px;padding:8px 32px 8px 10px;font:14px/1.5 system-ui;max-width:160px;min-width:120px;flex-shrink:0;vertical-align:middle}.em-explorer .em-analysis-regions input[type=checkbox],.em-explorer .em-analysis-option input[type=checkbox]{appearance:auto;width:15px;height:15px;min-height:15px;margin:0;flex:0 0 15px;accent-color:#86c232}
@media(max-width:700px){.em-analysis-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.em-analysis-region-card{padding:10px}.em-analysis-dashboard{inset:54px 4px 36px;padding:4px}}

.em-analysis-loadout-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.5fr);gap:16px}.em-analysis-armour-pieces{display:grid;grid-template-columns:repeat(auto-fit,minmax(125px,1fr));gap:4px 9px}@media(max-width:850px){.em-analysis-loadout-grid{grid-template-columns:1fr}}

.em-analysis-primary-damage{margin:6px 0 10px;padding:7px 10px;background:#1f1f1f;border-left:3px solid #86c232;border-radius:3px;color:#e7f4df;font:600 12px/1.4 system-ui}

/* Keep the Analysis height handle above the scrolling chart dashboard. */
.em-explorer .em-analysis-height-resizer{display:none;top:54px;left:10px;right:10px;height:28px;z-index:30}
.em-explorer .em-analysis-active .em-analysis-height-resizer{display:flex}

.em-explorer .em-analysis-height-resizer span{width:100%;height:26px;box-sizing:border-box;font:600 12px/1 system-ui;border-color:#86c232;background:#252525;color:#fff}
.em-explorer .em-analysis-active .em-analysis-dashboard{top:90px}
.em-explorer.em-analysis-open .em-map-footer>.em-height-resizer{display:none}


.em-explorer .em-analysis-height-resizer span,.em-explorer .em-analysis-height-resizer:hover span,.em-explorer .em-analysis-height-resizer:focus-visible span{border-color:var(--em-theme-border,#6b6e70)}

.em-explorer .em-analysis-dashboard{background-color:#0c0c0c;background-image:linear-gradient(180deg,#171717 0%,#050505 100%)}
.em-explorer .em-analysis-region-card{background:transparent;border-color:#343a36}
.em-explorer .em-analysis-graph{background:#252525;border-color:#414743}

.em-explorer .em-analysis-loadout{background:#252525;border-color:#414743}

.em-explorer .em-analysis-handling{flex-direction:column;align-items:stretch;gap:7px;margin:14px 0}.em-explorer .em-analysis-handling select{max-width:none;width:100%;min-width:0}

.em-explorer .em-map-analysis,.em-explorer .em-map-analysis *,.em-explorer .em-analysis-dashboard,.em-explorer .em-analysis-dashboard *{color:#fff!important}


.em-explorer .em-analysis-item-hover{position:fixed;z-index:100000;width:340px;max-width:calc(100vw - 16px);max-height:calc(100vh - 16px);overflow:auto;box-sizing:border-box;padding:16px;border:1px solid var(--em-theme-border,#6b6e70);border-radius:8px;background:#252525;color:#fff;box-shadow:0 8px 28px #0009;font:13px/1.45 system-ui}
.em-explorer .em-analysis-item-hover[hidden]{display:none!important}.em-explorer .em-analysis-item-hover *{color:#fff!important}.em-analysis-item-heading{display:flex;gap:12px;align-items:center;padding-right:20px}.em-analysis-item-heading img{width:56px;height:56px;object-fit:contain}.em-analysis-item-heading h3{margin:0;font:650 18px/1.3 system-ui}.em-analysis-item-heading p{margin:4px 0}.em-analysis-item-hover dl{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px 12px}.em-analysis-item-hover dt,.em-analysis-item-hover dd{margin:0}.em-analysis-item-hover dd{text-align:right;font-variant-numeric:tabular-nums}.em-analysis-item-hover h4{font-size:13px}.em-analysis-item-hover ul{padding-left:20px}.em-analysis-item-hover li{margin:6px 0}.em-analysis-item-hover small{display:block}.em-explorer .em-analysis-item-close{position:absolute;top:6px;right:6px;min-height:26px;padding:2px 8px}.em-analysis-item-hover .ew-note{font-size:11px}.em-explorer .em-analysis-loadout-item[role=button]{cursor:pointer;border-radius:5px;padding:5px;border:1px solid transparent}.em-explorer .em-analysis-loadout-item[role=button]:hover,.em-explorer .em-analysis-loadout-item[role=button]:focus-visible{border-color:var(--em-theme-border,#6b6e70);background:#ffffff0a;outline:2px solid transparent}

.em-explorer .em-layers-header{margin:8px 0 12px;padding:0 8px 10px;background:#1a1a1a;border:1px solid var(--em-theme-border,#6b6e70);border-radius:0 0 9px 9px}
.em-explorer .em-layers-header>.em-regions{margin:0;padding:10px 0 16px;border:0;border-bottom:1px solid var(--em-theme-border,#6b6e70)}
.em-explorer .em-layers-header>.em-regions>summary{font:650 13px/1.5 system-ui;color:#fff}
.em-explorer .em-layers-toolbar{display:flex;align-items:center;flex-wrap:wrap;gap:10px;padding-top:12px}
.em-explorer .em-layers-toolbar>strong{font:700 12px/1.5 system-ui;letter-spacing:.04em;text-transform:uppercase;color:#86c232;white-space:nowrap}
.em-explorer .em-layers-toolbar .em-layer-actions{display:flex;flex-wrap:wrap;gap:6px;margin:0}
.em-explorer .em-layers-toolbar .em-layer-actions button{margin:0;padding:6px 9px;min-height:32px;font:600 12px/1.4 system-ui;border-radius:5px;color:#fff}
.em-explorer .em-categories>legend.em-layers-legend-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
.em-explorer .em-order-note:empty{display:none}

.em-explorer .em-analysis-preferences{display:grid;grid-template-columns:minmax(95px,.65fr) minmax(0,1.35fr);gap:12px;margin:12px 0;align-items:end}
.em-explorer .em-analysis-preferences>.em-analysis-option{display:grid;grid-template-rows:minmax(34px,auto) 40px;align-items:end;gap:5px;margin:0;min-width:0}
.em-explorer .em-analysis-preferences select{width:100%;max-width:none;min-width:0;box-sizing:border-box;margin:0;height:40px;padding:8px 26px 8px 8px}

.em-explorer .em-analysis-active>.em-canvas{opacity:.15}
.em-explorer .em-analysis-active>.em-toolbar,.em-explorer .em-analysis-active>.em-map-footer{opacity:.25}

.em-explorer .em-analysis-primary-damage{background:transparent}
.em-explorer .em-analysis-graph,.em-explorer .em-analysis-loadout{background:#2f2f2f}
.em-explorer .em-analysis-alternatives{margin-top:20px;padding-top:12px;border-top:1px solid var(--em-theme-border,#6b6e70)}

.em-explorer .em-analysis-dashboard .em-analysis-primary-damage{background:#d8d8d8;color:#111!important}

.em-explorer .em-analysis-metrics>div{background:#2f2f2f;border-color:#414743}


.em-explorer .em-nav-menu,.em-explorer.em-lock-options .em-sidebar>.em-nav-menu,.em-explorer .em-layers-header,.em-explorer .em-sidebar .em-enemy-regions,.em-explorer .em-sidebar .em-analysis-regions{background:#1c1c1c}

.em-explorer .em-layers-toolbar,.em-explorer .em-enemy-layer-controls{flex-direction:column;align-items:stretch}
.em-explorer .em-layers-toolbar .em-layer-actions,.em-explorer .em-enemy-layer-controls .em-layer-actions{display:grid;grid-template-columns:max-content max-content;justify-content:start;gap:6px}
.em-explorer .em-layer-actions .em-reset-order{grid-column:1/-1;justify-self:start}

.em-explorer .em-layers-toolbar .em-layer-actions,.em-explorer .em-enemy-layer-controls .em-layer-actions{grid-template-columns:repeat(3,max-content);gap:6px}
.em-explorer .em-layer-actions .em-reset-order{grid-column:auto;justify-self:auto}

.em-analysis-item-heading{cursor:move;touch-action:none;user-select:none}.em-analysis-item-heading img{pointer-events:none}.em-analysis-item-heading:focus-visible{outline:2px solid #aaa;outline-offset:3px}.em-analysis-item-sources button{margin-top:6px;padding:4px 8px;font-size:12px}.em-analysis-item-hover[data-pinned=true]{border-color:#aaa}

.em-explorer .em-source-focus-restore{position:absolute;bottom:18px;left:50%;transform:translateX(-50%);z-index:15;box-shadow:0 3px 12px #0009;white-space:nowrap}.em-source-focus-restore[hidden]{display:none!important}

/* Shared neutral palette for every catalogue shortcode, matching the atlas. */
:is(.ew-explorer:not(.em-explorer),.ew-compare){--ew-ink:#fff;--ew-muted:#c4c4c4;--ew-accent:#86c232;--ew-surface:#171717;--ew-panel:#2f2f2f;--ew-control:#2e2e2e;--ew-border:#6b6e70;color:var(--ew-ink);background:var(--ew-surface);border-color:var(--ew-border);color-scheme:dark}
:is(.ew-explorer:not(.em-explorer),.ew-compare) :is(h2,h3,h4,h5,label,dt,dd){color:var(--ew-ink)}
:is(.ew-explorer:not(.em-explorer),.ew-compare) :is(.ew-card,.ea-slot,.ec-entry,.ec-attack,.eq-item-card,.ew-stat-grid>div){background:var(--ew-panel);border-color:var(--ew-border)}
:is(.ew-explorer:not(.em-explorer),.ew-compare) :is(input,select,textarea,option,button){background:var(--ew-control);color:var(--ew-ink);border-color:var(--ew-border);accent-color:var(--ew-accent)}
:is(.ew-explorer:not(.em-explorer),.ew-compare) :is(input,select,textarea,button,summary):focus-visible{outline:2px solid var(--ew-accent);outline-offset:3px}
:is(.ew-explorer:not(.em-explorer),.ew-compare) button:hover{background:#494949;border-color:#aaa}
:is(.ew-explorer:not(.em-explorer),.ew-compare) button[aria-pressed=true]{background:#3a3a3a;border-color:var(--ew-accent);color:#fff}
:is(.ew-explorer:not(.em-explorer),.ew-compare) input::placeholder{color:#bdbdbd}
:is(.ew-explorer:not(.em-explorer),.ew-compare) :is(.ew-empty,.ew-source,.ew-perks li,.eq-stat-table th,.eq-stat-table td,.ew-stat-grid,.ew-compare-overview th,.ew-compare-overview td){border-color:var(--ew-border)}
:is(.ew-explorer:not(.em-explorer),.ew-compare) .ew-item-image{background:radial-gradient(ellipse,#404040,#242424);border-color:var(--ew-border);color:var(--ew-muted)}
:is(.ew-explorer:not(.em-explorer),.ew-compare) .eq-item-card img{background:#242424}
:is(.ew-explorer:not(.em-explorer),.ew-compare) :is(.ew-chip,.eq-shared-stat){background:#383838;color:#fff;border-color:var(--ew-border)}
:is(.ew-explorer:not(.em-explorer),.ew-compare) .eq-item-selected{background:#3a3a3a;border-color:var(--ew-accent)}
:is(.ew-explorer:not(.em-explorer),.ew-compare) :is(.ew-note,.ew-meta,.ew-count,.ew-footer,.ew-header>p:last-child,.ew-source,.ew-perks p,.eq-stat-table caption){color:var(--ew-muted)}
:is(.ew-explorer:not(.em-explorer),.ew-compare) :is(.ew-description,.eq-stat-table){color:#fff}
:is(.ew-explorer:not(.em-explorer),.ew-compare) a{color:#b9df89}

.ew-page-navigation{box-sizing:border-box;display:flex;max-width:1080px;margin:16px auto;padding:0 12px;font:600 14px/1.4 system-ui}.ew-page-navigation [data-ew-page-back]{display:inline-flex;align-items:center;gap:7px;padding:9px 16px;border:1px solid #6b6e70;border-radius:5px;background:#2e2e2e;color:#fff;text-decoration:none}.ew-page-navigation [data-ew-page-back]:hover{background:#494949;color:#fff}.ew-page-navigation [data-ew-page-back]:focus-visible{outline:2px solid #86c232;outline-offset:3px}

.er-explorer{max-width:1440px}.er-controls{grid-template-columns:2fr 1fr 1fr}.er-results{display:grid;grid-template-columns:minmax(0,1fr);gap:18px;align-items:start}.er-card{min-width:0;padding:20px}.er-card-header{display:flex;gap:14px;align-items:center}.er-card-header>div{min-width:0}.er-explorer .er-card h3{font-size:21px;overflow-wrap:anywhere;margin:0 0 4px}.er-card-header img,.er-item-placeholder{width:56px;height:56px;object-fit:contain;flex:none}.er-item-placeholder{display:inline-flex;justify-content:center;align-items:center;border:1px solid #6b6e70;border-radius:7px;background:#383838;color:#fff;font-size:24px}.er-card-header p{margin:0}.er-quantity{display:flex;align-items:center;gap:12px;font-size:13px}.er-quantity input{width:100px;min-height:40px;padding:7px 10px;border:1px solid #6b6e70;border-radius:5px;font:inherit}.er-ingredient{display:flex;align-items:center;gap:12px;padding:10px 0;border-bottom:1px solid #ffffff20}.er-ingredient img,.er-ingredient .er-item-placeholder{width:36px;height:36px;flex:none;object-fit:contain}.er-ingredient-body{min-width:0;display:grid;gap:4px;flex:1;font-size:13px}.er-ingredient-body select{display:block;box-sizing:border-box;min-height:40px;width:100%;max-width:100%;padding:7px;border:1px solid #6b6e70;border-radius:5px;font:inherit}.er-ingredient-body label{display:block;font-size:11px}.er-map-link{width:fit-content;display:inline-block;padding:3px 0;text-underline-offset:3px}.er-requirements{margin-top:18px;font-size:12px}.er-requirements summary{cursor:pointer}.er-requirements li{margin:5px 0}.er-results>.ew-empty{grid-column:1/-1}.er-explorer [data-er-more]{margin-top:20px}.er-explorer [data-er-more][hidden]{display:none}@media(max-width:800px){.er-controls{grid-template-columns:1fr 1fr}.er-controls>div:first-child{grid-column:1/-1}.er-results{grid-template-columns:1fr}}@media(max-width:480px){.er-controls{grid-template-columns:1fr}.er-card{padding:16px}}

.em-explorer .em-recipes-page-link{display:block;padding:10px 12px;border-top:1px solid var(--em-theme-border,#6b6e70);color:var(--em-theme-text,#fff);text-decoration:none;font-weight:600}.em-explorer .em-recipes-page-link:hover{background:var(--em-theme-hover,#494949)}.em-recipe-links>a{display:block;padding:7px 0;color:#b9df89}.er-ingredient-context{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-top:18px;padding:12px;background:#2f2f2f;border:1px solid #6b6e70;border-radius:5px}.er-ingredient-context[hidden]{display:none}.er-ingredient-context button{padding:7px 10px;border:1px solid #6b6e70;border-radius:5px;cursor:pointer}

.er-guide-links{margin:18px 0;padding:14px 18px;border:1px solid #6b6e70;border-radius:7px;background:#2f2f2f}.er-explorer .er-guide-links h3{font-size:18px}.er-guide-links ul{margin:6px 0;padding-left:20px}.er-single{max-width:1080px}.er-breadcrumb{font-size:13px;margin-bottom:24px}.er-single-header{display:flex;align-items:center;gap:22px}.er-single-header img{width:96px;height:96px;object-fit:contain;flex:none}.ew-explorer.er-single h2{font-size:24px;line-height:1.3;margin-top:28px}.ew-explorer.er-single .er-single-header h2{font-size:32px;margin-top:0}.er-single-header p{margin:8px 0}.er-single-intro{margin:24px 0}.er-single-facts{grid-template-columns:repeat(3,minmax(0,1fr))}.er-single-calculator{display:flex;flex-wrap:wrap;align-items:center;gap:12px;margin:18px 0}.er-single-calculator input{font:inherit;padding:8px 10px;width:100px;border:1px solid #6b6e70;border-radius:5px}.er-single-calculator p{font-size:13px;margin:0}.er-single-table-wrap{overflow:auto;max-width:100%}.er-single-table{border-collapse:collapse;width:100%;font-size:14px}.er-single-table caption{text-align:left;font-size:12px;color:#c4c4c4;padding:6px 0 12px}.er-single-table th,.er-single-table td{padding:12px;text-align:left;vertical-align:middle;border:1px solid #6b6e70;background:#2f2f2f}.er-single-table th{font-weight:600}.er-single-ingredient{display:flex;align-items:center;gap:12px;min-width:150px}.er-single-ingredient img{object-fit:contain;flex:none}.er-single-ingredient small{display:block;font-weight:400}.er-single-steps li,.er-single-related li{padding:6px 0}@media(max-width:640px){.er-single-header{align-items:flex-start;gap:12px}.er-single-header img{width:64px;height:64px}.ew-explorer.er-single .er-single-header h2{font-size:25px}.er-single-facts{grid-template-columns:1fr}.er-single-table th,.er-single-table td{padding:9px}}

.em-explorer .em-contour-control{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:8px 0;font-size:12px}.em-contour-control input[type=range]{min-width:80px;flex:1}.em-contour-control output{min-width:35px;text-align:right}.em-contour-control select{max-width:140px;padding:5px}

.em-quest-enemies{padding:8px 10px;border-bottom:1px solid #6b6e7055;font-size:12px}.em-quest-enemies summary{cursor:pointer;font-weight:600}.em-quest-enemy-list{display:grid;gap:5px;margin-top:8px}.em-explorer .em-quest-enemy-button{display:flex;align-items:center;gap:8px;text-align:left;width:100%}.em-quest-enemy-button img{width:30px;height:30px;object-fit:contain;flex:none}.em-quest-enemy-button strong,.em-quest-enemy-button small{display:block}.em-quest-enemy-hover{position:fixed;z-index:100100;width:350px;max-width:calc(100vw - 16px);max-height:calc(100vh - 16px);overflow:auto;box-sizing:border-box;background:#252525;border:1px solid #6b6e70;border-radius:8px;padding:18px;color:#fff;box-shadow:0 6px 24px #0009;font:13px/1.5 system-ui}.em-quest-enemy-hover[hidden]{display:none!important}.em-quest-enemy-hover h3,.em-quest-enemy-hover h4,.em-quest-enemy-hover p,.em-quest-enemy-hover li{color:#fff}.em-quest-enemy-hover h3{font-size:18px;margin:0}.em-quest-enemy-hover h4{font-size:14px;margin:16px 0 6px}.em-quest-enemy-hover .ew-note{color:#ccc;font-size:11px}.em-quest-enemy-heading{display:flex;align-items:center;gap:10px;padding-right:20px}.em-quest-enemy-heading img{width:44px;height:44px;object-fit:contain}.em-quest-enemy-close{position:absolute;right:6px;top:6px;background:#333;color:#fff;border:1px solid #6b6e70;border-radius:4px;padding:2px 8px;cursor:pointer}.em-quest-enemy-hover ul{padding-left:20px;margin:6px 0}

.em-analysis-colour-key{display:flex;flex-wrap:wrap;gap:8px 16px;padding:10px 12px;margin:12px 0;background:#2f2f2f;border:1px solid #6b6e70;border-radius:6px;color:#fff;font-size:12px}.em-analysis-colour-key>span{display:inline-flex;align-items:center;gap:7px}.em-analysis-colour-key i{display:inline-block;width:14px;height:14px;border-radius:3px}.em-explorer .em-analysis-overall{border-color:#6b6e70}

.em-quest-enemy-hover .em-quest-defence{padding:12px;margin:14px 0;border-radius:8px}.em-quest-enemy-hover .em-quest-defence-weak{background:var(--em-defence-weak,#58be55)}.em-quest-enemy-hover .em-quest-defence-resist{background:var(--em-defence-resist,#ff7f7f)}.em-quest-enemy-hover .em-quest-defence h4{margin:0 0 10px;padding:8px;background:#252525;color:#fff;border-radius:4px}.em-quest-enemy-hover .em-quest-defence-weak :is(li,p){color:var(--em-defence-weak-ink,#111312)}.em-quest-enemy-hover .em-quest-defence-resist :is(li,p){color:var(--em-defence-resist-ink,#111312)}

.em-analysis-gems{margin-top:1rem}.em-analysis-gems .em-analysis-loadout-item{margin-bottom:.5rem}.em-analysis-gem-swatch{font-size:2rem;flex:0 0 40px;text-align:center}
.em-explorer .em-analysis-item-hover dl{grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);align-items:start;gap:10px 12px}
.em-explorer .em-analysis-item-hover dt,.em-explorer .em-analysis-item-hover dd{min-width:0;width:auto;max-width:100%;margin:0;white-space:normal;word-break:normal;overflow-wrap:break-word}
@media(max-width:400px){.em-explorer .em-analysis-item-hover dl{grid-template-columns:minmax(0,1fr);gap:4px}.em-explorer .em-analysis-item-hover dd{text-align:left;margin-bottom:10px}}

.em-detailed-controls{margin-top:10px;padding:10px;border:1px solid var(--em-theme-border,#666);border-radius:6px}.em-detailed-controls label{display:block;margin:8px 0}.em-detailed-controls input[type=checkbox]{width:16px;height:16px;min-height:0;display:inline-block}.em-detailed-controls input[type=range]{width:100%;display:block}.em-detailed-controls output{font-size:12px}

.em-pan-lock-notice{position:absolute;left:12px;bottom:38px;padding:6px 10px;border:1px solid var(--em-theme-border,#666);border-radius:5px;background:#252525;color:#fff;font:12px/1.4 system-ui;pointer-events:none;z-index:3}.em-pan-lock-notice[hidden]{display:none}.em-pan-locked [data-em-canvas]{cursor:default}

/* Compact map display panel with aligned controls and one scroll container. */
.em-explorer .em-toolbar .em-map-options{width:330px;max-width:calc(100vw - 24px)}
.em-explorer .em-map-options .em-display-options{padding:0;max-height:min(70vh,640px);overflow:auto;font:13px/1.45 system-ui;background:var(--em-theme-panel,#252525)}
.em-explorer .em-display-options>summary{padding:12px 14px;font-weight:650;position:sticky;top:0;background:var(--em-theme-panel,#252525);z-index:1}
.em-explorer .em-display-group{border-top:1px solid var(--em-theme-border,#555);padding:0 14px 10px;margin:0}
.em-explorer .em-display-group>summary{padding:11px 0 3px;cursor:pointer;font-weight:600}.em-explorer .em-display-group:not([open]){padding-bottom:0}.em-explorer .em-display-group:not([open])>summary{padding-bottom:11px}
.em-explorer .em-display-options label{font:13px/1.45 system-ui;margin:10px 0;gap:10px}.em-explorer .em-display-options label:has(input[type=checkbox]){display:flex;align-items:center;justify-content:flex-start}
.em-explorer .em-display-options input[type=checkbox]{flex:0 0 16px;width:16px;height:16px;min-height:0;margin:0}
.em-explorer .em-display-options .em-compact-select-row{display:flex;align-items:center;justify-content:space-between;flex-wrap:nowrap}.em-explorer .em-display-options select{width:135px;min-width:0;min-height:34px;font:13px/1.3 system-ui;padding:5px 8px}
.em-explorer .em-display-options label:has(input[type=number]){display:flex;align-items:center;justify-content:space-between}.em-explorer .em-display-options input[type=number]{width:70px;min-width:0;min-height:32px;padding:4px 6px;font-size:13px}
.em-explorer .em-display-options .em-contour-control{display:grid;grid-template-columns:1fr auto}.em-explorer .em-display-options .em-contour-control input[type=range]{grid-column:1;width:100%;min-width:0;margin:0}.em-explorer .em-display-options .em-contour-control output{grid-column:2;grid-row:2;min-width:38px}
.em-explorer .em-display-options .ew-note{font:12px/1.5 system-ui;opacity:.8;margin:8px 0 12px}.em-explorer .em-display-options [hidden]{display:none!important}
.em-explorer .em-display-options .em-detailed-controls{padding:0;border:0;margin:8px 0}.em-explorer .em-display-options .em-display-nested>summary{font-size:12px}
@media(max-width:500px){.em-explorer .em-toolbar .em-map-options{width:min(310px,calc(100vw - 24px))}.em-explorer .em-map-options .em-display-options{max-height:60vh}}

.em-display-reset{display:flex;align-items:center;gap:10px;position:sticky;bottom:0;padding:10px 14px;background:var(--em-theme-panel,#252525);border-top:1px solid var(--em-theme-border,#555)}.em-display-reset .em-reset-display{font:600 12px/1.4 system-ui;min-height:34px;padding:6px 12px}.em-reset-display-status{font:11px/1.3 system-ui}

.em-mouse-coordinates{position:absolute;left:50%;bottom:22px;transform:translateX(-50%);pointer-events:none;z-index:7;white-space:nowrap;padding:5px 12px;border:1px solid var(--em-theme-border,#666);border-radius:5px;background:var(--em-theme-label,#252525);color:var(--em-theme-text,#fff);font:600 12px/1.4 system-ui;font-variant-numeric:tabular-nums;box-shadow:0 2px 8px #0005}.em-mouse-coordinates[hidden]{display:none}.em-pan-lock-notice{bottom:58px}

.em-mouse-coordinates{top:12px;bottom:auto}

.em-explorer .em-loot-levels{margin:12px 0;padding:12px;border:1px solid var(--em-theme-border,#666);border-radius:7px;background:var(--loot-background,#202020);color:#fff;font:12px/1.45 system-ui}.em-explorer .em-loot-levels>summary{display:flex;align-items:center;justify-content:space-between;gap:12px;font:650 13px/1.45 system-ui;margin:0;color:#fff;cursor:pointer;list-style:none}.em-loot-levels>summary::-webkit-details-marker{display:none}.em-loot-levels>summary::after{content:'';width:7px;height:7px;flex-shrink:0;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(45deg);margin:0 3px 4px 0}.em-loot-levels[open]>summary::after{transform:rotate(225deg);margin-top:6px}.em-loot-levels>summary:focus-visible{outline:2px solid var(--loot-accent);outline-offset:4px}.em-loot-caption{font:11px/1.5 system-ui!important;opacity:.8;margin:8px 0!important}.em-loot-range{border-bottom:1px solid #ffffff18;padding:8px 0}.em-loot-range-header{display:flex;align-items:center;gap:6px}.em-explorer .em-loot-range-header input[type=number]{width:52px;min-width:0;min-height:28px;padding:3px 5px;font:12px system-ui}.em-explorer .em-loot-range-header button{margin-left:auto;min-height:24px;padding:1px 6px}.em-loot-slider{position:relative;height:34px;margin:3px 8px;background:linear-gradient(var(--loot-track),var(--loot-track)) center/100% 4px no-repeat}.em-loot-slider i{position:absolute;left:var(--lo);right:calc(100% - var(--hi));top:15px;height:4px;background:var(--loot-accent)}.em-explorer .em-loot-slider input[type=range]{appearance:none;-webkit-appearance:none;position:absolute;left:-8px;top:0;width:calc(100% + 16px);height:34px;min-height:0;padding:0;margin:0;border:0;pointer-events:none;background:transparent}.em-loot-slider input::-webkit-slider-runnable-track{height:4px;background:transparent}.em-loot-slider input::-webkit-slider-thumb{-webkit-appearance:none;pointer-events:auto;cursor:ew-resize;width:15px;height:15px;margin-top:-5px;transform:rotate(45deg);background:var(--loot-accent);border:2px solid #fff9;border-radius:2px}.em-loot-slider input::-moz-range-track{height:4px;background:transparent}.em-loot-slider input::-moz-range-thumb{pointer-events:auto;cursor:ew-resize;width:13px;height:13px;transform:rotate(45deg);background:var(--loot-accent);border:2px solid #fff9}.em-loot-levels[data-thumb=circle] input::-webkit-slider-thumb{border-radius:50%;transform:none}.em-loot-levels[data-thumb=circle] input::-moz-range-thumb{border-radius:50%;transform:none}.em-loot-actions{display:flex;justify-content:space-between;gap:8px;padding:8px 0}.em-explorer .em-loot-actions button{font:12px system-ui;min-height:28px;padding:4px 8px;color:var(--loot-accent)}.em-explorer .em-loot-unknown{display:flex!important;align-items:center;gap:7px;font:12px system-ui!important}.em-explorer .em-loot-unknown input{width:15px;height:15px;min-height:0;margin:0}.em-loot-levels[hidden]{display:none!important}

.em-explorer .em-group.em-container-levels-attached{border-bottom:0}.em-explorer .em-group.em-container-levels-attached+.em-loot-levels{position:relative;margin-bottom:24px}.em-explorer .em-group.em-container-levels-attached+.em-loot-levels::after{content:"";position:absolute;left:-1px;right:-1px;bottom:-13px;border-bottom:1px solid var(--em-theme-border,#666);pointer-events:none}

.em-explorer .em-analysis-item-hover .em-detail-bar{margin:-16px -16px 16px;top:-16px}.em-explorer .em-analysis-item-hover .em-detail-grip{flex:1;text-align:left;cursor:move;touch-action:none;font:12px system-ui;padding:6px 8px;background:transparent;border:0;color:#c4cac7}.em-explorer .em-analysis-item-hover .em-analysis-item-close{position:static;flex-shrink:0}.em-analysis-item-hover .em-analysis-item-heading{cursor:default;touch-action:auto;user-select:auto;padding-right:0}.em-explorer .em-analysis-item-hover .em-detail-resize{position:sticky;bottom:0;float:right;z-index:2;width:30px;height:28px;padding:0;cursor:nwse-resize;touch-action:none;font-size:21px;line-height:1}

.em-heat-appearance{margin-top:10px;border-top:1px solid var(--em-theme-border);padding-top:10px}.em-heat-appearance>summary{cursor:pointer;font-weight:600}.em-explorer .em-heat-appearance>label{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:8px 0;font:12px/1.4 system-ui}.em-explorer .em-heat-appearance select,.em-explorer .em-heat-appearance input[type=number]{width:125px;min-width:0;padding:5px;min-height:30px}.em-explorer .em-heat-appearance input[type=color]{width:42px;min-height:28px;padding:2px}

.em-explorer .em-hotspot-legend{display:flex;flex-wrap:wrap;gap:5px 10px}.em-hotspot-legend>small{flex-basis:100%}.em-heat-region-key{display:inline-flex;align-items:center;gap:4px;font:11px/1.4 system-ui}.em-heat-region-key i{width:10px;height:10px;border-radius:2px}

.em-heat-region-picker{margin:8px 0 12px;padding:8px;border:1px solid var(--em-theme-border);border-radius:5px}.em-heat-region-picker>summary{cursor:pointer;font-weight:600}.em-explorer .em-heat-region-picker>label{display:flex;align-items:center;gap:7px;margin:7px 0;font:12px/1.4 system-ui}.em-heat-region-picker input[type=checkbox]{width:15px;height:15px;min-height:0;margin:0}

.em-explorer .em-analysis-gem-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,240px),1fr));gap:12px;align-items:stretch}.em-analysis-gems>h5,.em-analysis-gems>p{grid-column:1/-1;margin:0}.em-explorer .em-analysis-gem-grid>.em-analysis-loadout-item{align-items:flex-start;min-width:0;margin:0;padding:10px;border:1px solid var(--em-theme-border,#666);box-sizing:border-box}.em-analysis-gem-grid>.em-analysis-loadout-item>div{min-width:0;overflow-wrap:anywhere}.em-analysis-gems .em-analysis-gem-swatch{flex-basis:26px;font-size:25px;line-height:1.2}

.em-analysis-gem-grid{margin:10px 0}.em-analysis-gem-grid .em-analysis-loadout-item img{width:40px;height:40px;object-fit:contain}

.em-explorer .em-sidebar .em-menu-icon-cell,.em-explorer .em-sidebar .em-menu-category-icon{width:var(--em-menu-icon-size,40px);height:var(--em-menu-icon-size,40px)}.em-explorer .em-sidebar .em-menu-icon-cell>img{width:var(--em-menu-icon-size,40px);height:var(--em-menu-icon-size,40px);min-width:var(--em-menu-icon-size,40px);filter:brightness(var(--em-menu-icon-brightness,1.25)) contrast(1.05) drop-shadow(0 1px 1px #0006)}.em-explorer.em-menu-icon-tiles .em-sidebar .em-menu-icon-cell{background:var(--em-menu-icon-bg,#464646);background:color-mix(in srgb,var(--em-menu-icon-bg,#464646),white 12%)}.em-explorer .em-group .em-subgroup{grid-template-columns:16px var(--em-menu-icon-cell-size,48px) minmax(0,1fr) auto;column-gap:10px;min-height:58px;padding:6px 0}
.em-explorer .em-analysis-loadout-grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:24px;align-items:start}.em-analysis-equipment-column,.em-analysis-gem-column,.em-analysis-weapon-box,.em-analysis-armour-box{min-width:0}.em-analysis-armour-box{margin-top:20px}.em-explorer .em-analysis-armour-pieces{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,175px),1fr));gap:10px}.em-explorer .em-analysis-gem-card{display:flex;flex-direction:column;min-width:0;border:1px solid var(--em-theme-border,#666);border-radius:6px;padding:10px}.em-explorer .em-analysis-gem-card>.em-analysis-loadout-item{align-items:flex-start;margin:0;padding:0;border-color:transparent;min-width:0}.em-analysis-gem-card .em-analysis-loadout-item>div{min-width:0;overflow-wrap:anywhere}.em-explorer .em-analysis-damage-gauge{min-width:0;margin:10px 0 0;padding:8px;background:transparent;border:0;box-shadow:none}.em-analysis-damage-gauge>h4{margin:0;font-size:12px}.em-analysis-damage-gauge>p{font-size:10px!important}.em-analysis-gem-card .em-analysis-damage-gauge{margin-top:auto}.em-analysis-weapon-box>.em-analysis-damage-gauge{max-width:260px}.em-analysis-gem-column .em-analysis-gems{margin-top:0}.em-analysis-gem-card .em-analysis-plot{width:100%}@media(max-width:1000px){.em-explorer .em-analysis-loadout-grid{grid-template-columns:minmax(0,1fr)}}

.em-analysis-loadout{container-type:inline-size;container-name:analysis-loadout}.em-analysis-equipment-column,.em-analysis-gem-column{max-width:100%;box-sizing:border-box}.em-explorer .em-analysis-damage-gauge .em-analysis-plot{height:auto!important;aspect-ratio:1.7;min-height:120px;max-height:165px;max-width:100%}.em-analysis-damage-gauge .em-analysis-plot>div{max-width:100%}.em-explorer .em-sidebar .em-menu-icon-cell>img{max-width:100%;max-height:100%;object-fit:contain}@container analysis-loadout (max-width:900px){.em-explorer .em-analysis-loadout-grid{grid-template-columns:minmax(0,1fr)}}

.em-explorer .em-heat-legend{margin:8px 0 12px;padding:8px;border:1px solid var(--em-theme-border);border-radius:5px}.em-heat-legend>summary{cursor:pointer;font-weight:600}.em-explorer .em-heat-legend[hidden]{display:none!important}

.em-explorer .em-heat-legend:not([open])>.em-hotspot-legend,.em-explorer .em-heat-region-picker:not([open])>:not(summary){display:none!important}

.em-explorer .em-gem-search-card{width:400px;resize:both;min-width:min(280px,calc(100vw - 16px));min-height:180px}.em-gem-search-card details{margin:14px 0}.em-gem-search-card summary{cursor:pointer;font-weight:650}.em-gem-search-card dd{overflow-wrap:anywhere}

.em-weapon-catalogue>summary{cursor:pointer;font-weight:650;padding:10px 0}.em-diary-toolbar{display:flex;flex-wrap:wrap;gap:7px;margin:10px 0}.em-diary-toolbar input[type=search]{width:100%;box-sizing:border-box}.em-diary-list{max-height:65vh;overflow:auto}.em-diary-list table{width:100%;border-collapse:collapse;font:12px/1.4 system-ui}.em-diary-list th{position:sticky;top:0;background:#303030;z-index:1;text-align:left}.em-diary-list td,.em-diary-list th{padding:8px 4px;border-bottom:1px solid #666}.em-diary-list td:first-child{min-width:90px}.em-diary-list td:first-child img{width:36px;height:36px;object-fit:contain;vertical-align:middle;margin-right:5px}.em-diary-list input[type=number]{width:60px;min-width:0;box-sizing:border-box;padding:5px}.em-diary-list button{padding:5px;min-height:28px;font-size:11px}.em-diary-list input[type=checkbox]{width:17px;height:17px;min-height:0}


/* Compact atlas rail: sections stay visible while the filter panel can close. */
.em-explorer.em-rail-layout{--em-rail-width:92px;font-family:system-ui,sans-serif}
.em-explorer.em-rail-layout .em-shell{display:grid;grid-template-columns:var(--em-rail-width) var(--em-sidebar-width,320px) minmax(0,1fr);grid-template-rows:minmax(0,1fr);gap:0}
.em-explorer.em-rail-layout.em-collapsed .em-shell{grid-template-columns:var(--em-rail-width) minmax(0,1fr)}
.em-rail-layout .em-navigation-rail{grid-column:1;grid-row:1;display:flex;flex-direction:column;min-height:0;overflow:auto;background:linear-gradient(#161616,#090909);border-right:1px solid #555;padding:12px 8px;scrollbar-width:thin}
.em-explorer.em-rail-layout .em-navigation-rail .em-tabs{position:static;display:flex;flex-direction:column;gap:5px;margin:0;padding:0;border:0;background:transparent}
.em-explorer.em-rail-layout .em-navigation-rail button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;width:100%;min-height:70px;padding:9px 4px;margin:0;border:1px solid transparent;border-radius:10px;background:transparent;color:#f4f4f4;white-space:normal;text-align:center;font:600 11px/1.25 system-ui;cursor:pointer;box-shadow:none}
.em-explorer.em-rail-layout .em-navigation-rail button:hover{background:#303030;border-color:#666}
.em-explorer.em-rail-layout .em-navigation-rail button[aria-selected=true]{color:#111;background:#b4e923;border-color:#c5f24b;box-shadow:none}
.em-explorer.em-rail-layout .em-navigation-rail .em-tab-icon{display:block;flex:none;width:28px;height:28px;margin:0;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;color:inherit}
.em-explorer.em-rail-layout .em-rail-settings{margin-top:auto!important;border-top:1px solid #555!important;border-radius:0!important}
.em-rail-layout .em-sidebar{grid-column:2;grid-row:1;min-width:0;min-height:0;padding:0 16px 20px;border:0;border-right:1px solid #606060;background:linear-gradient(#202020,#111);box-shadow:none}
.em-explorer.em-rail-layout .em-sidebar>.em-heading,.em-explorer.em-rail-layout .em-sidebar>.em-nav-menu{display:none}
.em-rail-layout .em-stage{grid-column:3;grid-row:1;min-height:0;height:100%}
.em-rail-layout.em-collapsed .em-stage{grid-column:2}
.em-explorer.em-rail-layout .em-filter-heading{position:sticky;top:0;z-index:95;display:flex;align-items:center;justify-content:space-between;gap:8px;background:#202020;border-bottom:1px solid #666;padding:14px 0;margin:0 0 14px}
.em-explorer.em-rail-layout .em-filter-heading h2{margin:0;font:700 19px/1.3 system-ui;letter-spacing:0;text-transform:none}
.em-explorer.em-rail-layout .em-filter-heading .em-sidebar-toggle{position:static;min-width:32px;min-height:32px;padding:0;border:0;background:transparent;font:26px/1 system-ui}
.em-explorer.em-rail-layout .em-sidebar>.em-map-search{display:flex;flex-wrap:wrap;padding:0;margin:0 0 16px;border:0;background:transparent;box-shadow:none}
.em-rail-layout .em-map-search>label{display:none!important}
.em-rail-layout .em-map-search>[data-em-search]{flex:1;min-width:80px;height:40px!important}
.em-explorer.em-rail-layout.em-lock-search .em-sidebar>.em-map-search{position:static}
.em-rail-layout .em-sidebar-resizer{left:calc(var(--em-rail-width) + var(--em-sidebar-width,320px) - 4px)}
.em-explorer.em-rail-layout .em-group{padding:12px 0;border-bottom:1px solid #444}
.em-explorer.em-rail-layout .em-group>summary{font-family:system-ui,sans-serif}
.em-explorer.em-rail-layout .em-group>summary>label>span{font-weight:650}
.em-rail-layout .em-reopen-filters{position:absolute;z-index:46;top:54px;left:12px;padding:9px 14px;border:1px solid #90bb25;border-radius:7px;color:#fff;background:#202020;font:600 13px system-ui;cursor:pointer}
.em-rail-layout .em-reopen-filters[hidden]{display:none}
.em-explorer.em-rail-layout.em-collapsed .em-toolbar{left:8px}
.em-rail-layout button:focus-visible{outline:2px solid #b4e923;outline-offset:2px}
@container(max-width:800px){
 .em-explorer.em-rail-layout{--em-rail-width:72px}
 .em-explorer.em-rail-layout .em-navigation-rail{padding:8px 4px}
 .em-explorer.em-rail-layout .em-navigation-rail button{min-height:64px;font-size:10px}
 .em-explorer.em-rail-layout .em-shell{--em-rail-width:72px;grid-template-columns:var(--em-rail-width) minmax(0,1fr);height:760px;min-height:520px;max-height:none}
 .em-explorer.em-rail-layout .em-stage{grid-column:2;grid-row:1;height:100%;min-height:0}
 .em-explorer.em-rail-layout .em-sidebar{grid-column:2;grid-row:1;z-index:85;width:min(320px,100%);box-sizing:border-box;max-height:none;border-bottom:0;box-shadow:8px 0 24px #0006}
 .em-explorer.em-rail-layout .em-sidebar-resizer{display:none}
 .em-explorer.em-rail-layout.em-height-adjusted .em-shell{height:var(--em-map-height);min-height:320px}
}
.em-explorer.em-rail-layout .em-navigation-rail .em-tab-text{white-space:normal;overflow-wrap:anywhere;max-width:100%;line-height:1.25}
.em-rail-layout .em-navigation-rail{box-sizing:border-box;scrollbar-width:thin}
.em-explorer.em-rail-layout .em-sidebar>.em-map-search{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:6px}
.em-explorer.em-rail-layout .em-sidebar>.em-map-search>[data-em-search]{grid-column:1;grid-row:1;min-width:0;width:100%}
.em-explorer.em-rail-layout .em-sidebar>.em-map-search>.em-search-options-toggle{grid-column:3;grid-row:1}
.em-explorer.em-rail-layout .em-sidebar>.em-map-search>.em-search-tools{grid-column:1/-1;grid-row:2;min-width:0;width:100%;box-sizing:border-box}

.em-explorer.em-rail-layout .em-sidebar>.em-map-search>.em-search-submit{grid-column:2;grid-row:1;min-height:36px;padding:6px 10px;margin:0;border:1px solid #b4e923;border-radius:5px;background:#b4e923;color:#111;font:650 12px/1.3 system-ui;cursor:pointer}
.em-explorer.em-rail-layout .em-search-submit:hover{background:#c9f54e}
.em-explorer.em-rail-layout .em-search-submit:focus-visible{outline:2px solid #fff;outline-offset:2px}
.em-explorer .em-detail-bar .em-detail-grip{display:flex;align-items:center;gap:10px;min-width:0;min-height:44px;touch-action:none;cursor:move}
.em-explorer .em-detail-grip>.em-popup-title-icon{display:block;flex:0 0 38px;width:38px;height:38px;max-width:38px;max-height:38px;object-fit:contain;float:none;margin:0;pointer-events:none}
.em-explorer .em-detail-grip>.em-popup-title-name{display:block;min-width:0;font:700 17px/1.3 system-ui;color:#fff;white-space:normal;overflow-wrap:anywhere;pointer-events:none}
.em-explorer .em-detail-grip:before{flex:none;margin-right:0}
.em-gem-types{margin:12px 0;padding:12px 0;border-bottom:1px solid #555}
.em-gem-types>summary{cursor:pointer;font:650 15px/1.4 system-ui}
.em-gem-types-list{display:grid;gap:4px;max-height:480px;overflow:auto;margin-top:10px}
.em-explorer .em-gem-types-list .em-gem-type-row{display:flex;align-items:center;gap:10px;min-width:0;width:100%;padding:8px;text-align:left;border:1px solid #444;border-radius:5px;background:#252525;color:#fff;cursor:pointer}
.em-gem-type-row>img{flex:none;width:40px;height:40px;object-fit:contain}
.em-gem-type-row>span{min-width:0}
.em-gem-type-row strong{font:650 13px/1.4 system-ui;overflow-wrap:anywhere}
.em-gem-type-row small{display:block;margin-top:3px;font:11px/1.4 system-ui}
.em-explorer .em-gem-types-list .em-gem-type-row:hover,.em-explorer .em-gem-types-list .em-gem-type-row:focus-visible{border-color:#b4e923;background:#333}
.em-gem-info-find{margin-top:12px;padding:8px 12px;cursor:pointer}
@container(max-width:500px){
 .em-explorer.em-rail-layout .em-sidebar>.em-map-search{grid-template-columns:minmax(0,1fr) auto}
 .em-explorer.em-rail-layout .em-sidebar>.em-map-search>.em-search-options-toggle{grid-column:1/-1;grid-row:2;justify-self:end}
 .em-explorer.em-rail-layout .em-sidebar>.em-map-search>.em-search-tools{grid-row:3}
}

.em-explorer.em-rail-layout .em-sidebar>.em-map-search{grid-template-columns:minmax(0,1fr) auto}
.em-search-panel-anchor[hidden]{display:none!important}
.em-explorer .em-layers-toolbar{flex-direction:row;align-items:center;flex-wrap:nowrap;gap:5px}
.em-explorer .em-layers-toolbar .em-layer-actions{display:flex;align-items:center;flex-wrap:nowrap;gap:3px;min-width:0}
.em-explorer .em-layers-toolbar .em-layer-actions button{min-width:0;padding:5px;font-size:11px;white-space:nowrap}
@container(max-width:500px){.em-explorer .em-layers-toolbar .em-layer-actions button{font-size:10px;padding:3px}.em-explorer .em-layers-toolbar>strong{font-size:11px}}
.em-explorer .em-sidebar>.em-search-results-panel{position:static;display:block;box-shadow:none;border:0;border-bottom:1px solid #555;border-radius:0;padding:0 0 16px;margin:10px 0 18px;background:transparent}
.em-explorer .em-sidebar>.em-search-results-panel[hidden]{display:none}
.em-search-results-panel .em-search-results-summary{font:600 12px/1.5 system-ui;margin:8px 0 14px;color:#ddd}
.em-search-results-panel .em-search-suggestions{position:static;max-height:none;overflow:visible;background:transparent;border:0}
.em-search-result-section{margin:0 0 16px}
.em-search-result-section>h4{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:0;padding:9px 0;border-bottom:1px solid #666;font:700 15px/1.3 system-ui}
.em-search-result-count{font-size:12px;color:#b4e923}
.em-explorer .em-search-results-panel .em-search-suggestion{align-items:flex-start;gap:8px;padding:12px 0;min-width:0;flex-wrap:wrap}
.em-search-results-panel .em-search-suggestion>span:not(.em-search-find){min-width:0;flex:1;overflow-wrap:anywhere}
.em-search-results-panel .em-search-suggestion strong{color:#83c4ff;text-decoration:underline;text-underline-offset:3px}
.em-search-results-panel .em-search-suggestion small{margin-top:4px}
.em-search-results-panel .em-search-suggestion>.em-tab-icon{width:30px;height:30px;flex:none;fill:none;stroke:currentColor;stroke-width:1.5}
.em-explorer .em-search-results-panel .em-search-find{display:block;flex:0 1 calc(100% - 38px);max-width:calc(100% - 38px);box-sizing:border-box;margin-left:38px;text-align:left;border:0;padding:0;color:#b4e923;font-size:11px;white-space:normal}
.em-search-no-results{text-align:center;padding:32px 6px;color:#bbb;font:14px/1.5 system-ui}
.em-search-more{width:100%;margin:8px 0;padding:8px;font-size:12px;cursor:pointer}
.em-explorer.em-rail-layout .em-sidebar,.em-explorer.em-rail-layout .em-filter-heading,.em-explorer.em-rail-layout .em-nav-menu,.em-explorer.em-rail-layout .em-layers-header,.em-explorer.em-rail-layout .em-regions,.em-explorer.em-rail-layout .em-analysis-region-card{background:var(--em-theme-panel,#242424)}
.em-explorer.em-rail-layout .em-navigation-rail{background:var(--em-theme-panel,#242424);background:color-mix(in srgb,var(--em-theme-panel,#242424),black 35%)}
.em-explorer.em-rail-layout .em-stage,.em-explorer.em-rail-layout .em-canvas{background:var(--em-theme-surround,#222625)}
.em-explorer.em-rail-layout .em-detail,.em-explorer.em-rail-layout .em-detail .ew-card,.em-explorer.em-rail-layout .em-analysis-item-hover,.em-explorer.em-rail-layout .em-detail-bar{background:var(--em-theme-label,#242424)}
.em-explorer.em-rail-layout .em-map-footer{background:var(--em-theme-footer,#242424)}
.em-explorer .em-search-pulse-toggle[hidden]{display:none!important}

.em-quest-content li>small{display:block;margin:8px 0}.em-quest-recipe-guides{margin:14px 0}.em-quest-recipe-guides details{padding:10px 0;border-bottom:1px solid #444}.em-quest-recipe-guides button{margin-top:8px}

.em-quest-reference-controls{margin:14px 0}.em-quest-reference-controls>details{padding:10px;border:1px solid #444;border-radius:6px;margin-bottom:8px}.em-quest-reference-controls summary{cursor:pointer;font-weight:700}.em-quest-reference-controls .em-quest-reference-row{display:flex;align-items:center;gap:8px;margin:8px 0}.em-quest-reference-row img{width:28px;height:28px;object-fit:contain}.em-quest-reference-row input{flex:none}

.em-gem-type-row>svg{flex:none;width:40px;height:40px;fill:none;stroke:currentColor;stroke-width:1.6}.em-ring-sources{margin:14px 0}.em-ring-sources>summary{cursor:pointer;font-weight:650}.em-ring-info-card .em-detail-bar h3{margin:0;font-size:18px}.em-ring-info-card .em-equipment-item{display:block}

.em-quest-section>summary>h4{display:inline;margin:0;font:inherit}.em-ring-info-card .em-equipment-item>img{float:left;width:64px;height:64px;margin:0 12px 8px 0}

.em-quest-reference-controls{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;align-items:start}.em-quest-reference-controls>h4{grid-column:1/-1;margin-bottom:0}.em-quest-reference-controls>details{min-width:0;margin:0}.em-quest-reference-controls summary{overflow-wrap:anywhere}.em-quest-reference-controls .em-quest-reference-row{min-width:0;overflow-wrap:anywhere}

.em-explorer .em-weapon-title{display:block;text-align:left;padding:0;background:none;border:0;color:#fff;font:700 14px/1.5 system-ui;cursor:pointer;text-decoration:underline;text-decoration-color:#777;text-underline-offset:3px}
.em-weapon-card-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px}.em-weapon-card-actions button{min-height:40px}.em-weapon-compare-tray{padding:12px;margin:12px 0;border:1px solid #91bd28;border-radius:8px;background:#222}.em-weapon-compare-tray[hidden]{display:none}.em-weapon-compare-choices{display:flex;flex-wrap:wrap;gap:6px;margin:8px 0}.em-weapon-compare-tray>button{margin-right:6px}.em-weapon-compare-tray [aria-pressed=true]{border-color:#b4e923}
.em-weapon-dialog{position:fixed;inset:0;margin:auto;width:min(660px,calc(100vw - 24px));max-width:calc(100vw - 24px);max-height:calc(100dvh - 32px);padding:0;overflow:auto;box-sizing:border-box;border:1px solid #777;border-radius:12px;background:#171717;color:#eee;font:14px/1.55 system-ui;box-shadow:0 12px 50px #0009}.em-weapon-dialog::backdrop{background:#0009}.em-weapon-dialog-header{position:sticky;top:0;z-index:2;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 16px;border-bottom:1px solid #555;background:#171717}.em-weapon-dialog-header h2{margin:0;font:700 21px/1.3 system-ui}.em-weapon-dialog button{padding:8px 12px;min-height:44px;border:1px solid #666;border-radius:6px;background:#252525;color:#fff;font:14px system-ui;cursor:pointer}.em-weapon-dialog button:focus-visible{outline:2px solid #b4e923;outline-offset:2px}.em-weapon-dialog-content{padding:16px}.em-weapon-dialog .em-equipment-item{font-size:14px}.em-weapon-dialog .em-equipment-item>img{width:64px;height:64px}.em-weapon-dialog .ew-note{color:#bbb;font-size:12px}.em-weapon-dialog h3{font-size:17px;margin:20px 0 8px}.em-weapon-dialog table{border-collapse:collapse;width:100%;table-layout:fixed;font:13px/1.5 system-ui}.em-weapon-dialog th,.em-weapon-dialog td{padding:10px 8px;border-bottom:1px solid #444;text-align:left;vertical-align:top;overflow-wrap:anywhere}.em-weapon-dialog th{color:#fff}.em-weapon-breakdown table th{width:65%}.em-weapon-dialog details{margin-top:18px}.em-weapon-dialog summary{cursor:pointer;font-weight:700}.em-weapon-comparison{width:min(940px,calc(100vw - 24px))}.em-weapon-comparison th:first-child{width:26%}.em-weapon-comparison thead img{display:block;width:56px;height:56px;object-fit:contain;margin-bottom:8px}.em-weapon-comparison-scroll{overflow:auto}.em-mobile .em-weapon-title{min-height:44px}.em-mobile .em-weapon-compare-tray button{min-height:44px}
@media(max-width:600px){.em-weapon-dialog{width:calc(100vw - 16px);max-width:calc(100vw - 16px);max-height:calc(100dvh - 20px)}.em-weapon-dialog-header{padding:10px}.em-weapon-dialog-header h2{font-size:18px}.em-weapon-dialog-content{padding:10px}.em-weapon-comparison table{font-size:12px}.em-weapon-comparison th,.em-weapon-comparison td{padding:8px 5px}.em-weapon-comparison th:first-child{width:25%}}

.em-weapon-compare-tray{position:sticky;top:64px;z-index:90;box-shadow:0 5px 14px #0008}.em-weapon-compare-tray [data-em-open-weapon-comparison]:not(:disabled){background:#b4e923;color:#111;font-weight:700}.em-weapon-compare-tray>button[hidden]{display:none}.em-weapon-compare-choices:empty{display:none}.em-weapon-compare-choices button{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.em-mobile .em-weapon-compare-tray{top:80px;z-index:12}.em-weapon-compare-tray .ew-note{margin:6px 0 0}
