:root {
  --bg: #0f1221;
  --card: #151a2e;
  --text: #e8ebff;
  --muted: #aab1d6;
  --primary: #5b7cff;
  --primary-2: #6aa7ff;
  --accent: #22d1ee;
  --success: #31d0aa;
  --shadow: 0 10px 30px rgba(0,0,0,.35);
  --ring-red: #ff5a5a;
  --ring-bg: #ffffff;
  --btn-red: #ff6565;
  --btn-red-hover: #ff7777;
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  background: #e7ecef; /* 与截图相近的浅灰背景 */
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.container {
  min-height: 100%;
  display: grid;
  grid-template-rows: auto 1fr auto;
  padding: 24px 16px;
}

.main { display: grid; place-items: center; }
.card {
  width: 100%; max-width: 720px;
  background: #ffffff;
  border: 0;
  border-radius: 12px;
  padding: 28px 18px 26px;
  box-shadow: 0 22px 35px rgba(0,0,0,.08);
}

.card-elevated { position: relative; }
.card-elevated::after {
  content: "";
  position: absolute; left: 18px; right: 18px; bottom: -18px; height: 120px;
  background: #d9e0e4; border-radius: 10px; filter: blur(4px); opacity: .7;
  z-index: -1;
}

.status-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 12px; }
#status-text { font-weight: 600; }
.countdown { color: var(--muted); }

.progress { position: relative; height: 8px; background: rgba(0,0,0,.06); border-radius: 999px; overflow: hidden; }
.progress .bar { height: 100%; width: 0%; background: linear-gradient(90deg, var(--primary), var(--primary-2)); transition: width .2s ease; }

.target { margin-top: 12px; color: var(--muted); font-size: 14px; }
.target a { color: var(--accent); word-break: break-all; }

.actions { display: flex; gap: 10px; margin-top: 16px; }
.actions-center { justify-content: center; align-items: center; position: relative; }
.btn {
  appearance: none; border: 0; cursor: pointer; user-select: none;
  padding: 10px 14px; border-radius: 10px;
  background: rgba(0,0,0,.06); color: #333;
  font-weight: 600; font-size: 14px;
  transition: transform .12s ease, background .2s ease, box-shadow .2s ease;
}
.btn:hover { transform: translateY(-1px); background: rgba(255,255,255,.1); }
.btn:active { transform: translateY(0); }
.btn.primary { background: linear-gradient(135deg, var(--primary), var(--accent)); box-shadow: 0 6px 20px rgba(91,124,255,.35); }
.btn.primary:hover { filter: brightness(1.05); }

.btn-red { background: var(--btn-red); color: #fff; padding: 12px 18px; border-radius: 28px; min-width: 220px; box-shadow: 0 8px 18px rgba(255,101,101,.35); }
.btn-red:hover { background: var(--btn-red-hover); }

.ring-wrap { display: grid; place-items: center; margin-top: 6px; }
.progress-ring { position: relative; width: 180px; height: 180px; }
.progress-ring-svg { transform: rotate(-90deg); }
.progress-ring-circle { stroke-dasharray: 502.4; stroke-dashoffset: 502.4; transition: stroke-dashoffset 0.3s ease; }
.progress-content { 
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center;
}
.progress-percent { font-size: 36px; font-weight: 800; color: #111; line-height: 1; margin-bottom: 4px; }
.progress-text { font-size: 14px; color: #666; font-weight: 500; }

.text-lines { text-align: center; margin-top: 16px; }
.text-lines .line-1 { color: #3b7b6e; font-weight: 700; font-size: 18px; }
.text-lines .line-2 { color: #222; font-size: 14px; margin-top: 6px; }


.visually-hidden { position: absolute !important; clip: rect(1px,1px,1px,1px); padding: 0 !important; border: 0 !important; height: 1px !important; width: 1px !important; overflow: hidden; white-space: nowrap; }

.noscript { margin-top: 14px; font-size: 14px; color: var(--muted); }

.footer { max-width: 720px; margin: 18px auto 0; color: var(--muted); font-size: 12px; text-align: center; }

@media (max-width: 420px) {
  .logo { width: 40px; height: 40px; font-size: 20px; }
  .brand-text .title { font-size: 16px; }
}


