.container { min-height: 100vh; background: var(--bg, #F5F5F7); padding-bottom: calc(14px + env(safe-area-inset-bottom, 0)); }
.header { background: linear-gradient(135deg, #FF9F43, #EE5A24); padding: 14px 16px 19px; }
.header-title { color: #FFFFFF; font-size: 19px; font-weight: 700; display: block; }
.header-sub { color: rgba(255,255,255,0.82); font-size: 12px; margin-top: 4px; display: block; line-height: 1.6; }

.summary-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  padding: 10px 12px 0;
}

.summary-card {
  background: #FFFFFF;
  border-radius: 9px;
  padding: 11px 6px;
  text-align: center;
  box-shadow: 0 1px 5px rgba(0,0,0,0.04);
}

.summary-value { display: block; font-size: 17px; font-weight: 800; color: #1D1D1F; }
.summary-label { display: block; margin-top: 4px; font-size: 11px; color: #86868B; }

.action-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 12px 0;
}

.updated-text { font-size: 11px; color: #9AA0A6; }
.mark-all-btn {
  padding: 6px 10px;
  border-radius: 499.5px;
  background: rgba(74,144,217,0.1);
  color: #4A90D9;
  font-size: 11.5px;
  font-weight: 600;
}

.tab-bar {
  display: flex;
  background: #FFFFFF;
  margin: 9px 12px 0;
  border-radius: 9px;
  padding: 4px;
  gap: 4px;
  flex-wrap: wrap;
}

.tab-item {
  flex: 1 1 calc(50% - 4px);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 9px 0;
  font-size: 13px;
  color: #6B7280;
  border-radius: 7px;
  font-weight: 600;
}

.tab-item.active {
  background: #4A90D9;
  color: #FFFFFF;
}

.tab-count {
  min-width: 16px;
  height: 16px;
  line-height: 16px;
  border-radius: 499.5px;
  background: rgba(255,255,255,0.22);
  font-size: 10px;
  text-align: center;
}

.notif-list { padding: 10px 12px 14px; }

.notif-card {
  background: #FFFFFF;
  border-radius: 10px;
  padding: 12px;
  margin-bottom: 8px;
  box-shadow: 0 1px 5px rgba(0,0,0,0.04);
  transition: transform .18s ease, box-shadow .18s ease, opacity .18s ease;
}
.notif-card:active { transform: scale(.99); box-shadow: 0 6px 14px rgba(0,0,0,0.08); }

.notif-card.read { opacity: 0.72; }
.notif-card.alert-card{border:0.5px solid rgba(255,107,107,0.24);box-shadow:0 6px 13px rgba(255,107,107,0.08);}

.notif-header { display: flex; align-items: flex-start; gap: 8px; }

.notif-icon-wrap {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  flex-shrink: 0;
}

.notif-icon-wrap.alert { background: rgba(255,107,107,0.12); }
.notif-icon-wrap.system { background: rgba(74,144,217,0.12); }

.notif-info { flex: 1; min-width: 0; }

.notif-title-row {
  display: flex;
  align-items: center;
  gap: 5px;
}

.notif-title { font-size: 14.5px; font-weight: 700; color: #1D1D1F; }
.notif-time { display: block; margin-top: 4px; font-size: 11px; color: #9AA0A6; }

.unread-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #FF6B6B;
  flex-shrink: 0;
}

.notif-desc {
  display: block;
  margin-top: 7px;
  font-size: 12.5px;
  line-height: 1.7;
  color: #5F6B7A;
}

.notif-actions {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px;
  margin-top: 9px;
}

.notif-actions button {
  margin: 0;
  min-height: 32px;
  line-height: 32px;
  border-radius: 7px;
  background: #FFF7ED;
  color: #B45309;
  font-size: 12px;
  font-weight: 700;
}

.notif-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 9px;
}

.notif-type {
  padding: 4px 8px;
  border-radius: 499.5px;
  font-size: 10.5px;
  font-weight: 700;
}

.notif-type.alert {
  background: rgba(255,107,107,0.12);
  color: #FF6B6B;
}

.notif-type.system {
  background: rgba(74,144,217,0.12);
  color: #4A90D9;
}

.notif-read { font-size: 11px; color: #9AA0A6; }

.empty-icon { font-size: 44px; opacity: 0.45; display: block; }
.empty-text { margin-top: 8px; font-size: 14px; color: #6B7280; display: block; }
.empty-sub { margin-top: 5px; font-size: 11.5px; color: #A0A7B4; display: block; text-align: center; }
