.forum-check-in-dialog {
  position: fixed;
  inset: 0;
  z-index: 1700;
  display: grid;
  place-items: center;
  padding: 20px;
  pointer-events: none;
}

.forum-check-in-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, .42);
  opacity: 0;
  transition: opacity .2s ease;
}

.forum-check-in-panel {
  position: relative;
  width: min(360px, 100%);
  padding: 30px 26px 24px;
  border: 1px solid rgba(255, 255, 255, .78);
  border-radius: 24px;
  background: rgba(255, 255, 255, .98);
  box-shadow: 0 28px 80px rgba(15, 23, 42, .24);
  color: #14243a;
  text-align: center;
  opacity: 0;
  transform: translateY(10px) scale(.98);
  transition: opacity .2s ease, transform .22s ease;
}

.forum-check-in-dialog.open {
  pointer-events: auto;
}

.forum-check-in-dialog.open .forum-check-in-backdrop {
  opacity: 1;
}

.forum-check-in-dialog.open .forum-check-in-panel {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.forum-check-in-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  min-height: 0 !important;
  display: grid !important;
  place-items: center;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 50% !important;
  background: #f1f5f9 !important;
  color: #2a5f7a !important;
  box-shadow: none !important;
  font-size: 22px !important;
  line-height: 1 !important;
  cursor: pointer;
}

.forum-check-in-mark {
  width: 58px;
  height: 58px;
  margin: 0 auto 15px;
  display: grid;
  place-items: center;
  border-radius: 20px;
  background: linear-gradient(135deg, #00aceb, #6fd4f4);
  color: #fff;
  box-shadow: 0 14px 30px rgba(0,172,235,.24);
  font-size: 22px;
  font-weight: 900;
}

.forum-check-in-panel h2 {
  margin: 0;
  font-size: 22px;
  line-height: 1.3;
}

.forum-check-in-panel p {
  margin: 9px auto 20px;
  max-width: 270px;
  color: #72849a;
  font-size: 13px;
  line-height: 1.65;
}

.forum-check-in-confirm {
  width: 100%;
  min-height: 46px !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 0 16px !important;
  border: 0 !important;
  border-radius: 14px !important;
  background: linear-gradient(135deg, #00aceb, #6fd4f4) !important;
  color: #fff !important;
  box-shadow: 0 12px 24px rgba(0,172,235,.22) !important;
  font-size: 15px !important;
  font-weight: 800 !important;
  line-height: 1 !important;
  cursor: pointer;
}

.forum-check-in-confirm span {
  color: inherit;
}

.forum-check-in-confirm:disabled {
  opacity: .62;
  cursor: wait;
}

.forum-check-in-later {
  min-height: 34px !important;
  margin-top: 9px;
  padding: 0 12px !important;
  border: 0 !important;
  background: transparent !important;
  color: #7b8ca4 !important;
  box-shadow: none !important;
  font-size: 12px !important;
  cursor: pointer;
}

body.forum-check-in-open {
  overflow: hidden;
}

body.mobile-page .forum-check-in-dialog {
  top: 0;
  right: auto;
  bottom: 0;
  left: 0;
  width: min(100%, 390px) !important;
  max-width: 390px !important;
  padding: 16px;
}

body.mobile-page .forum-check-in-panel {
  width: 100%;
  padding: 27px 22px 20px;
  border-radius: 22px;
}

body.mobile-page .forum-check-in-mark {
  width: 54px;
  height: 54px;
  margin-bottom: 13px;
  border-radius: 18px;
  font-size: 20px;
}

body.mobile-page .forum-check-in-panel h2 {
  font-size: 20px;
}

