/* 开牌条：贴在视频实际画面的底部（位置、高度由 app.js placeCardStrip 按画面算出） */
.card-strip {
  --cs-h: 72px;
  position: absolute;
  left: 0;
  width: 100%;
  top: calc(100% - var(--cs-h));
  height: var(--cs-h);
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: calc(var(--cs-h) * 0.18);
  padding: 0 calc(var(--cs-h) * 0.18);
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.35) 0%, rgba(0, 0, 0, 0.82) 30%, rgba(0, 0, 0, 0.88) 100%);
  border-top: 1px solid rgba(231, 200, 115, 0.45);
  pointer-events: none;
  transition: opacity 0.35s ease, transform 0.35s ease;
  font-family: "PingFang SC", "Noto Sans SC", "Microsoft YaHei", sans-serif;
}
.card-strip.cs-off { opacity: 0; transform: translateY(35%); }

.cs-side {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: calc(var(--cs-h) * 0.12);
}
.cs-player { justify-content: flex-end; }
.cs-banker { justify-content: flex-start; }

.cs-tag {
  flex: none;
  width: calc(var(--cs-h) * 0.42);
  height: calc(var(--cs-h) * 0.42);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: calc(var(--cs-h) * 0.24);
  font-weight: 800;
  color: #fff;
}
.cs-player .cs-tag { background: #1e88ff; }
.cs-banker .cs-tag { background: #e61f19; }

.cs-pts {
  flex: none;
  min-width: 1ch;
  font-size: calc(var(--cs-h) * 0.5);
  font-weight: 800;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.cs-player .cs-pts { color: #6fb4ff; }
.cs-banker .cs-pts { color: #ff6a64; }

.cs-cards { display: flex; gap: calc(var(--cs-h) * 0.08); }
.cs-card {
  width: calc(var(--cs-h) * 0.56);
  height: calc(var(--cs-h) * 0.78);
  border-radius: calc(var(--cs-h) * 0.07);
  background: linear-gradient(180deg, #ffffff 0%, #eceff3 100%);
  color: #111;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  line-height: 1;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
}
.cs-card.red { color: #d0141a; }
.cs-card .rk { font-size: calc(var(--cs-h) * 0.3); font-weight: 800; }
.cs-card .su { font-size: calc(var(--cs-h) * 0.26); margin-top: calc(var(--cs-h) * 0.03); }
.cs-card.empty {
  background: rgba(255, 255, 255, 0.06);
  border: 1.5px dashed rgba(255, 255, 255, 0.35);
  box-shadow: none;
}

.cs-mid {
  flex: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: calc(var(--cs-h) * 0.06);
  min-width: calc(var(--cs-h) * 1.5);
}
.cs-win {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: calc(var(--cs-h) * 0.05) calc(var(--cs-h) * 0.18);
  border-radius: calc(var(--cs-h) * 0.12);
  color: #fff;
  line-height: 1.1;
}
.cs-win b { font-size: calc(var(--cs-h) * 0.28); font-weight: 800; }
.cs-win span { font-size: calc(var(--cs-h) * 0.13); letter-spacing: 0.5px; opacity: 0.9; }
.cs-win.player { background: #1e88ff; }
.cs-win.banker { background: #e61f19; }
.cs-win.tie { background: #28a745; }
.cs-win.blank { background: transparent; }
.cs-win.pop { animation: cs-pop 0.4s ease; }
@keyframes cs-pop { 0% { transform: scale(0.6); } 70% { transform: scale(1.12); } 100% { transform: scale(1); } }
.cs-round {
  font-size: calc(var(--cs-h) * 0.15);
  color: #e7c873;
  white-space: nowrap;
}
.cs-round.wait { color: #c9c9cf; }
