@font-face {
  font-family: "Roboto";
  src: url("/static/font/Roboto-Regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Roboto";
  src: url("/static/font/Roboto-Bold.ttf") format("truetype");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "Unbounded";
  src: url("/static/font/unbounded-regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-width: 100%;
  min-height: 100%;
  margin: 0;
  background: #010102;
}

body {
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
}

.schedule-page {
  position: relative;
  width: 100%;
  height: max(
    100vh,
    calc(
      var(--schedule-artboard-height, 1080px) *
      var(--browser-layout-scale, 1)
    )
  );
  min-height: 100vh;
  overflow: hidden;
  background: #010102;
}

.schedule-artboard {
  position: absolute;
  left: 50%;
  top: 0;
  width: 1920px;
  height: var(--schedule-artboard-height, 1080px);
  overflow: hidden;
  background: #010102;
  transform: translateX(-50%) scale(calc(var(--browser-layout-width, 100vw) / 1920px));
  transform-origin: top center;
}

.schedule-background {
  position: absolute;
  left: -1664px;
  top: -426px;
  width: 4988px;
  height: 2554px;
  overflow: hidden;
  contain: paint;
  pointer-events: none;
}

.schedule-glow {
  position: absolute;
  width: 2593px;
  height: 1861px;
  background: radial-gradient(
    50% 50% at 50% 50%,
    rgba(21, 88, 222, 0.4) 0%,
    rgba(0, 0, 0, 0) 100%
  );
  filter: blur(312.85px);
}

.schedule-glow-left {
  left: 0;
  top: 0;
}

.schedule-glow-right {
  left: 2395px;
  top: 693px;
}

.schedule-layout {
  position: absolute;
  z-index: 2;
  left: 140px;
  top: 163px;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 1640px;
  height: auto;
  padding: 0;
  gap: 24px;
}

.schedule-controls {
  display: flex;
  flex: none;
  flex-direction: column;
  align-items: center;
  width: 726px;
  height: 132px;
  gap: 24px;
}

.schedule-title-control {
  display: flex;
  flex: none;
  flex-direction: row;
  align-items: flex-end;
  width: 726px;
  height: 49px;
  gap: 21px;
}

.schedule-title-control button,
.schedule-title-control img {
  display: block;
  flex: none;
  width: 48px;
  height: 48px;
}

.schedule-title-control button {
  cursor: pointer;
}

.schedule-title-control button:disabled {
  pointer-events: none;
  opacity: 0.28;
  cursor: default;
}

.schedule-title-control img {
  object-fit: contain;
}

.schedule-title-control h1 {
  display: flex;
  flex: none;
  align-items: center;
  width: 588px;
  height: 49px;
  margin: 0;
  overflow: hidden;
  font-family: "Roboto", sans-serif;
  font-size: 60px;
  font-style: normal;
  font-weight: 400;
  line-height: 49px;
  color: #ffffff;
  white-space: nowrap;
}

.schedule-halls {
  display: flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: auto;
  max-width: 726px;
  height: auto;
  min-height: 59px;
  padding: 10px;
  margin: -10px;
  gap: 16px;
  overflow: visible;
}

.schedule-halls button {
  display: flex;
  flex: none;
  align-items: center;
  justify-content: center;
  height: 59px;
  padding: 16px 32px;
  border: 2px solid rgba(255, 255, 255, 0.24);
  border-radius: 16px;
  font-family: "Unbounded", sans-serif;
  font-size: 22px;
  font-weight: 400;
  line-height: 27px;
  color: #ffffff;
  cursor: pointer;
  white-space: nowrap;
}

.schedule-halls button.is-active {
  border: 0;
  padding: 18px 34px;
  background: linear-gradient(265.5deg, #1962ff 4.9%, #004bed 89.78%);
}

.schedule-table-scroll {
  position: relative;
  flex: none;
  width: 1640px;
  height: var(--schedule-table-height, 734.98px);
  overflow-x: hidden;
  overflow-y: hidden;
  border-radius: 26.3278px;
  background:
    radial-gradient(
      63.44% 55.76% at 3.88% 38.68%,
      rgba(19, 93, 251, 0.1024) 0%,
      rgba(11, 55, 149, 0) 100%
    ),
    radial-gradient(
      60.2% 52.91% at 80.72% 87.19%,
      rgba(19, 93, 251, 0.1024) 0%,
      rgba(11, 55, 149, 0) 100%
  );
  scrollbar-width: none;
}

.schedule-table-scroll::-webkit-scrollbar {
  display: none;
}

.schedule-scrollbar {
  display: none;
}

.schedule-table {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 1640px;
  min-height: 0;
  gap: 1.1px;
}

.schedule-table-body {
  display: flex;
  flex: none;
  flex-direction: column;
  align-items: flex-start;
  width: 1640px;
  gap: 1.1px;
}

.schedule-row {
  display: grid;
  flex: none;
  grid-template-columns: repeat(7, 1fr);
  width: 1640px;
  height: 162.35px;
  gap: 1.1px;
}

.schedule-row-header {
  height: 81.18px;
}

.schedule-cell {
  display: flex;
  min-width: 0;
  height: 162.35px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0 8.77592px;
  gap: 10.97px;
  border: 0;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.05);
  background: radial-gradient(
    60.2% 52.91% at 80.72% 87.19%,
    rgba(19, 93, 251, 0.0128) 0%,
    rgba(11, 55, 149, 0) 100%
  );
  font-family: "Roboto", sans-serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 19px;
  text-align: center;
  color: #ffffff;
}

.schedule-row-header .schedule-cell {
  height: 81.18px;
  padding: 0;
  border: 0;
  box-shadow: none;
  background: rgba(255, 255, 255, 0.05);
  font-size: 20px;
  line-height: 36px;
}

.schedule-class-info {
  display: flex;
  min-height: 38px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  align-self: stretch;
}

.schedule-team-name,
.schedule-style-age {
  display: block;
  max-width: 100%;
  white-space: pre-line;
}

.schedule-team-name {
  color: #ffffff;
}

.schedule-style-age {
  color: rgba(255, 255, 255, 0.5);
}

.schedule-time {
  display: flex;
  flex: none;
  min-width: 105px;
  height: 27px;
  align-items: center;
  justify-content: center;
  padding: 4px 8px;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.1);
  white-space: nowrap;
}

.schedule-cell-empty {
  background: transparent;
}

.schedule-empty-message {
  position: sticky;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 162.35px;
  padding: 24px;
  border: 0;
  box-shadow: none;
  background: transparent;
  font-family: "Roboto", sans-serif;
  font-size: 20px;
  font-weight: 700;
  text-align: center;
  color: rgba(255, 255, 255, 0.45);
}

@media (min-width: 768px) and (max-width: 1199px) {
  .schedule-page {
    height: auto;
    min-height: 100dvh;
    overflow-x: clip;
    overflow-y: visible;
  }

  .schedule-artboard {
    position: relative;
    left: 0;
    width: 100%;
    height: auto;
    min-height: 100dvh;
    overflow: visible;
    padding: 122px 32px 44px;
    background: #010102;
    transform: none;
  }

  .schedule-background {
    inset: 0;
    width: 100%;
    height: 100%;
  }

  .schedule-glow {
    width: 1100px;
    height: 1000px;
    filter: blur(180px);
  }

  .schedule-glow-left {
    left: -700px;
    top: -320px;
  }

  .schedule-glow-right {
    left: auto;
    right: -700px;
    top: 42%;
  }

  .schedule-layout {
    position: relative;
    left: auto;
    top: auto;
    width: 100%;
    height: auto;
    gap: 28px;
  }

  .schedule-controls {
    width: min(726px, 100%);
    height: auto;
    gap: 22px;
  }

  .schedule-title-control {
    width: 100%;
    height: auto;
    align-items: center;
    justify-content: center;
    gap: 16px;
  }

  .schedule-title-control button,
  .schedule-title-control img {
    width: 41.44px;
    height: 41.44px;
  }

  .schedule-title-control h1 {
    width: auto;
    max-width: calc(100% - 106.88px);
    height: auto;
    justify-content: center;
    font-size: clamp(38px, 5.2vw, 54px);
    line-height: 1.12;
    text-align: center;
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .schedule-halls {
    width: 100%;
    max-width: 100%;
    height: auto;
    min-height: 0;
    justify-content: safe center;
    flex-wrap: wrap;
    gap: 12px;
    padding: 8px;
    margin: -8px;
    overflow: visible;
    touch-action: manipulation;
    scrollbar-width: none;
  }

  .schedule-halls::-webkit-scrollbar {
    display: none;
  }

  .schedule-halls button {
    flex: 1 1 180px;
    min-width: 0;
    height: 54px;
    padding: 13px 26px;
    border-radius: 14px;
    font-size: 19px;
    line-height: 24px;
    white-space: normal;
  }

  .schedule-halls button.is-active {
    padding: 15px 28px;
  }

  .schedule-table-scroll {
    width: 100%;
    height: var(--schedule-tablet-table-height, 665px);
    overflow-x: auto;
    overflow-y: hidden;
    border-radius: 20px;
    touch-action: pan-x pan-y;
    scrollbar-width: none;
  }

  .schedule-table,
  .schedule-table-body {
    width: 1180px;
  }

  .schedule-table {
    min-height: 0;
  }

  .schedule-row {
    width: 1180px;
    height: 132px;
  }

  .schedule-row-header {
    height: 64px;
  }

  .schedule-cell {
    height: 132px;
    padding: 0 7px;
    gap: 9px;
    font-size: 15px;
    line-height: 18px;
  }

  .schedule-row-header .schedule-cell {
    height: 64px;
    font-size: 18px;
    line-height: 30px;
  }

  .schedule-class-info {
    min-height: 36px;
  }

  .schedule-time {
    min-width: 98px;
    height: 26px;
    font-size: 14px;
  }

  .schedule-empty-message {
    position: sticky;
    left: 0;
    width: calc(100vw - 64px);
    min-height: 132px;
    font-size: 18px;
  }

  .schedule-scrollbar {
    position: relative;
    display: block;
    width: 100%;
    height: 4px;
    margin-top: -22px;
    overflow: hidden;
    border-radius: 999px;
    opacity: 0;
    transition: opacity 180ms ease;
    pointer-events: none;
  }

  .schedule-scrollbar span {
    position: absolute;
    left: 0;
    top: 0;
    display: block;
    width: 40%;
    height: 4px;
    border-radius: 999px;
    background: #0051ff;
    transform: translateX(0);
  }

  .schedule-scrollbar.is-visible {
    opacity: 1;
  }

  .schedule-scrollbar[hidden] {
    display: none;
  }
}

@media (min-width: 1200px) and (max-width: 1199px) {
  .schedule-page {
    height: auto;
    min-height: 0;
    overflow-x: clip;
    overflow-y: visible;
  }

  .schedule-artboard {
    position: relative;
    left: 0;
    width: 100%;
    height: auto;
    min-height: 0;
    overflow: visible;
    padding: 112px clamp(44px, 6.2vw, 120px) 80px;
    background: #010102;
    transform: none;
  }

  .schedule-background {
    inset: 0;
    width: 100%;
    height: 100%;
  }

  .schedule-glow {
    width: 1500px;
    height: 1300px;
    filter: blur(220px);
  }

  .schedule-glow-left {
    left: -900px;
    top: -380px;
  }

  .schedule-glow-right {
    left: auto;
    right: -900px;
    top: 48%;
  }

  .schedule-layout {
    position: relative;
    left: auto;
    top: auto;
    width: 100%;
    height: auto;
    gap: clamp(24px, 2vw, 32px);
  }

  .schedule-controls {
    width: min(726px, 100%);
    height: auto;
    gap: 22px;
  }

  .schedule-title-control {
    width: 100%;
    height: auto;
    align-items: center;
    justify-content: center;
  }

  .schedule-title-control h1 {
    width: auto;
    max-width: calc(100% - 138px);
    height: auto;
    justify-content: center;
    font-size: clamp(48px, 3.8vw, 60px);
    line-height: 1.08;
    text-align: center;
    white-space: normal;
  }

  .schedule-halls {
    width: 100%;
    max-width: 100%;
    height: auto;
    min-height: 0;
    justify-content: safe center;
    flex-wrap: wrap;
    padding: 8px;
    margin: -8px;
    overflow: visible;
    touch-action: manipulation;
    scrollbar-width: none;
  }

  .schedule-halls::-webkit-scrollbar {
    display: none;
  }

  .schedule-table-scroll {
    width: 100%;
    height: var(--schedule-table-height, 734.98px);
    border-radius: 24px;
  }

  .schedule-table,
  .schedule-table-body,
  .schedule-row {
    width: 100%;
  }

  .schedule-row-header {
    height: 72px;
  }

  .schedule-row-header .schedule-cell {
    height: 72px;
  }

  .schedule-cell {
    padding: 0 clamp(6px, 0.6vw, 10px);
  }
}

@media (max-width: 767px) {
  .schedule-page {
    height: auto;
    min-height: 100dvh;
    overflow-x: clip;
    overflow-y: visible;
  }

  .schedule-artboard {
    position: relative;
    left: 0;
    width: 100%;
    height: auto;
    min-height: 100dvh;
    overflow: visible;
    padding: 86px 12px 28px;
    background: #010102;
    transform: none;
  }

  .schedule-background {
    inset: 0;
    width: 100%;
    height: 100%;
  }

  .schedule-glow {
    width: 900px;
    height: 900px;
    opacity: 0.58;
    filter: blur(170px);
  }

  .schedule-glow-left {
    left: -620px;
    top: -260px;
  }

  .schedule-glow-right {
    left: auto;
    right: -620px;
    top: 52%;
  }

  .schedule-layout {
    position: relative;
    left: auto;
    top: auto;
    width: 100%;
    height: auto;
    gap: 20px;
  }

  .schedule-controls {
    width: 100%;
    height: auto;
    gap: 18px;
  }

  .schedule-title-control {
    width: 100%;
    height: auto;
    align-items: center;
    justify-content: center;
    gap: 12px;
  }

  .schedule-title-control button,
  .schedule-title-control img {
    width: 41.44px;
    height: 41.44px;
  }

  .schedule-title-control h1 {
    width: min(260px, calc(100% - 106.88px));
    height: auto;
    justify-content: center;
    font-size: clamp(27px, 8vw, 36px);
    line-height: 1.1;
    text-align: center;
    white-space: normal;
  }

  .schedule-halls {
    width: 100%;
    max-width: 100%;
    height: auto;
    min-height: 0;
    justify-content: safe center;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 132px), 1fr));
    gap: 10px;
    padding: 8px;
    margin: -8px;
    overflow: visible;
    scrollbar-width: none;
  }

  .schedule-halls::-webkit-scrollbar {
    display: none;
  }

  .schedule-halls button {
    width: 100%;
    min-width: 0;
    min-height: 48px;
    height: auto;
    padding: 10px 12px;
    border-radius: 13px;
    font-size: clamp(14px, 3.9vw, 16px);
    line-height: 1.18;
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .schedule-halls button.is-active {
    padding: 12px 14px;
  }

  .schedule-table-scroll {
    width: 100%;
    height: var(--schedule-mobile-table-height, 180px);
    max-height: none;
    overflow-x: auto;
    overflow-y: hidden;
    border-radius: 16px;
    touch-action: pan-x pan-y;
    scrollbar-width: none;
  }

  .schedule-table,
  .schedule-table-body {
    width: 980px;
  }

  .schedule-table {
    min-height: 0;
  }

  .schedule-row {
    width: 980px;
    height: 120px;
  }

  .schedule-row-header {
    height: 60px;
  }

  .schedule-cell {
    height: 120px;
    padding: 0 6px;
    font-size: 14px;
    line-height: 17px;
  }

  .schedule-row-header .schedule-cell {
    height: 60px;
    font-size: 17px;
  }

  .schedule-class-info {
    min-height: 34px;
  }

  .schedule-time {
    min-width: 94px;
    height: 25px;
    font-size: 14px;
  }

  .schedule-empty-message {
    width: calc(100vw - 24px);
    min-height: 120px;
    font-size: 16px;
  }

  .schedule-scrollbar {
    position: relative;
    display: block;
    width: 100%;
    height: 4px;
    margin-top: -20px;
    overflow: hidden;
    border-radius: 999px;
    opacity: 0;
    transition: opacity 180ms ease;
    pointer-events: none;
  }

  .schedule-scrollbar span {
    position: absolute;
    left: 0;
    top: 0;
    display: block;
    width: 40%;
    height: 4px;
    border-radius: 999px;
    background: #0051ff;
    transform: translateX(0);
  }

  .schedule-scrollbar.is-visible {
    opacity: 1;
  }

  .schedule-scrollbar[hidden] {
    display: none;
  }
}
