/* Shared from BaseGameDiscord 0.60.0. Do not edit here: change it in BaseGameDiscord and run tools/sync.mjs. */
/* The blue striped banner for Practice and for Test mode: one strip, the same in every game, across the very top of the screen (above the status bar).
   The page gets the room it takes (it is only there while a banner shows), and the phone's top inset / Discord's own floating bar sit above it. */
:root { --banner-h: 22px; --safe-top: env(safe-area-inset-top, 0px); --banner-top: var(--safe-top); }
/* inside Discord the activity already starts below the status bar, so the phone's inset must not be counted again */
html.discord-embed { --safe-top: 0px; }
html.discord-mobile { --banner-top: calc(var(--safe-top) + 60px); }
.test-banner {
  position: fixed; top: var(--banner-top); left: 0; right: 0; z-index: 70; height: var(--banner-h); box-sizing: border-box;
  display: flex; align-items: center; justify-content: center; padding: 0 12px;
  background: repeating-linear-gradient(-45deg, #3e6fe0 0 14px, #5b86f0 14px 28px); color: #fff; box-shadow: 0 2px 0 #2a52b3;
  font-weight: 900; font-size: 11px; line-height: 1; letter-spacing: .06em; text-transform: uppercase; text-align: center;
}
html:not(.discord-mobile) .test-banner { height: calc(var(--banner-h) + var(--safe-top)); padding-top: var(--safe-top); }
.test-banner[hidden] { display: none; }
body:has(#practice-banner:not([hidden])) #test-banner { display: none; }
/* make room for it: the page starts just under the strip */
body:has(.test-banner:not([hidden])) #app { padding-top: calc(var(--banner-top) + var(--banner-h) + clamp(10px, 2.2vh, 20px)); }
html:not(.discord-mobile) body:has(.test-banner:not([hidden])) #app { padding-top: calc(var(--safe-top) + var(--banner-h) + clamp(10px, 2.2vh, 20px)); }
body:has(.test-banner:not([hidden])) .sheet.sheet, body:has(.test-banner:not([hidden])) .og-pop.og-pop { --pg-top: calc(var(--banner-top) + var(--banner-h) + 12px); }
html:not(.discord-mobile) body:has(.test-banner:not([hidden])) .sheet.sheet, html:not(.discord-mobile) body:has(.test-banner:not([hidden])) .og-pop.og-pop { --pg-top: calc(var(--safe-top) + var(--banner-h) + 12px); }
