/* ADENWAR 0.26.0 «Осады»: the HUD of a siege (top left of the field, where the raid badge sits on other maps) and the window of the steele (it reuses the market window frame of trade-ui.css) */
.siege-hud{position:absolute;top:12px;left:12px;z-index:4;width:244px;max-width:40%;box-sizing:border-box;padding:8px 10px;background:#0b0f14e6;border:1px solid #2a3440;border-radius:2px;color:#e6dcc3;font:12px/1.4 Arial,sans-serif;pointer-events:none;display:flex;flex-direction:column;gap:3px}
.siege-hud[hidden]{display:none}
.siege-hud b{font:700 13px Georgia,serif;color:#f0d58a}
.siege-hud .siege-hud-clock{font:700 12px Arial;color:#fff0b9}
.siege-hud small{display:block;color:#b9c4cf;font:11px/1.35 Arial}
.siege-hud button{pointer-events:auto;margin-top:3px;font:700 12px Arial;padding:5px 10px;cursor:pointer;color:#16100a;background:linear-gradient(#e3c673,#bf9a43 55%,#a8852f);border:1px solid #2a1f06;border-radius:2px}
.siege-hud button[hidden]{display:none}
.siege-hud #siegeHudSeal[hidden]{display:none}
.siege-hud #siegeHudSeal{display:flex;flex-direction:column;gap:2px;margin:2px 0}
.siege-gate{display:flex;align-items:center;gap:6px;margin:1px 0}
.siege-gate .sg-name{flex:1;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.siege-gate .sg-bar{flex:none;width:84px}
.siege-hud b{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.siege-hud .sg-name{font:11px Arial;color:#dfe6ee}
.siege-gate.broken .sg-name{color:#9aa3ad;text-decoration:line-through}
.sg-bar{height:6px;background:#3a1410;border:1px solid #000;border-radius:1px;overflow:hidden}
.sg-bar.seal{background:#1c2a3a}
.sg-fill{display:block;height:100%;background:#d9573d}
.sg-bar.seal .sg-fill{background:#6bc6fa}
.siege-window{width:min(560px,96%)}
.siege-window #siegeRewards{white-space:pre-line}
.siege-window .siege-owner{margin:4px 0;font:700 14px Georgia,serif}
.siege-window .siege-stage{margin:2px 0;font:13px Arial}
.siege-window .siege-clock{margin:2px 0 6px;font:700 13px Arial;color:#7a3b12}
.siege-window .siege-attackers{display:flex;flex-wrap:wrap;gap:4px;margin:4px 0}
.siege-window .siege-chip{display:inline-flex;padding:2px 8px;border:1px solid #977450;background:#dfc495;border-radius:2px;font:12px Arial}
.siege-window .siege-chip.mine{border-color:#7a3b12;font-weight:700}
.siege-window #siegeHint{display:block;min-height:1.2em;color:#9a5a00;font:700 11px Arial}
.siege-window .siege-buttons{display:flex;gap:8px;margin-top:6px}
.siege-window .siege-buttons button{font:700 12px Arial;padding:4px 10px;cursor:pointer}
.siege-window .siege-buttons button:disabled{opacity:.45;cursor:not-allowed}
.siege-window .siege-buttons button[hidden]{display:none}
@media (max-width:600px){.siege-hud{top:6px;left:6px;width:160px;max-width:none;padding:6px 7px;font-size:10px}.siege-hud b{font-size:11px}.siege-hud small{font-size:9px}}
body.skin-l2 .siege-window .siege-chip{background:#0b0f14;border-color:#2a3440;color:var(--l2-text)}
body.skin-l2 .siege-window .siege-clock{color:#f0c36a}
body.skin-l2 .siege-window #siegeHint{color:#f0c36a}
body.skin-l2 #siegeWindow .siege-buttons button{background:linear-gradient(#3b4552,#1d242d);border:1px solid var(--l2-lo);border-radius:2px;color:var(--l2-text);box-shadow:var(--l2-bevel);text-shadow:0 1px 0 #000}
body.skin-l2 #siegeWindow #siegeRegister:not(:disabled){background:linear-gradient(#e3c673,#bf9a43 55%,#a8852f);color:#16100a;text-shadow:none;border-color:#2a1f06}
body.skin-l2 #siegeWindow .siege-buttons button:hover:not(:disabled){filter:brightness(1.15)}
