/* ==========================================================================
   IPOO Notifications — Google Material 3 Redesign
   Search by Order ID / customer / phone / location
   Filters: All · Processing · Out for Delivery · Delivered · Cancelled
   Created in: notifications-screen.css — loaded after screen-system so wins
   ========================================================================== */

/* Screen shell */
#sc-notif {
  display: flex !important;
  flex-direction: column;
  background: var(--md-surface-1) !important;
  color: #1C1410 !important;
  overflow: hidden !important;
}

#sc-notif .scroll.notif-scroll,
#sc-notif #notif-body {
  background: var(--md-surface-1) !important;
}

/* Header — premium dark masthead */
#sc-notif .tbar.dark {
  display: flex !important;
  align-items: center;
  gap: 8px;
  flex: 0 0 64px;
  width: 100%;
  height: 64px !important;
  box-sizing: border-box;
  padding: 0 8px 0 6px !important;
  background: linear-gradient(110deg, #1C1410 0%, #6F2B0D 62%, #E8500A 145%) !important;
  border-bottom: 0 !important;
}

#sc-notif .tbar.dark .back-btn {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  flex: 0 0 44px;
  width: 44px !important;
  height: 44px !important;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.16);
  background: rgba(255,255,255,0.08) !important;
  color: #fff !important;
}

#sc-notif .tbar-title.w {
  display: inline-flex !important;
  align-items: center;
  flex: 1 1 auto;
  min-width: 0;
  padding: 0 8px;
  color: #fff !important;
  font-family: 'Plus Jakarta Sans','Google Sans','DM Sans',sans-serif !important;
  font-size: 21px !important;
  font-weight: 700 !important;
  line-height: 1.2;
}

#sc-notif #notif-badge {
  display: none; /* shown via JS */
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 22px;
  padding: 0 7px;
  border-radius: 999px;
  background: #FFE9D6 !important;
  color: #6F2B0D !important;
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
}

#sc-notif .tbar.dark > button:last-child {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  flex: 0 0 48px;
  width: 48px !important;
  min-width: 48px !important;
  min-height: 48px !important;
  height: 48px !important;
  padding: 0 !important;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.22);
  background: rgba(255,255,255,0.14) !important;
  color: #fff !important;
  backdrop-filter: blur(8px);
  cursor: pointer;
  transition: background-color 160ms ease, transform 160ms ease;
}

#sc-notif .tbar.dark > #notif-markall:hover {
  background: rgba(255,255,255,0.24) !important;
}

#sc-notif .tbar.dark > #notif-markall:active {
  transform: scale(0.96);
}

#sc-notif .tbar.dark > #notif-markall:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

#sc-notif #notif-markall svg {
  width: 19px;
  height: 19px;
}

#sc-notif #notif-markall #nmarkall-count {
  display: none !important;
}

/* Google M3 Search field */
.notif-search-wrap {
  flex: 0 0 auto;
  padding: 12px 16px 8px;
  background: #FFFFFF;
  border-bottom: 1px solid rgba(28,20,16,0.06);
}

.notif-push-prompt {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px 20px;
  padding: 14px 16px;
  background: #fffaf7;
  border-bottom: 1px solid rgba(28,20,16,0.06);
}

#notif-push-permission[hidden] {
  display: none !important;
}

.notif-push-permission {
  position: fixed;
  inset: 0;
  z-index: 1100;
  display: grid;
  place-items: center;
  box-sizing: border-box;
  padding: 24px;
  background: rgba(22,16,12,.52);
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
}

.notif-push-permission-card {
  width: min(100%, 360px);
  box-sizing: border-box;
  padding: 26px 22px 20px;
  border: 1px solid rgba(255,255,255,.8);
  border-radius: 24px;
  background: #fffaf7;
  box-shadow: 0 20px 60px rgba(28,14,6,.28);
  color: #241b17;
  text-align: center;
}

.notif-push-permission-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin: 0 auto 14px;
  border-radius: 16px;
  background: rgba(255,77,0,.1);
  color: #e8500a;
}

.notif-push-permission-icon svg {
  width: 26px;
  height: 26px;
}

.notif-push-permission-card h2 {
  margin: 0 0 9px;
  font-size: 19px;
  line-height: 1.3;
}

.notif-push-permission-card p {
  margin: 0;
  color: #625d59;
  font-size: 14px;
  line-height: 1.55;
}

.notif-push-permission-actions {
  display: grid;
  gap: 9px;
  margin-top: 22px;
}

.notif-push-permission-actions button {
  min-height: 48px;
  border: 0;
  border-radius: 14px;
  font: inherit;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
}

#notif-push-permission-allow {
  background: #e8500a;
  color: #fff;
}

#notif-push-permission-cancel {
  background: transparent;
  color: #625d59;
}

.notif-push-permission-actions button:focus-visible {
  outline: 3px solid rgba(255,77,0,.42);
  outline-offset: 2px;
}

#notif-push-toggle {
  flex: 0 0 auto;
  min-height: 40px;
  padding: 0 16px;
  border: 0;
  border-radius: 999px;
  background: #e8500a;
  color: #fff;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.notif-push-prompt[hidden] { display: none; }

.notif-push-prompt-copy {
  display: grid;
  gap: 4px;
  min-width: 180px;
}

#notif-push-title {
  color: #1c1410;
  font-size: 14px;
  font-weight: 700;
}

#notif-push-status {
  margin: 0;
  color: #625d59;
  font-size: 12px;
  line-height: 1.4;
}

.notif-push-prompt-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.notif-push-prompt-actions button {
  min-height: 40px;
  padding: 0 16px;
  border: 0;
  border-radius: 999px;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

#notif-push-enable {
  background: #e8500a;
  color: #fff;
}

#notif-push-dismiss {
  background: transparent;
  color: #625d59;
}

.notif-push-prompt-actions button:disabled {
  cursor: progress;
  opacity: 0.6;
}

.android-inbox-arrival[hidden] { display: none; }

.android-inbox-arrival {
  position: fixed;
  z-index: 12000;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(21, 18, 16, 0.58);
  backdrop-filter: blur(5px);
  animation: android-arrival-backdrop-in 180ms ease-out both;
}

.android-inbox-arrival-card {
  width: min(100%, 380px);
  padding: 24px;
  border: 1px solid rgba(28, 20, 16, 0.08);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.24);
  animation: android-arrival-card-in 240ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

@keyframes android-arrival-backdrop-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes android-arrival-card-in {
  from {
    opacity: 0;
    transform: translateY(14px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .android-inbox-arrival,
  .android-inbox-arrival-card {
    animation: none;
  }
}

.android-inbox-arrival-icon {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 15px;
  background: #fff0e8;
  color: #e8500a;
  font-size: 24px;
  font-weight: 800;
}

#android-inbox-arrival-title {
  margin: 18px 0 8px;
  color: #1c1410;
  font-size: 20px;
  line-height: 1.25;
}

#android-inbox-arrival-message {
  margin: 0;
  color: #625d59;
  font-size: 14px;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.android-inbox-arrival-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.android-inbox-arrival-actions button {
  min-height: 44px;
  padding: 0 16px;
  border: 0;
  border-radius: 999px;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

#android-inbox-arrival-open,
#android-inbox-arrival-enable {
  background: #e8500a;
  color: #fff;
}

#android-inbox-arrival-dismiss {
  background: #f5f2ef;
  color: #625d59;
}

.android-inbox-arrival-actions button:disabled {
  cursor: progress;
  opacity: 0.6;
}

.notif-search-field {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
  height: 48px;
  box-sizing: border-box;
  padding: 0 12px 0 14px;
  background: #FFFFFF;
  border: 1px solid rgba(28,20,16,0.10);
  border-radius: 28px;
  box-shadow: 0 1px 2px rgba(28,20,16,0.06), 0 2px 8px rgba(28,20,16,0.04);
  transition: border-color 160ms, box-shadow 160ms, background 160ms;
}

.notif-search-field:focus-within {
  border-color: #E8500A;
  box-shadow: 0 0 0 3px rgba(232,80,10,0.14), 0 4px 16px rgba(28,20,16,0.08);
  background: #FFFFFF;
}

.notif-search-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: #857370;
}

.notif-search-field input {
  flex: 1 1 auto;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  font-family: 'DM Sans','Google Sans',sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: #1C1410;
}

.notif-search-field input::placeholder {
  color: #9A8A84;
  font-weight: 500;
}

.notif-search-clear {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  flex-shrink: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(28,20,16,0.06);
  color: #5C4F4A;
  cursor: pointer;
}

.notif-search-clear svg { width: 14px; height: 14px; }

/* Filter chips — M3 Filter chip horizontal scroll */
#notif-filters,
.nchips-scroll {
  flex: 0 0 auto;
  display: block;
  max-width: 760px;
  width: 100%;
  box-sizing: border-box;
  margin: 0 auto;
  padding: 10px 16px 12px;
  background: #FFFFFF;
  border-bottom: 1px solid rgba(28,20,16,0.06);
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

#notif-filters::-webkit-scrollbar { display: none; }

.nchips {
  display: inline-flex;
  gap: 8px;
  flex-wrap: nowrap;
  align-items: center;
}

.nchip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(28,20,16,0.12);
  background: #FFFFFF;
  color: #3D2E28;
  font-family: 'DM Sans',sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  white-space: nowrap;
  cursor: pointer;
  transition: background 160ms, border-color 160ms, color 160ms, box-shadow 160ms;
}

.nchip:hover { border-color: rgba(232,80,10,0.22); background: #FFF7F2; }

.nchip.sel {
  background: #E8500A;
  border-color: #E8500A;
  color: #FFFFFF;
  box-shadow: 0 2px 10px rgba(232,80,10,0.22);
}

.nchip .nchip-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: rgba(255,255,255,0.16);
  font-size: 11px;
  font-weight: 800;
}

.nchip.sel .nchip-count { background: rgba(255,255,255,0.18); }
.nchip:not(.sel) .nchip-count { background: rgba(232,80,10,0.10); color: #8A3A10; }

/* Scroll area */
#sc-notif .notif-scroll,
#sc-notif .scroll.notif-scroll {
  display: block !important;
  flex: 1 1 0 !important;
  min-height: 0;
  padding: 14px 0 96px !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  background: var(--md-surface-1) !important;
}

/* Body container */
#sc-notif #notif-body {
  display: flex !important;
  flex-direction: column;
  gap: 10px;
  width: auto;
  max-width: 760px;
  margin: 0 auto;
  padding: 0 16px 32px !important;
  box-sizing: border-box;
  background: #FFFFFF;
}

/* Group headers — sticky date dividers */
.ngroup {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 4px 6px;
  position: sticky;
  top: -14px;
  z-index: 1;
  background: linear-gradient(180deg, #FFFFFF 72%, rgba(255,255,255,0) 100%);
  font-family: 'Google Sans','DM Sans',sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #857370;
}

.ngroup-new {
  display: inline-flex;
  align-items: center;
  height: 20px;
  padding: 0 8px;
  border-radius: 999px;
  background: #FFE9D6;
  color: #8A3A10;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: none;
}

/* Cards — M3 Elevated card */
.ncard {
  position: relative;
  display: flex;
  overflow: hidden;
  border-radius: 20px;
  background: #FFFFFF;
  border: 1px solid rgba(28,20,16,0.07);
  box-shadow: 0 2px 10px rgba(28,20,16,0.06), 0 1px 3px rgba(28,20,16,0.04);
  transition: box-shadow 180ms, transform 180ms, border-color 180ms;
  animation: ncardIn 320ms cubic-bezier(0.16,1,0.3,1) both;
}

@keyframes ncardIn {
  from { opacity: 0; transform: translateY(6px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.ncard:hover {
  border-color: rgba(28,20,16,0.10);
  box-shadow: 0 8px 24px rgba(28,20,16,0.08), 0 2px 8px rgba(28,20,16,0.06);
  transform: translateY(-1px);
}

.ncard.unread {
  border-color: rgba(232,80,10,0.14);
  box-shadow: 0 4px 16px rgba(232,80,10,0.08), 0 1px 4px rgba(28,20,16,0.05);
  background: linear-gradient(180deg, #FFFBF8 0%, #FFFFFF 100%);
}

.ncard.unread::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, #FF6A1A 0%, #E8500A 100%);
}

.ncard-del {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #FEF2F2;
  color: #DC2626;
  border: 1px solid rgba(220,38,38,0.12);
  border-radius: 999px;
  z-index: 3;
  cursor: pointer;
}

.ncard-del:focus-visible {
  outline: 3px solid rgba(232,80,10,0.35);
  outline-offset: 2px;
}

.ncard-del svg { width: 18px; height: 18px; }

.ncard-main {
  flex: 1 1 auto;
  display: flex;
  align-items: stretch;
  gap: 12px;
  padding: 14px 58px 14px 18px;
  cursor: pointer;
  min-width: 0;
  background: transparent;
  transition: transform 200ms cubic-bezier(0.16,1,0.3,1);
}

.nicon {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.7);
}

.nicon.orders { background: #FFF0E6; color: #E8500A; border: 1px solid rgba(232,80,10,0.12); }
.nicon.offers { background: #FFF7E6; color: #B4560A; border: 1px solid rgba(180,86,10,0.12); }
.nicon.rewards { background: #F0F7F0; color: #1B7A3D; border: 1px solid rgba(27,122,61,0.12); }
.nicon.system { background: #F5F0FF; color: #6D28D9; border: 1px solid rgba(109,40,217,0.12); }

.nicon svg { width: 20px; height: 20px; display: block; }

.ntext { flex: 1 1 auto; min-width: 0; min-height: 100%; display: flex; flex-direction: column; gap: 4px; }

.ncard-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
}

.ntitle {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  font-family: 'Plus Jakarta Sans','DM Sans',sans-serif;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.3;
  color: #1C1410;
}

.ntitle span:first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.nnew {
  display: inline-flex;
  align-items: center;
  height: 18px;
  padding: 0 7px;
  border-radius: 999px;
  background: #E8500A;
  color: #FFFFFF;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.ncard-cat {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  height: 22px;
  padding: 0 8px;
  border-radius: 999px;
  background: rgba(28,20,16,0.06);
  color: #5C4F4A;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.ncard.unread .ncard-cat { background: rgba(232,80,10,0.10); color: #8A3A10; }

.nbody {
  font-size: 13px;
  font-weight: 500;
  line-height: 1.45;
  color: #5C4F4A;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ncard-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: auto;
  font-size: 12px;
  color: #857370;
}

.ntime { display: inline-flex; align-items: center; gap: 6px; }

.ndot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #E8500A;
  box-shadow: 0 0 0 4px rgba(232,80,10,0.14);
  flex-shrink: 0;
}

.nref {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: 20px;
  padding: 0 7px;
  border-radius: 999px;
  background: #F5F0EC;
  border: 1px solid rgba(28,20,16,0.06);
  font-family: 'Google Sans',monospace;
  font-size: 11px;
  font-weight: 700;
  color: #6B5A53;
}

.nstatus-chip {
  background: #FFF1E8;
  border-color: rgba(232, 80, 10, 0.18);
  color: #7A2E00;
  text-transform: capitalize;
  box-shadow: 0 1px 2px rgba(28, 20, 16, 0.04);
}

.nstatus-delivered {
  background: #EAF7EF;
  border-color: rgba(22, 140, 74, 0.2);
  color: #12633A;
}

.nstatus-cancelled {
  background: #FFF0F0;
  border-color: rgba(190, 45, 45, 0.2);
  color: #8A2020;
}

.nref-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 6px 0 2px;
}

/* Empty states */
.nempty {
  display: flex !important;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 320px;
  padding: 40px 28px !important;
  border: 1px dashed rgba(28,20,16,0.10);
  border-radius: 24px;
  background: #FFFBF8 !important;
  text-align: center;
}

.nempty-ic {
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 72px !important;
  height: 72px !important;
  margin-bottom: 16px;
  border-radius: 20px;
  background: #FFF0E6 !important;
  color: #E8500A !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.9);
}

.nempty-ic svg { width: 36px !important; height: 36px !important; }

.nempty-ttl {
  display: block !important;
  margin-bottom: 8px;
  color: #1C1410 !important;
  font-family: 'Plus Jakarta Sans','Google Sans',sans-serif !important;
  font-size: 20px !important;
  font-weight: 800 !important;
  line-height: 1.25;
}

.nempty-sub {
  display: block !important;
  max-width: 320px;
  color: #857370 !important;
  font-size: 14px !important;
  line-height: 1.5;
}

.nempty-cta {
  margin-top: 16px;
  display: inline-flex;
  align-items: center;
  height: 36px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid rgba(28,20,16,0.12);
  background: #1C1410;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

/* Mobile */
@media (max-width: 380px) {
  .notif-search-wrap { padding: 10px 12px 8px; }
  #sc-notif #notif-body { padding: 0 12px 24px !important; }
  .ncard-main { padding: 12px 52px 12px 14px; }
  .ntitle { font-size: 13px; }
}

/* Notification experience refinements */
html body #sc-notif {
  background: #f7f4f1 !important;
  color: #211914 !important;
}

html body #shell #sc-notif {
  background: #f7f4f1 !important;
}

html body #sc-notif .tbar.dark {
  flex-basis: 64px !important;
  height: 64px !important;
  padding: 0 8px 0 6px !important;
  background: linear-gradient(110deg, #1C1410 0%, #6F2B0D 62%, #E8500A 145%) !important;
  border-bottom: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

html body #shell #sc-notif > .tbar.dark {
  background: linear-gradient(110deg, #1C1410 0%, #6F2B0D 62%, #E8500A 145%) !important;
}

html body #sc-notif .tbar.dark .back-btn {
  border-color: rgba(255,255,255,.16) !important;
  background: rgba(255,255,255,.08) !important;
  color: #fff !important;
  box-shadow: none !important;
}

html body #sc-notif .tbar-title.w {
  color: #211914 !important;
  font-size: 20px !important;
  font-weight: 750 !important;
}

html body #shell #sc-notif > .tbar.dark .tbar-title.w {
  color: #211914 !important;
}

html body #sc-notif #notif-badge {
  background: #ffe9d6 !important;
  color: #6f2b0d !important;
}

html body #sc-notif .tbar.dark > button:last-child {
  min-height: 40px;
  border-color: rgba(255,255,255,.22) !important;
  background: rgba(255,255,255,.14) !important;
  color: #fff !important;
  font-size: 12px !important;
}

html body #sc-notif .notif-push-opt-in,
html body #sc-notif .notif-search-wrap,
html body #sc-notif #notif-filters {
  background: #fff !important;
}

html body #sc-notif .notif-push-opt-in {
  gap: 8px 12px;
  padding-top: 9px;
  padding-bottom: 9px;
}

html body #sc-notif .notif-search-wrap {
  padding-top: 12px;
}

html body #sc-notif .notif-search-field {
  min-height: 48px;
  border-color: #eee7e2;
  background: #f8f6f4;
  box-shadow: none;
}

html body #sc-notif .notif-search-field:focus-within {
  border-color: #c94a17;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(201, 74, 23, .12);
}

html body #sc-notif #notif-filters,
html body #sc-notif .nchips-scroll {
  padding-top: 8px;
  padding-bottom: 10px;
  border-bottom-color: #eee7e2;
}

html body #sc-notif .nchip {
  min-height: 36px;
  border-color: #e8dfd9;
  color: #51443d;
  font-weight: 650;
}

html body #sc-notif .nchip.sel {
  border-color: #8e3412;
  background: #8e3412;
  box-shadow: none;
}

html body #sc-notif .notif-scroll,
html body #sc-notif .scroll.notif-scroll {
  padding-top: 8px !important;
  background: #f7f4f1 !important;
}

html body #sc-notif #notif-body {
  gap: 8px;
  background: transparent !important;
}

html body #sc-notif .ngroup {
  top: -8px;
  padding: 16px 4px 8px;
  background: linear-gradient(180deg, #f7f4f1 78%, rgba(247, 244, 241, 0));
  color: #75675f;
  letter-spacing: .045em;
}

html body #sc-notif .ngroup-new {
  background: #fbe8dc;
  color: #8e3412;
}

html body #sc-notif #notif-body > .ncard {
  border: 1px solid #eee7e2;
  border-radius: 16px;
  background: var(--md-surface-2);
  box-shadow: 0 1px 3px rgba(45, 31, 22, .045);
  animation-duration: 180ms;
}

html body #sc-notif #notif-body > .ncard:hover {
  border-color: #e3d7cf;
  box-shadow: 0 5px 16px rgba(45, 31, 22, .075);
  transform: translateY(-1px);
}

html body #sc-notif #notif-body > .ncard.unread {
  border-color: #f0cdbb;
  background: var(--md-surface-2);
  box-shadow: 0 2px 8px rgba(128, 58, 24, .065);
}

html body #sc-notif #notif-body > .ncard.broadcast {
  border-color: #ead9cd;
  background: var(--md-surface-2);
  box-shadow: 0 2px 8px rgba(128, 58, 24, .055);
}

html body #sc-notif .ncard.broadcast::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: linear-gradient(180deg, #d86a32, #9e3b15);
}

html body #sc-notif .ncard.unread::before {
  width: 3px;
  background: #b94716;
}

html body #sc-notif .ncard-main {
  appearance: none;
  border: 0;
  border-radius: inherit;
  color: inherit;
  font: inherit;
  text-align: left;
}

html body #sc-notif .ncard-main:focus-visible {
  position: relative;
  z-index: 2;
  outline: 3px solid rgba(201, 74, 23, .38);
  outline-offset: -3px;
}

html body #sc-notif .nicon {
  width: 40px;
  height: 40px;
  border-radius: 13px;
  box-shadow: none;
}

html body #sc-notif .nicon.orders {
  background: #fff0e7;
  color: #a33b10;
}

html body #sc-notif .nicon.offers {
  background: #fff4dc;
  color: #8a5a00;
}

html body #sc-notif .nicon.rewards {
  background: #eaf6ed;
  color: #26713f;
}

html body #sc-notif .nicon.support,
html body #sc-notif .nicon.system {
  background: #eef3ff;
  color: #3559a8;
}

html body #sc-notif .ntitle {
  color: #211914;
  font-size: 14px;
  font-weight: 750;
}

html body #sc-notif .nnew {
  background: #a33b10;
  letter-spacing: .025em;
}

html body #sc-notif .ncard-cat {
  background: #f4f0ed;
  color: #675a53;
}

html body #sc-notif .ncard-title-group {
  flex: 1 1 auto;
  display: grid;
  min-width: 0;
  gap: 4px;
}

html body #sc-notif .ncard-issuer {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #8e3b17;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .045em;
  line-height: 1.2;
  text-transform: uppercase;
}

html body #sc-notif .ncard-issuer svg {
  width: 13px;
  height: 13px;
  fill: currentColor;
  flex: 0 0 auto;
}

html body #sc-notif .ncard.unread .ncard-cat {
  background: #fff0e7;
  color: #8e3412;
}

html body #sc-notif .nbody {
  color: #625953;
  line-height: 1.5;
}

html body #sc-notif .ndot {
  background: #b94716;
  box-shadow: 0 0 0 3px rgba(185, 71, 22, .12);
}

html body #sc-notif .ncard-del {
  width: 36px;
  height: 36px;
  background: #fff;
  color: #74665e;
  border-color: #eee7e2;
}

html body #sc-notif .ncard-del:hover,
html body #sc-notif .ncard-del:focus-visible {
  background: #fff0ed;
  color: #a22b21;
}

html body #sc-notif .nempty {
  min-height: 260px;
  border-color: #e9dfd8;
  border-radius: 20px;
  background: #fff !important;
}

html body #sc-notif .nempty-ic {
  border-radius: 18px;
  background: #fff0e7 !important;
  color: #a33b10 !important;
}

@media (max-width: 380px) {
  html body #shell #sc-notif > .tbar.dark {
    gap: 6px;
  }

  html body #shell #sc-notif > .tbar.dark .tbar-title.w {
    padding: 0 4px;
    font-size: 18px !important;
  }

  html body #shell #sc-notif #notif-badge {
    min-width: 18px !important;
    height: 18px !important;
    margin-left: 4px !important;
    padding: 0 4px !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  html body #sc-notif *,
  #home-notifications *,
  #home-notifications {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
}
