:root {
  --bg: #07100f;
  --panel: rgba(13, 28, 26, 0.82);
  --panel-solid: #0d1c1a;
  --panel-hover: #102420;
  --line: rgba(179, 213, 200, 0.12);
  --line-strong: rgba(179, 213, 200, 0.22);
  --text: #edf8f2;
  --muted: #8ca39a;
  --green: #57e39c;
  --green-bright: #93f5bf;
  --green-dim: rgba(87, 227, 156, 0.12);
  --red: #ff6b70;
  --red-dim: rgba(255, 107, 112, 0.12);
  --amber: #f4c96b;
  --amber-dim: rgba(244, 201, 107, 0.12);
  --mono: "SFMono-Regular", "Cascadia Code", "Roboto Mono", monospace;
  --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI",
    "PingFang SC", "Microsoft YaHei", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--bg);
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: var(--sans);
  background:
    radial-gradient(circle at 82% 2%, rgba(48, 139, 98, 0.16), transparent 31rem),
    radial-gradient(circle at -5% 50%, rgba(39, 101, 84, 0.1), transparent 28rem),
    linear-gradient(180deg, #081210 0%, #07100f 55%, #060d0c 100%);
}

body::before {
  position: fixed;
  inset: 0;
  pointer-events: none;
  content: "";
  opacity: 0.16;
  background-image:
    linear-gradient(rgba(193, 225, 212, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(193, 225, 212, 0.035) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, black, transparent 72%);
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.page-shell {
  position: relative;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 92px;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  gap: 13px;
  align-items: center;
  color: inherit;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid rgba(87, 227, 156, 0.35);
  border-radius: 10px;
  background: rgba(87, 227, 156, 0.08);
  box-shadow: inset 0 0 18px rgba(87, 227, 156, 0.04);
}

.brand-mark span {
  width: 12px;
  height: 12px;
  border: 2px solid var(--green);
  border-radius: 50%;
  box-shadow: 0 0 12px rgba(87, 227, 156, 0.7);
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 15px;
  letter-spacing: 0.04em;
}

.brand small {
  margin-top: 2px;
  color: var(--muted);
  font: 10px/1.2 var(--mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.live-indicator {
  display: inline-flex;
  gap: 9px;
  align-items: center;
  padding: 8px 12px;
  color: var(--muted);
  font-size: 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(5, 14, 12, 0.54);
}

.pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 0 4px var(--amber-dim);
}

.live-indicator.online .pulse-dot {
  background: var(--green);
  box-shadow: 0 0 0 4px var(--green-dim);
  animation: pulse 2.2s ease-out infinite;
}

.live-indicator.offline .pulse-dot {
  background: var(--red);
  box-shadow: 0 0 0 4px var(--red-dim);
}

main {
  padding: 54px 0 20px;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 240px;
  min-height: 280px;
  padding: 44px 46px 34px;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 28px;
  background:
    linear-gradient(110deg, rgba(18, 43, 37, 0.96), rgba(8, 20, 18, 0.86)),
    var(--panel-solid);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.2);
}

.hero::before {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 48%;
  height: 100%;
  pointer-events: none;
  content: "";
  background: radial-gradient(circle at 60% 48%, rgba(87, 227, 156, 0.13), transparent 55%);
}

.hero-copy,
.hero-meta {
  position: relative;
  z-index: 2;
}

.eyebrow,
.section-kicker {
  color: var(--green);
  font: 600 10px/1.4 var(--mono);
  letter-spacing: 0.16em;
}

.hero h1 {
  max-width: 690px;
  margin: 16px 0 12px;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.06;
  letter-spacing: -0.045em;
}

.hero-copy p {
  max-width: 620px;
  margin: 0;
  color: #9fb5ac;
  font-size: 15px;
  line-height: 1.7;
}

.hero-meta {
  display: flex;
  grid-column: 1 / -1;
  gap: 12px;
  align-items: center;
  align-self: end;
  color: var(--muted);
  font-size: 12px;
}

.hero-meta strong {
  color: #ccded6;
  font-weight: 500;
}

.next-check {
  margin-left: 10px;
  padding-left: 22px;
  border-left: 1px solid var(--line-strong);
}

.hero-orbit {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 220px;
  height: 220px;
  align-self: center;
  justify-self: center;
}

.orbit,
.status-core {
  position: absolute;
  border-radius: 50%;
}

.orbit-outer {
  width: 204px;
  height: 204px;
  border: 1px solid rgba(87, 227, 156, 0.16);
}

.orbit-outer::after,
.orbit-inner::after {
  position: absolute;
  top: -4px;
  left: 50%;
  width: 7px;
  height: 7px;
  content: "";
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 10px var(--green);
}

.orbit-outer::after {
  animation: orbit 7s linear infinite;
  transform-origin: 3px 106px;
}

.orbit-inner {
  width: 144px;
  height: 144px;
  border: 1px dashed rgba(87, 227, 156, 0.15);
}

.orbit-inner::after {
  top: auto;
  bottom: -3px;
  background: rgba(147, 245, 191, 0.7);
  animation: orbit-reverse 5s linear infinite;
  transform-origin: 3px -69px;
}

.status-core {
  display: grid;
  width: 78px;
  height: 78px;
  place-items: center;
  border: 1px solid rgba(87, 227, 156, 0.28);
  background: rgba(87, 227, 156, 0.09);
  box-shadow: 0 0 48px rgba(87, 227, 156, 0.12);
}

.status-core span {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 9px rgba(87, 227, 156, 0.08), 0 0 24px rgba(87, 227, 156, 0.72);
}

.hero.status-unhealthy .eyebrow,
.hero.status-unhealthy .section-kicker {
  color: var(--red);
}

.hero.status-unhealthy .status-core {
  border-color: rgba(255, 107, 112, 0.28);
  background: var(--red-dim);
  box-shadow: 0 0 48px rgba(255, 107, 112, 0.12);
}

.hero.status-unhealthy .status-core span,
.hero.status-unhealthy .orbit::after {
  background: var(--red);
  box-shadow: 0 0 0 9px rgba(255, 107, 112, 0.08), 0 0 24px rgba(255, 107, 112, 0.72);
}

.hero.status-unhealthy .orbit {
  border-color: rgba(255, 107, 112, 0.16);
}

.hero.status-warning .eyebrow {
  color: var(--amber);
}

.hero.status-warning .status-core {
  border-color: rgba(244, 201, 107, 0.28);
  background: var(--amber-dim);
  box-shadow: 0 0 48px rgba(244, 201, 107, 0.12);
}

.hero.status-warning .status-core span,
.hero.status-warning .orbit::after {
  background: var(--amber);
  box-shadow: 0 0 0 9px rgba(244, 201, 107, 0.08), 0 0 24px rgba(244, 201, 107, 0.62);
}

.hero.status-warning .orbit {
  border-color: rgba(244, 201, 107, 0.16);
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  margin: 14px 0;
}

.metric-card {
  min-height: 145px;
  padding: 23px 24px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--panel);
  backdrop-filter: blur(14px);
}

.metric-card.warning {
  border-color: rgba(244, 201, 107, 0.32);
  background: linear-gradient(145deg, var(--amber-dim), var(--panel));
}

.metric-card.critical {
  border-color: rgba(255, 107, 112, 0.36);
  background: linear-gradient(145deg, var(--red-dim), var(--panel));
}

.live-indicator.warning .pulse-dot {
  background: var(--amber);
  box-shadow: 0 0 0 4px var(--amber-dim);
  animation: pulse-warning 2.2s ease-out infinite;
}

.metric-label,
.metric-note {
  display: block;
  color: var(--muted);
  font-size: 11px;
}

.metric-label {
  margin-bottom: 17px;
  letter-spacing: 0.04em;
}

.metric-value {
  display: block;
  min-height: 36px;
  overflow: hidden;
  font-size: 29px;
  line-height: 1.2;
  letter-spacing: -0.035em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.metric-value.mono {
  font-family: var(--mono);
  font-size: 21px;
  letter-spacing: -0.03em;
}

.metric-note {
  margin-top: 10px;
}

.panel {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--panel);
  backdrop-filter: blur(14px);
}

.history-panel,
.chain-panel,
.events-panel,
.resource-panel,
.external-probe-panel {
  margin-top: 14px;
}

.external-probe-panel.warning {
  border-color: rgba(244, 201, 107, 0.3);
}

.external-probe-panel.critical {
  border-color: rgba(255, 107, 112, 0.36);
}

.external-probe-summary {
  display: flex;
  gap: 14px;
  align-items: center;
  margin: -8px 0 18px;
  color: var(--muted);
  font-size: 11px;
}

.external-probe-summary strong {
  color: #c9dbd3;
  font-weight: 500;
}

.external-probe-summary span:last-child {
  margin-left: auto;
  font-family: var(--mono);
}

.external-route-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.external-route-card {
  padding: 18px;
  border: 1px solid rgba(179, 213, 200, 0.1);
  border-radius: 14px;
  background: rgba(5, 14, 12, 0.42);
}

.external-route-card.bad {
  border-color: rgba(255, 107, 112, 0.22);
  background: rgba(255, 107, 112, 0.035);
}

.external-route-heading {
  display: grid;
  grid-template-columns: 9px 1fr auto;
  gap: 10px;
  align-items: center;
}

.external-route-heading strong {
  font-size: 13px;
}

.external-route-state {
  color: var(--muted);
  font: 9px/1.3 var(--mono);
}

.external-route-card.ok .external-route-state {
  color: var(--green-bright);
}

.external-route-card.bad .external-route-state {
  color: #ff9a9d;
}

.external-route-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 17px;
}

.external-route-metrics div {
  padding: 11px;
  border: 1px solid rgba(179, 213, 200, 0.08);
  border-radius: 9px;
}

.external-route-metrics span,
.external-route-metrics strong {
  display: block;
}

.external-route-metrics span {
  color: var(--muted);
  font-size: 9px;
}

.external-route-metrics strong {
  margin-top: 6px;
  font-size: 16px;
}

.external-route-metrics strong.mono {
  font: 12px/1.4 var(--mono);
}

.external-route-card p {
  margin: 13px 0 0;
  color: var(--muted);
  font: 9px/1.5 var(--mono);
}

.panel-heading {
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.panel-heading.compact {
  margin-bottom: 18px;
}

.panel h2 {
  margin: 5px 0 0;
  font-size: 20px;
  line-height: 1.2;
  letter-spacing: -0.025em;
}

.panel-note,
.summary-count {
  color: var(--muted);
  font-size: 11px;
}

.summary-count {
  padding: 6px 9px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-family: var(--mono);
}

.range-switcher {
  display: flex;
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(4, 12, 10, 0.48);
}

.resource-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.resource-card {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: rgba(5, 14, 12, 0.42);
}

.resource-card.warning {
  border-color: rgba(244, 201, 107, 0.34);
  background: linear-gradient(145deg, var(--amber-dim), rgba(5, 14, 12, 0.42));
}

.resource-card.critical {
  border-color: rgba(255, 107, 112, 0.38);
  background: linear-gradient(145deg, var(--red-dim), rgba(5, 14, 12, 0.42));
}

.resource-heading,
.resource-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.network-card .resource-heading strong {
  color: #bed0c8;
  font: 11px/1.4 var(--mono);
  letter-spacing: 0;
}

.network-rates {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 16px 0 14px;
}

.network-rates div {
  padding: 10px;
  border: 1px solid rgba(179, 213, 200, 0.08);
  border-radius: 9px;
  background: rgba(4, 12, 10, 0.42);
}

.network-rates span,
.network-rates strong {
  display: block;
}

.network-rates span {
  color: var(--muted);
  font-size: 9px;
}

.network-rates strong {
  margin-top: 6px;
  font: 12px/1.25 var(--mono);
}

.network-meta {
  flex-wrap: wrap;
}

.resource-heading span {
  color: var(--muted);
  font-size: 11px;
}

.resource-heading strong {
  font-size: 25px;
  letter-spacing: -0.035em;
}

.resource-card progress {
  width: 100%;
  height: 7px;
  margin: 20px 0 13px;
  overflow: hidden;
  border: 0;
  border-radius: 999px;
  background: rgba(179, 213, 200, 0.08);
  -webkit-appearance: none;
  appearance: none;
}

.resource-card progress::-webkit-progress-bar {
  border-radius: 999px;
  background: rgba(179, 213, 200, 0.08);
}

.resource-card progress::-webkit-progress-value {
  border-radius: 999px;
  background: var(--green);
}

.resource-card progress::-moz-progress-bar {
  border-radius: 999px;
  background: var(--green);
}

.resource-card.warning progress::-webkit-progress-value {
  background: var(--amber);
}

.resource-card.warning progress::-moz-progress-bar {
  background: var(--amber);
}

.resource-card.critical progress::-webkit-progress-value {
  background: var(--red);
}

.resource-card.critical progress::-moz-progress-bar {
  background: var(--red);
}

.resource-meta {
  gap: 12px;
  color: var(--muted);
  font: 9px/1.4 var(--mono);
}

.range-switcher button {
  padding: 7px 11px;
  color: var(--muted);
  font: 11px/1 var(--sans);
  border: 0;
  border-radius: 7px;
  background: transparent;
  cursor: pointer;
}

.range-switcher button:hover,
.range-switcher button:focus-visible {
  color: var(--text);
  outline: none;
}

.range-switcher button.active {
  color: var(--green-bright);
  background: var(--green-dim);
}

.chart-wrap {
  position: relative;
  height: 230px;
}

#history-chart {
  display: block;
  width: 100%;
  height: 100%;
}

.chart-empty {
  position: absolute;
  inset: 0;
  display: none;
  place-items: center;
  color: var(--muted);
  font-size: 12px;
}

.chart-empty.visible {
  display: grid;
}

.chart-legend {
  display: flex;
  gap: 20px;
  align-items: center;
  margin-top: 13px;
  color: var(--muted);
  font-size: 10px;
}

.chart-legend span {
  display: inline-flex;
  gap: 7px;
  align-items: center;
}

.chart-legend strong {
  margin-left: auto;
  color: #bfd1ca;
  font-weight: 500;
}

.legend-line {
  width: 15px;
  height: 2px;
  background: var(--green);
}

.legend-outage {
  width: 9px;
  height: 9px;
  border-radius: 2px;
  background: var(--red);
}

.chain {
  display: grid;
  grid-template-columns: 1fr 42px 1fr 42px 1fr 42px 1fr 42px 1fr;
  align-items: center;
}

.chain-node {
  position: relative;
  min-width: 0;
  padding: 18px 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(6, 16, 14, 0.46);
}

.chain-node strong,
.chain-node small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.chain-node strong {
  margin-top: 22px;
  font-size: 12px;
}

.chain-node small {
  margin-top: 6px;
  color: var(--muted);
  font: 9px/1.3 var(--mono);
}

.node-index {
  position: absolute;
  top: 12px;
  right: 13px;
  color: #48645a;
  font: 9px/1 var(--mono);
}

.node-light {
  position: absolute;
  top: 15px;
  left: 16px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #466157;
  box-shadow: 0 0 0 4px rgba(70, 97, 87, 0.12);
}

.chain-node.ok .node-light {
  background: var(--green);
  box-shadow: 0 0 0 4px var(--green-dim);
}

.chain-node.bad .node-light {
  background: var(--red);
  box-shadow: 0 0 0 4px var(--red-dim);
}

.chain-node.unknown .node-light {
  background: var(--amber);
  box-shadow: 0 0 0 4px var(--amber-dim);
}

.chain-link {
  position: relative;
  height: 1px;
  overflow: hidden;
  background: var(--line-strong);
}

.chain-link span {
  position: absolute;
  top: 0;
  left: -50%;
  width: 45%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--green), transparent);
  animation: flow 2.4s linear infinite;
}

.detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 14px;
}

.data-list,
.service-grid,
.event-list {
  display: grid;
  gap: 8px;
}

.data-row,
.service-row,
.event-row {
  display: grid;
  gap: 12px;
  align-items: center;
  min-height: 52px;
  padding: 11px 13px;
  border: 1px solid rgba(179, 213, 200, 0.08);
  border-radius: 11px;
  background: rgba(5, 14, 12, 0.4);
}

.data-row {
  grid-template-columns: 10px minmax(100px, 1fr) auto auto;
}

.service-row {
  grid-template-columns: 10px 1fr auto;
}

.row-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 4px var(--red-dim);
}

.ok .row-dot {
  background: var(--green);
  box-shadow: 0 0 0 4px var(--green-dim);
}

.row-name {
  min-width: 0;
  overflow: hidden;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.row-value,
.row-meta {
  color: var(--muted);
  font: 10px/1.4 var(--mono);
}

.row-value {
  color: #bed0c8;
}

.event-row {
  grid-template-columns: 110px 1fr auto;
}

.event-row.bad {
  border-color: rgba(255, 107, 112, 0.13);
  background: rgba(255, 107, 112, 0.035);
}

.event-time,
.event-tag {
  color: var(--muted);
  font: 10px/1.3 var(--mono);
}

.event-message {
  font-size: 12px;
}

.event-tag {
  padding: 5px 7px;
  border-radius: 6px;
  background: var(--red-dim);
  color: #ff9a9d;
}

.event-tag.recovered {
  color: var(--green-bright);
  background: var(--green-dim);
}

.skeleton-row {
  height: 52px;
  border-radius: 11px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.02));
  background-size: 220% 100%;
  animation: skeleton 1.5s ease infinite;
}

.empty-state {
  display: grid;
  min-height: 74px;
  place-items: center;
  color: var(--muted);
  font-size: 12px;
  border: 1px dashed var(--line);
  border-radius: 11px;
}

footer {
  display: flex;
  justify-content: space-between;
  padding: 30px 3px 44px;
  color: #536b62;
  font: 9px/1.4 var(--mono);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(87, 227, 156, 0.42); }
  70% { box-shadow: 0 0 0 7px rgba(87, 227, 156, 0); }
  100% { box-shadow: 0 0 0 0 rgba(87, 227, 156, 0); }
}

@keyframes pulse-warning {
  0% { box-shadow: 0 0 0 0 rgba(244, 201, 107, 0.42); }
  70% { box-shadow: 0 0 0 7px rgba(244, 201, 107, 0); }
  100% { box-shadow: 0 0 0 0 rgba(244, 201, 107, 0); }
}

@keyframes orbit {
  to { transform: rotate(360deg); }
}

@keyframes orbit-reverse {
  to { transform: rotate(-360deg); }
}

@keyframes flow {
  to { left: 120%; }
}

@keyframes skeleton {
  to { background-position: -120% 0; }
}

@media (max-width: 940px) {
  .hero {
    grid-template-columns: 1fr 180px;
  }

  .hero-orbit {
    width: 180px;
    transform: scale(0.82);
  }

  .metric-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .resource-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .external-route-grid {
    grid-template-columns: 1fr;
  }

  .chain {
    grid-template-columns: 1fr;
  }

  .chain-link {
    width: 1px;
    height: 24px;
    justify-self: center;
  }

  .chain-link span {
    top: -50%;
    left: 0;
    width: 1px;
    height: 45%;
    background: linear-gradient(180deg, transparent, var(--green), transparent);
    animation-name: flow-vertical;
  }

  @keyframes flow-vertical {
    to { top: 120%; }
  }
}

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

  .topbar {
    min-height: 76px;
  }

  main {
    padding-top: 28px;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: 330px;
    padding: 30px 27px 25px;
  }

  .hero h1 {
    font-size: 38px;
  }

  .hero-orbit {
    position: absolute;
    right: -48px;
    bottom: -42px;
    opacity: 0.5;
  }

  .external-probe-summary {
    display: grid;
  }

  .external-probe-summary span:last-child {
    margin-left: 0;
  }

  .hero-meta {
    flex-wrap: wrap;
    align-self: end;
    padding-right: 64px;
  }

  .next-check {
    width: 100%;
    margin-left: 0;
    padding-left: 0;
    border-left: 0;
  }

  .metric-grid,
  .detail-grid,
  .resource-grid {
    grid-template-columns: 1fr;
  }

  .metric-card {
    min-height: 124px;
  }

  .panel {
    padding: 22px 18px;
  }

  .panel-heading {
    align-items: flex-start;
  }

  .range-switcher button {
    padding: 7px 8px;
    font-size: 10px;
  }

  .chart-wrap {
    height: 190px;
  }

  .data-row {
    grid-template-columns: 10px minmax(80px, 1fr) auto;
  }

  .data-row .row-value {
    display: none;
  }

  .event-row {
    grid-template-columns: 1fr auto;
  }

  .event-message {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  footer {
    gap: 12px;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
