/* The map-table artwork (2000x1126, transparent top and bottom bands; the hammer and quill rise
   into the top band), the Warcraft Tactics logo in the clear centre of the top band and the stock
   1.12 loading bar in the bottom band, on an opaque navy entry cover. The fill follows measured load
   progress (terrain tiles, then army models) inside the frame's 444x21 window of its 512x64 art. */
#wb-match-loading.wb-entry-loading{position:fixed!important;inset:0!important;transform:none!important;z-index:2147480000!important;display:grid;place-items:center;width:100vw!important;height:100dvh!important;max-width:none!important;padding:0!important;border:0!important;border-image:none!important;background:radial-gradient(ellipse at 50% 50%,#1a1b36 0%,#0d0e1c 55%,#05060b 100%)!important;box-shadow:none!important;white-space:normal!important;pointer-events:auto!important;overflow:hidden;font:16px/1.4 WarbandFriz,Georgia,serif!important;color:#ffd100!important;text-align:center;outline:none}
#wb-match-loading.wb-entry-loading[hidden]{display:none!important}
#wb-match-loading .wb-loading-area{position:relative;width:min(100vw,177.62dvh);aspect-ratio:2000/1126;isolation:isolate;container-type:inline-size}
#wb-match-loading .wb-loading-art{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;pointer-events:none;user-select:none;-webkit-mask-image:linear-gradient(90deg,transparent,#000 4%,#000 96%,transparent);mask-image:linear-gradient(90deg,transparent,#000 4%,#000 96%,transparent)}
#wb-match-loading .wb-loading-logo{position:absolute;left:50%;top:1%;width:25%;height:auto;transform:translateX(-50%);pointer-events:none;user-select:none;filter:drop-shadow(0 4px 10px rgba(0,0,0,.85))}
#wb-match-loading .wb-loading-copy{position:absolute;left:8%;right:8%;bottom:20%;text-shadow:1px 1px 2px #000,0 0 5px #000}
#wb-match-loading [data-loading-status]{font-size:clamp(14px,2.2vw,22px);margin:0;color:#ffd100!important}
#wb-match-loading [data-loading-detail]{font-size:clamp(11px,1.5vw,16px);margin:6px 0 0;color:#fff!important}
/* One tip line centred in the clear band between the table's lower edge (84.2% of the artwork) and
   the bar frame's visible top (87.6%), sized to the artwork so it fits there at every width; hidden
   while an error message has the cover. */
#wb-match-loading .wb-loading-tip{position:absolute;left:12%;right:12%;top:85.9%;transform:translateY(-50%);margin:0;font-size:clamp(10px,1.05vw,16px);font-size:clamp(10px,1.05cqw,16px);line-height:1.3;color:#fff!important;text-shadow:1px 1px 2px #000,0 0 6px #000}
#wb-match-loading .wb-loading-tip::before{content:'Tip: ';color:#ffd100}
#wb-match-loading .wb-loading-bar{position:absolute;left:30%;top:86.5%;width:40%;aspect-ratio:8/1;pointer-events:none;--wb-loading-progress:0}
#wb-match-loading .wb-loading-bar::before{content:'';position:absolute;left:6.64%;top:32.8%;height:32.8%;width:calc(86.72% * var(--wb-loading-progress));background:url('./skin/loading/bar-fill.png?art=map-table-v1') left center/auto 100% repeat-x;transition:width .35s ease-out}
#wb-match-loading .wb-loading-bar::after{content:'';position:absolute;inset:0;background:url('./skin/loading/bar-border.png?art=map-table-v1') center/100% 100% no-repeat}
#wb-match-loading .wb-loading-actions{position:absolute;bottom:0;left:0;right:0;display:flex;justify-content:center;gap:14px}
#wb-match-loading .wb-loading-actions button{width:auto;min-width:110px;height:auto;min-height:32px;margin:0;padding:4px 14px;font:14px/1.4 WarbandFriz,Georgia,serif;color:#ffd100;background:none;border:solid transparent;border-width:0 12px;border-image:url('./skin/panel-button-up.png') 0 12 fill / 0 12px stretch;text-shadow:1px 1px #000;cursor:pointer}
#wb-match-loading .wb-loading-actions button:hover,#wb-match-loading .wb-loading-actions button:focus-visible{color:#fff;outline:2px solid #ffd100;outline-offset:2px}
#wb-match-loading .wb-loading-actions button:active{border-image-source:url('./skin/panel-button-down.png')}
#wb-match-loading [hidden]{display:none!important}
@media(prefers-reduced-motion:reduce){#wb-match-loading .wb-loading-bar::before{transition:none}}
@media(max-width:600px){#wb-match-loading .wb-loading-bar{left:12%;width:76%;top:calc(100% + 12px)}#wb-match-loading .wb-loading-logo{top:auto;bottom:calc(100% + 8px);width:62%}#wb-match-loading .wb-loading-copy{bottom:-40%}#wb-match-loading .wb-loading-tip{left:4%;right:4%;top:calc(100% + 54px);transform:none;font-size:11px}#wb-match-loading .wb-loading-actions{bottom:4px}#wb-match-loading .wb-loading-actions button{min-height:38px}}
