.schedule-body {
  min-height: 100dvh;
  overflow-x: hidden;
  overflow-y: auto;
  background: #07080b;
}

.schedule-page {
  min-height: 100dvh;
  margin-left: 80px;
  padding: 14px 72px 78px;
  display: flex;
  flex-direction: column;
  color: #fff;
  background:
    radial-gradient(circle at 55% 8%, rgba(41, 35, 55, 0.07), transparent 35%),
    #07080b;
}

.schedule-header {
  width: 100%;
  height: 65px;
  padding: 11px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #111116;
  border: 2px solid #050507;
  outline: 1px solid #2e2f36;
  box-shadow: inset 0 2px rgba(255, 255, 255, 0.025), 0 3px #030305;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 11px;
}

.breadcrumb img {
  width: 28px;
  height: 28px;
  image-rendering: pixelated;
}

.breadcrumb-home {
  color: #a1a1aa;
  font-size: 12px;
}

.breadcrumb-home b {
  margin-left: 7px;
  color: #fff;
}

.breadcrumb strong {
  color: #fac800;
  font-family: "Minercraftory", sans-serif;
  font-size: 19px;
  letter-spacing: 0.025em;
  text-shadow: 2px 2px #000;
}

.schedule-main {
  width: 100%;
  flex: 1;
  padding-top: 59px;
}

.schedule-main > h1 {
  margin: 0 0 29px;
  color: #fff;
  font-family: "Minercraftory", sans-serif;
  font-size: 30px;
  line-height: 1;
  letter-spacing: 0.025em;
  text-shadow: 3px 3px #18181b;
}

.schedule-grid {
  display: grid;
  grid-template-columns: minmax(530px, 1.42fr) minmax(410px, 1fr);
  align-items: start;
  gap: 26px;
}

.schedule-empty {
  min-height: 250px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #a1a1aa;
  text-align: center;
  background: #17171a;
}

.schedule-empty img {
  width: 48px;
  height: 48px;
  margin-bottom: 8px;
  opacity: 0.62;
  image-rendering: pixelated;
  filter: grayscale(0.35);
}

.schedule-empty h2 {
  margin: 0;
  color: #ffe000;
  font-family: "Minercraftory", sans-serif;
  font-size: 20px;
  letter-spacing: 0.035em;
  text-shadow: 2px 2px #000;
}

.schedule-empty p {
  margin: 0;
  font-size: 11px;
}

.event-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.event-card {
  position: relative;
  width: 100%;
  min-height: 110px;
  padding: 17px 16px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  color: #fff;
  text-align: left;
  cursor: pointer;
  background: #17171a;
  border: 2px solid #050507;
  outline: 1px solid #37383d;
  box-shadow: inset 0 2px rgba(255, 255, 255, 0.05), 0 3px #030305;
  transition: background 120ms ease, filter 120ms ease;
}

.event-card:hover {
  filter: brightness(1.1);
}

.event-card.active {
  background: #303033;
  border-left: 4px solid #ffdf00;
  padding-left: 14px;
}

.event-card-main {
  min-width: 0;
}

.event-meta {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #ffe000;
  font-size: 11px;
  text-transform: uppercase;
  white-space: nowrap;
}

.event-meta em {
  margin-left: 2px;
  padding: 4px 8px 3px;
  color: #fff;
  font-size: 9px;
  font-style: normal;
  background: #3e3e43;
  border: 2px solid #0c0c0e;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.22);
}

.event-card h2 {
  margin: 10px 0 7px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.025em;
  text-shadow: 2px 2px #000;
}

.event-card small {
  color: #c3c3c9;
  font-size: 9px;
}

.event-state {
  flex: 0 0 auto;
  padding: 6px 11px 5px;
  color: #ffdf00;
  font-size: 9px;
  background: #3a3213;
  border: 2px solid #030303;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.13), 0 0 0 1px #51491b;
}

.event-state.ended {
  color: #f4d92d;
  background: #2e2914;
}

.event-details {
  min-height: 334px;
  padding: 25px 24px 24px;
  background: #1f1f22;
  border: 2px solid #050507;
  outline: 1px solid #393a40;
  box-shadow: inset 0 2px rgba(255, 255, 255, 0.04), 0 3px #030305;
}

.details-kicker-row {
  min-height: 28px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  color: #a1a1aa;
  font-size: 9px;
}

.details-kicker-row b {
  padding: 5px 8px 4px;
  color: #ff6b70;
  font-size: 8px;
  font-weight: 400;
  white-space: nowrap;
  background: rgba(127, 12, 18, 0.32);
  border: 1px solid #ba111c;
}

.event-details h2 {
  margin: 4px 0 8px;
  color: #ffe000;
  font-family: "Minercraftory", sans-serif;
  font-size: 24px;
  line-height: 1.1;
  letter-spacing: 0.02em;
  text-shadow: 2px 2px #000;
}

.detail-date {
  margin-bottom: 8px;
  color: #ffe000;
  font-size: 11px;
  white-space: nowrap;
}

.detail-status {
  color: #d4d4d8;
  font-size: 11px;
}

.detail-status strong {
  color: #ff555d;
  font-weight: 400;
}

.detail-rule {
  height: 2px;
  margin: 21px 0 21px;
  background: #2b2b2f;
}

.event-details dl {
  margin: 0 0 27px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.event-details dl > div {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.event-details dt {
  color: #a1a1aa;
  font-size: 11px;
}

.event-details dd {
  margin: 0;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  text-align: right;
}

.event-details dl > div:first-child dd {
  color: #ffe000;
}

.register-button {
  width: 100%;
  min-height: 55px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-family: "Minercraftory", sans-serif;
  font-size: 15px;
  letter-spacing: 0.04em;
}

.register-button.disabled {
  pointer-events: none;
  filter: grayscale(0.5) brightness(0.65);
}

.schedule-footer {
  position: absolute;
  left: 80px;
  right: 0;
  bottom: 0;
  height: 66px;
  padding-top: 26px;
  color: #777780;
  font-size: 10px;
  text-align: center;
  border-top: 1px solid #1d1d21;
}

@media (max-width: 1150px) {
  .schedule-page {
    padding-inline: 40px;
  }

  .schedule-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1023px) {
  .schedule-page {
    margin-left: 0;
    padding: 14px 17px 82px;
  }

  .schedule-header {
    padding-left: 69px;
  }

  .schedule-footer {
    left: 0;
  }
}

@media (max-width: 640px) {
  .schedule-page {
    min-width: 500px;
    padding: 14px 17px 82px;
  }

  .schedule-header {
    height: 65px;
    padding-left: 69px;
  }

  .breadcrumb {
    gap: 12px;
  }

  .breadcrumb img {
    width: 28px;
    height: 28px;
  }

  .breadcrumb-home,
  .schedule-header .server-status {
    display: none;
  }

  .breadcrumb strong {
    font-size: 23px;
  }

  .schedule-main {
    padding-top: 42px;
  }

  .schedule-main > h1 {
    margin-bottom: 34px;
    font-size: 24px;
  }

  .schedule-grid {
    gap: 27px;
  }

  .event-list {
    gap: 14px;
  }

  .event-card {
    min-height: 105px;
    padding-top: 16px;
  }

  .event-details {
    min-height: 317px;
    padding: 20px 20px;
  }

  .event-details dl {
    margin-bottom: 24px;
  }

  .register-button {
    min-height: 50px;
  }

  .event-details h2 {
    margin-top: 4px;
    font-size: 23px;
  }

  .details-kicker-row {
    min-height: 27px;
  }

  .schedule-footer {
    width: 500px;
    padding-left: 12px;
    text-align: left;
    white-space: nowrap;
    overflow: hidden;
  }
}
