/* Round 12 owner "แก้ป้ายบังต่อ": stays under every window (z 4 < touch pad 5 < cast UIs 24/25 < settings 30 < pc-hud windows
   31..50 < loot/dungeon 52 … death 77 since round 13; drops under the HUD while a window without a z-index is open) and sits where no window opens by default, clear of
   frames, minimap, quest tracker, combat log, skill wheel, menu and cast UIs. Desktop: bottom-left under the combat log, right
   edge left of S.Matching (50% - 300px). ≤1100: above the menu between combat log and skill wheel. ≤880: under the quest
   tracker. Short landscape: under the player frame (over the quest tracker: no free space). Portrait: under 2 enemy cast rows. */
.visibility-notice{position:absolute;z-index:4;top:auto;left:24px;bottom:8px;transform:none;width:min(420px,max(300px,calc(50% - 332px)));box-sizing:border-box;display:flex;flex-wrap:wrap;align-items:center;gap:1px 8px;padding:4px 6px 4px 11px;background:#182a2cf5;border:1px solid #cfb66e;border-radius:6px;color:#f0e9d4;box-shadow:0 4px 18px #0005;pointer-events:auto}
.visibility-notice[hidden]{display:none}
.visibility-notice strong{flex:1 1 72px;min-width:0;font-size:12px;line-height:1.25;color:#f4d98f}
.visibility-notice-status{order:1;flex:1 0 100%;margin:0 0 1px;font-size:10.5px;line-height:1.3}
.visibility-notice button{flex:none;min-height:36px;border:1px solid #c8b57c;border-radius:4px;background:#294143;color:#f5e9c3;font:inherit;font-size:11px;white-space:nowrap;cursor:pointer;touch-action:manipulation}
#gameHud .visibility-notice button{padding:5px 10px}
.visibility-notice button:disabled{opacity:.55;cursor:default}
.visibility-notice button[hidden]{display:none}
.visibility-notice button:focus-visible{outline:2px solid #ffe2a0;outline-offset:3px}
#gameHud:has(>.game-window:not([hidden]),>.controls-help:not([hidden])) .visibility-notice{z-index:-1}
@media(max-width:1100px){.visibility-notice{left:292px;right:290px;bottom:65px;width:auto}}
@media(max-width:880px) and (min-width:721px){.visibility-notice{top:calc(128px + 33vh + 8px);left:24px;right:auto;bottom:auto;width:260px}}
@media(max-width:720px){.visibility-notice{top:min(364px,calc(100% - 76px));left:12px;right:12px;bottom:auto;width:auto}}
@media(max-height:560px){.visibility-notice{top:135px;left:24px;right:auto;bottom:auto;width:min(260px,calc(50% - 177px))}}
/* Round 13: short phone landscape with the touch pad (#actionTouchPad 12..124px, y 143..255 at 667x375, z 5): right of the pad,
   under the enemy cast rows (bottom 157px), left of the skill wheel; z stays 4 (never above a window). */
@media(max-height:560px) and (max-width:720px){body.touch-controls .visibility-notice{top:160px;left:136px;width:150px}}
