.notifications-wrap {
  padding-top: 30px;
  padding-bottom: 60px;
  max-width: 640px;
}

.notifications-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}
.notifications-header-row h1 {
  font-family: var(--display);
  text-transform: uppercase;
  font-size: 30px;
  letter-spacing: -0.5px;
  margin: 0;
}
.notifications-mark-all-btn {
  font-family: var(--body);
  font-weight: 700;
  font-size: 13px;
  color: var(--blue);
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}
.notifications-mark-all-btn:hover { text-decoration: underline; }
.notifications-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 44px;
  color: var(--ink-soft);
  font: 700 13px/1.3 var(--body);
}
.notifications-toolbar[hidden] { display: none; }

.notifications-list { display: flex; flex-direction: column; }
.notifications-empty {
  font-family: var(--body);
  font-size: 14px;
  color: var(--ink-soft);
  padding: 30px 0;
  text-align: center;
}

.notification-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  border-bottom: 1px solid var(--hairline);
  padding: 16px 4px;
  cursor: pointer;
  font: inherit;
  color: inherit;
  transition: background 0.12s ease;
}
.notification-row:hover { background: var(--paper-dim); }
.notification-row.is-unread { background: rgba(50, 103, 255, 0.06); }
.notification-kind-icon { display: none; }
.notification-dot {
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--blue);
  margin-top: 6px;
}
.notification-content { flex: 1 1 auto; min-width: 0; }
.notification-title {
  font-family: var(--body);
  font-weight: 800;
  font-size: 14px;
  color: var(--ink);
  margin-bottom: 2px;
}
.notification-actor-link {
  color: var(--blue);
  text-decoration: none;
}
.notification-actor-link:hover { text-decoration: underline; }
.notification-body {
  font-family: var(--body);
  font-size: 13.5px;
  color: var(--ink-soft);
  line-height: 1.5;
  margin-bottom: 4px;
}
.notification-age {
  font-family: var(--body);
  font-size: 12px;
  color: var(--ink-soft);
}

/* ---------- Watchlist page ---------- */
#watchlist-main .notifications-header-row h1 {
  font-family: "Manrope", var(--body);
  font-weight: 700;
  font-size: 24px;
  letter-spacing: -0.45px;
  text-transform: none;
}
.watchlist-filter-tabs { padding: 0; margin-bottom: 20px; }
.watchlist-filter-tabs .era-tabs-scroll { gap: 20px; }
.watchlist-filter-tabs .era-tab {
  appearance: none;
  border: none;
  border-bottom: 2px solid transparent;
  border-radius: 0;
  padding: 0 0 8px;
  background: transparent;
  color: var(--ink-soft);
  font: 600 14px var(--body);
  cursor: pointer;
}
.watchlist-filter-tabs .era-tab:hover { color: var(--ink); }
.watchlist-filter-tabs .era-tab.active {
  border-bottom-color: var(--yellow);
  color: var(--ink);
}

.watchlist-member-promo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 22px;
  padding: 14px 16px;
  border: 1px solid var(--hairline);
  border-radius: 16px;
  background: var(--paper-dim);
}
.watchlist-member-promo[hidden] { display: none; }
.watchlist-member-promo-icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  border-radius: 50%;
  background: var(--yellow);
  color: #171717;
}
.watchlist-member-promo-icon svg { width: 20px; height: 20px; }
.watchlist-member-promo-copy {
  display: flex;
  flex: 1 1 auto;
  min-width: 0;
  flex-direction: column;
  gap: 3px;
  color: var(--ink-soft);
  font: 600 12.5px/1.4 var(--body);
}
.watchlist-member-promo-copy strong { color: var(--ink); font-size: 14px; font-weight: 900; }
.watchlist-member-promo button {
  flex: 0 0 auto;
  min-height: 38px;
  padding: 0 15px;
  border: 0;
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper);
  font: 900 12px/1 var(--body);
  cursor: pointer;
}
.watchlist-member-promo button:disabled { opacity: 0.6; }

.watchlist-add-form {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
  position: relative;
  margin-bottom: 20px;
}
.watchlist-series-input-wrap { flex: 1 1 220px; margin-top: 0; max-width: none; }
.watchlist-issue-input {
  flex: 0 1 100px;
  border: 1.5px solid var(--ink-soft);
  border-radius: 999px;
  padding: 12px 16px;
  background: var(--paper-dim);
  color: var(--ink);
  font: 600 15px var(--body);
}
.watchlist-issue-input:focus { outline: none; border-color: var(--ink); }
.watchlist-add-btn {
  font-family: var(--body);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 13px;
  background: var(--ink);
  color: var(--paper);
  border: none;
  box-shadow: none;
  padding: 12px 22px;
  cursor: pointer;
  border-radius: 999px;
}
.watchlist-add-btn:hover { filter: brightness(1.3); transform: none; box-shadow: none; }

.watchlist-list { display: flex; flex-direction: column; }
.watchlist-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 4px;
  border-bottom: 1px solid var(--hairline);
  background: none;
  border-left: none;
  border-right: none;
  border-top: none;
  width: 100%;
  text-align: left;
  cursor: pointer;
  font: inherit;
  color: inherit;
}
.watchlist-row:first-child { border-top: 1px solid var(--hairline); }
.watchlist-row:hover { background: var(--paper-dim); }
.watchlist-row-text {
  font-family: var(--body);
  font-weight: 700;
  font-size: 15px;
  color: var(--ink);
}
.watchlist-row-remove {
  font-family: var(--body);
  font-weight: 700;
  font-size: 13px;
  color: var(--ink-soft);
  background: none;
  border: none;
  padding: 6px 4px;
  cursor: pointer;
  text-decoration: underline;
  flex-shrink: 0;
}
.watchlist-row-remove:hover { color: var(--red); }

.watchlist-add-copy,
.watchlist-tracked-heading { display: none; }

@media (max-width: 720px) {
  .notifications-wrap {
    width: 100%;
    max-width: none;
    box-sizing: border-box;
    padding: 22px 22px 100px;
  }
  .notifications-header-row { align-items: flex-end; gap: 12px; margin-bottom: 18px; }
  .notifications-header-row .mobile-page-heading { flex: 1 1 auto; }
  .notifications-header-row h1,
  #watchlist-main .notifications-header-row h1 {
    font-family: var(--body);
    font-size: 34px;
    line-height: 39px;
    font-weight: 800;
    letter-spacing: -1.1px;
    text-transform: none;
  }
  .notifications-toolbar { margin-top: -4px; }
  .notifications-mark-all-btn {
    min-height: 44px;
    padding: 0 4px;
    flex: 0 0 auto;
  }
  .notification-row {
    position: relative;
    min-height: 88px;
    margin: 0 -22px;
    width: calc(100% + 44px);
    box-sizing: border-box;
    gap: 12px;
    padding: 13px 22px;
  }
  .notification-row:hover { background: none; }
  .notification-row.is-unread { background: var(--paper-dim); }
  .notification-kind-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    border-radius: 50%;
    background: var(--paper-dim);
    color: var(--ink-soft);
  }
  .notification-row.is-unread .notification-kind-icon {
    background: var(--yellow);
    color: #171717;
  }
  .notification-kind-icon svg { width: 20px; height: 20px; }
  .notification-dot {
    position: absolute;
    right: 22px;
    margin: 5px 0 0;
  }
  .notification-title { padding-right: 14px; font-size: 15px; line-height: 20px; }
  .notification-body { font-size: 14px; line-height: 19px; }
  .notification-age { margin-top: 2px; font-size: 11px; font-weight: 700; }

  #watchlist-main .notifications-header-row { margin-bottom: 20px; }
  .watchlist-filter-tabs {
    margin: 0 0 20px;
    border-bottom: 1px solid var(--hairline);
  }
  .watchlist-filter-tabs .era-tabs-scroll { display: flex; gap: 0; }
  .watchlist-filter-tabs .era-tab {
    flex: 1;
    min-height: 44px;
    padding: 0 4px;
    font-size: 14px;
    font-weight: 800;
  }
  .watchlist-member-promo { align-items: flex-start; padding: 14px; }
  .watchlist-member-promo button { align-self: center; padding: 0 12px; }
  #watchlist-all-wrap {
    padding: 18px;
    border: 1px solid var(--hairline);
    border-radius: 17px;
    background: var(--paper-dim);
  }
  .watchlist-add-copy { display: block; margin-bottom: 15px; }
  .watchlist-add-copy h2,
  .watchlist-tracked-heading {
    margin: 0;
    font: 900 17px/1.3 var(--body);
    color: var(--ink);
  }
  .watchlist-add-copy p { margin: 5px 0 0; color: var(--ink-soft); font: 500 13px/1.45 var(--body); }
  .watchlist-add-form { gap: 9px; margin-bottom: 24px; }
  .watchlist-series-input-wrap { flex: 1 1 100%; }
  .watchlist-issue-input {
    flex: 1 1 auto;
    min-width: 0;
    border-color: var(--hairline);
    border-radius: 13px;
    background: var(--paper);
    font-size: 16px;
  }
  .watchlist-add-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    min-height: 44px;
    padding: 10px 20px;
    background: var(--yellow);
    color: #171717;
  }
  .watchlist-add-btn span { font-size: 20px; line-height: 1; }
  .watchlist-tracked-heading { display: block; margin: 0 0 10px; font-size: 15px; }
  .watchlist-row { padding: 15px 0; }
}
