/* SkyFit v19 — larger readable schedule text */
.schedule-difficulty-legend {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 5px 10px;
  margin: 0 0 14px;
  padding: 12px 16px;
  border: 1px solid rgba(9, 118, 197, .18);
  border-radius: 12px;
  color: #244a68;
  background: linear-gradient(135deg, rgba(230, 246, 255, .92), rgba(255, 255, 255, .96));
  box-shadow: 0 6px 16px rgba(6, 70, 129, .06);
  font-size: 14px;
  line-height: 1.45;
}
.schedule-difficulty-legend strong {
  color: #062754;
  font-weight: 800;
}
.matrix-event-difficulty {
  display: block;
  margin-top: 2px;
  color: #0976c5;
  font-size: .9em;
  font-weight: 800;
  letter-spacing: .06em;
  white-space: nowrap;
}
.matrix-event {
  align-items: center;
  text-align: center;
}
.matrix-event strong {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  text-align: center;
  overflow-wrap: anywhere;
}
.matrix-event-title {
  display: block;
}
.matrix-event-jiu-jitsu strong {
  overflow-wrap: normal;
  white-space: nowrap;
}
@media (min-width: 900px) {
  .schedule-matrix {
    min-width: 1500px !important;
  }
  .schedule-matrix-v11 tbody tr {
    height: 104px !important;
  }
  .matrix-time-head {
    width: 116px !important;
    font-size: 15px !important;
  }
  .matrix-time {
    width: 116px !important;
    padding: 12px 8px !important;
  }
  .matrix-time strong {
    font-size: 17px !important;
  }
  .matrix-time span {
    font-size: 12px !important;
  }
  .matrix-day-head {
    font-size: 16px !important;
  }
  .matrix-hall-head {
    font-size: 13px !important;
  }
  .matrix-cell {
    height: 104px !important;
    padding: 7px !important;
  }
  .matrix-event {
    min-height: 78px !important;
    padding: 10px 10px !important;
    gap: 6px !important;
  }
  .matrix-event strong {
    font-size: 14px !important;
    line-height: 1.24 !important;
    overflow-wrap: anywhere !important;
  }
  .matrix-event small {
    font-size: 12.5px !important;
    line-height: 1.22 !important;
  }
  .queens-event small {
    font-size: 11.5px !important;
    line-height: 1.24 !important;
  }
  .matrix-cell-queens[rowspan="2"] .queens-event small {
    font-size: 11.5px !important;
  }
}
@media (max-width: 700px) {
  .schedule-difficulty-legend {
    gap: 4px 7px;
    margin-bottom: 11px;
    padding: 10px 12px;
  }
}
@media (min-width: 1500px) {
  .schedule-matrix {
    min-width: 1580px !important;
  }
  .matrix-event strong {
    font-size: 14.6px !important;
  }
  .matrix-event small {
    font-size: 13px !important;
  }
}
