.page-notifications {
  background: #fafafa;
}

.page-notifications .store-page {
  max-width: none;
  width: 100%;
  box-sizing: border-box;
  padding-bottom: calc(56px + env(safe-area-inset-bottom, 0px));
}

.page-notifications .store-page__head {
  margin-bottom: 16px;
}

.page-notifications .store-page__head h1 {
  font-size: 22px;
  font-weight: 800;
}

.page-notifications .store-page__head p {
  font-size: 13px;
  line-height: 1.5;
}

.notify-feed {
  width: 100%;
  background: #fff;
  border: 1px solid #f0f0f0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.notify-feed .store-empty {
  margin: 0;
  padding: 48px 16px;
  min-height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  box-shadow: none;
  background: transparent;
  color: #999;
}

.notify-row {
  border-bottom: 1px solid #f0f0f0;
}

.notify-row:last-child {
  border-bottom: 0;
}

.notify-row__head {
  width: 100%;
  border: 0;
  background: #fff;
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 56px;
  padding: 16px;
  cursor: pointer;
  text-align: left;
  font: inherit;
  color: inherit;
}

.notify-row__head:active {
  background: #fafafa;
}

.notify-row.is-open .notify-row__head {
  background: #fafafa;
}

.notify-row__main {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.notify-row__title {
  font-size: 16px;
  font-weight: 600;
  color: #111;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.notify-row.is-unread .notify-row__title {
  font-weight: 700;
}

.notify-row__dot {
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--store-accent, #ff9900);
}

.notify-row__chevron {
  flex-shrink: 0;
  font-size: 13px;
  color: #bbb;
  transition: transform 0.2s ease;
}

.notify-row.is-open .notify-row__chevron {
  transform: rotate(180deg);
  color: #666;
}

.notify-row__body {
  padding: 0 16px 16px;
}

.notify-row__body[hidden] {
  display: none !important;
}

.notify-row__content {
  margin: 0 0 12px;
  padding: 14px;
  font-size: 15px;
  line-height: 1.7;
  color: #444;
  word-break: break-word;
  background: #f7f8fa;
  border-radius: 10px;
}

.notify-row__read {
  padding: 8px 14px;
  font-size: 13px;
}

@media (max-width: 768px) {
  /* 与顶栏搜索框一致：tk-header__inner padding 16px */
  .page-notifications .store-page {
    padding: 10px 16px calc(56px + env(safe-area-inset-bottom, 0px) + 16px);
  }

  .page-notifications .store-page__head {
    margin-bottom: 12px;
  }

  .page-notifications .store-page__head h1 {
    font-size: 20px;
    margin-bottom: 4px;
  }

  .page-notifications #storeFooter,
  .page-notifications #storeFooterLinks,
  .page-notifications #storeFooterLinksSection {
    display: none !important;
  }

  .notify-row__head {
    min-height: 58px;
    padding: 16px;
  }
}

@media (min-width: 769px) {
  .page-notifications .store-page {
    max-width: var(--store-max);
    margin: 0 auto;
    padding: 24px 20px 56px;
  }
}
