/* Scoped multilingual WASD display layout. Creative footprints never resize. */
.wt-side-ad:has([data-wt-game-ad-root]){position:relative;visibility:visible!important}
.wt-side-ad:has([data-wt-game-ad-root])>.wt-side-ad-label{display:none}
[data-wt-game-ad-root]{width:300px;height:270px;color:var(--text-color,#dbeafe);font-family:system-ui,sans-serif}
[data-wt-game-ad-root] *,[data-wt-game-ad-root] *::before,[data-wt-game-ad-root] *::after{box-sizing:border-box}
[data-wt-game-ad-root] .wt-game-ad-stack{display:grid;grid-template-columns:300px;gap:16px;margin:0;padding:0}
[data-wt-game-ad-root] .wt-game-ad-unit{width:300px;min-width:0;margin:0;padding:0}
[data-wt-game-ad-root] .wt-game-ad-unit[hidden]{display:none!important}
[data-wt-game-ad-root] .wt-game-ad-unit--rail{width:160px}
[data-wt-game-ad-root] .wt-game-ad-label{display:block;height:20px;margin:0;color:var(--text-muted,#94a3b8);font:400 10px/20px system-ui,sans-serif;letter-spacing:.05em;text-align:center}
[data-wt-game-ad-root] [data-wt-game-state="retired"] .wt-game-ad-label{visibility:hidden}
.wt-side-ad [data-wt-game-ad-panel] :is(.wt-game-ad-surface,.kbt-ad-slot,.kbt-ad-slot-inner,.kbt-gam-ad){box-sizing:border-box;width:300px;max-width:300px;height:250px;min-height:250px;margin:0;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none;overflow:visible}
.wt-side-ad [data-wt-game-unit="rail"] :is(.wt-game-ad-surface,.kbt-ad-slot,.kbt-ad-slot-inner,.kbt-gam-ad){width:160px;max-width:160px;height:600px;min-height:600px}
[data-wt-game-ad-root] .wt-game-ad-mock{display:grid;place-items:center;width:100%;height:100%;border:1px solid #39809c;border-radius:4px;background:linear-gradient(145deg,#103449,#174f69);color:#d4f2ff;font:600 13px/1.6 system-ui,sans-serif;text-align:center;white-space:pre-line}
.wt-play-surface[data-wt-game-ads="1"][data-wt-game-view="centered"]:not(:fullscreen):not(:-webkit-full-screen){position:relative;left:auto;transform:none;display:grid;grid-template-columns:300px minmax(0,var(--wt-game-width)) 300px;column-gap:150px;row-gap:0;align-items:center;justify-content:center;width:var(--wt-game-layout-width);max-width:none;min-height:var(--wt-game-row-height);margin-block:0;margin-inline:calc((100% - var(--wt-game-layout-width))/2);padding:0}
.wt-play-surface[data-wt-game-ads="1"][data-wt-game-view="centered"]:not(:fullscreen):not(:-webkit-full-screen)>.wt-stage{grid-column:2;grid-row:1;align-self:center;width:100%;max-width:none;min-width:0}
.wt-play-surface[data-wt-game-ads="1"][data-wt-game-view="centered"]:not(:fullscreen):not(:-webkit-full-screen)>.wt-side-ad,
.wt-play-surface[data-wt-game-ads="1"][data-wt-game-view="centered"]:not(:fullscreen):not(:-webkit-full-screen) [data-wt-game-ad-root]{display:contents}
.wt-play-surface[data-wt-game-ads="1"][data-wt-game-view="centered"]:not(:fullscreen):not(:-webkit-full-screen) .wt-game-ad-stack{grid-column:3;grid-row:1;align-self:center;justify-self:center}
.wt-play-surface[data-wt-game-ads="1"][data-wt-game-view="centered"]:not(:fullscreen):not(:-webkit-full-screen) .wt-game-ad-unit--rail{grid-column:1;grid-row:1;align-self:center;justify-self:center}
.wt-play-surface[data-wt-game-ads="1"]:is([data-wt-game-view="fullscreen2"],[data-wt-game-view="fullscreen3"]):is(:fullscreen,:-webkit-full-screen){box-sizing:border-box;width:100%;height:100%;max-width:none;min-height:0;margin:0;padding:24px;display:grid;grid-template-columns:minmax(0,1fr) 300px;grid-template-rows:minmax(0,1fr);column-gap:150px;row-gap:0;align-items:stretch;overflow:hidden}
.wt-play-surface[data-wt-game-ads="1"]:is([data-wt-game-view="fullscreen2"],[data-wt-game-view="fullscreen3"]):is(:fullscreen,:-webkit-full-screen)>.wt-stage{grid-column:1;grid-row:1;width:100%;height:100%;min-width:0;min-height:0;display:flex;flex-direction:column}
.wt-play-surface[data-wt-game-ads="1"]:is([data-wt-game-view="fullscreen2"],[data-wt-game-view="fullscreen3"]):is(:fullscreen,:-webkit-full-screen)>.wt-side-ad,
.wt-play-surface[data-wt-game-ads="1"]:is([data-wt-game-view="fullscreen2"],[data-wt-game-view="fullscreen3"]):is(:fullscreen,:-webkit-full-screen) [data-wt-game-ad-root]{display:contents!important}
.wt-play-surface[data-wt-game-ads="1"]:is([data-wt-game-view="fullscreen2"],[data-wt-game-view="fullscreen3"]):is(:fullscreen,:-webkit-full-screen) .wt-game-ad-stack{grid-column:2;grid-row:1;align-self:center;justify-self:center;display:grid;width:300px;height:var(--wt-game-stack-height);grid-template-columns:300px;grid-template-rows:repeat(var(--wt-game-slots),270px);gap:16px;margin:0;padding:0}

/* Provider creatives own their visible label; retain the approved 20px reservation. */
[data-wt-game-ad-root][data-wt-game-mock="0"] .wt-game-ad-label{visibility:hidden}

/* Ad tracks stay on their physical sides; Arabic game content keeps its existing RTL flow. */
.wt-play-surface[data-wt-game-ads="1"]{direction:ltr}
html[dir="rtl"] .wt-play-surface[data-wt-game-ads="1"]>.wt-stage{direction:rtl}
