

/* ---- The strips ----
   The week is one row that wraps; the year is a block of months, the way
   a wall calendar shows it. Both stay readable at 320px without any
   sideways scrolling. */
.week-strip,
.year-strip {
  display: grid;
  gap: 0.4rem;
  width: 100%;
}
.week-strip { grid-template-columns: repeat(2, 1fr); }
.year-strip { grid-template-columns: repeat(2, 1fr); }

@media (min-width: 480px) {
  .week-strip { grid-template-columns: repeat(4, 1fr); }
  .year-strip { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 720px) {
  .week-strip { grid-template-columns: repeat(7, 1fr); }
  .year-strip { grid-template-columns: repeat(4, 1fr); }
}

.cal-cell {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.15rem;
  min-height: 3.2rem;
  padding: 0.5rem 0.3rem;
  border: 2px solid var(--color-borde);
  border-radius: var(--radio, 12px);
  background: var(--color-superficie);
  font-size: 1rem;
  line-height: 1.2;
  text-align: center;
  overflow-wrap: anywhere;
}

/* The weekend is marked so the shape of the week is visible, not only
   its names. */
.is-weekend {
  background: var(--color-fondo);
  font-style: italic;
}

/* The day being asked about. It carries an arrow as well as the border,
   so it is never colour alone (WCAG 1.4.1). */
.is-ref {
  border-color: var(--color-acento, var(--color-texto));
  border-width: 3px;
  font-weight: 700;
}
.cell-mark { font-size: 1.1rem; }

/* The hole to fill: a dashed outline plus a question mark. */
.is-gap {
  border-style: dashed;
  border-width: 3px;
  font-weight: 700;
}
.is-gap .cell-name { font-size: 1.6rem; }

.cell-name { display: block; }

/* ---- One month or one season, shown big ---- */
.month-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  min-height: 120px;
}
.month-big {
  font-size: 2rem;
  font-weight: 700;
  text-align: center;
  overflow-wrap: anywhere;
}
.season-big { font-size: 3.5rem; line-height: 1.1; }
.season-icon { font-size: 2rem; line-height: 1.1; }
.season-name { display: block; }

/* The four seasons as a strip: the count is on screen. */
.season-strip {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.4rem;
  width: 100%;
}
@media (min-width: 480px) {
  .season-strip { grid-template-columns: repeat(4, 1fr); }
}
.unit-name { display: block; }

.emoji-large { font-size: 96px; }
.transfer { margin: 8px auto 24px; font-size: 1.1rem; color: var(--color-texto-suave, #555); max-width: 480px; }