.status-module {
  --status-green: #74d95d;
  --status-red: #ff5b4d;
  display: grid;
  gap: clamp(1rem, 2vw, 1.5rem);
  color: var(--ink);
}

.status-module__heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  min-width: 0;
}

.status-module__heading > * {
  min-width: 0;
}

.status-module__heading h2,
.status-module__heading h1 {
  margin: 0.2rem 0 0;
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: 0;
}

.status-module__copy {
  max-width: 44rem;
  color: var(--muted);
}

.status-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.status-card {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 8.2rem;
  gap: 0.95rem;
  padding: 1rem;
  overflow: hidden;
  border: 1px solid rgba(215, 179, 106, 0.32);
  border-radius: 8px;
  background:
    radial-gradient(circle at 20% 0%, rgba(215, 179, 106, 0.14), transparent 34%),
    linear-gradient(180deg, rgba(12, 20, 36, 0.94), rgba(6, 9, 18, 0.98));
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.status-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(255, 236, 182, 0.05);
}

.status-card__icon {
  width: clamp(3.1rem, 7vw, 4.4rem);
  height: clamp(3.1rem, 7vw, 4.4rem);
  flex: 0 0 auto;
  object-fit: contain;
  filter: drop-shadow(0 10px 16px rgba(0, 0, 0, 0.36));
}

.status-card__title {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.status-card__value {
  margin-top: 0.25rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.28rem, 2.4vw, 1.9rem);
  line-height: 1.05;
}

.status-card__detail {
  display: block;
  margin: 0.38rem 0 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.status-indicator {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 800;
}

.status-dot {
  width: 0.72rem;
  height: 0.72rem;
  flex: 0 0 auto;
  border-radius: 999px;
  box-shadow: 0 0 0 0.28rem rgba(255, 255, 255, 0.04);
}

.status-dot--green {
  background: var(--status-green);
  box-shadow: 0 0 0 0.28rem rgba(116, 217, 93, 0.12), 0 0 18px rgba(116, 217, 93, 0.36);
}

.status-dot--red {
  background: var(--status-red);
  box-shadow: 0 0 0 0.28rem rgba(255, 91, 77, 0.11), 0 0 18px rgba(255, 91, 77, 0.34);
}

.status-color--green {
  color: var(--status-green);
}

.status-color--red {
  color: var(--status-red);
}

.status-panel {
  display: grid;
  gap: 1rem;
  padding: clamp(1rem, 2vw, 1.3rem);
  border: 1px solid rgba(215, 179, 106, 0.28);
  border-radius: 8px;
  background: rgba(7, 12, 23, 0.62);
}

.push-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.88rem 0;
  border-bottom: 1px solid rgba(215, 179, 106, 0.16);
}

.push-toggle:last-child {
  border-bottom: 0;
}

.push-toggle span {
  display: grid;
  gap: 0.18rem;
}

.push-toggle strong {
  font-size: 0.98rem;
}

.push-toggle small {
  color: var(--muted);
}

.push-toggle input {
  width: 2.9rem;
  height: 1.5rem;
  accent-color: var(--gold);
}

.push-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  align-items: center;
}

.push-status {
  min-height: 1.4rem;
  color: var(--muted);
}

.push-start-banner {
  position: fixed;
  right: max(1rem, env(safe-area-inset-right));
  bottom: max(1rem, env(safe-area-inset-bottom));
  z-index: 90;
  width: min(38rem, calc(100vw - 2rem));
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.9rem;
  padding: 0.9rem;
  border: 1px solid rgba(215, 179, 106, 0.42);
  border-radius: 8px;
  background:
    radial-gradient(circle at 8% 0%, rgba(215, 179, 106, 0.16), transparent 38%),
    linear-gradient(180deg, rgba(12, 20, 36, 0.98), rgba(6, 9, 18, 0.98));
  box-shadow: 0 20px 46px rgba(0, 0, 0, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  color: var(--ink);
}

.push-start-banner img {
  width: 3rem;
  height: 3rem;
  object-fit: contain;
  filter: drop-shadow(0 10px 16px rgba(0, 0, 0, 0.36));
}

.push-start-banner__copy {
  min-width: 0;
  display: grid;
  gap: 0.2rem;
}

.push-start-banner__copy strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.05rem;
  line-height: 1.1;
}

.push-start-banner__copy span {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.35;
}

.push-start-banner__actions {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.status-diagnose {
  display: grid;
  gap: 0.55rem;
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.status-diagnose div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 0.45rem;
  border-bottom: 1px solid rgba(215, 179, 106, 0.12);
}

.status-diagnose div:last-child {
  border-bottom: 0;
}

.status-diagnose dt {
  color: var(--ink);
  font-weight: 700;
}

.home-status-section {
  padding: clamp(2.2rem, 5vw, 4rem) clamp(1rem, 3vw, 3rem);
  background: linear-gradient(180deg, rgba(6, 9, 18, 0.98), rgba(12, 20, 36, 0.94));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.home-status-section .status-module {
  max-width: 1180px;
  margin: 0 auto;
}

.notifications-page {
  overflow-x: clip;
  min-height: 100vh;
  padding: clamp(7rem, 11vw, 9rem) clamp(1rem, 3vw, 3rem) clamp(3rem, 6vw, 5rem);
  background:
    radial-gradient(circle at 82% 8%, rgba(117, 19, 49, 0.22), transparent 34%),
    linear-gradient(180deg, #060912 0%, #0c1424 48%, #070a14 100%);
}

.notifications-shell {
  width: min(1120px, 100%);
  max-width: 100%;
  min-width: 0;
  margin: 0 auto;
  display: grid;
  gap: 1.2rem;
}

.notifications-shell > *,
.notifications-page .status-module,
.notifications-page .status-panel {
  max-width: 100%;
  min-width: 0;
}

.notifications-page .status-module__heading {
  width: 100%;
  max-width: 100%;
}

.notifications-page .status-module__heading > div {
  width: 100%;
  max-width: 100%;
}

.notifications-page .status-module__heading h1 {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  font-size: clamp(2.45rem, 5.2vw, 4.15rem);
  line-height: 0.98;
  letter-spacing: 0;
  overflow-wrap: anywhere;
  word-break: normal;
  hyphens: auto;
}

@media (max-width: 960px) {
  .notifications-page .status-module__heading {
    display: grid;
    grid-template-columns: 1fr;
    align-items: start;
  }

  .notifications-page .status-module__heading h1 {
    font-size: clamp(2.15rem, 7.4vw, 3.2rem);
  }
}

@media (max-width: 860px) {
  .status-grid {
    grid-template-columns: 1fr;
  }

  .status-card {
    min-height: 7.2rem;
  }
}

@media (max-width: 520px) {
  .notifications-page {
    padding-inline: max(1rem, env(safe-area-inset-left));
  }

  .notifications-page .status-module__heading h1 {
    font-size: clamp(1.85rem, 9.4vw, 2.35rem);
    line-height: 1.02;
  }

  .push-start-banner {
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    width: auto;
    grid-template-columns: auto minmax(0, 1fr);
  }

  .push-start-banner__actions {
    grid-column: 1 / -1;
    justify-content: stretch;
  }

  .push-start-banner__actions .button {
    flex: 1 1 8rem;
    min-height: 44px;
  }

  .push-toggle {
    align-items: flex-start;
  }

  .status-diagnose div {
    display: grid;
  }
}
