html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
  background:
    radial-gradient(circle at top, rgba(92, 146, 255, 0.2), transparent 25%),
    linear-gradient(180deg, #f6f9ff 0%, #edf2ff 45%, #e8eefc 100%);
  color: #1f2937;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
  color: var(--bs-secondary-color);
  text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
  text-align: start;
}

.player-shell {
  max-width: 1100px;
  margin: 2rem auto;
  padding: 2rem 1.5rem 3rem;
}

.player-header {
  margin-bottom: 1.5rem;
}

.eyebrow {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.72rem;
  font-weight: 700;
  color: #4f46e5;
}

.player-header h1 {
  margin-top: 0.4rem;
  font-weight: 800;
  color: #111827;
}

.player-search-form {
  max-width: 720px;
  margin-bottom: 1.5rem;
}

.search-box {
  box-shadow: 0 14px 40px rgba(79, 70, 229, 0.08);
  border-radius: 1rem;
  overflow: hidden;
}

.search-box .input-group-text {
  background: rgba(79, 70, 229, 0.08);
  border: 1px solid rgba(79, 70, 229, 0.18);
  color: #4f46e5;
  font-size: 1.1rem;
}

.search-box .form-control {
  border-left: 0;
  border-right: 0;
  border-color: rgba(79, 70, 229, 0.18);
  padding: 0.9rem 1rem;
  font-size: 1rem;
}

.search-box .btn {
  border-radius: 0;
  padding-left: 1.4rem;
  padding-right: 1.4rem;
  font-weight: 600;
}

.selected-player {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.12), rgba(168, 85, 247, 0.12));
  border: 1px solid rgba(79, 70, 229, 0.18);
  color: #1f2937;
  margin-bottom: 1.5rem;
  font-size: 0.96rem;
}

.selected-label {
  display: inline-block;
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  background: rgba(79, 70, 229, 0.12);
  color: #4338ca;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.player-grid {
  display: flex;
  flex-wrap: nowrap;
  gap: 1rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
  scrollbar-width: thin;
}

.player-card {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  min-width: 200px;
  flex: 0 0 200px;
  padding: 1rem 1rem;
  border-radius: 1rem;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(148, 163, 184, 0.2);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
  color: #111827;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.player-grid::-webkit-scrollbar {
  height: 8px;
}

.player-grid::-webkit-scrollbar-thumb {
  background: rgba(79, 70, 229, 0.25);
  border-radius: 999px;
}

.player-grid::-webkit-scrollbar-track {
  background: rgba(148, 163, 184, 0.1);
  border-radius: 999px;
}

.player-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgba(79, 70, 229, 0.12);
  border-color: rgba(79, 70, 229, 0.28);
  text-decoration: none;
  color: #111827;
}

.player-card.selected {
  background: linear-gradient(135deg, rgba(79, 70, 229, 0.08), rgba(20, 184, 166, 0.08));
  border-color: rgba(79, 70, 229, 0.4);
  box-shadow: 0 18px 36px rgba(79, 70, 229, 0.18);
}

.player-name {
  display: block;
  min-width: 0;
  width: 100%;
  font-weight: 600;
  line-height: 1.3;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.empty-state {
  padding: 1.25rem 1.5rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(148, 163, 184, 0.2);
  color: #475569;
}

.partner-panel {
  margin-top: 1.5rem;
  padding: 1.25rem 1.25rem 0.5rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(148, 163, 184, 0.2);
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.05);
}

.partner-panel-header h2 {
  margin: 0 0 1rem;
  font-size: 1.15rem;
  font-weight: 700;
  color: #111827;
}

.partner-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.7rem;
}

.partner-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.8rem 1rem;
  border-radius: 0.85rem;
  background: linear-gradient(135deg, rgba(79, 70, 229, 0.04), rgba(14, 165, 233, 0.04));
  border: 1px solid rgba(79, 70, 229, 0.08);
}

.partner-name {
  font-weight: 600;
  color: #111827;
}

.partner-count {
  font-size: 0.85rem;
  font-weight: 700;
  color: #4338ca;
  background: rgba(79, 70, 229, 0.08);
  padding: 0.35rem 0.6rem;
  border-radius: 999px;
}

.partner-empty {
  padding: 0.75rem 0.25rem 1rem;
  color: #475569;
}

@media (max-width: 576px) {
  .player-shell {
    padding: 1.25rem 0.5rem 2rem;
  }

  .player-card {
    padding: 0.85rem 0.9rem;
  }

  .partner-row {
    padding: 0.7rem 0.85rem;
  }
}































































































































































































































































































































































































































































































































































n




































































































.player-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgba(79, 70, 229, 0.12);
  border-color: rgba(79, 70, 229, 0.28);
  text-decoration: none;
  color: #111827;
}

.player-card.selected {
  background: linear-gradient(135deg, rgba(79, 70, 229, 0.08), rgba(20, 184, 166, 0.08));
  border-color: rgba(79, 70, 229, 0.4);
  box-shadow: 0 18px 36px rgba(79, 70, 229, 0.18);
}

.card-suit,
.suit-hearts,
.suit-diamonds,
.suit-clubs,
.suit-spades {
  font-weight: 700;
}

.card-suit.suit-hearts,
.suit-hearts {
  color: #dc3545;
}

.card-suit.suit-spades,
.suit-spades {
  color: #212529;
}

.card-suit.suit-clubs,
.suit-clubs {
  color: #198754;
}

.card-suit.suit-diamonds,
.suit-diamonds {
  color: #fd7e14;
}

.pair-side-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.75rem;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  background: rgba(79, 70, 229, 0.12);
  color: #4338ca;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.player-badge {
  width: 2.5rem;
  height: 2.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.8rem;
  background: linear-gradient(135deg, #4f46e5, #7c3aed);
  color: white;
  font-weight: 700;
  box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.2);
}

.player-name {
  font-weight: 600;
  line-height: 1.3;
}

.empty-state {
  padding: 1.25rem 1.5rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(148, 163, 184, 0.2);
  color: #475569;
}

@media (max-width: 576px) {
  .player-shell {
    padding: 1.25rem 0.5rem 2rem;
  }

  .player-card {
    padding: 0.85rem 0.9rem;
  }
}




























































































































































,














































































































































































































































