@import url("https://fonts.googleapis.com/css2?family=Cinzel:wght@500;700&family=Sora:wght@400;500;600&display=swap");

:root {
  --bg: #0b0f0c;
  --bg-2: #121a14;
  --felt: #0f3d2e;
  --felt-deep: #0a2a20;
  --gold: #d4b06a;
  --gold-bright: #f0d9a0;
  --ink: #e8efe9;
  --muted: #9aada0;
  --danger: #c45c4a;
  --line: rgba(212, 176, 106, 0.28);
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  --font-display: "Cinzel", serif;
  --font-body: "Sora", sans-serif;
  --radius: 14px;
}

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

html {
  scroll-behavior: smooth;
  color-scheme: dark;
  min-height: 100%;
  min-height: 100dvh;
}

[hidden] {
  display: none !important;
}

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  font-family: var(--font-body);
  color: var(--ink);
  background:
    radial-gradient(ellipse 90% 60% at 50% -10%, rgba(15, 61, 46, 0.35), transparent 55%),
    radial-gradient(ellipse 70% 50% at 100% 100%, rgba(15, 61, 46, 0.45), transparent 50%),
    linear-gradient(165deg, #050706 0%, #070a08 45%, #040604 100%);
  background-attachment: fixed;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

img {
  max-width: 100%;
  display: block;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  direction: ltr;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.35rem 0.4rem;
  padding: calc(0.4rem + env(safe-area-inset-top)) 0.2rem 0.45rem 0.55rem;
  border-bottom: 1px solid var(--line);
  background: rgba(11, 15, 12, 0.92);
  backdrop-filter: blur(14px);
}

.brand-mark {
  order: 6;
  direction: ltr;
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  margin-left: auto;
  gap: 0.48rem;
  color: #f6f1e6;
  text-decoration: none;
}

.brand-chip {
  width: 2.15rem;
  height: 2.15rem;
  border-radius: 50%;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1;
  color: #123c2a;
  background:
    radial-gradient(circle at 50% 50%, #f8f3e6 0 16%, transparent 17.5%),
    radial-gradient(circle at 50% 50%, transparent 28%, #e4cc96 29% 36%, transparent 37%),
    radial-gradient(circle at 36% 28%, #6ee0ad 0%, #178a56 40%, #0b4e32 66%, transparent 69%),
    repeating-conic-gradient(from 5deg, #f4ead2 0deg 8deg, #115e3c 8deg 20deg);
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.55),
    inset 0 -3px 4px rgba(0, 0, 0, 0.38),
    0 2px 5px rgba(0, 0, 0, 0.4),
    0 0 0 1px #d7b56e;
}

.brand-name {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 0.95;
  font-family: var(--font-body);
  font-weight: 650;
  letter-spacing: 0.22em;
  font-size: 0.72rem;
  color: #f7f4ee;
}

.brand-name em {
  margin-top: 0.16rem;
  font-style: normal;
  font-weight: 500;
  letter-spacing: 0.34em;
  font-size: 0.58rem;
  color: #e4c27a;
}

.nav-links {
  order: 7;
  display: flex;
  flex: 1 1 100%;
  min-width: 0;
  justify-content: space-between;
  align-items: center;
  gap: 0.35rem;
  flex-wrap: nowrap;
  overflow: visible;
}

html[dir="rtl"] .nav-links {
  direction: rtl;
}

.nav-links a {
  flex: 1 1 auto;
  min-width: 0;
  color: #e8f3ea;
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  white-space: nowrap;
  transition: color 0.2s ease;
}

@media (min-width: 1100px) {
  .nav-links {
    order: 4;
    flex: 1 1 auto;
    justify-content: center;
    gap: 0.9rem;
  }

  .nav-links a {
    flex: 0 0 auto;
    font-size: 0.9rem;
  }
}

.nav-links a[data-nav="poker"] {
  font-size: 0.68rem;
  letter-spacing: 0;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--gold-bright);
}

@media (min-width: 1100px) {
  .nav-links a[data-nav="poker"] {
    font-size: 0.82rem;
  }
}

.chip-balance {
  order: 3;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.38rem;
  padding: 0.16rem 0.62rem 0.16rem 0.18rem;
  border: 1px solid rgba(214, 184, 122, 0.62);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(18, 24, 20, 0.88), rgba(7, 10, 8, 0.92));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 4px 10px rgba(0, 0, 0, 0.28);
  color: #d7c29a;
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  line-height: 1.1;
}

.chip-balance::before {
  content: "";
  width: 1.42rem;
  height: 1.42rem;
  border-radius: 50%;
  flex-shrink: 0;
  background:
    radial-gradient(circle at 50% 50%, #f8f3e6 0 18%, transparent 19.5%),
    radial-gradient(circle at 50% 50%, transparent 30%, #e4cc96 31% 40%, transparent 41%),
    radial-gradient(circle at 36% 28%, #6ee0ad 0%, #178a56 42%, #0b4e32 68%, transparent 71%),
    repeating-conic-gradient(from 5deg, #f4ead2 0deg 8deg, #115e3c 8deg 20deg);
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.5),
    inset 0 -2px 3px rgba(0, 0, 0, 0.38),
    0 1px 3px rgba(0, 0, 0, 0.45),
    0 0 0 1px #d7b56e;
}

.chip-balance span {
  color: #f7f4ee;
  font-size: 0.92rem;
  font-weight: 650;
  letter-spacing: 0;
  font-variant-numeric: tabular-nums;
}

.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  place-items: center;
  overflow: hidden;
  isolation: isolate;
}

.hero-visual {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse at 50% 38%, rgba(0, 0, 0, 0.18) 0%, rgba(0, 0, 0, 0.55) 62%, rgba(0, 0, 0, 0.78) 100%),
    url("../img/entrance.jpg") center 42% / cover no-repeat;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 18% 40% at 50% 18%, rgba(255, 214, 140, 0.18), transparent 70%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.28), transparent 22%, transparent 70%, rgba(0, 0, 0, 0.45));
  pointer-events: none;
}

.hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 120px rgba(0, 0, 0, 0.45);
  pointer-events: none;
}

@keyframes breathe {
  0%,
  100% {
    transform: scale(1) rotate(0deg);
    opacity: 0.55;
  }
  50% {
    transform: scale(1.04) rotate(1.5deg);
    opacity: 0.9;
  }
}

.hero-copy {
  text-align: center;
  padding: 5.5rem 1.5rem 2.5rem;
  max-width: 42rem;
}

.hero-brand {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 9vw, 5.5rem);
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--gold-bright);
  text-shadow: 0 0 40px rgba(212, 176, 106, 0.25);
  animation: rise-in 0.9s ease both;
}

/* לוגו בצורת ז׳יטון קזינו */
.hero-chip {
  position: relative;
  width: min(320px, 70vw);
  aspect-ratio: 1 / 1;
  margin: 0 auto 0.55rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  row-gap: 0.12rem;
  background:
    radial-gradient(ellipse 62% 26% at 50% 5%, rgba(255, 255, 255, 0.09), transparent 72%),
    radial-gradient(circle at 32% 22%, rgba(190, 255, 226, 0.16), transparent 46%),
    radial-gradient(circle at 70% 82%, rgba(0, 0, 0, 0.45), transparent 55%),
    repeating-conic-gradient(rgba(255, 255, 255, 0.022) 0deg 5deg, transparent 5deg 10deg),
    radial-gradient(circle, rgba(24, 102, 75, 0.98) 0%, rgba(15, 61, 46, 0.99) 52%, rgba(8, 26, 19, 1) 82%);
  box-shadow:
    0 0 0 2px rgba(255, 226, 160, 0.4),
    0 0 0 4px rgba(16, 66, 50, 0.95),
    0 0 0 13px rgba(212, 176, 106, 0.97),
    0 0 0 15px rgba(126, 92, 38, 0.92),
    0 0 0 17px rgba(255, 226, 160, 0.5),
    0 0 0 22px rgba(11, 15, 12, 0.98),
    0 24px 65px rgba(0, 0, 0, 0.68),
    0 0 95px rgba(212, 176, 106, 0.3),
    inset 0 4px 14px rgba(190, 255, 226, 0.15),
    inset 0 -10px 30px rgba(0, 0, 0, 0.65),
    inset 0 0 52px rgba(0, 0, 0, 0.5);
  animation: rise-in 0.9s ease both;
}

/* פסי הקצה של הז׳יטון */
.hero-chip::before {
  content: "";
  position: absolute;
  inset: -22px;
  border-radius: 50%;
  background:
    radial-gradient(ellipse 60% 32% at 50% 2%, rgba(255, 255, 255, 0.28), transparent 68%),
    radial-gradient(ellipse 60% 32% at 50% 98%, rgba(0, 0, 0, 0.4), transparent 68%),
    repeating-conic-gradient(
      from -9deg,
      #0c4433 0deg 3deg,
      #0f5540 3deg 15deg,
      #0c4433 15deg 18deg,
      #a8813f 18deg 21deg,
      #e4c887 21deg 33deg,
      #f6e3b4 33deg 39deg,
      #c9a45e 39deg 45deg
    );
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 19px), #000 calc(100% - 18px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 19px), #000 calc(100% - 18px));
  filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.45));
  pointer-events: none;
}

/* טבעת פנימית מקווקוות — עם חיתוך של הקטע שעובר על הכיתוב DON CLUB */
.hero-chip::after {
  content: "";
  position: absolute;
  inset: 10%;
  border-radius: 50%;
  border: 2px dashed rgba(212, 176, 106, 0.6);
  box-shadow:
    inset 0 0 24px rgba(0, 0, 0, 0.45),
    0 0 18px rgba(212, 176, 106, 0.12);
  -webkit-mask: radial-gradient(34% 21% at 50% 8%, transparent 97%, #000 100%);
  mask: radial-gradient(34% 21% at 50% 8%, transparent 97%, #000 100%);
  pointer-events: none;
}

/* הבלטת הכיתוב DON CLUB */
.hero-chip .hero-brand {
  display: grid;
  line-height: 0.95;
  font-size: clamp(2.25rem, 7vw, 3.6rem);
  letter-spacing: 0.16em;
  padding-left: 0.16em;
  background: linear-gradient(180deg, #fff3d2 0%, #efd193 45%, #d4b06a 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter:
    drop-shadow(0 2px 1px rgba(0, 0, 0, 0.85))
    drop-shadow(0 6px 14px rgba(0, 0, 0, 0.55))
    drop-shadow(0 0 22px rgba(212, 176, 106, 0.5));
  transform: translateY(22px);
}

.hero-chip .hero-brand span {
  display: block;
}

.hero-chip .hero-tagline {
  position: relative;
  z-index: 1;
  margin: 0;
  max-width: 78%;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: clamp(0.78rem, 2.2vw, 1.02rem);
  letter-spacing: -0.03em;
  line-height: 1.15;
  background: linear-gradient(100deg, #ffffff 0%, #f6e7c4 55%, #d4b06a 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  transform: translateY(6px);
}

.hero-chip.is-lobby {
  width: 148px;
  margin: 1rem 0 0.35rem;
  margin-inline-end: 1.75rem;
  flex-shrink: 0;
}

.lobby-brand {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.hero-chip.is-lobby .hero-brand {
  font-size: 1.05rem;
  letter-spacing: 0.16em;
  transform: none;
}

.hero-chip.is-lobby .hero-aces {
  transform: none;
}

.hero-chip.is-lobby .hero-ace {
  width: 26px;
  height: 36px;
}

.hero-chip.is-lobby .hero-chip-mini {
  width: 34px;
  font-size: 0.72rem;
  transform: none;
}

.hero-chip.is-lobby::before {
  inset: -14px;
}

.lobby-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 1rem;
  align-items: start;
}

@media (max-width: 980px) {
  .lobby-layout {
    grid-template-columns: 1fr;
  }
}

/* זוג אסים בין הכיתוב לז׳יטון — מניפה קלאסית של פוקר */
.hero-aces {
  position: relative;
  display: flex;
  justify-content: center;
  transform: translateY(8px);
  animation: rise-in 0.9s ease 0.1s both;
}

/* בכניסה: שני הקלפים נפתחים מאותה נקודה למטה, כמו מניפה ביד */
.hero-copy .hero-aces {
  display: block;
  width: 124px;
  height: 78px;
  margin: -0.15rem auto -0.2rem;
  transform: none;
  animation: none;
}

.hero-copy .hero-ace,
.hero-copy .hero-ace.red {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 54px;
  height: 74px;
  margin: 0;
  transform-origin: center bottom;
}

.hero-copy .hero-ace {
  z-index: 1;
  transform: translateX(-50%) rotate(20deg);
}

.hero-copy .hero-ace.red {
  z-index: 2;
  transform: translateX(-50%) rotate(-20deg);
}

.hero-copy .hero-ace .ace-corner b {
  font-weight: 700;
  font-size: 0.95rem;
  -webkit-text-stroke: 0.45px currentColor;
}

.hero-copy .hero-ace .ace-corner i {
  font-weight: 700;
  font-size: 0.78rem;
  -webkit-text-stroke: 0.35px currentColor;
}

.hero-copy .hero-ace .ace-pip {
  font-weight: 700;
  font-size: 1.75rem;
  -webkit-text-stroke: 0.7px currentColor;
}

.hero-ace {
  position: relative;
  display: block;
  width: clamp(34px, 9vw, 46px);
  height: clamp(48px, 12.5vw, 64px);
  border-radius: 5px;
  background: linear-gradient(160deg, #ffffff 0%, #efe9dc 100%);
  color: #1a1a1a;
  border: 1px solid rgba(0, 0, 0, 0.2);
  box-shadow:
    0 6px 14px rgba(0, 0, 0, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.85);
  /* הדף ב-RTL — הקלף הראשון (עלה) מימין, לכן הוא נוטה ימינה כדי שהמניפה תיפתח כלפי מעלה */
  transform: rotate(14deg);
  transform-origin: bottom center;
}

.hero-ace.red {
  color: #b42318;
  transform: rotate(-14deg);
  margin-inline-start: calc(clamp(34px, 9vw, 46px) * -0.45); /* חפיפה בין הקלפים — מניפה */
  z-index: 1;
}

/* פינות הקלף — A וסמל למעלה, וזהה הפוך בפינה התחתונה */
.hero-ace .ace-corner {
  position: absolute;
  top: 2px;
  left: 3px;
  display: grid;
  justify-items: center;
  line-height: 1;
}

.hero-ace .ace-corner.flip {
  top: auto;
  left: auto;
  bottom: 2px;
  right: 3px;
  transform: rotate(180deg);
}

.hero-ace .ace-corner b {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(0.62rem, 1.8vw, 0.8rem);
}

.hero-ace .ace-corner i {
  font-style: normal;
  font-size: clamp(0.5rem, 1.45vw, 0.65rem);
}

.hero-ace .ace-pip {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-style: normal;
  font-size: clamp(1.1rem, 3.2vw, 1.5rem);
}

/* ז׳יטון קטן עם ערך 12 מתחת לכיתוב */
.hero-chip-mini {
  position: relative;
  z-index: 1; /* מעל הטבעת המקווקוות — מסתיר רק את הקטע שעובר מאחוריו */
  transform: translateY(6px);
  width: clamp(46px, 12vw, 60px);
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1rem, 3vw, 1.3rem);
  color: var(--gold-bright);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
  background: radial-gradient(circle, rgba(24, 104, 78, 0.98), rgba(10, 26, 20, 0.99) 82%);
  box-shadow:
    0 0 0 3px rgba(212, 176, 106, 0.95),
    0 0 0 5px rgba(11, 15, 12, 0.95),
    0 0 0 9px rgba(11, 24, 19, 0.97),
    0 6px 16px rgba(0, 0, 0, 0.55),
    inset 0 0 10px rgba(0, 0, 0, 0.5);
}

.hero-chip-mini::before {
  content: "";
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  background: repeating-conic-gradient(
    rgba(212, 176, 106, 0.95) 0deg 16deg,
    transparent 16deg 45deg
  );
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 6px), #000 calc(100% - 5px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 6px), #000 calc(100% - 5px));
  pointer-events: none;
}

.hero-chip-mini::after {
  content: "";
  position: absolute;
  inset: 12%;
  border-radius: 50%;
  border: 1px dashed rgba(212, 176, 106, 0.55);
  pointer-events: none;
}

.hero-copy h2 {
  margin: 0.55rem 0 0.35rem;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.15rem, 3vw, 1.55rem);
  letter-spacing: 0.08em;
  animation: rise-in 0.9s ease 0.12s both;
}

.hero-copy p {
  margin: 0 auto 0.9rem;
  max-width: 28rem;
  color: var(--muted);
  line-height: 1.6;
  animation: rise-in 0.9s ease 0.22s both;
}

.gift-note {
  display: inline-block;
  margin: 0 auto 0.85rem;
  padding: 0.45rem 1.1rem;
  border: 1px solid rgba(212, 176, 106, 0.45);
  border-radius: 999px;
  background: rgba(212, 176, 106, 0.12);
  color: var(--gold-bright) !important;
  font-size: 0.95rem;
  letter-spacing: 0.03em;
  animation: rise-in 0.9s ease 0.28s both;
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  animation: rise-in 0.9s ease 0.32s both;
}

@media (max-width: 700px) {
  .hero {
    min-height: calc(100vh - 96px);
    place-items: start center;
  }

  .hero-copy {
    padding-top: 3rem;
  }

  .hero-chip {
    width: min(280px, 62vw);
  }
}

.btn {
  appearance: none;
  border: 1px solid transparent;
  border-radius: 12px;
  padding: 0.72rem 1.2rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  cursor: pointer;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    0 8px 18px rgba(0, 0, 0, 0.28);
  transition: transform 0.16s ease, box-shadow 0.16s ease, filter 0.16s ease, background 0.16s ease;
}

.btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.05);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.28),
    0 14px 26px rgba(0, 0, 0, 0.34);
}

.btn:active {
  transform: translateY(0);
  filter: brightness(0.98);
}

.btn:focus-visible,
.open-table-btn:focus-visible,
.lang-toggle:focus-visible,
.lobby-tab:focus-visible,
.auth-tab:focus-visible {
  outline: 2px solid var(--gold-bright);
  outline-offset: 2px;
}

.btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
  filter: none;
  box-shadow: none;
}

.btn-primary {
  background: linear-gradient(180deg, #f6e4ba 0%, #d4b06a 46%, #a07c3b 100%);
  color: #1a1408;
  border-color: rgba(255, 236, 190, 0.55);
  font-weight: 700;
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(212, 176, 106, 0.38);
  color: var(--gold-bright);
  backdrop-filter: blur(10px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.section {
  padding: 4rem 1.5rem 5rem;
  max-width: 1100px;
  margin: 0 auto;
}

.section h2 {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  letter-spacing: 0.08em;
  font-size: 1.5rem;
  color: var(--gold-bright);
}

.section > p {
  margin: 0 0 1.75rem;
  color: var(--muted);
  max-width: 36rem;
}

.game-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

@media (max-width: 800px) {
  .game-grid {
    grid-template-columns: 1fr;
  }
}

.game-link {
  display: block;
  padding: 1.4rem 1.25rem 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(160deg, rgba(15, 61, 46, 0.35), rgba(11, 15, 12, 0.2)),
    var(--bg-2);
  transition: border-color 0.25s ease, transform 0.25s ease;
}

.game-link:hover {
  border-color: rgba(212, 176, 106, 0.55);
  transform: translateY(-3px);
}

.game-link h3 {
  margin: 0 0 0.4rem;
  font-family: var(--font-display);
  letter-spacing: 0.06em;
  color: var(--gold-bright);
}

.game-link p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

.page-shell {
  max-width: 1100px;
  margin: 0 auto;
  padding: 1.5rem;
}

.page-title {
  margin: 0.5rem 0 0.35rem;
  font-family: var(--font-display);
  letter-spacing: 0.1em;
  color: var(--gold-bright);
}

.page-sub {
  margin: 0 0 1.5rem;
  color: var(--muted);
}

.felt {
  position: relative;
  border-radius: 22px;
  padding: 1.25rem;
  background:
    radial-gradient(ellipse at center, var(--felt) 0%, var(--felt-deep) 70%),
    #0a2a20;
  border: 1px solid rgba(212, 176, 106, 0.22);
  box-shadow: var(--shadow), inset 0 0 80px rgba(0, 0, 0, 0.35);
  overflow: hidden;
}

.tables-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.05rem;
  margin-bottom: 1.25rem;
}

.table-card {
  position: relative;
  display: flex;
  flex-direction: column;
  text-align: start;
  width: 100%;
  padding: 0.7rem 0.7rem 0.9rem;
  border-radius: 22px;
  border: 1px solid rgba(212, 176, 106, 0.18);
  background:
    radial-gradient(circle at 50% 0%, rgba(212, 176, 106, 0.14), transparent 55%),
    linear-gradient(180deg, rgba(22, 28, 26, 0.96), rgba(8, 10, 9, 0.98));
  color: var(--ink);
  cursor: pointer;
  overflow: hidden;
  transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.table-card::before {
  content: "";
  position: absolute;
  inset: 0 22% auto 22%;
  height: 2px;
  border-radius: 0 0 4px 4px;
  background: linear-gradient(90deg, transparent, rgba(212, 176, 106, 0.7), transparent);
  opacity: 0.45;
  transition: opacity 0.25s ease;
}

.table-card:hover,
.table-card.active {
  border-color: var(--gold);
  transform: translateY(-4px);
  box-shadow:
    0 18px 36px rgba(0, 0, 0, 0.48),
    0 0 0 1px rgba(212, 176, 106, 0.28),
    0 0 28px rgba(212, 176, 106, 0.14);
}

.table-card:hover::before,
.table-card.active::before {
  opacity: 1;
}

.table-stage {
  position: relative;
  height: 190px;
  border-radius: 16px;
  background:
    radial-gradient(ellipse 70% 55% at 50% 48%, rgba(255, 220, 160, 0.1), transparent 62%),
    linear-gradient(180deg, #1a1410 0%, #0c0907 100%);
  overflow: hidden;
}

.mini-oval {
  position: absolute;
  inset: 28% 5% 18%;
  border-radius: 50%;
  background:
    radial-gradient(ellipse 140% 60% at 50% -18%, rgba(255, 230, 190, 0.34), transparent 50%),
    linear-gradient(180deg, #7a4e2c 0%, #3e2614 48%, #1a0e07 100%);
  box-shadow:
    0 0 0 3px #c9a35c,
    0 0 0 5px #1a0e08,
    0 16px 22px rgba(0, 0, 0, 0.62),
    inset 0 4px 8px rgba(255, 255, 255, 0.22);
}

.mini-felt {
  position: absolute;
  inset: 10%;
  border-radius: 50%;
  background:
    radial-gradient(ellipse 58% 52% at 50% 38%, #3cb072 0%, #1d7a4c 46%, #0e4a2c 78%, #08321e 100%);
  box-shadow: inset 0 6px 16px rgba(0, 0, 0, 0.5);
}

.mini-felt::after {
  content: "";
  position: absolute;
  inset: 12%;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.08);
  pointer-events: none;
}

.mini-blinds {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.82);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.7);
}

.mini-board {
  position: absolute;
  inset: 0 10% 28%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  z-index: 2;
  pointer-events: none;
}

.mcard {
  display: grid;
  place-items: center;
  width: 18px;
  height: 26px;
  border-radius: 3px;
  background: linear-gradient(160deg, #fff, #ece6d8);
  color: #1a1a1a;
  font-size: 0.52rem;
  font-weight: 800;
  line-height: 1;
  direction: ltr;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.45);
}

.mcard.red { color: #b42318; }
.mcard i { font-style: normal; display: block; font-size: 0.7em; }

.mini-pot {
  position: absolute;
  left: 50%;
  bottom: 16%;
  z-index: 2;
  transform: translateX(-50%);
  padding: 0.12rem 0.45rem;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.55);
  color: #f0d9a0;
  font-size: 0.62rem;
  font-weight: 700;
  white-space: nowrap;
  pointer-events: none;
}

.mini-avatar {
  position: relative;
  width: 30px;
  height: 30px;
  overflow: hidden;
  border-radius: 50%;
  display: grid;
  place-items: end center;
  background: radial-gradient(circle at 50% 80%, #1a2c24, #0c1410 78%);
  border: 2px solid rgba(232, 208, 150, 0.85);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
}

.avatar-face {
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: inherit;
}

.avatar-face img,
.avatar-svg {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 16%;
}

.seat-avatar .avatar-face,
.mini-avatar .avatar-face,
.avatar-option .avatar-face {
  position: absolute;
  inset: 0;
}

.avatar-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin: 0.9rem 0 1.1rem;
}

.avatar-option {
  position: relative;
  width: 68px;
  height: 68px;
  padding: 0;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid rgba(212, 176, 106, 0.4);
  background: #111814;
  cursor: pointer;
}

.avatar-option.is-selected {
  border-color: var(--gold-bright);
  box-shadow: 0 0 0 3px rgba(212, 176, 106, 0.45);
}

.mini-avatar .person {
  width: 26px;
  height: 30px;
  margin-bottom: -3px;
}

.mini-hole {
  display: flex;
  gap: 2px;
  margin-top: 3px;
}

.mini-hole i {
  width: 9px;
  height: 13px;
  border-radius: 2px;
  background:
    repeating-linear-gradient(45deg, #163a2d 0 3px, #0e2820 3px 6px);
  border: 1px solid rgba(212, 176, 106, 0.45);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
}

.mini-seat.acting .mini-avatar {
  border-color: #f0d9a0;
  box-shadow: 0 0 12px rgba(240, 217, 160, 0.7);
}

.theme-noir .mini-felt {
  background: radial-gradient(ellipse 62% 56% at 50% 42%, #3a3f46 0%, #1b1e24 55%, #0c0d10 100%);
}

.theme-oro .mini-felt {
  background: radial-gradient(ellipse 62% 56% at 50% 42%, #b8944a 0%, #7a5c24 55%, #3d2c10 100%);
}

.theme-royale .mini-felt {
  background: radial-gradient(ellipse 62% 56% at 50% 42%, #5a3d8a 0%, #2d1c52 55%, #140c28 100%);
}

.theme-high .mini-felt {
  background: radial-gradient(ellipse 62% 56% at 50% 42%, #4a3a22 0%, #1c140c 55%, #090704 100%);
}

.theme-emerald .mini-felt {
  background: radial-gradient(ellipse 62% 56% at 50% 42%, #1fbf86 0%, #0e7a56 55%, #063a2a 100%);
}

.theme-jade .mini-felt {
  background: radial-gradient(ellipse 62% 56% at 50% 42%, #3cb8a0 0%, #1a6e62 55%, #0b3530 100%);
}

.theme-diamond .mini-felt {
  background: radial-gradient(ellipse 62% 56% at 50% 42%, #7aa0c4 0%, #3a5570 55%, #16202c 100%);
}

.theme-azure .mini-felt {
  background: radial-gradient(ellipse 62% 56% at 50% 42%, #3d92e0 0%, #1a5ea8 55%, #0c335c 100%);
}

.club-table-row.theme-azure .game-badge,
.club-table-row.theme-lagoon .game-badge,
.club-table-row.theme-costa .game-badge,
.club-table-row.theme-reef .game-badge,
.club-table-row.theme-cielo .game-badge,
.club-table-row.theme-marina .game-badge {
  background: #1d7ad6;
}

.club-table-row.theme-high .game-badge,
.club-table-row.theme-royale .game-badge,
.club-table-row.theme-oro .game-badge {
  background: #c9a24a;
  color: #1a1408;
}

.mini-seat {
  position: absolute;
  z-index: 2;
  transform: translate(-50%, -50%);
  display: grid;
  justify-items: center;
}

.mini-seat.occupied {
  animation: seat-idle 2.8s ease-in-out infinite;
  animation-delay: var(--delay, 0s);
}

.mini-chair {
  display: block;
  width: 18px;
  height: 16px;
  border: 2px solid rgba(212, 176, 106, 0.38);
  border-bottom-width: 5px;
  border-radius: 6px 6px 4px 4px;
  background: rgba(255, 255, 255, 0.04);
  box-shadow: 0 4px 0 rgba(0, 0, 0, 0.35);
}

.table-info {
  padding: 0.7rem 0.35rem 0.1rem;
}

.table-card strong {
  display: block;
  font-family: var(--font-display);
  letter-spacing: 0.06em;
  color: var(--gold-bright);
  font-size: 1.08rem;
  margin-bottom: 0.28rem;
}

.table-blinds {
  display: block;
  color: var(--gold-bright);
  font-weight: 600;
  font-size: 0.88rem;
}

.table-seats {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--muted);
  margin-top: 0.1rem;
}

.live-dot {
  width: 0.48rem;
  height: 0.48rem;
  border-radius: 50%;
  background: #3ecf8e;
  box-shadow: 0 0 8px #3ecf8e;
  animation: live-pulse 1.6s ease-in-out infinite;
}

.table-card small {
  color: var(--muted);
  line-height: 1.5;
}

.table-lobby {
  margin-bottom: 1.5rem;
}

.lobby-title {
  margin: 0 0 0.3rem;
  font-family: var(--font-display);
  letter-spacing: 0.08em;
  color: var(--gold-bright);
  font-size: 1.35rem;
}

.lobby-sub {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.enter-tag {
  display: block;
  margin-top: 0.45rem;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 600;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.table-card:hover .enter-tag,
.table-card.active .enter-tag {
  opacity: 1;
}

@keyframes seat-idle {
  0%, 100% { transform: translate(-50%, -50%) translateY(0); }
  50% { transform: translate(-50%, -50%) translateY(-2px); }
}

@keyframes live-pulse {
  50% { opacity: 0.45; box-shadow: 0 0 2px #3ecf8e; }
}

/* דמות שחקן מצוירת — ראש, שיער וכתפיים */
.person {
  --skin: #d7a07a;
  --hair: #2a1c14;
  --shirt: #2d4a6e;
  position: relative;
  display: block;
  width: 28px;
  height: 32px;
  filter: drop-shadow(0 3px 4px rgba(0, 0, 0, 0.45));
}

.person-head {
  position: absolute;
  top: 7px;
  left: 50%;
  z-index: 2;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 30%, rgba(255, 255, 255, 0.28), transparent 42%),
    var(--skin);
  transform: translateX(-50%);
  box-shadow: inset -2px -2px 0 rgba(0, 0, 0, 0.12);
}

.person-head::after {
  content: "";
  position: absolute;
  top: 6px;
  left: 3px;
  width: 2px;
  height: 2px;
  border-radius: 50%;
  background: rgba(40, 24, 16, 0.55);
  box-shadow: 6px 0 0 rgba(40, 24, 16, 0.55);
}

.person-hair {
  position: absolute;
  top: 3px;
  left: 50%;
  z-index: 3;
  width: 16px;
  height: 10px;
  border-radius: 10px 10px 4px 4px;
  background: var(--hair);
  transform: translateX(-50%);
}

.person-body {
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 22px;
  height: 13px;
  border-radius: 11px 11px 5px 5px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.16), transparent 40%),
    var(--shirt);
  transform: translateX(-50%);
}

.person.v0 { --skin: #e3b48a; --hair: #1c120c; --shirt: #2b4d78; }
.person.v1 { --skin: #c6865a; --hair: #3a2418; --shirt: #7a2e3a; }
.person.v1 .person-hair {
  width: 18px;
  height: 16px;
  border-radius: 12px 12px 8px 8px;
  top: 2px;
}
.person.v2 { --skin: #f0c9a8; --hair: #8a4a22; --shirt: #1f6b52; }
.person.v2 .person-hair {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  top: 1px;
}
.person.v3 { --skin: #8d5524; --hair: #120c08; --shirt: #3d3a48; }
.person.v3 .person-hair {
  width: 15px;
  height: 6px;
  top: 6px;
}
.person.v4 { --skin: #d9a574; --hair: #c4a056; --shirt: #6b3a1e; }
.person.v5 { --skin: #f3d0b0; --hair: #241610; --shirt: #4a2d6b; }
.person.v5 .person-hair {
  width: 18px;
  height: 14px;
  border-radius: 14px 8px 10px 6px;
}
.person.v6 { --skin: #b56d42; --hair: #5c2e14; --shirt: #1c5c6e; }
.person.v6 .person-hair {
  width: 18px;
  height: 11px;
  border-radius: 40% 40% 30% 30%;
}
.person.v7 { --skin: #e8be98; --hair: #6e3a22; --shirt: #8a6a2a; }
.person.you .person-body {
  box-shadow: 0 0 0 1px rgba(240, 217, 160, 0.7);
}

.club-lobby-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 0.85rem;
}

.club-lobby-head .lobby-title {
  margin: 0;
  font-size: 1.55rem;
}

.club-lobby-stats {
  display: flex;
  gap: 0.85rem;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 0.82rem;
}

.club-lobby-stats strong {
  color: var(--gold-bright);
  font-variant-numeric: tabular-nums;
}

.club-lobby-tabs {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.15rem;
  margin-bottom: 0.7rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
}

.club-lobby-tabs::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

.lobby-tab {
  appearance: none;
  background: transparent;
  border: 0;
  border-bottom: 2px solid transparent;
  border-radius: 10px 10px 0 0;
  color: var(--muted);
  padding: 0.55rem 0.72rem;
  font: inherit;
  font-size: 0.78rem;
  white-space: nowrap;
  flex: 0 0 auto;
  font-weight: 700;
  letter-spacing: 0.06em;
  cursor: pointer;
  text-decoration: none;
  margin-bottom: -1px;
  transition: color 0.16s ease, background 0.16s ease, border-color 0.16s ease;
}

.lobby-tab.is-active,
.lobby-tab:hover {
  color: #f4fff8;
  background: rgba(255, 255, 255, 0.04);
  border-bottom-color: #3dff8a;
}

.club-lobby-filters {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 0.75rem;
  color: var(--muted);
  font-size: 0.82rem;
}

.filter-check {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  cursor: pointer;
}

.filter-check input {
  accent-color: var(--gold);
}

.club-table-list {
  display: grid;
  gap: 0.55rem;
}

.club-table-row {
  display: flex;
  flex-direction: column;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(3px);
  overflow: hidden;
}

.club-table-row.is-open {
  border-color: rgba(212, 176, 106, 0.45);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
}

.club-table-row.is-link {
  display: flex;
  color: inherit;
  text-decoration: none;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.club-table-row.is-link:hover {
  border-color: var(--gold);
  transform: translateY(-1px);
}

.club-table-main {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  width: 100%;
  padding: 0.62rem 0.75rem 0.62rem 0;
  background: none;
  border: 0;
  color: inherit;
  font: inherit;
  text-align: start;
  cursor: pointer;
}

.game-badge {
  align-self: stretch;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 1.7rem;
  padding: 0.45rem 0;
  border-radius: 0;
  background: #1faa5b;
  color: #f4fff8;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}

.occ-ring {
  --occ: 50;
  position: relative;
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 50%;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  background: conic-gradient(#2adf7a calc(var(--occ) * 1%), #2c312f 0);
}

.occ-ring.is-full {
  background: conic-gradient(#c45c4a calc(var(--occ) * 1%), rgba(255, 255, 255, 0.1) 0);
}

.occ-hole {
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 50%;
  background: #1b1e1c;
  display: grid;
  place-items: center;
  font-size: 0.78rem;
  font-weight: 800;
  color: #f4fff8;
  font-variant-numeric: tabular-nums;
}

.club-table-meta {
  display: grid;
  gap: 0.08rem;
  min-width: 0;
  flex: 1;
}

.club-table-meta strong,
.stake-money {
  color: #fff;
  font-size: 1.28rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
}

.stake-money {
  display: block;
}

.club-table-name {
  color: #d5ddd8;
  font-weight: 600;
  font-size: 0.82rem;
}

.club-table-meta small {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--muted);
  font-size: 0.72rem;
}

.club-table-side {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-inline-start: auto;
  flex-shrink: 0;
}

.club-table-buyin {
  display: grid;
  justify-items: end;
  gap: 0.05rem;
  color: #9aa59e;
  font-size: 0.68rem;
}

.club-table-buyin small {
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.62rem;
}

.club-table-buyin b {
  color: #f0d48a;
  font-size: 1.32rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  font-variant-numeric: tabular-nums;
}

.table-clock {
  width: 1.85rem;
  height: 1.85rem;
  border-radius: 8px;
  background: #1faa5b;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.table-clock::before {
  content: "⏱";
  color: #f4fff8;
  font-size: 0.85rem;
  line-height: 1;
}

.table-expand {
  display: grid;
  justify-items: center;
  gap: 0.75rem;
  padding: 0 0.8rem 0.95rem;
}

.preview-table {
  width: min(72%, 230px);
  margin-inline: auto;
  height: auto;
  aspect-ratio: 0.72 / 1;
  min-height: 0;
  perspective: none;
  overflow: hidden;
  border-radius: 22px;
  background-color: #0c0e0d;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

.preview-table.theme-verde { background-image: url("../img/rooms/verde.jpg"); }
.preview-table.theme-noir { background-image: url("../img/rooms/noir.jpg"); }
.preview-table.theme-oro { background-image: url("../img/rooms/oro.jpg"); }
.preview-table.theme-royale { background-image: url("../img/rooms/royale.jpg"); }
.preview-table.theme-high { background-image: url("../img/rooms/high.jpg"); }
.preview-table.theme-emerald { background-image: url("../img/rooms/emerald.jpg"); }
.preview-table.theme-jade { background-image: url("../img/rooms/jade.jpg"); }
.preview-table.theme-diamond { background-image: url("../img/rooms/diamond.jpg"); }
.preview-table.theme-azure { background-image: url("../img/rooms/azure.jpg"); }
.preview-table.theme-marina { background-image: url("../img/rooms/marina.jpg"); }

.preview-table .mini-oval {
  inset: 20% 16% 18%;
  transform: none;
  border-radius: 50%;
  background: linear-gradient(180deg, #3a3a3a 0%, #161616 42%, #050505 100%);
  box-shadow:
    0 0 0 5px #0c0c0c,
    0 12px 18px rgba(0, 0, 0, 0.55);
}

.preview-table .mini-felt {
  inset: 8%;
  border-radius: 50%;
  background: radial-gradient(ellipse 70% 62% at 50% 46%, #46c57a 0%, #219655 48%, #157445 78%, #0e5c36 100%);
  box-shadow: inset 0 6px 14px rgba(0, 0, 0, 0.45);
}

.preview-table.theme-azure .mini-felt {
  background: radial-gradient(ellipse 70% 62% at 50% 46%, #5eb0f0 0%, #1f74c4 48%, #14548f 78%, #0c3a66 100%);
}

.mini-dealer {
  position: absolute;
  z-index: 3;
  left: 50%;
  top: 11%;
  width: 28px;
  height: 28px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid rgba(212, 176, 106, 0.85);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
}

.mini-dealer img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
}

.preview-table .mini-avatar {
  width: 26px;
  height: 26px;
}

.lobby-fit {
  position: relative;
  width: min(100%, 280px);
  height: 430px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 22px;
  background: #0c0e0d;
}

.lobby-scene {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 460px;
  height: 720px;
  transform: translate(-50%, -50%) scale(0.58);
  background-color: #0c0e0d;
  background-repeat: no-repeat;
  background-position: center 18%;
  background-size: cover;
}

.lobby-fit.theme-verde .lobby-scene { background-image: url("../img/rooms/verde.jpg"); }
.lobby-fit.theme-noir .lobby-scene { background-image: url("../img/rooms/noir.jpg"); }
.lobby-fit.theme-oro .lobby-scene { background-image: url("../img/rooms/oro.jpg"); }
.lobby-fit.theme-royale .lobby-scene { background-image: url("../img/rooms/royale.jpg"); }
.lobby-fit.theme-high .lobby-scene { background-image: url("../img/rooms/high.jpg"); }
.lobby-fit.theme-emerald .lobby-scene { background-image: url("../img/rooms/emerald.jpg"); }
.lobby-fit.theme-jade .lobby-scene { background-image: url("../img/rooms/jade.jpg"); }
.lobby-fit.theme-diamond .lobby-scene { background-image: url("../img/rooms/diamond.jpg"); }
.lobby-fit.theme-azure .lobby-scene,
.lobby-fit.theme-lagoon .lobby-scene { background-image: url("../img/rooms/azure.jpg"); }
.lobby-fit.theme-costa .lobby-scene { background-image: url("../img/rooms/azure.jpg"); background-position: center 42%; }
.lobby-fit.theme-reef .lobby-scene { background-image: url("../img/rooms/azure.jpg"); background-position: center 70%; }
.lobby-fit.theme-cielo .lobby-scene { background-image: url("../img/rooms/azure.jpg"); background-position: center 88%; }
.lobby-fit.theme-marina .lobby-scene { background-image: url("../img/rooms/marina.jpg"); }

.lobby-fit .poker-oval {
  width: 250px;
  margin: 130px auto 0;
}

.open-table-btn {
  appearance: none;
  border: 1px solid rgba(190, 255, 214, 0.45);
  border-radius: 12px;
  padding: 0.78rem 1.7rem;
  background: linear-gradient(180deg, #5aee9c 0%, #1fa864 100%);
  color: #042012;
  font: inherit;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.4),
    0 10px 22px rgba(31, 158, 88, 0.35);
  transition: transform 0.16s ease, filter 0.16s ease, box-shadow 0.16s ease;
}

.open-table-btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.05);
}

.open-table-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  filter: none;
}

.club-tables-lead {
  margin: -0.35rem 0 0.9rem;
  color: var(--muted);
  font-size: 0.88rem;
}

.game-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.current-table {
  font-family: var(--font-display);
  letter-spacing: 0.06em;
  color: var(--gold-bright);
  font-size: 1.05rem;
}

.table-wrap {
  position: relative;
  padding: 0.35rem 0.4rem 0.2rem;
  overflow: visible;
}

/* חדר קזינו חי: תמונה מלאה של האולם מאחורי השולחן */
.felt.table-wrap {
  background-color: #0c0e0d;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center 22%;
  border: 1px solid rgba(0, 0, 0, 0.55);
}

.felt.table-wrap::before {
  display: none;
}

.felt.table-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  box-shadow: inset 0 0 70px rgba(0, 0, 0, 0.28);
}

.felt.table-wrap.theme-verde { background-image: linear-gradient(180deg, rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0.28)), url("../img/rooms/verde.jpg"); }
.felt.table-wrap.theme-noir { background-image: linear-gradient(180deg, rgba(0, 0, 0, 0.16), rgba(0, 0, 0, 0.32)), url("../img/rooms/noir.jpg"); }
.felt.table-wrap.theme-oro { background-image: linear-gradient(180deg, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.28)), url("../img/rooms/oro.jpg"); }
.felt.table-wrap.theme-royale { background-image: linear-gradient(180deg, rgba(0, 0, 0, 0.14), rgba(0, 0, 0, 0.3)), url("../img/rooms/royale.jpg"); }
.felt.table-wrap.theme-high { background-image: linear-gradient(180deg, rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0.3)), url("../img/rooms/high.jpg"); }
.felt.table-wrap.theme-emerald { background-image: linear-gradient(180deg, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.26)), url("../img/rooms/emerald.jpg"); }
.felt.table-wrap.theme-jade { background-image: linear-gradient(180deg, rgba(0, 0, 0, 0.14), rgba(0, 0, 0, 0.3)), url("../img/rooms/jade.jpg"); }
.felt.table-wrap.theme-diamond { background-image: linear-gradient(180deg, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.26)), url("../img/rooms/diamond.jpg"); }
.felt.table-wrap.theme-azure { background-image: linear-gradient(180deg, rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0.28)), url("../img/rooms/azure.jpg"); }
.felt.table-wrap.theme-lagoon { background-image: linear-gradient(180deg, rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0.28)), url("../img/rooms/azure.jpg"); background-position: center 10%; }
.felt.table-wrap.theme-costa { background-image: linear-gradient(180deg, rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0.28)), url("../img/rooms/azure.jpg"); background-position: center 42%; }
.felt.table-wrap.theme-reef { background-image: linear-gradient(180deg, rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0.28)), url("../img/rooms/azure.jpg"); background-position: center 70%; }
.felt.table-wrap.theme-cielo { background-image: linear-gradient(180deg, rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0.28)), url("../img/rooms/azure.jpg"); background-position: center 88%; }
.felt.table-wrap.theme-marina { background-image: linear-gradient(180deg, rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0.28)), url("../img/rooms/marina.jpg"); }

.dealer-seat {
  position: absolute;
  z-index: 6;
  display: grid;
  justify-items: center;
  gap: 0.3rem;
  width: 118px;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  cursor: pointer;
  left: 50%;
  top: -20%;
  transform: translate(-50%, -50%);
}

.dealer-seat:focus-visible {
  outline: 2px solid var(--gold-bright);
  outline-offset: 4px;
  border-radius: 18px;
}

.dealer-photo {
  width: 54px;
  height: 54px;
  margin-bottom: 0.15rem;
  object-fit: cover;
  object-position: center 18%;
  border-radius: 50%;
  border: 2px solid rgba(212, 176, 106, 0.75);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.55);
  background: #1a1a1a;
  position: relative;
  z-index: 2;
}

.dealer-seat.is-dealing .dealer-photo {
  animation: dealer-reach 0.48s ease;
}

.dealer-seat.got-tip .dealer-photo {
  box-shadow:
    0 0 0 3px rgba(212, 176, 106, 0.95),
    0 8px 16px rgba(0, 0, 0, 0.55);
}

.tip-chip {
  position: absolute;
  top: 18px;
  left: 50%;
  z-index: 8;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background:
    radial-gradient(circle at 32% 28%, #ffe7a8, #d4b06a 58%, #8a6428);
  color: #1a1408;
  font-size: 0.72rem;
  font-weight: 800;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.45);
  animation: tip-fly 0.75s ease forwards;
  pointer-events: none;
}

@keyframes dealer-reach {
  0%,
  100% { transform: translateY(0) rotate(0); }
  40% { transform: translateY(8px) rotate(-8deg); }
}

@keyframes tip-fly {
  from { opacity: 0; transform: translate(-50%, 36px) scale(0.55); }
  to { opacity: 1; transform: translate(-50%, -4px) scale(1); }
}

.dealer-name {
  padding: 0.12rem 0.55rem;
  border-radius: 999px;
  background: rgba(12, 16, 18, 0.88);
  color: #f4f7f5;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.stage-chip {
  position: absolute;
  top: 0.9rem;
  inset-inline-start: 1rem;
  z-index: 3;
  padding: 0.3rem 0.85rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.45);
  color: var(--gold-bright);
  font-family: var(--font-display);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
}

/*
  אנטומיה של שולחן פוקר אמיתי (לפי מחקר):
  1. Rail — מסעד יד מרופד בוויניל/עור סביב השולחן
  2. Racetrack — טבעת עץ מלוטש בין הריפוד לבד
  3. Felt — בד המשחק עם זרקור מלמעלה
  4. Betting line — קו הימור מודפס על הבד
  5. לוגו הבית במרכז הבד
*/
/* שולחן בסגנון Zynga Poker: ריל עור חום מבריק עם פס זהב,
   פלט ירוק בהיר עם הילה מרכזית, ולוגו מוטבע במרכז */
.poker-oval {
  position: relative;
  z-index: 2;
  width: min(72%, 320px);
  aspect-ratio: 0.68 / 1;
  margin: 3.2rem auto 4rem;
  border-radius: 50%;
  background:
    radial-gradient(ellipse 130% 55% at 50% -8%, rgba(255, 255, 255, 0.14), transparent 48%),
    linear-gradient(180deg, #3a3a3a 0%, #161616 42%, #050505 100%);
  box-shadow:
    0 0 0 7px #0c0c0c,
    0 16px 28px rgba(0, 0, 0, 0.55),
    0 34px 70px rgba(0, 0, 0, 0.65),
    inset 0 3px 8px rgba(255, 255, 255, 0.16),
    inset 0 -10px 18px rgba(0, 0, 0, 0.65);
}

/* קו תפר בהיר דק בין הריל לפלט */
.poker-oval::before {
  content: "";
  position: absolute;
  inset: 5.5%;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 0 6px #070707;
  pointer-events: none;
}

/* Felt — ירוק עשיר עם הילה גדולה במרכז, כמו תאורת שולחן בקזינו */
.theme-azure .table-felt,
.theme-lagoon .table-felt,
.theme-costa .table-felt,
.theme-reef .table-felt,
.theme-cielo .table-felt {
  background:
    radial-gradient(ellipse 70% 62% at 50% 46%, #5eb0f0 0%, #1f74c4 48%, #14548f 78%, #0c3a66 100%);
}

.table-felt {
  position: absolute;
  inset: 6.8%;
  z-index: 1;
  border-radius: 50%;
  background:
    radial-gradient(ellipse 70% 62% at 50% 46%, #46c57a 0%, #219655 48%, #157445 78%, #0e5c36 100%);
  box-shadow:
    inset 0 8px 24px rgba(0, 0, 0, 0.5),
    inset 0 0 80px rgba(0, 0, 0, 0.38);
  pointer-events: none;
}

/* טקסטורת בד עדינה על הפלט */
.table-felt::before {
  content: "";
  position: absolute;
  inset: 17%;
  border-radius: inherit;
  border: 1px dashed rgba(255, 255, 255, 0.14);
  pointer-events: none;
}

.table-felt::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background-image:
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.016) 0 1px, transparent 1px 3px),
    repeating-linear-gradient(90deg, rgba(0, 0, 0, 0.02) 0 1px, transparent 1px 3px);
  pointer-events: none;
}

/* לוגו הבית מוטבע במרכז הבד */
.poker-oval::after {
  content: "DON CLUB\A NLH";
  position: absolute;
  top: 64%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 3.6vw, 1.8rem);
  line-height: 1.15;
  letter-spacing: 0.18em;
  text-align: center;
  color: rgba(255, 255, 255, 0.16);
  pointer-events: none;
  white-space: pre;
}

.table-center {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: grid;
  place-content: center;
  gap: 0.5rem;
  text-align: center;
  padding: 1rem;
}

.seat {
  position: absolute;
  transform: translate(-50%, -50%);
  display: grid;
  gap: 0;
  justify-items: center;
  z-index: 4;
  width: 118px;
}

/* מקום ריק נשאר גלוי עד ששחקן רגיל מצטרף ביד הבאה */
.empty-seat {
  position: absolute;
  z-index: 3;
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  min-width: 0;
  padding: 0.2rem;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.28);
  background: rgba(8, 10, 9, 0.72);
  color: #f4fff8;
  pointer-events: none;
}

.empty-chair {
  width: 22px;
  height: 20px;
  border: 2px solid rgba(212, 176, 106, 0.55);
  border-bottom-width: 6px;
  border-radius: 7px 7px 4px 4px;
  background: rgba(255, 255, 255, 0.05);
}

.empty-seat small {
  font-size: 0.62rem;
  white-space: nowrap;
}

.empty-seat.selectable {
  pointer-events: auto;
  cursor: pointer;
  font: inherit;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.empty-seat.selectable:hover,
.empty-seat.selectable:focus-visible {
  transform: translate(-50%, -50%) scale(1.06);
  border-color: #2adf7a;
  background: rgba(18, 90, 52, 0.92);
  outline: none;
}

.buyin-panel {
  position: absolute;
  z-index: 8;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(88%, 340px);
  padding: 1.2rem;
  border-radius: 18px;
  border: 1px solid rgba(212, 176, 106, 0.72);
  background:
    linear-gradient(145deg, rgba(26, 52, 40, 0.98), rgba(6, 12, 9, 0.98));
  box-shadow: 0 22px 55px rgba(0, 0, 0, 0.72);
  text-align: center;
}

.buyin-panel h3 {
  margin: 0 0 0.35rem;
  color: var(--gold-bright);
  font-family: var(--font-display);
}

.buyin-panel p {
  margin: 0 0 0.8rem;
  color: var(--muted);
  font-size: 0.85rem;
}

.buyin-panel output {
  display: block;
  margin-bottom: 0.75rem;
  color: var(--gold-bright);
  font-size: 1.3rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.buyin-panel input[type="range"] {
  width: 100%;
  accent-color: var(--gold);
  cursor: pointer;
}

.buyin-actions {
  display: flex;
  justify-content: center;
  gap: 0.55rem;
  margin-top: 1rem;
}

.seat-cards {
  position: relative;
  width: 62px;
  height: 42px;
  min-height: 0;
}

.hole {
  position: absolute;
  top: 0;
  display: block;
  filter: drop-shadow(0 6px 6px rgba(0, 0, 0, 0.45));
}

.hole-0 {
  left: 2px;
  transform: rotate(-16deg);
  z-index: 1;
}

.hole-1 {
  left: 16px;
  transform: rotate(13deg);
  z-index: 2;
}

.seat-cards .card {
  width: 26px;
  height: 36px;
  font-size: 0.62rem;
}

/* הקלפים שלך גדולים יותר — שיהיה קל לקרוא אותם */
.seat.you .seat-cards .card {
  width: 32px;
  height: 44px;
  font-size: 0.78rem;
}

/* בקלפים הקטנים ליד המושבים — פינה אחת בלבד וסמל מוקטן */
.seat-cards .card-corner.flip {
  display: none;
}

.seat-cards .card-pip {
  padding-top: 9px;
  font-size: 1.05em;
}

.seat-cards .card.back::before,
.seat-cards .card.back::after,
.lobby-fit .card.back::before,
.lobby-fit .card.back::after {
  content: none;
}

.lobby-fit .board .card {
  width: 40px;
  height: 56px;
  display: grid;
  place-items: center;
}

.lobby-fit .board .card-corner.flip,
.lobby-fit .board .card-pip {
  display: none;
}

.lobby-fit .board .card-corner {
  position: static;
  font-size: 15px;
  display: grid;
  justify-items: center;
  gap: 1px;
}

.lobby-fit .board .card-corner .suit {
  width: 16px;
  height: 16px;
}

/* קלף שכבר על השולחן לא מקבל שוב אנימציית חלוקה */
.card.no-deal {
  animation: none;
}

.card.from-dealer {
  animation: deal-from-dealer 0.58s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.board .card.from-dealer:nth-child(2) { animation-delay: 0.16s; }
.board .card.from-dealer:nth-child(3) { animation-delay: 0.32s; }

@keyframes deal-from-dealer {
  0% {
    opacity: 0;
    transform: translateY(-88px) rotate(-16deg) scale(0.5);
  }
  100% {
    opacity: 1;
    transform: none;
  }
}

.seat-box {
  position: relative;
  width: 100%;
  padding: 0.15rem 0.1rem 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  text-align: center;
  font-size: 0.78rem;
}

/* טבעת טיימר סביב האווטאר — כמו ב-Zynga: מתרוקנת עם הזמן */
.timer-ring {
  position: absolute;
  inset: -5px;
  z-index: 5;
  border-radius: 50%;
  background: conic-gradient(
    from -90deg,
    var(--ring-c, #3ecf8e) calc(var(--ring, 100) * 1%),
    rgba(240, 212, 138, 0.45) 0
  );
  -webkit-mask: radial-gradient(circle, transparent 58%, #000 61%);
  mask: radial-gradient(circle, transparent 58%, #000 61%);
  opacity: 0;
  pointer-events: none;
}

.seat.active .timer-ring {
  opacity: 1;
}

/* אווטאר שחקן — דמות בעיגול מעל הלוחית */
.seat-avatar .avatar-face {
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 50%;
}

.seat-avatar .avatar-face img,
.mini-avatar .avatar-face,
.mini-avatar .avatar-face img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
  border-radius: inherit;
}

.seat-avatar {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  overflow: visible;
  border-radius: 50%;
  background:
    radial-gradient(circle at 32% 26%, rgba(212, 176, 106, 0.22), transparent 55%),
    radial-gradient(circle at 50% 80%, #1a2c24, #0c1410 78%);
  border: 2px solid rgba(212, 176, 106, 0.75);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.55), inset 0 2px 4px rgba(255, 255, 255, 0.08);
  margin-bottom: 0.15rem;
  position: relative;
  z-index: 2;
}

.seat-avatar .person {
  width: 42px;
  height: 48px;
  margin-bottom: -4px;
}

.seat-avatar .person-head {
  width: 20px;
  height: 20px;
  top: 10px;
}

.seat-avatar .person-hair {
  width: 24px;
  height: 14px;
  top: 5px;
}

.seat-avatar .person-body {
  width: 34px;
  height: 20px;
}

.seat-avatar .person.v1 .person-hair,
.seat-avatar .person.v5 .person-hair,
.seat-avatar .person.v6 .person-hair {
  width: 26px;
  height: 20px;
}

.seat-avatar .person.v2 .person-hair {
  width: 16px;
  height: 16px;
}

.seat-avatar .person.v3 .person-hair {
  width: 22px;
  height: 8px;
  top: 9px;
}

.seat-avatar .person-head::after {
  top: 8px;
  left: 4px;
  width: 3px;
  height: 3px;
  box-shadow: 9px 0 0 rgba(40, 24, 16, 0.55);
}

.seat.you .seat-avatar {
  border-color: var(--gold-bright);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.55), 0 0 14px rgba(212, 176, 106, 0.4);
}

.seat.active .seat-avatar {
  border-color: var(--gold-bright);
  box-shadow: 0 0 20px rgba(212, 176, 106, 0.7);
}

.seat.you .seat-box,
.seat.active .seat-box {
  border: 0;
  box-shadow: none;
}

.seat.folded {
  opacity: 0.45;
}

.seat .name,
.dealer-seat .name {
  color: #f4f7f5;
  font-weight: 700;
  font-size: 0.72rem;
  margin-bottom: 0.05rem;
  white-space: nowrap;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.9);
}

.seat .stack {
  color: #3ec6ff;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.seat-bet {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  color: var(--gold-bright);
  font-size: 0.72rem;
  font-variant-numeric: tabular-nums;
}

/* הימור מונח על הפלט — צ׳יפ + סכום, בין השחקן למרכז */
.felt-bet {
  position: absolute;
  transform: translate(-50%, -50%);
  z-index: 3;
  pointer-events: none;
}

.chip-stack {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
}

.chip-row {
  display: flex;
  align-items: center;
  direction: ltr;
}

.chip-stack b {
  min-width: 1.7rem;
  padding: 1px 7px 2px;
  border-radius: 999px;
  background: #111;
  color: #fff;
  font-size: 0.68rem;
  font-weight: 800;
  line-height: 1.25;
  text-align: center;
  font-variant-numeric: tabular-nums;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.45);
}

.mini-chip {
  position: relative;
  width: 20px;
  height: 20px;
  margin-left: -7px;
  border-radius: 50%;
  background: var(--chip, #1c1c1c);
  box-shadow:
    0 2px 0 rgba(0, 0, 0, 0.55),
    0 3px 4px rgba(0, 0, 0, 0.4);
}

.chip-row .mini-chip:first-child {
  margin-left: 0;
}

.mini-chip::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: repeating-conic-gradient(#fff 0 9deg, transparent 9deg 28deg);
  -webkit-mask: radial-gradient(circle, transparent 60%, #000 63% 88%, transparent 91%);
  mask: radial-gradient(circle, transparent 60%, #000 63% 88%, transparent 91%);
}

.mini-chip::after {
  content: "";
  position: absolute;
  inset: 24%;
  border-radius: 50%;
  background:
    radial-gradient(circle at 34% 28%, rgba(255, 255, 255, 0.4), transparent 46%),
    var(--chip-core, var(--chip, #1c1c1c));
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.72);
}

.mini-chip.c-black { --chip: #1a1a1a; --chip-core: #2b2b2b; }
.mini-chip.c-green { --chip: #1c9a48; --chip-core: #27b85c; }
.mini-chip.c-red { --chip: #e23b32; --chip-core: #ff5648; }
.mini-chip.c-white { --chip: #d5dae2; --chip-core: #f7f8fa; }
.mini-chip.c-blue { --chip: #2d6ed8; --chip-core: #4d90f0; }
.mini-chip.c-gold { --chip: #e0b44a; --chip-core: #f6dc8e; }

.mini-chip.c-white::before {
  background: repeating-conic-gradient(#667084 0 9deg, transparent 9deg 28deg);
}

/* צ׳יפ קטן ליד סכום ההימור של השחקן */
.seat-bet-chip {
  width: 0.85rem;
  height: 0.85rem;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, #c45c4a 0 55%, transparent 56%),
    repeating-conic-gradient(#f4f1ea 0 18deg, #c45c4a 18deg 36deg);
  border: 1px solid rgba(0, 0, 0, 0.4);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.fold-tag {
  color: var(--muted);
  font-style: italic;
}

.dealer-btn {
  display: inline-grid;
  place-items: center;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff, var(--gold-bright) 55%, #b8863b);
  color: #1a1408;
  font-size: 0.62rem;
  font-weight: 700;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.55);
}

/* פס הטיימר הישן מוסתר — הטיימר הוא טבעת סביב האווטאר */
.turn-timer {
  display: none;
  margin-top: 0.3rem;
  width: 100%;
  height: 5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  overflow: hidden;
}

.turn-timer-fill {
  height: 100%;
  width: 0%;
  border-radius: 999px;
  background: linear-gradient(90deg, #3ecf8e, var(--gold));
  transition: width 0.1s linear;
}

.turn-timer-fill.urgent {
  background: var(--danger);
}

.help-box {
  margin-top: 1.25rem;
  padding: 0.9rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(0, 0, 0, 0.25);
  color: var(--muted);
}

.help-box summary {
  cursor: pointer;
  color: var(--gold-bright);
  font-family: var(--font-display);
  letter-spacing: 0.05em;
}

.help-box ol {
  margin: 0.75rem 0 0.25rem;
  padding-inline-start: 1.25rem;
  line-height: 1.7;
}

@media (max-width: 700px) {
  .tables-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
  }

  .table-stage:not(.preview-table) {
    height: 150px;
  }

  .poker-oval {
    aspect-ratio: 0.68 / 1;
    border-radius: 50%;
    width: min(78%, 300px);
    margin: 6rem auto 5.6rem;
  }

  .poker-oval::before,
  .table-felt,
  .table-felt::before {
    border-radius: 50%;
  }

  .seat {
    width: 96px;
    font-size: 0.7rem;
  }

  .seat-cards .card {
    width: 22px;
    height: 30px;
    font-size: 0.58rem;
  }

  .seat.you .seat-cards .card {
    width: 28px;
    height: 38px;
    font-size: 0.7rem;
  }
}

.cards-row {
  display: flex;
  gap: 0.4rem;
  justify-content: center;
  flex-wrap: wrap;
  min-height: 3.4rem;
}

.cards-row.seat-cards {
  min-height: 0;
  height: 40px;
  margin-bottom: -4px;
  z-index: 6;
}

.card {
  position: relative;
  width: 34px;
  height: 48px;
  border-radius: 6px;
  background: linear-gradient(160deg, #ffffff 0%, #f0ece2 100%);
  color: #1a1a1a;
  direction: ltr;
  border: 1px solid rgba(0, 0, 0, 0.16);
  box-shadow: 0 5px 12px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.8);
  animation: deal 0.35s ease both;
}

.card.red {
  color: #b42318;
}

/* פינות הקלף — מספר וסמל, כמו קלף אמיתי */
.card-corner {
  position: absolute;
  top: 3px;
  left: 4px;
  display: grid;
  justify-items: center;
  line-height: 1;
  font-weight: 700;
  font-size: 0.62em;
}

.card-corner b {
  font-weight: 800;
  line-height: 0.9;
}

.card .suit,
.mcard .suit {
  display: block;
  width: 0.72em;
  height: 0.72em;
  fill: currentColor;
}

.card-pip .suit {
  width: 1.05em;
  height: 1.05em;
}

.card-corner i {
  font-style: normal;
  font-size: 0.9em;
}

.card-corner.flip {
  top: auto;
  left: auto;
  bottom: 3px;
  right: 4px;
  transform: rotate(180deg);
}

/* סמל מרכזי גדול */
.card-pip {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 1.35em;
  font-weight: 700;
}

.card.back {
  background:
    repeating-linear-gradient(45deg, #163a2d 0 6px, #0e2820 6px 12px),
    linear-gradient(145deg, #1f3d32, #0d221b);
  border: 1px solid rgba(212, 176, 106, 0.45);
  box-shadow: 0 5px 12px rgba(0, 0, 0, 0.4), inset 0 0 0 3px rgba(212, 176, 106, 0.16);
}

/* ז׳יטון DC קטן במרכז גב הקלף */
.card.back::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 58%;
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background:
    radial-gradient(circle at 32% 26%, rgba(190, 255, 226, 0.14), transparent 45%),
    radial-gradient(circle, rgba(20, 92, 68, 0.98), rgba(10, 26, 20, 0.99) 82%);
  border: 2px solid rgba(212, 176, 106, 0.9);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.55);
  pointer-events: none;
}

.card.back::after {
  content: "DC";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.55em;
  letter-spacing: 0.05em;
  color: rgba(212, 176, 106, 0.95);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.7);
  pointer-events: none;
}

@keyframes deal {
  from {
    opacity: 0;
    transform: translateY(-12px) scale(0.92);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.board {
  margin: 0.5rem 0;
}

.pot {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 0;
  padding: 0;
  background: none;
  border: 0;
  box-shadow: none;
  color: #fff;
}

.pot:empty {
  display: none;
}

.pot .mini-chip {
  width: 22px;
  height: 22px;
}

.pot .chip-stack b {
  font-size: 0.78rem;
}

.pot-label {
  font-size: 0.62rem;
  color: rgba(255, 255, 255, 0.72);
}

.pot-amount {
  font-size: 1.05rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

/* ערימת צ׳יפים בקופה */
.pot-chips {
  display: inline-flex;
  align-items: center;
}

.pot-chip {
  width: 1.3rem;
  height: 1.3rem;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, var(--chip-c) 0 55%, transparent 56%),
    repeating-conic-gradient(#0b0f0c 0 18deg, var(--chip-c) 18deg 36deg);
  border: 2px solid rgba(0, 0, 0, 0.35);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.55);
  margin-inline-start: calc(var(--chip-i) * -0.55rem);
  transform: translateY(calc(var(--chip-i) * -1.5px));
}

.pot-amount {
  font-variant-numeric: tabular-nums;
}

.status-line {
  min-height: 1.4rem;
  color: var(--muted);
  text-align: center;
}

/* שורת הסטטוס מתחת לשולחן — לא מסתירה את הבד */
.table-status {
  position: relative;
  z-index: 2;
  margin: 0.15rem auto 0.2rem;
  max-width: 34rem;
  color: var(--gold-bright);
  font-size: 0.82rem;
}

.controls {
  display: flex;
  flex-wrap: wrap;
  gap: 0.28rem 0.4rem;
  justify-content: center;
  align-items: flex-start;
  margin: 0 auto;
}

.action-main {
  display: flex;
  align-items: center;
  gap: 0.28rem;
}

.controls .btn-fold,
.controls .btn-call,
.controls .btn-ghost {
  padding: 0.32rem 0.62rem;
  min-width: 0;
  font-size: 0.76rem;
  border-radius: 9px;
}

.controls .btn-raise {
  padding: 0.18rem 0.42rem;
  min-width: 0;
  font-size: 0.66rem;
  border-radius: 8px;
}

.btn-fold {
  background: linear-gradient(180deg, #3a4248 0%, #23282c 100%);
  color: #f4f7f8;
  border-color: rgba(255, 255, 255, 0.14);
  min-width: 4.2rem;
}

.btn-call {
  background: linear-gradient(180deg, #5aee9c 0%, #1fa864 100%);
  color: #042012;
  border-color: rgba(190, 255, 214, 0.4);
  min-width: 4.4rem;
  font-weight: 800;
}

.btn-raise {
  background: linear-gradient(180deg, #f6e4ba 0%, #d4b06a 46%, #a07c3b 100%);
  color: #1a1408;
  border-color: rgba(255, 236, 190, 0.5);
  font-weight: 800;
}

.bet-presets {
  display: flex;
  gap: 0.28rem;
}

.bet-presets button {
  appearance: none;
  border: 1px solid rgba(212, 176, 106, 0.35);
  background: rgba(255, 255, 255, 0.04);
  color: var(--gold-bright);
  border-radius: 8px;
  padding: 0.28rem 0.55rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: background 0.16s ease, border-color 0.16s ease, transform 0.16s ease;
}

.bet-presets button:hover {
  background: rgba(212, 176, 106, 0.16);
  border-color: rgba(240, 217, 160, 0.7);
  transform: translateY(-1px);
}

.bet-input {
  width: 100px;
  padding: 0.65rem 0.75rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.35);
  color: var(--ink);
}

/* מד רייז — סליידר לבחירת סכום ההעלאה */
.raise-box {
  display: grid;
  grid-template-columns: auto minmax(72px, 108px) auto;
  align-items: center;
  justify-content: center;
  gap: 0.16rem 0.28rem;
  padding: 0;
  border: 0;
  background: transparent;
}

.bet-presets {
  grid-column: 1 / -1;
  display: flex;
  justify-content: center;
  gap: 0.18rem;
}

.bet-presets button {
  padding: 0.16rem 0.38rem;
  font-size: 0.6rem;
}

body:has(#game-area:not([hidden])) .help-box,
body:has(#game-area:not([hidden])) .site-footer {
  display: none;
}

body:has(#game-area:not([hidden])) .page-shell {
  padding-top: 0.45rem;
  padding-bottom: 0.35rem;
}

#game-area {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
}

body:has(#game-area:not([hidden])) .felt.table-wrap {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
}

body:has(#game-area:not([hidden])) .site-header,
body:has(#game-area:not([hidden])) .stage-chip {
  display: none;
}

body:has(#game-area:not([hidden])) .game-topbar {
  margin: 0.1rem 0 0.15rem;
}

body:has(#game-area:not([hidden])) .page-shell {
  padding-top: 0.25rem;
  padding-bottom: 0.3rem;
}

body:has(#game-area:not([hidden])) .poker-oval {
  width: min(72%, 320px);
  aspect-ratio: 0.68 / 1;
  margin: 3.2rem auto 4rem;
}

.raise-value {
  min-width: 3.2ch;
  text-align: center;
  color: var(--gold-bright);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.raise-slider {
  appearance: none;
  -webkit-appearance: none;
  width: clamp(72px, 16vw, 108px);
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.16), var(--gold));
  outline: none;
  cursor: pointer;
}

.raise-slider::-webkit-slider-thumb {
  appearance: none;
  -webkit-appearance: none;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff3d2, var(--gold) 60%, #b8863b);
  border: 2px solid rgba(0, 0, 0, 0.45);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.55);
}

.raise-slider::-moz-range-thumb {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff3d2, var(--gold) 60%, #b8863b);
  border: 2px solid rgba(0, 0, 0, 0.45);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.55);
}

body:has(.roulette-page) .site-header,
body:has(.roulette-page) .site-footer {
  display: none;
}

body:has(.roulette-page) .page-shell {
  padding: 0.45rem 0.55rem 0.7rem;
}

.roulette-page {
  max-width: 980px;
  padding-bottom: 0.4rem;
}

body:has(.club-shell),
body:has(.account-page) {
  background:
    linear-gradient(180deg, rgba(4, 6, 8, 0.42), rgba(4, 6, 8, 0.28) 40%, rgba(4, 6, 8, 0.55)),
    url("../img/rooms/oro.jpg") center 24% / cover no-repeat fixed;
}

body:has(.account-page) {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

body:has(.account-page) .account-page {
  flex: 1 0 auto;
}

body:has(.account-page) .site-header {
  background: linear-gradient(180deg, rgba(6, 10, 8, 0.5), rgba(6, 10, 8, 0.16));
  border-bottom-color: transparent;
  backdrop-filter: blur(6px);
}

body:has(.account-page) .page-title,
body:has(.account-page) .page-sub {
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.7);
}

body:has(#table-lobby:not([hidden])) {
  background:
    linear-gradient(180deg, rgba(4, 6, 8, 0.4), rgba(4, 6, 8, 0.22) 40%, rgba(4, 6, 8, 0.55)),
    url("../img/rooms/noir.jpg") center 30% / cover no-repeat fixed;
}

.club-shell .casino-moment {
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.05) 20%, rgba(0, 0, 0, 0.55)),
    url("../img/rooms/oro.jpg") center 30% / cover no-repeat;
}

.table-lobby .casino-moment {
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.05) 20%, rgba(0, 0, 0, 0.55)),
    url("../img/rooms/noir.jpg") center 34% / cover no-repeat;
}

.casino-moment {
  height: 148px;
  margin: 0 0 0.75rem;
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.05) 20%, rgba(0, 0, 0, 0.55)),
    url("../img/rooms/royale.jpg") center 32% / cover no-repeat;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.12),
    0 12px 24px rgba(0, 0, 0, 0.35);
}

body:has(.roulette-page) {
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.28), rgba(0, 0, 0, 0.42)),
    url("../img/rooms/azure.jpg") center 18% / cover no-repeat fixed;
}

body:has(.slots-page) {
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.68)),
    url("../img/rooms/high.jpg") center 30% / cover no-repeat fixed;
}

.mini-exit {
  position: absolute;
  top: 0.45rem;
  inset-inline-start: 0.45rem;
  z-index: 6;
  padding: 0.22rem 0.62rem;
  border-radius: 999px;
  border: 1px solid rgba(240, 212, 138, 0.55);
  background: rgba(8, 10, 9, 0.72);
  color: #f4f1ea;
  font: inherit;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
  cursor: pointer;
}

.roulette-page .page-title,
.roulette-page > .page-sub {
  display: none;
}

.roulette-layout {
  display: grid;
  gap: 0.45rem;
}

.roulette-page .roulette-wheel-panel.felt,
.roulette-page .roulette-table-panel.felt {
  padding: 0.35rem 0.2rem 0.45rem;
  border-radius: 0;
  border: 0;
  background: transparent;
  backdrop-filter: none;
  box-shadow: none;
}

/* מסך תוצאה אחרי סיבוב — זכייה/הפסד ברור + משחק נוסף */
.roulette-wheel-panel {
  position: relative;
  overflow: hidden;
}

.spin-result {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 0.55rem;
  text-align: center;
  background: rgba(4, 8, 6, 0.88);
  backdrop-filter: blur(3px);
  border-radius: inherit;
  animation: result-in 0.35s ease;
}

@keyframes result-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

.spin-result-num {
  display: grid;
  place-items: center;
  width: 3.4rem;
  height: 3.4rem;
  border-radius: 50%;
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
  border: 3px solid rgba(255, 255, 255, 0.6);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.6);
}

.spin-result-num.is-red { background: #b42318; }
.spin-result-num.is-black { background: #141414; }
.spin-result-num.is-green { background: #0f7a3a; }

.spin-result-title {
  font-family: var(--font-display);
  font-size: 1.45rem;
  letter-spacing: 0.04em;
}

.spin-result.is-win .spin-result-title {
  color: #3ecf8e;
  text-shadow: 0 0 18px rgba(62, 207, 142, 0.55);
}

.spin-result.is-lose .spin-result-title {
  color: #e2685c;
  text-shadow: 0 0 14px rgba(226, 104, 92, 0.4);
}

.spin-result-sub {
  color: var(--muted);
  font-size: 0.85rem;
}

.spin-result .btn {
  margin-top: 0.35rem;
  padding: 0.6rem 1.8rem;
  font-family: var(--font-display);
  font-size: 0.95rem;
  letter-spacing: 0.08em;
}

/* גלגל + כפתורים זה לצד זה */
.roulette-play {
  display: grid;
  grid-template-columns: 1fr;
  justify-items: center;
  gap: 0.4rem;
  align-items: center;
}

.roulette-side {
  display: grid;
  gap: 0.32rem;
  min-width: 0;
  width: 100%;
  direction: rtl;
}

.table-hint {
  margin: 0 0 0.3rem;
  text-align: center;
  color: var(--muted);
  font-size: 0.72rem;
}

.wheel-stage {
  position: relative;
  width: min(280px, 72vw);
  height: min(280px, 72vw);
  margin: 0.15rem auto 0;
  flex-shrink: 0;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 42%, #4a301c 0%, #24160d 62%, #120a06 100%);
  box-shadow:
    0 0 0 6px #6a4524,
    0 0 0 9px #e7d09a,
    0 0 0 12px #3a2614,
    0 22px 40px rgba(0, 0, 0, 0.55),
    inset 0 0 18px rgba(0, 0, 0, 0.4);
}

.wheel-bowl {
  position: absolute;
  inset: 5%;
  border-radius: 50%;
  background:
    radial-gradient(circle, transparent 68%, rgba(0, 0, 0, 0.35) 69% 74%, rgba(255, 220, 160, 0.18) 75% 77%, transparent 78%);
  box-shadow: inset 0 0 24px rgba(0, 0, 0, 0.55);
  pointer-events: none;
}

.wheel {
  position: absolute;
  inset: 10%;
  border-radius: 50%;
  border: 7px solid #e6cf96;
  background: #0d0d0d;
  box-shadow:
    inset 0 0 0 3px #5c4316,
    inset 0 0 28px rgba(0, 0, 0, 0.45),
    0 0 0 4px #1a1008;
}

.wheel-hub {
  position: absolute;
  inset: 38%;
  border-radius: 50%;
  z-index: 2;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 35% 30%, rgba(255, 240, 200, 0.35), transparent 45%),
    radial-gradient(circle, #1a4a34, #0a1a14 78%);
  border: 3px solid rgba(212, 176, 106, 0.9);
  box-shadow:
    0 4px 12px rgba(0, 0, 0, 0.6),
    inset 0 0 16px rgba(0, 0, 0, 0.55);
  pointer-events: none;
  font-family: var(--font-display);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  color: rgba(255, 235, 190, 0.85);
}

.wheel-num {
  position: absolute;
  inset: 0;
  display: flex;
  justify-content: center;
  padding-top: 7%;
  color: #fff8ea;
  font-size: clamp(0.52rem, 1.7vw, 0.72rem);
  font-weight: 800;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.9);
  pointer-events: none;
}

.wheel-num.is-hit {
  color: #fff;
  text-shadow: 0 0 8px #fff, 0 0 14px #f0d78a;
}

.ball-orbit {
  position: absolute;
  inset: 2%;
  border-radius: 50%;
  pointer-events: none;
  z-index: 4;
}

.ball {
  position: absolute;
  top: 1.6%;
  left: 50%;
  width: 4.2%;
  height: 4.2%;
  margin-left: -2.1%;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 28%, #ffffff 0%, #f4efe4 42%, #b7ad9c 78%);
  box-shadow:
    0 2px 4px rgba(0, 0, 0, 0.65),
    inset -1px -1px 2px rgba(0, 0, 0, 0.35);
  transition: top 6.8s cubic-bezier(0.66, 0.02, 0.78, 0.22);
}

.ball.is-in {
  top: 10.5%;
}

.wheel-pointer {
  position: absolute;
  top: 1.5%;
  left: 50%;
  z-index: 5;
  width: 16px;
  height: 22px;
  margin-left: -8px;
  background: linear-gradient(180deg, #fff6d4, #e2c27a 55%, #a8843d);
  clip-path: polygon(50% 100%, 0 0, 100% 0);
  filter: drop-shadow(0 3px 3px rgba(0, 0, 0, 0.55));
}

.result-badge {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.45rem;
  min-height: 1.8rem;
  font-family: var(--font-display);
  font-size: 0.95rem;
  color: var(--gold-bright);
  letter-spacing: 0.04em;
  text-align: start;
  line-height: 1.25;
}

.result-badge.is-spinning {
  color: var(--muted);
  animation: pulse-dot 1.2s ease infinite;
}

.result-badge .res-num {
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  font-size: 0.92rem;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.55);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.55);
  flex-shrink: 0;
}

.res-num.is-red { background: #b42318; }
.res-num.is-black { background: #141414; }
.res-num.is-green { background: #0f7a3a; }

.result-badge.is-win .res-text {
  color: #3ecf8e;
  text-shadow: 0 0 14px rgba(62, 207, 142, 0.5);
}

.result-badge.is-lose .res-text {
  color: var(--muted);
}

.history-strip {
  display: flex;
  gap: 0.28rem;
  min-height: 1.45rem;
  flex-wrap: wrap;
  justify-content: flex-start;
}

.history-num {
  display: grid;
  place-items: center;
  width: 1.4rem;
  height: 1.4rem;
  border-radius: 50%;
  font-size: 0.62rem;
  font-weight: 700;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.history-num.is-red { background: #b42318; }
.history-num.is-black { background: #141414; }
.history-num.is-green { background: #0f7a3a; }

/* —— שולחן הימורים קלאסי —— */
.roulette-felt {
  display: grid;
  grid-template-columns: 1.55rem 1fr 1.55rem;
  grid-template-rows: auto auto auto;
  gap: 2px;
  padding: 0.15rem;
  border-radius: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  direction: ltr;
}

.cell-zero {
  grid-column: 1;
  grid-row: 1;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  background: #0f7a3a !important;
  font-size: 0.78rem !important;
  letter-spacing: 0.08em;
}

.number-grid {
  grid-column: 2;
  grid-row: 1;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: repeat(3, minmax(1.55rem, 1.85rem));
  gap: 2px;
}

.column-row {
  grid-column: 3;
  grid-row: 1;
  display: grid;
  grid-template-rows: repeat(3, 1fr);
  gap: 2px;
}

.dozen-row {
  grid-column: 2;
  grid-row: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}

.outside-row {
  grid-column: 2;
  grid-row: 3;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 2px;
}

.table-cell {
  position: relative;
  appearance: none;
  margin: 0;
  padding: 0.1rem;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 3px;
  background: rgba(0, 0, 0, 0.18);
  color: #fff;
  font-weight: 700;
  font-size: 0.62rem;
  font-variant-numeric: tabular-nums;
  cursor: pointer;
  min-height: 1.5rem;
  transition: transform 0.12s ease, box-shadow 0.12s ease, filter 0.12s ease;
  -webkit-tap-highlight-color: transparent;
}

.table-cell:hover:not(:disabled) {
  filter: brightness(1.12);
  z-index: 1;
}

.table-cell:active:not(:disabled) {
  transform: scale(0.97);
}

.table-cell:disabled {
  cursor: not-allowed;
  opacity: 0.72;
}

.table-cell.cell-num.is-red {
  background: linear-gradient(160deg, #d6453a 0%, #9e1f16 100%);
}

.table-cell.cell-num.is-black {
  background: linear-gradient(160deg, #2a2a2a 0%, #111 100%);
}

.table-cell.cell-out {
  background: rgba(0, 40, 22, 0.55);
  font-size: 0.72rem;
  letter-spacing: 0.02em;
}

.table-cell.cell-red {
  background: linear-gradient(160deg, #d6453a 0%, #9e1f16 100%);
  min-height: 2.4rem;
}

.table-cell.cell-red::after {
  content: "";
  display: block;
  width: 1.15rem;
  height: 1.15rem;
  margin: 0 auto;
  background: #fff;
  clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
}

.table-cell.cell-black {
  background: linear-gradient(160deg, #2a2a2a 0%, #111 100%);
  min-height: 2.4rem;
}

.table-cell.cell-black::after {
  content: "";
  display: block;
  width: 1.15rem;
  height: 1.15rem;
  margin: 0 auto;
  background: #fff;
  clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
}

.table-cell.has-bet {
  box-shadow: inset 0 0 0 2px rgba(255, 230, 150, 0.85);
}

.table-cell.is-winner {
  animation: winner-flash 0.7s ease 3;
  box-shadow: 0 0 0 2px #f0d78a, 0 0 18px rgba(240, 215, 138, 0.7);
}

@keyframes winner-flash {
  0%, 100% { filter: brightness(1); }
  50% { filter: brightness(1.45); }
}

.table-chip {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  display: grid;
  place-items: center;
  width: 1.55rem;
  height: 1.55rem;
  border-radius: 50%;
  font-size: 0.55rem;
  font-weight: 800;
  color: #fff;
  border: 2px dashed rgba(255, 255, 255, 0.75);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.55);
  pointer-events: none;
  animation: chip-drop 0.22s ease;
}

@keyframes chip-drop {
  from { transform: translate(-50%, -70%) scale(0.6); opacity: 0; }
  to { transform: translate(-50%, -50%) scale(1); opacity: 1; }
}

.table-chip.c-5,
.rack-chip.c-5 { background: radial-gradient(circle at 30% 25%, #f7f4ee, #cfc6b4 70%); color: #1a1205; }
.table-chip.c-10,
.rack-chip.c-10 { background: radial-gradient(circle at 30% 25%, #7ad3a0, #1f7a3a 70%); }
.table-chip.c-20,
.rack-chip.c-20 { background: radial-gradient(circle at 30% 25%, #ffc48a, #d4762a 70%); color: #1a1205; }
.table-chip.c-30,
.rack-chip.c-30 { background: radial-gradient(circle at 30% 25%, #f3a0c4, #b83b74 70%); }
.table-chip.c-50,
.rack-chip.c-50 { background: radial-gradient(circle at 30% 25%, #8eb7ff, #2a5db0 70%); }
.table-chip.c-100,
.rack-chip.c-100 { background: radial-gradient(circle at 30% 25%, #ff9a8b, #c0392b 70%); }
.table-chip.c-300,
.rack-chip.c-300 { background: radial-gradient(circle at 30% 25%, #ffe08a, #b8860b 70%); color: #1a1205; }

.bet-summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.35rem 0.6rem;
  border-radius: 9px;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(212, 176, 106, 0.22);
  color: var(--muted);
  font-size: 0.74rem;
}

.bet-summary strong {
  color: var(--gold-bright);
  font-size: 0.95rem;
  font-variant-numeric: tabular-nums;
}

.stake-rack {
  display: flex;
  justify-content: flex-start;
  gap: 0.4rem;
  flex-wrap: wrap;
}

.rack-chip {
  appearance: none;
  width: 2.15rem;
  height: 2.15rem;
  border-radius: 50%;
  border: 2px dashed rgba(255, 255, 255, 0.7);
  color: #fff;
  font-weight: 800;
  font-size: 0.6rem;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.45);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.rack-chip:hover:not(:disabled) {
  transform: translateY(-2px) scale(1.04);
}

.rack-chip.selected {
  outline: 2px solid #f0d78a;
  outline-offset: 2px;
  transform: scale(1.08);
  box-shadow: 0 0 16px rgba(240, 215, 138, 0.45);
}

.rack-chip:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.roulette-actions {
  display: grid;
  grid-template-columns: 1fr 1fr 1.7fr;
  gap: 0.4rem;
}

.roulette-actions .btn {
  padding: 0.42rem 0.3rem;
  font-size: 0.74rem;
  border-radius: 8px;
}

.roulette-actions .spin-btn {
  margin: 0;
  font-family: var(--font-display);
  font-size: 0.88rem;
  letter-spacing: 0.1em;
}

@media (max-width: 560px) {
  .roulette-play {
    gap: 0.35rem;
  }

  .wheel-stage {
    width: min(230px, 62vw);
    height: min(230px, 62vw);
  }

  .wheel-num {
    font-size: 0.5rem;
    padding-top: 7%;
  }

  .wheel-hub {
    font-size: 0.55rem;
  }

  .table-hint {
    display: none;
  }

  .result-badge {
    min-height: 1.2rem;
    font-size: 0.72rem;
  }

  .roulette-side {
    gap: 0.28rem;
  }
}

@media (min-width: 860px) {
  .roulette-layout {
    grid-template-columns: 1fr 1.15fr;
    align-items: start;
  }

  .roulette-wheel-panel {
    position: sticky;
    top: 0.75rem;
  }

  .roulette-play {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .wheel-stage {
    width: 380px;
    height: 380px;
  }

  .roulette-side {
    width: 100%;
  }

  .wheel-num {
    font-size: 0.82rem;
    padding-top: 7%;
  }

  .stake-rack {
    justify-content: center;
  }

  .history-strip,
  .result-badge {
    justify-content: center;
    text-align: center;
  }
}

@media (max-width: 420px) {
  .roulette-felt {
    grid-template-columns: 1.7rem 1fr 1.7rem;
    padding: 0.4rem;
  }

  .table-cell {
    font-size: 0.58rem;
    min-height: 1.7rem;
  }

  .number-grid {
    grid-template-rows: repeat(3, minmax(1.85rem, 2.15rem));
  }

  .table-cell.cell-out {
    font-size: 0.55rem;
  }

  .rack-chip {
    width: 2.45rem;
    height: 2.45rem;
    font-size: 0.65rem;
  }
}

.slots-page {
  max-width: 720px;
  padding-bottom: 0.6rem;
}

.slots-page.is-playing {
  max-width: 460px;
}

#slots-lobby .club-table-row {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(2px);
  box-shadow: none;
}

#slots-lobby .club-table-main {
  background: transparent;
  padding: 0.4rem 0.7rem;
  gap: 0.85rem;
}

.slot-row-photo {
  width: 4.4rem;
  height: 5.6rem;
  object-fit: cover;
  object-position: center 18%;
  flex-shrink: 0;
  border-radius: 10px;
  background: transparent;
  -webkit-mask-image: radial-gradient(ellipse 68% 76% at 50% 44%, #000 46%, transparent 74%);
  mask-image: radial-gradient(ellipse 68% 76% at 50% 44%, #000 46%, transparent 74%);
}

body:has(.slots-page.is-playing) .site-header,
body:has(.slots-page.is-playing) .site-footer {
  display: none;
}

body:has(.slots-page.is-playing) .page-shell {
  padding: 0.45rem 0.55rem 0.8rem;
}

.slots-page .page-title,
.slots-page > .page-sub {
  display: none;
}

.slots-machine {
  --cell: 62px;
  position: relative;
  max-width: 360px;
  margin: 0.2rem auto 0.6rem;
  padding: 0.75rem 0.7rem 0.7rem;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent 18%),
    linear-gradient(180deg, #2c313a, #14171d 22%, #0c0e13);
  text-align: center;
  overflow: visible;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.28),
    0 0 0 1px #050607,
    0 22px 40px rgba(0, 0, 0, 0.5);
}

.slots-machine .mini-exit {
  top: 0.55rem;
  left: 0.55rem;
  right: auto;
  inset-inline-start: auto;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.16);
}

.slots-marquee {
  margin: 0 0 0.35rem;
  padding: 0.15rem 0.4rem 0.2rem;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.bulb-row {
  display: flex;
  gap: 0.42rem;
}

.bulb-row i {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff, #ffe08a 42%, #e23b32 78%);
  box-shadow: 0 0 8px rgba(255, 210, 120, 0.85);
}

.bulb-row i:nth-child(3n) {
  background: radial-gradient(circle at 35% 30%, #fff, #7dffb2 45%, #14924a);
  box-shadow: 0 0 8px rgba(60, 220, 130, 0.8);
}

.bulb-row i:nth-child(3n + 1) {
  background: radial-gradient(circle at 35% 30%, #fff, #8ec5ff 45%, #1d6fd6);
  box-shadow: 0 0 8px rgba(80, 160, 255, 0.75);
}

.slots-machine.is-spinning .bulb-row i {
  animation: bulb-chase 0.28s steps(2) infinite;
}

.bulb-row i:nth-child(odd) { animation-delay: 0.14s; }

@keyframes bulb-chase {
  50% { filter: brightness(0.35); }
}

.slots-brand {
  display: block;
  font-family: var(--font-display);
  font-size: 1.05rem;
  line-height: 1;
  letter-spacing: 0.42em;
  color: #f7f4ee;
  text-shadow: none;
}

.award-glass {
  display: flex;
  justify-content: center;
  gap: 0.45rem;
  margin: 0 0 0.55rem;
  padding: 0;
  background: transparent;
  box-shadow: none;
}

.award-glass span {
  display: block;
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #3ecf8e;
  box-shadow: 0 0 8px #3ecf8e;
}

.award-glass span:nth-child(2) {
  background: #f0d48a;
  box-shadow: 0 0 8px #f0d48a;
}

.award-glass span:nth-child(3) {
  background: #6eb6ff;
  box-shadow: 0 0 8px #6eb6ff;
}

.award-glass b {
  display: none;
}

.slots-body {
  position: relative;
  direction: ltr;
  margin: 0 0.2rem;
  padding-right: 18px;
}

.reels {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.35rem;
  margin: 0;
  padding: 0.45rem;
  border-radius: 16px;
  background: #07080b;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 8px 16px rgba(0, 0, 0, 0.45);
}

.reels::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 4;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.2), transparent 34%);
}

.reel {
  position: relative;
  height: calc(var(--cell) * 3);
  overflow: hidden;
  border-radius: 12px;
  background: linear-gradient(180deg, #f6f3ec, #fff 20% 80%, #eeeae2);
  border: 0;
  box-shadow: inset 0 0 12px rgba(0, 0, 0, 0.12);
}

.reel:first-child,
.reel:last-child { border-radius: 12px; }

.slot-lever {
  position: absolute;
  top: 18px;
  right: -4px;
  z-index: 5;
  width: 54px;
  height: 150px;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  perspective: 420px;
  perspective-origin: 40% 100%;
  transform-style: preserve-3d;
}

.lever-hinge {
  position: absolute;
  left: 4px;
  bottom: 6px;
  width: 18px;
  height: 14px;
  border-radius: 3px;
  background: linear-gradient(180deg, #f4f4f4, #8d8d8d 42%, #2e2e2e);
  box-shadow: 0 3px 0 #141414, inset 0 1px 0 #fff;
}

.lever-hinge::after {
  content: none;
}

.lever-arm {
  position: absolute;
  left: 16px;
  bottom: 18px;
  width: 8px;
  height: 86px;
  transform-origin: 50% 100%;
  transform: rotateX(0deg);
  transition: transform 0.42s cubic-bezier(0.16, 0.75, 0.2, 1);
}

.lever-shaft {
  position: absolute;
  inset: 0;
  border-radius: 6px;
  background: linear-gradient(90deg, #2a2a2a, #d8d8d8 42%, #3a3a3a);
  box-shadow: 2px 0 4px rgba(0, 0, 0, 0.35);
}

.lever-knob {
  position: absolute;
  left: 20px;
  bottom: 96px;
  width: 32px;
  height: 32px;
  margin-left: -16px;
  border-radius: 50%;
  transform: translateZ(12px);
  transition: transform 0.42s cubic-bezier(0.16, 0.75, 0.2, 1);
  background: radial-gradient(circle at 32% 28%, #fff 0 14%, #ff5c4c 38%, #d01212 72%, #6e0d0d);
  box-shadow:
    0 8px 12px rgba(0, 0, 0, 0.35),
    inset 0 -6px 7px rgba(0, 0, 0, 0.3);
}

.slot-lever:active .lever-arm,
.slots-machine.is-spinning .lever-arm {
  transform: rotateX(-75deg);
}

.slots-machine.is-spinning .lever-knob,
.slot-lever:active .lever-knob {
  transform: translate3d(-16px, 74px, 130px) scale(1.4);
  box-shadow: 0 26px 18px rgba(0, 0, 0, 0.45), inset 0 -6px 7px rgba(0, 0, 0, 0.3);
}

.slot-lever:disabled {
  cursor: wait;
}

.coin-tray {
  display: flex;
  direction: ltr;
  align-items: center;
  gap: 0.45rem;
  width: auto;
  height: 18px;
  margin: 0.7rem 0.85rem 0;
  padding: 0;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.05));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.tray-ridges,
.tray-slot {
  display: none;
}

.slots-cabinet {
  display: grid;
  grid-template-columns: 8px 1fr 8px;
  gap: 0.35rem;
  align-items: stretch;
  padding: 0.4rem;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #10131a;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.side-panel {
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(240, 212, 138, 0.85), rgba(62, 207, 142, 0.45));
  border: 0;
}

.side-seven,
.coin-stack {
  display: none;
}

.belly {
  margin: 0.55rem 0.15rem 0;
  padding: 0.15rem 0.15rem 0.2rem;
  border: 0;
  border-radius: 16px;
  background: transparent;
  box-shadow: none;
}

.chrome-base {
  display: none;
}

.paytable {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.28rem;
  margin: 0 0 0.35rem;
}

.paytable span {
  font-size: 0.62rem;
  color: rgba(247, 244, 238, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  padding: 0.12rem 0.4rem;
  background: rgba(255, 255, 255, 0.04);
}

.reel::before,
.reel::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 22%;
  z-index: 2;
  pointer-events: none;
}

.reel::before {
  top: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.28), transparent);
}

.reel::after {
  bottom: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.28), transparent);
}

.reel-strip {
  will-change: transform;
}

.slots-machine.is-spinning .reel-cell .sym {
  filter: blur(0.6px);
}

.reel-cell {
  height: var(--cell);
  display: grid;
  place-items: center;
}

.sym {
  font-size: 2rem;
  line-height: 1;
  filter: drop-shadow(0 2px 1px rgba(0, 0, 0, 0.35));
}

.reel.landed {
  animation: land-bounce 0.35s ease;
}

@keyframes land-bounce {
  0% { transform: translateY(0); }
  40% { transform: translateY(5px); }
  100% { transform: translateY(0); }
}

.slots-msg {
  margin: 0.15rem 0 0.3rem;
  min-height: 1.1rem;
  font-family: var(--font-display);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  color: rgba(247, 244, 238, 0.86);
}

.slots-controls {
  display: grid;
  gap: 0.45rem;
  justify-items: center;
}

.slots-controls .stake-rack {
  justify-content: center;
}

.belly .rack-chip {
  width: 1.9rem;
  height: 1.9rem;
  font-size: 0.58rem;
}

.slots-machine.win {
  animation: win-flash 0.4s ease 3;
}

.slots-machine.lose .slots-msg {
  color: #e2685c;
}

@keyframes win-flash {
  50% {
    box-shadow: 0 0 40px rgba(212, 176, 106, 0.65);
    border-color: var(--gold-bright);
  }
}

/* מסך תוצאה אחרי סיבוב */
.slots-result {
  position: absolute;
  inset: 0;
  z-index: 6;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 0.5rem;
  text-align: center;
  background: rgba(4, 8, 6, 0.88);
  backdrop-filter: blur(3px);
  border-radius: inherit;
  animation: result-in 0.35s ease;
}

.slots-result-title {
  font-family: var(--font-display);
  font-size: 1.45rem;
  letter-spacing: 0.04em;
}

.slots-result.is-win .slots-result-title {
  color: #3ecf8e;
  text-shadow: 0 0 18px rgba(62, 207, 142, 0.55);
}

.slots-result.is-lose .slots-result-title {
  color: #e2685c;
  text-shadow: 0 0 14px rgba(226, 104, 92, 0.4);
}

.slots-result-sub {
  color: var(--muted);
  font-size: 0.9rem;
}

.slots-result .btn {
  margin-top: 0.35rem;
  padding: 0.6rem 1.8rem;
  font-family: var(--font-display);
  font-size: 0.95rem;
  letter-spacing: 0.08em;
}

.toast {
  position: fixed;
  bottom: 1.25rem;
  left: 50%;
  transform: translateX(-50%) translateY(120%);
  padding: 0.75rem 1.1rem;
  border-radius: 999px;
  background: rgba(18, 26, 20, 0.95);
  border: 1px solid var(--line);
  color: var(--gold-bright);
  opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
  z-index: 50;
  pointer-events: none;
}

.toast.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

.site-footer {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  padding: 1.4rem 1.5rem calc(2rem + env(safe-area-inset-bottom));
  text-align: center;
  color: var(--muted);
  font-size: 0.8rem;
  border-top: 1px solid rgba(212, 176, 106, 0.12);
}

.site-footer a {
  color: var(--gold-bright);
}

.header-meta {
  display: contents;
}

.member-pill {
  order: 1;
  flex-shrink: 0;
  font-size: 0.78rem;
  line-height: 1.15;
  color: var(--gold-bright);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.22rem 0.55rem;
  white-space: nowrap;
}

.lang-toggle {
  order: 2;
  flex-shrink: 0;
  appearance: none;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.1;
  cursor: pointer;
  color: var(--gold-bright);
  background: none;
  border: none;
  border-radius: 0;
  padding: 0.1rem 0.15rem;
  box-shadow: none;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.lang-toggle:hover {
  filter: brightness(1.06);
}

.btn-logout {
  order: 5;
  appearance: none;
  flex-shrink: 0;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.1;
  cursor: pointer;
  color: var(--gold-bright);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(212, 176, 106, 0.35);
  border-radius: 8px;
  padding: 0.2rem 0.48rem;
  transition: color 0.16s ease, border-color 0.16s ease, transform 0.16s ease;
}

.btn-logout:hover {
  color: var(--gold-bright);
  border-color: rgba(212, 176, 106, 0.55);
}

.btn-logout:disabled {
  opacity: 0.6;
  cursor: wait;
}

.header-chat-btn {
  order: 4;
  appearance: none;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.1;
  cursor: pointer;
  color: var(--gold-bright);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(212, 176, 106, 0.35);
  border-radius: 8px;
  padding: 0.2rem 0.48rem;
}

.header-chat-btn .live-dot {
  display: block;
  flex-shrink: 0;
}

.header-chat-btn.is-open {
  border-color: rgba(62, 207, 142, 0.8);
  color: #f4fff8;
}

.header-chat {
  position: fixed;
  z-index: 60;
  display: grid;
  gap: 0.55rem;
  padding: 0.7rem;
  border-radius: 16px;
  background: rgba(10, 16, 12, 0.96);
  border: 1px solid rgba(212, 176, 106, 0.45);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(14px);
}

.header-chat[hidden] {
  display: none;
}

.header-chat .chat-log {
  height: 220px;
  scrollbar-width: thin;
  scrollbar-color: rgba(212, 176, 106, 0.55) transparent;
}

.header-chat .chat-log::-webkit-scrollbar {
  width: 8px;
}

.header-chat .chat-log::-webkit-scrollbar-button {
  display: none;
  width: 0;
  height: 0;
}

.header-chat .chat-log::-webkit-scrollbar-thumb {
  background: rgba(212, 176, 106, 0.55);
  border-radius: 8px;
}

.header-chat .chat-form {
  flex-wrap: nowrap;
}

.header-chat .chat-input {
  min-width: 0;
}

.club-hero {
  min-height: 88vh;
}

.club-hero .hero-copy {
  width: min(420px, calc(100% - 2rem));
  margin-top: 1.5rem;
  padding: 1.7rem 1.35rem 1.45rem;
  border-radius: 18px;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.club-hero .hero-brand {
  font-size: clamp(1.8rem, 5vw, 2.6rem);
  letter-spacing: 0.2em;
}

.club-hero .join-form {
  flex-direction: column;
  align-items: stretch;
}

.club-hero .join-input,
.club-hero .join-form .btn {
  width: 100%;
}

.reg-step {
  margin: 0;
  width: 100%;
  text-align: center;
  color: var(--gold-bright);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
}

.club-hero [data-reg-step] {
  display: grid;
  gap: 0.65rem;
  width: 100%;
}

.club-hero [data-reg-step][hidden] {
  display: none;
}

.reg-actions {
  display: flex;
  gap: 0.5rem;
}

.reg-actions .btn {
  flex: 1;
}

.club-hero .avatar-grid {
  margin: 0.2rem 0 0.1rem;
}

.join-form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  justify-content: center;
  animation: rise-in 0.9s ease 0.32s both;
}

.join-input {
  width: min(220px, 70vw);
  text-align: center;
}

.auth-tabs {
  display: inline-flex;
  gap: 0.3rem;
  margin: 0.85rem 0 0.75rem;
  padding: 0.28rem;
  border: 1px solid rgba(212, 176, 106, 0.28);
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.32);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  animation: rise-in 0.9s ease 0.28s both;
}

.auth-tab {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  padding: 0.48rem 1.05rem;
  border-radius: 10px;
  transition: color 0.16s ease, background 0.16s ease, box-shadow 0.16s ease;
}

.auth-tab.is-active {
  color: #1a1408;
  background: linear-gradient(180deg, #f6e4ba 0%, #d4b06a 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.auth-form[hidden] {
  display: none !important;
}

.auth-message {
  margin: 0 0 0.75rem;
  min-height: 1.25rem;
  font-size: 0.95rem;
  color: var(--muted);
  animation: rise-in 0.5s ease both;
}

.auth-message.is-error {
  color: #f0a8a8;
}

.auth-message.is-info {
  color: var(--gold-bright);
}

body.auth-loading .auth-tabs,
body.auth-loading .auth-form {
  opacity: 0.72;
  pointer-events: none;
}

.manager-inbox {
  display: grid;
  gap: 0.7rem;
}

.inbox-item {
  padding: 0.75rem 0.8rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.inbox-item.is-new {
  border-color: rgba(212, 176, 106, 0.55);
}

.inbox-item header {
  display: flex;
  justify-content: space-between;
  gap: 0.6rem;
  margin-bottom: 0.35rem;
}

.inbox-item p {
  margin: 0.15rem 0;
  color: var(--muted);
}

.club-shell {
  padding-top: 0.55rem;
  padding-bottom: 3rem;
}

.header-club-title {
  order: 7;
  flex: 1 1 100%;
  margin: 0.05rem 0 0;
  text-align: center;
  font-size: 1.2rem;
}

.site-header:has(.header-club-title) {
  background:
    linear-gradient(180deg, rgba(6, 10, 8, 0.42), rgba(6, 10, 8, 0.12));
  border-bottom-color: transparent;
  backdrop-filter: blur(4px);
}

.site-header:has(.header-club-title) .nav-links {
  order: 8;
  flex: 1 1 100%;
  margin: 0.2rem 0.45rem 0.15rem;
  padding: 0.42rem 0.3rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(232, 208, 150, 0.38);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(12px);
}

/* פרופיל מוקטן — שורה אחת בפינה העליונה */
.profile-mini {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
  font-size: 0.82rem;
}

.profile-mini-avatar {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 32% 26%, rgba(212, 176, 106, 0.22), transparent 55%),
    radial-gradient(circle at 32% 26%, #3d5548, #101f18 72%);
  border: 1px solid rgba(212, 176, 106, 0.7);
  font-family: var(--font-display);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--gold-bright);
}

.profile-mini-name {
  color: var(--gold-bright);
  font-weight: 600;
}

.profile-mini-tier,
.profile-mini-chips {
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.3);
  color: var(--muted);
}

.profile-mini-chips {
  color: var(--gold-bright);
  font-variant-numeric: tabular-nums;
}

.club-kicker {
  margin: 0;
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.club-kicker a,
.site-footer a[data-club-domain],
.settings-id a,
.hero-domain a,
.header-domain {
  color: inherit;
  text-decoration: none;
  text-transform: none;
  letter-spacing: 0.04em;
}

.header-domain {
  display: block;
  margin-top: 0.15rem;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: #f6e7c4;
}

.hero-domain {
  margin: 0.45rem 0 0;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  color: #f6e7c4;
}

.club-meta {
  margin: 0.25rem 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.club-meta strong {
  color: var(--ink);
}

.club-section {
  padding: 0 0 2rem;
  max-width: none;
}

.games-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin: 0 0 0.85rem;
}

.games-head h2 {
  margin: 0;
}

.club-faces {
  display: flex;
  align-items: center;
  min-height: 2.2rem;
}

.club-face {
  width: 2.15rem;
  height: 2.15rem;
  margin-inline-start: -0.55rem;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid #121614;
  box-shadow: 0 0 0 1px rgba(212, 176, 106, 0.7);
  background: #1b1e1c;
}

.club-face:first-child {
  margin-inline-start: 0;
}

.club-face .avatar-face,
.club-face .avatar-face img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
}

.rooms-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.85rem;
}

@media (max-width: 800px) {
  .rooms-grid {
    grid-template-columns: 1fr;
  }
}

.room-link {
  display: block;
  padding: 1.2rem 1.15rem 1.35rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background:
    linear-gradient(160deg, rgba(15, 61, 46, 0.4), rgba(11, 15, 12, 0.15)),
    var(--bg-2);
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.room-link.feature-holdem,
.room-link.feature-roulette,
.room-link.feature-slots {
  min-height: 210px;
  background-size: cover;
  background-position: center 30%;
  border-color: rgba(255, 255, 255, 0.16);
}

.room-link.feature-holdem {
  background-image:
    linear-gradient(180deg, rgba(6, 8, 10, 0.15), rgba(6, 8, 10, 0.78)),
    url("../img/rooms/noir.jpg");
}

.room-link.feature-roulette {
  background-image:
    linear-gradient(180deg, rgba(6, 8, 10, 0.15), rgba(6, 8, 10, 0.78)),
    url("../img/rooms/azure.jpg");
}

.room-link.feature-slots {
  background-image:
    linear-gradient(180deg, rgba(6, 8, 10, 0.15), rgba(6, 8, 10, 0.78)),
    url("../img/rooms/high.jpg");
}

.room-link.feature-holdem .room-preview,
.room-link.feature-roulette .room-preview,
.room-link.feature-slots .room-preview {
  background: rgba(0, 0, 0, 0.28);
}

.room-tag {
  display: inline-block;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: var(--gold);
  margin-bottom: 0.45rem;
}

.room-link h3 {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  letter-spacing: 0.05em;
  color: var(--gold-bright);
}

.room-link p {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.45;
}

/* תצוגות מקדימות של המשחקים בכרטיסי החדרים */
.room-preview {
  position: relative;
  height: 84px;
  margin-bottom: 0.8rem;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  background: radial-gradient(ellipse at center, rgba(20, 92, 68, 0.55), rgba(5, 12, 9, 0.65));
  border: 1px solid rgba(212, 176, 106, 0.2);
  overflow: hidden;
}

.mini-card {
  display: grid;
  place-items: center;
  width: 34px;
  height: 48px;
  border-radius: 5px;
  background: linear-gradient(160deg, #fff, #ece7db);
  color: #1a1a1a;
  font-size: 0.72rem;
  font-weight: 700;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.45);
  transform: rotate(-8deg);
}

.mini-card .suit {
  width: 0.9em;
  height: 0.9em;
  fill: currentColor;
}

.mini-card.back {
  background:
    repeating-linear-gradient(45deg, #163a2d 0 5px, #0e2820 5px 10px);
  color: rgba(212, 176, 106, 0.9);
  font-family: var(--font-display);
  font-size: 0.62rem;
  border: 1px solid rgba(212, 176, 106, 0.5);
  transform: rotate(11deg);
}

.mini-wheel {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  border: 3px solid var(--gold);
  background: repeating-conic-gradient(#0d0d0d 0 20deg, #c45c4a 20deg 40deg);
  animation: spin-slow 9s linear infinite;
}

.mini-ball {
  position: absolute;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #e8efe9;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
  transform: translate(-24px, -18px);
}

@keyframes spin-slow {
  to {
    transform: rotate(360deg);
  }
}

.mini-reel {
  display: grid;
  place-items: center;
  width: 40px;
  height: 52px;
  border-radius: 7px;
  background: linear-gradient(180deg, #1a2420, #0d1411);
  border: 1px solid rgba(212, 176, 106, 0.3);
  font-size: 1.25rem;
}

.club-split {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 1rem;
}

@media (max-width: 860px) {
  .club-split {
    grid-template-columns: 1fr;
  }
}

.lounge-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
}

.lounge-head h2,
.members-panel h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.1rem;
  letter-spacing: 0.06em;
  color: var(--gold-bright);
}

.chat-log {
  height: 280px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  padding: 0.35rem 0.15rem 0.75rem;
}

.live-chat {
  position: sticky;
  top: 5.2rem;
}

.live-chat .chat-log {
  height: min(62vh, 540px);
}

.chat-bubble {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  gap: 0.55rem;
  align-items: center;
  padding: 0.5rem 0.65rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.86rem;
}

.chat-avatar {
  position: relative;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  overflow: hidden;
  border: 1px solid rgba(212, 176, 106, 0.55);
}

.chat-copy {
  display: grid;
  gap: 0.08rem;
  min-width: 0;
}

.chat-copy span {
  line-height: 1.35;
}

.lounge-head .live-dot,
.live-chat .live-dot {
  display: inline-block;
  margin-inline-end: 0.35rem;
}

.chat-bubble strong {
  color: var(--gold-bright);
  font-size: 0.78rem;
}

.chat-bubble.mine {
  border-color: rgba(212, 176, 106, 0.35);
  background: rgba(212, 176, 106, 0.1);
}

.chat-bubble.system {
  opacity: 0.85;
  font-style: italic;
}

.chat-form {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.chat-input {
  flex: 1;
  min-width: 160px;
}

.members-list {
  list-style: none;
  margin: 0.85rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.45rem;
}

.members-list li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.members-list .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #3ecf8e;
  box-shadow: 0 0 8px rgba(62, 207, 142, 0.6);
  animation: pulse-dot 2.2s ease-in-out infinite;
}

.member-mono {
  display: grid;
  place-items: center;
  width: 1.55rem;
  height: 1.55rem;
  border-radius: 50%;
  flex-shrink: 0;
  font-family: var(--font-display);
  font-size: 0.55rem;
  font-weight: 700;
  color: var(--gold-bright);
  border: 1px solid rgba(212, 176, 106, 0.55);
  background: radial-gradient(circle at 30% 25%, rgba(212, 176, 106, 0.2), #101f18 70%);
}

.lobby-ticker {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem 0.65rem;
  margin: -0.35rem 0 1.1rem;
  padding: 0.55rem 0.85rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.28);
  color: var(--muted);
  font-size: 0.8rem;
}

.lobby-ticker .ticker-item strong {
  color: var(--gold-bright);
  font-weight: 600;
}

.lobby-ticker .ticker-sep {
  opacity: 0.45;
}

@keyframes pulse-dot {
  0%,
  100% {
    opacity: 0.7;
  }
  50% {
    opacity: 1;
  }
}

.club-banner {
  padding: 1.25rem 1.35rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(15, 61, 46, 0.45), transparent 60%),
    rgba(0, 0, 0, 0.28);
  margin-bottom: 1rem;
}

.club-banner-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.club-banner h2 {
  margin: 0.15rem 0 0;
  font-family: var(--font-display);
  letter-spacing: 0.08em;
  color: var(--gold-bright);
  font-size: 1.55rem;
}

.club-notice {
  margin: 0.75rem 0 0.35rem;
  color: var(--ink);
  line-height: 1.55;
  font-size: 0.95rem;
}

.settings-shell {
  max-width: 820px;
}

.settings-id-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.25rem;
  padding: 1rem 1.2rem;
}

.settings-id {
  margin: 0.2rem 0 0;
  font-family: var(--font-display);
  letter-spacing: 0.18em;
  color: var(--gold-bright);
  font-size: 1.6rem;
}

.settings-form {
  display: grid;
  gap: 1rem;
}

.settings-panel {
  padding: 1.25rem 1.3rem 1.4rem;
}

.settings-panel h2 {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  letter-spacing: 0.06em;
  color: var(--gold-bright);
  font-size: 1.15rem;
}

.settings-hint {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.5;
}

.settings-field {
  display: grid;
  gap: 0.4rem;
  margin-bottom: 0.85rem;
  color: var(--muted);
  font-size: 0.85rem;
}

.settings-field .bet-input,
.settings-textarea {
  width: 100%;
  text-align: start;
  border-radius: 10px;
}

.settings-textarea {
  resize: vertical;
  min-height: 4.5rem;
  padding: 0.75rem 0.9rem;
  line-height: 1.45;
}

.settings-toggle {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.95rem;
  padding: 0.75rem 0.85rem;
  border-radius: 12px;
  border: 1px solid rgba(212, 176, 106, 0.18);
  background: rgba(0, 0, 0, 0.22);
  cursor: pointer;
}

.settings-toggle input {
  margin-top: 0.2rem;
  accent-color: var(--gold);
  width: 1.05rem;
  height: 1.05rem;
  flex-shrink: 0;
}

.settings-toggle strong {
  display: block;
  color: var(--ink);
  font-size: 0.92rem;
}

.settings-toggle small {
  display: block;
  margin-top: 0.2rem;
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.4;
}

.lang-choice {
  display: flex;
  gap: 0.5rem;
}

.lang-choice button {
  appearance: none;
  cursor: pointer;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--gold-bright);
  background: none;
  border: none;
  padding: 0.15rem 0.1rem;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.lang-choice button.is-on {
  color: #f4fff8;
  text-decoration-thickness: 2px;
}

.settings-shell .page-title {
  font-size: 1.35rem;
}

.settings-shell .page-sub {
  margin-bottom: 0.85rem;
  font-size: 0.85rem;
}

.square-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0 0 0.85rem;
}

.green-square {
  appearance: none;
  width: 72px;
  height: 72px;
  padding: 0.3rem;
  display: grid;
  place-items: center;
  text-align: center;
  border-radius: 12px;
  border: 1px solid rgba(212, 176, 106, 0.72);
  background:
    radial-gradient(ellipse 80% 40% at 50% 8%, rgba(255, 255, 255, 0.16), transparent 70%),
    radial-gradient(circle at 30% 20%, rgba(190, 255, 226, 0.14), transparent 46%),
    linear-gradient(180deg, #18664b 0%, #0f3d2e 58%, #081a13 100%);
  color: #f4fff8;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: 0.01em;
  cursor: pointer;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    0 6px 12px rgba(0, 0, 0, 0.28);
  transition: transform 0.16s ease, filter 0.16s ease;
}

.green-square span {
  display: block;
}

.green-square:hover {
  transform: translateY(-2px);
  filter: brightness(1.06);
  color: #fff;
}

.green-square:active {
  transform: translateY(0);
}

.green-square.is-active {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    0 0 0 2px rgba(240, 217, 160, 0.85);
}

.settings-id-bar .green-square {
  flex-shrink: 0;
}

.settings-panel {
  padding: 0.8rem 0.85rem 0.9rem;
}

.settings-panel h2 {
  font-size: 0.95rem;
}

.settings-hint {
  margin-bottom: 0.65rem;
  font-size: 0.78rem;
}

.settings-id {
  font-size: 1.15rem;
}

.settings-textarea {
  min-height: 3.2rem;
}

.account-cats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem;
  margin: 0 0 1rem;
}

.account-cat {
  appearance: none;
  cursor: pointer;
  font: inherit;
  font-weight: 650;
  font-size: 0.92rem;
  color: #f4fff8;
  padding: 0.95rem 0.7rem;
  border-radius: 14px;
  border: 1px solid rgba(212, 176, 106, 0.55);
  background: rgba(8, 12, 10, 0.62);
  backdrop-filter: blur(8px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.account-cat.is-open {
  color: #f0d9a0;
  border-color: rgba(240, 217, 160, 0.9);
  background: linear-gradient(180deg, #18664b 0%, #0c2e22 100%);
}

.account-panel .chip-balance {
  margin: 0.35rem 0 0.8rem;
}

.policy-list {
  margin: 0.4rem 0 0;
  padding: 0 1.1rem 0 0;
  color: var(--ink);
  line-height: 1.5;
  font-size: 0.9rem;
}

.policy-list li + li {
  margin-top: 0.55rem;
}

.settings-shell .account-cats {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (min-width: 720px) {
  .account-cats {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .settings-shell .account-cats {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .account-cat {
    font-size: 0.82rem;
  }
}

body:has(.settings-shell) {
  background:
    linear-gradient(180deg, rgba(4, 6, 5, 0.28) 0%, rgba(4, 6, 5, 0.08) 30%, rgba(4, 6, 5, 0.32) 100%),
    url("../img/manager.jpg") center top / cover no-repeat;
  background-attachment: fixed;
}

body:has(.settings-shell) .site-header,
body:has(.settings-shell) .site-footer {
  background: transparent;
  border-color: transparent;
  backdrop-filter: none;
  box-shadow: none;
}

body:has(.settings-shell) .page-title,
body:has(.settings-shell) .page-sub {
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.75);
}

body:has(.settings-shell) .chip-balance,
body:has(.settings-shell) .member-pill,
body:has(.settings-shell) .header-chat-btn,
body:has(.settings-shell) .btn-logout {
  background: transparent;
  box-shadow: none;
}

body:has(.settings-shell) .account-cat {
  background: transparent;
  backdrop-filter: none;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.9);
}

body:has(.settings-shell) .account-cat.is-open {
  background: rgba(15, 61, 46, 0.28);
}

body:has(.settings-shell) .settings-id-bar.felt,
body:has(.settings-shell) .settings-panel.felt {
  background: rgba(6, 14, 12, 0.18);
  backdrop-filter: none;
  box-shadow: none;
}
