/* Clear, compact game overlays; original art and semantic controls. */
#worldCoordinates{position:fixed;top:16px;left:18px;z-index:31;padding:11px 16px;border:1px solid #b6ead52e;border-radius:12px;background:linear-gradient(120deg,#10282aea,#101c28e6);box-shadow:0 6px 24px #0003;color:#e8faf3;font:13px system-ui,sans-serif;pointer-events:none;min-width:185px}
#worldCoordinates[hidden]{display:none}#coordinateValues{display:block;letter-spacing:1px;font-variant-numeric:tabular-nums}#connectionMetrics{display:block;margin-top:5px;color:#a6c9c2;font-size:11px}
#bedwarsScore{right:18px;top:18px;width:224px;padding:17px;border:1px solid #b6ead538;border-radius:16px;background:linear-gradient(135deg,#142d30ed,#182137ee);box-shadow:0 12px 36px #0004;font-family:system-ui,sans-serif;color:#ecf8f4}
#bwScoreTag{font:9px system-ui;letter-spacing:2px;color:#93d9c7}#bwScoreTitle{font:600 20px system-ui;margin:8px 20px 12px 0}#bwScoreBody{font:12px system-ui;line-height:1.6}#bwScoreBody p{padding:5px 0;margin:0;border-bottom:1px solid #ffffff0c}#bwNpcPrompt{font:11px system-ui;color:#a1e3cf}
#bwMenuButton{width:100%;border-radius:9px;font:12px system-ui;padding:10px;background:#23484e;border:1px solid #62978e;color:#ecf8f4;box-shadow:none}
#bwHudToggle{position:absolute;right:10px;top:9px;width:30px;height:30px;border:1px solid #a7d4cb33;border-radius:8px;background:#ffffff09;color:#d9f4ed;font:22px system-ui;cursor:pointer}
.bw-hud-minimal #bedwarsScore{width:140px;padding:10px 13px}.bw-hud-minimal #bwScoreTitle{font-size:14px;margin:5px 25px 0 0}.bw-hud-minimal #bwScoreBody,.bw-hud-minimal #bwNpcPrompt,.bw-hud-minimal #bwMenuButton,.bw-hud-minimal #bwScoreTag{display:none}
.bw-hud-minimal #p2pInfo{visibility:hidden}.in-bedwars #foods,.in-bedwars #airrow,.in-bedwars #xplvl{display:none}.in-bedwars #hotbar{border-radius:12px;background:#11282be8;padding:5px;border:1px solid #a6d8ca45;box-shadow:0 8px 24px #0005}
.bw-dialog-panel{border-radius:20px!important;background:linear-gradient(135deg,#152a30,#172337)!important;border:1px solid #71999566!important;font-family:system-ui,sans-serif!important;box-shadow:0 24px 90px #0008!important;max-height:86vh}
.bw-dialog-panel header h2{font:600 25px system-ui!important}.bw-dialog-panel .mcbtn{font-family:system-ui,sans-serif;border-radius:9px;background:#203d44;color:#ecf7ef;border:1px solid #719e9166;box-shadow:none;text-shadow:none}.bw-dialog-note{font:12px/1.65 system-ui!important;color:#b3ccca!important}
.bw-shop-grid{display:grid!important;grid-template-columns:repeat(auto-fill,minmax(115px,1fr));gap:9px}.bw-shop-grid .mcbtn{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:115px;padding:10px 7px;gap:6px;background:linear-gradient(145deg,#26444e,#1a303b)}.bw-shop-grid .mcbtn:hover{background:#305966;border-color:#9ee5ce;transform:translateY(-2px)}.bw-shop-grid strong{font:500 11px system-ui}.bw-shop-grid small{font:11px system-ui;color:#efdbac}.shop-item-image{width:42px;height:42px;image-rendering:pixelated;filter:drop-shadow(0 3px 4px #0007)}.inventory-item-image{width:32px;height:32px;image-rendering:pixelated}.bw-inventory-grid .mcbtn{align-items:center;min-height:88px}
.rune-loadout{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;padding:18px 10px;border:1px solid #98bccc38;border-radius:18px;background:radial-gradient(ellipse at center,#61709726,transparent);position:relative;margin:16px 0}.rune-slot{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:135px;gap:9px;padding:10px;border:1px dashed currentColor;border-radius:14px;background:#0d192755;text-align:center}.rune-slot small{font-size:10px;text-transform:uppercase;letter-spacing:1.7px}.rune-slot strong{font-size:12px}.rune-slot svg{width:36px;height:36px;filter:drop-shadow(0 0 8px currentColor)}.rune-empty{font-size:35px;opacity:.5}.rune-inventory{display:grid;grid-template-columns:repeat(2,1fr);gap:10px}.rune-inventory .rune-card{display:flex;margin:0;gap:10px;padding:13px;border-radius:14px;background:#ffffff05;border:1px solid #ffffff16}.rune-inventory .rune-card h3{font:600 15px system-ui;margin:5px 0}.rune-inventory .rune-card p{font:11px/1.5 system-ui;color:#bed0ce}.rune-inventory .rune-card small{font-size:9px}.rune-glyph{display:flex;width:44px;height:44px;min-width:44px;border-radius:13px;background:#ffffff0c;align-items:center;justify-content:center}.rune-glyph svg{width:28px;height:28px}.rune-inventory .mcbtn{font-size:11px!important;padding:8px;align-self:center}.category-attack{color:#f1ae9c}.category-defense{color:#97c9ed}.category-luck{color:#e0cb83}.category-tools{color:#9be0bd}
.offline-bedwars-card{padding:25px 28px;margin-top:20px;border:1px solid #85b6a344;border-radius:18px;background:linear-gradient(135deg,#203e38,#1d2a40);color:#e2f4ed}.offline-bedwars-card h3{font:600 26px system-ui;margin:9px 0}.offline-bedwars-card p{color:#a8c8bd;font:13px/1.6 system-ui;max-width:550px}.offline-bedwars-card small{letter-spacing:2px;color:#8ce2b5;font-size:10px}.offline-controls{display:flex;gap:10px;flex-wrap:wrap;margin-top:16px}.offline-controls select{background:#152c2a;color:#e6f4eb;border:1px solid #719e91;border-radius:9px;padding:10px;font:12px system-ui}.offline-controls .mcbtn{border-radius:9px}
@media(max-width:650px){#worldCoordinates{left:8px;top:8px;padding:8px;font-size:11px;min-width:0}#connectionMetrics{font-size:9px}#bedwarsScore{right:8px;top:70px;width:174px;padding:12px}#bwScoreTitle{font-size:16px}.rune-loadout{grid-template-columns:repeat(2,1fr)}.rune-inventory{grid-template-columns:1fr}.bw-shop-grid{grid-template-columns:repeat(3,1fr)}.shop-item-image{width:32px;height:32px}.bw-shop-grid .mcbtn{min-height:95px}.offline-bedwars-card{padding:20px}.bw-dialog-panel{padding:15px!important}}
