/* ds3 消息中心 — 图三列表风格 */
.ds3-notify-page{min-width:0}
/*
.ds3-notify-panel{
  box-sizing:border-box;padding:18px 20px 8px;border-radius:12px;
  background:#16181d;border:1px solid rgba(255,255,255,.05)
}*/
.theme1 .ds3-notify-panel{background:#fff;border-color:#e8ecf0;box-shadow:0 2px 12px rgba(0,0,0,.04)}

.ds3-notify-head{
  display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 6px
}
.ds3-notify-head__title{
  display:inline-flex;align-items:center;gap:8px;margin:0;
  color:#fff;font-size:18px;font-weight:700;line-height:1.3
}
.theme1 .ds3-notify-head__title{color:#1d2336}
.ds3-notify-page .notify-unread-badge{
  display:inline-block!important;min-width:18px;height:18px;padding:0 5px;border-radius:999px;
  background:#ff4d4f!important;color:#fff!important;font-size:11px;font-style:normal;
  font-weight:700;line-height:18px;text-align:center;vertical-align:middle
}
.ds3-notify-page .notify-unread-badge.none{display:none!important}
.ds3-notify-head__actions{display:flex;align-items:center;gap:16px;flex-shrink:0}
.ds3-notify-linkbtn{
  appearance:none;-webkit-appearance:none;border:0;background:transparent;
  color:#5eb8ff!important;font-size:13px;font-weight:500;line-height:1;cursor:pointer;padding:0
}
.ds3-notify-linkbtn:hover{color:#8fd0ff!important}
.ds3-notify-linkbtn.is-disabled,
.ds3-notify-linkbtn:disabled{opacity:.4;cursor:not-allowed}

.ds3-notify-tabs{
  display:flex;flex-wrap:nowrap;align-items:center;gap:0 18px;
  margin:0 0 8px;padding:0 8px;border-bottom:1px solid rgba(255,255,255,.06);
  overflow-x:auto;overflow-y:hidden;scrollbar-width:none;-ms-overflow-style:none;
  -webkit-overflow-scrolling:touch;scroll-padding-inline:8px
}
.ds3-notify-tabs::-webkit-scrollbar{display:none}
.theme1 .ds3-notify-tabs{border-bottom-color:#e8ecf0}
.ds3-notify-tab{
  position:relative;display:inline-block;flex:0 0 auto;padding:12px 0 11px;
  color:rgba(255,255,255,.45)!important;font-size:14px;line-height:1;text-decoration:none!important;
  white-space:nowrap
}
.theme1 .ds3-notify-tab{color:#8a8f9c!important}
.ds3-notify-tab:hover{color:rgba(255,255,255,.85)!important}
.theme1 .ds3-notify-tab:hover{color:#1d2336!important}
.ds3-notify-tab.is-active{color:#5eb8ff!important;font-weight:600}
.ds3-notify-tab.is-active:after{
  content:"";position:absolute;left:0;right:0;bottom:-1px;height:2px;
  background:#5eb8ff;border-radius:2px
}

.ds3-notify-feed{display:block;padding:0 0 12px}
.ds3-notify-group{display:none}

.ds3-notify-card{
  position:relative;display:flex!important;align-items:flex-start;gap:14px;
  box-sizing:border-box;padding:16px 14px!important;margin:0;
  border:0!important;border-radius:0!important;border-bottom:1px solid rgba(255,255,255,.05)!important;
  background:transparent!important;cursor:pointer;
  transition:background .15s ease
}
.theme1 .ds3-notify-card{border-bottom-color:#eef1f5!important}
.ds3-notify-card:last-child{border-bottom:0!important}
.ds3-notify-card:hover{background:rgba(255,255,255,.03)!important}
.theme1 .ds3-notify-card:hover{background:rgba(0,0,0,.025)!important}
.ds3-notify-card.is-unread{
  background:rgba(47,155,255,.08)!important;border-radius:8px!important;border-bottom-color:transparent!important;
  margin:4px 0!important
}
.theme1 .ds3-notify-card.is-unread{background:#eef5ff!important}
.ds3-notify-card.is-focus{
  background:rgba(47,155,255,.16)!important;border-radius:8px!important;
  box-shadow:0 0 0 1px rgba(94,184,255,.55) inset
}
.theme1 .ds3-notify-card.is-focus{
  background:#e8f3ff!important;box-shadow:0 0 0 1px rgba(47,155,255,.35) inset
}

.ds3-notify-card__icon{
  flex-shrink:0;width:42px;height:42px;border-radius:50%;
  display:inline-flex;align-items:center;justify-content:center;
  background:#2a2f3a;color:rgba(255,255,255,.75);font-size:18px;line-height:1
}
.theme1 .ds3-notify-card__icon{background:#eef1f5;color:#5a6478}
.ds3-notify-card__icon--system{background:#2f3648;color:#8ab4f8}
.ds3-notify-card__icon--activity{background:#3a3228;color:#ffb86b}
.ds3-notify-card__icon--order{background:#24362f;color:#5eead4}
.ds3-notify-card__icon--vip{background:#322848;color:#c4b5fd}
.ds3-notify-card__icon--announce{background:#3a2830;color:#f9a8d4}
.ds3-notify-card__icon--reply{background:#243038;color:#7dd3fc}
.ds3-notify-card__icon svg{width:20px;height:20px;display:block}

.ds3-notify-card__body{flex:1;min-width:0}
.ds3-notify-card__row{
  display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin:0 0 6px
}
.ds3-notify-card__title{
  display:inline-flex!important;align-items:center;gap:8px;flex-wrap:wrap;
  margin:0!important;color:rgba(255,255,255,.92)!important;
  font-size:15px!important;font-weight:700!important;line-height:1.4;word-break:break-word
}
.theme1 .ds3-notify-card__title{color:#1d2336!important}
.ds3-notify-dot{
  display:inline-block!important;width:7px;height:7px;border-radius:50%;
  background:#ff4d4f!important;flex-shrink:0
}
.ds3-notify-card__time{
  flex-shrink:0;color:rgba(255,255,255,.35)!important;font-size:12px!important;line-height:1.4;white-space:nowrap
}
.theme1 .ds3-notify-card__time{color:#9aa0ad!important}
.ds3-notify-card__desc{
  margin:0 0 10px!important;color:rgba(255,255,255,.42)!important;font-size:13px!important;line-height:1.55;
  overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;white-space:normal
}
.theme1 .ds3-notify-card__desc{color:#8a8f9c!important}

.ds3-notify-card__actions{
  display:flex!important;justify-content:flex-start;align-items:center;gap:14px;margin:0;flex-wrap:wrap
}
.ds3-notify-btn{
  appearance:none;-webkit-appearance:none;border:0!important;background:transparent!important;
  padding:0!important;height:auto!important;border-radius:0!important;
  color:rgba(255,255,255,.4)!important;font-size:12px!important;font-weight:500!important;
  line-height:1.2!important;cursor:pointer
}
.theme1 .ds3-notify-btn{color:#8a8f9c!important}
.ds3-notify-btn:hover{color:#5eb8ff!important}
.ds3-notify-btn--del:hover{color:#f07178!important}
.ds3-notify-status{
  color:rgba(255,255,255,.28)!important;font-size:12px!important;pointer-events:none;cursor:default
}
.theme1 .ds3-notify-status{color:#b0b6c2!important}

.ds3-notify-pages{margin:16px 0 24px;padding-bottom:8px;text-align:center}
.ds3-notify-pages[hidden]{display:none!important}
.ds3-notify-page .ds3-notify-more,
.ds3-notify-pages .ds3-notify-more{
  display:inline-flex!important;align-items:center;justify-content:center;
  min-width:120px;min-height:36px;padding:8px 18px;margin:0 auto;
  border:0!important;border-radius:10px!important;background:transparent!important;
  color:#a8b0c0!important;font-size:13px;line-height:1.4;
  cursor:default;box-shadow:none!important;-webkit-appearance:none;appearance:none
}
.ds3-notify-page .ds3-notify-more.js-notify-load-more,
.ds3-notify-pages .ds3-notify-more.js-notify-load-more{
  cursor:pointer;background:rgba(255,255,255,.08)!important;color:#e8ecf4!important
}
.ds3-notify-page .ds3-notify-more.js-notify-load-more:hover,
.ds3-notify-pages .ds3-notify-more.js-notify-load-more:hover{
  background:rgba(255,255,255,.12)!important;color:#fff!important
}
.ds3-notify-page .ds3-notify-more.is-loading,
.ds3-notify-pages .ds3-notify-more.is-loading{color:#c5ccd8!important}
.ds3-notify-page .ds3-notify-more.is-end,
.ds3-notify-pages .ds3-notify-more.is-end{color:#b6becc!important}
.theme1 .ds3-notify-page .ds3-notify-more,
.theme1 .ds3-notify-pages .ds3-notify-more{color:#6b7280!important}
.theme1 .ds3-notify-page .ds3-notify-more.js-notify-load-more,
.theme1 .ds3-notify-pages .ds3-notify-more.js-notify-load-more{
  background:#eef1f5!important;color:#333!important
}
.theme1 .ds3-notify-page .ds3-notify-more.js-notify-load-more:hover,
.theme1 .ds3-notify-pages .ds3-notify-more.js-notify-load-more:hover{background:#e3e7ee!important}
.theme1 .ds3-notify-page .ds3-notify-more.is-end,
.theme1 .ds3-notify-pages .ds3-notify-more.is-end{color:#8a8f9c!important}

body.ds3-notify-body .footer,
body.ds3-notify-body .footer.footerLess,
body:has(#mac-user-notify-root) .footer,
body:has(#mac-user-notify-root) .footer.footerLess{
  position:static!important;left:auto!important;right:auto!important;bottom:auto!important
}

.ds3-notify-empty,
.ds3-notify-guest{
  margin:16px 0;padding:40px 16px;text-align:center;color:rgba(255,255,255,.45)!important;font-size:14px;
  /*background:rgba(255,255,255,.03);*/border-radius:12px
}
.theme1 .ds3-notify-empty,
.theme1 .ds3-notify-guest{color:#8a8f9c!important;background:#f5f7fa}
.ds3-notify-guest-btn{
  display:inline-flex!important;align-items:center;justify-content:center;margin-top:14px;min-width:128px;height:40px;
  padding:0 18px;border-radius:999px;background:#40cc92!important;color:#fff!important;
  font-size:14px;font-weight:600;text-decoration:none!important
}

.ds3-notify-detail-pop__body{
  padding:8px 2px 4px;color:rgba(255,255,255,.75);font-size:14px;line-height:1.7;white-space:pre-wrap;word-break:break-word
}
.theme1 .ds3-notify-detail-pop__body{color:#4a5160}
.ds3-notify-detail-pop__foot{margin-top:16px;text-align:right}
.ds3-notify-detail-pop__link{
  display:inline-flex;align-items:center;justify-content:center;min-width:120px;height:36px;padding:0 16px;
  border-radius:8px;background:#5eb8ff;color:#fff!important;font-size:13px;font-weight:600;text-decoration:none!important
}

@media (max-width:767px){
  .ds3-notify-panel{padding:14px 12px 6px;border-radius:10px}
  .ds3-notify-head{flex-wrap:wrap}
  .ds3-notify-head__title{font-size:16px}
  .ds3-notify-tabs{gap:0 12px}
  .ds3-notify-tab{font-size:13px;padding:10px 0}
  .ds3-notify-card{gap:10px;padding:14px 8px!important}
  .ds3-notify-card__icon{width:36px;height:36px}
  .ds3-notify-card__title{font-size:14px!important}
  .ds3-notify-card__time{font-size:11px!important}
}

/* browser push panel (message center) — match maccms10 card + green CTA */
.ds3-notify-page #js-notify-push.ds3-notify-push,
.ds3-notify-page #js-notify-push.mac-notify-push{
  display:grid!important;
  grid-template-areas:"title action" "tip action";
  grid-template-columns:minmax(0,1fr) auto;
  column-gap:16px;
  row-gap:4px;
  align-items:center;
  margin:18px 0 10px;
  padding:14px 16px;
  border:1px solid rgba(255,255,255,.12)!important;
  border-radius:12px;
  background:rgba(255,255,255,.05)!important;
  box-sizing:border-box;
  width:100%;
}
.ds3-notify-page #js-notify-push[hidden]{display:none!important}
.ds3-notify-page #js-notify-push .ds3-notify-push__copy{
  display:contents;
}
.ds3-notify-page #js-notify-push .ds3-notify-push__title,
.ds3-notify-page #js-notify-push .mac-notify-push__title{
  grid-area:title;
  margin:0!important;
  color:rgba(255,255,255,.92)!important;
  font-size:13px!important;
  font-weight:600!important;
  line-height:1.35;
  letter-spacing:-.01em;
}
.ds3-notify-page #js-notify-push .ds3-notify-push__tip,
.ds3-notify-page #js-notify-push .mac-notify-push__tip{
  grid-area:tip;
  margin:0!important;
  max-width:42ch;
  color:rgba(255,255,255,.48)!important;
  font-size:12px!important;
  line-height:1.45;
}
.ds3-notify-page #js-notify-push .ds3-notify-push__btn,
.ds3-notify-page #js-notify-push .mac-notify-push__btn,
.ds3-notify-page #js-notify-push-btn{
  grid-area:action;
  -webkit-appearance:none!important;
  appearance:none!important;
  display:inline-flex!important;
  align-items:center;
  justify-content:center;
  flex-shrink:0;
  min-width:120px;
  max-width:220px;
  height:auto!important;
  margin:0!important;
  padding:9px 16px!important;
  border:0!important;
  border-radius:8px!important;
  background:#40cc92!important;
  box-shadow:none!important;
  color:#fff!important;
  font-size:13px!important;
  font-weight:600!important;
  line-height:1.3!important;
  text-align:center;
  text-decoration:none!important;
  white-space:nowrap;
  cursor:pointer;
  transition:filter .2s ease,transform .15s ease,opacity .2s ease,box-shadow .2s ease,color .2s ease,background .2s ease;
}
.ds3-notify-page #js-notify-push-btn:hover:not(:disabled){filter:brightness(.96)}
.ds3-notify-page #js-notify-push-btn:active:not(:disabled){transform:scale(.98)}
.ds3-notify-page #js-notify-push-btn[data-state="on"],
.ds3-notify-page #js-notify-push-btn.is-on{
  background:transparent!important;
  box-shadow:inset 0 0 0 1.5px #40cc92!important;
  color:#40cc92!important;
}
.ds3-notify-page #js-notify-push-btn:disabled,
.ds3-notify-page #js-notify-push-btn[data-state="denied"]{
  opacity:.72;
  cursor:not-allowed;
  filter:none;
}
.theme1 .ds3-notify-page #js-notify-push.ds3-notify-push{
  background:#f5f7fa!important;
  border-color:#e6e9ef!important;
}
.theme1 .ds3-notify-page #js-notify-push .ds3-notify-push__title{color:#1f2430!important}
.theme1 .ds3-notify-page #js-notify-push .ds3-notify-push__tip{color:#8a8f9c!important}
@media (max-width:767px){
  .ds3-notify-page #js-notify-push.ds3-notify-push{
    grid-template-areas:"title" "tip" "action";
    grid-template-columns:1fr;
    row-gap:8px;
  }
  .ds3-notify-page #js-notify-push-btn{
    max-width:none;
    width:100%;
  }
}
