/* The Casino: play-money poker, blackjack, slots, mines and roulette.
   Shared by Bulldog Mobile and plausebtw.com (js/casino*.js). Everything is
   scoped to .cz-* and .pk-* classes. The host page sets --cz-accent and
   --cz-font; light and dark follow data-theme on <html>, or the system. */

.cz-root, .cz-stage, .cz-sheet-wrap {
  --cz-accent: #7a0019;
  --cz-accent-2: #c8102e;
  --cz-gold: #ffcc33;
  --cz-bg: #f2f3f5;
  --cz-surface: #ffffff;
  --cz-surface-2: #eceef1;
  --cz-text: #1c1c1e;
  --cz-text-2: #6b6f76;
  --cz-sep: rgba(60, 60, 67, .14);
  --cz-shadow: 0 1px 2px rgba(0, 0, 0, .05), 0 10px 30px rgba(0, 0, 0, .08);
  --cz-felt-1: #149064;
  --cz-felt-2: #0a5c40;
  --cz-felt-3: #06402c;
  --cz-win: #30d158;
  --cz-lose: #ff453a;
  --cz-ease: cubic-bezier(.22, 1, .36, 1);
  --cz-spring: cubic-bezier(.34, 1.56, .64, 1);
  --cz-cw: 52px;
  font-family: var(--cz-font, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif);
  color: var(--cz-text);
  -webkit-tap-highlight-color: transparent;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .cz-root, :root:not([data-theme="light"]) .cz-stage, :root:not([data-theme="light"]) .cz-sheet-wrap {
    --cz-bg: #0b0c0d; --cz-surface: #1c1c1e; --cz-surface-2: #2a2a2d; --cz-text: #f5f5f7; --cz-text-2: #9a9aa0;
    --cz-sep: rgba(255, 255, 255, .1); --cz-shadow: 0 1px 0 rgba(255, 255, 255, .04) inset;
    --cz-felt-1: #0f7a54; --cz-felt-2: #084a33; --cz-felt-3: #042a1d;
  }
}
:root[data-theme="dark"] .cz-root, :root[data-theme="dark"] .cz-stage, :root[data-theme="dark"] .cz-sheet-wrap {
  --cz-bg: #0b0c0d; --cz-surface: #1c1c1e; --cz-surface-2: #2a2a2d; --cz-text: #f5f5f7; --cz-text-2: #9a9aa0;
  --cz-sep: rgba(255, 255, 255, .1); --cz-shadow: 0 1px 0 rgba(255, 255, 255, .04) inset;
  --cz-felt-1: #0f7a54; --cz-felt-2: #084a33; --cz-felt-3: #042a1d;
}
:where(.cz-root, .cz-stage, .cz-sheet-wrap) :where(*, *::before, *::after) { box-sizing: border-box; }
:where(.cz-root, .cz-stage, .cz-sheet-wrap) :where(button, input) { font: inherit; color: inherit; }
:where(.cz-root, .cz-stage, .cz-sheet-wrap) :where(button) { cursor: pointer; -webkit-user-select: none; user-select: none; touch-action: manipulation; }
:where(.cz-root, .cz-stage, .cz-sheet-wrap) :where(svg) { display: block; }
:where(.cz-root, .cz-stage, .cz-sheet-wrap) :where(a) { color: inherit; }
/* The host's toast shows above an open game. */
html.cz-locked .toast { z-index: 1001; bottom: calc(env(safe-area-inset-bottom, 0px) + 96px); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- buttons ---------- */
.cz-btn {
  display: inline-flex; align-items: center; justify-content: center; flex-direction: column; gap: 1px;
  min-height: 50px; padding: 8px 18px; border: 0; border-radius: 14px;
  background: var(--cz-surface-2); color: var(--cz-text); font-weight: 650; font-size: 16px; letter-spacing: -.01em;
  transition: transform .18s var(--cz-ease), background .2s, opacity .2s, box-shadow .2s;
}
.cz-btn small { font-size: 11.5px; font-weight: 500; opacity: .8; }
.cz-btn:active:not(:disabled) { transform: scale(.96); }
.cz-btn:disabled { opacity: .4; cursor: default; }
.cz-go { background: linear-gradient(180deg, var(--cz-accent-2), var(--cz-accent)); color: #fff; box-shadow: 0 6px 18px color-mix(in srgb, var(--cz-accent) 35%, transparent); }
.cz-mini {
  min-width: 40px; height: 34px; padding: 0 11px; border: 0; border-radius: 10px;
  background: var(--cz-surface-2); font-size: 14px; font-weight: 650; transition: transform .15s var(--cz-ease), background .2s;
}
.cz-mini:active { transform: scale(.92); }
.cz-mini.on { background: var(--cz-text); color: var(--cz-surface); }
.cz-icon-btn { width: 40px; height: 40px; border: 0; border-radius: 12px; background: transparent; display: grid; place-items: center; }
.cz-icon-btn svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.cz-icon-btn:active { transform: scale(.9); }
.cz-link { border: 0; background: none; padding: 0; text-decoration: underline; text-underline-offset: 2px; font-weight: 600; }
.cz-chip-btn { display: inline-flex; align-items: center; gap: 7px; height: 36px; padding: 0 14px; border: 0; border-radius: 99px; background: var(--cz-surface); box-shadow: var(--cz-shadow); font-size: 14px; font-weight: 600; }
.cz-chip-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- the disclaimer ---------- */
.cz-gate {
  position: relative; margin: 6px 0 22px; padding: 26px 20px 22px; border-radius: 24px; overflow: hidden;
  background: radial-gradient(120% 80% at 50% 0%, #1a7f5a 0%, #0b4f37 55%, #062b1f 100%); color: #f4fff9;
  box-shadow: 0 20px 50px rgba(6, 43, 31, .35);
}
.cz-gate::before { content: ""; position: absolute; inset: 0; background: repeating-radial-gradient(circle at 50% 0, rgba(255, 255, 255, .03) 0 2px, transparent 2px 9px); pointer-events: none; }
.cz-gate-badge { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 14px; padding: 5px 12px 5px 5px; border-radius: 99px; background: rgba(0, 0, 0, .28); font-size: 13px; }
.cz-gate-badge span { padding: 3px 8px; border-radius: 99px; background: var(--cz-gold); color: #3d2a00; font-weight: 800; font-size: 12px; }
.cz-gate h2 { margin: 0 0 14px; font-size: 26px; line-height: 1.12; letter-spacing: -.02em; }
.cz-gate-list { margin: 0 0 14px; padding: 0; list-style: none; display: grid; gap: 10px; }
.cz-gate-list li { padding: 12px 14px; border-radius: 14px; background: rgba(255, 255, 255, .08); font-size: 14.5px; line-height: 1.45; }
.cz-gate-list b { display: block; margin-bottom: 2px; color: #fff; }
.cz-gate-list a { color: var(--cz-gold); font-weight: 700; }
.cz-gate-legal { margin: 0 0 14px; font-size: 13px; line-height: 1.5; color: rgba(244, 255, 249, .82); }
.cz-gate-legal summary { cursor: pointer; font-weight: 650; color: #fff; padding: 6px 0; }
.cz-gate-legal p { margin: 8px 0; }
.cz-gate-legal a { color: var(--cz-gold); }
.cz-gate-check { display: flex; gap: 12px; align-items: flex-start; padding: 14px; border-radius: 14px; background: rgba(0, 0, 0, .25); font-size: 14.5px; line-height: 1.4; cursor: pointer; }
.cz-gate-check input { flex: none; width: 22px; height: 22px; margin: 0; accent-color: var(--cz-gold); }
.cz-gate-go { width: 100%; margin-top: 14px; background: linear-gradient(180deg, #ffd95a, #f2b705); color: #3d2a00; box-shadow: 0 8px 22px rgba(242, 183, 5, .35); }
.cz-entering .cz-lobby { animation: cz-rise .5s var(--cz-ease) both; }

/* ---------- lobby ---------- */
.cz-lobby { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; margin: 4px 0 24px; }
.cz-wallet {
  position: relative; overflow: hidden; padding: 18px 18px 16px; border-radius: 24px; color: #fff;
  background: linear-gradient(135deg, var(--cz-accent) 0%, var(--cz-accent-2) 55%, #ff8a3d 130%);
  box-shadow: 0 16px 40px color-mix(in srgb, var(--cz-accent) 30%, transparent);
}
.cz-wallet::after { content: ""; position: absolute; right: -40px; top: -40px; width: 170px; height: 170px; border-radius: 50%; border: 18px dashed rgba(255, 255, 255, .14); }
.cz-wallet-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 14px; font-weight: 600; opacity: .95; }
.cz-pill-fake { padding: 3px 9px; border-radius: 99px; background: rgba(0, 0, 0, .22); font-size: 12px; }
.cz-wallet-bal { display: inline-flex; align-items: center; gap: 10px; margin: 6px 0 4px; padding: 0; border: 0; background: none; color: #fff; font-size: 42px; font-weight: 800; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.cz-wallet-bal svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; opacity: .75; stroke-linecap: round; stroke-linejoin: round; }
.cz-wallet-sub { margin: 0; font-size: 13.5px; opacity: .85; position: relative; z-index: 1; }
.cz-games { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.cz-game {
  position: relative; display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-end; gap: 8px;
  min-height: 158px; padding: 14px; border: 0; border-radius: 22px; overflow: hidden; text-align: left; color: #fff;
  background: radial-gradient(130% 100% at 80% 0%, color-mix(in srgb, var(--tint) 55%, #fff 12%) 0%, var(--tint) 55%, color-mix(in srgb, var(--tint) 70%, #000) 100%);
  box-shadow: 0 10px 26px color-mix(in srgb, var(--tint) 30%, transparent);
  transition: transform .25s var(--cz-ease), box-shadow .25s;
}
.cz-game:active { transform: scale(.97); }
@media (hover: hover) { .cz-game:hover { transform: translateY(-3px); box-shadow: 0 16px 34px color-mix(in srgb, var(--tint) 40%, transparent); } }
.cz-game.wide { grid-column: 1 / -1; min-height: 140px; flex-direction: row; align-items: center; justify-content: flex-start; padding: 16px 18px; }
.cz-game-art { width: 96px; height: 72px; flex: none; filter: drop-shadow(0 6px 10px rgba(0, 0, 0, .3)); transition: transform .4s var(--cz-spring); }
.cz-game:hover .cz-game-art { transform: rotate(-4deg) scale(1.06); }
.cz-game.wide .cz-game-art { width: 110px; height: 82px; }
.cz-game-text { display: grid; gap: 2px; }
.cz-game-text b { font-size: 18px; letter-spacing: -.01em; }
.cz-game.wide .cz-game-text b { font-size: 22px; }
.cz-game-text small { font-size: 12.5px; opacity: .85; line-height: 1.3; }
.cz-online { position: absolute; top: 12px; right: 12px; display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 99px; background: rgba(0, 0, 0, .28); font-size: 12px; font-weight: 700; }
.cz-online i, .pk-live i { width: 7px; height: 7px; border-radius: 50%; background: #34ff7a; box-shadow: 0 0 0 0 rgba(52, 255, 122, .7); animation: cz-live 1.8s infinite; }
.cz-fine { margin: 2px 4px; font-size: 12.5px; line-height: 1.5; color: var(--cz-text-2); }
.cz-fine a { font-weight: 650; }
.cz-lobby-tools { display: flex; flex-wrap: wrap; gap: 8px; }

/* ---------- full-screen game ---------- */
html.cz-locked, html.cz-locked body { overflow: hidden; }
.cz-stage {
  position: fixed; inset: 0; z-index: 900; display: flex; flex-direction: column;
  background: var(--cz-bg); color: var(--cz-text);
  padding: env(safe-area-inset-top, 0) env(safe-area-inset-right, 0) 0 env(safe-area-inset-left, 0);
  opacity: 0; transform: translateY(24px) scale(.985); transition: opacity .32s var(--cz-ease), transform .42s var(--cz-ease);
  overscroll-behavior: contain;
}
.cz-stage.open { opacity: 1; transform: none; }
.cz-stage.closing { opacity: 0; transform: translateY(30px) scale(.985); transition-duration: .28s; }
.cz-top { flex: none; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 8px; height: 54px; padding: 0 8px; border-bottom: .5px solid var(--cz-sep); background: color-mix(in srgb, var(--cz-bg) 86%, transparent); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); }
.cz-back { justify-self: start; display: inline-flex; align-items: center; gap: 2px; height: 40px; padding: 0 10px 0 4px; border: 0; border-radius: 12px; background: none; color: var(--cz-accent); font-size: 17px; font-weight: 500; }
.cz-back svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2.3; stroke-linecap: round; stroke-linejoin: round; }
.cz-top-title { margin: 0; font-size: 17px; font-weight: 650; letter-spacing: -.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 46vw; }
.cz-top-right { justify-self: end; display: flex; align-items: center; gap: 2px; }
.cz-bal { display: inline-flex; align-items: center; gap: 7px; height: 34px; padding: 0 12px 0 6px; border: 0; border-radius: 99px; background: var(--cz-surface); box-shadow: var(--cz-shadow); font-weight: 750; font-size: 15px; font-variant-numeric: tabular-nums; }
.cz-bal-chip { width: 22px; height: 22px; border-radius: 50%; background: conic-gradient(var(--cz-gold) 0 12.5%, #fff 0 25%, var(--cz-gold) 0 37.5%, #fff 0 50%, var(--cz-gold) 0 62.5%, #fff 0 75%, var(--cz-gold) 0 87.5%, #fff 0); box-shadow: inset 0 0 0 4px var(--cz-gold), inset 0 0 0 5px rgba(0, 0, 0, .15); }
.cz-bal.up { animation: cz-bump .5s var(--cz-spring); color: var(--cz-win); }
.cz-bal.down { animation: cz-dip .4s var(--cz-ease); }
.cz-house-pill { white-space: nowrap; padding: 6px 11px; border-radius: 99px; background: var(--cz-surface); box-shadow: var(--cz-shadow); font-size: 12.5px; font-weight: 700; color: var(--cz-text-2); }
.cz-body { position: relative; flex: 1; min-height: 0; display: flex; flex-direction: column; overflow-y: auto; overflow-x: hidden; -webkit-overflow-scrolling: touch; width: 100%; max-width: 620px; margin: 0 auto; padding: 12px 14px 0; }
.cz-g-poker .cz-body { max-width: 980px; }
.cz-stage-fine { flex: none; margin: 0; padding: 4px 12px calc(6px + env(safe-area-inset-bottom, 0)); text-align: center; font-size: 11px; color: var(--cz-text-2); }
.cz-controls { position: sticky; bottom: 0; margin: auto -14px 0; padding: 12px 14px 12px; display: grid; gap: 10px; background: linear-gradient(to top, var(--cz-bg) 70%, transparent); }
.cz-actions { display: flex; gap: 8px; }
.cz-actions > .cz-btn { flex: 1; }
.cz-shake { animation: cz-shake .45s; }

/* ---------- bet picker ---------- */
.cz-betbar { display: grid; grid-template-columns: auto 1fr; grid-template-areas: "amt tools" "chips chips"; align-items: center; gap: 10px 12px; padding: 12px; border-radius: 18px; background: var(--cz-surface); box-shadow: var(--cz-shadow); transition: opacity .2s; }
.cz-betbar.locked { opacity: .5; }
.cz-bet-amt { grid-area: amt; display: grid; line-height: 1.1; }
.cz-bet-amt small { font-size: 11.5px; color: var(--cz-text-2); font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }
.cz-bet-amt b { font-size: 22px; font-weight: 800; font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.cz-bet-amt b.pop { animation: cz-bump .35s var(--cz-spring); }
.cz-bet-tools { grid-area: tools; justify-self: end; display: flex; gap: 6px; }
.cz-chiprow { grid-area: chips; display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding: 2px; margin: -2px; }
.cz-chiprow::-webkit-scrollbar { display: none; }
.cz-chipbtn { flex: none; padding: 0; border: 0; background: none; border-radius: 50%; transition: transform .18s var(--cz-spring); }
.cz-chipbtn:active, .cz-chipbtn.tap { transform: translateY(-4px) scale(1.05); }
.cz-chipbtn.on .cz-chip { box-shadow: 0 0 0 3px var(--cz-bg), 0 0 0 5px var(--cz-gold), 0 6px 12px rgba(0, 0, 0, .3); transform: translateY(-3px); }
.cz-chip {
  --c: #e9e9ee; --e: #fff; --t: #1c1c1e;
  position: relative; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%;
  background: repeating-conic-gradient(var(--e) 0 10deg, var(--c) 10deg 45deg);
  box-shadow: inset 0 0 0 4px var(--c), inset 0 0 0 5.5px rgba(255, 255, 255, .5), 0 3px 6px rgba(0, 0, 0, .25); transition: transform .2s, box-shadow .2s;
}
.cz-chip span { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--c); border: 1.5px dashed rgba(255, 255, 255, .7); color: var(--t); font-size: 12.5px; font-weight: 850; letter-spacing: -.03em; }
.c-w { --c: #f2f2f5; --e: #3a7bd5; --t: #1c1c1e; }
.c-r { --c: #d8263a; --e: #fff; --t: #fff; }
.c-g { --c: #1f9a5a; --e: #fff; --t: #fff; }
.c-k { --c: #26262a; --e: #e8e8ea; --t: #fff; }
.c-p { --c: #7d3cc8; --e: #ffd84d; --t: #fff; }
.c-y { --c: #f2b705; --e: #fff; --t: #3d2a00; }
.c-o { --c: #ff7a1a; --e: #1c1c1e; --t: #1c1c1e; }
.cz-stack { display: inline-flex; align-items: center; gap: 5px; padding: 2px 8px 2px 3px; border-radius: 99px; background: rgba(0, 0, 0, .42); color: #fff; font-size: 12.5px; font-weight: 750; white-space: nowrap; font-variant-numeric: tabular-nums; }
.cz-stack-chips { position: relative; width: 18px; height: 18px; }
.cz-stack-chips i { position: absolute; left: 0; bottom: calc(var(--i) * 2.5px); width: 18px; height: 18px; border-radius: 50%; background: repeating-conic-gradient(var(--e) 0 14deg, var(--c) 14deg 45deg); box-shadow: inset 0 0 0 3px var(--c), 0 1px 1px rgba(0, 0, 0, .4); }
.cz-stack.pot { font-size: 14px; }

/* ---------- cards ---------- */
.cz-card {
  position: relative; display: inline-block; flex: none; width: var(--cz-cw); aspect-ratio: 5 / 7; border-radius: calc(var(--cz-cw) * .12);
  background: linear-gradient(160deg, #ffffff 0%, #f3f3f1 100%); color: #1c1c1e;
  box-shadow: 0 1px 0 rgba(255, 255, 255, .8) inset, 0 2px 4px rgba(0, 0, 0, .18), 0 8px 18px rgba(0, 0, 0, .16);
  font-family: ui-rounded, "SF Pro Rounded", system-ui, sans-serif; line-height: 1; transition: transform .3s var(--cz-ease), filter .3s, opacity .3s;
}
.cz-card.red { color: #d12d36; }
.cz-corner { position: absolute; top: 7%; left: 9%; display: grid; justify-items: center; gap: 1px; }
.cz-corner b { font-size: calc(var(--cz-cw) * .3); font-weight: 800; letter-spacing: -.05em; }
.cz-corner i { font-style: normal; font-size: calc(var(--cz-cw) * .24); }
.cz-corner.cz-flip { top: auto; left: auto; bottom: 7%; right: 9%; transform: rotate(180deg); }
.cz-pip { position: absolute; inset: 0; display: grid; place-items: center; font-size: calc(var(--cz-cw) * .56); }
.cz-face { display: grid; place-items: center; width: 52%; height: 50%; border-radius: 6px; border: 1.5px solid currentColor; font-size: calc(var(--cz-cw) * .38); font-weight: 800; background: linear-gradient(160deg, rgba(255, 204, 51, .35), rgba(255, 204, 51, .08)); }
.cz-cardback { background: var(--cz-accent); padding: 3px; }
.cz-back-art { position: absolute; inset: 3px; border-radius: calc(var(--cz-cw) * .09); border: 1.5px solid rgba(255, 255, 255, .55);
  background: radial-gradient(circle at 50% 50%, rgba(255, 204, 51, .55) 0 12%, transparent 13%), repeating-linear-gradient(45deg, rgba(255, 255, 255, .14) 0 3px, transparent 3px 8px), repeating-linear-gradient(-45deg, rgba(255, 255, 255, .14) 0 3px, transparent 3px 8px), var(--cz-accent); }
.cz-deal { animation: cz-deal .45s var(--cz-ease) both; animation-delay: calc(var(--i, 0) * 90ms); }
.cz-flipin { animation: cz-flip .55s var(--cz-ease) both; animation-delay: calc(var(--i, 0) * 140ms); }
.cz-card.cz-win { transform: translateY(-6px); box-shadow: 0 0 0 2.5px var(--cz-gold), 0 10px 22px rgba(0, 0, 0, .3); }
.cz-card.cz-dim { filter: brightness(.6) saturate(.6); }

/* ---------- felt ---------- */
.cz-felt { position: relative; border-radius: 26px; background: radial-gradient(120% 90% at 50% 10%, var(--cz-felt-1), var(--cz-felt-2) 60%, var(--cz-felt-3)); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06), inset 0 20px 60px rgba(0, 0, 0, .25), 0 12px 30px rgba(0, 0, 0, .18); color: #eafff4; }
.cz-felt::before { content: ""; position: absolute; inset: 0; border-radius: inherit; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='6' height='6'%3E%3Ccircle cx='1' cy='1' r='.6' fill='%23fff' opacity='.05'/%3E%3C/svg%3E"); pointer-events: none; }
.cz-felt-text { font-family: Georgia, "Times New Roman", serif; font-style: italic; font-size: 15px; color: var(--cz-gold); opacity: .9; }
.cz-felt-sub { font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; opacity: .6; }
.cz-felt-hint { margin: 0; opacity: .7; font-size: 14px; }

/* ---------- banner + confetti ---------- */
.cz-banner { position: absolute; left: 50%; top: 38%; z-index: 50; display: grid; justify-items: center; gap: 2px; padding: 14px 26px; border-radius: 20px; transform: translate(-50%, -50%); background: rgba(10, 12, 11, .82); color: #fff; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 20px 50px rgba(0, 0, 0, .35); pointer-events: none; animation: cz-banner .5s var(--cz-spring) both; text-align: center; }
.cz-banner b { font-size: 26px; letter-spacing: -.02em; }
.cz-banner span { font-size: 15px; font-weight: 650; opacity: .9; font-variant-numeric: tabular-nums; }
.cz-banner.win b { color: var(--cz-gold); }
.cz-banner.lose b { color: #ff8a80; }
.cz-banner.out { animation: cz-banner-out .35s var(--cz-ease) forwards; }
.cz-confetti { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 60; pointer-events: none; }

/* ---------- sheets ---------- */
.cz-sheet-wrap { position: fixed; inset: 0; z-index: 950; display: flex; align-items: flex-end; justify-content: center; background: rgba(0, 0, 0, 0); transition: background .25s; }
.cz-sheet-wrap.open { background: rgba(0, 0, 0, .45); }
.cz-sheet { width: 100%; max-width: 480px; margin: 0; padding: 20px 18px calc(18px + env(safe-area-inset-bottom, 0)); border-radius: 24px 24px 0 0; background: var(--cz-surface); color: var(--cz-text); box-shadow: 0 -10px 40px rgba(0, 0, 0, .25); transform: translateY(100%); transition: transform .35s var(--cz-ease); display: grid; gap: 14px; font-family: var(--cz-font, system-ui); }
@media (min-width: 560px) { .cz-sheet-wrap { align-items: center; } .cz-sheet { border-radius: 24px; transform: translateY(30px) scale(.96); opacity: 0; transition: transform .3s var(--cz-ease), opacity .25s; } .cz-sheet-wrap.open .cz-sheet { opacity: 1; } }
.cz-sheet-wrap.open .cz-sheet { transform: none; }
.cz-sheet h3 { margin: 0; font-size: 20px; letter-spacing: -.01em; }
.cz-sheet-note { margin: -4px 0 0; font-size: 14px; line-height: 1.45; color: var(--cz-text-2); }
.cz-sheet-btns { display: grid; grid-template-columns: 1fr 1.4fr; gap: 8px; }
.cz-field { display: grid; gap: 6px; }
.cz-field small { font-size: 12.5px; font-weight: 650; color: var(--cz-text-2); }
.cz-field input { width: 100%; height: 48px; padding: 0 14px; border: 1.5px solid var(--cz-sep); border-radius: 13px; background: var(--cz-bg); font-size: 17px; outline: none; transition: border-color .2s, box-shadow .2s; }
.cz-field input:focus { border-color: var(--cz-accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--cz-accent) 18%, transparent); }
.cz-money-in { position: relative; display: block; }
.cz-money-in i { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); font-style: normal; font-size: 26px; font-weight: 800; color: var(--cz-text-2); }
.cz-field.big input { height: 64px; padding-left: 38px; font-size: 30px; font-weight: 800; font-variant-numeric: tabular-nums; }
.cz-quick { display: flex; flex-wrap: wrap; gap: 6px; }
.cz-seg { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.cz-seg button { display: grid; justify-items: start; gap: 2px; padding: 12px; border: 1.5px solid var(--cz-sep); border-radius: 14px; background: var(--cz-bg); text-align: left; transition: border-color .2s, background .2s; }
.cz-seg button svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 4px; }
.cz-seg button small { font-size: 12.5px; color: var(--cz-text-2); }
.cz-seg button.on { border-color: var(--cz-accent); background: color-mix(in srgb, var(--cz-accent) 9%, var(--cz-bg)); }

/* ---------- blackjack ---------- */
.cz-bj { flex: 1; min-height: 380px; display: grid; grid-template-rows: auto auto 1fr; gap: 10px; padding: 16px 12px 18px; --cz-cw: clamp(54px, 15vw, 76px); }
.cz-bj-row { display: grid; justify-items: center; gap: 8px; }
.cz-bj-label { font-size: 13px; font-weight: 650; letter-spacing: .06em; text-transform: uppercase; opacity: .8; }
.cz-bj-label b { display: inline-grid; place-items: center; min-width: 26px; height: 22px; margin-left: 6px; padding: 0 7px; border-radius: 99px; background: rgba(0, 0, 0, .35); font-size: 13px; letter-spacing: 0; }
.cz-hand { display: flex; justify-content: center; min-height: calc(var(--cz-cw) * 1.4); }
.cz-hand .cz-card + .cz-card { margin-left: calc(var(--cz-cw) * -.42); }
.cz-bj-mid { display: grid; justify-items: center; gap: 3px; padding: 6px 0; border-block: 1px solid rgba(255, 204, 51, .22); }
.cz-bj-hands { display: flex; flex-wrap: wrap; justify-content: center; align-items: flex-end; gap: 14px; }
.cz-bj-hand { display: grid; justify-items: center; gap: 8px; padding: 8px; border-radius: 16px; transition: background .3s, transform .3s var(--cz-ease); }
.cz-bj-hands:has(.cz-bj-hand + .cz-bj-hand) { --cz-cw: clamp(44px, 11vw, 60px); }
.cz-bj-hand.active { background: rgba(255, 204, 51, .12); box-shadow: inset 0 0 0 1.5px rgba(255, 204, 51, .5); }
.cz-bj-tag { display: grid; justify-items: center; line-height: 1.2; }
.cz-bj-tag b { padding: 3px 11px; border-radius: 99px; background: rgba(0, 0, 0, .38); font-size: 14px; }
.cz-bj-tag span { margin-top: 3px; font-size: 12px; opacity: .8; }
.cz-bj-hand.win .cz-bj-tag b { background: var(--cz-win); color: #032b10; }
.cz-bj-hand.lose .cz-bj-tag b { background: rgba(255, 69, 58, .85); }
.cz-bj-hand.push .cz-bj-tag b { background: rgba(255, 255, 255, .25); }
.cz-wait-dots { flex: 1; display: flex; justify-content: center; align-items: center; gap: 6px; height: 50px; }
.cz-wait-dots i { width: 8px; height: 8px; border-radius: 50%; background: var(--cz-text-2); animation: cz-dot 1s infinite; }
.cz-wait-dots i:nth-child(2) { animation-delay: .15s; } .cz-wait-dots i:nth-child(3) { animation-delay: .3s; }

/* ---------- slots ---------- */
.cz-slots { flex: 1; display: grid; align-content: start; gap: 12px; }
.cz-slot-head { display: grid; justify-items: center; gap: 2px; padding-top: 4px; }
.cz-slot-title { font-size: 28px; font-weight: 900; letter-spacing: -.02em; background: linear-gradient(180deg, #ffe27a, #f2a900 60%, #c97800); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 2px 0 rgba(0, 0, 0, .25)); }
.cz-slot-sub { font-size: 12.5px; color: var(--cz-text-2); font-weight: 600; }
.cz-machine { position: relative; padding: 14px; border-radius: 28px; background: linear-gradient(180deg, #8a0c22, #5a0414); box-shadow: inset 0 2px 0 rgba(255, 255, 255, .2), 0 18px 40px rgba(90, 4, 20, .35); }
.cz-machine::before { content: ""; position: absolute; inset: 6px; border-radius: 22px; border: 2px dotted rgba(255, 220, 120, .75); pointer-events: none; animation: cz-bulbs 1.2s steps(2) infinite; }
.cz-reels { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; aspect-ratio: 1 / 1; margin: 0 auto; width: 100%; max-width: min(360px, 38vh); }
.cz-reel { position: relative; overflow: hidden; border-radius: 14px; background: linear-gradient(180deg, #d9d9de, #fff 18%, #fff 82%, #d9d9de); box-shadow: inset 0 6px 10px rgba(0, 0, 0, .25), inset 0 -6px 10px rgba(0, 0, 0, .25); }
.cz-strip { will-change: transform; }
.cz-sym { height: var(--sym, 100px); display: grid; place-items: center; padding: 14%; }
.cz-sym svg { width: 100%; height: 100%; filter: drop-shadow(0 3px 2px rgba(0, 0, 0, .18)); }
.cz-reel.spinning .cz-sym svg { filter: blur(2px); }
.cz-reel.land { animation: cz-land .3s var(--cz-spring); }
.cz-sym.hit { animation: cz-hit 1s ease-in-out infinite; }
.cz-paylines { position: absolute; top: 14px; left: 50%; transform: translateX(-50%); width: min(calc(100% - 28px), 360px, 38vh); aspect-ratio: 1 / 1; pointer-events: none; }
.cz-paylines polyline { fill: none; stroke: transparent; stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.cz-paylines polyline.on { stroke: rgba(255, 204, 51, .9); filter: drop-shadow(0 0 4px #ffcc33); animation: cz-line 1.1s ease-in-out infinite; }
.cz-win-meter { min-height: 34px; margin-top: 8px; display: flex; align-items: center; justify-content: center; gap: 10px; color: #ffe9a8; font-weight: 700; }
.cz-win-meter b { font-size: 24px; color: #ffd84d; text-shadow: 0 0 12px rgba(255, 204, 51, .6); animation: cz-bump .5s var(--cz-spring); }
.cz-win-meter span { font-size: 14px; opacity: .85; }

/* Slot modes: Classic, Super (2× cost, ×1 to ×5) and Ultra (5× cost, ×2 to ×25). */
.cz-slot-title em { margin-left: 8px; font-style: normal; font-size: .62em; letter-spacing: .04em; text-transform: uppercase; vertical-align: .3em; }
.cz-slot-modes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; margin: 10px 0 12px; padding: 4px; border-radius: 16px; background: var(--cz-surface-2); }
.cz-slot-modes button { display: grid; gap: 1px; justify-items: center; padding: 7px 4px; border-radius: 12px; color: var(--cz-text); transition: background .25s, color .25s, box-shadow .25s, transform .2s var(--cz-spring); }
.cz-slot-modes button b { font-size: 15px; }
.cz-slot-modes button small { font-size: 11.5px; color: var(--cz-text-2); font-weight: 600; }
.cz-slot-modes button:active { transform: scale(.96); }
.cz-slot-modes button:disabled { opacity: .55; }
.cz-slot-modes button.on { background: var(--cz-surface); box-shadow: 0 1px 3px rgba(0, 0, 0, .12); }
.cz-slot-modes button.on[data-slot-mode="super"] { background: linear-gradient(135deg, #0a84ff, #5e5ce6); color: #fff; box-shadow: 0 4px 16px rgba(10, 132, 255, .45); }
.cz-slot-modes button.on[data-slot-mode="ultra"] { background: linear-gradient(135deg, #bf5af2, #ff2d95 55%, #ff9f0a); color: #fff; box-shadow: 0 4px 20px rgba(255, 45, 149, .5); }
.cz-slot-modes button.on small { color: rgba(255, 255, 255, .85); }
.cz-slot-modes button.on[data-slot-mode="classic"] small { color: var(--cz-text-2); }
.cz-slots-super .cz-machine { background: linear-gradient(180deg, #1747c9, #0b1f6e); box-shadow: inset 0 2px 0 rgba(255, 255, 255, .25), 0 0 0 2px rgba(100, 210, 255, .5), 0 18px 44px rgba(10, 80, 255, .45); }
.cz-slots-super .cz-machine::before { border-color: rgba(140, 220, 255, .85); }
.cz-slots-super .cz-slot-title { background-image: linear-gradient(180deg, #bfefff, #5ac8fa 55%, #0a84ff); }
.cz-slots-ultra .cz-machine { background: linear-gradient(160deg, #3a0a6b, #14001f 55%, #4a0630); box-shadow: inset 0 2px 0 rgba(255, 255, 255, .2), 0 0 0 2px rgba(255, 45, 149, .6), 0 0 34px rgba(191, 90, 242, .55), 0 18px 50px rgba(120, 0, 90, .5); animation: cz-ultra-glow 2.4s ease-in-out infinite; }
.cz-slots-ultra .cz-machine::before { border-color: rgba(255, 140, 220, .9); animation-duration: .5s; }
.cz-slots-ultra .cz-slot-title { background-image: linear-gradient(90deg, #ff9f0a, #ff2d95, #bf5af2, #5ac8fa, #ff9f0a); background-size: 200% 100%; animation: cz-ultra-text 3s linear infinite; }
@keyframes cz-ultra-glow { 50% { box-shadow: inset 0 2px 0 rgba(255, 255, 255, .2), 0 0 0 2px rgba(90, 200, 250, .7), 0 0 46px rgba(255, 45, 149, .6), 0 18px 50px rgba(120, 0, 90, .5); } }
@keyframes cz-ultra-text { to { background-position: 200% 0; } }
.cz-mult { position: absolute; top: -14px; right: 14px; z-index: 3; display: grid; justify-items: center; min-width: 64px; padding: 4px 10px 5px; border-radius: 14px; background: #111; color: #fff; box-shadow: 0 6px 16px rgba(0, 0, 0, .35), 0 0 0 1.5px rgba(255, 255, 255, .25); }
.cz-mult[hidden] { display: none; }
.cz-mult small { font-size: 9.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; opacity: .7; }
.cz-mult b { font-size: 20px; line-height: 1.05; font-variant-numeric: tabular-nums; }
.cz-slots-super .cz-mult { background: linear-gradient(135deg, #0a84ff, #5e5ce6); }
.cz-slots-ultra .cz-mult { background: linear-gradient(135deg, #bf5af2, #ff2d95); }
.cz-mult.rolling b { animation: cz-mult-roll .25s linear infinite; }
.cz-mult.landed { animation: cz-bump .5s var(--cz-spring); }
.cz-mult.hot { background: linear-gradient(135deg, #ffd60a, #ff9f0a 50%, #ff2d55); box-shadow: 0 0 24px rgba(255, 204, 51, .8), 0 0 0 2px #fff; }
@keyframes cz-mult-roll { 50% { opacity: .35; transform: translateY(-2px); } }
.cz-spin small { display: block; font-size: 12px; font-weight: 600; opacity: .85; }
.cz-actions > .cz-instant { flex: 0 0 auto; display: grid; justify-items: center; align-content: center; gap: 1px; min-width: 74px; padding: 6px 10px; font-size: 12px; font-weight: 700; color: var(--cz-text-2); transition: background .2s, color .2s, box-shadow .2s; }
.cz-instant svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linejoin: round; }
.cz-instant.on { color: #1c1c1e; background: linear-gradient(180deg, #ffe066, #ffc300); box-shadow: 0 0 0 1.5px #e0a800 inset, 0 4px 14px rgba(255, 195, 0, .45); }
.cz-instant.on svg { fill: currentColor; }
@media (prefers-reduced-motion: reduce) { .cz-slots-ultra .cz-machine, .cz-slots-ultra .cz-slot-title, .cz-mult.rolling b { animation: none; } }
.cz-paytable { border-radius: 16px; background: var(--cz-surface); box-shadow: var(--cz-shadow); padding: 4px 14px; font-size: 14px; }
.cz-paytable summary { padding: 10px 0; font-weight: 650; cursor: pointer; }
.cz-paytable ul { list-style: none; margin: 0; padding: 0 0 6px; display: grid; gap: 6px; }
.cz-paytable li { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.cz-pt-syms, .cz-pt-txt { display: inline-flex; align-items: center; gap: 4px; }
.cz-pt-syms svg, .cz-pt-txt svg { width: 26px; height: 26px; }
.cz-paytable p { margin: 4px 0 10px; color: var(--cz-text-2); font-size: 12.5px; line-height: 1.45; }
.cz-spin { font-size: 19px; letter-spacing: .02em; }

/* ---------- mines ---------- */
.cz-mines { flex: 1; display: grid; align-content: start; gap: 12px; }
.cz-mines-hud { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.cz-mines-hud div { display: grid; gap: 1px; padding: 8px 12px; border-radius: 16px; background: var(--cz-surface); box-shadow: var(--cz-shadow); }
.cz-mines-hud small { font-size: 11px; font-weight: 650; color: var(--cz-text-2); text-transform: uppercase; letter-spacing: .04em; }
.cz-mines-hud b { font-size: 18px; font-weight: 800; font-variant-numeric: tabular-nums; }
.cz-mines-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 7px; padding: 10px; border-radius: 22px; background: linear-gradient(160deg, #2b2d42, #1b1c2b); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), 0 14px 30px rgba(27, 28, 43, .35); max-width: min(440px, 46vh); width: 100%; margin: 0 auto; }
.cz-tile { position: relative; aspect-ratio: 1; padding: 0; border: 0; border-radius: 14px; background: linear-gradient(180deg, #4a4d6b, #3a3c56); box-shadow: inset 0 -4px 0 rgba(0, 0, 0, .25), inset 0 1px 0 rgba(255, 255, 255, .12); transition: transform .18s var(--cz-ease), background .25s, opacity .3s; }
.cz-mines-grid.live .cz-tile:not(.open):hover { background: linear-gradient(180deg, #5b5f82, #46496a); transform: translateY(-2px); }
.cz-mines-grid.live .cz-tile:not(.open):active { transform: scale(.92); }
.cz-tile:disabled { cursor: default; }
.cz-tile-in { position: absolute; inset: 12%; display: grid; place-items: center; }
.cz-tile-in svg { width: 100%; height: 100%; }
.cz-tile.open { background: #15161f; box-shadow: inset 0 2px 6px rgba(0, 0, 0, .5); }
.cz-tile.open .cz-tile-in { animation: cz-pop .4s var(--cz-spring); }
.cz-tile.gem.open:not(.dim) { background: radial-gradient(circle, rgba(48, 209, 88, .25), #15161f 70%); }
.cz-tile.mine.boom { background: radial-gradient(circle, #ff453a, #8a1010 75%); animation: cz-shake .4s; }
.cz-tile.dim { opacity: .45; }
.cz-mines-count { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; padding: 8px 10px; border-radius: 16px; background: var(--cz-surface); box-shadow: var(--cz-shadow); }
.cz-mines-count label { font-weight: 700; font-size: 14px; }
.cz-stepper { display: flex; align-items: center; gap: 6px; }
.cz-stepper output { min-width: 74px; text-align: center; font-size: 16px; white-space: nowrap; font-weight: 800; font-variant-numeric: tabular-nums; }
.cz-mines-count .cz-quick { gap: 4px; flex-wrap: nowrap; }
.cz-mines-count .cz-quick .cz-mini { min-width: 34px; padding: 0 8px; }
.cz-cash { background: linear-gradient(180deg, #34d465, #1f9a4a); box-shadow: 0 6px 18px rgba(31, 154, 74, .35); }
.cz-cash:not(:disabled) { animation: cz-glow 1.6s ease-in-out infinite; }

/* ---------- roulette ---------- */
.cz-rl { flex: 1; display: grid; align-content: start; gap: 12px; }
.cz-rl-top { position: sticky; top: -12px; z-index: 4; display: grid; grid-template-columns: minmax(0, 150px) minmax(0, 1fr); gap: 12px; align-items: center; margin: -12px -14px 0; padding: 12px 14px 10px; background: linear-gradient(var(--cz-bg) 85%, transparent); }
.cz-wheel-wrap { position: relative; aspect-ratio: 1; width: 100%; max-width: 280px; justify-self: center; filter: drop-shadow(0 12px 20px rgba(0, 0, 0, .3)); }
.cz-wheel-spin { position: absolute; inset: 0; will-change: transform; }
.cz-wheel { width: 100%; height: 100%; }
.cz-wheel .rim { fill: #3a1d0e; stroke: #c99a3b; stroke-width: 3; }
.cz-wheel .pk-red { fill: #c8102e; } .cz-wheel .pk-black { fill: #1c1c1e; } .cz-wheel .pk-green { fill: #0f8a4f; }
.cz-wheel path { stroke: #c99a3b; stroke-width: .6; }
.cz-wheel text { fill: #fff; font-size: 9px; font-weight: 800; text-anchor: middle; dominant-baseline: middle; font-family: system-ui, sans-serif; }
.cz-wheel .hub-ring { fill: #6b3a1a; stroke: #c99a3b; stroke-width: 2; }
.cz-wheel .hub { fill: url(#none) #b8862e; }
.cz-wheel .hub-spokes rect { fill: #e3c071; }
.cz-wheel .hub-cap { fill: #fff3cf; stroke: #c99a3b; }
.cz-ball-orbit { position: absolute; inset: 0; pointer-events: none; }
.cz-ball { position: absolute; left: 50%; top: 3.5%; width: 6.5%; aspect-ratio: 1; margin-left: -3.25%; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff, #d9d9de 60%, #9a9aa0); box-shadow: 0 1px 3px rgba(0, 0, 0, .5); transition: top .5s var(--cz-ease); }
.cz-ball-orbit.landed .cz-ball { top: 11%; }
.cz-wheel-pointer { position: absolute; left: 50%; top: -6px; width: 0; height: 0; margin-left: -9px; border: 9px solid transparent; border-top: 14px solid var(--cz-gold); filter: drop-shadow(0 2px 2px rgba(0, 0, 0, .4)); }
.cz-rl-side { display: grid; gap: 10px; }
.cz-rl-result { display: grid; justify-items: center; gap: 4px; padding: 12px; border-radius: 18px; background: var(--cz-surface); box-shadow: var(--cz-shadow); }
.cz-rl-result small { font-size: 12px; font-weight: 650; color: var(--cz-text-2); text-transform: uppercase; letter-spacing: .05em; }
.cz-rl-result b { display: grid; place-items: center; width: 62px; height: 62px; border-radius: 50%; font-size: 28px; font-weight: 850; color: #fff; background: #8e8e93; }
.cz-rl-result b.red { background: #c8102e; } .cz-rl-result b.black { background: #1c1c1e; } .cz-rl-result b.green { background: #0f8a4f; }
.cz-rl-result b.pop { animation: cz-bump .55s var(--cz-spring); }
.cz-rl-hist { display: flex; flex-wrap: wrap; gap: 4px; justify-content: center; font-size: 12px; color: var(--cz-text-2); }
.cz-rl-hist span { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; color: #fff; font-weight: 750; font-size: 11px; }
.cz-rl-hist span.new { animation: cz-pop .4s var(--cz-spring); box-shadow: 0 0 0 2px var(--cz-gold); }
.cz-rl-hist .red { background: #c8102e; } .cz-rl-hist .black { background: #2c2c2e; } .cz-rl-hist .green { background: #0f8a4f; }
.cz-rl-board { display: grid; gap: 4px; padding: 10px; border-radius: 22px; background: radial-gradient(120% 90% at 50% 10%, var(--cz-felt-1), var(--cz-felt-2) 70%); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); }
.cz-rl-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; }
.cz-rl-n, .cz-rl-o { position: relative; display: grid; place-items: center; min-height: 36px; padding: 0; border: 0; border-radius: 8px; color: #fff; font-weight: 800; font-size: 15px; transition: transform .12s, box-shadow .2s, filter .2s; }
.cz-rl-n:active, .cz-rl-o:active { transform: scale(.94); }
.cz-rl-n.red { background: #c8102e; } .cz-rl-n.black { background: #1c1c1e; } .cz-rl-n.green { background: #0f8a4f; }
.cz-rl-n.zero { min-height: 40px; border-radius: 12px 12px 8px 8px; }
.cz-rl-o { background: rgba(0, 0, 0, .22); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22); font-size: 13px; }
.cz-rl-cols, .cz-rl-outs { display: grid; gap: 4px; }
.cz-rl-cols, .cz-rl-outs.three { grid-template-columns: repeat(3, 1fr); }
.cz-rl-outs.six { grid-template-columns: repeat(6, 1fr); }
.cz-diamond { width: 16px; height: 16px; transform: rotate(45deg); border-radius: 3px; }
.cz-diamond.red { background: #c8102e; } .cz-diamond.black { background: #1c1c1e; box-shadow: 0 0 0 1px rgba(255, 255, 255, .4); }
.cz-rl-n.win, .cz-rl-o.win { box-shadow: 0 0 0 3px var(--cz-gold), 0 0 18px rgba(255, 204, 51, .7); z-index: 1; animation: cz-bump .5s var(--cz-spring); }
.cz-rl-chip { position: absolute; right: -3px; top: -5px; z-index: 2; min-width: 22px; height: 22px; padding: 0 4px; display: grid; place-items: center; border-radius: 99px; background: var(--cz-gold); color: #3d2a00; font-size: 10.5px; font-weight: 850; box-shadow: 0 0 0 2px #fff, 0 3px 6px rgba(0, 0, 0, .35); }
.cz-rl-chip.drop { animation: cz-drop .3s var(--cz-spring); }
@media (min-width: 700px) {
  .cz-g-roulette .cz-body { max-width: 980px; }
  .cz-rl { grid-template-columns: 300px 1fr; align-items: start; }
  .cz-rl-top { grid-template-columns: 1fr; position: static; margin: 0; padding: 0; background: none; }
  .cz-rl-board { grid-template-columns: 52px 1fr; grid-template-areas: "zero grid" ". cols" ". three" ". six"; }
  .cz-rl-board .zero { grid-area: zero; min-height: 0; border-radius: 12px; }
  .cz-rl-grid { grid-area: grid; grid-template-columns: repeat(12, 1fr); grid-auto-flow: column; grid-template-rows: repeat(3, 1fr); direction: ltr; }
  .cz-rl-grid { transform: scaleY(-1); } .cz-rl-grid .cz-rl-n { transform: scaleY(-1); }
  .cz-rl-grid .cz-rl-n:active { transform: scaleY(-1) scale(.94); }
  .cz-rl-cols { grid-area: cols; grid-template-columns: 1fr; display: none; }
  .cz-rl-outs.three { grid-area: three; } .cz-rl-outs.six { grid-area: six; }
  .cz-rl-n { min-height: 52px; }
}

/* ---------- poker lobby ---------- */
.pk-lobby { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; padding-bottom: 18px; }
.pk-lobby > * { min-width: 0; }
.pk-card { padding: 14px; border-radius: 20px; background: var(--cz-surface); box-shadow: var(--cz-shadow); }
.pk-h { display: flex; align-items: center; gap: 8px; margin: 0 0 10px; font-size: 16px; letter-spacing: -.01em; }
.pk-h svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; color: var(--cz-accent); }
.pk-h small { margin-left: auto; font-size: 12px; font-weight: 600; color: var(--cz-text-2); }
.pk-live { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 650; color: var(--cz-text-2); }
.pk-you-top { display: flex; align-items: center; gap: 12px; }
.pk-av { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--av); color: #fff; font-weight: 800; font-size: 17px; box-shadow: inset 0 -3px 0 rgba(0, 0, 0, .18); }
.pk-av svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.pk-you .pk-av { width: 52px; height: 52px; font-size: 22px; }
.pk-name { flex: 1; display: grid; gap: 3px; }
.pk-name small { font-size: 12px; font-weight: 650; color: var(--cz-text-2); }
.pk-name input { width: 100%; height: 44px; padding: 0 12px; border: 1.5px solid var(--cz-sep); border-radius: 12px; background: var(--cz-bg); font-size: 17px; font-weight: 650; outline: none; }
.pk-name input:focus { border-color: var(--cz-accent); }
.pk-you-rank { margin: 10px 0 0; font-size: 13.5px; color: var(--cz-text-2); }
.pk-you-rank b { color: var(--cz-text); }
.pk-big-btns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.pk-big-btns small { text-align: center; line-height: 1.25; }
.pk-big-btns .cz-btn { min-height: 66px; border-radius: 18px; }
.pk-big-btns .cz-btn span { font-size: 17px; }
.pk-make { background: var(--cz-surface); box-shadow: var(--cz-shadow); }
.pk-code-form { display: flex; gap: 8px; }
.pk-code-form input { flex: 1; min-width: 0; height: 50px; padding: 0 14px; border: 1.5px solid var(--cz-sep); border-radius: 14px; background: var(--cz-bg); font-size: 22px; font-weight: 800; letter-spacing: .32em; text-transform: uppercase; font-family: ui-monospace, "SF Mono", Menlo, monospace; outline: none; }
.pk-code-form input:focus { border-color: var(--cz-accent); }
.pk-code-form input::placeholder { color: var(--cz-text-2); opacity: .45; }
.pk-tables { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.pk-row { width: 100%; display: flex; align-items: center; gap: 12px; padding: 10px; border: 0; border-radius: 14px; background: var(--cz-bg); text-align: left; transition: transform .15s var(--cz-ease), background .2s; }
.pk-row:active { transform: scale(.98); }
@media (hover: hover) { .pk-row:hover { background: var(--cz-surface-2); } }
.pk-row-ic { display: grid; place-items: center; width: 40px; height: 40px; flex: none; border-radius: 12px; background: var(--cz-surface-2); font-size: 20px; color: var(--cz-text-2); }
.pk-row-ic svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.pk-row-ic.house { background: linear-gradient(160deg, #149064, #0a5c40); color: #fff; }
.pk-row-main { flex: 1; min-width: 0; display: grid; gap: 1px; }
.pk-row-main b { font-size: 15.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pk-row-main small { font-size: 12.5px; color: var(--cz-text-2); }
.pk-dots { display: flex; gap: 3px; }
.pk-dots i { width: 7px; height: 16px; border-radius: 3px; background: var(--cz-surface-2); box-shadow: inset 0 0 0 1px var(--cz-sep); }
.pk-dots i.p { background: var(--cz-win); box-shadow: none; }
.pk-dots i.b { background: #8e8e93; box-shadow: none; }
.pk-lb { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.pk-lb li { display: flex; align-items: center; gap: 10px; padding: 7px 4px; border-bottom: .5px solid var(--cz-sep); }
.pk-lb li:last-child { border-bottom: 0; }
.pk-lb .pk-av { width: 32px; height: 32px; font-size: 14px; }
.pk-place { width: 24px; text-align: center; font-weight: 800; color: var(--cz-text-2); font-variant-numeric: tabular-nums; }
.pk-lb li.top1 .pk-place { color: #d4a017; } .pk-lb li.top2 .pk-place { color: #9aa0a6; } .pk-lb li.top3 .pk-place { color: #b87333; }
.pk-lb li.top1 .pk-place::before { content: "👑"; display: block; font-size: 12px; line-height: 1; }
.pk-lb-name { flex: 1; min-width: 0; display: grid; font-weight: 650; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pk-lb-name small { font-size: 11.5px; font-weight: 500; color: var(--cz-text-2); }
.pk-lb b.up { color: var(--cz-win); } .pk-lb b.down { color: var(--cz-lose); }
.pk-lb b { font-variant-numeric: tabular-nums; }
.pk-empty { color: var(--cz-text-2); font-size: 14px; padding: 8px 4px; }
.pk-skel { height: 56px; border-radius: 14px; background: linear-gradient(90deg, var(--cz-bg), var(--cz-surface-2), var(--cz-bg)); background-size: 200% 100%; animation: cz-skel 1.2s infinite; list-style: none; }
.pk-rules summary { cursor: pointer; font-weight: 650; }
.pk-rules ul { margin: 10px 0 0; padding-left: 18px; display: grid; gap: 6px; font-size: 14px; line-height: 1.45; color: var(--cz-text-2); }
.pk-rules b { color: var(--cz-text); }

/* ---------- poker table ---------- */
.cz-g-poker.pk-at-table .cz-body { padding-top: 6px; }
.pk-table-wrap { flex: 1; display: flex; flex-direction: column; gap: 8px; min-height: 0; position: relative; }
.pk-bar { display: flex; align-items: center; gap: 8px; }
.pk-bar-main { flex: 1; min-width: 0; display: flex; align-items: center; gap: 8px; }
.pk-bar-main b { display: none; font-size: 15px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pk-code { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 10px; border: 0; border-radius: 99px; background: var(--cz-surface); box-shadow: var(--cz-shadow); font-family: ui-monospace, "SF Mono", Menlo, monospace; font-weight: 800; letter-spacing: .12em; font-size: 13px; }
.pk-code svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.pk-conn { padding: 4px 10px; border-radius: 99px; background: #ff9f0a; color: #3d2400; font-size: 12px; font-weight: 750; animation: cz-pulse 1.2s infinite; }
.pk-conn[hidden] { display: none; }
.pk-felt {
  position: relative; flex: none; width: 100%; height: min(60vh, 560px); min-height: 400px; margin: 0 auto;
  --cz-cw: clamp(36px, 10.5vw, 54px);
}
.pk-rail { position: absolute; inset: 7% 11% 9%; border-radius: 46% / 32%; background: radial-gradient(100% 80% at 50% 35%, var(--cz-felt-1), var(--cz-felt-2) 60%, var(--cz-felt-3)); box-shadow: 0 0 0 10px #3b2416, 0 0 0 12px #6d4527, 0 0 0 13px rgba(0, 0, 0, .3), inset 0 0 40px rgba(0, 0, 0, .45), 0 18px 40px rgba(0, 0, 0, .35); }
.pk-rail::after { content: ""; position: absolute; inset: 10px; border-radius: inherit; border: 1.5px solid rgba(255, 204, 51, .18); }
.pk-center { position: absolute; left: 50%; top: 47%; transform: translate(-50%, -50%); width: 74%; display: grid; justify-items: center; gap: 8px; z-index: 2; color: #eafff4; }
.pk-pot { min-height: 26px; display: grid; justify-items: center; gap: 3px; text-align: center; }
.pk-pot-in { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; font-size: 15px; font-variant-numeric: tabular-nums; }
.pk-pot-in .cz-stack b { display: none; }
.pk-pot small { font-size: 11.5px; opacity: .8; }
.pk-wait { font-size: 13.5px; opacity: .85; max-width: 240px; line-height: 1.35; }
.pk-board { display: flex; gap: 5px; --cz-cw: clamp(38px, 11vw, 58px); }
.pk-slot { width: var(--cz-cw); aspect-ratio: 5 / 7; border-radius: calc(var(--cz-cw) * .12); border: 1.5px dashed rgba(255, 255, 255, .16); }
.pk-log { min-height: 16px; font-size: 12px; opacity: .75; text-align: center; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pk-seats { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.pk-seat { position: absolute; transform: translate(-50%, -50%); display: grid; justify-items: center; pointer-events: auto; transition: left .5s var(--cz-ease), top .5s var(--cz-ease); }
.pk-seat.s0 { left: 50%; top: 93%; } .pk-seat.s1 { left: 12%; top: 71%; } .pk-seat.s2 { left: 12%; top: 29%; }
.pk-seat.s3 { left: 50%; top: 7%; } .pk-seat.s4 { left: 88%; top: 29%; } .pk-seat.s5 { left: 88%; top: 71%; }
.pk-plate { position: relative; display: flex; align-items: center; gap: 7px; padding: 4px 10px 4px 4px; border-radius: 99px; background: rgba(12, 14, 13, .82); color: #fff; box-shadow: 0 6px 16px rgba(0, 0, 0, .35), inset 0 0 0 1px rgba(255, 255, 255, .08); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); min-width: 92px; max-width: 132px; transition: transform .3s var(--cz-spring), box-shadow .3s, opacity .3s; }
.pk-plate .pk-av { width: 34px; height: 34px; font-size: 15px; position: relative; z-index: 1; }
.pk-who { display: grid; min-width: 0; line-height: 1.15; }
.pk-who b { font-size: 12.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pk-bot { font-style: normal; font-size: 9.5px; padding: 0 4px; border-radius: 4px; background: rgba(255, 255, 255, .18); vertical-align: 1px; }
.pk-stack { font-size: 12px; font-weight: 750; color: var(--cz-gold); font-variant-numeric: tabular-nums; }
.pk-ring { position: absolute; left: 1px; top: 50%; width: 40px; height: 40px; margin-top: -20px; border-radius: 50%; z-index: 0; opacity: 0; transition: opacity .2s; background: conic-gradient(var(--cz-win) calc(var(--p) * 360deg), rgba(255, 255, 255, .12) 0); -webkit-mask: radial-gradient(circle, transparent 17px, #000 17.5px); mask: radial-gradient(circle, transparent 17px, #000 17.5px); }
.pk-ring.low { background: conic-gradient(var(--cz-lose) calc(var(--p) * 360deg), rgba(255, 255, 255, .12) 0); }
.pk-seat.turn .pk-ring { opacity: 1; }
.pk-seat.turn .pk-plate { transform: scale(1.07); box-shadow: 0 0 0 2px var(--cz-win), 0 10px 24px rgba(0, 0, 0, .4); }
.pk-seat.folded .pk-plate, .pk-seat.out .pk-plate { opacity: .55; }
.pk-seat.winner .pk-plate { box-shadow: 0 0 0 2.5px var(--cz-gold), 0 0 26px rgba(255, 204, 51, .55); animation: cz-bump .6s var(--cz-spring); }
.pk-seat.me .pk-plate { background: color-mix(in srgb, var(--cz-accent) 70%, #000); }
.pk-hole { display: flex; margin-bottom: -10px; position: relative; z-index: 0; --cz-cw: clamp(24px, 7vw, 34px); }
.pk-hole .cz-card + .cz-card { margin-left: calc(var(--cz-cw) * -.45); transform: rotate(8deg); }
.pk-hole .cz-card:first-child { transform: rotate(-6deg); }
.pk-hole .cz-card.cz-win { transform: translateY(-4px); }
.pk-hole .cz-corner b { font-size: calc(var(--cz-cw) * .36); }
.pk-hole .cz-pip { font-size: calc(var(--cz-cw) * .5); top: 18%; }
.pk-seat.folded .pk-hole { opacity: 0; transform: translateY(-8px) scale(.8); transition: .3s; }
.pk-say, .pk-badge, .pk-hand-name { position: absolute; top: calc(100% + 3px); white-space: nowrap; padding: 2px 8px; border-radius: 99px; font-size: 11px; font-weight: 750; background: rgba(255, 255, 255, .92); color: #1c1c1e; box-shadow: 0 3px 8px rgba(0, 0, 0, .25); animation: cz-pop .35s var(--cz-spring); }
.pk-say.raise { background: #ffcc33; color: #3d2a00; } .pk-say.fold { background: rgba(60, 60, 67, .9); color: #fff; } .pk-say.won { background: var(--cz-win); color: #032b10; }
.pk-badge { background: rgba(255, 159, 10, .95); color: #3d2400; }
.pk-hand-name { top: auto; bottom: calc(100% + 2px); background: var(--cz-gold); color: #3d2a00; z-index: 4; }
.pk-seat.s0 .pk-say, .pk-seat.s0 .pk-badge { top: auto; bottom: calc(100% + 4px); }
.pk-dealer { position: absolute; right: -6px; top: -6px; z-index: 3; display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: #fff; color: #1c1c1e; font-size: 11px; font-weight: 900; box-shadow: 0 2px 5px rgba(0, 0, 0, .35), inset 0 0 0 2px #d9d9de; }
.pk-bet { position: absolute; z-index: 2; animation: cz-pop .3s var(--cz-spring); }
.pk-seat.s0 .pk-bet { bottom: calc(100% + 26px); } .pk-seat.s3 .pk-bet { top: calc(100% + 24px); }
.pk-seat.s1 .pk-bet, .pk-seat.s2 .pk-bet { left: calc(100% - 18px); top: 50%; transform: translate(8px, -50%); }
.pk-seat.s4 .pk-bet, .pk-seat.s5 .pk-bet { right: calc(100% - 18px); top: 50%; transform: translate(-8px, -50%); }
.pk-seat.s1 .pk-bet { top: -6px; } .pk-seat.s5 .pk-bet { top: -6px; } .pk-seat.s2 .pk-bet { top: 110%; } .pk-seat.s4 .pk-bet { top: 110%; }
.pk-seat.empty { pointer-events: auto; }
.pk-sit { width: 58px; height: 58px; border-radius: 50%; border: 2px dashed rgba(255, 255, 255, .5); background: rgba(0, 0, 0, .3); color: #fff; font-weight: 750; font-size: 13px; transition: transform .2s var(--cz-spring), background .2s; }
.pk-sit:active { transform: scale(.9); }
@media (hover: hover) { .pk-sit:hover { background: rgba(255, 204, 51, .25); border-color: var(--cz-gold); } }
.pk-empty-ring { display: block; width: 40px; height: 40px; border-radius: 50%; border: 1.5px dashed rgba(255, 255, 255, .22); }
.pk-fly { position: absolute; inset: 0; z-index: 5; pointer-events: none; }
.pk-flying { position: absolute; left: 0; top: 0; margin: -11px 0 0 -26px; transition: transform .55s var(--cz-ease), opacity .55s; }
.pk-react { position: absolute; left: 6px; bottom: 100%; font-size: 30px; animation: cz-float 1.8s var(--cz-ease) forwards; pointer-events: none; z-index: 6; }
.pk-me { display: flex; align-items: center; justify-content: center; gap: 14px; min-height: 0; --cz-cw: clamp(58px, 17vw, 76px); }
.pk-my-cards { display: flex; gap: 0; }
.pk-my-cards .cz-card:first-child { transform: rotate(-5deg) translateX(6px); }
.pk-my-cards .cz-card:last-child { transform: rotate(5deg) translateX(-6px); }
.pk-my-cards .cz-card.cz-win:first-child { transform: rotate(-5deg) translate(6px, -6px); } .pk-my-cards .cz-card.cz-win:last-child { transform: rotate(5deg) translate(-6px, -6px); }
.pk-my-info { display: grid; gap: 2px; }
.pk-my-info b { font-size: 16px; letter-spacing: -.01em; }
.pk-my-info span { font-size: 13px; color: var(--cz-text-2); font-variant-numeric: tabular-nums; }
.pk-actions { position: sticky; bottom: 0; display: flex; gap: 8px; align-items: center; min-height: 58px; padding: 6px 0 8px; background: linear-gradient(to top, var(--cz-bg) 75%, transparent); z-index: 6; }
.pk-actions > .cz-btn { flex: 1; }
.pk-fold { background: var(--cz-surface); box-shadow: var(--cz-shadow); color: var(--cz-lose); }
.pk-call { background: var(--cz-text); color: var(--cz-bg); }
.pk-sit-btn { flex: 1; }
.pk-waiting { flex: 1; text-align: center; font-size: 14px; color: var(--cz-text-2); }
.pk-pre { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 14px; border-radius: 12px; background: var(--cz-surface); box-shadow: var(--cz-shadow); font-size: 14px; font-weight: 650; cursor: pointer; }
.pk-pre input { width: 20px; height: 20px; margin: 0; accent-color: var(--cz-accent); }
.pk-raise { position: absolute; left: 0; right: 0; bottom: 62px; z-index: 7; }
.pk-raise[hidden] { display: none; }
.pk-raise-in { display: grid; gap: 10px; padding: 14px; border-radius: 20px; background: var(--cz-surface); box-shadow: 0 -6px 30px rgba(0, 0, 0, .2), 0 0 0 .5px var(--cz-sep); animation: cz-rise .28s var(--cz-ease); }
.pk-raise-top { display: flex; align-items: center; justify-content: space-between; }
.pk-raise-top b { font-size: 22px; font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.pk-presets { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.pk-presets .cz-mini { padding: 0 4px; font-size: 13px; }
.pk-slider { display: flex; align-items: center; gap: 8px; }
.pk-slider input { flex: 1; accent-color: var(--cz-accent); height: 32px; }
.pk-react-tray { position: absolute; right: 0; bottom: 64px; z-index: 8; display: flex; gap: 4px; padding: 6px; border-radius: 99px; background: var(--cz-surface); box-shadow: 0 10px 30px rgba(0, 0, 0, .25); }
.pk-react-tray[hidden] { display: none; }
.pk-react-tray button { width: 40px; height: 40px; border: 0; border-radius: 50%; background: none; font-size: 22px; transition: transform .15s var(--cz-spring); }
.pk-react-tray button:active { transform: scale(1.3); }
.pk-menu { position: fixed; right: 12px; top: calc(env(safe-area-inset-top, 0px) + 108px); z-index: 960; min-width: 230px; padding: 6px; border-radius: 16px; background: var(--cz-surface); box-shadow: 0 16px 40px rgba(0, 0, 0, .28), 0 0 0 .5px var(--cz-sep); animation: cz-menu .22s var(--cz-ease); display: grid; }
.pk-menu button { display: flex; align-items: center; gap: 10px; padding: 11px 12px; border: 0; border-radius: 10px; background: none; text-align: left; font-size: 15px; }
.pk-menu button svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.pk-menu button:hover, .pk-menu button:focus-visible { background: var(--cz-surface-2); outline: none; }
.pk-menu button.danger { color: var(--cz-lose); }
@media (min-width: 720px) {
  .pk-felt { height: min(64vh, 560px); --cz-cw: 50px; }
  .pk-rail { inset: 12% 8% 14%; border-radius: 50% / 46%; }
  .pk-center { top: 48%; width: 60%; }
  .pk-board { --cz-cw: 60px; }
  .pk-seat.s0 { left: 50%; top: 92%; } .pk-seat.s1 { left: 13%; top: 78%; } .pk-seat.s2 { left: 13%; top: 22%; }
  .pk-seat.s3 { left: 50%; top: 7%; } .pk-seat.s4 { left: 87%; top: 22%; } .pk-seat.s5 { left: 87%; top: 78%; }
  .pk-plate { max-width: 170px; padding-right: 14px; }
  .pk-hole { --cz-cw: 38px; }
  .pk-me { --cz-cw: 78px; }
  .pk-actions { max-width: 620px; width: 100%; margin: 0 auto; }
  .pk-raise { left: 50%; right: auto; width: min(560px, 100%); transform: translateX(-50%); }
}
@media (max-height: 700px) and (max-width: 719px) { .pk-felt { height: 52vh; min-height: 340px; } .pk-me { --cz-cw: 52px; } }

.cz-g-poker .cz-banner { top: 24%; padding: 10px 18px; border-radius: 16px; }
.cz-g-poker .cz-banner b { font-size: 19px; }
.cz-g-poker .cz-banner span { font-size: 13.5px; }
.cz-g-roulette .cz-banner { top: 20%; padding: 10px 20px; }
.cz-g-roulette .cz-banner b { font-size: 21px; }
@media (max-width: 380px) { .cz-house-pill { display: none; } }

/* ---------- animations ---------- */
@keyframes cz-rise { from { opacity: 0; transform: translateY(14px); } }
@keyframes cz-live { 70% { box-shadow: 0 0 0 7px rgba(52, 255, 122, 0); } 100% { box-shadow: 0 0 0 0 rgba(52, 255, 122, 0); } }
@keyframes cz-bump { 0% { transform: scale(1); } 40% { transform: scale(1.12); } 100% { transform: scale(1); } }
@keyframes cz-dip { 40% { transform: translateY(2px) scale(.97); } }
@keyframes cz-shake { 10%, 90% { transform: translateX(-2px); } 20%, 80% { transform: translateX(4px); } 30%, 50%, 70% { transform: translateX(-7px); } 40%, 60% { transform: translateX(7px); } }
@keyframes cz-deal { from { opacity: 0; transform: translate(40px, -120px) rotate(-14deg) scale(.7); } }
@keyframes cz-flip { 0% { opacity: 0; transform: perspective(400px) rotateY(90deg) translateY(-10px); } 60% { opacity: 1; } 100% { transform: perspective(400px) rotateY(0); } }
@keyframes cz-banner { from { opacity: 0; transform: translate(-50%, -30%) scale(.8); } }
@keyframes cz-banner-out { to { opacity: 0; transform: translate(-50%, -70%) scale(.95); } }
@keyframes cz-dot { 0%, 100% { opacity: .3; transform: translateY(0); } 50% { opacity: 1; transform: translateY(-4px); } }
@keyframes cz-land { 0% { transform: translateY(-6px); } 100% { transform: none; } }
@keyframes cz-hit { 50% { transform: scale(1.1); filter: drop-shadow(0 0 10px rgba(255, 204, 51, .9)); } }
@keyframes cz-line { 50% { opacity: .45; } }
@keyframes cz-bulbs { 50% { border-color: rgba(255, 160, 60, .9); } }
@keyframes cz-pop { from { transform: scale(.4); opacity: 0; } }
@keyframes cz-glow { 50% { box-shadow: 0 6px 26px rgba(48, 209, 88, .65); } }
@keyframes cz-drop { from { transform: translateY(-14px) scale(1.4); opacity: 0; } }
@keyframes cz-skel { to { background-position: -200% 0; } }
@keyframes cz-pulse { 50% { opacity: .6; } }
@keyframes cz-float { 0% { opacity: 0; transform: translateY(8px) scale(.6); } 15% { opacity: 1; transform: translateY(-6px) scale(1.15); } 100% { opacity: 0; transform: translateY(-70px) scale(1); } }
@keyframes cz-menu { from { opacity: 0; transform: translateY(-6px) scale(.97); } }
@media (prefers-reduced-motion: reduce) {
  .cz-root *, .cz-stage *, .cz-stage { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
