/* baccarat.css - premium skin. Layout classes from style.css; only baccarat's
   own pieces live here. */

.bc-wrap { max-width: 1200px; margin: 0 auto; padding: 84px 18px 40px; }
.bc-main-row { display: flex; gap: 22px; align-items: flex-start; justify-content: center; flex-wrap: wrap; }
.bc-side-col { display: flex; flex-direction: column; gap: 14px; width: 400px; max-width: 100%; flex-shrink: 0; }
.bc-side-col .chat-panel { width: 100%; margin: 0; }
.bc-side-col .action-bar { position: static; margin-top: 0; }
.bc-side-col .bc-side-row-4 { grid-template-columns: repeat(2, 1fr); }

.bc-felt { padding-top: 44px; }
.bc-felt .table-legend { top: 60px; }
.bc-felt .felt-table { padding: 14px 34px 20px; }

.bc-hands { display: flex; align-items: center; justify-content: center; gap: 22px; margin-bottom: 6px; flex-wrap: wrap; }
.bc-hand-block {
  text-align: center; min-width: 170px; padding: 10px 14px 12px;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.40), rgba(0, 0, 0, 0.25));
  border: 1px solid var(--line); border-radius: 14px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 10px 24px rgba(0, 0, 0, 0.4);
}
.bc-hand-label {
  font-family: var(--f-body); letter-spacing: 0.26em; text-transform: uppercase;
  font-size: 0.62rem; color: var(--gold-bright); margin-bottom: 4px;
}
#playerBlock .bc-hand-label { color: #8fd0ff; }
#bankerBlock .bc-hand-label { color: var(--gold-bright); }
.bc-hand-row { min-height: 118px; }
.bc-vs {
  font-family: var(--f-serif); font-weight: 700; font-size: 1.1rem; color: rgba(232, 200, 116, 0.5);
  letter-spacing: 0.2em; padding-top: 4px;
}

.bc-result-banner { text-align: center; min-height: 30px; margin: 4px auto 10px; max-width: 480px; }
.bc-result-banner:not(:empty) {
  background: linear-gradient(180deg, rgba(20, 18, 24, 0.92), rgba(10, 9, 13, 0.92));
  border: 1px solid var(--gold); border-radius: 14px; padding: 12px 18px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6), 0 0 30px rgba(201, 165, 75, 0.15);
}
.bc-my-result { font-family: var(--f-display); font-size: clamp(1.9rem, 6vw, 3rem); letter-spacing: 0.1em; line-height: 1.1; margin-bottom: 4px; }
.bc-my-result.bc-my-win { color: var(--green); text-shadow: 0 0 18px rgba(111, 207, 138, 0.5); }
.bc-my-result.bc-my-lose { color: var(--cream); opacity: 0.85; font-size: clamp(1.3rem, 4vw, 1.8rem); }
.bc-round-summary { font-family: var(--f-body); letter-spacing: 0.22em; text-transform: uppercase; font-size: 0.66rem; color: var(--gold-bright); }

.bc-seat-ring { grid-template-columns: repeat(auto-fit, minmax(128px, 1fr)); }
.bc-seat-ring .seat { min-height: 92px; }
.bc-seat-bets { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 4px; }
.bc-seat-bet-chip {
  font-family: var(--f-mono); font-size: 0.62rem; color: var(--cream);
  background: rgba(201, 165, 75, 0.12); border: 1px solid var(--line);
  border-radius: 999px; padding: 2px 8px;
}

/* ---------- card slot ---------- */
.bc-card-slot { position: relative; width: 60px; height: 84px; border-radius: 8px; user-select: none; }
.bc-card-slot .card { position: absolute; inset: 0; margin: 0; animation: none; }
.bc-card-back-overlay { position: absolute; inset: 0; border-radius: 8px; z-index: 2; opacity: 0; pointer-events: none; }
.bc-card-back-overlay.bc-not-dealt { opacity: 1; background: rgba(0, 0, 0, 0.18); border: 1px dashed rgba(232, 200, 116, 0.35); }

/* ---------- betting board ---------- */
.bc-bet-bar { position: static; flex-direction: column; gap: 14px; width: 100%; }
.bc-bet-board { display: flex; flex-direction: column; gap: 8px; width: 100%; }
.bc-bet-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.bc-side-row-4 { grid-template-columns: repeat(4, 1fr); }
.bc-side-row-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 420px) { .bc-side-row-4 { grid-template-columns: repeat(2, 1fr); } }
.bc-spot {
  position: relative; display: flex; flex-direction: column; align-items: center; gap: 2px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(0, 0, 0, 0.2)), #0e0d12;
  border: 1px solid var(--line); border-radius: 10px;
  padding: 9px 6px 10px; cursor: pointer; color: var(--cream);
  transition: border-color 0.15s, box-shadow 0.15s, background 0.15s;
}
.bc-spot:hover { border-color: var(--gold-bright); }
.bc-spot.bc-has-bet { border-color: var(--gold-bright); box-shadow: 0 0 14px rgba(232, 200, 116, 0.3); background: rgba(201, 165, 75, 0.10); }
.bc-spot.bc-spot-disabled { opacity: 0.4; cursor: not-allowed; pointer-events: none; }
.bc-spot-name { font-family: var(--f-serif); font-weight: 700; letter-spacing: 0.06em; font-size: 0.85rem; text-transform: uppercase; }
.bc-spot-pay { font-family: var(--f-mono); font-size: 0.6rem; color: var(--dim); }
.bc-spot[data-bet="player"] .bc-spot-name { color: #8fd0ff; }
.bc-spot[data-bet="banker"] .bc-spot-name { color: var(--gold-bright); }
.bc-spot-tie .bc-spot-name { color: var(--green); }
.bc-spot-side { padding: 7px 4px 8px; }
.bc-spot-side .bc-spot-name { font-size: 0.68rem; }
.bc-spot-panda .bc-spot-name { color: #7fd4a8; }
.bc-spot-dragon .bc-spot-name { color: #ff8c8c; }
.bc-spot input[type=number] {
  width: 72px; margin-top: 4px; background: #0a090d; border: 1px solid var(--line-soft);
  border-radius: 999px; color: var(--gold-bright); font-family: var(--f-mono);
  text-align: center; font-size: 0.78rem; padding: 3px 4px;
}
.bc-spot input[type=number]:focus { outline: none; border-color: var(--gold); }
.bc-bet-footer { display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap; }
.bc-bet-total { font-family: var(--f-mono); font-size: 0.8rem; color: var(--gold-bright); }

@media (max-width: 480px) {
  .bc-card-slot { width: 56px; height: 78px; }
  .bc-hand-row { min-height: 90px; }
}
/* the arc legend collides with the pays line now that the title is compact */
.bc-felt .table-legend { display: none; }
