:root {
  --bg-0: #050807;
  --bg-1: #0a110e;
  --bg-2: #101916;
  --panel: rgba(12, 22, 18, 0.92);
  --line: rgba(86, 140, 110, 0.28);
  --text: #eef4ef;
  --muted: #8a9a90;
  --green: #7dffa3;
  --green-dim: #3f8f5d;
  --cyan: #7ee7ff;
  --magenta: #d48cff;
  --orange: #ff9a4a;
  --red: #ff5a5a;
  --purple: #b07cff;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  min-height: 100%;
}

body {
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(1200px 700px at 50% -10%, rgba(40, 90, 60, 0.18), transparent 55%),
    radial-gradient(800px 500px at 80% 110%, rgba(80, 40, 90, 0.12), transparent 50%),
    linear-gradient(180deg, var(--bg-0), var(--bg-1) 40%, #070c0a);
}

.wrap {
  width: min(920px, calc(100% - 32px));
  margin: 0 auto;
  padding: 56px 0 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}

.icon-row {
  display: flex;
  gap: 22px;
  color: var(--red);
}

.icon-row svg {
  width: 34px;
  height: 34px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

h1 {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 700;
  letter-spacing: -0.03em;
  text-align: center;
}

.status-code {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--magenta);
  font-size: 15px;
}

.status-code svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
}

.panel {
  width: 100%;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 28px 26px 22px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}

.lead {
  text-align: center;
  color: var(--muted);
  font-size: 15px;
  margin-bottom: 22px;
}

.grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.card {
  background: rgba(8, 16, 13, 0.85);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px 18px;
  min-height: 118px;
}

.card-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 14px;
}

.card-title svg {
  width: 15px;
  height: 15px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
}

.is-green {
  color: var(--green);
}

.is-cyan {
  color: var(--cyan);
}

.is-orange {
  color: var(--orange);
}

.mono {
  font-family: "Cascadia Code", "Consolas", "Courier New", monospace;
  font-size: 13px;
  line-height: 1.55;
  color: var(--green);
  word-break: break-all;
}

.timer {
  font-family: "Cascadia Code", "Consolas", "Courier New", monospace;
  font-size: 42px;
  font-weight: 700;
  color: #d8ff7a;
  letter-spacing: 0.04em;
  line-height: 1;
}

.notice {
  margin-top: 14px;
  border: 1px solid rgba(255, 154, 74, 0.35);
  background: rgba(40, 22, 10, 0.55);
  border-radius: 12px;
  padding: 14px 16px 16px;
}

.notice p {
  color: #d7c4b2;
  font-size: 13.5px;
  line-height: 1.5;
}

.footer {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
}

.search-line {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
}

.search-line svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.7;
}

.hint {
  max-width: 620px;
  color: #6f7d74;
  font-size: 12.5px;
  line-height: 1.5;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(176, 124, 255, 0.35);
  background: rgba(18, 14, 28, 0.8);
  color: #cbb6ea;
  font-size: 12.5px;
  padding: 8px 14px;
  border-radius: 999px;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--purple);
  box-shadow: 0 0 10px var(--purple);
}

.links {
  display: flex;
  gap: 16px;
  font-size: 12px;
}

.links a {
  color: #6f7d74;
  text-decoration: none;
}

.links a:hover {
  color: var(--text);
}

.page {
  width: min(720px, calc(100% - 32px));
  margin: 48px auto;
}

.page h1 {
  text-align: left;
  font-size: 32px;
  margin: 16px 0 18px;
}

.page p,
.page li {
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 12px;
}

.page ul {
  padding-left: 18px;
  margin-bottom: 16px;
}

.back {
  color: var(--cyan);
  text-decoration: none;
  font-size: 13px;
}

@media (max-width: 720px) {
  .grid {
    grid-template-columns: 1fr;
  }

  .timer {
    font-size: 36px;
  }
}
