:root {
  color-scheme: dark;
  --bg: #07080d;
  --surface: rgba(16, 20, 33, 0.86);
  --surface-strong: rgba(21, 27, 44, 0.96);
  --line: rgba(255, 255, 255, 0.08);
  --text: #f5f7fb;
  --muted: rgba(255, 255, 255, 0.68);
  --gold: #ffcb6e;
  --red: #ff7559;
  --green: #6dffc5;
  --blue: #8cabff;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  background: var(--bg);
  color: var(--text);
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
}

body {
  position: relative;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

.noise,
.aurora {
  pointer-events: none;
  position: fixed;
  inset: auto;
  z-index: 0;
}

.noise {
  inset: 0;
  opacity: 0.16;
  background-image:
    radial-gradient(rgba(255, 255, 255, 0.08) 0.7px, transparent 0.7px);
  background-size: 16px 16px;
  mix-blend-mode: soft-light;
}

.aurora {
  width: 32rem;
  height: 32rem;
  border-radius: 999px;
  filter: blur(68px);
  opacity: 0.24;
}

.aurora--red {
  top: -9rem;
  left: -8rem;
  background: rgba(255, 90, 90, 0.44);
}

.aurora--gold {
  right: -8rem;
  top: 5rem;
  background: rgba(255, 184, 82, 0.34);
}

.page-shell {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 24px 0 44px;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.brand-mark {
  width: 46px;
  height: 46px;
  border-radius: 16px;
  display: inline-grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(255, 103, 77, 0.9), rgba(255, 204, 103, 0.88));
  color: #1c120c;
  font-weight: 900;
}

.brand-copy {
  display: grid;
  gap: 4px;
}

.brand-copy small,
.panel-subcopy,
.hero-text,
.empty-copy,
.notification-author-copy span {
  color: var(--muted);
}

.topbar-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.topbar-links a,
.ghost-btn,
.primary-btn {
  min-height: 42px;
  padding: 10px 16px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  color: inherit;
  font: inherit;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.topbar-links a:hover,
.ghost-btn:hover,
.primary-btn:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 104, 85, 0.28);
  background: rgba(255, 255, 255, 0.08);
}

.primary-btn {
  background: linear-gradient(135deg, #ff8268, #ffbe63);
  border-color: rgba(255, 176, 92, 0.44);
  color: #150d0a;
  font-weight: 800;
  cursor: pointer;
}

.ghost-btn,
.danger-btn {
  cursor: pointer;
}

.danger-btn {
  color: #ffd8d8;
  border-color: rgba(255, 126, 126, 0.2);
  background: rgba(255, 111, 111, 0.08);
}

.notifications-layout {
  display: grid;
  gap: 24px;
  margin-top: 28px;
}

.hero-block {
  max-width: 920px;
}

.eyebrow,
.panel-kicker {
  margin: 0 0 10px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #ff9f70;
}

h1,
h2,
p {
  margin: 0;
}

h1 {
  font-family: "Manrope", "Space Grotesk", sans-serif;
  font-size: clamp(2.2rem, 4vw, 4.2rem);
  line-height: 1.04;
}

h2 {
  font-family: "Manrope", "Space Grotesk", sans-serif;
  font-size: clamp(1.5rem, 2.2vw, 2rem);
}

.hero-text,
.panel-subcopy,
.empty-copy,
.notification-message,
.notification-author-copy span,
.status-pill {
  line-height: 1.7;
}

.panel-card,
.login-card {
  display: grid;
  gap: 18px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--surface);
  backdrop-filter: blur(16px);
  padding: 22px;
}

.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 20px;
  align-items: start;
  max-width: 900px;
}

.panel-head,
.notification-head,
.notification-author,
.notification-author-copy,
.notification-list {
  display: grid;
  gap: 12px;
}

.action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.notification-card {
  display: grid;
  gap: 14px;
  padding: 18px;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
}

.notification-head {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
}

.notification-author {
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
}

.notification-avatar {
  width: 52px;
  height: 52px;
  border-radius: 999px;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.08);
}

.notification-author-copy strong,
.notification-author-copy span,
.notification-message {
  overflow-wrap: anywhere;
}

.status-pill {
  padding: 14px 18px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
}

.status-pill[data-tone="success"] {
  color: var(--green);
}

.status-pill[data-tone="error"] {
  color: var(--gold);
}

.status-pill[data-tone="loading"] {
  color: var(--blue);
}

.owner-hint {
  margin-top: 18px;
  padding: 16px 18px;
  border-radius: 18px;
  border: 1px solid rgba(255, 176, 92, 0.2);
  background: rgba(255, 176, 92, 0.08);
  max-width: 760px;
}

.is-hidden {
  display: none !important;
}

@media (max-width: 720px) {
  .page-shell {
    width: min(100% - 20px, 1180px);
    padding-top: 18px;
  }

  .panel-card,
  .login-card {
    padding: 18px;
    border-radius: 22px;
  }

  .topbar-links,
  .action-row {
    width: 100%;
  }

  .topbar-links > *,
  .action-row > * {
    flex: 1 1 100%;
  }

  .notification-head {
    grid-template-columns: 1fr;
  }
}
