
body {
  font-family: 'Comic Sans MS', 'Nunito', sans-serif;
  margin: 0;
  background: linear-gradient(to bottom, #ffe0ec, #fff);
  color: #333;
  height: 100vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

header {
  background: #ffb6c1;
  padding: 1.5rem;
  text-align: center;
  color: white;
  font-size: 2rem;
  font-weight: bold;
}

main {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.menu {
  background: #ffd6e7;
  padding: 1rem;
  text-align: center;
}
.menu a {
  margin: 0 1rem;
  text-decoration: none;
  font-weight: bold;
  color: #c2185b;
}
.menu a:hover {
  text-decoration: underline;
}

.controles {
  padding: 1rem;
  text-align: center;
  background: #fff0f5;
}
input, button {
  padding: 0.5rem;
  margin: 0.5rem;
  font-size: 1rem;
  border-radius: 8px;
  border: none;
}
button {
  background: #ff69b4;
  color: white;
  cursor: pointer;
}
button:hover {
  background: #ff85c1;
}
#jugadores-lista ul {
  list-style: none;
  padding: 0;
}
#jugadores-lista li {
  margin: 0.3rem;
  font-size: 1rem;
}

.zona-visual {
  display: flex;
  flex: 1;
  min-height: 0;
  height: 100%;
  overflow: auto;
}

.zona-izquierda {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #e0f7fa;
  padding: 1rem;
  min-height: 0;
  overflow: hidden;
}

.inicial-grande {
  font-size: 10rem;
  font-weight: bold;
  line-height: 1;
}

.nombre-turno {
  font-size: 2rem;
  margin-top: 1rem;
}

.reloj-grande {
  font-size: 3rem;
  margin-top: 1rem;
  color: #ff8c00;
}

.zona-patitos {
  flex: 1;
  padding: 1rem;
  background: #fff8e1;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(24px, 1fr));
  gap: 4px;
  align-content: start;
  overflow-y: auto;
}

.cuadro {
  width: 100%;
  padding-top: 100%;
  position: relative;
  background: white;
  border: 1px solid #ccc;
  border-radius: 4px;
  transition: background 0.3s;
}

.cuadro.coloreado {
  background: orange;
}