/* ===== 设计变量、重置、排版、按钮 ===== */
/* =========================================================
   AI 创作与 API 平台 — 复刻版样式
   ========================================================= */
:root {
  --blue: #315efb;
  --blue-hover: #244ce0;
  --pale: #eef3ff;
  --border: #e2e8f0;
  --muted: #64748b;
  --coral: #f06a5d;
  --ink: #0b1530;
  --page-bg: #f7f9fc;
  --radius-card: 18px;
}

* { box-sizing: border-box; }

html, body { margin: 0; padding: 0; }

body {
  min-width: 320px;
  min-height: 100vh;
  color: var(--ink);
  background: var(--page-bg);
  font-family: Inter, "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 16px;
}

button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: var(--blue); text-decoration: none; }
h1, h2, h3, h4, p { margin: 0; }
img, svg { display: block; }

.svg-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.icon {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}
.icon.sm { width: 16px; height: 16px; }
.icon.xs { width: 14px; height: 14px; }
.icon.lg { width: 22px; height: 22px; }

.spin { animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.muted { color: var(--muted); }

.eyebrow {
  color: var(--blue);
  letter-spacing: .12em;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

/* ---------------- buttons ---------------- */
.primary-button,
.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 18px;
  border: 0;
  border-radius: 11px;
  font-weight: 650;
  text-decoration: none;
}
.primary-button {
  color: #fff;
  background: var(--blue);
  box-shadow: 0 8px 20px rgba(49, 94, 251, .16);
}
.primary-button:hover { background: var(--blue-hover); }
.primary-button:disabled { opacity: .55; cursor: not-allowed; }
.secondary-button {
  color: #1e293b;
  background: #fff;
  border: 1px solid var(--border);
}
.secondary-button:hover { background: #f8fafc; border-color: #b8c5dd; }
.secondary-button:disabled { opacity: .55; cursor: not-allowed; }
.icon-button .icon { width: 18px; height: 18px; }
.icon-button {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  color: #475569;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 11px;
}
.icon-button:hover { background: #f8fafc; border-color: #c9d4e6; }
.text-button {
  width: 100%;
  padding: 16px;
  color: var(--blue);
  background: none;
  border: 0;
}
.text-button:hover { color: var(--blue-hover); }
.bottom-nav { display: none; }
