/* =========================================================================
   VIP AUTHENTIC KOUT BO 6 & BO 4 LUXURY DESIGN SYSTEM (كوت بو ستة & أربعة)
   Zero Overlapping, Fixed Radial Ground Cards, Rock-Solid Stable Seating
   ========================================================================= */

/* ── Kout Table Felt & Atmosphere ─────────────────────────────────────── */
.royal-felt-table.kout-table {
  width: 100% !important;
  height: 100% !important;
  position: relative !important;
  overflow: hidden !important;
  display: block !important;
  background: var(--current-table-felt-url, url('/assets/images/table_bg.jpg')) center center / 100% 100% no-repeat, radial-gradient(circle at center, #0e3d27 0%, #082417 65%, #03130c 100%) !important;
  box-shadow: inset 0 0 100px rgba(0, 0, 0, 0.85) !important;
}

.royal-felt-table.kout-table::before {
  content: '';
  position: absolute;
  inset: 12px;
  border: 1.5px solid rgba(245, 158, 11, 0.18);
  border-radius: 40px;
  pointer-events: none;
  z-index: 1;
}

/* ── Top VIP HUD Bar ──────────────────────────────────────────────────── */
.kout-hud-bar {
  position: absolute !important;
  top: 3px !important;
  left: 0 !important;
  right: 0 !important;
  height: auto !important;
  min-height: 42px !important;
  z-index: 30 !important;
  display: flex !important;
  align-items: flex-start !important;
  justify-content: space-between !important;
  padding: 2px 20px !important;
  pointer-events: none !important;
}

.kout-team-box {
  pointer-events: auto !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 2px !important;
  padding: 5px 12px !important;
  border-radius: 12px !important;
  background: rgba(10, 24, 16, 0.94) !important;
  backdrop-filter: blur(10px) !important;
  -webkit-backdrop-filter: blur(10px) !important;
  border: 1.5px solid rgba(245, 158, 11, 0.35) !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.65) !important;
  min-width: 130px !important;
}

.kout-team-box.team-lana {
  border-color: rgba(16, 185, 129, 0.6) !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.65), 0 0 14px rgba(16, 185, 129, 0.2) !important;
}

.kout-team-box.team-lahom {
  border-color: rgba(239, 68, 68, 0.6) !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.65), 0 0 14px rgba(239, 68, 68, 0.2) !important;
}

.kout-team-box .team-header-row {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 800;
  color: #fff;
}

.kout-team-box .team-title {
  flex: 1;
  white-space: nowrap;
}

.btn-scorecard-toggle {
  padding: 2px 8px;
  font-size: 0.72rem;
  font-weight: 800;
  border-radius: 8px;
  background: rgba(245, 158, 11, 0.2);
  border: 1px solid rgba(245, 158, 11, 0.55);
  color: #fde68a;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-scorecard-toggle:hover {
  background: rgba(245, 158, 11, 0.4);
  transform: scale(1.05);
}

.kout-team-box .team-stats-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 0.74rem;
}

.team-lana .stat-tricks {
  color: #a7f3d0;
  font-weight: 800;
}

.team-lana .stat-score {
  color: #fbbf24;
  font-weight: 800;
}

.team-lahom .stat-tricks {
  color: #fca5a5;
  font-weight: 800;
}

.team-lahom .stat-score {
  color: #fbbf24;
  font-weight: 800;
}

.kout-hud-center {
  pointer-events: auto !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  gap: 3px !important;
}

.kout-meta-pills {
  display: none !important;
}

.meta-pill .suit-highlight {
  color: #fbbf24;
  font-weight: 900;
}

.meta-pill .bidder-tag {
  color: #a7f3d0;
  font-size: 0.68rem;
  margin-right: 3px;
}

/* ── Fixed Seats Overlay & Rock-Solid Pods ────────────────────────────── */
.kout-seats-container {
  position: absolute !important;
  inset: 0 !important;
  pointer-events: none !important;
  z-index: 20 !important;
}

.kout-seat-pod {
  position: absolute !important;
  pointer-events: auto !important;
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 8px !important;
  width: 168px !important;
  min-width: 168px !important;
  max-width: 168px !important;
  height: 56px !important;
  min-height: 56px !important;
  background: rgba(10, 24, 18, 0.94) !important;
  backdrop-filter: blur(10px) !important;
  -webkit-backdrop-filter: blur(10px) !important;
  border: 1.5px solid rgba(245, 158, 11, 0.35) !important;
  border-radius: 28px !important;
  padding: 4px 10px !important;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.65) !important;
  box-sizing: border-box !important;
  transition: border-color 0.25s, box-shadow 0.25s !important;
  user-select: none !important;
  overflow: visible !important;
}

/* Stable Turn Highlight (NO scale or movement) */
.kout-seat-pod.is-turn-seat {
  border-color: #10b981 !important;
  box-shadow: 0 0 22px rgba(16, 185, 129, 0.75), 0 6px 20px rgba(0, 0, 0, 0.8) !important;
}

.kout-seat-pod.is-partner-pod {
  border-color: rgba(16, 185, 129, 0.45) !important;
}

.kout-seat-pod.is-enemy-pod {
  border-color: rgba(239, 68, 68, 0.4) !important;
}

.kout-pos-6-north {
  top: 54px !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
}

.kout-pos-6-nw {
  top: 76px !important;
  left: 32px !important;
}

.kout-pos-6-ne {
  top: 76px !important;
  right: 32px !important;
}

.kout-pos-6-west {
  top: 50% !important;
  left: 28px !important;
  transform: translateY(-50%) !important;
}

.kout-pos-6-east {
  top: 50% !important;
  right: 28px !important;
  transform: translateY(-50%) !important;
}

/* Fixed 4-Player Coordinates */
.kout-pos-4-north {
  top: 56px !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
}

.kout-pos-4-west {
  top: 50% !important;
  left: 28px !important;
  transform: translateY(-50%) !important;
}

.kout-pos-4-east {
  top: 50% !important;
  right: 28px !important;
  transform: translateY(-50%) !important;
}

/* Seat Pod Internal Structure */
.kout-seat-pod .seat-avatar-container {
  width: 38px !important;
  height: 38px !important;
  flex-shrink: 0 !important;
  position: relative !important;
}

.kout-seat-pod .seat-avatar {
  width: 38px !important;
  height: 38px !important;
  border-radius: 50% !important;
  object-fit: cover !important;
  border: 2px solid var(--gold-accent) !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.5) !important;
  display: block !important;
}

.kout-seat-pod .seat-turn-dot {
  position: absolute !important;
  bottom: -2px !important;
  right: -2px !important;
  width: 12px !important;
  height: 12px !important;
  background: #10b981 !important;
  border: 2px solid #fff !important;
  border-radius: 50% !important;
  box-shadow: 0 0 8px #10b981 !important;
  animation: beaconPulse 1.2s infinite ease-in-out !important;
}

.kout-seat-pod .seat-details {
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  gap: 3px !important;
  flex: 1 !important;
  min-width: 0 !important;
  text-align: right !important;
}

.kout-seat-pod .seat-name-row {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 4px !important;
  width: 100% !important;
  line-height: 1.2 !important;
}

.kout-seat-pod .seat-name {
  font-size: 0.78rem !important;
  font-weight: 800 !important;
  color: #fff !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  max-width: 70px !important;
}

.kout-seat-pod .seat-team-badge {
  font-size: 0.62rem !important;
  font-weight: 700 !important;
  padding: 1px 5px !important;
  border-radius: 6px !important;
  white-space: nowrap !important;
  flex-shrink: 0 !important;
}

.kout-seat-pod .seat-team-badge.partner {
  background: rgba(16, 185, 129, 0.25) !important;
  border: 1px solid #10b981 !important;
  color: #6ee7b7 !important;
}

.kout-seat-pod .seat-team-badge.enemy {
  background: rgba(239, 68, 68, 0.25) !important;
  border: 1px solid #ef4444 !important;
  color: #fca5a5 !important;
}

.kout-seat-pod .seat-stats-row {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 6px !important;
  font-size: 0.72rem !important;
  line-height: 1 !important;
  margin-top: 1px !important;
}

.kout-seat-pod .seat-cards-badge {
  background: rgba(0, 0, 0, 0.5) !important;
  padding: 2px 6px !important;
  border-radius: 6px !important;
  border: 1px solid rgba(245, 158, 11, 0.25) !important;
  color: #e2e8f0 !important;
  font-size: 0.7rem !important;
  line-height: 1 !important;
}

.kout-seat-pod .seat-score-badge {
  color: #fbbf24 !important;
  font-weight: 800 !important;
  font-size: 0.72rem !important;
  line-height: 1 !important;
}

/* Turn Speech Bubble (Positioned smoothly to the side of the avatar, NEVER on top!) */
.seat-turn-bubble {
  position: absolute !important;
  top: 50% !important;
  right: -62px !important;
  transform: translateY(-50%) !important;
  display: none;
  align-items: center !important;
  gap: 4px !important;
  padding: 3px 8px !important;
  border-radius: 12px !important;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.98), rgba(5, 150, 105, 0.98)) !important;
  border: 1px solid #34d399 !important;
  color: #fff !important;
  font-size: 0.68rem !important;
  font-weight: 800 !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.6), 0 0 10px rgba(16, 185, 129, 0.5) !important;
  z-index: 50 !important;
  white-space: nowrap !important;
  pointer-events: none !important;
  animation: turnBubbleSideFloat 1.2s infinite alternate ease-in-out !important;
}

.is-turn-seat .seat-turn-bubble {
  display: flex !important;
}

.seat-turn-bubble::after {
  content: '';
  position: absolute;
  top: 50%;
  left: -5px;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
  border-right: 5px solid #059669;
}

/* For East and NE seats, position to the left side pointing towards the table */
.kout-pos-6-east .seat-turn-bubble,
.kout-pos-6-ne .seat-turn-bubble,
.kout-pos-4-east .seat-turn-bubble {
  right: auto !important;
  left: -62px !important;
}

.kout-pos-6-east .seat-turn-bubble::after,
.kout-pos-6-ne .seat-turn-bubble::after,
.kout-pos-4-east .seat-turn-bubble::after {
  left: auto;
  right: -5px;
  border-right: none;
  border-left: 5px solid #059669;
}

@keyframes turnBubbleSideFloat {
  0% { transform: translateY(-50%) translateX(0); }
  100% { transform: translateY(-50%) translateX(3px); }
}

/* ── Centered Trick Ground: Exact Middle with Wide Non-Overlapping Radial Anchoring ── */
.kout-center-ground {
  position: absolute !important;
  top: 47% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) !important;
  width: 500px !important;
  height: 280px !important;
  pointer-events: none !important;
  z-index: 15 !important;
}

.kout-center-ground .trick-card-wrap {
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  bottom: auto !important;
  right: auto !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  pointer-events: none !important;
  transition: all 0.35s cubic-bezier(0.2, 0.8, 0.2, 1) !important;
}

.kout-center-ground .trick-card-wrap .card {
  width: 66px !important;
  height: 98px !important;
  min-width: 66px !important;
  min-height: 98px !important;
  border-radius: 8px !important;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.8) !important;
}

/* 6-Player Radial Trick Offsets - Zero Overlap Geometry with generous clearance to bottom hand */
.kout-center-ground .trick-card-wrap:not(.sweeping-away).kout-radial-n {
  transform: translate(-50%, calc(-50% - 72px)) !important;
  z-index: 12 !important;
}

.kout-center-ground .trick-card-wrap:not(.sweeping-away).kout-radial-s {
  transform: translate(-50%, calc(-50% + 64px)) !important;
  z-index: 16 !important;
}

.kout-center-ground .trick-card-wrap:not(.sweeping-away).kout-radial-nw {
  transform: translate(calc(-50% - 130px), calc(-50% - 48px)) !important;
  z-index: 13 !important;
}

.kout-center-ground .trick-card-wrap:not(.sweeping-away).kout-radial-w {
  transform: translate(calc(-50% - 130px), calc(-50% + 48px)) !important;
  z-index: 14 !important;
}

.kout-center-ground .trick-card-wrap:not(.sweeping-away).kout-radial-ne {
  transform: translate(calc(-50% + 130px), calc(-50% - 48px)) !important;
  z-index: 13 !important;
}

.kout-center-ground .trick-card-wrap:not(.sweeping-away).kout-radial-e {
  transform: translate(calc(-50% + 130px), calc(-50% + 48px)) !important;
  z-index: 15 !important;
}

/* 4-Player Radial Offsets */
.kout-center-ground .trick-card-wrap:not(.sweeping-away).kout-radial-4-n {
  transform: translate(-50%, calc(-50% - 72px)) !important;
  z-index: 12 !important;
}

.kout-center-ground .trick-card-wrap:not(.sweeping-away).kout-radial-4-s {
  transform: translate(-50%, calc(-50% + 64px)) !important;
  z-index: 16 !important;
}

.kout-center-ground .trick-card-wrap:not(.sweeping-away).kout-radial-4-w {
  transform: translate(calc(-50% - 120px), -50%) !important;
  z-index: 14 !important;
}

.kout-center-ground .trick-card-wrap:not(.sweeping-away).kout-radial-4-e {
  transform: translate(calc(-50% + 120px), -50%) !important;
  z-index: 15 !important;
}

/* Played-By Floating Tag Pill: Non-overlapping, directional */
.kout-center-ground .played-by-tag {
  position: absolute !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 4px !important;
  padding: 1px 7px !important;
  border-radius: 10px !important;
  font-size: 0.70rem !important;
  font-weight: 800 !important;
  white-space: nowrap !important;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.7) !important;
  z-index: 20 !important;
}

/* Top Cards: Tag floats ABOVE the card */
.kout-center-ground .trick-card-wrap.kout-radial-n .played-by-tag,
.kout-center-ground .trick-card-wrap.kout-radial-nw .played-by-tag,
.kout-center-ground .trick-card-wrap.kout-radial-ne .played-by-tag,
.kout-center-ground .trick-card-wrap.kout-radial-4-n .played-by-tag {
  top: -20px !important;
  bottom: auto !important;
}

/* Bottom Cards: Tag floats BELOW the card */
.kout-center-ground .trick-card-wrap.kout-radial-s .played-by-tag,
.kout-center-ground .trick-card-wrap.kout-radial-w .played-by-tag,
.kout-center-ground .trick-card-wrap.kout-radial-e .played-by-tag,
.kout-center-ground .trick-card-wrap.kout-radial-4-s .played-by-tag,
.kout-center-ground .trick-card-wrap.kout-radial-4-w .played-by-tag,
.kout-center-ground .trick-card-wrap.kout-radial-4-e .played-by-tag {
  bottom: -20px !important;
  top: auto !important;
}

/* Winning Card Highlight: Crown sits cleanly on top edge, Name flips to bottom */
.trick-card-wrap.winning-trick-card .played-by-tag {
  bottom: -20px !important;
  top: auto !important;
}

.trick-card-wrap.winning-trick-card .winning-card-crown-tag {
  top: -14px !important;
  bottom: auto !important;
  font-size: 0.68rem !important;
  padding: 2px 8px !important;
}

.kout-center-ground .played-by-tag.is-me {
  background: rgba(16, 185, 129, 0.95) !important;
  border: 1px solid #34d399 !important;
  color: #fff !important;
}

.kout-center-ground .played-by-tag.is-partner {
  background: rgba(6, 95, 70, 0.95) !important;
  border: 1px solid #10b981 !important;
  color: #a7f3d0 !important;
}

.kout-center-ground .played-by-tag.is-opp {
  background: rgba(30, 41, 59, 0.95) !important;
  border: 1px solid rgba(245, 158, 11, 0.5) !important;
  color: #f8fafc !important;
}

.kout-center-ground .played-by-tag .tag-avatar {
  width: 14px !important;
  height: 14px !important;
  border-radius: 50% !important;
  border: 1px solid #fff !important;
}

/* Trick Winner Celebration Popup - Anchored in open felt between North Seat and Ground Cards */
.royal-felt-table.kout-table .trick-winner-popup,
.kout-trick-winner-popup,
.kout-center-ground .trick-winner-popup {
  position: absolute !important;
  top: 108px !important;
  left: 50% !important;
  right: auto !important;
  transform: translateX(-50%) !important;
  display: none !important; /* Strictly hidden by default until trick won */
  flex-direction: row-reverse !important;
  align-items: center !important;
  gap: 8px !important;
  padding: 4px 16px !important;
  border-radius: 20px !important;
  background: linear-gradient(135deg, rgba(10, 30, 20, 0.98), rgba(5, 18, 12, 0.98)) !important;
  border: 1.5px solid var(--gold-accent) !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.8), 0 0 20px rgba(245, 158, 11, 0.5) !important;
  z-index: 45 !important;
  pointer-events: none !important;
  white-space: nowrap !important;
}

.royal-felt-table.kout-table .trick-winner-popup.active-winner,
.kout-trick-winner-popup.active-winner,
.kout-center-ground .trick-winner-popup.active-winner {
  display: flex !important;
  animation: trickPop 0.35s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
}

[dir="rtl"] .royal-felt-table.kout-table .trick-winner-popup,
[dir="rtl"] .kout-trick-winner-popup {
  left: 50% !important;
  right: auto !important;
  transform: translateX(-50%) !important;
}

/* Rock-Solid Winner Pod Aura (ABSOLUTELY NO transform: scale that moves or displaces seats!) */
.pod-trick-won-glow {
  border-color: #f59e0b !important;
  box-shadow: 0 0 28px rgba(245, 158, 11, 0.9), 0 0 45px rgba(245, 158, 11, 0.5) !important;
  transition: border-color 0.3s ease, box-shadow 0.3s ease !important;
}

.trick-winner-popup .popup-trophy {
  font-size: 1.3rem;
  filter: drop-shadow(0 0 8px rgba(245, 158, 11, 0.8));
}

.trick-winner-popup .popup-text {
  display: flex;
  flex-direction: column;
  text-align: right;
}

.trick-winner-popup .popup-sub {
  font-size: 0.72rem;
  color: var(--gold-light);
  font-weight: 700;
}

.trick-winner-popup .popup-name {
  font-size: 0.95rem;
  font-weight: 900;
  color: #fff;
}

/* ── Jokers Luxury Appearance ─────────────────────────────────────────── */
.joker-kout-card {
  position: relative !important;
  overflow: hidden !important;
}

.joker-red-card {
  border: 2px solid #ef4444 !important;
  box-shadow: 0 0 16px rgba(239, 68, 68, 0.5) !important;
}

.joker-black-card {
  border: 2px solid #a855f7 !important;
  box-shadow: 0 0 16px rgba(168, 85, 247, 0.5) !important;
}

.joker-face-container {
  width: 100% !important;
  height: 100% !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  position: relative !important;
}

.joker-banner-tag {
  position: absolute !important;
  bottom: 4px !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  font-size: 0.65rem !important;
  font-weight: 900 !important;
  padding: 1px 6px !important;
  border-radius: 6px !important;
  white-space: nowrap !important;
}

.joker-banner-tag.banner-red {
  background: #ef4444 !important;
  color: #fff !important;
  box-shadow: 0 0 8px rgba(239, 68, 68, 0.8) !important;
}

.joker-banner-tag.banner-black {
  background: #7c3aed !important;
  color: #fff !important;
  box-shadow: 0 0 8px rgba(124, 58, 237, 0.8) !important;
}

/* ── Player Hand & Bottom Rail ────────────────────────────────────────── */
.royal-felt-table.kout-table .table-rail-area.my-rail.kout-my-rail {
  position: absolute !important;
  bottom: 0 !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: flex-end !important;
  padding-bottom: 8px !important;
  min-height: 135px !important;
  z-index: 25 !important;
  margin: 0 !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  pointer-events: none !important;
}

.royal-felt-table.kout-table .table-rail-area.my-rail.kout-my-rail > * {
  pointer-events: auto !important;
}

.royal-felt-table.kout-table .drag-hint-bar {
  margin-bottom: 6px !important;
  padding: 4px 14px !important;
  border-radius: 20px !important;
  background: rgba(10, 24, 18, 0.92) !important;
  border: 1px solid rgba(245, 158, 11, 0.45) !important;
  color: #fbbf24 !important;
  font-size: 0.74rem !important;
  font-weight: 700 !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5) !important;
  z-index: 28 !important;
}

.royal-felt-table.kout-table .my-cards-rack {
  position: relative !important;
  display: flex !important;
  justify-content: center !important;
  align-items: flex-end !important;
  margin: 0 auto !important;
  padding: 0 40px !important;
  z-index: 26 !important;
  height: 125px !important;
  pointer-events: auto !important;
}

.royal-felt-table.kout-table .my-cards-rack .card {
  width: 76px !important;
  height: 114px !important;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.75) !important;
  border-radius: 8px !important;
  z-index: 27 !important;
  transition: transform 0.2s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.2s !important;
}

.royal-felt-table.kout-table .table-rail-area.my-rail .player-floating-tag.kout-my-profile,
.kout-my-profile {
  position: absolute !important;
  bottom: 12px !important;
  left: 24px !important;
  right: auto !important;
  width: auto !important;
  min-width: 0 !important;
  max-width: 220px !important;
  height: auto !important;
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  padding: 6px 14px !important;
  border-radius: 30px !important;
  background: rgba(10, 24, 18, 0.92) !important;
  border: 1.5px solid rgba(245, 158, 11, 0.4) !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.6) !important;
  z-index: 30 !important;
  box-sizing: border-box !important;
  margin: 0 !important;
}

[dir="rtl"] .royal-felt-table.kout-table .table-rail-area.my-rail .player-floating-tag.kout-my-profile,
[dir="rtl"] .kout-my-profile {
  left: 24px !important;
  right: auto !important;
}

[dir="ltr"] .royal-felt-table.kout-table .table-rail-area.my-rail .player-floating-tag.kout-my-profile,
[dir="ltr"] .kout-my-profile {
  right: auto !important;
  left: 24px !important;
}

.kout-my-profile .avatar-wrap {
  position: relative !important;
  display: inline-block !important;
  width: 44px !important;
  height: 44px !important;
  flex-shrink: 0 !important;
}

.kout-my-profile .avatar-wrap .avatar {
  width: 44px !important;
  height: 44px !important;
  border-radius: 50% !important;
  display: block !important;
}

.kout-my-profile .my-turn-ring {
  position: absolute !important;
  top: -3px !important;
  left: -3px !important;
  width: 50px !important;
  height: 50px !important;
  border-radius: 50% !important;
  border: 2.5px solid #10b981 !important;
  box-shadow: 0 0 12px #10b981 !important;
  animation: beaconPulse 1.2s infinite ease-in-out !important;
  pointer-events: none !important;
}

/* Playable & Non-Playable Card Indicators */
.card.playable {
  cursor: pointer !important;
  transition: transform 0.2s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.2s !important;
}

.card.playable:hover {
  transform: translateY(-20px) scale(1.05) !important;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.8), 0 0 16px rgba(245, 158, 11, 0.85) !important;
  z-index: 50 !important;
}

.card.not-playable {
  opacity: 0.42 !important;
  filter: grayscale(35%) !important;
  cursor: not-allowed !important;
}

/* ── Kout Modals: Global Center Positioning & Bidding Floating Style ──── */
.kout-action-modal {
  position: fixed !important;
  inset: 0 !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  transform: none !important;
  z-index: 9999 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: rgba(0, 0, 0, 0.72) !important;
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
}

/* When Bidding or Trump Modal is displayed, hide HUD board so nothing peeks out or touches the modal */
body:has(.kout-action-modal) #koutFeltHudBoard,
body.has-kout-modal #koutFeltHudBoard,
.kout-table:has(.kout-action-modal) #koutFeltHudBoard,
.royal-felt-table:has(.kout-bid-modal) #koutFeltHudBoard,
.royal-felt-table:has(.kout-trump-modal) #koutFeltHudBoard {
  display: none !important;
}

/* Bidding & Trump selection: DO NOT BLUR OR OBSERVE HAND CARDS! Floating neatly in center felt */
.kout-action-modal.kout-bid-modal,
.kout-action-modal.kout-trump-modal {
  background: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  pointer-events: none !important;
  display: flex !important;
  align-items: flex-start !important;
  justify-content: center !important;
  padding-top: 130px !important;
  z-index: 9990 !important;
}

.kout-action-modal.kout-bid-modal .kout-modal-card,
.kout-action-modal.kout-trump-modal .kout-modal-card {
  pointer-events: auto !important;
  background: linear-gradient(145deg, rgba(8, 28, 17, 0.96), rgba(4, 18, 11, 0.98)) !important;
  border: 2px solid rgba(245, 158, 11, 0.85) !important;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.9), 0 0 35px rgba(245, 158, 11, 0.3) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  max-width: 90vw !important;
  width: 440px !important;
  padding: 14px 18px !important;
  margin-top: 0 !important;
}

.kout-action-modal.kout-bid-modal .kout-modal-card .bid-sub,
.kout-action-modal.kout-trump-modal .kout-modal-card .bid-sub {
  margin-bottom: 10px !important;
  font-size: 0.82rem !important;
}

.kout-action-modal.kout-bid-modal .kout-btn.bid-btn {
  padding: 9px 6px !important;
  font-size: 0.84rem !important;
}

.modal-hand-notice {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(245, 158, 11, 0.16);
  border: 1px solid rgba(245, 158, 11, 0.45);
  border-radius: 999px;
  padding: 4px 14px;
  font-size: 0.82rem;
  font-weight: 800;
  color: #fbbf24;
  margin-bottom: 8px;
}

.kout-modal-card {
  position: relative !important;
  margin: auto !important;
  background: linear-gradient(145deg, #0a1f14, #05140c) !important;
  border: 2px solid rgba(245, 158, 11, 0.5) !important;
  border-radius: 22px !important;
  padding: 22px 26px !important;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.9), 0 0 30px rgba(245, 158, 11, 0.25) !important;
  text-align: center !important;
  max-width: 92vw !important;
  width: 440px !important;
}

.kout-modal-card .modal-gold-header h3 {
  font-size: 1.15rem !important;
  font-weight: 900 !important;
  color: var(--gold-light) !important;
  margin-bottom: 6px !important;
}

.kout-modal-card .bid-sub {
  font-size: 0.88rem !important;
  color: #cbd5e1 !important;
  margin-bottom: 16px !important;
}

.kout-bid-grid {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 10px !important;
}

.kout-btn.bid-btn {
  padding: 12px 8px !important;
  font-size: 0.88rem !important;
  font-weight: 800 !important;
  border-radius: 12px !important;
  border: 1.5px solid rgba(245, 158, 11, 0.4) !important;
  background: rgba(15, 30, 22, 0.9) !important;
  color: #fff !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
}

.kout-btn.bid-btn:hover:not(:disabled) {
  border-color: #fbbf24 !important;
  background: rgba(20, 45, 32, 0.95) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.4) !important;
}

.kout-btn.btn-baun {
  background: linear-gradient(135deg, #b45309, #d97706) !important;
  border-color: #fbbf24 !important;
  color: #fff !important;
  font-weight: 900 !important;
  box-shadow: 0 0 16px rgba(245, 158, 11, 0.6) !important;
}

.kout-btn.btn-pass {
  grid-column: span 3 !important;
  background: linear-gradient(135deg, #374151, #1f2937) !important;
  border-color: rgba(255, 255, 255, 0.25) !important;
  color: #e2e8f0 !important;
}

.kout-btn.btn-pass:hover:not(:disabled) {
  background: linear-gradient(135deg, #4b5563, #374151) !important;
  border-color: rgba(255, 255, 255, 0.4) !important;
}

.kout-btn.disabled-bid-btn {
  opacity: 0.35 !important;
  cursor: not-allowed !important;
  border-color: rgba(255, 255, 255, 0.1) !important;
}

/* Trump Selection Grid */
.kout-trump-grid {
  display: grid !important;
  grid-template-columns: repeat(2, 1fr) !important;
  gap: 12px !important;
}

.kout-btn.suit-btn {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
  padding: 14px 10px !important;
  font-size: 1.05rem !important;
  font-weight: 900 !important;
  border-radius: 14px !important;
  border: 1.5px solid rgba(255, 255, 255, 0.2) !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
}

.suit-btn.suit-spades {
  background: linear-gradient(135deg, #1e293b, #0f172a) !important;
  border-color: #94a3b8 !important;
  color: #f8fafc !important;
}

.suit-btn.suit-hearts {
  background: linear-gradient(135deg, #991b1b, #7f1d1d) !important;
  border-color: #f87171 !important;
  color: #fff !important;
}

.suit-btn.suit-diamonds {
  background: linear-gradient(135deg, #c2410c, #9a3412) !important;
  border-color: #fb923c !important;
  color: #fff !important;
}

.suit-btn.suit-clubs {
  background: linear-gradient(135deg, #065f46, #064e3b) !important;
  border-color: #34d399 !important;
  color: #fff !important;
}

.kout-btn.suit-btn:hover {
  transform: scale(1.04) !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.7) !important;
}

.suit-btn .suit-icon {
  font-size: 1.5rem;
}

/* ── Full Official Scorecard Modal (نشرة كوت بو ستة) ──────────────────── */
.kout-scorecard-modal {
  position: fixed !important;
  inset: 0 !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  z-index: 100020 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: rgba(0, 0, 0, 0.75) !important;
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
}

.kout-scorecard-card {
  position: relative !important;
  margin: auto !important;
  background: linear-gradient(145deg, #0a1f14, #04120a) !important;
  border: 2px solid rgba(245, 158, 11, 0.45) !important;
  border-radius: 20px !important;
  box-shadow: 0 28px 72px rgba(0, 0, 0, 0.9) !important;
  overflow: hidden !important;
  max-width: 95vw !important;
  width: 780px !important;
  max-height: 85vh !important;
  display: flex !important;
  flex-direction: column !important;
}

.kout-scorecard-header {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 14px 18px !important;
  background: linear-gradient(90deg, #92400e, #d97706) !important;
  border-bottom: 1.5px solid rgba(251, 191, 36, 0.3) !important;
}

.kout-scorecard-header h3 {
  font-size: 0.95rem !important;
  font-weight: 800 !important;
  color: #fff !important;
}

.kout-scorecard-body {
  overflow-y: auto !important;
  padding: 12px !important;
}

.kout-scorecard-table {
  width: 100% !important;
  border-collapse: collapse !important;
  font-size: 0.78rem !important;
}

.kout-scorecard-table th {
  padding: 10px 8px !important;
  text-align: center !important;
  font-size: 0.72rem !important;
  font-weight: 800 !important;
  color: rgba(255, 255, 255, 0.7) !important;
  border-bottom: 1.5px solid rgba(255, 255, 255, 0.12) !important;
  white-space: nowrap !important;
}

.kout-scorecard-table td {
  padding: 9px 8px !important;
  text-align: center !important;
  color: #f3f4f6 !important;
  font-weight: 600 !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
}

.kout-scorecard-table .cell-lana {
  color: #6ee7b7 !important;
}

.kout-scorecard-table .cell-lahom {
  color: #fca5a5 !important;
}

.kout-scorecard-table .cell-made {
  color: #34d399 !important;
  font-weight: 800 !important;
}

.kout-scorecard-table .cell-failed {
  color: #f87171 !important;
  font-weight: 800 !important;
}

/* ── Kout Bo 6 Game Over & Victory Statistics Modal ───────────────────── */
.kout-game-over-modal {
  position: fixed !important;
  inset: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  z-index: 10000 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: rgba(0, 0, 0, 0.8) !important;
  backdrop-filter: blur(10px) !important;
  -webkit-backdrop-filter: blur(10px) !important;
}

.kout-game-over-card {
  position: relative !important;
  margin: auto !important;
  background: linear-gradient(145deg, #0b2216, #05140c) !important;
  border: 2px solid rgba(245, 158, 11, 0.5) !important;
  border-radius: 24px !important;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.95), 0 0 35px rgba(245, 158, 11, 0.3) !important;
  overflow: hidden !important;
  max-width: 95vw !important;
  width: 640px !important;
  max-height: 90vh !important;
  display: flex !important;
  flex-direction: column !important;
  padding: 0 0 20px 0 !important;
}

.victory-header {
  padding: 20px 24px !important;
  text-align: center !important;
  border-bottom: 1.5px solid rgba(255, 255, 255, 0.1) !important;
}

.victory-header.is-win {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.3), rgba(5, 150, 105, 0.1)) !important;
  border-bottom-color: rgba(16, 185, 129, 0.4) !important;
}

.victory-header.is-loss {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.3), rgba(185, 28, 28, 0.1)) !important;
  border-bottom-color: rgba(239, 68, 68, 0.4) !important;
}

.victory-trophy-icon {
  font-size: 2.8rem !important;
  margin-bottom: 6px !important;
  filter: drop-shadow(0 0 16px rgba(245, 158, 11, 0.7)) !important;
}

.victory-header h2 {
  font-size: 1.35rem !important;
  font-weight: 900 !important;
  color: #fff !important;
  margin: 0 !important;
}

.victory-sub {
  font-size: 0.8rem !important;
  color: rgba(255, 255, 255, 0.7) !important;
  margin: 4px 0 0 0 !important;
}

.game-over-scores-summary {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 16px !important;
  padding: 16px 20px !important;
  background: rgba(0, 0, 0, 0.3) !important;
}

.team-summary-pill {
  flex: 1 !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  gap: 4px !important;
  padding: 12px !important;
  border-radius: 16px !important;
  background: rgba(255, 255, 255, 0.04) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.team-summary-pill.winner-pill {
  border-color: #fbbf24 !important;
  background: rgba(245, 158, 11, 0.12) !important;
  box-shadow: 0 0 16px rgba(245, 158, 11, 0.25) !important;
}

.pill-team-title {
  font-size: 0.85rem !important;
  font-weight: 800 !important;
  color: #e2e8f0 !important;
}

.pill-team-score {
  font-size: 1.4rem !important;
  font-weight: 900 !important;
  color: #fff !important;
}

.winner-crown-tag {
  font-size: 0.7rem !important;
  font-weight: 800 !important;
  color: #fbbf24 !important;
  background: rgba(0, 0, 0, 0.4) !important;
  padding: 2px 8px !important;
  border-radius: 10px !important;
  border: 1px solid rgba(251, 191, 36, 0.4) !important;
}

.scores-vs-badge {
  font-size: 1rem !important;
  font-weight: 900 !important;
  color: rgba(255, 255, 255, 0.4) !important;
}

.game-over-stats-section {
  padding: 14px 24px !important;
  overflow-y: auto !important;
}

.mvp-banner {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  padding: 8px 14px !important;
  border-radius: 12px !important;
  background: linear-gradient(90deg, rgba(245, 158, 11, 0.2), rgba(217, 119, 6, 0.2)) !important;
  border: 1px solid rgba(245, 158, 11, 0.4) !important;
  margin-bottom: 14px !important;
  font-size: 0.85rem !important;
}

.mvp-star { font-size: 1.1rem !important; }
.mvp-title { color: #fbbf24 !important; font-weight: 800 !important; }
.mvp-name { color: #fff !important; font-weight: 900 !important; }
.mvp-tricks { color: #6ee7b7 !important; font-weight: 700 !important; }

.stats-table-title {
  font-size: 0.85rem !important;
  font-weight: 800 !important;
  color: #e2e8f0 !important;
  margin: 0 0 8px 0 !important;
}

.kout-stats-table {
  width: 100% !important;
  border-collapse: collapse !important;
  font-size: 0.78rem !important;
}

.kout-stats-table th {
  padding: 8px 10px !important;
  text-align: right !important;
  color: rgba(255, 255, 255, 0.6) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.kout-stats-table td {
  padding: 8px 10px !important;
  text-align: right !important;
  color: #fff !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
}

.kout-stats-table .player-cell {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
}

.kout-stats-table .mini-avatar {
  width: 24px !important;
  height: 24px !important;
  border-radius: 50% !important;
}

.gold-tricks {
  color: #fbbf24 !important;
}

.game-over-actions {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
  padding: 14px 20px 0 20px !important;
}

.btn-view-scorecard {
  background: rgba(255, 255, 255, 0.1) !important;
  border: 1px solid rgba(255, 255, 255, 0.25) !important;
  color: #fff !important;
}

.btn-play-again {
  background: linear-gradient(135deg, #10b981, #059669) !important;
  border: 1px solid #34d399 !important;
  color: #fff !important;
  font-weight: 800 !important;
}

.btn-exit-lobby {
  background: rgba(239, 68, 68, 0.2) !important;
  border: 1px solid rgba(239, 68, 68, 0.4) !important;
  color: #fca5a5 !important;
}

/* ── Responsive Mobile Adjustments ────────────────────────────────────── */
@media (max-width: 768px) {
  .kout-hud-bar {
    padding: 4px 8px !important;
    height: 48px !important;
  }
  .kout-team-box {
    min-width: 95px !important;
    padding: 4px 8px !important;
  }
  .kout-seat-pod {
    width: 130px !important;
    min-width: 130px !important;
    max-width: 130px !important;
    height: 44px !important;
    padding: 3px 6px !important;
  }
  .kout-seat-pod .seat-avatar {
    width: 32px !important;
    height: 32px !important;
  }
  .kout-pos-6-nw { left: 8px !important; }
  .kout-pos-6-ne { right: 8px !important; }
  .kout-pos-6-west { left: 6px !important; }
  .kout-pos-6-east { right: 6px !important; }
  .kout-center-ground .trick-card-wrap .card {
    width: 60px !important;
    height: 90px !important;
    min-width: 60px !important;
    min-height: 90px !important;
  }
}

/* ── Permanent Table Felt Trump & Live Trick Counter Board ───────────────── */
.kout-felt-hud-board {
  position: static !important;
  transform: none !important;
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  z-index: 30 !important;
  background: rgba(4, 18, 11, 0.95) !important;
  border: 1.5px solid rgba(245, 158, 11, 0.6) !important;
  border-radius: 999px !important;
  padding: 2px 10px !important;
  height: 28px !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.7), 0 0 16px rgba(245, 158, 11, 0.22) !important;
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
  pointer-events: auto !important;
}

.felt-turn-beacon {
  display: inline-flex !important;
  align-items: center !important;
  gap: 5px !important;
  font-size: 0.76rem !important;
  font-weight: 800 !important;
  color: #fbbf24 !important;
  border-left: 1px solid rgba(255, 255, 255, 0.18) !important;
  padding-left: 8px !important;
}

[dir="rtl"] .felt-turn-beacon {
  border-left: none !important;
  border-right: 1px solid rgba(255, 255, 255, 0.18) !important;
  padding-left: 0 !important;
  padding-right: 8px !important;
}

.felt-turn-beacon .turn-beacon-dot {
  width: 6px !important;
  height: 6px !important;
  border-radius: 50% !important;
  background: #10b981 !important;
  box-shadow: 0 0 8px #10b981 !important;
  animation: beaconPulse 1.5s infinite !important;
}

.felt-trump-badge {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.80rem;
  color: #fff;
  border-left: 1px solid rgba(255, 255, 255, 0.18);
  padding-left: 8px;
}

[dir="rtl"] .felt-trump-badge {
  border-left: none;
  border-right: 1px solid rgba(255, 255, 255, 0.18);
  padding-left: 0;
  padding-right: 8px;
}

.felt-trump-badge .crown-icon {
  font-size: 0.95rem;
}

.felt-trump-badge .trump-badge-title {
  color: var(--gold-light, #fbbf24);
  font-weight: 800;
}

.felt-trump-highlight {
  font-size: 0.82rem;
  font-weight: 900;
}

.felt-dim-note {
  color: #94a3b8;
  font-size: 0.75rem;
}

.felt-contract-badge {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.78rem;
  color: #e2e8f0;
  border-left: 1px solid rgba(255, 255, 255, 0.18);
  padding-left: 8px;
}

[dir="rtl"] .felt-contract-badge {
  border-left: none;
  border-right: 1px solid rgba(255, 255, 255, 0.18);
  padding-left: 0;
  padding-right: 8px;
}

.felt-contract-badge .contract-label {
  color: #94a3b8;
  font-weight: 700;
}

.felt-contract-badge .contract-owner {
  color: #cbd5e1;
  font-size: 0.74rem;
}

.felt-tricks-tracker {
  display: flex;
  align-items: center;
  gap: 6px;
}

.trick-team-pill {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.74rem;
  padding: 1px 7px;
  border-radius: 999px;
  font-weight: 800;
}

.trick-team-pill.team-lana-pill {
  background: rgba(16, 185, 129, 0.22);
  border: 1px solid rgba(16, 185, 129, 0.55);
  color: #34d399;
}

.trick-team-pill.team-lahom-pill {
  background: rgba(239, 68, 68, 0.22);
  border: 1px solid rgba(239, 68, 68, 0.55);
  color: #f87171;
}

.btn-sort-kout-hand {
  padding: 5px 12px;
  background: rgba(245, 158, 11, 0.18);
  border: 1.5px solid rgba(245, 158, 11, 0.5);
  border-radius: 8px;
  color: var(--gold-light, #fbbf24);
  font-size: 0.82rem;
  font-weight: 800;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: all 0.2s ease;
}

.btn-sort-kout-hand:hover {
  background: rgba(245, 158, 11, 0.35);
  border-color: #fbbf24;
  transform: translateY(-1px);
}

/* ── Winning Trick Card Golden Highlight ─────────────────────────────── */
.trick-card-wrap.winning-trick-card .card {
  border: 2.5px solid #fbbf24 !important;
  box-shadow: 0 0 22px rgba(245, 158, 11, 0.95), 0 0 40px rgba(251, 191, 36, 0.7) !important;
  z-index: 60 !important;
  animation: pulseWinningGlow 1.4s infinite alternate ease-in-out !important;
}

@keyframes pulseWinningGlow {
  0% { box-shadow: 0 0 16px rgba(245, 158, 11, 0.8); }
  100% { box-shadow: 0 0 30px rgba(251, 191, 36, 1), 0 0 45px rgba(245, 158, 11, 0.6); }
}

.winning-card-crown-tag {
  position: absolute;
  top: -24px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #d97706, #fbbf24);
  color: #000;
  font-weight: 900;
  font-size: 0.72rem;
  padding: 2px 9px;
  border-radius: 999px;
  white-space: nowrap;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.6);
  z-index: 70;
  display: flex;
  align-items: center;
  gap: 4px;
}

/* Trick Winner Pod Celebration Aura (Rock-solid pod geometry with pulsing avatar & badge) */
.kout-seat-pod.pod-trick-won-glow,
.kout-my-profile.pod-trick-won-glow {
  border-color: #fbbf24 !important;
  box-shadow: 0 0 28px rgba(251, 191, 36, 1), 0 0 48px rgba(245, 158, 11, 0.65) !important;
  transition: border-color 0.3s ease, box-shadow 0.3s ease !important;
}

.kout-seat-pod.pod-trick-won-glow .seat-avatar,
.kout-my-profile.pod-trick-won-glow .avatar {
  border-color: #fbbf24 !important;
  box-shadow: 0 0 16px #fbbf24, 0 0 25px rgba(251, 191, 36, 0.8) !important;
  animation: avatarTrickPulse 0.7s ease-in-out infinite alternate !important;
}

@keyframes avatarTrickPulse {
  0% { transform: scale(1); }
  100% { transform: scale(1.14); }
}

.kout-seat-pod.pod-trick-won-glow .seat-score-badge,
.kout-my-profile.pod-trick-won-glow .score-badge {
  color: #fff !important;
  background: rgba(245, 158, 11, 0.45) !important;
  text-shadow: 0 0 8px #fbbf24 !important;
  border-color: #fbbf24 !important;
}

/* Sweep to Winner Animation (Dynamic multi-phase gathering into stack and flight to winner) */
.kout-center-ground .trick-card-wrap.sweeping-away {
  pointer-events: none !important;
}

.kout-center-ground .trick-card-wrap.sweeping-away .played-by-tag,
.kout-center-ground .trick-card-wrap.sweeping-away .winning-card-crown-tag {
  opacity: 0 !important;
  transform: scale(0.6) !important;
  transition: opacity 0.22s ease, transform 0.22s ease !important;
  pointer-events: none !important;
}

