/* Gatekeeper (Jason, 11 Oct 2026; approved mockup mockups/guest-play): the guest bar, the 5 minute note, the boxes over
   a paused game or the Oracle of Destiny, and the welcome note. Its own names (gk-) only; nothing else on the page
   changes. Loaded by dos-games/player/player.js for guests, and by the Oracle's pages. */
.gk-chip { display: inline-block; padding: 2px 9px; border-radius: 7px; background: rgba(143,200,242,.14); color: #bfe0fa; font-size: 12.5px; font-weight: 700; }
.gk-title { color: #f3ead2; font-weight: 700; }
.gk-time { color: #f6dd92; font-weight: 700; }

.gk-layer, .gk-layer *, .gk-note, .gk-toast, .gk-toast * { box-sizing: border-box; }
.gk-btn { font: inherit; font-weight: 700; font-size: 14px; min-height: 34px; padding: 0 14px; border-radius: 9px; border: 0; cursor: pointer; background: linear-gradient(180deg, #f0d27a, #c8a84b); color: #1d1404; }
.gk-btn:focus-visible, .gk-close:focus-visible { outline: 2px solid #e3c56a; outline-offset: 2px; }

/* the dimmed game (or Oracle) behind a box; the bar above stays as it is */
.gk-layer { position: fixed; left: 0; right: 0; bottom: 0; top: 0; z-index: 15; display: flex; padding: 24px 16px; overflow-x: hidden; overflow-y: auto;
  background: rgba(5,7,15,.62); -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px); }
.gk-wrap { position: relative; width: min(470px, calc(100% - 32px)); margin: auto; }
.gk-box { position: relative; z-index: 1; width: 100%; padding: 24px 24px 20px; border-radius: 18px; text-align: center; color: #f3ead2;
  font: 15px/1.5 'Segoe UI', Arial, sans-serif; background: linear-gradient(180deg, #1e2650, #11163a); border: 1px solid rgba(227,197,106,.45); box-shadow: 0 30px 60px rgba(0,0,0,.7); }
.gk-box h2 { margin: 6px 0 6px; font: 800 23px/1.25 Georgia, serif; color: #fff4d6; }
.gk-box .gk-sub { margin: 0 0 14px; color: #a5aecb; font-size: 14.5px; }
.gk-box ul { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 6px; text-align: left; font-size: 14.5px; }
.gk-box li::before { content: "\2726"; color: #e3c56a; margin-right: 8px; }
.gk-box .gk-free { margin: 0 0 14px; color: #f6dd92; font-weight: 700; }
.gk-box .gk-main { width: 100%; min-height: 42px; font-size: 16px; }
.gk-box .gk-small { margin: 10px 0 0; font-size: 13.5px; color: #a5aecb; }
.gk-box .gk-small a { color: #e3c56a; font-weight: 700; }
.gk-close { position: absolute; top: 8px; right: 10px; z-index: 2; width: 32px; height: 32px; padding: 0; border: 0; border-radius: 8px; background: transparent; color: #a5aecb; font: 700 22px/1 Arial, sans-serif; cursor: pointer; }
.gk-close:hover { color: #fff4d6; background: rgba(255,255,255,.06); }
/* Keystone's sign up and sign in, inside the box (its page draws no background of its own) */
.gk-frame { display: block; width: 100%; height: 430px; border: 0; background: transparent; color-scheme: dark; }

/* The knight and goblin hold the invitation's edges, like the sign in page (keystone.css .signin-knight, 30 Sep 2026):
   each picture's straight cut edge sits exactly on the box's edge, in front of it, so only their fingers cross over.
   The knight's cut edge is at 65% of his picture's width; the goblin's at 36%. Sizes are shares of the box's width,
   so they hold at every width. */
.gk-peek { position: absolute; z-index: 2; height: auto; pointer-events: none; user-select: none; filter: drop-shadow(0 10px 18px rgba(0,0,0,.4)); }
.gk-peek.gk-knight { width: 44%; left: calc(0% - 44% * .65); top: -4%; }     /* larger, near the top, left edge */
.gk-peek.gk-goblin { width: 35%; left: calc(100% - 35% * .36); top: 52%; }   /* smaller, lower, by Join free */
@media (max-width: 860px) { .gk-peek.gk-knight { width: 36%; left: calc(0% - 36% * .65); } .gk-peek.gk-goblin { width: 29%; left: calc(100% - 29% * .36); top: 56%; } }
@media (max-width: 600px) { .gk-peek { display: none; } }   /* a phone: the box fills the width, no room to hold it */
.gk-lounge { display: block; width: 62%; height: auto; margin: 0 auto 4px; pointer-events: none; filter: drop-shadow(0 10px 16px rgba(0,0,0,.55)); }   /* inside the box */

/* 5 free minutes left (the game keeps going) */
.gk-note { position: fixed; z-index: 16; right: 16px; top: 16px; max-width: 320px; padding: 12px 14px; border-radius: 12px; background: #141a30; border: 1px solid rgba(227,197,106,.45);
  color: #f3ead2; font: 14px/1.5 'Segoe UI', Arial, sans-serif; box-shadow: 0 16px 34px rgba(0,0,0,.6); cursor: pointer; }
.gk-note b { color: #f6dd92; }
/* welcome: the game is unlocked */
.gk-toast { position: fixed; z-index: 16; left: 50%; top: 16px; transform: translateX(-50%); max-width: calc(100% - 32px); padding: 10px 14px; border-radius: 12px; background: #11301f;
  border: 1px solid rgba(134,239,172,.45); color: #d8fbe6; font: 14px/1.4 'Segoe UI', Arial, sans-serif; display: flex; gap: 10px; align-items: center; box-shadow: 0 16px 34px rgba(0,0,0,.6); }
.gk-on-top { z-index: 100000; }   /* the Oracle's page has its own layers up to 99999 */
.gk-hidden { display: none !important; }
