/* Owner-supplied 64x64 UI-Panel-MinimizeButton states. See close-buttons.json for exact hashes.
   Every X close, dismiss, leave or remove control carries .wb-close-button and keeps its own
   position, size and aria-label. The layer's !important declarations outrank every unlayered
   one, so no panel can fall back to a ring, brown icon or text glyph; its plain declarations
   are defaults that panel rules may override (position). */
:root{
 --wb-close-normal:url('./skin/owner-ui/close-normal.png?art=1d2e29ca47e82efd');
 --wb-close-pressed:url('./skin/owner-ui/close-pressed.png?art=40fb6568b52e23be');
 --wb-close-highlight:url('./skin/owner-ui/close-highlight.png?art=6eacfd9f98b82565');
 --wb-close-disabled:url('./skin/owner-ui/close-disabled.png?art=dd68d7528a2b5624');
}
@layer wb-close-art{
 .wb-close-button:not(.wb-mobile-layout .wb-draft-slot-clear){
  position:relative;
  background:var(--wb-close-normal) center/contain no-repeat!important;
  border:0!important;border-image:none!important;border-radius:0!important;box-shadow:none!important;
  color:transparent!important;-webkit-text-fill-color:transparent!important;text-shadow:none!important;
  filter:none!important;cursor:pointer;
 }
 /* The highlight is opaque black with a red glow: screen-blend it, masked to the button. */
 .wb-close-button:not(.wb-mobile-layout .wb-draft-slot-clear)::after{
  content:''!important;display:block!important;position:absolute!important;inset:0!important;margin:0!important;
  background:var(--wb-close-highlight) center/contain no-repeat!important;
  mask:var(--wb-close-normal) center/contain no-repeat!important;-webkit-mask:var(--wb-close-normal) center/contain no-repeat!important;
  mix-blend-mode:screen!important;opacity:0!important;pointer-events:none!important;border:0!important;
 }
 .wb-close-button:not(.wb-mobile-layout .wb-draft-slot-clear):is(:hover,:focus-visible):not(:disabled)::after{opacity:1!important}
 .wb-close-button:not(.wb-mobile-layout .wb-draft-slot-clear):active:not(:disabled){background-image:var(--wb-close-pressed)!important}
 .wb-close-button:not(.wb-mobile-layout .wb-draft-slot-clear):active:not(:disabled)::after{-webkit-mask-image:var(--wb-close-pressed)!important;mask-image:var(--wb-close-pressed)!important}
 .wb-close-button:not(.wb-mobile-layout .wb-draft-slot-clear):disabled{background-image:var(--wb-close-disabled)!important;cursor:default}
 /* Owner, 2026-10-30: a window's X is at least 40 px, wherever its panel placed it. Small inline remove and dismiss
    buttons inside lists (party remove, roster slot clear, notification dismiss, queue cancel) keep their own size. */
 .wb-close-button:is(.wb-fm-close,.wb-stock-close,.wb-close,.wb-rooms-close,.wb-library-close,.wb-purchase-confirm-close,.wb-potion-close,.wb-login-notice-close,.wb-notify-close,.wb-help-close){min-width:40px!important;min-height:40px!important}
}
