.timetable-visual { position: relative; width: 100%; }
.timetable-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  width: 100%;
  margin-top: 16px;
}
.timetable-controls .oopy-slide-indicator,
.timetable-controls .timetable-dots {
  min-width: 0;
  margin: 0 auto !important;
}
.timetable-arrow {
  position: absolute;
  box-sizing: border-box;
  top: 50%;
  z-index: 2;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid #454950;
  border-radius: 50%;
  background: #1a1d22;
  color: #fff;
  cursor: pointer;
  touch-action: manipulation;
}
.timetable-arrow[data-timetable-prev] { left: -65px; }
.timetable-arrow[data-timetable-next] { right: -65px; }
.timetable-arrow svg { display: block; width: 24px; height: 24px; flex-shrink: 0; pointer-events: none; }
.timetable-arrow:hover { border-color: #a0a5af; background: #2a2e35; }
.timetable-arrow:focus-visible { outline: 2px solid #6196ff; outline-offset: 4px; }
@media (max-width: 700px) { .timetable-controls { gap: 8px; } }

@media (max-width: 900px) {
  .timetable-controls :is(.timetable-dots,.oopy-slide-indicator) {
    display: grid !important;
    grid-template-columns: repeat(6,minmax(0,1fr));
    gap: 0;
    width: 100%;
    max-width: 360px;
  }
  .timetable-controls .timetable-dots button { width: 100%; min-height: 44px; }
}

/* Reserve side space on smaller screens while keeping the requested -65px offsets. */
@media (max-width: 1200px) {
  .timetable-visual { width: calc(100% - 112px); margin-inline: 56px; }
}
