    body { font-family: Arial, sans-serif; margin: 0; padding: 0; }
    header {
      background-color: #003366;
      color: white;
      padding: 1em;
      display: flex;
      justify-content: space-between;
      align-items: center;
    }
    nav {
      background-color: #f4f4f4;
      padding: 1em;
      display: flex;
      gap: 1em;
      border-bottom: 1px solid #ccc;
    }
    .tab-content { padding: 2em; }
    .tab { display: none; }
    .tab.active { display: block; }
    a.logout { color: white; text-decoration: none; font-weight: bold; }
    button.tab-button { background: none; border: none; font-size: 1em; cursor: pointer; }

    button.tab-button.active {
      font-weight: bold;
      color: #003366;
      border-bottom: 2px solid #003366;
    }
    .user-info {
      font-size: 0.9em;
    }
    /* Contenedor del menú */
nav {
  background-color: #f9f9f9;
  border-bottom: 1px solid #ddd;
  padding: 0.5em 1em;
  display: flex;
  gap: 1em;
  justify-content: center;
}

/* Botones de tab */
button.tab-button {
  background-color: transparent;
  border: none;
  font-size: 1rem;
  font-weight: 500;
  color: #444;
  padding: 0.5em 1em;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
  border-bottom: 2px solid transparent;
}

/* Hover */
button.tab-button:hover {
  color: #222;
  border-bottom: 2px solid #bbb;
}

/* Activo */
button.tab-button.active {
  color: #003366;
  border-bottom: 2px solid #003366;
  font-weight: 600;
}

/* Fondo general */
body {
  background-color: #f5f5f5;
  font-family: 'Segoe UI', sans-serif;
  color: #333;
}

/* Contenido de cada tab */
.tab-content {
  padding: 2em;
  background-color: #fff;
  border-radius: 6px;
  box-shadow: 0 0 10px rgba(0,0,0,0.05);
  margin: 1em auto;
  max-width: 1800px;
}

td {
  border: 1px solid #ddd;
  padding: 0.5em;
  text-align: center;
}

td:empty {
  background-color: #f0f0f0;
  color: #999;
}

.tabla-evaluacion td.pick-cell {
  font-size: 0.75rem;       /* Letra más pequeña */
  line-height: 1.2;         /* Menos espacio vertical */
  padding: 4px 6px;         /* Menos espacio interno */
  text-align: center;
}
.tabla-evaluacion td.pick-cell small {
  font-size: 0.65rem;
  color: #666;
}


th {
  cursor: pointer;
  position: relative;
}

th::after {
  content: "⇅";
  font-size: 0.7em;
  color: #aaa;
  margin-left: 6px;
}

.season-header {
  text-align: left;
  margin-bottom: 1.5em;
  padding-left: 1em;
}

.season-title {
  font-size: 2.2rem;
  font-weight: 700;
  color: #002244;
  margin-bottom: 0.3em;
}

.season-subtitle {
  font-size: 1rem;
  color: #555;
  margin: 0;
}

.label {
  font-weight: 500;
  color: #888;
  margin-right: 0.3em;
}

.calendario-acordeon {
  margin-top: 1em;
}

.calendar-table td {
  padding: 3px 6px;
  line-height: 1.2;
  font-size: 0.75rem;
}

.calendar-table tbody tr:nth-child(even) {
  background-color: #f0f0f0;   /* Gris muy claro */
}

.calendar-table tbody tr:nth-child(odd) {
  background-color: #ffffff;   /* Fondo blanco normal */
}

.calendar-table td,
.calendar-table th {
  padding: 4px 6px;        /* Reduce espacio vertical */
  line-height: 1.2;        /* Compacta altura de texto */
  font-size: 0.8rem;       /* Opcional: letra más pequeña */
}

.semana-acordeon {
  margin-bottom: 1em;
  border: 1px solid #ddd;
  border-radius: 6px;
  background-color: #fff;
  box-shadow: 0 0 6px rgba(0,0,0,0.03);
}

.acordeon-toggle {
  width: 100%;
  text-align: left;
  background-color: #f4f4f4;
  border: none;
  padding: 0.4em 1em;
  font-size: 0.9rem;
  font-weight: 600;
  color: #003366;
  cursor: pointer;
  border-bottom: 1px solid #ddd;
}

.acordeon-content {
  padding: 1em;
  display: none;
  max-width: 900px;
  margin: 0 auto;
}

.acordeon-content.visible {
  display: block;
}

.estado-semana {
  background-color: #f8f9fa;
  border-left: 4px solid #003366;
  padding: 1em 1.5em;
  margin-bottom: 2em;
  border-radius: 6px;
  font-size: 0.95rem;
  color: #333;
  max-width: 600px;
}

.estado-semana p {
  margin: 0.3em 0;
}

.estado-semana strong {
  color: #002244;
}

.estado-semana .alerta {
  color: #721c24;
  background-color: #f8d7da;
  padding: 0.5em;
  border-radius: 4px;
}

.sin-vidas {
  color: #a94442;
  font-weight: bold;
  background-color: #fbeaea;
  border-radius: 4px;
}

.bienvenida-survivor {
  text-align: center;
  padding: 2em 1em;
  background-color: #f8f9fa;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0,0,0,0.05);
  max-width: 500px;
  margin: 2em auto;
}

.bienvenida-survivor h1 {
  font-size: 2rem;
  margin-bottom: 0.5em;
  color: #003366;
}

.bienvenida-survivor .marca {
  color: #d62828;
  font-weight: bold;
}

.bienvenida-survivor .intro {
  font-size: 1.1rem;
  margin-bottom: 1em;
  color: #333;
}

.opciones-acceso {
  list-style: none;
  padding: 0;
  margin: 0;
}

.opciones-acceso li {
  margin: 0.5em 0;
}

.btn-acceso {
  display: inline-block;
  padding: 0.6em 1.2em;
  background-color: #003366;
  color: white;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 500;
  transition: background-color 0.3s ease;
}

.btn-acceso:hover {
  background-color: #0055aa;
}

.encabezado-principal {
  background-color: #003366;
  color: white;
  padding: 1em;
  text-align: center;
}

.contenedor-login {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2em 1em;
}

.login-box {
  background-color: #f8f9fa;
  padding: 2em;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0,0,0,0.05);
  max-width: 400px;
  width: 100%;
}

.login-box h2 {
  margin-bottom: 1em;
  color: #003366;
}

.login-box form p {
  margin-bottom: 1em;
}

.btn-acceso {
  background-color: #003366;
  color: white;
  padding: 0.6em 1.2em;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 500;
  transition: background-color 0.3s ease;
}

.btn-acceso:hover {
  background-color: #0055aa;
}

.registro-link {
  margin-top: 1em;
  font-size: 0.9rem;
  text-align: center;
}

textarea[name="comments"] {
  height: 60px;
  width: 100%;
  resize: vertical;
  font-size: 0.9rem;
}

.header-survivor {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #003366;
  color: white;
  padding: 1em 2em;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  font-family: 'Segoe UI', sans-serif;
}

.header-left h1 {
  margin: 0;
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: 1px;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 1em;
  font-size: 1rem;
}

.usuario {
  font-weight: 500;
}

.logout {
  font-size: 0.80rem;
  padding: 0.2em 0.6em;
  background-color: #d62828;
  color: white;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 500;
  transition: background-color 0.3s ease;
}

.logout:hover {
  background-color: #a61c1c;
}

.header-survivor {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #003366;
  color: white;
  padding: 1em 2em;
  position: relative;
  overflow: hidden;
}

.header-left h1 {
  margin: 0;
  font-size: 1.8rem;
  font-weight: 700;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 1em;
  position: relative;
  z-index: 1;
}

.logout {
  font-size: 0.85rem;
  padding: 0.2em 0.6em;
  background-color: #d62828;
  color: white;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 500;
}

.logout:hover {
  background-color: #a61c1c;
}

.abreviacion-fondo {
  position: absolute;
  right: 2em;
  top: 50%;
  transform: translateY(-50%);
  font-size: 5vw;
  color: rgba(255, 255, 255, 0.08);
  font-weight: bold;
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
  z-index: 0;
}