.shade {
  position: fixed;
  z-index: 2100;
  inset: 0;
  background: #0008;
  opacity: 0;
  pointer-events: none;
  transition: .22s;
}

.shade.open {
  opacity: 1;
  pointer-events: auto;
}

.sheet {
  position: fixed;
  z-index: 2101;
  top: 0;
  right: 0;
  width: min(470px,100%);
  height: 100%;
  padding: 20px;
  overflow: auto;
  background: #181a1e;
  box-shadow: -20px 0 60px #0008;
  transform: translateX(105%);
  transition: .28s;
}

.sheet.open {
  transform: none;
}

.head {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  position: sticky;
  top: -20px;
  z-index: 2;
  margin: -20px -20px 14px;
  padding: 22px 20px 14px;
  background: #181a1ef5;
}

.title {
  flex: 1;
}

.title h2 {
  margin: 0 0 5px;
  font-size: 22px;
}

.title p {
  margin: 0;
  color: #a7aab0;
  font-size: 13px;
}

.close {
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 13px;
  color: #fff;
  background: #2a2d33;
  font-size: 25px;
  cursor: pointer;
}

.close:focus-visible {
  outline: 2px solid #ff8d5a;
  outline-offset: 2px;
}

@media (hover:hover) {
  .close:hover {
    background-color: #353941;
  }
}

.slot {
  min-height: 220px;
  display: grid;
  place-items: center;
}

.telegram-status {
  width: min(100%, 420px);
  padding: 36px 20px;
  border: 1px solid #ffffff14;
  border-radius: 16px;
  color: #aeb3bd;
  text-align: center;
  background: #1b1d21;
}

.telegram-status.failed {
  color: #d6d8dd;
}

.tg {
  display: block;
  margin-top: 12px;
  padding: 13px;
  border-radius: 14px;
  text-align: center;
  text-decoration: none;
  color: #fff;
  font-weight: 750;
  background: #2aabee;
}
