/* 桃子 AI 充值中心 · 桃之夭夭 */
:root {
  --page: #ffecee;
  --surface: #ffffff;
  --surface-hover: #fff6f7;
  --border: #f3d4da;
  --input-border: #f3d4da;
  --text: #2b2b2b;
  --text-secondary: #8a8a8a;
  --primary: #ff7a8a;
  --primary-hover: #ff6275;
  --secondary: #ffc1ca;
  --highlight: #ff7a8a;
  --on-accent: #ffffff;
  --danger: #d64555;
  --radius-control: 12px;
  --radius-card: 16px;
  --radius-hero: 24px;
  --max-width: 680px;
  --gutter: 16px;
  --motion: 180ms ease;
  --font: "Segoe UI", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
}

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

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background:
    radial-gradient(900px 420px at 50% -8%, rgba(255, 193, 202, 0.55), transparent 62%),
    var(--page);
}

a {
  color: var(--primary);
  text-decoration: none;
}

a:hover {
  color: var(--primary-hover);
}

button,
input,
textarea {
  font: inherit;
}

.shell {
  position: relative;
  min-height: 100vh;
  overflow-x: hidden;
}

.glow {
  pointer-events: none;
  position: fixed;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.35;
}

.glow-a {
  width: 420px;
  height: 420px;
  top: -120px;
  right: -80px;
  background: radial-gradient(circle, #ffc1ca 0%, transparent 70%);
  opacity: 0.55;
}

.glow-b {
  width: 280px;
  height: 280px;
  bottom: 10%;
  left: -60px;
  background: radial-gradient(circle, #ff7a8a 0%, transparent 70%);
  opacity: 0.16;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
  padding: 12px 24px;
  background: color-mix(in srgb, var(--surface) 92%, transparent);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(12px);
}

.brand {
  justify-self: start;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  text-decoration: none;
}

.brand:hover {
  color: var(--text);
}

.brand-logo {
  width: 40px;
  height: 40px;
  object-fit: cover;
  flex-shrink: 0;
  display: block;
  border-radius: 12px;
  box-shadow: 0 6px 16px rgba(255, 122, 138, 0.22);
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.brand-title {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.2;
}

.brand small {
  display: block;
  font-size: 11px;
  font-weight: 500;
  color: var(--text-secondary);
  letter-spacing: 0.06em;
  line-height: 1.2;
}

.hero-with-logo {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.hero-logo {
  width: 72px;
  height: 72px;
  object-fit: cover;
  flex-shrink: 0;
  margin-top: 4px;
  display: block;
  border-radius: 20px;
  box-shadow: 0 10px 24px rgba(255, 122, 138, 0.2);
}

.hero-copy {
  flex: 1;
  min-width: 0;
}

.site-footer {
  margin-top: 48px;
  border-top: 1px solid var(--border);
  background: color-mix(in srgb, var(--surface) 55%, var(--page));
}

.site-footer-inner {
  width: min(100% - var(--gutter) * 2, 1120px);
  margin: 0 auto;
  padding: 32px 0 24px;
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 28px 24px;
}

.site-footer-brand {
  min-width: 0;
}

.site-footer-logo {
  width: 40px;
  height: 40px;
  object-fit: cover;
  display: block;
  margin-bottom: 12px;
  border-radius: 12px;
}

.site-footer-tagline {
  margin: 0 0 6px;
  font-size: 14px;
  color: var(--text-secondary);
}

.site-footer-domain {
  margin: 0;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--text-secondary);
}

.site-footer-col h3 {
  margin: 0 0 12px;
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
}

.site-footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer-col li + li {
  margin-top: 8px;
}

.site-footer-col a {
  color: var(--text-secondary);
  font-size: 13px;
}

.site-footer-col a:hover {
  color: var(--primary);
}

.site-footer-bottom {
  width: min(100% - var(--gutter) * 2, 1120px);
  margin: 0 auto;
  padding: 14px 0 28px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 12px;
  color: var(--text-secondary);
}

.site-footer-links {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.site-footer-links a {
  color: var(--text-secondary);
  font-size: 12px;
}

.site-footer-links a:hover {
  color: var(--primary);
}

.nav {
  justify-self: center;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.topbar-spacer {
  justify-self: end;
}

.nav button,
.nav a.btn-ghost {
  appearance: none;
  border: 1px solid transparent;
  background: transparent;
  color: var(--text-secondary);
  padding: 8px 12px;
  border-radius: var(--radius-control);
  cursor: pointer;
  transition: background var(--motion), color var(--motion), border-color var(--motion);
  font-size: 14px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}

.nav button:hover,
.nav a.btn-ghost:hover {
  background: var(--surface-hover);
  color: var(--text);
}

.nav button.active {
  color: var(--primary);
  border-color: color-mix(in srgb, var(--primary) 35%, transparent);
  background: color-mix(in srgb, var(--primary) 8%, transparent);
}

.main {
  width: min(100% - var(--gutter) * 2, var(--max-width));
  margin: 0 auto;
  padding: 32px 0 64px;
}

.view {
  display: none;
}

.view.active {
  display: block;
}

.hero {
  margin-bottom: 28px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 12px;
}

.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--highlight);
}

.hero h1 {
  margin: 0 0 10px;
  font-size: clamp(28px, 5vw, 40px);
  line-height: 1.15;
  font-weight: 700;
}

.hero .subtitle {
  margin: 0;
  color: var(--text-secondary);
  font-size: 15px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 24px;
  margin-bottom: 20px;
  box-shadow: 0 8px 24px rgba(255, 122, 138, 0.08);
}

.card h2 {
  margin: 0 0 6px;
  font-size: 18px;
}

.card .hint {
  margin: 0 0 20px;
  color: var(--text-secondary);
  font-size: 14px;
}

.field {
  margin-bottom: 18px;
}

.field label {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 600;
}

.field label span {
  font-weight: 400;
  color: var(--text-secondary);
  margin-left: 6px;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 12px;
}

.btn-row .btn {
  flex: 1;
  min-width: 140px;
}

.session-helper {
  padding: 14px 16px;
  margin-bottom: 16px;
  border-radius: var(--radius-control);
  border: 1px solid color-mix(in srgb, var(--primary) 35%, transparent);
  background: color-mix(in srgb, var(--primary) 8%, var(--surface));
  font-size: 14px;
  color: var(--text-secondary);
}

.session-helper p {
  margin: 0 0 8px;
  color: var(--text);
}

.session-helper ol {
  margin: 0;
  padding-left: 20px;
}

.session-helper li {
  margin-bottom: 6px;
}

.session-helper kbd {
  display: inline-block;
  padding: 1px 6px;
  border-radius: 4px;
  border: 1px solid var(--border);
  background: var(--page);
  color: var(--text);
  font-size: 12px;
  font-family: inherit;
}

.input-row {
  display: flex;
  gap: 10px;
}

.input-wrap {
  flex: 1;
  position: relative;
}

input[type="text"],
textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border-radius: var(--radius-control);
  border: 1px solid var(--input-border);
  background: var(--page);
  color: var(--text);
  transition: border-color var(--motion), box-shadow var(--motion);
}

textarea {
  min-height: 140px;
  resize: vertical;
  font-family: ui-monospace, "Cascadia Code", Consolas, monospace;
  font-size: 13px;
  line-height: 1.5;
}

input:focus,
textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary) 22%, transparent);
}

.btn {
  appearance: none;
  border: none;
  border-radius: var(--radius-control);
  padding: 12px 20px;
  min-height: 48px;
  font-weight: 600;
  cursor: pointer;
  transition: background var(--motion), transform var(--motion), opacity var(--motion);
}

.btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.btn-primary {
  background: var(--primary);
  color: var(--on-accent);
  box-shadow: 0 8px 18px rgba(255, 122, 138, 0.24);
}

.btn-primary:hover:not(:disabled) {
  background: var(--primary-hover);
}

.btn-secondary {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-secondary:hover:not(:disabled) {
  background: var(--surface-hover);
}

.btn-block {
  width: 100%;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin: 24px 0 8px;
}

.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-align: center;
  padding: 10px 8px;
  border-radius: var(--radius-control);
  border: 1px solid var(--border);
  background: var(--page);
  font-size: 12px;
  color: var(--text-secondary);
  min-width: 0;
}

.step span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  margin: 0;
  border-radius: 50%;
  background: var(--surface-hover);
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
}

.step b {
  display: block;
  font-weight: 650;
  line-height: 1.25;
  min-width: 0;
  max-width: 100%;
  word-break: keep-all;
}

.step.active {
  border-color: color-mix(in srgb, var(--primary) 50%, transparent);
  color: var(--text);
}

.step.active span {
  background: var(--primary);
  color: var(--on-accent);
}

.step.done span {
  background: color-mix(in srgb, var(--primary) 30%, var(--surface-hover));
  color: var(--primary);
}

.alert {
  padding: 12px 14px;
  border-radius: var(--radius-control);
  font-size: 14px;
  margin-bottom: 16px;
}

.alert-error {
  background: #fff1f3;
  border: 1px solid color-mix(in srgb, var(--danger) 35%, transparent);
  color: #9b2c3a;
}

.alert-info {
  background: color-mix(in srgb, var(--primary) 10%, var(--surface));
  border: 1px solid color-mix(in srgb, var(--primary) 30%, transparent);
}

.alert-warn {
  background: color-mix(in srgb, var(--highlight) 12%, var(--surface));
  border: 1px solid color-mix(in srgb, var(--highlight) 35%, transparent);
  color: var(--text);
}

.summary-grid {
  display: grid;
  gap: 10px;
  margin-bottom: 20px;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}

.summary-row:last-child {
  border-bottom: none;
}

.summary-row .k {
  color: var(--text-secondary);
}

.tag {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  background: color-mix(in srgb, var(--highlight) 25%, transparent);
  color: var(--highlight);
}

.tag-purple {
  background: color-mix(in srgb, var(--secondary) 22%, transparent);
  color: var(--secondary);
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  border: 1px solid var(--border);
}

.status-pill.processing {
  color: var(--primary);
  border-color: color-mix(in srgb, var(--primary) 40%, transparent);
}

.status-pill.success {
  color: var(--primary);
  background: color-mix(in srgb, var(--primary) 12%, transparent);
}

.status-pill.fail {
  color: var(--danger);
  border-color: color-mix(in srgb, var(--danger) 40%, transparent);
}

.timeline {
  list-style: none;
  margin: 0;
  padding: 0;
}

.timeline li {
  position: relative;
  padding: 0 0 16px 20px;
  font-size: 14px;
  color: var(--text-secondary);
}

.timeline li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 6px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border);
}

.timeline li strong {
  display: block;
  color: var(--text);
  margin-bottom: 2px;
}

.privacy {
  display: none;
}

.modal-mask {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: color-mix(in srgb, var(--page) 55%, transparent);
  backdrop-filter: blur(6px);
}

.modal-mask[hidden] {
  display: none !important;
}

.modal-card {
  position: relative;
  width: min(100%, 520px);
  max-height: calc(100vh - 32px);
  overflow-y: auto;
  padding: 28px 24px 22px;
  border-radius: 22px;
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: 0 24px 64px color-mix(in srgb, var(--page) 80%, transparent);
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 10px;
  background: var(--surface-hover);
  color: var(--text-secondary);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

.modal-close:hover {
  color: var(--text);
  background: var(--border);
}

.modal-brand {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 20px;
  padding-right: 28px;
}

.modal-brand img {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  object-fit: cover;
}

.modal-brand h2 {
  margin: 0 0 4px;
  font-size: 20px;
}

.modal-sub {
  margin: 0;
  font-size: 14px;
  color: var(--text-secondary);
}

.modal-steps {
  margin: 0 0 16px;
  padding-left: 22px;
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.65;
}

.modal-steps li {
  margin-bottom: 10px;
}

.modal-steps code {
  font-size: 12px;
  padding: 2px 6px;
  border-radius: 6px;
  background: var(--page);
  border: 1px solid var(--border);
  color: var(--primary);
  word-break: break-all;
}

.modal-steps kbd {
  display: inline-block;
  padding: 1px 6px;
  border-radius: 4px;
  border: 1px solid var(--border);
  background: var(--page);
  color: var(--text);
  font-size: 12px;
}

.modal-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.modal-check {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  font-size: 13px;
  color: var(--text-secondary);
  cursor: pointer;
}

.modal-check input {
  accent-color: var(--primary);
}

.help-list {
  margin: 0;
  padding-left: 20px;
  color: var(--text-secondary);
}

.help-list li {
  margin-bottom: 10px;
}

.help-list a {
  font-weight: 600;
}

.panel-step {
  display: none;
}

.panel-step.active {
  display: block;
}

.check-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 16px 0;
  font-size: 14px;
  color: var(--text-secondary);
}

.check-row input {
  margin-top: 4px;
  accent-color: var(--primary);
}

.check-progress {
  margin: 16px 0;
  padding: 14px 16px;
  border-radius: var(--radius-card);
  border: 1px solid color-mix(in srgb, var(--primary) 35%, transparent);
  background: color-mix(in srgb, var(--primary) 6%, var(--page));
}

.check-progress-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  color: var(--text);
  font-size: 14px;
}

.check-progress-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.check-progress-steps li {
  position: relative;
  padding-left: 22px;
  font-size: 13px;
  color: var(--text-secondary);
  transition: color var(--motion);
}

.check-progress-steps li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.42em;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid var(--border);
  box-sizing: border-box;
}

.check-progress-steps li.active {
  color: var(--text);
}

.check-progress-steps li.active::before {
  border-color: var(--primary);
  background: color-mix(in srgb, var(--primary) 25%, transparent);
  animation: progress-pulse 1.2s ease infinite;
}

.check-progress-steps li.done {
  color: var(--primary);
}

.check-progress-steps li.done::before {
  content: "✓";
  display: flex;
  align-items: center;
  justify-content: center;
  width: 14px;
  height: 14px;
  top: 0.2em;
  left: -1px;
  border: none;
  background: color-mix(in srgb, var(--primary) 18%, transparent);
  color: var(--primary);
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
}

@keyframes progress-pulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 color-mix(in srgb, var(--primary) 35%, transparent);
  }
  50% {
    box-shadow: 0 0 0 4px color-mix(in srgb, var(--primary) 0%, transparent);
  }
}

.spinner {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid color-mix(in srgb, var(--primary) 30%, transparent);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  vertical-align: -3px;
  margin-right: 6px;
}

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

@media (max-width: 640px) {
  .topbar {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    padding: 12px var(--gutter);
  }

  .topbar-spacer {
    display: none;
  }

  .brand-title {
    font-size: 15px;
  }

  .hero-with-logo {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .hero-logo {
    width: 64px;
    height: 64px;
    margin-top: 0;
  }

  .eyebrow {
    justify-content: center;
  }

  .nav {
    justify-content: center;
  }

  .input-row {
    flex-direction: column;
  }

  .steps {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .step {
    padding: 12px 10px;
    gap: 6px;
  }

  .site-footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 24px 16px;
  }

  .site-footer-brand {
    grid-column: 1 / -1;
  }

  .site-footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .main {
    padding-top: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* Daylight visual layer; preserve the original DOM and flow visibility rules. */
:root {
  color-scheme: light;
  --page: #f5f6f4;
  --surface: #ffffff;
  --surface-hover: #eef1ed;
  --border: #dce2dd;
  --input-border: #d3dbd5;
  --text: #1e2521;
  --text-secondary: #626d65;
  --primary: #27362c;
  --primary-hover: #394d3f;
  --secondary: #627669;
  --highlight: #627669;
  --danger: #b83e3e;
  --radius-control: 10px;
  --radius-card: 22px;
  --max-width: 620px;
  --font: "Avenir Next", "PingFang SC", "Microsoft YaHei", sans-serif;
}

body {
  font-size: 14px;
  background: radial-gradient(ellipse at 50% 10%, #fff 0, transparent 65%), var(--page);
}
.glow { display: none; }
.topbar {
  position: relative;
  width: min(100% - 64px, 1064px);
  margin: auto;
  padding: 28px 0;
  grid-template-columns: 1fr auto;
  background: transparent;
  border: 0;
  backdrop-filter: none;
}
.topbar-spacer { display: none; }
.brand-logo {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  box-shadow: none;
  filter: none;
}
.brand-logo, .hero-logo, .site-footer-logo, .modal-brand img {
  object-fit: contain;
  border-radius: 0;
}
.brand-title { font-size: 19px; letter-spacing: -.04em; }
.brand small { font-size: 10px; margin-top: 3px; }
.nav { gap: 4px; justify-self: end; }
.nav button, .nav a.btn-ghost { border-radius: 99px; font-size: 13px; min-height: 44px; }
.nav button.active { color: var(--primary); border-color: transparent; background: #e9edea; }
.main { padding: 30px 0 24px; }
.hero { margin-bottom: 26px; }
.hero-with-logo { gap: 16px; align-items: center; }
.hero-logo { width: 48px; height: 48px; border-radius: 14px; margin: 0; box-shadow: none; }
.eyebrow { font-size: 11px; letter-spacing: .12em; margin-bottom: 10px; }
.eyebrow::before { width: 6px; height: 6px; }
.hero h1 { font-size: clamp(27px, 4vw, 34px); letter-spacing: -.045em; font-weight: 600; line-height: 1.3; }
.hero .subtitle { font-size: 13px; line-height: 1.8; }
.card { padding: 30px; box-shadow: 0 18px 45px #273a2d0d; margin-bottom: 18px; }
.card h2 { font-size: 20px; font-weight: 600; letter-spacing: -.025em; }
.card .hint { font-size: 13px; line-height: 1.8; }
.steps { gap: 0; margin: 0 0 22px; }
.step { flex-direction: row; justify-content: flex-start; gap: 8px; padding: 12px 4px; border: 0; border-bottom: 1px solid var(--border); border-radius: 0; background: transparent; }
.step.active { border-bottom: 2px solid var(--primary); }
.step b { font-size: 12px; font-weight: 500; }
.step span { background: #e9edea; width: 23px; height: 23px; }
.field label { font-size: 13px; }
.field label span { font-size: 11px; }
input[type="text"], textarea { background: #fafbf9; font-size: 14px; min-height: 50px; }
textarea { min-height: 150px; font-size: 13px; }
.input-wrap { min-width: 0; }
.btn { font-size: 13px; min-height: 48px; padding: 12px 18px; }
.btn-primary { box-shadow: none; }
.btn-secondary { background: #f7f8f6; }
button:focus-visible, a:focus-visible { outline: 2px solid var(--highlight); outline-offset: 4px; }
input:focus, textarea:focus { box-shadow: 0 0 0 3px #62766920; }
.summary-row { align-items: flex-start; }
.summary-row > :last-child { min-width: 0; overflow-wrap: anywhere; text-align: right; }
.check-row { padding: 12px; border: 1px solid var(--border); background: #f5f7f3; border-radius: 10px; }
.check-row input { flex-shrink: 0; }
.tag, .tag-purple { color: #435b4a; background: #e9eee9; }
.alert-info, .session-helper, .check-progress { background: #f1f4ef; border-color: var(--border); }
.alert-error { background: #fff5f3; border-color: #ecd3cf; color: #a23e36; }
.alert-warn { background: #faf7ed; border-color: #e4dcc4; }
.modal-mask { background: #26362c30; backdrop-filter: blur(5px); }
.modal-card { padding: 32px 28px 24px; border-radius: 22px; box-shadow: 0 28px 90px #273a2d26; }
.modal-brand img { width: 40px; height: 40px; border-radius: 12px; }
.modal-brand h2 { font-weight: 600; letter-spacing: -.025em; }
.modal-steps code { color: #435b4a; background: #f1f4ef; }
.site-footer { width: min(100% - 64px, 1064px); margin: 24px auto 0; background: transparent; }
.site-footer-inner, .site-footer-bottom { width: 100%; }
.site-footer-inner { padding: 26px 0; gap: 24px; }
.site-footer-logo { box-shadow: none; width: 30px; height: 30px; border-radius: 9px; }
.site-footer-tagline, .site-footer-col a { font-size: 12px; }
.site-footer-domain, .site-footer-bottom { font-size: 10px; }
.help-list { font-size: 13px; line-height: 1.9; }
.timeline { overflow-wrap: anywhere; }

@media (max-width: 760px) {
  .topbar { width: calc(100% - 32px); display: flex; flex-direction: column; align-items: stretch; padding: 18px 0 10px; gap: 14px; }
  .nav { justify-content: space-between; flex-wrap: wrap; gap: 0; }
  .nav button, .nav a.btn-ghost { font-size: 12px; padding: 8px 12px; }
  .main { padding-top: 20px; }
  .site-footer { width: calc(100% - 32px); }
}
@media (max-width: 640px) {
  .hero-with-logo { flex-direction: row; align-items: flex-start; text-align: left; gap: 12px; }
  .hero-logo { width: 40px; height: 40px; margin-top: 3px; border-radius: 12px; }
  .eyebrow { justify-content: flex-start; font-size: 10px; }
  .hero h1 { font-size: 26px; }
  .hero .subtitle { font-size: 12px; }
  .card { padding: 22px 20px; border-radius: 18px; }
  .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin-bottom: 18px; }
  .step { flex-direction: column; gap: 7px; padding: 10px 2px; }
  .step b { font-size: 11px; }
  .input-row { flex-direction: column; }
  .field label span { display: block; margin: 3px 0 0; }
  .btn-row .btn { min-width: 120px; }
  .modal-card { padding: 26px 20px 20px; }
  .modal-brand h2 { font-size: 19px; }
  .modal-sub, .modal-steps { font-size: 13px; }
  .site-footer-inner { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px 10px; }
  .site-footer-brand { grid-column: 1 / -1; }
}
