/* CasinoZ futuristic layer – loaded after modern.css, pairs with js/future.js.
   Remove the future.css <link> in templates/header.php and the future.js <script>
   in templates/footer.php to go back to the plain modern theme. */

:root {
  --cz-cyan: #22d3ee;
  --cz-violet: #8b5cf6;
  --cz-neon: 0 0 12px rgba(34, 211, 238, 0.45), 0 0 28px rgba(139, 92, 246, 0.25);
}

@property --cz-angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}

/* ---------- background: gradients live on <html> so the particle canvas shows through ---------- */
html {
  background:
    radial-gradient(1100px 600px at 15% -10%, rgba(247, 181, 0, 0.10), transparent 60%),
    radial-gradient(900px 600px at 105% 5%, rgba(139, 92, 246, 0.18), transparent 60%),
    radial-gradient(800px 500px at 50% 110%, rgba(34, 211, 238, 0.10), transparent 60%),
    linear-gradient(180deg, #0d1230, #070a17) fixed !important;
}
body { background: transparent !important; }

#cz-fx {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
}

/* perspective neon grid floor */
body::before {
  content: '';
  position: fixed;
  left: -50%;
  right: -50%;
  bottom: -10vh;
  height: 55vh;
  z-index: -2;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(34, 211, 238, 0.22) 1px, transparent 1px),
    linear-gradient(90deg, rgba(34, 211, 238, 0.22) 1px, transparent 1px);
  background-size: 60px 60px;
  transform: perspective(420px) rotateX(62deg);
  transform-origin: center top;
  -webkit-mask-image: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent 85%);
  mask-image: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent 85%);
  animation: cz-grid 6s linear infinite;
  opacity: .55;
}
@keyframes cz-grid { to { background-position: 0 60px, 0 0; } }

/* faint scanlines */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  background: repeating-linear-gradient(180deg, rgba(255, 255, 255, 0.018) 0 1px, transparent 1px 3px);
  mix-blend-mode: overlay;
}

/* ---------- typography ---------- */
h1, h2, h3, .navbar-brand {
  font-family: 'Orbitron', 'Poppins', sans-serif !important;
  letter-spacing: .6px;
}
.navbar-inverse .navbar-brand {
  background: linear-gradient(90deg, var(--cz-gold2), #fff, var(--cz-cyan), var(--cz-gold2));
  background-size: 300% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: cz-flow 8s linear infinite;
  filter: drop-shadow(0 0 8px rgba(247, 181, 0, 0.35));
}
@keyframes cz-flow { to { background-position: 300% 0; } }

/* navbar neon underline */
.navbar-inverse { position: relative; }
.navbar-inverse::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--cz-cyan), var(--cz-gold), var(--cz-violet), transparent);
  background-size: 200% 100%;
  animation: cz-flow 6s linear infinite;
  opacity: .8;
}

/* ---------- hero: rotating neon frame + glowing headline ---------- */
#jumbotronIndex {
  border: 0 !important;
  isolation: isolate;
}
#jumbotronIndex::after {
  content: '';
  position: absolute;
  inset: 0;
  padding: 2px;
  border-radius: inherit;
  background: conic-gradient(from var(--cz-angle), var(--cz-gold), var(--cz-cyan), var(--cz-violet), var(--cz-gold));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  animation: cz-spin 6s linear infinite;
  z-index: 2;
  pointer-events: none;
}
@keyframes cz-spin { to { --cz-angle: 360deg; } }
#jumbotronIndex h2 {
  text-shadow: 0 0 18px rgba(247, 181, 0, 0.45), 0 2px 12px rgba(0, 0, 0, 0.7);
  animation: cz-glow 3.5s ease-in-out infinite alternate;
}
@keyframes cz-glow {
  from { text-shadow: 0 0 10px rgba(247, 181, 0, 0.30), 0 2px 12px rgba(0, 0, 0, 0.7); }
  to   { text-shadow: 0 0 24px rgba(247, 181, 0, 0.65), 0 0 40px rgba(34, 211, 238, 0.25), 0 2px 12px rgba(0, 0, 0, 0.7); }
}

/* ---------- glass + neon on menu, tiles, panels ---------- */
.list-group .list-group-item,
.thumbnail.round-avatar,
.panel, .well, .tab-content, .modal-content, .cz-side-card {
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  background-color: rgba(13, 18, 48, 0.55) !important;
}
.list-group .list-group-item { position: relative; overflow: hidden; }
.list-group .list-group-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 15%;
  bottom: 15%;
  width: 3px;
  border-radius: 3px;
  background: linear-gradient(180deg, var(--cz-cyan), var(--cz-gold));
  opacity: 0;
  transition: opacity .2s ease;
}
.list-group .list-group-item:hover::before { opacity: 1; }
.list-group .list-group-item:hover { box-shadow: var(--cz-neon) !important; }

.thumbnail.round-avatar:hover {
  border-color: rgba(34, 211, 238, 0.6) !important;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.45), var(--cz-neon) !important;
}

/* top-3 leaderboard tiles get a slow rotating gold frame */
.cz-top {
  position: relative;
  border-color: transparent !important;
}
.cz-top::after {
  content: '';
  position: absolute;
  inset: -1px;
  padding: 2px;
  border-radius: inherit;
  background: conic-gradient(from var(--cz-angle), var(--cz-gold), transparent 30%, var(--cz-cyan) 50%, transparent 70%, var(--cz-gold));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  animation: cz-spin 4s linear infinite;
  pointer-events: none;
}

/* ---------- buttons: light sweep ---------- */
.btn-primary, .btn-success, .btn-warning { position: relative; overflow: hidden; }
.btn-primary::after, .btn-success::after, .btn-warning::after {
  content: '';
  position: absolute;
  top: 0;
  left: -60%;
  width: 40%;
  height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.55), transparent);
  transform: skewX(-20deg);
  animation: cz-sweep 4.5s ease-in-out infinite;
  pointer-events: none;
}
@keyframes cz-sweep { 0%, 70% { left: -60%; } 100% { left: 130%; } }
.btn-default:hover { border-color: rgba(34, 211, 238, 0.55) !important; box-shadow: var(--cz-neon); }

/* ---------- inputs ---------- */
.form-control:focus {
  border-color: rgba(34, 211, 238, 0.7) !important;
  box-shadow: 0 0 0 3px rgba(34, 211, 238, 0.15), var(--cz-neon) !important;
}

/* ---------- cards: deal-in and hover lift ---------- */
.poker-card__big, .poker-card__small { animation: cz-deal .45s cubic-bezier(.2, .8, .2, 1.2) both; }
@keyframes cz-deal {
  from { opacity: 0; transform: translateY(-14px) rotateY(80deg) scale(.9); }
  to   { opacity: 1; transform: none; }
}
.poker-card__big { transition: transform .15s ease, box-shadow .15s ease; }
.poker-card__big:hover { transform: translateY(-4px); box-shadow: 0 10px 20px rgba(0, 0, 0, 0.45), 0 0 14px rgba(247, 181, 0, 0.35) !important; }

/* ---------- side promo cards ---------- */
.cz-side-card { position: relative; overflow: hidden; }
.cz-side-card::before {
  content: '';
  position: absolute;
  inset: -40%;
  background: radial-gradient(circle at center, rgba(34, 211, 238, 0.14), transparent 55%);
  animation: cz-drift 12s ease-in-out infinite alternate;
  pointer-events: none;
}
.cz-side-card > * { position: relative; }
@keyframes cz-drift { from { transform: translate(-15%, -10%); } to { transform: translate(15%, 10%); } }

/* ---------- scroll reveal (class added by js/future.js, so nothing hides without JS) ---------- */
.cz-js .cz-reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.cz-js .cz-reveal.cz-in { opacity: 1; transform: none; }

/* ---------- scrollbar ---------- */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: #070a17; }
::-webkit-scrollbar-thumb { background: linear-gradient(180deg, var(--cz-gold), var(--cz-violet)); border-radius: 10px; }

/* ---------- accessibility: no motion if the visitor asked for it ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  #cz-fx { display: none; }
  .cz-js .cz-reveal { opacity: 1; transform: none; }
}

/* ---------- narrow screens: keep the wide Orbitron brand on one line ---------- */
@media (max-width: 767px) {
  .navbar-inverse .navbar-brand {
    font-size: 15px;
    max-width: calc(100vw - 90px);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .navbar-inverse .navbar-brand img { max-height: 24px; }
  #jumbotronIndex h2 { font-size: 20px; letter-spacing: .3px; }
}

/* ---------- poker table: empty card slots and Dealer/Chat tabs ---------- */
.poker-card__big:empty, .poker-card__small:empty:not(.poker-card__small-inverted) {
  background: rgba(255, 255, 255, 0.06) !important;
  border: 1px dashed rgba(255, 255, 255, 0.28) !important;
  box-shadow: none !important;
  animation: none;
}
ul[role="tablist"] > li[role="presentation"] { background: rgba(13, 18, 48, 0.6) !important; }
ul[role="tablist"] > li[role="presentation"] > a { color: var(--cz-muted) !important; background: transparent !important; }
ul[role="tablist"] > li[role="presentation"].active {
  background: rgba(247, 181, 0, 0.12) !important;
  box-shadow: inset 0 -2px 0 var(--cz-gold);
}
ul[role="tablist"] > li[role="presentation"].active > a { color: var(--cz-gold) !important; }

/* ---------- Get BitcoinZ page (bitcoinz.php) ---------- */
.cz-btcz h3 { margin: 28px 0 14px; font-size: 20px; color: #fff; }
.cz-btcz-hero {
  display: flex; gap: 16px; align-items: center;
  padding: 20px; border-radius: 18px;
  background: linear-gradient(120deg, rgba(247, 181, 0, 0.16), rgba(139, 92, 246, 0.14));
  border: 1px solid rgba(247, 181, 0, 0.35);
}
.cz-btcz-hero h2 { margin: 0 0 6px; color: #fff; }
.cz-btcz-hero p { margin: 0; color: var(--cz-text); }
.cz-btcz-hero img { flex: none; filter: drop-shadow(0 0 10px rgba(247, 181, 0, 0.5)); }
.cz-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; }
.cz-step {
  position: relative; padding: 18px 16px 14px; border-radius: 16px;
  background: rgba(13, 18, 48, 0.55); border: 1px solid var(--cz-line);
}
.cz-step b { display: block; color: #fff; font-size: 15px; margin: 6px 0; }
.cz-step p { color: var(--cz-muted); margin: 0; font-size: 13px; line-height: 1.5; }
.cz-step-n {
  display: inline-flex; width: 30px; height: 30px; border-radius: 50%;
  align-items: center; justify-content: center; font-family: 'Orbitron', sans-serif; font-weight: 800;
  color: #1b1400; background: linear-gradient(180deg, var(--cz-gold2), var(--cz-gold));
  box-shadow: 0 0 14px rgba(247, 181, 0, 0.45);
}
.cz-ex-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 12px; }
.cz-ex {
  display: flex; flex-direction: column; gap: 3px; padding: 14px; border-radius: 14px;
  background: rgba(13, 18, 48, 0.55); border: 1px solid var(--cz-line); color: var(--cz-text) !important;
  transition: transform .15s ease, border-color .15s ease, box-shadow .15s ease;
}
a.cz-ex:hover, .cz-ex-app:hover { transform: translateY(-3px); border-color: rgba(34, 211, 238, 0.6); box-shadow: var(--cz-neon); }
.cz-ex b { color: #fff; font-size: 15px; font-family: 'Poppins', sans-serif; }
.cz-ex-type { color: var(--cz-cyan); font-size: 12px; text-transform: uppercase; letter-spacing: .6px; }
.cz-ex-pairs { color: var(--cz-muted); font-size: 13px; }
.cz-ex-app { border-color: rgba(247, 181, 0, 0.4); }
.cz-note { margin-top: 14px; color: var(--cz-muted); font-size: 13px; line-height: 1.6; }
.cz-note code { background: rgba(255, 255, 255, 0.06); color: var(--cz-gold2); border-radius: 6px; padding: 1px 5px; word-break: break-all; }
.cz-facts { padding-left: 0; list-style: none; }
.cz-facts li { position: relative; padding-left: 22px; margin-bottom: 6px; }
.cz-facts li::before { content: ''; position: absolute; left: 4px; top: 8px; width: 8px; height: 8px; border-radius: 50%; background: var(--cz-gold); box-shadow: 0 0 8px var(--cz-gold); }
.cz-links { display: flex; flex-wrap: wrap; gap: 8px; }
.cz-links .btn { margin: 0; }
.cz-btcz > p, .cz-facts li { color: var(--cz-text); line-height: 1.65; }
.cz-btcz > p { margin-bottom: 12px; }
.cz-step strong { color: var(--cz-text); }

/* ---------- Poker lobby (lobby.php + includes/live_games.php) ---------- */
.cz-lobby-head { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end; justify-content: space-between; margin-bottom: 14px; }
.cz-lobby-head h2 { margin: 0 0 4px; color: #fff; }
.cz-lobby-head p { margin: 0; color: var(--cz-muted); max-width: 520px; }
.cz-lobby-legend { color: var(--cz-muted); font-size: 12px; display: flex; align-items: center; gap: 6px; }
.cz-dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-left: 8px; }
.cz-dot-low { background: #22c55e; } .cz-dot-mid { background: var(--cz-cyan); } .cz-dot-high { background: var(--cz-gold); }
.cz-lobby-tips { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 10px; margin-bottom: 18px; }
.cz-lobby-tips span { font-size: 12.5px; color: var(--cz-muted); padding: 10px 12px; border-radius: 12px; background: rgba(13, 18, 48, 0.55); border: 1px solid var(--cz-line); }
.cz-lobby-tips b { color: var(--cz-text); }
.cz-tables { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; }
.cz-tables-loading { color: var(--cz-muted); padding: 30px; text-align: center; }
.cz-table {
  --tier: #22c55e;
  position: relative; display: flex; flex-direction: column; gap: 10px;
  padding: 16px; border-radius: 18px; color: var(--cz-text) !important; text-align: left;
  background:
    radial-gradient(120% 80% at 100% 0%, color-mix(in srgb, var(--tier) 16%, transparent), transparent 60%),
    rgba(13, 18, 48, 0.62);
  border: 1px solid color-mix(in srgb, var(--tier) 35%, transparent);
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.cz-tier-mid { --tier: #22d3ee; }
.cz-tier-high { --tier: #f7b500; }
.cz-table:hover { transform: translateY(-4px); border-color: var(--tier); box-shadow: 0 14px 30px rgba(0, 0, 0, 0.45), 0 0 18px color-mix(in srgb, var(--tier) 35%, transparent); }
.cz-table-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.cz-table-type { font-size: 11px; text-transform: uppercase; letter-spacing: .8px; color: var(--tier); font-weight: 700; }
.cz-table-status { font-size: 11px; padding: 3px 8px; border-radius: 999px; background: rgba(255, 255, 255, 0.07); color: var(--cz-muted); }
.cz-live .cz-table-status { background: rgba(34, 197, 94, 0.16); color: #86efac; }
.cz-live .cz-table-status::before { content: ''; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #22c55e; margin-right: 5px; animation: cz-pulse 1.4s ease-in-out infinite; }
@keyframes cz-pulse { 50% { opacity: .3; } }
.cz-live { box-shadow: 0 0 0 1px rgba(34, 197, 94, 0.25), 0 0 22px rgba(34, 197, 94, 0.12); }
.cz-table-name { font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 16px; color: #fff; line-height: 1.3; }
.cz-table small { display: block; font-size: 11px; color: var(--cz-muted); text-transform: uppercase; letter-spacing: .5px; }
.cz-table-buyin { font-family: 'Orbitron', sans-serif; font-size: 22px; font-weight: 800; color: var(--tier); }
.cz-table-buyin em { font-style: normal; font-size: 12px; color: var(--cz-muted); font-family: 'Inter', sans-serif; }
.cz-table-blinds { display: flex; gap: 18px; font-weight: 600; }
.cz-table-seats { display: flex; align-items: center; gap: 10px; font-size: 12.5px; color: var(--cz-muted); }
.cz-seatbar { flex: 1; height: 6px; border-radius: 6px; background: rgba(255, 255, 255, 0.08); overflow: hidden; }
.cz-seatbar i { display: block; height: 100%; background: linear-gradient(90deg, var(--tier), #fff); border-radius: 6px; }
.cz-table-join {
  margin-top: 2px; text-align: center; padding: 9px; border-radius: 10px; font-weight: 700;
  background: color-mix(in srgb, var(--tier) 18%, transparent); color: #fff;
  border: 1px solid color-mix(in srgb, var(--tier) 45%, transparent);
}
.cz-table:hover .cz-table-join { background: var(--tier); color: #10131f; }

/* ---------- Rankings (rankings.php) ---------- */
.cz-rank-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.cz-rank-head h2 { margin: 0; color: #fff; }
.cz-search { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.cz-search .form-control { width: 220px; }
.cz-search .btn { margin: 0; }
.cz-rank-info, .cz-rank-legend { color: var(--cz-muted); font-size: 12.5px; }
.cz-rank-table td { vertical-align: middle !important; }
.cz-rank-n { display: inline-flex; min-width: 30px; height: 30px; padding: 0 6px; border-radius: 15px; align-items: center; justify-content: center; font-weight: 800; background: rgba(255, 255, 255, 0.06); color: var(--cz-text); }
.cz-rank-1 { background: linear-gradient(180deg, #ffe58a, #f7b500); color: #1b1400; box-shadow: 0 0 14px rgba(247, 181, 0, 0.5); }
.cz-rank-2 { background: linear-gradient(180deg, #f1f5f9, #94a3b8); color: #111827; }
.cz-rank-3 { background: linear-gradient(180deg, #fdba74, #c2410c); color: #1b0a00; }
.cz-rank-table tr.cz-me td { background: rgba(34, 211, 238, 0.09) !important; }
.cz-rank-table tr.cz-me td:first-child { box-shadow: inset 3px 0 0 var(--cz-cyan); }
.cz-give { margin-top: 4px; padding: 3px 10px; border-radius: 8px; border: 1px solid rgba(247, 181, 0, 0.5); background: rgba(247, 181, 0, 0.12); color: var(--cz-gold2); font-size: 12px; font-weight: 600; }
.cz-give:hover { background: var(--cz-gold); color: #1b1400; }
.pagination > li > a, .pagination > li > span { background: rgba(13, 18, 48, 0.6) !important; border-color: var(--cz-line) !important; color: var(--cz-text) !important; }
.pagination > .active > span { background: var(--cz-gold) !important; border-color: var(--cz-gold) !important; color: #1b1400 !important; }

/* ---------- My Player (myplayer.php) ---------- */
.cz-quick { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 22px 0 18px; padding: 14px; border-radius: 16px; background: linear-gradient(120deg, rgba(247, 181, 0, 0.12), rgba(34, 211, 238, 0.08)); border: 1px solid rgba(247, 181, 0, 0.3); }
.cz-quick-bal { margin-right: auto; }
.cz-quick-bal small { display: block; color: var(--cz-muted); font-size: 11px; text-transform: uppercase; letter-spacing: .6px; }
.cz-quick-bal b { font-family: 'Orbitron', sans-serif; font-size: 24px; color: var(--cz-gold2); }
.cz-quick-bal em { font-style: normal; color: var(--cz-muted); margin-left: 4px; }
.cz-quick .btn { margin: 0; }
.tab-content { padding: 18px !important; }
.cz-hist { width: 100%; border-collapse: collapse; }
.cz-hist th { position: sticky; top: 0; background: #11173a; color: var(--cz-muted); font-size: 12px; text-transform: uppercase; letter-spacing: .5px; padding: 9px 10px; }
.cz-hist td { padding: 9px 10px; border-top: 1px solid var(--cz-line); color: var(--cz-text); }
.cz-hist tr:hover td { background: rgba(255, 255, 255, 0.03); }
.cz-st { display: inline-block; padding: 2px 9px; border-radius: 999px; font-size: 12px; font-weight: 600; background: rgba(255, 255, 255, 0.07); color: var(--cz-muted); }
.cz-st-done { background: rgba(34, 197, 94, 0.15); color: #86efac; }
.cz-st-waiting, .cz-st-requested, .cz-st-pending { background: rgba(247, 181, 0, 0.15); color: var(--cz-gold2); }
.cz-st-refused, .cz-st-cancelled, .cz-st-canceled { background: rgba(229, 72, 77, 0.15); color: #fca5a5; }
.cz-help { margin: 0 0 14px; padding-left: 18px; color: var(--cz-muted); font-size: 13px; line-height: 1.7; }
.cz-help b { color: var(--cz-text); }
.cz-ref { display: flex; gap: 8px; max-width: 520px; }
.cz-ref .btn { margin: 0; flex: none; }

/* ---------- FAQ (faq.php) ---------- */
.cz-faq-head { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; }
.cz-faq-head h2 { margin: 0; color: #fff; }
.cz-faq-head .form-control { max-width: 280px; }
.cz-faq-group { margin: 26px 0 10px; font-size: 16px; color: var(--cz-cyan); text-transform: uppercase; letter-spacing: 1px; }
.cz-faq { display: flex; flex-direction: column; gap: 8px; }
.cz-faq details { border-radius: 14px; background: rgba(13, 18, 48, 0.6); border: 1px solid var(--cz-line); transition: border-color .15s ease; }
.cz-faq details[open] { border-color: rgba(247, 181, 0, 0.45); box-shadow: 0 0 16px rgba(247, 181, 0, 0.08); }
.cz-faq summary { cursor: pointer; list-style: none; padding: 14px 44px 14px 16px; font-weight: 600; color: #fff; position: relative; }
.cz-faq summary::-webkit-details-marker { display: none; }
.cz-faq summary::after { content: '+'; position: absolute; right: 16px; top: 50%; transform: translateY(-50%); font-size: 20px; color: var(--cz-gold); transition: transform .2s ease; }
.cz-faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.cz-faq details p { margin: 0; padding: 0 16px 14px; color: var(--cz-text); line-height: 1.65; }

/* ---------- Chess (chess.php) ---------- */
.ch-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 12px; margin: 8px 0 16px; }
.ch-card { padding: 14px; border-radius: 16px; background: rgba(13, 18, 48, 0.6); border: 1px solid var(--cz-line); }
.ch-card small { display: block; color: var(--cz-muted); font-size: 11px; text-transform: uppercase; letter-spacing: .6px; }
.ch-card b { font-family: 'Orbitron', sans-serif; font-size: 24px; color: #fff; }
.ch-card em { font-style: normal; color: var(--cz-muted); font-size: 12px; margin-left: 4px; }
.ch-card.ch-gold { border-color: rgba(247, 181, 0, 0.45); background: linear-gradient(140deg, rgba(247, 181, 0, 0.16), rgba(13, 18, 48, 0.6)); }
.ch-card.ch-gold b { color: var(--cz-gold2); }
.ch-start { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; padding: 16px; border-radius: 16px; margin-bottom: 14px;
  background: linear-gradient(120deg, rgba(34, 211, 238, 0.10), rgba(139, 92, 246, 0.12)); border: 1px solid rgba(34, 211, 238, 0.3); }
.ch-start .btn { margin-left: auto; }
.ch-online { display: flex; align-items: center; gap: 8px; color: var(--cz-text); font-weight: 600; }
.ch-pulse { width: 9px; height: 9px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 10px #22c55e; animation: cz-pulse 1.4s infinite; }
.ch-bal { color: var(--cz-muted); }
.ch-bal b { color: var(--cz-gold2); }
.ch-search { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 26px; margin-bottom: 14px; border-radius: 18px; background: rgba(13, 18, 48, 0.6); border: 1px solid rgba(34, 211, 238, 0.35); }
.ch-search b { color: #fff; font-size: 16px; }
.ch-search > span { color: var(--cz-muted); font-family: 'Orbitron', sans-serif; }
.ch-radar { position: relative; width: 96px; height: 96px; display: flex; align-items: center; justify-content: center; }
.ch-radar span { font-size: 40px; color: var(--cz-gold); text-shadow: 0 0 14px rgba(247, 181, 0, .6); }
.ch-radar i { position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--cz-cyan); opacity: 0; animation: ch-ping 2.4s ease-out infinite; }
.ch-radar i:nth-child(2) { animation-delay: .8s; } .ch-radar i:nth-child(3) { animation-delay: 1.6s; }
@keyframes ch-ping { from { transform: scale(.4); opacity: .9; } to { transform: scale(1.3); opacity: 0; } }

.ch-bar { display: flex; justify-content: space-between; align-items: center; max-width: 560px; margin: 0 auto; padding: 8px 4px; }
.ch-bar b { color: #fff; }
.ch-dot { display: inline-block; width: 12px; height: 12px; border-radius: 50%; margin-right: 8px; vertical-align: -1px; border: 1px solid rgba(255,255,255,.5); }
.ch-dot.white { background: #f8fafc; } .ch-dot.black { background: #111827; }
.ch-status { color: var(--cz-muted); font-size: 13px; margin-left: 6px; }
.ch-clock { font-family: 'Orbitron', sans-serif; font-size: 22px; font-weight: 800; padding: 4px 14px; border-radius: 10px; background: rgba(255,255,255,.06); color: var(--cz-muted); min-width: 92px; text-align: center; }
.ch-clock.on { background: rgba(247, 181, 0, 0.18); color: var(--cz-gold2); box-shadow: 0 0 14px rgba(247, 181, 0, .25); }
.ch-clock.low.on { background: rgba(229, 72, 77, 0.22); color: #fecaca; animation: cz-pulse 1s infinite; }
.ch-board-wrap { position: relative; width: min(560px, 100%); margin: 0 auto; }
.ch-board { display: grid; grid-template-columns: repeat(8, 1fr); aspect-ratio: 1; border-radius: 12px; overflow: hidden;
  box-shadow: 0 0 0 2px rgba(247, 181, 0, .45), 0 18px 40px rgba(0,0,0,.5), 0 0 30px rgba(34, 211, 238, .15); user-select: none; }
.ch-board .sq { position: relative; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.ch-board .lt { background: #d9dfee; } .ch-board .dk { background: #4a5a8c; }
.ch-board .last.lt { background: #f3e39a; } .ch-board .last.dk { background: #b49a3c; }
.ch-board .sel { box-shadow: inset 0 0 0 3px var(--cz-cyan); }
.ch-board .chk { background: radial-gradient(circle, #ff6b6b 0%, #c0262d 70%) !important; }
.ch-board .tgt::after { content: ''; width: 28%; height: 28%; border-radius: 50%; background: rgba(13, 18, 48, .35); }
.ch-board .cap { box-shadow: inset 0 0 0 4px rgba(229, 72, 77, .7); }
.ch-board .pc { font-size: min(8.2vw, 50px); line-height: 1; transition: transform .1s ease; }
.ch-board .sq:hover .pc { transform: scale(1.08); }
.pc.w { color: #fff; text-shadow: 0 0 1px #000, 0 0 2px #000, 0 2px 3px rgba(0,0,0,.6); }
.pc.b { color: #10131f; text-shadow: 0 0 1px #fff, 0 1px 2px rgba(255,255,255,.35); }
.ch-board .rk, .ch-board .fl { position: absolute; font-style: normal; font-size: 10px; font-weight: 700; opacity: .65; color: #10131f; }
.ch-board .rk { top: 2px; left: 3px; } .ch-board .fl { bottom: 1px; right: 4px; }
.ch-board .dk .rk, .ch-board .dk .fl { color: #e2e8f0; }
.ch-promo { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: flex; gap: 6px; padding: 10px; border-radius: 14px; background: rgba(13, 18, 48, .95); border: 1px solid var(--cz-gold); }
.ch-promo .pc { font-size: 46px; cursor: pointer; padding: 0 6px; border-radius: 10px; }
.ch-promo .pc:hover { background: rgba(247, 181, 0, .2); }
.ch-draw { max-width: 560px; margin: 10px auto 0; padding: 10px 14px; border-radius: 12px; background: rgba(247, 181, 0, .14); border: 1px solid rgba(247, 181, 0, .4); color: #fff; }
.ch-draw .btn { margin: 0 0 0 6px; }
.ch-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; max-width: 560px; margin: 12px auto 0; }
.ch-actions .btn { margin: 0; }
.ch-stake { margin-left: auto; color: var(--cz-muted); font-size: 13px; }
.ch-result { position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center; background: rgba(5, 8, 20, .72); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); padding: 16px; }
.ch-result-box { max-width: 420px; width: 100%; text-align: center; padding: 28px 22px; border-radius: 22px; background: #0f1534; border: 1px solid var(--cz-line); box-shadow: 0 30px 80px rgba(0,0,0,.6); }
.ch-result-box h2 { color: #fff; margin: 6px 0 10px; }
.ch-result-box p { color: var(--cz-text); }
.ch-result-box .btn { margin: 6px 4px 0; }
.ch-result-icon { font-size: 64px; color: var(--cz-muted); }
.ch-res-win .ch-result-box { border-color: var(--cz-gold); box-shadow: 0 0 50px rgba(247, 181, 0, .35); }
.ch-res-win .ch-result-icon { color: var(--cz-gold); text-shadow: 0 0 24px rgba(247, 181, 0, .7); animation: cz-glow 1.5s ease-in-out infinite alternate; }
.ch-res-draw .ch-result-icon { color: var(--cz-cyan); }
@media (max-width: 600px) { .ch-start .btn { margin-left: 0; width: 100%; } .ch-clock { font-size: 18px; min-width: 74px; } }
.cz-new { margin-left: 6px; padding: 1px 6px; border-radius: 6px; font-size: 10px; font-weight: 800; letter-spacing: .5px; color: #1b1400; background: linear-gradient(180deg, var(--cz-gold2), var(--cz-gold)); vertical-align: 1px; }
/* chess: every square keeps its size, also on empty ranks */
.ch-board { grid-template-rows: repeat(8, 1fr); }
.ch-board .sq { aspect-ratio: 1 / 1; min-width: 0; min-height: 0; }
/* chess stats */
.ch-stats { margin: 4px 0 18px; padding: 16px; border-radius: 16px; background: rgba(13, 18, 48, 0.6); border: 1px solid var(--cz-line); }
.ch-stats h3 { margin: 0 0 12px; font-size: 16px; color: #fff; }
.ch-stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(95px, 1fr)); gap: 10px; }
.ch-stat-grid > div { padding: 10px; border-radius: 12px; background: rgba(255,255,255,.04); border: 1px solid var(--cz-line); }
.ch-stat-grid small { display: block; font-size: 11px; color: var(--cz-muted); text-transform: uppercase; letter-spacing: .5px; }
.ch-stat-grid b { font-family: 'Orbitron', sans-serif; font-size: 20px; color: #fff; }
.ch-stat-grid .win b { color: #86efac; } .ch-stat-grid .loss b { color: #fca5a5; } .ch-stat-grid .draw b { color: var(--cz-cyan); }
.ch-wlbar { display: flex; height: 8px; margin: 14px 0 8px; border-radius: 8px; overflow: hidden; background: rgba(255,255,255,.07); }
.ch-wlbar i { display: block; height: 100%; transition: width .4s ease; }
.ch-wlbar .w { background: #22c55e; } .ch-wlbar .d { background: var(--cz-cyan); } .ch-wlbar .l { background: #e5484d; }
.ch-stat-sub { color: var(--cz-muted); font-size: 12.5px; margin: 0 0 12px; }
.ch-recent td.pos { color: #86efac; font-weight: 700; } .ch-recent td.neg { color: #fca5a5; font-weight: 700; }
.ch-recent .ch-dot { width: 10px; height: 10px; }
.cz-st.ch-r-win { background: rgba(34, 197, 94, 0.15); color: #86efac; }
.cz-st.ch-r-loss { background: rgba(229, 72, 77, 0.15); color: #fca5a5; }
.cz-st.ch-r-draw { background: rgba(34, 211, 238, 0.15); color: #a5f3fc; }

/* ---------- poker table (poker.php, seats filled by includes/push_poker.php) ---------- */
/* community cards */
.poker-table .poker-card__big { width: 64px; height: 88px; padding: 6px; font-size: 26px; line-height: 26px; }
.poker-table .poker-card__big [class*='icon-'] { font-size: 36px; }
.poker-table .poker-card-parent:not(:last-child) { margin-right: 6px; }
/* hole cards: bigger and fanned */
.poker-table .poker-card__small { width: 36px; height: 50px; padding: 3px; font-size: 15px; line-height: 15px; }
.poker-table .poker-card__small [class*='icon-'] { font-size: 22px; }
.poker-table .poker-card__hand-left { left: -26px; top: 36%; }
.poker-table .poker-card__hand .poker-card:first-child { transform: rotate(-7deg); }
.poker-table .poker-card__hand .poker-card:last-child { transform: rotate(7deg); margin-left: -12px; margin-top: 3px; }
.poker-table .poker-card__small-inverted { box-shadow: 0 3px 8px rgba(0, 0, 0, 0.5) !important; }

/* pot */
.poker-table .card-place .table-name p {
  display: table; margin: 0 auto 8px !important; padding: 4px 14px; border-radius: 999px;
  background: rgba(5, 8, 22, 0.6); border: 1px solid rgba(247, 181, 0, 0.45);
  font-size: 14px; letter-spacing: .4px; text-transform: uppercase; color: var(--cz-muted) !important;
}
.poker-table #tablepot { font-family: 'Orbitron', sans-serif; font-weight: 800; color: var(--cz-gold2); text-transform: none; }
.poker-table #tablepot:empty::after { content: '0'; }

/* name plate under the avatar */
.poker-table .players .player [id$="-info"]:not(:empty) {
  position: relative; z-index: 16; width: auto !important; min-width: 96px; margin: -10px -6px 0;
  padding: 4px 8px 3px; border-radius: 10px;
  background: linear-gradient(180deg, rgba(20, 26, 64, 0.95), rgba(7, 10, 28, 0.95));
  border: 1px solid rgba(247, 181, 0, 0.4); box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}
.poker-table .players .player [id$="-info"] p:first-child { font-size: 12px !important; line-height: 15px !important; margin: 0 !important; color: #fff; white-space: nowrap; }
.poker-table .players .player [id$="-info"] p:last-child { font-size: 13px !important; line-height: 16px !important; font-family: 'Orbitron', sans-serif; font-weight: 800; color: var(--cz-gold2) !important; }
.poker-table .user-photo__game { box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.12), 0 6px 16px rgba(0, 0, 0, 0.55); }

/* player whose turn it is: the move timer is running */
.poker-table .players .player:has(.timer-container[style*="block"]) .user-photo__game {
  box-shadow: 0 0 0 3px var(--cz-gold), 0 0 22px rgba(247, 181, 0, 0.7);
  animation: cz-turn 1.2s ease-in-out infinite alternate;
}
.poker-table .players .player:has(.timer-container[style*="block"]) [id$="-info"] { border-color: var(--cz-gold); }
@keyframes cz-turn { to { box-shadow: 0 0 0 3px var(--cz-gold2), 0 0 32px rgba(247, 181, 0, 0.95); } }

/* last action (FOLD, CALL, RAISE ...) */
.poker-table .players .player [id$="-action"]:not(:empty) {
  position: absolute !important; z-index: 6; left: 50%; top: -14px; transform: translateX(-50%);
  padding: 2px 10px; border-radius: 999px; white-space: nowrap;
  background: rgba(5, 8, 22, 0.85); border: 1px solid var(--cz-cyan, #22d3ee);
  color: #fff !important; font-size: 11px; font-weight: 800; letter-spacing: .6px; text-transform: uppercase;
}

/* bets in front of the players */
.poker-table .mise-chips img { width: 18px; }
.poker-table .mise-value {
  margin-top: 2px; padding: 2px 9px; border-radius: 999px; font-size: 12px; line-height: 14px; font-weight: 700;
  font-family: 'Orbitron', sans-serif; color: var(--cz-gold2);
  background: rgba(5, 8, 22, 0.85); border: 1px solid rgba(247, 181, 0, 0.5);
}

/* free seats */
.poker-table .circle__seat {
  border: 2px dashed rgba(247, 181, 0, 0.45) !important; background: rgba(5, 8, 22, 0.55) !important;
  cursor: pointer; transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.poker-table .circle__seat:hover { transform: scale(1.06); border-color: var(--cz-gold) !important; box-shadow: 0 0 18px rgba(247, 181, 0, 0.45); }
.poker-table .circle__seat p { color: var(--cz-gold2) !important; font-weight: 700; font-size: 11px !important; line-height: 13px; text-align: center; padding: 0 6px; }
.poker-table .circle__seat { animation: cz-seat 2.6s ease-in-out infinite; }
@keyframes cz-seat { 50% { box-shadow: 0 0 14px rgba(247, 181, 0, 0.35); border-color: rgba(247, 181, 0, 0.8) !important; } }

/* action buttons and raise slider */
.controls-section .btn-poker { font-size: 15px !important; font-weight: 700; min-height: 42px; display: flex !important; align-items: center; justify-content: center; gap: 5px; border-radius: 10px; }
.controls-section #sliderMinusBtn, .controls-section #sliderPlusBtn { color: var(--cz-gold) !important; font-size: 24px; cursor: pointer; opacity: 1; }
.controls-section .slider-track { background: rgba(255, 255, 255, 0.12) !important; border-radius: 999px; box-shadow: none !important; }
.controls-section .slider-selection { background: linear-gradient(90deg, var(--cz-gold), var(--cz-gold2)) !important; border-radius: 999px; }
.controls-section .slider-track-high { background: transparent !important; }
.controls-section .slider-handle { background: #fff !important; border: 3px solid var(--cz-gold) !important; box-shadow: 0 0 12px rgba(247, 181, 0, 0.6) !important; }

/* ---------- poker page layout: dealer | table | chat (poker.php) ---------- */
.cz-pk-layout {
  display: grid; gap: 18px; justify-content: center;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); max-width: 800px; margin: 0 auto;
  grid-template-areas: "table table" "left right";
}
.cz-pk-layout > .poker-game-container { grid-area: table; width: 100%; max-width: 800px; float: none; padding: 0 15px; }
.cz-pk-left { grid-area: left; }
.cz-pk-right { grid-area: right; }
.cz-pk-side { display: flex; flex-direction: column; gap: 12px; min-width: 0; height: 420px; }
@media (min-width: 1300px) {
  main.poker-game > .row.container { width: 100% !important; max-width: 1680px; }
  .cz-pk-layout {
    max-width: none; grid-template-columns: minmax(230px, 340px) 800px minmax(260px, 360px);
    grid-template-areas: "left table right";
  }
  .cz-pk-side { height: 600px; margin-top: 20px; }
}
@media (max-width: 767px) {
  .cz-pk-layout { grid-template-columns: minmax(0, 1fr); grid-template-areas: "table" "right" "left"; padding: 0 12px; }
  .cz-pk-side { height: auto; }
  .cz-pk-left .cz-pk-panel { height: 260px; }
  .cz-pk-right .cz-pk-panel { height: 340px; }
}

.cz-pk-panel {
  flex: 1; min-height: 0; display: flex; flex-direction: column; overflow: hidden;
  border-radius: 16px; background: rgba(9, 13, 36, 0.78); border: 1px solid var(--cz-line);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35); backdrop-filter: blur(6px);
}
.cz-pk-head {
  display: flex; align-items: center; gap: 8px; padding: 11px 14px;
  font-family: 'Orbitron', sans-serif; font-weight: 800; font-size: 13px; letter-spacing: 1px; text-transform: uppercase;
  color: var(--cz-gold2); border-bottom: 1px solid var(--cz-line); background: rgba(247, 181, 0, 0.06);
}
.cz-pk-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--cz-gold); box-shadow: 0 0 8px var(--cz-gold); }
.cz-pk-dot--chat { background: var(--cz-cyan); box-shadow: 0 0 8px var(--cz-cyan); }
.cz-pk-chat .cz-pk-head { color: #a5f3fc; background: rgba(34, 211, 238, 0.06); }
.cz-pk-log { flex: 1; min-height: 0; overflow-y: auto; padding: 6px 0; overscroll-behavior: contain; }
.cz-pk-log p { margin: 0; padding: 6px 14px; font-size: 13px; line-height: 1.45; color: var(--cz-text) !important; word-wrap: break-word; }
.cz-pk-log p:nth-child(even) { background: rgba(255, 255, 255, 0.025); }
.cz-pk-log p:last-child { background: rgba(247, 181, 0, 0.07); }
.cz-pk-log span.lighterGreenFont { color: var(--cz-gold2) !important; font-weight: 700; }
.cz-pk-chat .cz-pk-log span.lighterGreenFont { color: #67e8f9 !important; }

.cz-pk-info {
  flex: none; padding: 14px; border-radius: 16px;
  background: linear-gradient(140deg, rgba(247, 181, 0, 0.14), rgba(13, 18, 48, 0.8));
  border: 1px solid rgba(247, 181, 0, 0.4);
}
.cz-pk-info-name { font-family: 'Orbitron', sans-serif; font-weight: 800; font-size: 16px; color: #fff; margin-bottom: 10px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cz-pk-info-tags { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; margin-bottom: 12px; }
.cz-pk-info-tags span { padding: 6px 8px; border-radius: 10px; background: rgba(5, 8, 22, 0.55); color: #fff; font-size: 12px; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cz-pk-info-tags small { display: block; font-size: 10px; font-weight: 500; color: var(--cz-muted); text-transform: uppercase; letter-spacing: .5px; }
.cz-pk-leave {
  display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; padding: 10px;
  border-radius: 12px; font-weight: 700; font-size: 14px; letter-spacing: .4px; color: #ffd2d4 !important; text-decoration: none !important;
  background: linear-gradient(180deg, rgba(229, 72, 77, 0.22), rgba(229, 72, 77, 0.08));
  border: 1px solid rgba(229, 72, 77, 0.55); transition: background .15s ease, box-shadow .15s ease, transform .15s ease;
}
.cz-pk-leave:hover { background: linear-gradient(180deg, rgba(229, 72, 77, 0.4), rgba(229, 72, 77, 0.18)); box-shadow: 0 0 18px rgba(229, 72, 77, 0.45); transform: translateY(-1px); color: #fff !important; }
.cz-pk-leave .icon-exit:before { color: inherit !important; }

.cz-pk-quick { display: flex; flex-wrap: wrap; gap: 6px; padding: 8px 12px 0; border-top: 1px solid var(--cz-line); }
.cz-pk-quick button {
  padding: 3px 10px; border-radius: 999px; font-size: 12px; color: #a5f3fc;
  background: rgba(34, 211, 238, 0.08); border: 1px solid rgba(34, 211, 238, 0.35); transition: background .15s ease;
}
.cz-pk-quick button:hover { background: rgba(34, 211, 238, 0.22); }
.cz-pk-talk { display: flex; gap: 8px; padding: 10px 12px 12px; margin: 0; }
.cz-pk-talk input {
  flex: 1; min-width: 0; height: 40px; padding: 0 14px; border-radius: 999px; color: #fff;
  background: rgba(5, 8, 22, 0.7); border: 1px solid var(--cz-line); outline: none;
}
.cz-pk-talk input:focus { border-color: rgba(34, 211, 238, 0.7); box-shadow: 0 0 0 3px rgba(34, 211, 238, 0.15); }
.cz-pk-talk button {
  flex: none; width: 40px; height: 40px; border-radius: 50%; border: 0; padding: 0;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(180deg, var(--cz-gold2), var(--cz-gold)); box-shadow: 0 0 12px rgba(247, 181, 0, 0.4);
}
.cz-pk-talk button img { width: 18px; filter: brightness(0); }
@media (max-width: 767px) {
  .poker-table .poker-card__big { width: 50px; height: 68px; padding: 4px; font-size: 21px; line-height: 21px; }
  .poker-table .poker-card__big [class*='icon-'] { font-size: 28px; }
  .poker-table .poker-card__small { width: 30px; height: 42px; font-size: 13px; line-height: 13px; }
  .poker-table .poker-card__small [class*='icon-'] { font-size: 18px; }
  .poker-table .players .player [id$="-info"]:not(:empty) { min-width: 0; margin: -8px 4px 0; padding: 2px 4px; }
  .poker-table .players .player [id$="-info"] p:first-child { font-size: 11px !important; overflow: hidden; text-overflow: ellipsis; }
  .poker-table .players .player [id$="-info"] p:last-child { font-size: 11px !important; }
}
@media (max-width: 575px) {
  .poker-table .poker-card__big { width: 40px; height: 54px; font-size: 17px; line-height: 17px; }
  .poker-table .poker-card__big [class*='icon-'] { font-size: 22px; }
  .poker-table .poker-card-parent:not(:last-child) { margin-right: 4px; }
}
@media (max-width: 480px) {
  .poker-table .poker-card__big { width: 32px; height: 44px; padding: 3px; font-size: 14px; line-height: 14px; }
  .poker-table .poker-card__big [class*='icon-'] { font-size: 17px; }
  .poker-table .poker-card__small { width: 22px; height: 31px; padding: 2px; font-size: 10px; line-height: 10px; }
  .poker-table .poker-card__small [class*='icon-'] { font-size: 13px; }
  .poker-table .poker-card__hand-left { left: -8px; }
  .poker-table .players .player [id$="-info"]:not(:empty) { min-width: 70px; padding: 2px 4px; }
  .poker-table .mise-value { font-size: 9px; padding: 1px 6px; }
}

/* ---------- sit out page after leaving a table (sitout.php) ---------- */
.cz-sitout { display: flex; justify-content: center; padding: 30px 16px 50px; }
.cz-sitout-card {
  width: 100%; max-width: 560px; text-align: center; padding: 32px 26px 28px; border-radius: 22px;
  background: linear-gradient(160deg, rgba(247, 181, 0, 0.10), rgba(13, 18, 48, 0.85) 45%, rgba(139, 92, 246, 0.12));
  border: 1px solid rgba(247, 181, 0, 0.35); box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
}
.cz-sitout-card h2 { margin: 14px 0 8px; color: #fff; font-size: 24px; }
.cz-sitout-card h3 { margin: 22px 0 10px; color: var(--cz-muted); font-size: 13px; text-transform: uppercase; letter-spacing: 1px; }
.cz-sitout-lead { color: var(--cz-text); margin: 0 auto; max-width: 420px; line-height: 1.55; }
.cz-sitout-timer { position: relative; width: 150px; height: 150px; margin: 0 auto; }
.cz-sitout-timer svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.cz-sitout-track { fill: none; stroke: rgba(255, 255, 255, 0.08); stroke-width: 9; }
.cz-sitout-ring {
  fill: none; stroke: var(--cz-gold); stroke-width: 9; stroke-linecap: round;
  stroke-dasharray: 326.7; stroke-dashoffset: 0; transition: stroke-dashoffset 1s linear;
}
.cz-sitout-timer::before { content: ''; position: absolute; inset: 6px; border-radius: 50%; box-shadow: 0 0 26px rgba(247, 181, 0, 0.35), inset 0 0 22px rgba(247, 181, 0, 0.18); }
.cz-sitout-num { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.cz-sitout-num span { font-family: 'Orbitron', sans-serif; font-weight: 800; font-size: 42px; line-height: 1; color: var(--cz-gold2); text-shadow: 0 0 18px rgba(247, 181, 0, 0.5); }
.cz-sitout-num small { margin-top: 4px; color: var(--cz-muted); font-size: 11px; text-transform: uppercase; letter-spacing: 2px; }
.cz-sitout-tip {
  margin: 18px auto 0; max-width: 420px; padding: 10px 14px; border-radius: 12px; font-size: 13px; color: var(--cz-muted);
  background: rgba(34, 197, 94, 0.08); border: 1px solid rgba(34, 197, 94, 0.3);
}
.cz-sitout-tip span { display: block; color: #86efac; font-weight: 700; margin-bottom: 2px; }
.cz-sitout-games { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.cz-sitout-games a {
  display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 14px 6px; border-radius: 14px;
  background: rgba(5, 8, 22, 0.55); border: 1px solid var(--cz-line); color: #fff !important; font-size: 13px; font-weight: 600;
  text-decoration: none !important; transition: transform .15s ease, border-color .15s ease, box-shadow .15s ease;
}
.cz-sitout-games a b { font-size: 24px; line-height: 1; }
.cz-sitout-games a:hover { transform: translateY(-3px); border-color: rgba(247, 181, 0, 0.6); box-shadow: 0 0 18px rgba(247, 181, 0, 0.25); }
.cz-sitout-lobby { margin-top: 22px; min-width: 200px; }
@media (max-width: 520px) { .cz-sitout-games { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* "View TX" link in My Player -> deposits */
.cz-tx-btn {
  display: inline-block; padding: 2px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; white-space: nowrap;
  color: #a5f3fc !important; background: rgba(34, 211, 238, 0.1); border: 1px solid rgba(34, 211, 238, 0.35); text-decoration: none !important;
}
.cz-tx-btn:hover { background: rgba(34, 211, 238, 0.25); }
