/* ==========================================================================
   Dominó contra la máquina en 3D • Estilos canónicos oficiales
   Compatible con tema claro y oscuro • Responsive desktop & móvil
   ========================================================================== */

:root {
  --font-main: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-heading: 'Outfit', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Paleta cromática tema oscuro (por defecto) */
  --domino-bg-main: #0c1017;
  --domino-bg-card: #141b26;
  --domino-bg-card-hover: #1b2433;
  --domino-border: rgba(255, 255, 255, 0.08);
  --domino-border-hover: rgba(255, 255, 255, 0.18);
  --domino-text: #f0f4f8;
  --domino-text-muted: #8e9bb0;
  --domino-gold: #d4af37;
  --domino-gold-hover: #f3ca40;
  --domino-cyan: #00d2ff;
  --domino-green: #2ec4b6;
  --domino-felt: #1a432b;
  --domino-chalkboard: #111a1e;
  --domino-wood-dark: #2c1409;
}

[data-theme="light"] {
  --domino-bg-main: #f5f7fb;
  --domino-bg-card: #ffffff;
  --domino-bg-card-hover: #f0f4fa;
  --domino-border: rgba(0, 0, 0, 0.08);
  --domino-border-hover: rgba(0, 0, 0, 0.16);
  --domino-text: #1a202c;
  --domino-text-muted: #5a6b82;
  --domino-gold: #b38600;
  --domino-gold-hover: #cc9900;
  --domino-cyan: #0088cc;
  --domino-green: #0f9d58;
  --domino-felt: #185233;
  --domino-chalkboard: #1c2a29;
  --domino-wood-dark: #3a1c0d;
}

/* ==========================================================================
   Contención canónica del layout
   ========================================================================== */
body {
  overflow-x: clip;
  width: 100%;
  max-width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-color: var(--domino-bg-main);
  color: var(--domino-text);
  font-family: var(--font-main);
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.main-wrapper.tool-layout {
  max-width: 1200px;
  margin: 1.5rem auto 3rem;
  padding: 0 1rem;
  box-sizing: border-box;
  flex: 1 0 auto;
  width: 100%;
}

.tool-with-sidebar {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
  width: 100%;
}

.tool-main-content {
  flex: 1 1 0%;
  min-width: 0;
  width: 100%;
}

/* ==========================================================================
   Contenedor principal del juego de dominó
   ========================================================================== */
.domino-game-wrapper {
  background: var(--domino-bg-card);
  border: 1px solid var(--domino-border);
  border-radius: 16px;
  padding: 1.25rem;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.25);
  margin-bottom: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

/* --------------------------------------------------------------------------
   Barra de herramientas superior (Toolbar)
   -------------------------------------------------------------------------- */
.domino-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--domino-border);
}

.toolbar-left, .toolbar-right {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.btn-tool {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--domino-border);
  color: var(--domino-text);
  padding: 0.55rem 0.95rem;
  border-radius: 10px;
  font-size: 0.88rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  min-height: 40px;
}

.btn-tool:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--domino-border-hover);
  transform: translateY(-1px);
}

.btn-tool-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--domino-border);
  color: var(--domino-text);
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-tool-icon:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--domino-border-hover);
  color: var(--domino-gold);
}

/* --------------------------------------------------------------------------
   Pizarra de taberna (Scoreboard)
   -------------------------------------------------------------------------- */
.domino-scoreboard-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--domino-chalkboard);
  border: 2px solid var(--domino-wood-dark);
  border-radius: 12px;
  padding: 0.85rem 1.25rem;
  box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.4);
}

.scoreboard-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 130px;
}

.team-a-box .score-team-tag {
  color: #38bdf8;
  font-weight: 600;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.team-a-box .score-number {
  color: #38bdf8;
}

.team-b-box .score-team-tag {
  color: #fb7185;
  font-weight: 600;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.team-b-box .score-number {
  color: #fb7185;
}

.score-number {
  font-family: var(--font-heading);
  font-size: 2.1rem;
  font-weight: 800;
  line-height: 1.1;
}

.scoreboard-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
}

.score-target-badge {
  font-size: 0.82rem;
  color: var(--domino-text-muted);
}

.score-target-badge strong {
  color: var(--domino-gold);
}

.round-counter-badge {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  background: rgba(255, 255, 255, 0.08);
  padding: 0.2rem 0.65rem;
  border-radius: 999px;
  color: var(--domino-text);
}

.ends-status-pill {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.82rem;
  color: var(--domino-text-muted);
  background: rgba(0, 0, 0, 0.3);
  padding: 0.2rem 0.6rem;
  border-radius: 6px;
}

.pip-tag {
  font-family: var(--font-mono);
  font-weight: 700;
  color: #ffffff;
  background: #334155;
  padding: 0.1rem 0.4rem;
  border-radius: 4px;
}

.pip-divider {
  color: var(--domino-text-muted);
}

/* --------------------------------------------------------------------------
   Escenario 3D interactivo
   -------------------------------------------------------------------------- */
.canvas-3d-wrapper {
  position: relative;
  width: 100%;
  height: 520px;
  min-height: 420px;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.6);
  border: 1px solid var(--domino-border);
  background: #090d13;
}

.domino-canvas-container {
  width: 100%;
  height: 100%;
  cursor: grab;
}

.domino-canvas-container:active {
  cursor: grabbing;
}

/* Banner de estado de turno flotante sobre el 3D */
.turn-status-banner {
  position: absolute;
  top: 1rem;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 0.55rem 1.25rem;
  border-radius: 999px;
  font-size: 0.88rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
  z-index: 10;
  pointer-events: none;
  white-space: nowrap;
}

.turn-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 8px #10b981;
  animation: pulse-dot 1.5s infinite;
}

.turn-dot.is-ai {
  background: #f59e0b;
  box-shadow: 0 0 8px #f59e0b;
}

.turn-status-banner.is-warning {
  border-color: #f59e0b;
  color: #fbbf24;
}

.turn-status-banner.is-error {
  border-color: #ef4444;
  color: #f87171;
}

@keyframes pulse-dot {
  0% { transform: scale(0.9); opacity: 0.8; }
  50% { transform: scale(1.25); opacity: 1; }
  100% { transform: scale(0.9); opacity: 0.8; }
}

/* --------------------------------------------------------------------------
   Carril de fichas en mano del jugador
   -------------------------------------------------------------------------- */
.player-hand-panel {
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid var(--domino-border);
  border-radius: 12px;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.player-hand-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hand-header-title {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--domino-text);
}

.hand-actions-bar {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.btn-action {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 1.1rem;
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.2s ease;
  min-height: 40px;
}

.btn-pass {
  background: #334155;
  color: #e2e8f0;
}

.btn-pass:not(:disabled):hover {
  background: #475569;
  transform: translateY(-1px);
}

.btn-draw {
  background: var(--domino-gold);
  color: #1e1400;
}

.btn-draw:not(:disabled):hover {
  background: var(--domino-gold-hover);
  transform: translateY(-1px);
}

.btn-action:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none !important;
}

.pulse-attention {
  animation: pulse-btn 1.4s infinite;
}

@keyframes pulse-btn {
  0% { box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.6); }
  70% { box-shadow: 0 0 0 10px rgba(212, 175, 55, 0); }
  100% { box-shadow: 0 0 0 0 rgba(212, 175, 55, 0); }
}

.player-hand-tiles {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.75rem;
  overflow-x: auto;
  padding: 0.6rem 0.25rem 0.85rem;
  min-height: 110px;
}

/* Ficha de dominó en la mano del jugador */
.player-hand-tile {
  flex: 0 0 auto;
  width: 48px;
  height: 96px;
  background: linear-gradient(135deg, #fbfaf5 0%, #ede7d6 100%);
  border: 2px solid #c8beab;
  border-radius: 6px;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.4), inset 0 1px 1px #ffffff;
  display: flex;
  flex-direction: column;
  padding: 4px;
  cursor: pointer;
  transition: transform 0.18s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.18s ease, border-color 0.18s ease;
  position: relative;
  user-select: none;
}

.player-hand-tile.is-valid {
  border-color: var(--domino-gold);
  box-shadow: 0 6px 16px rgba(212, 175, 55, 0.35);
}

.player-hand-tile.is-valid:hover {
  transform: translateY(-12px) scale(1.06);
  box-shadow: 0 14px 24px rgba(212, 175, 55, 0.5);
  border-color: #ffd700;
}

.player-hand-tile.is-selected {
  transform: translateY(-14px) scale(1.08);
  border-color: var(--domino-cyan);
  box-shadow: 0 14px 26px rgba(0, 210, 255, 0.55);
}

.player-hand-tile.is-disabled {
  opacity: 0.45;
  filter: grayscale(0.5);
  cursor: not-allowed;
}

.tile-pip-half {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.tile-divider-line {
  height: 2px;
  width: 100%;
  background: #a39986;
  position: relative;
  margin: 1px 0;
}

.tile-brass-pin {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: radial-gradient(circle, #fff3a8 0%, #b8860b 80%, #5c4308 100%);
  box-shadow: 0 0 2px rgba(0, 0, 0, 0.6);
}

/* Cuadrículas de puntos (pips) del dominó */
.pip-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(3, 1fr);
  width: 32px;
  height: 32px;
  gap: 2px;
  align-items: center;
  justify-items: center;
}

.domino-pip {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #3a3a3a 0%, #111111 70%, #000000 100%);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.4), 0 1px 1px rgba(0, 0, 0, 0.3);
}

/* Posicionamiento en cuadrícula según valor */
.grid-1 .domino-pip:nth-child(1) { grid-area: 2 / 2; }
.grid-2 .domino-pip:nth-child(1) { grid-area: 1 / 1; }
.grid-2 .domino-pip:nth-child(2) { grid-area: 3 / 3; }
.grid-3 .domino-pip:nth-child(1) { grid-area: 1 / 1; }
.grid-3 .domino-pip:nth-child(2) { grid-area: 2 / 2; }
.grid-3 .domino-pip:nth-child(3) { grid-area: 3 / 3; }
.grid-4 .domino-pip:nth-child(1) { grid-area: 1 / 1; }
.grid-4 .domino-pip:nth-child(2) { grid-area: 1 / 3; }
.grid-4 .domino-pip:nth-child(3) { grid-area: 3 / 1; }
.grid-4 .domino-pip:nth-child(4) { grid-area: 3 / 3; }
.grid-5 .domino-pip:nth-child(1) { grid-area: 1 / 1; }
.grid-5 .domino-pip:nth-child(2) { grid-area: 1 / 3; }
.grid-5 .domino-pip:nth-child(3) { grid-area: 2 / 2; }
.grid-5 .domino-pip:nth-child(4) { grid-area: 3 / 1; }
.grid-5 .domino-pip:nth-child(5) { grid-area: 3 / 3; }
.grid-6 .domino-pip:nth-child(1) { grid-area: 1 / 1; }
.grid-6 .domino-pip:nth-child(2) { grid-area: 1 / 3; }
.grid-6 .domino-pip:nth-child(3) { grid-area: 2 / 1; }
.grid-6 .domino-pip:nth-child(4) { grid-area: 2 / 3; }
.grid-6 .domino-pip:nth-child(5) { grid-area: 3 / 1; }
.grid-6 .domino-pip:nth-child(6) { grid-area: 3 / 3; }

/* --------------------------------------------------------------------------
   Historial y crónica de jugadas
   -------------------------------------------------------------------------- */
.action-log-details {
  background: rgba(0, 0, 0, 0.15);
  border: 1px solid var(--domino-border);
  border-radius: 8px;
  overflow: hidden;
}

.action-log-summary {
  padding: 0.65rem 1rem;
  font-size: 0.85rem;
  color: var(--domino-text-muted);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
}

.action-log-content {
  padding: 0.5rem 1rem 0.85rem;
  max-height: 150px;
  overflow-y: auto;
}

.action-log-list {
  list-style: none;
  margin: 0;
  padding: 0;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.action-log-list li {
  color: var(--domino-text-muted);
  padding: 0.15rem 0;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.04);
}

.action-log-list li:first-child {
  color: var(--domino-text);
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   Selector de extremo flotante (Side Picker)
   -------------------------------------------------------------------------- */
.side-picker-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  padding: 1rem;
}

.side-picker-overlay.is-active {
  opacity: 1;
  pointer-events: auto;
}

.side-picker-card {
  background: var(--domino-bg-card);
  border: 1px solid var(--domino-border);
  border-radius: 14px;
  padding: 1.5rem;
  max-width: 420px;
  width: 100%;
  text-align: center;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
}

.side-picker-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.15rem;
  font-family: var(--font-heading);
}

.side-picker-card p {
  color: var(--domino-text-muted);
  font-size: 0.9rem;
  margin: 0 0 1.25rem;
}

.side-picker-buttons {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.btn-pick-side {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.92rem;
  cursor: pointer;
  border: none;
  transition: transform 0.18s ease;
  min-height: 48px;
}

.btn-pick-left {
  background: #0284c7;
  color: #ffffff;
}

.btn-pick-left:hover {
  transform: translateY(-2px);
  background: #0369a1;
}

.btn-pick-right {
  background: #d97706;
  color: #ffffff;
}

.btn-pick-right:hover {
  transform: translateY(-2px);
  background: #b45309;
}

.btn-pick-cancel {
  background: transparent;
  border: none;
  color: var(--domino-text-muted);
  font-size: 0.88rem;
  cursor: pointer;
  padding: 0.4rem 0.8rem;
}

.btn-pick-cancel:hover {
  color: var(--domino-text);
}

/* --------------------------------------------------------------------------
   Modal universal accesible
   -------------------------------------------------------------------------- */
.domino-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1050;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  padding: 1rem;
}

.domino-modal-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

.domino-modal-dialog {
  background: var(--domino-bg-card);
  border: 1px solid var(--domino-border);
  border-radius: 16px;
  max-width: 540px;
  width: 100%;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.6);
  animation: modal-enter 0.28s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes modal-enter {
  0% { transform: scale(0.92) translateY(12px); }
  100% { transform: scale(1) translateY(0); }
}

.domino-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.1rem 1.4rem;
  border-bottom: 1px solid var(--domino-border);
}

.domino-modal-title {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 1.25rem;
}

.domino-modal-close {
  background: transparent;
  border: none;
  color: var(--domino-text-muted);
  font-size: 1.6rem;
  cursor: pointer;
  line-height: 1;
}

.domino-modal-close:hover {
  color: var(--domino-text);
}

.domino-modal-body {
  padding: 1.4rem;
  overflow-y: auto;
  font-size: 0.95rem;
  line-height: 1.6;
}

.domino-modal-footer {
  padding: 1rem 1.4rem;
  border-top: 1px solid var(--domino-border);
  display: flex;
  justify-content: flex-end;
}

.domino-modal-btn {
  background: var(--domino-gold);
  color: #1a1200;
  border: none;
  padding: 0.65rem 1.4rem;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  min-height: 42px;
}

.domino-modal-btn:hover {
  background: var(--domino-gold-hover);
}

/* Estilos de contenido de modales */
.modal-round-summary {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.summary-badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  font-weight: 700;
  text-align: center;
  font-size: 1.05rem;
}

.badge-win { background: rgba(16, 185, 129, 0.2); color: #34d399; border: 1px solid #10b981; }
.badge-lose { background: rgba(239, 68, 68, 0.2); color: #f87171; border: 1px solid #ef4444; }
.badge-tie { background: rgba(245, 158, 11, 0.2); color: #fbbf24; border: 1px solid #f59e0b; }

.hands-recap-table h4 {
  margin: 0.8rem 0 0.5rem;
  font-size: 0.95rem;
  color: var(--domino-text-muted);
}

.hands-grid {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.hand-row {
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid var(--domino-border);
  border-radius: 8px;
  padding: 0.6rem 0.85rem;
}

.hand-row-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.3rem;
  font-size: 0.88rem;
}

.pips-pill {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--domino-gold);
}

.hand-row-tiles {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--domino-text-muted);
}

.empty-hand-tag {
  color: #34d399;
  font-weight: 700;
}

.scoreboard-recap {
  display: flex;
  justify-content: space-around;
  align-items: center;
  background: var(--domino-chalkboard);
  padding: 0.85rem;
  border-radius: 10px;
  margin-top: 0.5rem;
}

.recap-col {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.recap-label {
  font-size: 0.8rem;
  color: var(--domino-text-muted);
}

.recap-val {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
}

.recap-vs {
  font-weight: 700;
  color: var(--domino-text-muted);
}

/* Formulario de opciones */
.domino-settings-form {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-group label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--domino-text);
}

.form-select {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  padding: 0.65rem 1rem;
  border-radius: 8px;
  border: 1px solid var(--domino-border);
  background: var(--domino-bg-card);
  color: var(--domino-text);
  font-size: 0.92rem;
  min-height: 42px;
}

.form-select option {
  background: var(--domino-bg-card);
  color: var(--domino-text);
}

/* Modal de pistas */
.hint-modal-content {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.hint-icon {
  font-size: 2rem;
  line-height: 1;
}

.hint-text {
  margin: 0;
  font-size: 1rem;
  line-height: 1.5;
}

/* --------------------------------------------------------------------------
   Responsive Móvil (< 768px)
   -------------------------------------------------------------------------- */
@media (max-width: 768px) {
  .canvas-3d-wrapper {
    height: 380px;
    min-height: 340px;
  }

  .domino-toolbar {
    flex-direction: column;
    align-items: stretch;
  }

  .toolbar-left, .toolbar-right {
    justify-content: space-between;
  }

  .domino-scoreboard-card {
    padding: 0.65rem;
  }

  .scoreboard-col {
    min-width: 90px;
  }

  .score-number {
    font-size: 1.6rem;
  }

  .player-hand-tile {
    width: 42px;
    height: 84px;
  }

  .pip-grid {
    width: 26px;
    height: 26px;
  }

  .domino-pip {
    width: 6px;
    height: 6px;
  }

  .player-hand-header {
    flex-direction: column;
    align-items: stretch;
  }

  .hand-actions-bar {
    width: 100%;
  }

  .btn-action {
    flex: 1;
    justify-content: center;
  }
}

