body.word-checkin-notifications-page {
  display: flex;
  flex-direction: column;
  min-height: 100dvh;
  background:
    radial-gradient(circle at 88% 8%, rgba(255, 220, 88, 0.22) 0 64px, transparent 65px),
    linear-gradient(180deg, #dff4ff 0, #f7fbff 280px, #eef6ff 100%);
}

.word-checkin-notif-nav {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: calc(44px + max(10px, env(safe-area-inset-top)));
  padding: max(10px, env(safe-area-inset-top)) 12px 10px;
  border-bottom: 1px solid rgba(79, 124, 178, 0.12);
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(16px);
}

.word-checkin-notif-nav-back {
  position: relative;
  z-index: 1;
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  min-width: 44px;
}

.word-checkin-notif-nav-back .is-desktop-back {
  display: none;
}

@media (min-width: 761px) {
  .word-checkin-notif-nav-back .is-mobile-back {
    display: none;
  }

  .word-checkin-notif-nav-back .is-desktop-back {
    display: grid;
  }
}

.word-checkin-notif-nav-btn,
.word-checkin-notif-nav-action {
  display: grid;
  place-items: center;
  min-height: 40px;
  padding: 0 10px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: #2879bd;
  font-size: 13px;
  font-weight: 900;
  text-decoration: none;
}

.word-checkin-notif-nav-action {
  position: relative;
  z-index: 1;
  flex: 0 0 auto;
  min-width: 44px;
  justify-self: end;
}

.word-checkin-notif-nav-action[hidden] {
  display: block !important;
  visibility: hidden;
  min-width: 44px;
  pointer-events: none;
}

.word-checkin-notif-nav-title {
  position: absolute;
  left: 50%;
  max-width: calc(100% - 120px);
  margin: 0;
  color: #1d2129;
  font-size: 17px;
  font-weight: 900;
  line-height: 1.2;
  text-align: center;
  transform: translateX(-50%);
  pointer-events: none;
}

.word-checkin-notif-main {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  width: min(100%, 640px);
  min-height: 0;
  margin: 0 auto;
  padding: 12px 16px calc(96px + env(safe-area-inset-bottom));
}

.word-checkin-notif-list {
  display: grid;
  flex: 1 1 auto;
  gap: 10px;
  align-content: start;
  min-height: 0;
}

.word-checkin-notif-list:has(> .word-checkin-notif-empty),
.word-checkin-notif-list:has(> .word-checkin-notif-loading) {
  align-content: center;
  justify-items: center;
}

.word-checkin-notif-loading,
.word-checkin-notif-empty {
  width: min(100%, 360px);
  padding: 28px 16px;
  border: 1px dashed rgba(79, 124, 178, 0.18);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
  color: #59718f;
  font-size: 14px;
  font-weight: 800;
  text-align: center;
}

.word-checkin-notif-item {
  display: grid;
  gap: 6px;
  padding: 14px 16px;
  border: 1px solid rgba(79, 124, 178, 0.12);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 10px 22px rgba(45, 93, 143, 0.08);
  color: inherit;
  text-align: left;
  text-decoration: none;
}

.word-checkin-notif-item.is-unread {
  border-color: rgba(68, 145, 216, 0.24);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(233, 246, 255, 0.92));
}

.word-checkin-notif-item-head {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: space-between;
}

.word-checkin-notif-item-head strong {
  color: #1d2129;
  font-size: 15px;
  font-weight: 900;
}

.word-checkin-notif-item-head time {
  flex: none;
  color: #86909c;
  font-size: 11px;
  font-weight: 800;
}

.word-checkin-notif-item p {
  margin: 0;
  color: #59718f;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.45;
}

body.word-checkin-mine-page .word-checkin-mine-stats-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.word-checkin-notif-button {
  position: relative;
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, #fff5d6 0%, #ffd166 100%);
  color: #1d2129;
  box-shadow: 0 8px 18px rgba(29, 33, 41, 0.12);
  text-decoration: none;
}

.word-checkin-notif-badge {
  position: absolute;
  top: 5px;
  right: 5px;
  width: 10px;
  height: 10px;
  padding: 0;
  border: 2px solid #fff;
  border-radius: 999px;
  background: #ff3b30;
  color: transparent;
  font-size: 0;
  line-height: 0;
  box-shadow: 0 0 0 1px rgba(255, 59, 48, 0.18);
}

.word-checkin-notif-badge[hidden] {
  display: none;
}

@media (max-width: 760px) {
  body.word-checkin-page:not(.word-checkin-mine-page) .word-checkin-stat-card-actions .word-checkin-notif-button {
    display: none;
  }
}
