.luma-notifications {
  position: relative;
}

.luma-notifications__btn {
  position: relative;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--bg-elev1);
  color: var(--text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--t-fast) ease;
}

.luma-notifications__btn:hover {
  border-color: color-mix(in oklab, var(--accent) 40%, var(--border));
  background: var(--bg-elev2);
}

.luma-notifications__btn:focus-visible {
  outline: none;
  box-shadow: var(--focus);
}

.luma-notifications__badge {
  position: absolute;
  top: -5px;
  right: -4px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--danger);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--bg);
}

.luma-notifications__badge.hidden {
  display: none;
}

.luma-notifications__panel {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: min(360px, 90vw);
  max-height: 430px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: linear-gradient(180deg, var(--bg-elev1), var(--bg-elev2));
  box-shadow: 0 18px 30px rgba(0, 0, 0, 0.32);
  z-index: 1300;
  overflow: hidden;
}

.luma-notifications__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 12px;
  border-bottom: 1px solid var(--border);
}

.luma-notifications__mark-all {
  border: 0;
  background: transparent;
  color: var(--luma-blue);
  font-size: 12px;
  cursor: pointer;
}

.luma-notifications__mark-all:hover {
  color: var(--luma-glow);
}

.luma-notifications__list {
  list-style: none;
  margin: 0;
  padding: 0;
  max-height: 370px;
  overflow: auto;
}

.luma-notifications__item {
  display: grid;
  gap: 4px;
  padding: 10px 12px;
  border-bottom: 1px solid color-mix(in oklab, var(--border) 72%, transparent);
  cursor: pointer;
}

.luma-notifications__item:hover {
  background: color-mix(in oklab, var(--bg-elev2) 85%, var(--accent) 15%);
}

.luma-notifications__item.is-unread {
  border-left: 2px solid var(--accent);
  padding-left: 10px;
}

.luma-notifications__title {
  color: var(--text);
  font-size: 14px;
  font-weight: 650;
  margin: 0;
}

.luma-notifications__body {
  color: var(--text-quiet);
  font-size: 13px;
  margin: 0;
}

.luma-notifications__meta {
  color: var(--muted);
  font-size: 11px;
}

.luma-notifications__empty {
  padding: 12px;
  color: var(--text-quiet);
}

