.notifications-page {
  min-height: 100vh;
  padding: 64px 0 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 1040px;
  margin: 0 auto;
}

.notifications-header {
  position: fixed;
  top: env(safe-area-inset-top);
  left: 0;
  right: 0;
  height: 64px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  padding: 8px 16px;
  z-index: 25;
  box-sizing: border-box;
  transition: opacity 180ms ease;
}

.notifications-back {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #fff;
  border: none;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.notifications-back img {
  width: 24px;
  height: 24px;
}

.notifications-title {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  font-size: 14px;
  font-weight: 600;
  color: #1b1b1b;
  text-align: center;
}

.notifications-card {
  background: #fff;
  border-radius: 24px 24px 0 0;
  padding: 28px 16px calc(24px + env(safe-area-inset-bottom));
  display: flex;
  flex-direction: column;
  width: 100%;
  flex: 1;
  min-height: 0;
}

.notifications-card--loading {
  pointer-events: none;
}

.notifications-card__title {
  margin: 0 auto;
  max-width: 320px;
  text-align: center;
  font-size: 24px;
  line-height: 1.08;
  font-weight: 600;
  color: #1b1b1b;
}

.notifications-card__subtitle {
  margin: 8px auto 0;
  max-width: 320px;
  text-align: center;
  font-size: 14px;
  line-height: 1.35;
  font-weight: 600;
  color: #1b1b1b;
}

.notifications-telegram-btn {
  margin-top: 24px;
  width: 100%;
  min-height: 48px;
  border-radius: 16px;
  font-family: "Manrope", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 14px;
  line-height: 1.2;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  -webkit-touch-callout: none;
}

.notifications-telegram-btn__icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  display: inline-block;
  background-color: currentColor;
  mask-repeat: no-repeat;
  mask-position: center;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
  -webkit-mask-size: contain;
}

.notifications-telegram-btn__icon--telegram {
  mask-image: url("../images/icons/telegram_logo.svg");
  -webkit-mask-image: url("../images/icons/telegram_logo.svg");
}

.notifications-telegram-btn__icon--notify-off {
  mask-image: url("../images/icons/notify-off.svg");
  -webkit-mask-image: url("../images/icons/notify-off.svg");
}

.notifications-telegram-btn--subscribe {
  border: 0;
  background: #2f9fd9;
  color: #fff;
}

.notifications-telegram-btn--unsubscribe {
  border: 1px solid #efc6c6;
  background: #fff;
  color: #d51616;
}
