:root {
  color-scheme: dark;
  font-family:
    -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei",
    sans-serif;
  background: #080b10;
  color: #f4f7fb;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 15%0, rgba(56, 91, 151, 0.42), transparent 34rem),
    radial-gradient(
      circle at 90% 20%,
      rgba(57, 139, 105, 0.2),
      transparent 28rem
    ),
    #080b10;
}
.shell {
  width: min(900px, calc(100% - 32px));
  margin: 0 auto;
  padding: 72px 0 80px;
}
.hero {
  padding: 0 4px;
}
.eyebrow {
  margin: 0 0 12px;
  color: #8faedb;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
}
h1 {
  font-size: clamp(3rem, 9vw, 6.5rem);
  letter-spacing: -0.075em;
  line-height: 0.92;
}
h1 span {
  display: block;
  color: #7ed3aa;
  font-weight: 520;
}
.lede {
  max-width: 690px;
  margin: 24px 0 0;
  color: #b4c0d0;
  font-size: clamp(1rem, 2vw, 1.16rem);
  line-height: 1.75;
}
.status-line {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 24px;
  color: #a8b9d0;
}
.status-line p,
footer p,
h1 {
  margin: 0;
}
.protocol-badge {
  display: inline-flex;
  align-items: center;
  min-height: 1.45rem;
  padding: 0.16rem 0.48rem;
  border: 1px solid rgba(119, 213, 177, 0.38);
  border-radius: 999px;
  background: rgba(48, 130, 96, 0.18);
  color: #9ae7c7;
  font:
    700 0.65rem/1 ui-monospace,
    SFMono-Regular,
    Menlo,
    monospace;
  letter-spacing: 0.12em;
}
.pulse {
  width: 0.62rem;
  height: 0.62rem;
  border-radius: 50%;
  background: #79d8aa;
  box-shadow: 0 0 0 6px rgba(121, 216, 170, 0.12);
}
.clips {
  display: grid;
  gap: 18px;
  margin-top: 48px;
}
.clip,
.empty {
  border: 1px solid rgba(139, 168, 207, 0.25);
  border-radius: 24px;
  background: linear-gradient(
    145deg,
    rgba(22, 33, 51, 0.9),
    rgba(10, 15, 24, 0.82)
  );
  box-shadow:
    inset 0 1px rgba(255, 255, 255, 0.045),
    0 24px 60px rgba(0, 0, 0, 0.24);
}
.empty {
  padding: 42px;
  color: #aab7c8;
  text-align: center;
}
.clip {
  min-width: 0;
  padding: 26px;
}
.clip pre {
  max-width: 100%;
  margin: 0;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  word-break: break-word;
  color: #edf3fc;
  font:
    500 1rem/1.7 ui-monospace,
    SFMono-Regular,
    Menlo,
    monospace;
}
.meta {
  margin-top: 18px;
  color: #8e9db2;
  font-size: 0.78rem;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 18px;
}
.actions a,
.actions button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.6rem 0.95rem;
  border: 1px solid rgba(146, 171, 207, 0.3);
  border-radius: 0.78rem;
  background: rgba(21, 34, 53, 0.78);
  color: #dce9fa;
  font: 700 0.88rem/1 inherit;
  text-decoration: none;
  cursor: pointer;
}
.actions a {
  color: #9ce8ce;
}
.actions a:hover,
.actions button:hover {
  border-color: rgba(139, 218, 255, 0.72);
  background: rgba(35, 55, 82, 0.92);
}
.actions a:focus-visible,
.actions button:focus-visible {
  outline: 3px solid rgba(126, 196, 255, 0.38);
  outline-offset: 3px;
}
footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid rgba(146, 171, 207, 0.18);
  color: #8795aa;
  font-size: 0.82rem;
}
footer a {
  color: #a9c9f4;
  text-underline-offset: 4px;
}
@media (max-width: 560px) {
  .shell {
    padding: 48px 0 56px;
  }
  .clip {
    padding: 20px;
    border-radius: 20px;
  }
  .actions > * {
    flex: 1 1 8rem;
  }
  footer {
    flex-direction: column;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
