/* Casino Dragon d'Or (Arkadia) : fenêtre des jeux (ui/casino-view.js). Or et laque rouge, feutre vert des tables. */
.cz { --gold: #ffd27a; --gold-d: #c9a050; --felt: #0b5a32; --felt-d: #063a20; --sym: 64px; display: flex; flex-direction: column; gap: 14px; }
.cz-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; }
.cz-head .chip[aria-pressed="true"] { color: #1a0a04; background: var(--gold); border-color: var(--gold); box-shadow: 0 0 14px rgba(255, 210, 122, 0.45); }
.cz-game { display: flex; align-items: center; gap: 10px; }
.cz-game > .ico { width: 22px; height: 22px; color: var(--gold); }
.cz-game b { font-family: 'Orbitron'; font-size: 17px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--gold); text-shadow: 0 0 10px rgba(255, 190, 80, 0.35); }
.cz-balance { font-size: 15px; color: var(--muted); }
.cz-balance b { color: var(--gold); font-family: 'Orbitron'; font-size: 15px; }
.cz-message { margin: 0; padding: 10px 14px; border-radius: 10px; background: rgba(255, 210, 122, 0.08); border: 1px solid rgba(255, 210, 122, 0.3); color: #fff2d0; font-size: 16px; }
.cz-message b { color: var(--gold); }
.cz-note { margin: 0; font-size: 14px; color: var(--muted); line-height: 1.45; }
.cz-note b { color: var(--text); }
.cz-empty { padding: 26px 10px; text-align: center; color: rgba(255, 242, 208, 0.75); font-size: 16px; }

/* Barre de mise : jetons, boutons */
.cz-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.cz-bar-label { font-family: 'Orbitron'; font-size: 11px; letter-spacing: 0.12em; color: var(--muted); text-transform: uppercase; }
.cz-chips { display: flex; gap: 8px; }
.cz-buttons { display: flex; flex-wrap: wrap; gap: 10px; margin-left: auto; }
.cz-chip {
  --c: #c0142a;
  width: 46px; height: 46px; border-radius: 50%; cursor: pointer;
  font-family: 'Orbitron'; font-weight: 900; font-size: 12px; color: #fff;
  background: radial-gradient(circle, var(--c) 0 52%, #fff 53% 58%, var(--c) 59% 100%);
  border: 3px dashed rgba(255, 255, 255, 0.85); box-shadow: 0 3px 8px rgba(0, 0, 0, 0.5);
  transition: transform 0.12s, box-shadow 0.12s;
}
.cz-chip.v5 { --c: #8a2a9a; } .cz-chip.v10 { --c: #2a5ac0; } .cz-chip.v25 { --c: #1a8a3a; } .cz-chip.v50 { --c: #c06a10; }
.cz-chip.v100 { --c: #1a1a1a; } .cz-chip.v250 { --c: #0a7a8a; } .cz-chip.v500 { --c: #c0142a; }
.cz-chip.v200 { --c: #2a5ac0; } .cz-chip.v1000 { --c: #1a1a1a; } .cz-chip.v2000 { --c: #c06a10; }
.cz-chip:hover { transform: translateY(-2px); }
.cz-chip[aria-pressed="true"] { transform: translateY(-4px) scale(1.08); box-shadow: 0 0 0 3px var(--gold), 0 6px 16px rgba(0, 0, 0, 0.55); }
.cz-chip:disabled { opacity: 0.4; cursor: not-allowed; }
.cz-picker { display: flex; align-items: center; gap: 8px; padding: 4px; border-radius: 12px; background: rgba(0, 0, 0, 0.3); border: 1px solid rgba(255, 210, 122, 0.25); }
.cz-picker b { min-width: 86px; text-align: center; font-family: 'Orbitron'; font-size: 15px; color: var(--gold); }
.cz-step { width: 32px; height: 32px; border-radius: 8px; border: 1px solid rgba(255, 210, 122, 0.4); background: rgba(255, 210, 122, 0.08); color: var(--gold); font-size: 20px; cursor: pointer; }
.cz-step:hover { background: rgba(255, 210, 122, 0.2); }

/* Roulette */
.cz-roulette { display: grid; grid-template-columns: 270px 1fr; gap: 20px; align-items: start; }
.cz-wheel-col { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.cz-wheel { width: 260px; height: 260px; border-radius: 50%; box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6), 0 0 0 3px #3a1a0a, 0 0 30px rgba(255, 180, 80, 0.15); }
.cz-status { margin: 0; min-height: 22px; font-family: 'Orbitron'; font-size: 13px; letter-spacing: 0.06em; color: var(--gold); text-align: center; }
.rl-history { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px; }
.rl-num { min-width: 28px; padding: 3px 5px; border-radius: 6px; text-align: center; font-weight: 700; font-size: 14px; color: #fff; }
.rl-num.rouge { background: #b8102a; } .rl-num.noir { background: #1a1a1a; border: 1px solid #444; } .rl-num.vert { background: #0d8a3e; }
.cz-layout-col { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.rl-grid {
  display: grid; grid-template-columns: 1.15fr repeat(12, 1fr) 1.5fr; grid-template-rows: repeat(3, 44px) 36px 36px;
  gap: 3px; padding: 10px; border-radius: 14px;
  background: radial-gradient(ellipse at center, #11804a, var(--felt-d)); border: 3px solid #3a1a0a; box-shadow: inset 0 0 30px rgba(0, 0, 0, 0.5);
}
.rl-cell {
  position: relative; display: grid; place-items: center; padding: 0; min-width: 0; cursor: pointer;
  font-family: 'Rajdhani'; font-weight: 700; font-size: 16px; color: #fff;
  background: transparent; border: 1.5px solid rgba(242, 234, 210, 0.75); border-radius: 4px;
  transition: background 0.12s, transform 0.08s;
}
.rl-cell.red { background: #b8102a; } .rl-cell.black { background: #161616; } .rl-cell.green { background: #0d8a3e; font-size: 20px; }
.rl-cell.out { font-size: 13px; color: #f2ead2; }
.rl-cell.red-d span { color: #ff3b4f; font-size: 22px; } .rl-cell.black-d span { color: #000; font-size: 22px; text-shadow: 0 0 2px #fff; }
.rl-cell:hover:not(:disabled) { background-color: rgba(255, 210, 122, 0.25); transform: translateY(-1px); }
.rl-cell.red:hover:not(:disabled) { background: #d8203a; } .rl-cell.black:hover:not(:disabled) { background: #2a2a2a; }
.rl-cell:disabled { cursor: not-allowed; opacity: 0.85; }
.rl-chip {
  position: absolute; z-index: 1; top: 50%; left: 50%; transform: translate(-50%, -50%);
  min-width: 26px; height: 26px; padding: 0 4px; display: grid; place-items: center; border-radius: 13px;
  font-family: 'Orbitron'; font-size: 10px; font-weight: 900; color: #1a0a04;
  background: var(--gold); border: 2px dashed #fff; box-shadow: 0 2px 6px rgba(0, 0, 0, 0.6);
  animation: cz-drop 0.22s ease-out;
}
.rl-other { position: absolute; right: 2px; bottom: 2px; width: 9px; height: 9px; border-radius: 50%; background: #38e8ff; border: 1px solid #fff; }

/* Tables de cartes */
.cz-felt {
  position: relative; display: flex; flex-direction: column; gap: 14px; padding: 18px 20px; border-radius: 120px 120px 22px 22px / 60px 60px 22px 22px;
  background: radial-gradient(ellipse at 50% 0%, #12844c, var(--felt-d)); border: 6px solid #3a1a0a;
  box-shadow: inset 0 0 40px rgba(0, 0, 0, 0.55), 0 10px 26px rgba(0, 0, 0, 0.4); min-height: 250px;
}
.cz-felt.pk { background: radial-gradient(ellipse at 50% 0%, #173c7a, #0a1a38); }
.cz-row { display: flex; align-items: center; gap: 16px; }
.cz-label { min-width: 150px; font-size: 15px; color: rgba(255, 242, 208, 0.85); }
.cz-label b { color: var(--gold); font-family: 'Orbitron'; font-size: 14px; }
.cz-cards { display: flex; gap: 8px; min-height: 92px; align-items: center; }
.cz-hands { display: flex; flex-wrap: wrap; gap: 18px; margin-top: auto; }
.cz-hand { padding: 10px 12px; border-radius: 12px; border: 2px solid transparent; }
.cz-hand.active { border-color: var(--gold); background: rgba(255, 210, 122, 0.06); }
.cz-hand p { margin: 6px 0 0; font-size: 14px; color: rgba(255, 242, 208, 0.85); }
.cz-hand p b { color: #fff; font-family: 'Orbitron'; }
.cz-hand em { font-style: normal; font-weight: 700; color: var(--gold); }
.cz-hand.r-perdu em, .cz-hand.r-saute em { color: #ff8a8a; }
.cz-card {
  position: relative; width: 62px; height: 88px; border-radius: 7px; flex: none;
  background: linear-gradient(160deg, #ffffff, #ece6da); color: #141414; box-shadow: 0 4px 10px rgba(0, 0, 0, 0.45);
  font-family: 'Rajdhani'; user-select: none;
}
.cz-card.red { color: #c0142a; }
.cz-card b { position: absolute; top: 3px; left: 6px; font-size: 20px; line-height: 1; }
.cz-card i { position: absolute; top: 22px; left: 6px; font-style: normal; font-size: 15px; }
.cz-card em { position: absolute; inset: 0; display: grid; place-items: center; font-style: normal; font-size: 36px; padding-top: 14px; }
.cz-card.back {
  background: repeating-linear-gradient(45deg, #7a0a14 0 6px, #5a0610 6px 12px);
  border: 3px solid #f4efe4; box-shadow: inset 0 0 0 2px #c9a050, 0 4px 10px rgba(0, 0, 0, 0.45);
}
.cz-card.slot { background: transparent; border: 2px dashed rgba(255, 242, 208, 0.25); box-shadow: none; }
.cz-card.fresh { animation: cz-deal 0.38s cubic-bezier(0.2, 0.8, 0.2, 1) both; animation-delay: calc(var(--i) * 0.16s); }
.cz-split { display: grid; grid-template-columns: 1fr 260px; gap: 18px; align-items: start; }
.cz-pays { padding: 14px 16px; border-radius: 14px; background: rgba(20, 4, 10, 0.6); border: 1px solid rgba(255, 210, 122, 0.3); }
.cz-pays h3 { margin: 0 0 8px; font-family: 'Orbitron'; font-size: 12px; letter-spacing: 0.1em; color: var(--gold); }
.cz-pays ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 5px; }
.cz-pays li { display: flex; justify-content: space-between; gap: 8px; font-size: 15px; }
.cz-pays li b { color: var(--gold); }
.cz-pays p { margin: 10px 0 0; font-size: 13px; color: var(--muted); line-height: 1.4; }

/* Machines à sous */
.cz-machine {
  display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 18px; border-radius: 22px;
  background: linear-gradient(180deg, #2a0a10, #12040a); border: 3px solid var(--gold-d);
  box-shadow: inset 0 0 30px rgba(0, 0, 0, 0.6), 0 0 26px rgba(255, 180, 80, 0.12);
}
.cz-machine .cz-bar { align-self: stretch; }
.cz-topper { font-family: 'Orbitron'; font-weight: 900; font-size: 22px; letter-spacing: 0.12em; color: var(--gold); text-shadow: 0 0 14px rgba(255, 176, 48, 0.7); }
.cz-topper span { font-family: 'Noto Sans JP', sans-serif; color: #ff5a6a; }
.cz-reels {
  position: relative; display: flex; gap: 8px; padding: 10px; border-radius: 14px;
  background: #0a0204; border: 3px solid var(--gold-d); box-shadow: inset 0 0 18px rgba(0, 0, 0, 0.9);
}
.cz-reel { position: relative; width: 104px; height: calc(var(--sym) * 3); overflow: hidden; border-radius: 8px; background: linear-gradient(180deg, #b8b0a0, #fffaf0 30%, #fffaf0 70%, #b8b0a0); }
.cz-reel::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(0, 0, 0, 0.55), transparent 28%, transparent 72%, rgba(0, 0, 0, 0.55)); }
.cz-strip { display: flex; flex-direction: column; will-change: transform; }
.cz-sym { height: var(--sym); display: grid; place-items: center; font-size: 40px; line-height: 1; font-family: 'Segoe UI Emoji', 'Apple Color Emoji', 'Noto Color Emoji', sans-serif; }
.cz-sym.s-sept { font-family: 'Orbitron'; font-weight: 900; font-size: 46px; color: #d0102a; }
.cz-sym.s-ox { font-family: 'Noto Sans JP', sans-serif; font-weight: 900; font-size: 42px; color: #c08a10; text-shadow: 0 0 6px rgba(255, 200, 80, 0.6); }
.cz-payline { position: absolute; left: 4px; right: 4px; top: 50%; height: 3px; transform: translateY(-50%); background: #ff3b4f; box-shadow: 0 0 10px #ff3b4f; pointer-events: none; }
.cz-slot-msg { margin: 0; min-height: 22px; font-size: 17px; color: #fff2d0; }
.cz-slot-msg b { color: var(--gold); }
.cz-spin { min-width: 180px; }
.cz-sym-s { font-family: 'Segoe UI Emoji', 'Noto Color Emoji', sans-serif; letter-spacing: 2px; }
.cz-sym-s.s-sept { font-family: 'Orbitron'; font-weight: 900; color: #ff3b4f; }
.cz-sym-s.s-ox { font-family: 'Noto Sans JP', sans-serif; font-weight: 900; color: var(--gold); }

/* Règles */
.cz-rules { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.cz-rules section { padding: 14px 16px; border-radius: 14px; background: rgba(20, 4, 10, 0.5); border: 1px solid rgba(255, 210, 122, 0.22); }
.cz-rules section:first-child { grid-column: 1 / -1; }
.cz-rules h3 { display: flex; align-items: center; gap: 8px; margin: 0 0 6px; font-family: 'Orbitron'; font-size: 13px; letter-spacing: 0.08em; color: var(--gold); }
.cz-rules h3 .ico { width: 18px; height: 18px; }
.cz-rules p { margin: 0 0 6px; font-size: 15px; line-height: 1.45; }

/* Poker entre joueurs : le choix de la table (le Dragon, le Tigre, la Grue) */
.hd-tabs { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.hd-tab {
  display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 8px; align-items: center; text-align: left;
  min-width: 170px; padding: 6px 12px; border-radius: 10px; cursor: pointer; color: #f4e6c8;
  background: linear-gradient(180deg, #2a0a10, #14050a); border: 1px solid rgba(255, 210, 122, 0.3);
}
.hd-tab i { grid-row: 1 / 3; font-style: normal; font-size: 26px; color: var(--gold); text-shadow: 0 0 8px rgba(255, 180, 60, 0.5); }
.hd-tab b { font-family: 'Orbitron'; font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; }
.hd-tab small { font-size: 12px; opacity: 0.75; }
.hd-tab[aria-pressed="true"] { border-color: var(--gold); box-shadow: 0 0 0 1px var(--gold) inset, 0 0 14px rgba(255, 190, 80, 0.25); background: linear-gradient(180deg, #4a1018, #20060c); }
.hd-tab:disabled { opacity: 0.4; cursor: default; }
.hd-tab:not(:disabled):hover { border-color: var(--gold); }

/* Poker entre joueurs : la table ronde, le croupier, six places autour (--x, --y : direction depuis le centre) */
.hd-table { --rx: 262px; --ry: 168px; position: relative; height: 440px; margin: 0 auto; width: 100%; max-width: 820px; }
.hd-felt {
  position: absolute; left: 50%; top: 50%; width: 296px; height: 296px; transform: translate(-50%, -50%); border-radius: 50%;
  background: radial-gradient(ellipse at 50% 40%, #12844c, #0a4a2a 70%, #063a20);
  border: 14px solid #3a1a0a; box-shadow: inset 0 0 40px rgba(0, 0, 0, 0.55), 0 0 0 3px #c9a050, 0 14px 30px rgba(0, 0, 0, 0.5);
}
.hd-logo { position: absolute; left: 50%; top: 50%; transform: translate(-50%, 12px); font-family: 'Noto Sans JP', sans-serif; font-weight: 900; font-size: 62px; color: rgba(255, 210, 122, 0.13); pointer-events: none; }
.hd-center { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -58%); display: flex; flex-direction: column; align-items: center; gap: 4px; }
.hd-board { gap: 5px; min-height: 0; }
.hd-board .cz-card { width: 48px; height: 68px; }
.hd-board .cz-card b { font-size: 17px; } .hd-board .cz-card em { font-size: 26px; }
.hd-pot { margin: 0; font-size: 15px; color: #fff2d0; }
.hd-pot b { color: var(--gold); font-family: 'Orbitron'; font-size: 14px; }
.hd-status { margin: 0; min-height: 18px; font-family: 'Orbitron'; font-size: 11px; letter-spacing: 0.08em; color: rgba(255, 242, 208, 0.8); }
.hd-croupier, .hd-seat, .hd-bet { position: absolute; left: calc(50% + var(--x) * var(--rx)); top: calc(50% + var(--y) * var(--ry)); transform: translate(-50%, -50%); }
.hd-croupier { display: flex; flex-direction: column; align-items: center; gap: 2px; font-family: 'Orbitron'; font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold); }
.hd-croupier .ico { width: 26px; height: 26px; padding: 6px; border-radius: 50%; background: #0d0f16; border: 2px solid var(--gold); }
.hd-seat { display: flex; flex-direction: column; align-items: center; gap: 4px; width: 150px; }
.hd-cards { display: flex; gap: 3px; min-height: 50px; justify-content: center; }
.hd-cards .cz-card { width: 36px; height: 50px; border-radius: 5px; }
.hd-cards .cz-card b { font-size: 14px; top: 2px; left: 4px; } .hd-cards .cz-card i { display: none; } .hd-cards .cz-card em { font-size: 19px; padding-top: 10px; }
.hd-cards .cz-card.back { border-width: 2px; }
.hd-plate {
  position: relative; display: flex; flex-direction: column; align-items: center; min-width: 118px; padding: 5px 10px 6px; border-radius: 12px;
  background: rgba(10, 4, 8, 0.86); border: 2px solid rgba(255, 210, 122, 0.35); box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5); line-height: 1.2;
}
.hd-plate b { max-width: 130px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 14px; color: #fff2d0; }
.hd-plate span { font-family: 'Orbitron'; font-size: 12px; color: var(--gold); }
.hd-plate em { font-style: normal; font-size: 12px; font-weight: 700; color: #38e8ff; text-transform: uppercase; letter-spacing: 0.04em; }
.hd-plate strong { font-size: 12px; color: #ffd27a; }
.hd-plate .hd-win { color: #5dff9a; font-family: 'Orbitron'; }
.hd-seat.me .hd-plate { border-color: #38e8ff; }
.hd-seat.turn .hd-plate { border-color: var(--gold); box-shadow: 0 0 0 2px var(--gold), 0 0 22px rgba(255, 210, 122, 0.55); }
.hd-seat.won .hd-plate { border-color: #ffd27a; background: linear-gradient(180deg, rgba(90, 60, 10, 0.95), rgba(30, 12, 4, 0.95)); box-shadow: 0 0 0 2px #ffd27a, 0 0 26px rgba(255, 200, 80, 0.7); animation: hd-glow 1.4s ease-in-out infinite; }
.hd-seat.won.fresh { animation: hd-bounce 0.7s cubic-bezier(0.3, 1.6, 0.5, 1) 0.9s both; }
.hd-seat.lost { opacity: 0.55; }
.hd-crown { position: absolute; top: -26px; left: 50%; translate: -50% 0; font-style: normal; font-size: 24px; filter: drop-shadow(0 0 6px rgba(255, 200, 80, 0.9)); animation: hd-crown 1.2s ease-in-out infinite alternate; z-index: 2; }
.hd-gain { position: absolute; top: -10px; left: 50%; font-family: 'Orbitron'; font-weight: 900; font-size: 20px; color: #ffe08a; text-shadow: 0 0 10px rgba(255, 190, 60, 0.9), 0 2px 0 #5a3008; white-space: nowrap; animation: hd-rise 2.2s ease-out 1s both; z-index: 3; }
.cz-card.best { translate: 0 -6px; box-shadow: 0 0 0 2px #ffd27a, 0 0 16px rgba(255, 200, 80, 0.85); }
.cz-card.dim { filter: brightness(0.5) saturate(0.6); }
.hd-banner {
  position: relative; z-index: 4; display: flex; flex-direction: column; align-items: center; gap: 0; margin-top: 4px;
  padding: 4px 14px 5px; border-radius: 12px; pointer-events: none; text-align: center; white-space: nowrap;
  background: linear-gradient(180deg, rgba(122, 16, 24, 0.95), rgba(40, 6, 10, 0.95)); border: 2px solid #ffd27a;
  box-shadow: 0 0 30px rgba(255, 190, 80, 0.5), 0 8px 20px rgba(0, 0, 0, 0.6);
}
.hd-banner b { font-family: 'Orbitron'; font-size: 15px; color: #fff2d0; letter-spacing: 0.04em; }
.hd-banner span { font-size: 12px; color: #f4e6c8; }
.hd-banner em { font-style: normal; font-family: 'Orbitron'; font-weight: 900; color: #ffd27a; }
.hd-banner small { font-size: 11px; color: #ffd27a; text-transform: uppercase; letter-spacing: 0.08em; }
.hd-banner.pop { animation: hd-pop 0.6s cubic-bezier(0.3, 1.7, 0.5, 1) 0.15s both; }
.hd-fly { position: absolute; left: 50%; top: 50%; width: 0; height: 0; z-index: 3; pointer-events: none; }
.hd-fly i {
  position: absolute; width: 22px; height: 22px; margin: -11px 0 0 -11px; border-radius: 50%; background: var(--c);
  border: 3px dashed rgba(255, 255, 255, 0.75); box-shadow: 0 2px 6px rgba(0, 0, 0, 0.6);
  animation: hd-fly 0.85s cubic-bezier(0.5, 0, 0.3, 1) var(--d) both;
}
@keyframes hd-fly {
  0% { transform: translate(0, -20px) scale(0.6); opacity: 0; }
  15% { opacity: 1; transform: translate(0, -20px) scale(1); }
  85% { opacity: 1; }
  100% { transform: translate(calc(var(--x) * var(--rx)), calc(var(--y) * var(--ry))) scale(0.8); opacity: 0; }
}
@keyframes hd-pop { from { opacity: 0; scale: 0.4; } to { opacity: 1; scale: 1; } }
@keyframes hd-bounce { 0% { scale: 1; } 40% { scale: 1.18; } 100% { scale: 1; } }
@keyframes hd-glow { 50% { box-shadow: 0 0 0 2px #ffd27a, 0 0 40px rgba(255, 200, 80, 0.95); } }
@keyframes hd-crown { from { translate: -50% 0; } to { translate: -50% -5px; } }
@keyframes hd-rise { 0% { opacity: 0; transform: translate(-50%, 10px) scale(0.6); } 20% { opacity: 1; transform: translate(-50%, -8px) scale(1.15); } 100% { opacity: 0; transform: translate(-50%, -46px) scale(1); } }
@media (prefers-reduced-motion: reduce) {
  .hd-fly, .hd-gain { display: none; }
  .hd-seat.won .hd-plate, .hd-seat.won.fresh, .hd-crown, .hd-banner.pop { animation: none; }
}
.hd-seat.folded .hd-cards, .hd-seat.out .hd-plate { opacity: 0.45; }
.hd-seat.empty { width: 118px; height: 54px; justify-content: center; border-radius: 12px; border: 2px dashed rgba(255, 242, 208, 0.25); color: rgba(255, 242, 208, 0.5); font-size: 13px; background: transparent; }
.hd-seat.free { cursor: pointer; border-color: rgba(255, 210, 122, 0.6); color: var(--gold); font-family: inherit; }
.hd-seat.free small { font-family: 'Orbitron'; font-size: 10px; }
.hd-seat.free:hover:not(:disabled) { background: rgba(255, 210, 122, 0.12); }
.hd-seat.free:disabled { opacity: 0.5; cursor: not-allowed; }
.hd-bot { padding: 0 5px; border-radius: 6px; font-style: normal; font-family: 'Orbitron'; font-size: 9px; letter-spacing: 0.06em; text-transform: uppercase; color: #0a0a0c; background: #38e8ff; vertical-align: 2px; }
.hd-dealer-btn { position: absolute; top: -9px; right: -9px; width: 22px; height: 22px; display: grid; place-items: center; border-radius: 50%; font-style: normal; font-family: 'Orbitron'; font-weight: 900; font-size: 11px; color: #141414; background: #f4efe4; border: 2px solid #c9a050; box-shadow: 0 2px 6px rgba(0, 0, 0, 0.6); }
.hd-timer { position: absolute; left: 8px; right: 8px; bottom: -6px; height: 4px; border-radius: 2px; background: rgba(255, 255, 255, 0.15); overflow: hidden; }
.hd-timer i { position: absolute; inset: 0; background: var(--gold); transform-origin: left; }
.hd-timer i.late { background: #ff3b4f; }
.hd-bet { display: flex; align-items: center; gap: 4px; padding: 2px 8px 2px 3px; border-radius: 12px; background: rgba(0, 0, 0, 0.55); font-family: 'Orbitron'; font-size: 11px; color: #fff2d0; }
.hd-bet i { width: 16px; height: 16px; border-radius: 50%; background: radial-gradient(circle, #c0142a 0 45%, #fff 46% 56%, #c0142a 57%); border: 1px dashed #fff; }
.hd-bar { align-items: flex-start; }
.hd-play { margin-left: 0; flex: 1; align-items: center; }
.hd-sizes { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; flex-basis: 100%; }
.hd-sizes input[type="range"] { flex: 1; min-width: 160px; accent-color: var(--gold); }
.hd-sizes .chip[aria-pressed="true"] { color: #1a0a04; background: var(--gold); border-color: var(--gold); }

@keyframes cz-deal { from { opacity: 0; transform: translate(-60px, -90px) rotate(-14deg) scale(0.8); } to { opacity: 1; transform: none; } }
@keyframes cz-drop { from { transform: translate(-50%, -90%) scale(1.4); opacity: 0; } to { transform: translate(-50%, -50%); opacity: 1; } }

@media (max-width: 900px) {
  .cz-roulette, .cz-split { grid-template-columns: 1fr; }
  .cz-rules { grid-template-columns: 1fr; }
  .rl-grid { grid-template-rows: repeat(3, 36px) 32px 32px; }
  .cz { --sym: 52px; }
  .cz-reel { width: 84px; }
  .cz-label { min-width: 100px; }
  .cz-card { width: 50px; height: 72px; }
  .hd-table { --rx: 40vw; --ry: 165px; height: 430px; }
  .hd-felt { width: min(62vw, 260px); height: min(62vw, 260px); }
  .hd-seat { width: 110px; }
  .hd-plate { min-width: 96px; padding: 4px 6px; }
  .hd-board .cz-card { width: 38px; height: 54px; }
}
/* Écran bas (portable 720 à 820 px) : la table se tasse pour que les boutons restent visibles sans défiler */
@media (max-height: 820px) {
  .hd-table { --ry: 124px; height: 330px; }
  .hd-felt { width: 218px; height: 218px; border-width: 10px; }
  .hd-logo { font-size: 44px; }
  .hd-board .cz-card { width: 36px; height: 51px; }
  .hd-board .cz-card b { font-size: 14px; } .hd-board .cz-card em { font-size: 19px; } .hd-board .cz-card i { display: none; }
  .hd-seat { flex-direction: row; width: auto; gap: 4px; }
  .hd-cards { min-height: 0; }
  .hd-cards .cz-card { width: 29px; height: 40px; }
  .hd-cards .cz-card b { font-size: 12px; } .hd-cards .cz-card em { font-size: 15px; padding-top: 8px; }
  .hd-plate { min-width: 104px; padding: 3px 8px 4px; }
  .hd-plate b { font-size: 13px; }
  .hd-note { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .cz-card.fresh, .rl-chip { animation: none; }
}
