/* src/theme/tokens.css */
/* --col-w: the one column width every screen lines up with (bottom bar, top bar, pages, panels, game tables).
   Phones: full width (each piece keeps its own 8px edge gap). Tablet (700px+): 650px. PC (1100px+): 800px. */
@media (min-width: 700px) {
  :root {
    --col-w: min(650px, calc(100vw - 32px));
  }
}

@media (min-width: 1100px) {
  :root {
    --col-w: min(800px, calc(100vw - 32px));
  }
}

:root {
  /* Sticker B (Sergiu 2026-11-27): the one app-wide look. Ink outline + hard press-down shadow.
     ink / ink-soft / paper / face / primary / on-primary follow the theme (ThemeProvider sets them from
     deriveStickerTokens; these are Classic's values). Yellow + cream are the same on every theme. */
  --stk-ink: #12231a;
  --stk-ink-soft: #33433a;
  --stk-paper: #f6f3ea;
  --stk-face: #ffffff;
  --stk-primary: #2a9a5e;
  --stk-on-primary: #ffffff;
  --stk-yellow: #ffe08a;
  --stk-cream: #fff4cc;
  --stk-on-yellow: #12231a;
  --stk-on-cream: #5a4a1a;
  --stk-bw: 2px;
  --stk-r: 12px;
  --stk-shadow: 0 3px 0 var(--stk-ink);
  --stk-shadow-hover: 0 4px 0 var(--stk-ink);
  --stk-shadow-tile: 0 2.5px 0 var(--stk-ink);
  --stk-shadow-sm: 0 2px 0 var(--stk-ink);
  --stk-press: 90ms ease;

  --topbar-h: 56px;
  --bottombar-h: 70px;
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --vvh: 100dvh;
  --vvt: 0px;

  /* Slightly rounded on every corner: crisp, but not razor-sharp. */
  --r-sm: 5px;
  --r-md: 8px;
  --r-lg: 12px;
  --r-pill: 8px;

  --z-content: 1;
  --z-chrome: 20;
  --z-overlay: 40;
  --z-modal: 60;
  --z-emote: 80;

  --dur-fast: 220ms;
  --dur-med: 320ms;
  --dur-slow: 460ms;
  --ease-smooth: cubic-bezier(0.22, 0.85, 0.32, 1);
  --ease-out: cubic-bezier(0.2, 0.9, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.48, 0.5, 1);

  --bg: #e9efeb;
  --surface: #fbfdfb;
  --surface-elevated: #ffffff;
  --fg: #12231a;
  --fg-muted: #566a5e;
  --line: #c6d4ca;
  --track: #d9e4dc;
  --border: #c6d4ca;
  --tap-min: 44px;
  --accent: #1c7647;
  --accent-on: #ffffff;
  --secondary: #2a5dc2;
  --secondary-on: #ffffff;
  --danger: #c0392d;
  --danger-on: #ffffff;
  --p1: #c0392d;
  --p2: #2a5dc2;
  --win: #1c7647;
  --glass-bg: rgba(251, 253, 251, 0.88);
  --glass-border: rgba(198, 212, 202, 0.85);
  --card-felt: #195237;
  --card-edge: #c6d4ca;
  --focus-ring: #1c7647;
  --el-1: 0 1px 0 rgba(18, 35, 26, 0.08), 0 1px 3px rgba(18, 35, 26, 0.12);
  --el-2: 0 1px 2px rgba(18, 35, 26, 0.14), 0 3px 8px rgba(18, 35, 26, 0.12);
  --el-3: 0 2px 4px rgba(18, 35, 26, 0.18), 0 6px 14px rgba(18, 35, 26, 0.18);
  --shadow-soft: var(--el-1);

  --font-display: "Bricolage Grotesque", system-ui, -apple-system, sans-serif;
  --font-sans: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

[data-reduced-motion="true"] {
  --dur-fast: 0ms;
  --dur-med: 0ms;
  --dur-slow: 0ms;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body,
#root {
  margin: 0;
  padding: 0;
  width: 100%;
  height: var(--vvh, 100dvh);
  overflow: hidden;
  background-color: var(--bg);
  color: var(--fg);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}

button,
input,
textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  /* no double-tap-to-zoom on buttons: quick taps (bid keys, Draw, card buttons) register at once on phones */
  touch-action: manipulation;
}

/* a downward swipe at the top of a page or table never triggers the phone's pull-to-refresh (which reloaded the
   game in the middle of a hand) */
html,
body {
  overscroll-behavior: none;
}

/* turning the phone sideways never blows the text up (iOS/Android font boosting) */
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

/* selected text in the theme's own colour */
::selection {
  background: color-mix(in srgb, var(--accent) 32%, transparent);
  color: inherit;
}

/* a long press on a button, picture or card never selects its text, pops the "copy / save image" menu or starts
   dragging a ghost picture; typing fields still select normally */
button,
img,
svg {
  -webkit-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
}

img {
  -webkit-user-drag: none;
}

[data-layout-mode="table"] main {
  -webkit-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
}

input,
textarea,
[contenteditable="true"] {
  -webkit-user-select: text;
  user-select: text;
  -webkit-touch-callout: default;
}

/* Touch screens */
@media (hover: none) and (pointer: coarse) {
  /* iPhones zoom the whole page in when you tap a text box smaller than 16px (chat, names, codes): never again */
  input:not([type="checkbox"]):not([type="radio"]):not([type="range"]),
  textarea,
  select {
    font-size: max(16px, 1em) !important;
  }

  /* buttons sink a touch when pressed, so a tap visibly lands ("scale" adds to any transform a button already has) */
  button:where(:not(:disabled)) {
    transition: scale 90ms ease-out;
  }

  button:where(:not(:disabled)):active {
    scale: 0.96;
  }
}

:focus-visible {
  outline: 2px solid var(--focus-ring, var(--accent));
  outline-offset: 2px;
}

/* #148 App Check (reCAPTCHA Enterprise) runs invisibly: hide Google's floating corner badge. The required
   "protected by reCAPTCHA" notice is on the privacy page instead. */
.grecaptcha-badge {
  visibility: hidden !important;
}

/* ---- Fullscreen desktop layout (#206 / #211), contract for #212–#215 -------------------------------------------
   shell/desktop.ts sets data-desktop="wide" (1600px+) or "mid" (1280–1599) on <html> and --ui-scale
   (clamp(0.74, window height / 1080, 1.25)) on mouse screens at least 1280x560 with Compact view off. */
:root[data-desktop] {
  font-size: calc(16px * var(--ui-scale, 1));
  --desk-topbar-h: 3.75rem;
  --desk-left-w: 18rem;
  --desk-right-w: 21rem;
  --desk-gap: 0.75rem;
  /* side margins where the theme scene shows: 0 at 1366, ~118px at 1920, 260px at 2560 */
  --desk-inset: clamp(0px, (100vw - 1500px) * 0.28, 260px);
  /* the routed screen's box (shell [data-testid="desk-main"]): a table fills it with height: 100% */
  --desk-main-h: calc(var(--vvh, 100dvh) - var(--desk-topbar-h) - var(--desk-gap) - var(--desk-bottombar-h));
  /* the hub bottom bar (shell/DesktopBottomBar.tsx): Home and lobby only, 0 at a table */
  --desk-bottombar-h: 0px;
  /* cards on desktop tables: from the window height, not the width */
  --desk-card-h: clamp(96px, 15.5vh, 220px); /* 96px floor: small laptops (~593-641 tall) */
  --desk-card-w: calc(var(--desk-card-h) * 0.7);
  --desk-card-h-opp: calc(var(--desk-card-h) * 0.5);
  --desk-card-w-opp: calc(var(--desk-card-w) * 0.5);
  --desk-card-h-mini: calc(var(--desk-card-h) / 3);
  --desk-card-w-mini: calc(var(--desk-card-w) / 3);
  /* light frosted sheet the content sits on (the scene shows faintly through it) */
  --desk-sheet: color-mix(in srgb, var(--bg) 82%, transparent);
  --desk-panel-bg: color-mix(in srgb, var(--surface, var(--bg)) 88%, transparent);
  --bottombar-h: 0px;
  /* #276 sheets (shell/OverlayStack.tsx SHEET_SIZE): three fixed widths, never wider than the window allows.
     s = sign in, a player's card, Quick game search; m = Settings, Friends, Leaderboards; l = Store, Profile,
     How to Play, Admin. Big sheets share one height. */
  --desk-sheet-pad: 1.25rem;
  --desk-sheet-s: 32rem;
  --desk-sheet-m: 46rem;
  --desk-sheet-l: min(100rem, 100vw - 2 * var(--desk-inset) - 2 * var(--desk-sheet-pad));
  --desk-sheet-max-h: 56rem;
  /* Profile side panel (docked left, above the profile button) */
  --desk-drawer-w: 34rem;
  /* #276 desktop buttons: one height, three widths (icon / normal / wide). The bottom bar, the Quick game dock and
     anything else on the desktop bars use these, so a wider Shop is one line here. */
  --desk-btn-h: 4.6rem;
  /* label size on the desktop bars (Sergiu 2026-11-27: the bar read too small next to the game cards) */
  --desk-btn-fs: 1.2rem;
  --desk-btn-r: 0.75rem;
  --desk-btn-w-s: var(--desk-btn-h);
  --desk-btn-w: 11rem;
  --desk-btn-w-wide: 15.5rem;
}

/* keyboard users on desktop: a thick, theme-coloured ring that is easy to follow across the big screen */
:root[data-desktop] :focus-visible {
  outline: 3px solid var(--focus-ring, var(--accent));
  outline-offset: 3px;
}

:root[data-desktop]:has([data-desk-bottom]) {
  --desk-bottombar-h: 6.4rem;
}

/* src/cosmetics/Card.module.css */
._card_34yk2_1 {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 3px;
  border: 1px solid #d9d4c7;
  background: #fbfaf6;
  color: #1a1d1f;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.85),
    0 2px 6px rgba(18, 35, 26, 0.14),
    0 6px 14px rgba(18, 35, 26, 0.08);
  padding: 2px;
  user-select: none;
  overflow: hidden;
  flex-shrink: 0;
  transition:
    transform var(--dur-med) var(--ease-smooth),
    box-shadow var(--dur-med) var(--ease-smooth),
    border-color var(--dur-fast) ease,
    filter var(--dur-med) ease,
    opacity var(--dur-med) ease;
}

[data-theme-mode="dark"] ._card_34yk2_1:not([data-custom-deck="true"]) {
  border-color: var(--card-edge, #d9d4c7);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.85),
    0 3px 8px rgba(0, 0, 0, 0.36),
    0 8px 18px rgba(0, 0, 0, 0.2);
}

/* Sticker B faces, option B (Sergiu 2026-11-27): free Classic faces go flat — white face, thin warm edge,
   crisp small drop instead of the blurry shadow, no ink outline (legibility first). Same specificity as .card
   via :where(), so selected / playable / board classes still win as before. Paid decks and backs untouched. */
._card_34yk2_1:where([data-facedown="false"]:not([data-custom-deck="true"])) {
  border-color: #cfc8b8;
  background: #ffffff;
  box-shadow: 0 2px 0 rgba(18, 35, 26, 0.22);
}

[data-theme-mode="dark"] ._card_34yk2_1:not([data-custom-deck="true"]):where([data-facedown="false"]) {
  border-color: var(--card-edge, #cfc8b8);
  box-shadow: 0 2px 0 rgba(0, 0, 0, 0.45);
}

button._card_34yk2_1 {
  cursor: pointer;
}

button._card_34yk2_1:active:not(:disabled) {
  transform: scale(0.965);
  transition-duration: 120ms;
}

._xs_34yk2_58 {
  width: calc(42px * var(--card-scale, 1));
  height: calc(58px * var(--card-scale, 1));
  border-radius: 2px;
  --rank-size: calc(16px * var(--card-scale, 1));
  --suit-size: calc(15px * var(--card-scale, 1));
  --fan-rank-size: calc(13px * var(--card-scale, 1));
  --fan-suit-size: calc(12px * var(--card-scale, 1));
  --watermark-size: calc(20px * var(--card-scale, 1));
}

._sm_34yk2_69 {
  width: calc(52px * var(--card-scale, 1));
  height: calc(72px * var(--card-scale, 1));
  border-radius: 3px;
  --rank-size: calc(20px * var(--card-scale, 1));
  --suit-size: calc(18px * var(--card-scale, 1));
  --fan-rank-size: calc(16px * var(--card-scale, 1));
  --fan-suit-size: calc(14px * var(--card-scale, 1));
  --watermark-size: calc(26px * var(--card-scale, 1));
}

._md_34yk2_80 {
  width: calc(64px * var(--card-scale, 1));
  height: calc(90px * var(--card-scale, 1));
  border-radius: 3px;
  --rank-size: calc(25px * var(--card-scale, 1));
  --suit-size: calc(22px * var(--card-scale, 1));
  --fan-rank-size: calc(19px * var(--card-scale, 1));
  --fan-suit-size: calc(16px * var(--card-scale, 1));
  --watermark-size: calc(32px * var(--card-scale, 1));
}

._lg_34yk2_91 {
  width: calc(78px * var(--card-scale, 1));
  height: calc(110px * var(--card-scale, 1));
  border-radius: 3px;
  --rank-size: calc(30px * var(--card-scale, 1));
  --suit-size: calc(26px * var(--card-scale, 1));
  --fan-rank-size: calc(22px * var(--card-scale, 1));
  --fan-suit-size: calc(19px * var(--card-scale, 1));
  --watermark-size: calc(38px * var(--card-scale, 1));
}

._stacked_34yk2_102 {
  box-shadow:
    2px 2px 0 #ebe6d8,
    3px 3px 0 rgba(18, 35, 26, 0.16),
    0 5px 12px rgba(18, 35, 26, 0.18);
}

._fanned_34yk2_109 {
  justify-content: flex-start;
  align-items: stretch;
  padding: 4px 5px 3px;
}

._selected_34yk2_115 {
  border-color: var(--accent);
  box-shadow:
    0 0 0 2.5px var(--accent),
    0 0 0 5px color-mix(in srgb, var(--accent) 26%, transparent),
    0 10px 22px rgba(18, 35, 26, 0.28);
}

._disabled_34yk2_123 {
  filter: grayscale(0.72) brightness(0.78);
  opacity: 0.56;
  cursor: default;
}

._red_34yk2_129 {
  color: #c82333;
}

._black_34yk2_133 {
  color: #1a1d1f;
}

/* Built-in deck themes */
._deck_parchment_34yk2_138 {
  background: linear-gradient(165deg, #fbf3df 0%, #efe0be 100%);
  border-color: #b89c72;
  --deck-font: Georgia, "Times New Roman", serif;
}

._deck_parchment_34yk2_138._red_34yk2_129 {
  color: #a62b1f;
}

._deck_parchment_34yk2_138._black_34yk2_133 {
  color: #2f2116;
}

._deck_midnight_34yk2_152 {
  background: linear-gradient(165deg, #1a2640 0%, #0b101d 100%);
  border-color: #4c638c;
  --deck-font: Georgia, "Times New Roman", serif;
  box-shadow:
    inset 0 1px 0 rgba(191, 219, 254, 0.14),
    0 3px 10px rgba(0, 0, 0, 0.45);
}

._deck_midnight_34yk2_152._red_34yk2_129 {
  color: #fb7185;
}

._deck_midnight_34yk2_152._black_34yk2_133 {
  color: #f8fafc;
}

._deck_neon_34yk2_169 {
  background:
    linear-gradient(rgba(34, 211, 238, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(232, 121, 249, 0.07) 1px, transparent 1px),
    linear-gradient(165deg, #141033 0%, #07061a 100%);
  background-size: 10px 10px, 10px 10px, 100% 100%;
  border-color: #22d3ee;
  --deck-font: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  box-shadow:
    0 0 8px rgba(34, 211, 238, 0.28),
    inset 0 0 0 1px rgba(203, 213, 225, 0.18),
    inset 0 0 8px rgba(34, 211, 238, 0.12);
}

._deck_neon_34yk2_169._red_34yk2_129 {
  color: #f0abfc;
  text-shadow: 0 0 5px rgba(232, 121, 249, 0.4);
}

._deck_neon_34yk2_169._black_34yk2_133 {
  color: #67e8f9;
  text-shadow: 0 0 5px rgba(34, 211, 238, 0.4);
}

._deck_mint_34yk2_193 {
  background: linear-gradient(165deg, #f0fdf7 0%, #d8f5e8 100%);
  border-color: #7db899;
}

._deck_mint_34yk2_193._red_34yk2_129 {
  color: #b91c1c;
}

._deck_mint_34yk2_193._black_34yk2_133 {
  color: #064e3b;
}

._deck_sky_34yk2_206 {
  background: linear-gradient(165deg, #16447a 0%, #0d2c54 100%);
  border-color: #60a5fa;
  --deck-font: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  box-shadow:
    inset 0 1px 0 rgba(191, 219, 254, 0.16),
    0 3px 9px rgba(10, 28, 60, 0.35);
}

._deck_sky_34yk2_206._red_34yk2_129 {
  color: #ff9ea8;
}

._deck_sky_34yk2_206._black_34yk2_133 {
  color: #f0f7ff;
}

._deck_linen_34yk2_223 {
  background: linear-gradient(165deg, #f5e7cf 0%, #e5cca6 100%);
  border-color: #a87c4f;
  --deck-font: Georgia, "Times New Roman", serif;
}

._deck_linen_34yk2_223._red_34yk2_129 {
  color: #a62b1c;
}

._deck_linen_34yk2_223._black_34yk2_133 {
  color: #38210f;
}

._deck_blush_34yk2_237 {
  background: linear-gradient(165deg, #fff7f9 0%, #ffe1e8 100%);
  border-color: #e89cb0;
  --deck-font: Georgia, "Times New Roman", serif;
}

._deck_blush_34yk2_237._red_34yk2_129 {
  color: #c81e4a;
}

._deck_blush_34yk2_237._black_34yk2_133 {
  color: #4a1d2c;
}

._deck_slate_34yk2_251 {
  background: linear-gradient(165deg, #f7f6f2 0%, #eae7df 100%);
  border-color: #52525b;
  --deck-font: Georgia, "Times New Roman", serif;
  box-shadow: 0 2px 6px rgba(24, 24, 27, 0.14);
}

._deck_slate_34yk2_251._red_34yk2_129 {
  color: #b91c1c;
}

._deck_slate_34yk2_251._black_34yk2_133 {
  color: #18181b;
}

._deck_ocean_34yk2_266 {
  background:
    radial-gradient(circle at 80% 18%, rgba(94, 234, 212, 0.16), transparent 55%),
    linear-gradient(165deg, #0f5264 0%, #072832 100%);
  border-color: #38b2ac;
  box-shadow:
    inset 0 1px 0 rgba(153, 246, 228, 0.16),
    0 3px 10px rgba(7, 40, 50, 0.42);
}

._deck_ocean_34yk2_266._red_34yk2_129 {
  color: #ff8fa3;
}

._deck_ocean_34yk2_266._black_34yk2_133 {
  color: #e6fffb;
}

._deck_gilded_34yk2_284 {
  background:
    radial-gradient(circle at 50% 0%, rgba(253, 224, 71, 0.2), transparent 65%),
    linear-gradient(165deg, #fffef8 0%, #f5e6be 100%);
  border-color: #c99212;
  --deck-font: Georgia, "Times New Roman", serif;
  box-shadow:
    0 0 10px rgba(212, 160, 23, 0.36),
    inset 0 1px 0 rgba(255, 255, 255, 0.75);
}

._deck_gilded_34yk2_284::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    115deg,
    transparent 20%,
    rgba(255, 255, 255, 0.55) 45%,
    rgba(253, 224, 71, 0.3) 52%,
    transparent 70%
  );
  transform: translateX(-110%);
  animation: _foilSweep_34yk2_1 5.5s ease-in-out infinite;
}

._deck_gilded_34yk2_284._red_34yk2_129 {
  color: #9a1136;
}

._deck_gilded_34yk2_284._black_34yk2_133 {
  color: #181512;
}

/* #174 Prestige decks: face colour + suit colours here (instant, before the art chunk loads). */
._deck_p3_34yk2_320 {
  background:
    radial-gradient(circle at 85% 8%, rgba(125, 211, 252, 0.3), transparent 45%),
    linear-gradient(165deg, #fdfeff 0%, #eef5fc 55%, #dceaf7 100%);
  border-color: #8aa4bf;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.8),
    0 0 8px rgba(125, 211, 252, 0.4),
    0 3px 8px rgba(15, 23, 42, 0.22);
}

._deck_p3_34yk2_320._red_34yk2_129 {
  color: #c8102e;
}

._deck_p3_34yk2_320._black_34yk2_133 {
  color: #0f172a;
}

._deck_p6_34yk2_339 {
  background:
    radial-gradient(circle at 80% 12%, rgba(34, 211, 238, 0.22), transparent 50%),
    linear-gradient(170deg, #1e3a8a 0%, #132a6b 50%, #0b1e4f 100%);
  border-color: #22d3ee;
  box-shadow:
    inset 0 1px 0 rgba(165, 243, 252, 0.22),
    0 0 8px rgba(34, 211, 238, 0.3),
    0 3px 10px rgba(5, 12, 40, 0.5);
}

._deck_p6_34yk2_339._red_34yk2_129 {
  color: #ff8597;
}

._deck_p6_34yk2_339._black_34yk2_133 {
  color: #f0fbff;
}

._deck_p9_34yk2_358 {
  background:
    linear-gradient(125deg, transparent 30%, rgba(255, 255, 255, 0.07) 42%, transparent 54%),
    radial-gradient(circle at 50% 55%, rgba(167, 139, 250, 0.16), transparent 62%),
    linear-gradient(160deg, #1d1b26 0%, #0f0e15 55%, #050508 100%);
  border-color: #6d5bb0;
  box-shadow:
    inset 0 1px 0 rgba(229, 231, 235, 0.16),
    0 0 9px rgba(167, 139, 250, 0.35),
    0 3px 10px rgba(0, 0, 0, 0.55);
}

._deck_p9_34yk2_358._red_34yk2_129 {
  color: #ff6b81;
}

._deck_p9_34yk2_358._black_34yk2_133 {
  color: #f4f4f5;
}

._deck_p10_34yk2_378 {
  background:
    radial-gradient(circle at 90% 6%, rgba(103, 232, 249, 0.28), transparent 42%),
    radial-gradient(circle at 8% 96%, rgba(240, 171, 252, 0.3), transparent 42%),
    linear-gradient(165deg, #fffef8 0%, #fff7d6 100%);
  border-color: #d4a84a;
  box-shadow:
    0 0 10px rgba(240, 171, 252, 0.4),
    0 0 4px rgba(103, 232, 249, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

._deck_p10_34yk2_378::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    115deg,
    transparent 22%,
    rgba(255, 255, 255, 0.5) 44%,
    rgba(240, 171, 252, 0.22) 50%,
    rgba(103, 232, 249, 0.2) 55%,
    transparent 72%
  );
  transform: translateX(-110%);
  animation: _foilSweep_34yk2_1 7s ease-in-out infinite;
}

._deck_p10_34yk2_378._red_34yk2_129 {
  color: #be123c;
}

._deck_p10_34yk2_378._black_34yk2_133 {
  color: #1e1b4b;
}

/* #174 Prestige backs: base colour (the drawn art comes from the lazy prestige/backsArt chunk). */
._back_p2_34yk2_416 {
  background:
    radial-gradient(circle at 50% 50%, rgba(249, 115, 22, 0.28), transparent 62%),
    linear-gradient(160deg, #4a2412 0%, #2a1208 55%, #170904 100%);
  box-shadow: inset 0 0 0 0.75px rgba(0, 0, 0, 0.35);
}

._back_p5_34yk2_423 {
  background:
    radial-gradient(circle at 50% 50%, #0d8a63 0%, transparent 70%),
    linear-gradient(160deg, #0a6b4f 0%, #064e3b 60%, #03392b 100%);
}

._back_p8_34yk2_429 {
  background:
    radial-gradient(circle at 50% 50%, #c81843 0%, #8f0f2e 45%, #3f0a16 100%);
}

._back_p10_34yk2_434 {
  background:
    radial-gradient(circle at 50% 50%, #4338ca 0%, #312e81 40%, #120f3a 100%);
}

._back_p2_34yk2_416::after,
._back_p5_34yk2_423::after,
._back_p8_34yk2_429::after,
._back_p10_34yk2_434::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    120deg,
    transparent 26%,
    rgba(255, 236, 179, 0.3) 47%,
    rgba(255, 255, 255, 0.3) 51%,
    transparent 72%
  );
  transform: translateX(-115%);
  animation: _foilSweep_34yk2_1 6s ease-in-out infinite;
}

._back_p2_34yk2_416::after {
  background: linear-gradient(120deg, transparent 26%, rgba(253, 186, 116, 0.34) 48%, rgba(254, 243, 199, 0.28) 52%, transparent 72%);
}

._back_p10_34yk2_434::after {
  background: linear-gradient(
    120deg,
    transparent 22%,
    rgba(103, 232, 249, 0.26) 42%,
    rgba(255, 247, 214, 0.42) 50%,
    rgba(240, 171, 252, 0.3) 58%,
    transparent 76%
  );
  animation-duration: 4.8s;
}

/* P10 aurora drifting across the back (transform only). */
._back_p10_34yk2_434::before {
  content: "";
  position: absolute;
  inset: -20% -40%;
  pointer-events: none;
  background:
    radial-gradient(ellipse 40% 22% at 30% 40%, rgba(103, 232, 249, 0.22), transparent 70%),
    radial-gradient(ellipse 36% 20% at 70% 62%, rgba(240, 171, 252, 0.2), transparent 70%);
  animation: _p10Aurora_34yk2_1 9s ease-in-out infinite alternate;
}

@keyframes _p10Aurora_34yk2_1 {
  from { transform: translate3d(-12%, -4%, 0); }
  to { transform: translate3d(12%, 4%, 0); }
}

._p10TwinkleA_34yk2_491,
._p10TwinkleB_34yk2_492 {
  animation: _p10Twinkle_34yk2_491 2.8s ease-in-out infinite;
}

._p10TwinkleB_34yk2_492 {
  animation-delay: -1.4s;
}

@keyframes _p10Twinkle_34yk2_491 {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.25; }
}

._deckArt_34yk2_505 {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

/* Editorial centered face (standard cribbage/table pile/cut) */
._faceCenter_34yk2_515 {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1px;
  line-height: 0.94;
  text-align: center;
}

._faceRank_34yk2_527 {
  font-family: var(--deck-font, var(--font-display, var(--font-sans)));
  font-size: var(--rank-size);
  font-weight: 800;
  letter-spacing: -0.05em;
  font-variant-numeric: tabular-nums;
}

._faceSuit_34yk2_535 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: var(--suit-size);
  line-height: 1;
}

/* Fanned top-band layout so overlapping cards remain 100% readable */
._fanHead_34yk2_544 {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 2px;
  line-height: 0.96;
  font-family: var(--deck-font, var(--font-display, var(--font-sans)));
  font-weight: 800;
  letter-spacing: -0.05em;
}

._fanRank_34yk2_556 {
  font-size: var(--fan-rank-size);
}

._fanSuit_34yk2_560 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: var(--fan-suit-size);
  line-height: 1;
}

._fanWatermark_34yk2_568 {
  position: relative;
  z-index: 1;
  margin-top: auto;
  margin-bottom: auto;
  align-self: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: var(--watermark-size);
  line-height: 1;
  opacity: 0.9;
}

._faceSprite_34yk2_582 {
  position: absolute;
  inset: 0;
  background-repeat: no-repeat;
}

/* Card backs */
._faceDown_34yk2_589 {
  padding: 1.5px;
  background: #fbfaf6;
}

._xs_34yk2_58._faceDown_34yk2_589 {
  padding: 1px;
}

._backPattern_34yk2_598 {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 100%;
  border-radius: 2px;
  border: none;
  box-shadow: inset 0 0 0 0.75px rgba(0, 0, 0, 0.18);
}

._backArt_34yk2_608 {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

._back_lattice_34yk2_616 {
  /* Sticker B default back: the SVG (BackArt "lattice") draws everything; cream shows while it paints. */
  background: #fff8ec;
  box-shadow: none;
}

._back_diamond_34yk2_622 {
  background:
    radial-gradient(circle at 50% 50%, #d4a017 0 18%, rgba(212, 160, 23, 0.2) 22%, transparent 25%),
    repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.1) 0 2px, transparent 2px 8px),
    linear-gradient(145deg, #1e40af 0%, #0c1f4a 100%);
  box-shadow: inset 0 0 0 1px rgba(212, 160, 23, 0.7);
}

._back_stripes_34yk2_630 {
  background-color: #0e4a25;
  background-image:
    repeating-linear-gradient(45deg, rgba(134, 239, 172, 0.2) 0 1.2px, transparent 1.2px 9px),
    repeating-linear-gradient(-45deg, rgba(134, 239, 172, 0.2) 0 1.2px, transparent 1.2px 9px),
    radial-gradient(circle at 50% 35%, #166534 0%, #0a361a 90%);
  box-shadow: inset 0 0 0 1.2px rgba(212, 160, 23, 0.78);
}

._back_starburst_34yk2_639 {
  background:
    radial-gradient(circle at 50% 50%, rgba(245, 208, 254, 0.2) 0 14%, rgba(109, 40, 217, 0.22) 42%, transparent 80%),
    linear-gradient(145deg, #130b30 0%, #1f1147 55%, #090818 100%);
  box-shadow: inset 0 0 0 1.2px rgba(196, 181, 253, 0.7);
}

._back_starburst_34yk2_639::after,
._back_constellation_34yk2_647::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    120deg,
    transparent 26%,
    rgba(224, 231, 255, 0.22) 48%,
    rgba(34, 211, 238, 0.16) 52%,
    transparent 72%
  );
  transform: translateX(-115%);
  animation: _foilSweep_34yk2_1 6.2s ease-in-out infinite;
}

._back_deco_34yk2_663 {
  background:
    radial-gradient(circle at 50% 50%, rgba(245, 158, 11, 0.22) 0 46%, transparent 72%),
    linear-gradient(160deg, #12100e 0%, #241e18 55%, #12100e 100%);
  box-shadow: inset 0 0 0 1.5px #f59e0b;
}

._back_deco_34yk2_663::after,
._backCrest_34yk2_671::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    120deg,
    transparent 24%,
    rgba(253, 224, 71, 0.28) 48%,
    rgba(255, 255, 255, 0.25) 52%,
    transparent 74%
  );
  transform: translateX(-115%);
  animation: _foilSweep_34yk2_1 5s ease-in-out infinite;
}

@keyframes _foilSweep_34yk2_1 {
  0%, 45% { transform: translateX(-115%); }
  75%, 100% { transform: translateX(115%); }
}

._back_plaid_34yk2_692 {
  background-color: #5e1216;
  background-image:
    repeating-linear-gradient(0deg, rgba(16, 64, 38, 0.72) 0 5px, transparent 5px 12px),
    repeating-linear-gradient(90deg, rgba(16, 64, 38, 0.72) 0 5px, transparent 5px 12px),
    repeating-linear-gradient(0deg, transparent 0 8px, rgba(212, 160, 23, 0.42) 8px 9px, transparent 9px 12px),
    repeating-linear-gradient(90deg, transparent 0 8px, rgba(212, 160, 23, 0.42) 8px 9px, transparent 9px 12px);
  box-shadow: inset 0 0 0 1px rgba(212, 160, 23, 0.6);
}

._back_dots_34yk2_702 {
  background: linear-gradient(155deg, #0d5c63 0%, #083d42 100%);
}

._back_chevron_34yk2_706 {
  background: linear-gradient(155deg, #1a366e 0%, #0f2045 100%);
}

._back_checker_34yk2_710 {
  background: linear-gradient(155deg, #1b1d26 0%, #0e1017 100%);
}

._back_waves_34yk2_714 {
  background: linear-gradient(160deg, #0f766e 0%, #084842 100%);
}

._back_honeycomb_34yk2_718 {
  background:
    radial-gradient(circle at 50% 45%, #92400e 0%, #4a2208 60%, #2a1405 100%);
  box-shadow: inset 0 0 0 1.2px #d4a017;
}

._back_constellation_34yk2_647 {
  background:
    radial-gradient(circle at 50% 50%, rgba(99, 102, 241, 0.4) 0 32%, transparent 72%),
    linear-gradient(160deg, #0b1026 0%, #1e1b4b 100%);
  box-shadow: inset 0 0 0 1.2px rgba(212, 160, 23, 0.75);
}

._backCrest_34yk2_671 {
  background:
    radial-gradient(circle at 50% 50%, rgba(251, 191, 36, 0.25) 0 28%, transparent 55%),
    linear-gradient(145deg, #1e1b4b 0%, #312e81 55%, #1e1b4b 100%);
  box-shadow: inset 0 0 0 1.5px #fbbf24;
}

._backImg_34yk2_738 {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 2px;
  display: block;
}

._faceDownBleed_34yk2_746 {
  padding: 0;
}

._faceDownBleed_34yk2_746 ._backImg_34yk2_738 {
  border-radius: 0;
}

[data-reduced-motion="true"] ._card_34yk2_1 {
  transition: none;
}

[data-reduced-motion="true"] ._deck_gilded_34yk2_284::after,
[data-reduced-motion="true"] ._deck_p10_34yk2_378::after,
[data-reduced-motion="true"] ._back_p2_34yk2_416::after,
[data-reduced-motion="true"] ._back_p5_34yk2_423::after,
[data-reduced-motion="true"] ._back_p8_34yk2_429::after,
[data-reduced-motion="true"] ._back_p10_34yk2_434::after,
[data-reduced-motion="true"] ._back_starburst_34yk2_639::after,
[data-reduced-motion="true"] ._back_constellation_34yk2_647::after,
[data-reduced-motion="true"] ._back_deco_34yk2_663::after,
[data-reduced-motion="true"] ._backCrest_34yk2_671::after {
  animation: none;
  opacity: 0;
}

@media (prefers-reduced-motion: reduce) {
  ._deck_gilded_34yk2_284::after,
  ._deck_p10_34yk2_378::after,
  ._back_p2_34yk2_416::after,
  ._back_p5_34yk2_423::after,
  ._back_p8_34yk2_429::after,
  ._back_p10_34yk2_434::after,
  ._back_starburst_34yk2_639::after,
  ._back_constellation_34yk2_647::after,
  ._back_deco_34yk2_663::after,
  ._backCrest_34yk2_671::after {
    animation: none;
    opacity: 0;
  }
}

[data-reduced-motion="true"] ._back_p10_34yk2_434::before,
[data-reduced-motion="true"] ._p10TwinkleA_34yk2_491,
[data-reduced-motion="true"] ._p10TwinkleB_34yk2_492 {
  animation: none;
}

@media (prefers-reduced-motion: reduce) {
  ._back_p10_34yk2_434::before,
  ._p10TwinkleA_34yk2_491,
  ._p10TwinkleB_34yk2_492 {
    animation: none;
  }
}

/* src/games/_shared/tableSymbols.module.css */
/* The table's picture language (tableSymbols.tsx). Sticker style B: white face, ink outline. Nothing here takes
   part in layout except the inline chips (fixed sizes), so stamps never move anything. */

._glyph_rcfb6_4 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 30px;
  height: 24px;
  padding: 0 5px;
  border-radius: 6px;
  background: var(--stk-face, #fff);
  border: 1.5px solid var(--stk-ink, #12231a);
  color: #12231a;
  font-family: var(--font-display, var(--font-sans));
  font-size: 15px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.02em;
  vertical-align: middle;
  white-space: nowrap;
}

._glyphRed_rcfb6_24 {
  color: #c0392d;
}

._count_rcfb6_28 {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-variant-numeric: tabular-nums;
}

/* ---- seat stamps ---- */
._stamp_rcfb6_36 {
  position: absolute;
  z-index: 8;
  width: 0;
  height: 0;
  pointer-events: none;
}

._stampInk_rcfb6_44 {
  position: absolute;
  left: 0;
  top: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-width: 40px;
  height: 40px;
  padding: 0 7px;
  border-radius: 999px;
  background: var(--stk-face, #fff);
  border: 2.5px solid var(--stamp-c, var(--stk-ink, #12231a));
  box-shadow: 0 3px 0 var(--stamp-c, var(--stk-ink, #12231a)), 0 6px 14px rgb(0 0 0 / 0.25);
  font-size: 22px;
  line-height: 1;
  white-space: nowrap;
  transform: translate(-50%, -78%) scale(1);
  animation: _stampPop_rcfb6_1 1100ms cubic-bezier(0.2, 0.9, 0.3, 1.25) both;
}

._stamp_attack_rcfb6_66 {
  --stamp-c: #b45309;
}

._stamp_defend_rcfb6_70 {
  --stamp-c: #1d4ed8;
}

._stamp_good_rcfb6_74 {
  --stamp-c: #15803d;
}

._stamp_bad_rcfb6_78 {
  --stamp-c: #b91c1c;
}

@keyframes _stampPop_rcfb6_1 {
  0% {
    opacity: 0;
    transform: translate(-50%, -78%) scale(1.9) rotate(-14deg);
  }
  18% {
    opacity: 1;
    transform: translate(-50%, -78%) scale(0.92) rotate(4deg);
  }
  28% {
    transform: translate(-50%, -78%) scale(1.06) rotate(-2deg);
  }
  38%,
  82% {
    opacity: 1;
    transform: translate(-50%, -78%) scale(1) rotate(0deg);
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -92%) scale(0.9);
  }
}

/* reduced motion: the stamp just shows and stays until the beat ends */
[data-reduced-motion="true"] ._stampInk_rcfb6_44 {
  animation: none;
}

@media (prefers-reduced-motion: reduce) {
  ._stampInk_rcfb6_44 {
    animation: none;
  }
}

/* ---- whose move (in the strip under the hand) ---- */
._turnChip_rcfb6_117 {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  max-width: 100%;
  min-width: 0;
}

._turnIcon_rcfb6_125 {
  flex: 0 0 auto;
  font-size: 18px;
  line-height: 1;
}

._turnName_rcfb6_131 {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

._dots_rcfb6_138 {
  flex: 0 0 auto;
  display: inline-flex;
  gap: 3px;
}

._dots_rcfb6_138 i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.35;
  animation: _dot_rcfb6_138 1.2s ease-in-out infinite;
}

._dots_rcfb6_138 i:nth-child(2) {
  animation-delay: 0.2s;
}

._dots_rcfb6_138 i:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes _dot_rcfb6_138 {
  0%,
  60%,
  100% {
    opacity: 0.35;
    transform: translateY(0);
  }
  30% {
    opacity: 1;
    transform: translateY(-3px);
  }
}

[data-reduced-motion="true"] ._dots_rcfb6_138 i {
  animation: none;
}

@media (prefers-reduced-motion: reduce) {
  ._dots_rcfb6_138 i {
    animation: none;
  }
}

/* ---- Away Bot, places, rounds, points, next ---- */
._awayIcon_rcfb6_185 {
  display: inline-flex;
  animation: _awayBob_rcfb6_1 2.4s ease-in-out infinite;
}

@keyframes _awayBob_rcfb6_1 {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-2px) rotate(-6deg);
  }
}

._place_rcfb6_200 {
  display: inline-block;
  font-size: 1.15em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

._roundIcon_rcfb6_207 {
  font-weight: 900;
}

._star_rcfb6_211 {
  color: #c98a06;
}

._nextMark_rcfb6_215 {
  display: inline-block;
  font-size: 1.1em;
  line-height: 1;
  padding: 0 0.4em;
}

._waitMark_rcfb6_222 {
  display: inline-flex;
  font-size: 20px;
  line-height: 1;
  animation: _hourglass_rcfb6_1 1.6s ease-in-out infinite;
}

@keyframes _hourglass_rcfb6_1 {
  0%,
  40% {
    transform: rotate(0deg);
  }
  50%,
  90% {
    transform: rotate(180deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

[data-reduced-motion="true"] ._awayIcon_rcfb6_185,
[data-reduced-motion="true"] ._waitMark_rcfb6_222 {
  animation: none;
}

@media (prefers-reduced-motion: reduce) {
  ._awayIcon_rcfb6_185,
  ._waitMark_rcfb6_222 {
    animation: none;
  }
}

._srOnly_rcfb6_255 {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* "this is your move now": a soft ring that pulses on a side button (Pass / Draw) when nothing else fits */
._callOut_rcfb6_268:not(:disabled) {
  animation: _callOut_rcfb6_268 1.3s ease-in-out infinite;
}

@keyframes _callOut_rcfb6_268 {
  0%,
  100% {
    box-shadow: var(--stk-shadow-sm, none);
  }
  50% {
    box-shadow: var(--stk-shadow-sm, none), 0 0 0 4px color-mix(in srgb, var(--accent, #1c7647) 35%, transparent);
  }
}

[data-reduced-motion="true"] ._callOut_rcfb6_268 {
  animation: none;
}

@media (prefers-reduced-motion: reduce) {
  ._callOut_rcfb6_268 {
    animation: none;
  }
}

/* src/social/rules/pictures.css */
/* Still pictures on the rules pages (see pictures.tsx). Plain CSS with an "rk-" prefix. Loaded only with the
   rules guide. */

.rk-pic {
  position: relative;
  flex-shrink: 0;
  height: 128px;
  /* sticker B: the felt sits in an ink-outlined frame; the felt keeps the theme's table colour */
  border-radius: var(--stk-r, 12px);
  background: var(--card-felt, #1d5c3f);
  border: var(--stk-bw, 2px) solid var(--stk-ink, #12231a);
  box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.28);
  overflow: hidden;
  color: #fff;
}

.rk-pic-short {
  height: 96px;
}

/* roomier phones, tablets and PCs: bigger cards in a taller picture */
@media (min-width: 370px) and (min-height: 740px) {
  .rk-pic {
    height: 158px;
    --card-scale: 1.2;
  }

  .rk-pic-short {
    height: 110px;
  }
}

.rk-stage {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 12px;
}

.rk-item {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.rk-card {
  border-radius: 6px;
}

.rk-hl > :first-child {
  box-shadow: 0 0 0 3px var(--stk-yellow, #ffe08a), 0 0 0 5px var(--stk-ink, #12231a);
}

.rk-row {
  gap: 6px;
}

.rk-tight {
  gap: 0;
}

.rk-tight > .rk-item + .rk-item {
  margin-left: calc(-17px * var(--card-scale, 1));
}

.rk-col {
  flex-direction: column;
  gap: 5px;
}

.rk-col .rk-tag {
  padding: 3px 9px;
  font-size: 13px;
}

.rk-layer {
  display: inline-grid;
}

.rk-layer > * {
  grid-area: 1 / 1;
}

.rk-group {
  flex-direction: column;
  gap: 4px;
}

.rk-group-body {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.rk-cap {
  font-size: 11px;
  font-weight: 800;
  line-height: 1.1;
  color: rgba(255, 255, 255, 0.92);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
  white-space: nowrap;
}

.rk-op {
  font-size: 24px;
  font-weight: 900;
  color: #fff;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
  min-width: 14px;
}

.rk-tag {
  padding: 5px 10px;
  border-radius: var(--r-pill);
  font-size: 15px;
  font-weight: 900;
  white-space: nowrap;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.3);
}

.rk-tag-good {
  background: #16a34a;
  color: #fff;
}

.rk-tag-bad {
  background: #dc2626;
  color: #fff;
}

.rk-tag-plain {
  background: rgba(255, 255, 255, 0.94);
  color: #111827;
}

.rk-tag-gold {
  background: #facc15;
  color: #422006;
}

.rk-mark {
  position: absolute;
  top: -7px;
  right: -7px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 900;
  color: #fff;
  border: 2px solid #fff;
  z-index: 2;
}

.rk-mark-ok {
  background: #16a34a;
}

.rk-mark-no {
  background: #dc2626;
}

.rk-slot {
  box-sizing: border-box;
  width: calc(42px * var(--card-scale, 1));
  height: calc(58px * var(--card-scale, 1));
  border-radius: 6px;
  border: 2px dashed rgba(255, 255, 255, 0.45);
}

.rk-slot-big {
  width: 52px;
  height: 72px;
}

.rk-bubble {
  padding: 6px 10px;
  border-radius: 14px;
  background: #fff;
  color: #111827;
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.3);
}

.rk-seat {
  flex-direction: column;
  gap: 3px;
}

.rk-seat-face {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 19px;
}

.rk-seat-hl .rk-seat-face {
  box-shadow: 0 0 0 3px #facc15;
}

.rk-die {
  filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.35));
}

.rk-num {
  min-width: 38px;
  height: 38px;
  padding: 0 8px;
  border-radius: var(--r-pill);
  background: #1f2937;
  border: 2px solid rgba(255, 255, 255, 0.75);
  color: #fff;
  font-size: 17px;
  font-weight: 900;
}

/* fact pills inside the slide text */
.rk-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.rk-chip {
  padding: 4px 9px;
  border-radius: var(--r-pill);
  border: 1px solid var(--border);
  background: var(--surface-elevated);
  font-size: 12px;
  font-weight: 800;
}

/* ---- Backgammon strip ---- */
.rk-bg-strip {
  display: inline-flex;
  align-items: flex-start;
  gap: 3px;
  padding: 0 4px;
  height: 84px;
}

.rk-bg-point {
  position: relative;
  width: 28px;
  height: 84px;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 1px;
  padding-top: 2px;
}

.rk-bg-point::before {
  content: "";
  position: absolute;
  inset: 0;
  clip-path: polygon(0 0, 100% 0, 50% 100%);
  background: rgba(255, 255, 255, 0.22);
}

.rk-bg-point:nth-child(even)::before {
  background: rgba(0, 0, 0, 0.28);
}

.rk-bg-checker {
  position: relative;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 2px solid rgba(0, 0, 0, 0.45);
  box-shadow: 0 2px 3px rgba(0, 0, 0, 0.35);
}

.rk-bg-light {
  background: #f5efe0;
}

.rk-bg-dark {
  background: #7f1d1d;
  border-color: #fca5a5;
}

.rk-bg-bar {
  width: 30px;
  height: 84px;
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.35);
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
}

.rk-bg-bar .rk-cap {
  font-size: 10px;
}

/* deck with the trump card crosswise under it */
.rk-deck-trump {
  margin-right: calc(30px * var(--card-scale, 1));
}

.rk-trump-under {
  display: inline-flex;
  transform: translateX(calc(30px * var(--card-scale, 1))) rotate(90deg);
}


/* a card that has been played / is gone / may not be played */
.rk-faded {
  opacity: 0.38;
}

/* a card being picked */
.rk-raised {
  transform: translateY(-6px);
}

/* ---- "Reading the table": seat stamps as they pop on the table, and the symbol legend ---- */
.rk-stamp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  min-width: 38px;
  height: 38px;
  padding: 0 6px;
  border-radius: 999px;
  background: #fff;
  border: 2.5px solid var(--rk-stamp-c, #12231a);
  box-shadow: 0 3px 0 var(--rk-stamp-c, #12231a);
  font-size: 20px;
  line-height: 1;
  animation: rkStamp 2600ms cubic-bezier(0.2, 0.9, 0.3, 1.25) infinite both;
}

.rk-stamp-attack {
  --rk-stamp-c: #b45309;
}

.rk-stamp-defend {
  --rk-stamp-c: #1d4ed8;
}

.rk-stamp-good {
  --rk-stamp-c: #15803d;
}

.rk-stamp-bad {
  --rk-stamp-c: #b91c1c;
}

@keyframes rkStamp {
  0% {
    opacity: 0;
    transform: scale(1.8) rotate(-14deg);
  }
  10% {
    opacity: 1;
    transform: scale(0.92) rotate(4deg);
  }
  16%,
  80% {
    opacity: 1;
    transform: scale(1) rotate(0deg);
  }
  92%,
  100% {
    opacity: 0;
    transform: scale(0.9);
  }
}

[data-reduced-motion="true"] .rk-stamp {
  animation: none;
}

@media (prefers-reduced-motion: reduce) {
  .rk-stamp {
    animation: none;
  }
}

ul.rk-legend.rk-legend {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px 12px;
  margin: 6px 0 0;
  padding: 0;
  list-style: none;
}

.rk-legend li {
  display: flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
  font-size: 14px;
  line-height: 1.25;
}

.rk-legend-icon {
  flex: 0 0 auto;
  min-width: 30px;
  text-align: center;
  font-size: 18px;
}

@media (max-width: 359px) {
  ul.rk-legend.rk-legend {
    grid-template-columns: 1fr;
  }
}

.rk-legend-room {
  display: inline-block;
  width: 18px;
  height: 25px;
  border-radius: 4px;
  border: 1.5px dashed currentColor;
  opacity: 0.55;
  vertical-align: middle;
}

/* src/theme/fonts.css */
/* Self-hosted fonts (#151): served from our own site so visitors' browsers never contact Google Fonts.
   Files come from @fontsource/figtree + @fontsource/bricolage-grotesque 5.3.0 (SIL Open Font License,
   public/fonts/OFL-*.txt), Latin + Latin Extended only, woff2 only. */

@font-face {
  font-family: "Figtree";
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url("/fonts/figtree-latin-ext-400-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}

@font-face {
  font-family: "Figtree";
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url("/fonts/figtree-latin-400-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

@font-face {
  font-family: "Figtree";
  font-style: normal;
  font-display: swap;
  font-weight: 500;
  src: url("/fonts/figtree-latin-ext-500-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}

@font-face {
  font-family: "Figtree";
  font-style: normal;
  font-display: swap;
  font-weight: 500;
  src: url("/fonts/figtree-latin-500-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

@font-face {
  font-family: "Figtree";
  font-style: normal;
  font-display: swap;
  font-weight: 600;
  src: url("/fonts/figtree-latin-ext-600-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}

@font-face {
  font-family: "Figtree";
  font-style: normal;
  font-display: swap;
  font-weight: 600;
  src: url("/fonts/figtree-latin-600-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

@font-face {
  font-family: "Figtree";
  font-style: normal;
  font-display: swap;
  font-weight: 700;
  src: url("/fonts/figtree-latin-ext-700-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}

@font-face {
  font-family: "Figtree";
  font-style: normal;
  font-display: swap;
  font-weight: 700;
  src: url("/fonts/figtree-latin-700-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

@font-face {
  font-family: "Figtree";
  font-style: normal;
  font-display: swap;
  font-weight: 800;
  src: url("/fonts/figtree-latin-ext-800-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}

@font-face {
  font-family: "Figtree";
  font-style: normal;
  font-display: swap;
  font-weight: 800;
  src: url("/fonts/figtree-latin-800-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

@font-face {
  font-family: "Bricolage Grotesque";
  font-style: normal;
  font-display: swap;
  font-weight: 600;
  src: url("/fonts/bricolage-grotesque-latin-ext-600-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}

@font-face {
  font-family: "Bricolage Grotesque";
  font-style: normal;
  font-display: swap;
  font-weight: 600;
  src: url("/fonts/bricolage-grotesque-latin-600-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

@font-face {
  font-family: "Bricolage Grotesque";
  font-style: normal;
  font-display: swap;
  font-weight: 700;
  src: url("/fonts/bricolage-grotesque-latin-ext-700-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}

@font-face {
  font-family: "Bricolage Grotesque";
  font-style: normal;
  font-display: swap;
  font-weight: 700;
  src: url("/fonts/bricolage-grotesque-latin-700-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

@font-face {
  font-family: "Bricolage Grotesque";
  font-style: normal;
  font-display: swap;
  font-weight: 800;
  src: url("/fonts/bricolage-grotesque-latin-ext-800-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}

@font-face {
  font-family: "Bricolage Grotesque";
  font-style: normal;
  font-display: swap;
  font-weight: 800;
  src: url("/fonts/bricolage-grotesque-latin-800-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

/* src/seo/gamePage.css */
/* The Google game pages (/durak, …), built by scripts/build-game-pages.mjs. Plain CSS with a "gp-" prefix.
   Never loaded by the app. tokens.css is loaded first; the app locks the page height, a page here scrolls. */

html,
body {
  /* sticker B: warm paper page (the app's Classic look; no theme is loaded here) */
  background: var(--stk-paper);
  color: var(--stk-ink);
  height: auto;
  min-height: 100%;
  overflow: visible;
  overscroll-behavior: auto;
}

.gp-page {
  /* the same game colours as the Home cards (HomeScreen.module.css .gStack) */
  --card-m: var(--accent);
  --card-c: var(--secondary);
  --card-p: color-mix(in srgb, #c9a227 70%, var(--accent));
  --card-s: color-mix(in srgb, #c0392d 70%, var(--accent));
  --card-t: color-mix(in srgb, #7b2d8b 70%, var(--accent));
  --card-k: color-mix(in srgb, #0e7c86 75%, var(--accent));
  --card-b: color-mix(in srgb, #8b5a2b 75%, var(--accent));
  --card-z: color-mix(in srgb, #b8860b 75%, var(--accent));
  --card-d: color-mix(in srgb, #c2410c 75%, var(--accent));
  --card-g: color-mix(in srgb, #3f8f2f 75%, var(--accent));
  --card-n: color-mix(in srgb, #2f7d3a 75%, var(--accent));
  --card-f: color-mix(in srgb, #7b4bc4 75%, var(--accent));
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

.gp-top {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: calc(8px + var(--safe-top)) 16px 8px;
  background: color-mix(in srgb, var(--stk-paper) 92%, transparent);
  border-bottom: var(--stk-bw) solid var(--stk-ink);
  backdrop-filter: blur(8px);
}

.gp-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: var(--tap-min);
  color: var(--stk-ink);
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 800;
  text-decoration: none;
}

.gp-logo {
  /* the app logo (table from above, #239), same file as the favicon and the desktop header */
  display: block;
  width: 30px;
  height: 30px;
  flex: none;
}

.gp-play {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: var(--tap-min);
  padding: 0 18px;
  border-radius: var(--stk-r);
  background: var(--stk-primary);
  color: var(--stk-on-primary);
  font-weight: 800;
  font-size: 15px;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: var(--stk-shadow);
  border: var(--stk-bw) solid var(--stk-ink);
}

@media (hover: hover) {
  .gp-play:hover {
    transform: translateY(-1px);
    box-shadow: var(--stk-shadow-hover);
  }
}

.gp-play:active {
  transform: translateY(3px);
  box-shadow: 0 0 0 var(--stk-ink);
}

.gp-play-big {
  min-height: 56px;
  padding: 0 36px;
  font-size: 20px;
  font-family: var(--font-display);
}

.gp-main {
  flex: 1;
  width: 100%;
  max-width: 820px;
  margin: 0 auto;
  padding: 20px 16px 32px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.gp-hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  align-items: center;
  padding: 16px;
  border-radius: var(--r-lg);
  background: var(--stk-face);
  border: var(--stk-bw) solid var(--stk-ink);
  box-shadow: var(--stk-shadow-tile);
}

@media (min-width: 700px) {
  .gp-hero {
    grid-template-columns: 240px 1fr;
    gap: 24px;
    padding: 24px;
  }
}

.gp-art svg {
  display: block;
  width: 100%;
  max-width: 240px;
  height: auto;
  margin: 0 auto;
}

.gp-hero-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.gp-page h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(26px, 6vw, 36px);
  line-height: 1.1;
}

.gp-intro {
  margin: 0;
  font-size: 17px;
  line-height: 1.45;
}

.gp-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.gp-chips li {
  padding: 4px 10px;
  border-radius: var(--r-pill);
  background: var(--track);
  font-size: 14px;
  font-weight: 700;
}

.gp-hint {
  margin: 0;
  color: var(--stk-ink-soft);
  font-size: 14px;
  line-height: 1.4;
}

.gp-h2 {
  margin: 8px 0 0;
  font-family: var(--font-display);
  font-size: 24px;
}

.gp-steps {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.gp-step {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 12px;
  border-radius: var(--r-md);
  border: var(--stk-bw) solid var(--stk-ink);
  background: var(--stk-face);
}

.gp-step .rk-pic {
  height: 140px;
  --card-scale: 1.1;
}

.gp-step .rk-pic-short {
  height: 100px;
}

.gp-step-text h3 {
  margin: 0 0 6px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 18px;
  line-height: 1.2;
}

.gp-step-no {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--stk-primary);
  color: var(--stk-on-primary);
  font-size: 14px;
  border: var(--stk-bw) solid var(--stk-ink);
  box-shadow: var(--stk-shadow);
}

.gp-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 16px;
  line-height: 1.5;
}

.gp-body p {
  margin: 0;
}

.gp-body ul {
  margin: 0;
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.gp-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 20px 16px;
  border-radius: var(--r-lg);
  background: var(--card-felt);
  color: #fff;
  text-align: center;
}

.gp-cta .gp-h2 {
  margin: 0;
}

.gp-more ul {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr));
  gap: 8px;
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
}

.gp-more a {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-height: var(--tap-min);
  padding: 10px 12px;
  border-radius: var(--r-md);
  border: var(--stk-bw) solid var(--stk-ink);
  background: var(--stk-face);
  color: var(--stk-ink);
  text-decoration: none;
}


.gp-more a span {
  color: var(--stk-ink-soft);
  font-size: 14px;
}

.gp-foot {
  padding: 16px 16px calc(16px + var(--safe-bottom));
  border-top: var(--stk-bw) solid var(--stk-ink);
  color: var(--stk-ink-soft);
  font-size: 14px;
  text-align: center;
}

.gp-foot a {
  color: var(--stk-ink);
  font-weight: 700;
}

.gp-top-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.gp-top-link {
  display: inline-flex;
  align-items: center;
  min-height: var(--tap-min);
  padding: 0 10px;
  color: var(--stk-ink);
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.gp-top-link:hover {
  text-decoration: underline;
}

/* narrow phones: the brand name gives way so "All games" + Play now fit */
@media (max-width: 420px) {
  .gp-brand {
    font-size: 0;
    gap: 0;
  }
}

.gp-chips li.gp-live {
  background: color-mix(in srgb, var(--accent) 16%, var(--stk-face));
  color: var(--stk-primary);
}

.gp-chips li.gp-live::before {
  content: "● ";
}

.gp-chips li[hidden] {
  display: none;
}

.gp-hub-head {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.gp-hub {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 360px), 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.gp-hub-card {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 12px;
  align-items: center;
  padding: 12px;
  border-radius: var(--stk-r);
  border: 1.5px solid var(--stk-ink);
  background: var(--stk-face);
  box-shadow: var(--stk-shadow-tile);
}

.gp-hub-art svg {
  display: block;
  width: 100%;
  height: auto;
}

.gp-hub-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  min-width: 0;
}

.gp-hub-text h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 21px;
}

.gp-hub-text h2 a {
  color: var(--stk-ink);
  text-decoration: none;
}

.gp-hub-text p {
  margin: 0;
  color: var(--stk-ink-soft);
  font-size: 15px;
}

.gp-hub-actions {
  display: flex;
  align-items: center;
  gap: 4px;
}

.gp-hub-actions {
  flex-wrap: wrap;
}

@media (max-width: 480px) {
  .gp-hub-card {
    grid-template-columns: 84px 1fr;
    gap: 10px;
    padding: 10px;
  }
}

/* #282 tips are never shown inside the Google Play app (the head script sets the class) */
.in-play-app [data-tip] {
  display: none !important;
}

/* #151 legal pages (/privacy, /terms, /impressum) and their footer links */
.gp-foot-legal {
  margin-top: 6px;
}

.gp-legal {
  max-width: 720px;
  gap: 6px;
  line-height: 1.55;
}

.gp-legal h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(28px, 6vw, 38px);
  line-height: 1.15;
}

.gp-legal-section h2 {
  margin: 18px 0 6px;
  font-family: var(--font-display);
  font-size: 21px;
}

.gp-legal-section h3 {
  margin: 14px 0 4px;
  font-size: 16px;
}

.gp-legal-section p,
.gp-legal-section ul {
  margin: 0 0 8px;
}

.gp-legal-section ul {
  padding-left: 20px;
}

.gp-legal-section li + li {
  margin-top: 4px;
}

.gp-legal a {
  color: var(--stk-primary);
  font-weight: 600;
  overflow-wrap: anywhere;
}

.gp-legal-basis {
  color: var(--stk-ink-soft);
  font-size: 14px;
}

.gp-legal-contact {
  padding: 12px 14px;
  border: var(--stk-bw) solid var(--stk-ink);
  border-radius: var(--r-md);
  background: var(--stk-face);
}

.gp-pending {
  padding: 0 4px;
  border-radius: 4px;
  background: #ffe58a;
  color: #3a2a00;
  font-weight: 700;
}

/* sticker press */
.gp-logo:active:not(:disabled),
.gp-play:active:not(:disabled),
.gp-step-no:active:not(:disabled) {
  transform: translateY(3px);
  box-shadow: 0 0 0 var(--stk-ink);
}

@media (hover: hover) {
  .gp-logo:hover:not(:disabled),
  .gp-play:hover:not(:disabled),
  .gp-step-no:hover:not(:disabled) {
    transform: translateY(-1px);
    box-shadow: var(--stk-shadow-hover);
  }
}
