/* Base container */
.coss-wrap {
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  border: 1px solid #e6e6e6;
  border-radius: 12px;
  padding: 12px;
  background: #fff;
  color: #111;
  line-height: 1.3;
}

/* Optional heading (team label) */
.coss-header {
  font-weight: 800;
  font-size: 1.15rem;
  text-align: center;
  margin-bottom: 10px;
}

/* -------- Horizontal (week grid) -------- */
.coss-week {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 12px; /* space between day boxes */
}

/* Day boxes (on) */
.coss-day {
  border: 1px solid #eee;
  border-radius: 12px;
  padding: 12px;
  background: #fafafa;
}
/* Blue outline for today */
.coss-day.is-today {
  border-color: #2a6df4;
  box-shadow: 0 0 0 2px rgba(42,109,244,.15) inset;
}

/* Vertical layout: add spacing between stacked day boxes */
.coss-wrap > .coss-day { 
  margin-bottom: 12px; 
}

.coss-dayname {
  font-weight: 800;
  margin-bottom: 10px;
  font-size: 1.1rem;
  text-align: center;   /* centered date header */
}

/* Events (no per-event boxes) */
.coss-events {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.coss-event,
.coss-v-item {
  display: flex;
  align-items: center; /* center time vertically */
  gap: 12px;
  padding: 6px 2px;   /* light spacing, no borders/background */
}

/* Time: bold red, centered in its lane */
.coss-time {
  font-weight: 700;
  font-size: 1rem;
  color: #d40000;
  white-space: nowrap;
  min-width: 5.2ch;
  text-align: center;
  margin: 0;
}

/* Title flexes to fill */
.coss-title {
  flex: 1;
  font-size: 1.05rem;
}

/* -------- Vertical (upcoming, grouped by day) -------- */
.coss-v-items {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 6px;
}

/* Responsive: narrow -> stack day boxes */
@media (max-width: 640px) {
  .coss-week { grid-template-columns: 1fr; }
  /* grid already has gap; no extra margins needed */
}