/* Shared from BaseGameDiscord 0.52.0. Do not edit here: change it in BaseGameDiscord and run tools/sync.mjs. */
/* The Paused screen (built by shared/client/pause.js), the same in every game. A game sets the badge colours:
     .pause-badge { --pause-bg: <colour>; --pause-edge: <darker colour>; --pause-ink: <the bars>; } */
.pause-badge {
  width: 76px; height: 76px; border-radius: 22px;
  background: var(--pause-bg, #ffb000); box-shadow: 0 6px 0 var(--pause-edge, #b87d00);
  display: grid; place-items: center; fill: var(--pause-ink, #111c26);
  transform: rotate(-6deg);
}
.pause-screen.center { gap: 14px; }
.pause-screen h2.heading { font-size: 1.6rem; margin: 0; }
.pause-screen .surrender[hidden] { display: none; }

/* The pause button in the top corner of a game screen: <div class="hud-end"><span id="hud-count"></span><button class="pause-btn" id="pause" aria-label="Pause">❚❚</button></div> */
.hud-end:has(.pause-btn) { display: flex; align-items: center; gap: 8px; justify-self: end; font-weight: 900; font-variant-numeric: tabular-nums; color: var(--muted); }
.pause-btn { appearance: none; border: 0; width: 34px; height: 34px; border-radius: 10px; padding: 0; background: var(--surface); color: var(--fg, var(--ink, #fff)); box-shadow: 0 3px 0 var(--surface-edge); font-size: 0.8rem; letter-spacing: -2px; }
.pause-btn:active:not(:disabled) { transform: translateY(2px); box-shadow: 0 1px 0 var(--surface-edge); }
.pause-btn:disabled { opacity: 0.4; }
/* The two bars are drawn with CSS, not the ❚❚ text characters: on some devices (Discord on desktop) those characters have no glyph and show as a white square.
   The characters stay in the markup for screen readers but are hidden (font-size 0). Cubit's #pauseBtn gets the same bars. */
.pause-btn, #pauseBtn { position: relative; font-size: 0; letter-spacing: 0; }
.pause-btn::before, #pauseBtn::before { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 14px; transform: translate(-50%, -50%); border-radius: 2px;
  background: linear-gradient(90deg, currentColor 0 34%, transparent 34% 66%, currentColor 66% 100%); }
.pause-screen .lede { color: var(--muted); margin: 0; font-size: 1.05rem; text-align: center; }
