/* 新用户主路径子页：与首页 A 一致的深色底与青绿强调 */
:root {
  --mc-bg: #000000;
  --nu-bg: #000000;
  --nu-teal-a: #00ad8f;
  --nu-teal-b: #00a0af;
  --nu-muted: rgba(255, 255, 255, 0.68);
  --nu-faint: rgba(255, 255, 255, 0.38);
  --nu-max: min(100%, 480px);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
}

body {
  margin: 0;
  min-height: 100dvh;
  background: var(--mc-bg);
  color: #fff;
  font-family: "Nunito Sans", "Noto Sans SC", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.nu-flow {
  max-width: var(--nu-max);
  margin: 0 auto;
  min-height: 100dvh;
  /* 为固定顶栏留出空间（与 lumenfeel-home / lumenfeel-home-e 主区衔接方式一致） */
  padding: calc(max(8px, env(safe-area-inset-top, 0px)) + 56px) 16px calc(16px + env(safe-area-inset-bottom));
  display: flex;
  flex-direction: column;
}

.nu-flow__page-title {
  margin: 0 0 18px;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.nu-link-text {
  appearance: none;
  background: none;
  border: none;
  padding: 0;
  margin: 0 0 16px;
  font-size: 13px;
  color: rgba(180, 240, 220, 0.85);
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
  font-family: inherit;
  align-self: flex-start;
}

.nu-link-text:hover {
  color: rgba(220, 255, 240, 0.95);
}

/* 正文区底部「返回首页」文本链（在 .nu-flow 弹性列中居中） */
.nu-link-text.nu-link-text--home {
  align-self: center;
  text-align: center;
  width: 100%;
}

.nu-card {
  border-radius: 20px;
  border: 0.5px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  padding: 18px 16px;
  margin-bottom: 16px;
}

.nu-card p {
  margin: 0 0 10px;
  font-size: 14px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.88);
}

.nu-card p:last-child {
  margin-bottom: 0;
}

.nu-muted {
  font-size: 13px;
  color: var(--nu-muted);
  line-height: 1.45;
}

.nu-status {
  margin-top: 10px;
  color: rgba(122, 241, 221, 0.92);
}

.nu-build {
  margin-top: 8px;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.34);
  letter-spacing: 0.04em;
}

.nu-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.nu-tag {
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 0.5px solid rgba(0, 200, 175, 0.35);
  background: rgba(0, 173, 143, 0.12);
  color: rgba(200, 255, 235, 0.92);
}

.nu-actions {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 8px;
}

.nu-btn {
  appearance: none;
  border: none;
  border-radius: 999px;
  padding: 14px 20px;
  font-size: 15px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  text-align: center;
}

.nu-btn--primary {
  color: #fff;
  background: linear-gradient(90deg, var(--nu-teal-a), var(--nu-teal-b));
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.nu-btn--ghost {
  color: rgba(255, 255, 255, 0.85);
  background: rgba(255, 255, 255, 0.08);
  border: 0.5px solid rgba(255, 255, 255, 0.14);
}

.nu-btn--ghost:hover {
  background: rgba(255, 255, 255, 0.12);
}

.nu-loader {
  text-align: center;
  padding: 28px 12px;
  font-size: 14px;
  color: var(--nu-muted);
}

.nu-timer {
  font-size: 42px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-align: center;
  margin: 16px 0 8px;
  font-variant-numeric: tabular-nums;
}

.nu-rating {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin: 16px 0;
}

.nu-rating button {
  appearance: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 0.5px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
}

.nu-rating button.is-selected,
.nu-rating button:hover {
  border-color: rgba(0, 200, 175, 0.55);
  background: rgba(0, 173, 143, 0.25);
}

.nu-textarea {
  width: 100%;
  min-height: 72px;
  border-radius: 14px;
  border: 0.5px solid rgba(255, 255, 255, 0.14);
  background: rgba(0, 0, 0, 0.35);
  color: #fff;
  padding: 12px;
  font-size: 14px;
  font-family: inherit;
  resize: vertical;
  margin-top: 8px;
}

.nu-textarea::placeholder {
  color: rgba(255, 255, 255, 0.35);
}

.nu-plan-day {
  padding: 12px 0;
  border-bottom: 0.5px solid rgba(255, 255, 255, 0.08);
  font-size: 14px;
  line-height: 1.45;
}

.nu-plan-day:last-child {
  border-bottom: none;
}

.nu-plan-day strong {
  display: block;
  font-size: 13px;
  color: rgba(200, 255, 230, 0.75);
  margin-bottom: 4px;
  letter-spacing: 0.06em;
}

.nu-disclaimer {
  margin-top: 20px;
  font-size: 8px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.28);
  text-align: center;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
