/* ===== Citroniņa spēles laukums ===== */

.game-table {
  background: #2d4a3a;
  border-radius: 16px;
  padding: 1rem;
  color: white;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.game-top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
  font-size: 12px;
  color: rgba(255,255,255,0.55);
  font-family: monospace;
}

.history-link {
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.game-phase-title {
  font-size: 18px;
  font-weight: 500;
  margin: 0 0 0.5rem;
}

.game-phase-sub {
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  margin: 0 0 1.5rem;
}

/* ===== Vispārējais kāršu stils ===== */
.game-card {
  border-radius: 5px;
  box-sizing: border-box;
  font-weight: 600;
  font-family: -apple-system, sans-serif;
  user-select: none;
  line-height: 1;
  border: 1px solid #d0d0d0;
  position: relative;
  background: white;
}

.game-card.tiny { width: 26px; height: 38px; padding: 3px 4px; font-size: 12px; }
.game-card.small { width: 36px; height: 52px; padding: 4px 5px; font-size: 13px; }
.game-card.big { width: 54px; height: 76px; padding: 6px 8px; font-size: 19px; }
.game-card.deck { width: 40px; height: 58px; }

.card-rank { font-size: 1em; line-height: 1; }
.card-suit { font-size: 0.85em; line-height: 1; margin-top: 1px; }

.card-corner-br {
  position: absolute;
  bottom: 3px;
  right: 4px;
  text-align: right;
  line-height: 1;
  transform: rotate(180deg);
  font-size: 0.65em;
}

.card-corner-br .corner-suit {
  font-size: 0.85em;
  display: block;
  margin-top: 1px;
}

.card-red { color: #d83030; }
.card-black { color: #1a1a1a; }

.card-back {
  background: #6b0e1a;
  border: 1.5px solid rgba(255,255,255,0.3);
}

.card-back .card-rank,
.card-back .card-suit,
.card-back .card-corner-br {
  display: none;
}

/* ===== Spec kārtis ===== */
.spec-2 { box-shadow: 0 0 0 2.5px #f7d046; }
.spec-10 { box-shadow: 0 0 0 2.5px #4a9eff; }
.spec-7 { box-shadow: 0 0 0 2.5px rgba(255,255,255,0.6); opacity: 0.8; }
.spec-joker { box-shadow: 0 0 0 2.5px #c084fc; }

.spec-label {
  font-size: 10px;
  font-weight: 500;
  text-align: center;
  margin-top: 4px;
}

.spec-label-2 { color: #f7d046; }
.spec-label-10 { color: #4a9eff; }
.spec-label-7 { color: rgba(255,255,255,0.7); font-style: italic; }
.spec-label-joker { color: #c084fc; }

.spec-label-empty {
  height: 14px;
  visibility: hidden;
}

/* Joker kāršu vizuāls stils */
.card-joker {
  background: linear-gradient(135deg, #1e1438 0%, #3a1a6e 50%, #1e1438 100%) !important;
  color: #c084fc !important;
}
.card-joker .card-rank,
.card-joker .card-suit,
.card-joker .card-corner-br { color: #c084fc; }

/* Speciālā režīma zīmotne */
.special-mode-badge {
  font-size: 9px;
  color: #c084fc;
  margin: 2px 0 0;
  opacity: 0.7;
  letter-spacing: 0.05em;
}

/* ===== Spēlējamas / nespēlējamas kārtis ===== */
.hand-card.playable {
  box-shadow: 0 0 0 2.5px #1D9E75;
  transform: translateY(-6px);
  cursor: pointer;
  transition: transform 0.15s ease;
}

.hand-card.playable.spec-2 { box-shadow: 0 0 0 2.5px #f7d046, 0 0 0 5px #1D9E75; }
.hand-card.playable.spec-10 { box-shadow: 0 0 0 2.5px #4a9eff, 0 0 0 5px #1D9E75; }
.hand-card.playable.spec-7 { box-shadow: 0 0 0 2.5px rgba(255,255,255,0.7), 0 0 0 5px #1D9E75; opacity: 1; }
.hand-card.playable.spec-joker { box-shadow: 0 0 0 2.5px #c084fc, 0 0 0 5px #1D9E75; }

.hand-card.playable:hover {
  transform: translateY(-10px);
}

.hand-card.not-playable {
  opacity: 0.35;
  filter: grayscale(70%);
  cursor: not-allowed;
}

/* ===== Kāršu stack (atklāta + aizklāta zem) ===== */
.card-stack {
  position: relative;
  display: inline-block;
}

.stack-back {
  position: absolute;
  top: -2px;
  left: -8px;
  z-index: 1;
}

.stack-front {
  position: relative;
  z-index: 2;
}

/* ===== Pretinieki ===== */
.opponents-area {
  position: relative;
  width: 100%;
  height: 180px;
  margin-bottom: 0.5rem;
}

.opponent {
  position: absolute;
  transform: translate(-50%, -50%);
}

.opp-active .opp-name { color: #f7d046; font-weight: 600; }
.opp-inactive { opacity: 0.5; }

.opp-name {
  font-size: 13px;
  text-align: center;
  margin-bottom: 2px;
}

.opp-handcount {
  text-align: center;
  margin-bottom: 4px;
}

.opp-cards {
  display: flex;
  gap: 3px;
}

.hand-count-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(0,0,0,0.3);
  padding: 2px 8px;
  border-radius: 10px;
  font-size: 12px;
}

.hand-count-badge.active-badge {
  background: rgba(247,208,70,0.25);
}

/* ===== Galda (pile) zona ===== */
.table-area {
  background: rgba(0,0,0,0.25);
  border-radius: 10px;
  padding: 0.75rem;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 14px;
}

.deck-wrap {
  text-align: center;
  flex-shrink: 0;
}

.deck-stack {
  position: relative;
  width: 44px;
  height: 64px;
  margin: 0 auto;
}

.deck-stack .game-card.deck {
  position: absolute;
  width: 40px;
  height: 58px;
}

.deck-stack .game-card.deck:nth-child(1) { top: 0; left: 0; }
.deck-stack .game-card.deck:nth-child(2) { top: 2px; left: 2px; }
.deck-stack .game-card.deck:nth-child(3) { top: 4px; left: 4px; }

.kava-badge {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #f7d046;
  color: #4a3a08;
  font-weight: 700;
  font-size: 14px;
  padding: 2px 8px;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.4);
  border: 2px solid #2d4a3a;
  z-index: 10;
}

.card-label {
  font-size: 10px;
  color: rgba(255,255,255,0.55);
  margin-top: 2px;
  text-align: center;
}

.pile-row {
  flex: 1;
  display: flex;
  align-items: center;
  overflow: hidden;
  min-height: 70px;
  padding-left: 4px;
}

.pile-card {
  width: 32px;
  height: 64px;
  padding: 5px 6px;
  font-size: 13px;
  flex-shrink: 0;
  margin-left: -14px;
  background: white;
  border-radius: 5px;
  border: 1px solid #d0d0d0;
  position: relative;
}

.pile-card:first-child {
  margin-left: 0;
}

.pile-last {
  width: 50px;
  height: 70px;
  padding: 6px 7px;
  font-size: 18px;
  flex-shrink: 0;
  margin-left: -10px;
  z-index: 5;
  background: white;
  border-radius: 5px;
  border: 1px solid #d0d0d0;
  position: relative;
}

.empty-pile {
  flex: 1;
  text-align: center;
  color: rgba(255,255,255,0.4);
  font-style: italic;
  font-size: 13px;
}

.must-beat {
  text-align: center;
  flex-shrink: 0;
  background: rgba(29,158,117,0.2);
  border: 1px solid rgba(29,158,117,0.5);
  padding: 6px 10px;
  border-radius: 6px;
}

.must-beat-label {
  font-size: 10px;
  color: rgba(255,255,255,0.6);
  margin: 0;
}

.must-beat-value {
  font-size: 18px;
  font-weight: 600;
  color: #5dcaa5;
  margin: 0;
}

/* ===== Mans zona ===== */
.my-area {
  background: rgba(0,0,0,0.2);
  border-radius: 10px;
  padding: 0.75rem;
}

.my-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 0.5rem;
}

.my-faceup-cards {
  display: flex;
  gap: 6px;
  align-items: center;
}

.my-label {
  font-size: 11px;
  color: rgba(255,255,255,0.5);
  margin-left: 6px;
}

.my-hand-row {
  display: flex;
  gap: 10px;
  justify-content: center;
  padding: 8px 0 4px;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 0.5rem;
}

.card-with-label {
  text-align: center;
}

/* ===== Pogas spēles laukumā ===== */
.action-buttons {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 0.5rem;
}

.btn-action {
  padding: 6px 12px;
  font-size: 12px;
  border-radius: 6px;
  cursor: pointer;
  font-family: inherit;
  border: none;
  transition: opacity 0.2s ease;
}

.btn-action:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.btn-secondary-game {
  background: rgba(255,255,255,0.1);
  color: white;
  border: 1px solid rgba(255,255,255,0.2);
}

.btn-secondary-game:hover:not(:disabled) {
  background: rgba(255,255,255,0.2);
}

.btn-danger-game {
  background: #d85a30;
  color: white;
}

.btn-danger-game:hover:not(:disabled) {
  background: #c54a20;
}

.turn-info {
  text-align: center;
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  margin: 0.75rem 0 0;
}

.turn-info-active {
  color: #f7d046;
  font-weight: 600;
}

/* ===== "Choosing" fāze (sākotnējā izvēle) ===== */
.choosing-area {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  padding: 1rem 0;
}

.hidden-cards-area,
.hand-cards-area {
  text-align: center;
}

.cards-row {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
}

.selection-info {
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  background: rgba(0,0,0,0.25);
  padding: 6px 14px;
  border-radius: 20px;
}

.selection-info span {
  font-weight: 600;
  color: #f7d046;
}

.choice-card {
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.choice-card:hover {
  transform: translateY(-4px);
}

.choice-card.selected {
  transform: translateY(-10px);
  box-shadow: 0 0 0 3px #1D9E75;
}

#confirm-faceup-btn {
  margin-top: 1rem;
}

#confirm-faceup-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.my-cards-preview {
  margin-top: 1.5rem;
  text-align: center;
}

.my-cards-preview h3 {
  font-size: 14px;
  font-weight: 500;
  margin: 0 0 0.75rem;
  color: rgba(255,255,255,0.7);
}

/* ===== Spēles placeholder ===== */
.game-placeholder {
  background: rgba(0,0,0,0.2);
  padding: 3rem 2rem;
  border-radius: 12px;
  text-align: center;
  color: white;
}

.game-placeholder p {
  margin-bottom: 0.5rem;
  font-size: 17px;
}

/* ===== Aktīvā avota etiķete ===== */
.active-source-label {
  text-align: center;
  font-size: 11px;
  color: rgba(255,255,255,0.5);
  margin-top: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ===== Spēles laikā izvēlētās kārtis (kombo) ===== */
.hand-card.selected {
  transform: translateY(-14px);
  box-shadow: 0 0 0 3px #f7d046, 0 4px 12px rgba(0,0,0,0.4);
}

.hand-card.selected.spec-2 {
  box-shadow: 0 0 0 2.5px #f7d046, 0 0 0 5px #f7d046, 0 4px 12px rgba(0,0,0,0.4);
}

.hand-card.selected.spec-10 {
  box-shadow: 0 0 0 2.5px #4a9eff, 0 0 0 5px #f7d046, 0 4px 12px rgba(0,0,0,0.4);
}

.hand-card.selected.spec-7 {
  box-shadow: 0 0 0 2.5px rgba(255,255,255,0.8), 0 0 0 5px #f7d046, 0 4px 12px rgba(0,0,0,0.4);
}

.hand-card.selected.spec-joker {
  box-shadow: 0 0 0 2.5px #c084fc, 0 0 0 5px #f7d046, 0 4px 12px rgba(0,0,0,0.4);
}

/* ===== Spēles primārā poga ===== */
.btn-primary-game {
  background: #1D9E75;
  color: white;
  border: none;
  font-weight: 500;
}

.btn-primary-game:hover:not(:disabled) {
  background: #0F6E56;
}

.btn-primary-game:disabled {
  background: rgba(29,158,117,0.3);
  cursor: not-allowed;
}

/* ===== Aklā likšana ===== */
.hidden-gamble {
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 0 0 2.5px #d85a30;
}

.hidden-gamble:hover {
  transform: translateY(-8px);
  box-shadow: 0 0 0 3px #f7d046, 0 4px 12px rgba(0,0,0,0.4);
}

/* Atklāta aklā kārts (peek pirms likšanas) */
.hidden-revealed {
  cursor: default;
  transform: translateY(-12px);
  box-shadow: 0 0 0 3px #f7d046, 0 4px 16px rgba(247, 208, 70, 0.4);
  animation: cardFlip 0.4s ease;
}

@keyframes cardFlip {
  0%   { transform: translateY(-12px) rotateY(0deg); }
  50%  { transform: translateY(-12px) rotateY(90deg); }
  100% { transform: translateY(-12px) rotateY(0deg); }
}

/* Bloķēta aizklāta kārts (kad cita jau atklāta — vairs nevar mainīt) */
.hidden-locked {
  cursor: not-allowed;
  opacity: 0.35;
  filter: grayscale(50%);
  box-shadow: none;
}

/* ===== Spēles beigu banneris ===== */
.finished-banner {
  background: rgba(0, 0, 0, 0.35);
  border: 2px solid #f7d046;
  border-radius: 10px;
  padding: 1rem;
  margin-bottom: 0.75rem;
  text-align: center;
}

.finished-banner.win {
  background: linear-gradient(135deg, rgba(29, 158, 117, 0.35), rgba(247, 208, 70, 0.25));
  border-color: #1D9E75;
}

.finished-banner.place {
  background: rgba(247, 208, 70, 0.15);
  border-color: #f7d046;
}

.finished-banner.lose {
  background: rgba(216, 90, 48, 0.15);
  border-color: #d85a30;
}

.finished-emoji {
  font-size: 32px;
  margin: 0;
  line-height: 1;
}

.finished-title {
  font-size: 20px;
  font-weight: 600;
  margin: 0.25rem 0 0.25rem;
  color: #f7d046;
}

.finished-banner.win .finished-title {
  color: #5dcaa5;
}

.finished-banner.lose .finished-title {
  color: #ff8a5c;
}

.finished-sub {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.85);
  margin: 0 0 0.75rem;
}

.finished-banner .btn-action {
  margin-top: 0.5rem;
}

/* Rezultātu saraksts beigu ekrānā */
.places-list {
  list-style: none;
  padding: 0;
  margin: 0.5rem 0 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.place-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  background: rgba(0,0,0,0.25);
  border-radius: 6px;
  font-size: 14px;
}

.place-row.place-me {
  background: rgba(247, 208, 70, 0.2);
  border: 1px solid #f7d046;
}

.place-row.place-loser {
  background: rgba(216, 90, 48, 0.15);
}

.place-row.place-loser.place-me {
  background: rgba(216, 90, 48, 0.3);
  border: 1px solid #d85a30;
}

.place-num {
  font-weight: 600;
  color: #f7d046;
  min-width: 60px;
  text-align: left;
}

.place-name {
  flex: 1;
  text-align: left;
}

.place-medal {
  font-size: 18px;
}

/* Spectator banneris (kad esi izgājis, bet spēle vēl iet) */
.spectator-banner {
  background: linear-gradient(135deg, rgba(29, 158, 117, 0.4), rgba(247, 208, 70, 0.25));
  border: 1px solid #1D9E75;
  border-radius: 8px;
  padding: 8px 12px;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #fff;
}

.spec-medal {
  font-size: 20px;
}

/* Izgājis pretinieks (medaļa virsū) */
.opp-finished .opp-name {
  color: rgba(255, 255, 255, 0.5);
  text-decoration: line-through;
}

.hand-count-badge.finished-badge {
  background: rgba(247, 208, 70, 0.3);
  border: 1px solid #f7d046;
  color: #fff;
}

/* ===== Modāļi (alert/confirm aizvietošanai) ===== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 1rem;
  animation: modalFadeIn 0.15s ease;
}

@keyframes modalFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.modal-box {
  background: #2d4a3a;
  border: 2px solid #f7d046;
  border-radius: 12px;
  padding: 1.5rem 1.25rem;
  max-width: 360px;
  width: 100%;
  color: white;
  box-shadow: 0 10px 40px rgba(0,0,0,0.5);
  animation: modalSlideIn 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes modalSlideIn {
  from { transform: scale(0.85); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.modal-title {
  font-size: 17px;
  font-weight: 600;
  margin: 0 0 0.5rem;
  color: #f7d046;
}

.modal-message {
  font-size: 15px;
  line-height: 1.5;
  margin: 0 0 1.25rem;
  color: rgba(255,255,255,0.9);
  white-space: pre-wrap;
  max-height: 50vh;
  overflow-y: auto;
}

.modal-message.monospace {
  font-family: monospace;
  font-size: 13px;
  background: rgba(0,0,0,0.25);
  padding: 0.75rem;
  border-radius: 6px;
}

.modal-buttons {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
}

.modal-btn {
  padding: 8px 16px;
  font-size: 14px;
  border-radius: 6px;
  cursor: pointer;
  font-family: inherit;
  font-weight: 500;
  border: none;
  transition: opacity 0.15s ease, transform 0.1s ease;
}

.modal-btn:active {
  transform: scale(0.97);
}

.modal-btn-primary {
  background: #1D9E75;
  color: white;
}

.modal-btn-primary:hover {
  background: #0F6E56;
}

.modal-btn-secondary {
  background: rgba(255,255,255,0.15);
  color: white;
  border: 1px solid rgba(255,255,255,0.25);
}

.modal-btn-secondary:hover {
  background: rgba(255,255,255,0.25);
}

.modal-btn-danger {
  background: #d85a30;
  color: white;
}

.modal-btn-danger:hover {
  background: #c54a20;
}

/* ===== MOBILAIS IZKĀRTOJUMS ===== */
/* Galvenais mērķis: viss ietilpst telefonā (~360px platums), kārtis ir taustāmas
   bet ne lielas, atstatumi mazi. */

@media (max-width: 600px) {
  .game-table {
    padding: 0.5rem;
    border-radius: 12px;
  }

  .game-top-bar {
    font-size: 11px;
    margin-bottom: 0.4rem;
  }

  .game-phase-title { font-size: 16px; margin-bottom: 0.4rem; }
  .game-phase-sub { font-size: 13px; margin-bottom: 1rem; }

  /* Kāršu izmēri — mazāki, lai ietilpst rokā 6-7 kārtis */
  .game-card.tiny { width: 22px; height: 32px; padding: 2px 3px; font-size: 10px; }
  .game-card.small { width: 30px; height: 44px; padding: 3px 4px; font-size: 11px; }
  .game-card.big { width: 42px; height: 60px; padding: 4px 5px; font-size: 15px; }
  .game-card.deck { width: 32px; height: 46px; }

  .card-corner-br {
    bottom: 2px;
    right: 3px;
    font-size: 0.6em;
  }

  /* Pretinieku zona — mazāka, lai vairāk vietas pašai spēlei */
  .opponents-area {
    height: 130px;
    margin-bottom: 0.3rem;
  }

  .opp-name { font-size: 11px; margin-bottom: 1px; }
  .opp-handcount { margin-bottom: 2px; }
  .opp-cards { gap: 2px; }

  .hand-count-badge {
    padding: 1px 6px;
    font-size: 10px;
    gap: 2px;
  }

  /* Galda zona — kompaktāka */
  .table-area {
    padding: 0.5rem;
    gap: 8px;
    margin-bottom: 0.5rem;
  }

  .deck-stack {
    width: 36px;
    height: 50px;
  }

  .deck-stack .game-card.deck {
    width: 32px;
    height: 46px;
  }

  .kava-badge {
    font-size: 12px;
    padding: 1px 6px;
  }

  .card-label { font-size: 9px; }

  .pile-row {
    min-height: 56px;
    padding-left: 2px;
  }

  /* Pile-card un pile-last — mazākas mobilajā */
  .pile-card {
    width: 24px;
    height: 48px;
    padding: 3px 4px;
    font-size: 10px;
    margin-left: -12px;
  }

  .pile-last {
    width: 38px;
    height: 54px;
    padding: 4px 5px;
    font-size: 14px;
    margin-left: -8px;
  }

  .empty-pile { font-size: 11px; }

  .must-beat {
    padding: 4px 7px;
  }

  .must-beat-label { font-size: 9px; }
  .must-beat-value { font-size: 15px; }

  /* Mana zona */
  .my-area { padding: 0.5rem; }

  .my-top-row {
    gap: 8px;
    margin-bottom: 0.3rem;
    flex-wrap: wrap;
  }

  .my-label { font-size: 10px; }

  .my-faceup-cards {
    gap: 4px;
  }

  /* Rokas kāršu rinda — mazāks atstatums, lai 6 kārtis ietilpst */
  .my-hand-row {
    gap: 4px;
    padding-top: 0.4rem;
    flex-wrap: wrap;
  }

  /* Akcijas pogas */
  .action-buttons {
    gap: 6px;
    margin-top: 0.4rem;
    flex-wrap: wrap;
  }

  .btn-action {
    padding: 5px 10px;
    font-size: 11px;
  }

  .turn-info {
    font-size: 11px;
    margin-top: 0.5rem;
  }

  /* "Choosing" fāzes ekrāns mobilajā */
  .choosing-area { gap: 1rem; padding: 0.5rem 0; }
  .cards-row { gap: 4px; }
  .selection-info { font-size: 12px; padding: 4px 10px; }
  .my-cards-preview { margin-top: 1rem; }
  .my-cards-preview h3 { font-size: 12px; }

  /* Beigu banneris */
  .finished-banner { padding: 0.75rem; }
  .finished-emoji { font-size: 26px; }
  .finished-title { font-size: 17px; }
  .finished-sub { font-size: 12px; }

  /* Modāļi mobilajā */
  .modal-box {
    padding: 1.25rem 1rem;
  }
  .modal-title { font-size: 15px; }
  .modal-message { font-size: 14px; }
  .modal-btn { padding: 8px 14px; font-size: 13px; }
}

/* Ļoti šauriem ekrāniem (vecāki telefoni) */
@media (max-width: 380px) {
  .game-card.big { width: 38px; height: 54px; font-size: 13px; }
  .my-hand-row { gap: 3px; }
  .pile-card { width: 22px; margin-left: -11px; }
  .pile-last { width: 34px; }
}

/* Ārējais konteiners mobilajā — mazāks padding lai vairāk vietas */
@media (max-width: 600px) {
  .container {
    padding: 1rem 0.6rem;
  }
}
