.calendar-page .app-viewport {
  height: calc(var(--app-visible-height, 1003px) * var(--app-scale, 1));
}

.calendar-shell {
  height: var(--app-visible-height, 1003px);
  min-height: 1003px;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 24%, rgba(255, 255, 255, 0.22) 0%, rgba(255, 255, 255, 0.08) 20%, rgba(0, 0, 0, 0) 43%),
    linear-gradient(180deg, #040404 0%, #000 100%);
}

.calendar-header {
  position: relative;
  z-index: 2;
  height: 80px;
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.14), transparent 44%),
    linear-gradient(180deg, #151516 0%, #050506 100%);
}

.calendar-back-hit {
  position: absolute;
  left: 24px;
  top: 30px;
  width: 28px;
  height: 28px;
  pointer-events: auto;
}

.calendar-back-hit::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 5px;
  width: 13px;
  height: 13px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(45deg);
}

.calendar-bell-link {
  position: absolute;
  left: 75px;
  top: 20px;
  width: 40px;
  height: 40px;
}

.calendar-bell,
.calendar-card-btn,
.calendar-service-btn {
  position: absolute;
  object-fit: fill;
}

.calendar-bell {
  inset: 0;
  width: 40px;
  height: 40px;
}

.calendar-title {
  position: absolute;
  left: 50%;
  top: 24px;
  margin: 0;
  transform: translateX(-50%);
  color: #fff;
  font-size: 24px;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
}

.calendar-card-btn {
  right: 48px;
  top: 20px;
  width: 40px;
  height: 40px;
}

.calendar-service-btn {
  right: 20px;
  top: 19px;
  width: 28px;
  height: 42px;
}

.calendar-balance {
  position: relative;
  z-index: 2;
  height: 41px;
  display: flex;
  align-items: center;
  padding-left: 29px;
  background: linear-gradient(90deg, #b8b8ba 0%, #e6e6e8 52%, #aaa 100%);
  color: #0d0d0d;
  font-size: 18px;
  line-height: 1;
}

.weekday-bar {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  align-items: center;
  height: 57px;
  background: linear-gradient(90deg, #b28345 0%, #fbf5a8 49%, #c58f4b 100%);
  color: #070707;
  font-size: 20px;
  line-height: 1;
  text-align: center;
}

.calendar-content {
  position: relative;
  height: calc(100% - 178px);
  padding: 22px 11px 130px;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior-y: contain;
  -webkit-overflow-scrolling: touch;
  background:
    radial-gradient(circle at 50% 7%, rgba(255, 255, 255, 0.18) 0%, rgba(255, 255, 255, 0.08) 20%, rgba(0, 0, 0, 0) 45%),
    #000;
}

.month-block + .month-block {
  margin-top: 58px;
}

.month-block h2 {
  margin: 0;
  color: #d8c348;
  font-size: 24px;
  font-weight: 500;
  line-height: 1;
}

.date-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  grid-auto-rows: 112px;
  align-items: center;
  justify-items: center;
  margin-top: 20px;
}

.date-grid time {
  display: grid;
  place-items: center;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  background: #000;
  color: #f3f3f3;
  font-size: 18px;
  font-style: normal;
  line-height: 1;
  box-shadow: 0 0 16px rgba(0, 0, 0, 0.9);
}

.date-grid .today {
  width: 35px;
  height: 35px;
  color: #000;
  background:
    radial-gradient(circle at 38% 34%, #fff7b0 0%, #ecd25c 42%, #b08525 72%, #6d4d11 100%);
  box-shadow: 0 0 9px rgba(236, 210, 92, 0.7);
}
