:root {
  --bg: #f3f5f7;
  --bg-soft: rgba(247, 250, 252, 0.78);
  --surface: #fcfdfe;
  --surface-strong: rgba(252, 253, 254, 0.9);
  --text-primary: #202833;
  --text-secondary: #5c6878;
  --text-soft: #8b95a3;
  --line: rgba(95, 112, 133, 0.16);
  --line-strong: rgba(73, 90, 111, 0.24);
  --accent: #5a708b;
  --accent-deep: #31455e;
  --accent-soft: rgba(90, 112, 139, 0.14);
  --accent-alt: #9aa8b8;
  --shadow-soft: 0 18px 42px rgba(29, 43, 60, 0.07);
  --shadow-card: 0 18px 32px rgba(29, 43, 60, 0.1);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-pill: 999px;
  --container: 1120px;
  --space-section: 112px;
  --font-sans: "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;
  --font-serif: "Noto Serif SC", "Songti SC", "SimSun", serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--text-primary);
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.92), transparent 34%),
    radial-gradient(circle at 82% 10%, rgba(112, 136, 164, 0.12), transparent 24%),
    radial-gradient(circle at 72% 24%, rgba(205, 214, 225, 0.2), transparent 28%),
    radial-gradient(circle at 18% 88%, rgba(228, 234, 240, 0.32), transparent 22%),
    linear-gradient(180deg, #f7f9fb 0%, #eef2f5 56%, #f4f6f8 100%);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}


body[data-auth-state="guest"] .generator-form-card {
  opacity: 0.96;
}

body[data-auth-state="authenticated"] .generator-form-card {
  opacity: 1;
}

.auth-modal-header-upgraded {
  gap: 14px;
}

.auth-modal-badge-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.auth-modal-badge {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(90, 112, 139, 0.12);
  background: rgba(90, 112, 139, 0.1);
  color: var(--accent-deep);
  font-size: 12px;
  font-weight: 700;
}

.auth-modal-description {
  max-width: 40ch;
}

.auth-modal-dialog {
  padding: 32px;
}

.auth-segmented {
  margin-top: 26px;
  margin-bottom: 20px;
  padding: 7px;
  border-color: rgba(95, 112, 133, 0.1);
  background: linear-gradient(180deg, rgba(245, 248, 251, 0.96), rgba(239, 244, 248, 0.9));
}

.auth-segment {
  min-height: 46px;
  font-size: 14px;
}

.auth-segment.is-active {
  box-shadow: 0 10px 20px rgba(29, 43, 60, 0.08);
}

.auth-panel {
  display: grid;
  gap: 16px;
}

.auth-panel[hidden] {
  display: none;
}

.auth-panel-intro {
  display: grid;
  gap: 8px;
  padding: 18px 18px 16px;
  border: 1px solid rgba(95, 112, 133, 0.1);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(245, 249, 252, 0.88));
}

.auth-panel-title {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--text-primary);
}

.auth-panel-copy {
  margin: 0;
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.75;
}

.auth-form {
  gap: 16px;
}

.auth-form .form-subgroup {
  gap: 8px;
}

.auth-form label {
  color: var(--text-primary);
  font-size: 14px;
  font-weight: 600;
}

.auth-form input {
  min-height: 54px;
  border-radius: 20px;
  padding: 15px 18px;
  background: rgba(255, 255, 255, 0.98);
}

.auth-form-actions {
  gap: 12px;
  margin-top: 2px;
}

.auth-form-actions .button {
  min-height: 52px;
}

.generator-page-main {
  padding: 34px 0 56px;
}

.generator-page-shell {
  display: grid;
  gap: 22px;
}


.generator-form-head h2 {
  margin: 0;
  font-family: var(--font-serif);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.generator-form-head p:last-child {
  margin: 0;
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.75;
}

.generator-form-card-compact {
  gap: 28px;
}

.generator-form-head {
  display: grid;
  gap: 10px;
}

.generator-form-head h2 {
  font-size: clamp(1.6rem, 3vw, 2rem);
  line-height: 1.28;
}

.generator-form-card .form-field-group {
  padding: 24px;
  border-radius: 26px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(248, 251, 253, 0.76));
}

.generator-actions .button {
  width: 100%;
  min-height: 54px;
}

#generator-submit[data-locked="true"] {
  box-shadow: 0 8px 18px rgba(49, 69, 94, 0.12);
}

#generator-submit[data-locked="true"]::after {
  content: " · 需先登录";
}

@media (max-width: 720px) {
  .auth-modal-dialog {
    padding: 24px 20px;
    border-radius: 24px;
  }

  .auth-modal-badge-row {
    align-items: flex-start;
  }

  .generator-page-main {
    padding: 24px 0 44px;
  }

  .generator-form-card .form-field-group {
    padding: 20px;
  }
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.24), transparent 18%, transparent 82%, rgba(245, 248, 251, 0.2));
}

.auth-modal-header h1,
.auth-modal-header h2 {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 5vw, 2.2rem);
  line-height: 1.2;
  font-weight: 600;
}

.generator-form-card-compact .results-feedback {
  position: static;
  max-width: none;
  margin: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

img {
  max-width: 100%;
  display: block;
}

.page-shell {
  min-height: 100vh;
}

.page-shell-compact {
  padding-top: 0;
}

.container {
  width: min(calc(100% - 48px), var(--container));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: rgba(243, 246, 249, 0.82);
  border-bottom: 1px solid rgba(95, 112, 133, 0.12);
}

.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 15px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(239, 244, 248, 0.94));
  border: 1px solid rgba(90, 112, 139, 0.14);
  box-shadow:
    0 10px 24px rgba(29, 43, 60, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.92);
  flex: 0 0 auto;
}

.brand-mark svg {
  width: 28px;
  height: 28px;
  overflow: visible;
}

.brand-text {
  font-size: 18px;
  font-family: var(--font-serif);
  font-weight: 600;
  letter-spacing: -0.02em;
}


.site-nav {
  display: inline-flex;
  align-items: center;
  gap: 28px;
  color: var(--text-secondary);
  font-size: 14px;
}

.site-nav a {
  transition: color 0.2s ease;
}

.nav-actions {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-left: auto;
}

.nav-menu-toggle {
  display: none;
}

.nav-auth-button,
.nav-logout-button {
  min-height: 44px;
  padding-inline: 16px;
}

.nav-auth-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.nav-auth-status[hidden] {
  display: none;
}

.nav-user-chip {
  border: 1px solid rgba(95, 112, 133, 0.1);
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.72);
  min-height: 44px;
  padding: 6px 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-secondary);
  box-shadow: none;
}

.nav-user-chip:hover {
  transform: none;
  border-color: rgba(95, 112, 133, 0.1);
}

.auth-modal-close:focus-visible,
.auth-segment:focus-visible,
.auth-form input:focus-visible {
  outline: 2px solid rgba(90, 112, 139, 0.32);
  outline-offset: 3px;
}

.nav-user-chip-label {
  display: inline-flex;
  align-items: center;
  min-height: 20px;
  padding: 2px 7px;
  border-radius: var(--radius-pill);
  background: rgba(90, 112, 139, 0.08);
  color: var(--accent-deep);
  font-size: 11px;
  font-weight: 700;
}

.auth-modal {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  padding: 24px;
}

.auth-modal[hidden] {
  display: none;
}

.auth-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(28, 39, 53, 0.42);
  backdrop-filter: blur(10px);
}

.auth-modal-dialog {
  position: relative;
  width: min(100%, 520px);
  max-height: min(100vh - 48px, 760px);
  overflow: auto;
  padding: 28px;
  border: 1px solid rgba(95, 112, 133, 0.14);
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(253, 254, 255, 0.98), rgba(247, 250, 253, 0.96));
  box-shadow: 0 24px 60px rgba(23, 34, 48, 0.2);
}

.auth-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: rgba(95, 112, 133, 0.08);
  color: var(--text-secondary);
  cursor: pointer;
  font-size: 24px;
  line-height: 1;
}

.auth-modal-header {
  display: grid;
  gap: 10px;
}

.auth-modal-header h2 {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 5vw, 2.2rem);
  line-height: 1.2;
  font-weight: 600;
}

.auth-modal-description,
.auth-form-note {
  margin: 0;
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.75;
}

.auth-segmented {
  margin-top: 24px;
  margin-bottom: 16px;
  padding: 6px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  border: 1px solid rgba(95, 112, 133, 0.12);
  border-radius: 20px;
  background: rgba(247, 250, 253, 0.92);
}

.auth-segment {
  appearance: none;
  border: 0;
  border-radius: 16px;
  min-height: 44px;
  background: transparent;
  color: var(--text-secondary);
  cursor: pointer;
  font-weight: 600;
  transition: background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.auth-segment.is-active {
  background: rgba(255, 255, 255, 0.96);
  color: var(--text-primary);
  box-shadow: 0 8px 18px rgba(29, 43, 60, 0.08);
}

.auth-feedback {
  position: static;
  max-width: none;
  margin-bottom: 16px;
}

.auth-panel[hidden] {
  display: none;
}

.auth-form {
  display: grid;
  gap: 14px;
}

.auth-form input {
  width: 100%;
  border: 1px solid rgba(95, 112, 133, 0.16);
  border-radius: 18px;
  background: rgba(253, 254, 255, 0.98);
  padding: 14px 16px;
  color: var(--text-primary);
  font: inherit;
  line-height: 1.6;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.auth-form input::placeholder {
  color: #96a2b0;
}

.auth-form input:focus {
  outline: none;
  border-color: rgba(90, 112, 139, 0.36);
  box-shadow: 0 0 0 4px rgba(90, 112, 139, 0.1);
  background: #ffffff;
}

.auth-form-actions {
  display: grid;
  gap: 10px;
}

.auth-form-actions .button {
  width: 100%;
}

.button {
  appearance: none;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  padding: 13px 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}

.button:hover {
  transform: translateY(-1px);
}

.button:disabled {
  cursor: wait;
  transform: none;
  opacity: 0.72;
}

.button:focus-visible,
.site-nav a:focus-visible,
.footer-links a:focus-visible,
.brand:focus-visible {
  outline: 2px solid rgba(90, 112, 139, 0.32);
  outline-offset: 3px;
}

.button-primary {
  background: linear-gradient(135deg, #4f647d, #384d66);
  color: #f7fbff;
  box-shadow: 0 12px 24px rgba(49, 69, 94, 0.16);
}

.button-primary:hover {
  background: linear-gradient(135deg, #465a72, #31455e);
  box-shadow: 0 14px 26px rgba(49, 69, 94, 0.2);
}

.button-secondary {
  border-color: rgba(95, 112, 133, 0.18);
  background: rgba(250, 252, 254, 0.86);
  color: var(--text-primary);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.84);
}

.button-secondary:hover {
  border-color: rgba(90, 112, 139, 0.24);
  background: rgba(244, 248, 252, 0.96);
}

.generator-wait-hint {
  margin: 8px 0 0;
  text-align: center;
  font-size: 11px;
  line-height: 1.5;
  color: rgba(92, 104, 120, 0.72);
}

.hero-section {
  padding: 88px 0 var(--space-section);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 52px;
  align-items: center;
}

.hero-copy h1,
.section-heading h2,
.about-copy h2 {
  margin: 0;
  letter-spacing: -0.02em;
}

.hero-copy h1 {
  max-width: 9ch;
  font-size: clamp(3rem, 6vw, 4.9rem);
  line-height: 1.12;
  font-family: var(--font-serif);
  font-weight: 600;
}

.eyebrow,
.section-kicker,
.card-kicker,
.mini-label,
.feature-index,
.name-tag {
  letter-spacing: 0.08em;
  text-transform: none;
}

.eyebrow,
.section-kicker {
  margin: 0 0 18px;
  color: var(--text-soft);
  font-size: 12px;
  font-weight: 600;
}

.hero-text {
  max-width: 560px;
  margin: 24px 0 0;
  color: var(--text-secondary);
  font-size: 17px;
  line-height: 1.8;
}

.hero-actions {
  margin-top: 36px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-points {
  list-style: none;
  padding: 0;
  margin: 30px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-points li,
.name-badge,
.name-tag {
  display: inline-flex;
  align-items: center;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line);
  background: rgba(248, 251, 253, 0.92);
}

.hero-points li {
  padding: 10px 14px;
  color: var(--text-secondary);
  font-size: 13px;
}

.hero-showcase {
  position: relative;
}

.hero-showcase::before {
  content: "";
  position: absolute;
  inset: 8% 4% auto auto;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(90, 112, 139, 0.14), rgba(154, 168, 184, 0.12));
  filter: blur(28px);
}

.showcase-card {
  position: relative;
  border: 1px solid var(--line);
  background: var(--surface-strong);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow-soft);
}

.showcase-card-main {
  padding: 32px;
  border-radius: var(--radius-xl);
}

.card-kicker,
.mini-label {
  margin: 0 0 14px;
  font-size: 11px;
  color: var(--text-soft);
  font-weight: 700;
}

.showcase-name-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.showcase-name-wrap > div,
.showcase-mini-head > div {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.showcase-name {
  margin: 0;
  font-size: clamp(2.15rem, 5vw, 3rem);
  line-height: 1.12;
  font-family: var(--font-serif);
  font-weight: 600;
}

.name-badge,
.name-tag,
.feature-index {
  color: var(--accent-deep);
  background: var(--accent-soft);
  border-color: transparent;
}

.name-badge {
  padding: 8px 12px;
  font-size: 12px;
}

.showcase-description {
  margin: 22px 0 0;
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.75;
}

.showcase-stack {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 16px;
}

.showcase-card-mini {
  padding: 22px;
  border-radius: var(--radius-lg);
}

.showcase-card-mini h3 {
  margin: 0;
  font-size: 1.55rem;
  font-family: var(--font-serif);
  font-weight: 600;
}

.showcase-card-mini p {
  margin: 14px 0 0;
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.75;
}

.showcase-pinyin {
  margin: 0;
  color: var(--text-soft);
  font-size: 13px;
  letter-spacing: 0.04em;
}

.showcase-pinyin-mini {
  margin: 0;
}

.showcase-meta {
  margin: 16px 0 0;
  color: var(--text-soft);
  font-size: 13px;
}

.showcase-mini-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.section {
  padding: 0 0 var(--space-section);
}

.section-heading {
  max-width: 740px;
  margin-bottom: 32px;
}

.section-heading.narrow {
  max-width: 620px;
}

.section-heading h2,
.about-copy h2 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 2.8rem);
  line-height: 1.18;
  font-weight: 600;
}

.section-heading p:not(.section-kicker),
.about-copy p {
  margin: 16px 0 0;
  color: var(--text-secondary);
  font-size: 16px;
  line-height: 1.78;
}

.preview-note {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-bottom: 28px;
  padding: 12px 16px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line);
  background: rgba(245, 248, 252, 0.88);
  color: var(--text-secondary);
  font-size: 14px;
}

.section-generator {
  position: relative;
}

.generator-shell {
  display: grid;
  gap: 34px;
}

.generator-heading {
  margin-bottom: 0;
}

.generator-entry {
  display: grid;
  gap: 22px;
}

.generator-intro-card {
  display: grid;
  gap: 24px;
  padding: 32px;
}

.generator-intro-copy {
  max-width: 760px;
}

.generator-intro-copy h3 {
  margin: 0;
  font-size: clamp(1.7rem, 3vw, 2.2rem);
  line-height: 1.28;
  font-family: var(--font-serif);
  font-weight: 600;
}

.generator-intro-copy p {
  margin: 14px 0 0;
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.8;
}

.generator-intro-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.generator-intro-points span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 9px 14px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line);
  background: rgba(252, 253, 255, 0.9);
  color: var(--text-secondary);
  font-size: 13px;
}

.generator-intro-actions {
  display: grid;
  gap: 12px;
  justify-items: start;
}

.generator-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 22px;
  align-items: start;
}

.generator-grid[hidden] {
  display: none;
}

.generator-entry[data-generator-state="expanded"] .generator-intro-card {
  display: none;
}


.generator-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: rgba(249, 251, 253, 0.9);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow-soft);
}

.generator-form-card,
.generator-results-card {
  padding: 32px;
}

.generator-form-card {
  display: grid;
  gap: 24px;
}

.generator-form {
  display: grid;
  gap: 18px;
}

.form-field {
  margin: 0;
  padding: 0;
  border: 0;
  display: grid;
  gap: 10px;
}

.form-field-group {
  gap: 14px;
  padding: 22px;
  border: 1px solid rgba(95, 112, 133, 0.12);
  border-radius: 24px;
  background: rgba(253, 254, 255, 0.72);
}

.form-subgroup {
  display: grid;
  gap: 10px;
}

.form-field label,
.form-field legend,
.field-label {
  padding: 0;
  color: var(--text-primary);
  font-size: 14px;
  font-weight: 600;
}

.field-label-with-hint {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0;
  color: var(--text-primary);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

.field-label-with-hint input[type="checkbox"] {
  margin: 0;
  cursor: pointer;
}

.field-hint-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.field-hint-icon:hover {
  background: var(--accent);
  color: white;
}

.field-required,
.field-optional {
  margin-left: 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-soft);
}

.generator-form input[type="text"],
.generator-form textarea,
.generator-form select {
  width: 100%;
  border: 1px solid rgba(95, 112, 133, 0.16);
  border-radius: 18px;
  background: rgba(253, 254, 255, 0.98);
  padding: 14px 16px;
  color: var(--text-primary);
  font: inherit;
  line-height: 1.6;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
  resize: vertical;
}

.generator-form select {
  min-height: 52px;
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%235c6878' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 18px center;
  padding-right: 48px;
}

.generator-form select:hover {
  border-color: rgba(90, 112, 139, 0.26);
  background-color: rgba(255, 255, 255, 0.98);
}

.generator-form select option {
  padding: 12px;
  background: white;
  color: var(--text-primary);
}

.generator-form input[type="text"]::placeholder,
.generator-form textarea::placeholder {
  color: #96a2b0;
}

.generator-form input[type="text"]:focus,
.generator-form textarea:focus,
.generator-form select:focus {
  outline: none;
  border-color: rgba(90, 112, 139, 0.36);
  box-shadow: 0 0 0 4px rgba(90, 112, 139, 0.1);
  background: #ffffff;
}

.choice-grid {
  display: grid;
  gap: 12px;
}

.choice-grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}


.choice-pill {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: rgba(248, 251, 253, 0.94);
  color: var(--text-secondary);
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease, color 0.2s ease, background-color 0.2s ease;
}

.choice-pill:hover {
  transform: translateY(-1px);
  border-color: rgba(90, 112, 139, 0.26);
  color: var(--text-primary);
}

.choice-pill input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.choice-pill span {
  text-align: center;
  font-size: 14px;
  font-weight: 500;
}

.choice-pill input:checked+span {
  color: var(--accent-deep);
}

.choice-pill:has(input:checked) {
  border-color: rgba(90, 112, 139, 0.28);
  background: rgba(90, 112, 139, 0.1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.78);
}

.choice-pill:has(input:focus-visible) {
  outline: 2px solid rgba(90, 112, 139, 0.28);
  outline-offset: 3px;
}

.field-hint,
.generator-meta,
.generator-result-summary,
.result-note,
.result-list-item p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.72;
}

.form-error {
  margin: -4px 0 0;
  min-height: 24px;
  color: #8d4f58;
  font-size: 14px;
  line-height: 1.6;
}

.generator-actions {
  display: grid;
  gap: 12px;
}

.generator-results-card {
  display: grid;
  gap: 24px;
}

.generator-results-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.generator-results-head h3,
.result-group-head h4,
.result-card h4 {
  margin: 0;
  font-family: var(--font-serif);
  font-weight: 600;
}

.generator-results-head h3 {
  font-size: 1.6rem;
  line-height: 1.3;
}

.generator-status {
  min-height: 220px;
}

.generator-status[hidden],
.generator-results[hidden] {
  display: none;
}

.result-empty,
.result-loading,
.result-error {
  min-height: 220px;
  display: grid;
  align-content: center;
  justify-items: start;
  gap: 14px;
  padding: 28px;
  border: 1px dashed rgba(95, 112, 133, 0.2);
  border-radius: var(--radius-lg);
  background: rgba(247, 250, 253, 0.82);
}

.result-empty p,
.result-loading p,
.result-error p {
  margin: 0;
  color: var(--text-secondary);
  line-height: 1.75;
}

.result-badge {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  background: var(--accent-soft);
  color: var(--accent-deep);
  font-size: 12px;
  font-weight: 700;
}

.result-loading::before {
  content: "";
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 3px solid rgba(90, 112, 139, 0.14);
  border-top-color: var(--accent);
  animation: namenest-spin 0.8s linear infinite;
}

.result-error {
  border-style: solid;
  border-color: rgba(141, 79, 88, 0.14);
  background: rgba(251, 246, 247, 0.78);
}

.generator-results {
  display: grid;
  gap: 22px;
}

.result-group {
  display: grid;
  gap: 16px;
}

.result-group-alt {
  padding-top: 2px;
}

.result-group-head {
  display: grid;
  gap: 8px;
}

.result-group-head h4 {
  font-size: 1.2rem;
  line-height: 1.4;
}

.result-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.result-card {
  display: grid;
  gap: 14px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(252, 253, 255, 0.96);
  box-shadow: 0 14px 28px rgba(33, 46, 63, 0.08);
}

.result-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.result-rank {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent-deep);
  font-size: 12px;
  font-weight: 700;
}

.result-card h4 {
  font-size: 1.5rem;
  line-height: 1.2;
}

.result-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.result-tag {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 10px;
  border-radius: var(--radius-pill);
  background: rgba(154, 168, 184, 0.14);
  color: #556579;
  font-size: 12px;
  font-weight: 600;
}

.name-result-tags {
  gap: 7px;
  margin-top: -1px;
}

.name-result-tags .result-tag {
  min-height: 26px;
  padding: 4px 10px;
  border: 1px solid rgba(95, 112, 133, 0.08);
  background: rgba(245, 248, 251, 0.96);
  color: #526274;
  font-size: 11px;
  letter-spacing: 0.02em;
}

.result-list {
  display: grid;
  gap: 12px;
}

.result-list-item {
  display: grid;
  gap: 6px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(249, 251, 253, 0.9);
}

.result-list-item strong {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-primary);
}


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

.results-page-main {
  padding: 22px 0 28px;
}

.results-page-section {
  padding: 0;
}

.results-shell {
  display: grid;
  gap: 10px;
}

.results-page-heading {
  margin-bottom: 0;
}

.results-summary-card {
  display: grid;
  gap: 10px;
  padding: 13px 13px 10px;
  border: 1px solid rgba(95, 112, 133, 0.1);
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(253, 254, 255, 0.96), rgba(248, 250, 253, 0.94));
  box-shadow: 0 8px 18px rgba(29, 43, 60, 0.045);
}

.results-summary-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 10px;
}

.results-summary-copy {
  display: grid;
  gap: 7px;
  min-width: 0;
}

.results-summary-eyebrow {
  display: none;
}

.results-summary-head h1,
.name-result-title {
  margin: 0;
  font-family: var(--font-serif);
  font-weight: 600;
}

.results-summary-head h1 {
  max-width: none;
  font-size: clamp(1.08rem, 4.2vw, 1.34rem);
  line-height: 1.18;
  letter-spacing: -0.025em;
  color: #243142;
}

.results-summary-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.summary-chip {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 4px 9px;
  border-radius: 999px;
  border: 1px solid rgba(108, 123, 144, 0.1);
  background: rgba(255, 255, 255, 0.88);
  color: #506173;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.admin-cards-head {
  gap: 10px;
}

.admin-cards-grid {
  align-items: start;
}

.admin-stepper {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) 52px;
  align-items: center;
  gap: 12px;
}

.admin-stepper-button {
  min-height: 52px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(248, 251, 253, 0.96);
  color: var(--text-primary);
  font: inherit;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.admin-stepper-button:hover:not(:disabled) {
  transform: translateY(-1px);
  border-color: rgba(90, 112, 139, 0.26);
  box-shadow: 0 10px 18px rgba(49, 69, 94, 0.08);
}

.admin-stepper-button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
  box-shadow: none;
}

.admin-stepper-value {
  display: grid;
  justify-items: center;
  gap: 4px;
  min-height: 52px;
  padding: 10px 16px;
  border: 1px solid rgba(95, 112, 133, 0.12);
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(246, 249, 252, 0.95));
}

.admin-stepper-value span {
  font-family: var(--font-serif);
  font-size: 1.55rem;
  font-weight: 600;
  line-height: 1;
  color: var(--text-primary);
}

.admin-stepper-value small {
  color: var(--text-secondary);
  font-size: 12px;
  line-height: 1.2;
}

.admin-option-group {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.admin-option-button {
  min-height: 48px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: rgba(248, 251, 253, 0.94);
  color: var(--text-secondary);
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.admin-option-button:hover {
  transform: translateY(-1px);
  border-color: rgba(90, 112, 139, 0.26);
  color: var(--text-primary);
}

.admin-option-button.is-active {
  border-color: rgba(90, 112, 139, 0.28);
  background: rgba(90, 112, 139, 0.1);
  color: var(--accent-deep);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.78);
}

.admin-inline-field[hidden],
.admin-cards-result-card[hidden] {
  display: none;
}

.admin-inline-field {
  margin-top: 12px;
}

.admin-cards-result-card {
  gap: 18px;
}

.admin-cards-result-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}

.admin-cards-result-summary p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.65;
}

.admin-cards-result-list {
  display: grid;
  gap: 12px;
}

.results-toolbar,
.results-footnote-actions {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: max-content;
  gap: 7px;
  align-content: start;
  justify-content: end;
  align-items: start;
}

.results-toolbar .button,
.results-toolbar a.button,
.results-footnote-actions .button {
  width: auto;
  min-height: 32px;
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  box-shadow: none;
}

.results-toolbar .button-primary {
  background: linear-gradient(135deg, #4d647b, #3d5268);
  box-shadow: 0 6px 14px rgba(49, 69, 94, 0.12);
}

.results-toolbar .button-secondary,
.results-toolbar a.button-secondary {
  border-color: rgba(95, 112, 133, 0.14);
  background: rgba(255, 255, 255, 0.92);
}

.results-summary-note,
.name-result-section p {
  margin: 0;
  color: var(--text-secondary);
  line-height: 1.58;
}

.name-result-pinyin {
  margin: 0;
  color: #445468;
  font-family: "Helvetica Neue", "Arial", "PingFang SC", "Noto Sans SC", sans-serif;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.45;
  letter-spacing: 0;
  text-transform: none;
  font-variant-ligatures: none;
  text-rendering: optimizeLegibility;
}

.name-result-aside {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  justify-content: flex-start;
  flex-wrap: wrap;
  flex-shrink: 0;
}

.name-result-stars,
.name-result-duplicate {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 4px 8px;
  border-radius: 999px;
  border: 1px solid rgba(95, 112, 133, 0.09);
  box-shadow: none;
  flex-shrink: 0;
}

.name-result-stars {
  gap: 3px;
  background: rgba(201, 177, 126, 0.09);
}

.name-result-duplicate {
  background: rgba(133, 123, 168, 0.08);
  color: #62567a;
  font-size: 11px;
  font-weight: 600;
}

.name-result-section {
  display: grid;
  gap: 10px;
  padding: 12px 12px 13px;
  border: 1px solid rgba(95, 112, 133, 0.07);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.82);
}

.name-result-section-primary {
  border-color: rgba(196, 170, 118, 0.12);
  background: linear-gradient(180deg, rgba(255, 251, 245, 0.95), rgba(255, 248, 239, 0.9));
}

.name-result-section-secondary {
  border-color: rgba(144, 126, 170, 0.1);
  background: linear-gradient(180deg, rgba(250, 247, 255, 0.94), rgba(246, 242, 253, 0.88));
}

.name-result-section-tertiary {
  border-color: rgba(106, 142, 168, 0.11);
  background: linear-gradient(180deg, rgba(246, 250, 253, 0.95), rgba(241, 247, 252, 0.9));
}

.name-result-section-tertiary .mini-label {
  color: rgba(82, 110, 132, 0.94);
}

.name-result-section-tertiary .name-result-line {
  border-left-color: rgba(106, 142, 168, 0.16);
}

.name-result-section-primary .name-result-line {
  border-left-color: rgba(196, 170, 118, 0.16);
}

.name-result-section-secondary .name-result-line {
  border-left-color: rgba(144, 126, 170, 0.15);
}

.name-result-section-head {
  display: flex;
  align-items: center;
  gap: 7px;
  flex-wrap: wrap;
}

.name-result-section-subtitle {
  font-weight: 500;
}

.name-result-section-head .mini-label,
.name-result-section-head .name-result-section-subtitle {
  white-space: nowrap;
}

.name-result-section-head .name-result-section-dot {
  margin-left: auto;
}

.name-result-section-head .name-result-section-subtitle {
  text-align: right;
}

.name-result-sections .name-result-section:first-child {
  margin-top: 0;
}

.name-result-sections .name-result-section + .name-result-section {
  margin-top: -1px;
}

.name-result-tags + .name-result-sections {
  margin-top: 2px;
}

.name-result-head + .name-result-sections {
  margin-top: 2px;
}

.name-result-body .name-result-line:first-child {
  padding-top: 1px;
}

.name-result-body .name-result-line:last-child {
  padding-bottom: 1px;
}

.name-result-body:empty::before {
  content: '暂未提供更多说明。';
  display: block;
  padding-left: 10px;
  border-left: 2px solid rgba(95, 112, 133, 0.08);
  color: #5e6d7d;
}

.name-result-card > .name-result-sections {
  gap: 9px;
}

.name-result-card > .name-result-head + .name-result-tags {
  margin-top: -1px;
}

.name-result-card > .name-result-head + .name-result-sections {
  margin-top: 0;
}

.name-result-card > .name-result-tags + .name-result-sections {
  margin-top: 1px;
}

.name-result-card > .name-result-head + .name-result-tags + .name-result-sections {
  margin-top: 1px;
}

.name-result-card {
  gap: 9px;
}

.name-result-copy {
  gap: 4px;
}

.name-result-section .mini-label {
  font-weight: 600;
}

.name-result-section-subtitle {
  letter-spacing: 0.02em;
}

.name-result-body {
  letter-spacing: 0.01em;
}

.name-result-line {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.32), rgba(255, 255, 255, 0));
}

.name-result-section-primary .name-result-section-dot {
  background: rgba(196, 170, 118, 0.42);
}

.name-result-section-secondary .name-result-section-dot {
  background: rgba(144, 126, 170, 0.38);
}

.name-result-section-tertiary .name-result-section-dot {
  background: rgba(106, 142, 168, 0.36);
}

.name-result-tags .result-tag:nth-child(1) {
  background: rgba(245, 240, 232, 0.95);
}

.name-result-tags .result-tag:nth-child(2) {
  background: rgba(241, 246, 252, 0.95);
}

.name-result-tags .result-tag:nth-child(3) {
  background: rgba(246, 242, 251, 0.95);
}

.name-result-tags .result-tag {
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

.name-result-section-head .mini-label,
.name-result-section-subtitle,
.name-result-body {
  min-width: 0;
}

.name-result-section-head .mini-label {
  flex-shrink: 0;
}

.name-result-section-subtitle {
  overflow-wrap: anywhere;
}

.name-result-card .name-result-duplicate-label {
  white-space: nowrap;
}

.name-result-tags {
  align-items: center;
}

.name-result-aside {
  row-gap: 6px;
}

.name-result-stars,
.name-result-duplicate {
  backdrop-filter: blur(8px);
}

.name-result-card::before {
  opacity: 0.92;
}

.name-result-body .name-result-line + .name-result-line {
  margin-top: 1px;
}

.name-result-tags:empty {
  display: none;
}

.name-result-sections {
  align-items: stretch;
}

.name-result-card .name-result-title,
.name-result-card .name-result-pinyin {
  min-width: 0;
}

.name-result-head {
  min-width: 0;
}

.name-result-copy,
.name-result-aside {
  min-width: 0;
}

.name-result-body .name-result-line {
  border-radius: 0 6px 6px 0;
}

.name-result-section {
  align-content: start;
}

.name-result-tagline {
  display: none;
}

.name-result-card .result-tags {
  min-width: 0;
}

.name-result-card .result-tag {
  max-width: 100%;
}

.name-result-card .result-tag {
  white-space: nowrap;
}

.name-result-card .result-tag {
  overflow: hidden;
  text-overflow: ellipsis;
}

.name-result-section-head {
  min-width: 0;
}

.name-result-body {
  min-width: 0;
}

.name-result-line {
  min-width: 0;
}

.name-result-section p:last-child {
  color: #304051;
}

.name-result-section-head .name-result-section-subtitle {
  color: rgba(95, 112, 133, 0.82);
}

.name-result-section-head .mini-label {
  align-self: center;
}

.name-result-card .mini-label {
  white-space: nowrap;
}

.name-result-pinyin {
  overflow-wrap: anywhere;
}

.name-result-title {
  overflow-wrap: anywhere;
}

.name-result-card {
  isolation: isolate;
}

.name-result-body .name-result-line {
  overflow-wrap: anywhere;
}

.name-result-sections {
  min-width: 0;
}

.name-result-section {
  min-width: 0;
}

.name-result-section-tertiary {
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.name-result-section-primary,
.name-result-section-secondary {
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.name-result-tags .result-tag {
  flex-shrink: 1;
}

.name-result-card .result-tags {
  gap: 7px;
}

.name-result-section-head .name-result-section-dot {
  flex-shrink: 0;
}

.name-result-card > * {
  position: relative;
  z-index: 1;
}

.name-result-card > .name-result-head,
.name-result-card > .name-result-tags,
.name-result-card > .name-result-sections {
  width: 100%;
}

.name-result-body .name-result-line {
  box-sizing: border-box;
}

.name-result-section-head {
  row-gap: 4px;
}

.name-result-card .result-tag {
  min-width: 0;
}

.name-result-section .mini-label {
  text-transform: none;
}

.name-result-head {
  justify-content: space-between;
}

.name-result-head,
.name-result-sections,
.name-result-tags {
  align-self: stretch;
}

.name-result-body .name-result-line {
  padding-right: 2px;
}

.name-result-card > .name-result-head {
  gap: 10px;
}

.name-result-section-head .name-result-section-subtitle {
  margin-left: 0;
}

.name-result-tags .result-tag {
  justify-content: center;
}

.name-result-card .name-result-section {
  overflow: hidden;
}

.name-result-section-head .mini-label,
.name-result-section-head .name-result-section-subtitle {
  max-width: 100%;
}

.name-result-section-head .name-result-section-subtitle {
  flex-shrink: 1;
}

.name-result-card .name-result-stars,
.name-result-card .name-result-duplicate {
  white-space: nowrap;
}

.name-result-card .name-result-stars {
  max-width: 100%;
}

.name-result-card .name-result-duplicate {
  max-width: 100%;
}

.name-result-card .name-result-head,
.name-result-card .name-result-copy,
.name-result-card .name-result-sections {
  box-sizing: border-box;
}

.name-result-card .name-result-section-head {
  box-sizing: border-box;
}

.name-result-section-head {
  justify-content: flex-start;
}

.name-result-section-head .name-result-section-dot {
  margin-left: 0;
}

.name-result-section-subtitle {
  color: rgba(95, 112, 133, 0.82);
}

.name-result-section-head .name-result-section-subtitle:last-child {
  margin-left: auto;
}

.name-result-section-head .mini-label + .name-result-section-dot {
  margin-left: auto;
}

.name-result-card .name-result-head {
  align-items: start;
}

.name-result-card .name-result-sections {
  grid-template-columns: 1fr;
}

.name-result-card .name-result-body {
  line-height: 1.78;
}

.name-result-card .name-result-line {
  font-size: 13px;
}

.name-result-card .name-result-tags {
  flex-wrap: wrap;
}

.name-result-card .name-result-section-head {
  flex-wrap: wrap;
}

.name-result-card .name-result-section-subtitle {
  text-wrap: balance;
}

.name-result-card .name-result-copy {
  align-content: start;
}

.name-result-card .name-result-aside {
  align-content: start;
}

.name-result-card .name-result-body {
  align-content: start;
}

.name-result-card .name-result-section {
  min-height: 0;
}

.name-result-card .name-result-line {
  display: block;
}

.name-result-card .name-result-tags .result-tag {
  line-height: 1.2;
}

.name-result-card .name-result-tags .result-tag {
  text-align: center;
}

.name-result-card .name-result-tags .result-tag {
  align-self: start;
}

.name-result-card .name-result-pinyin {
  max-width: 100%;
}

.name-result-card .name-result-title {
  max-width: 100%;
}

.name-result-card .name-result-head {
  gap: 8px;
}

.name-result-card .name-result-copy {
  gap: 3px;
}

.name-result-card .name-result-sections {
  gap: 10px;
}

.name-result-card .name-result-section {
  padding: 12px 12px 13px;
}

.name-result-card .name-result-body .name-result-line {
  padding-left: 10px;
}

.name-result-card .name-result-tags .result-tag {
  padding-left: 10px;
  padding-right: 10px;
}

.name-result-card .name-result-section-head .mini-label {
  letter-spacing: 0.08em;
}

.name-result-card .name-result-section-head .name-result-section-subtitle {
  font-size: 12px;
}

.name-result-card .name-result-section-head {
  gap: 7px;
}

.name-result-card .name-result-aside {
  gap: 6px;
}

.name-result-card .name-result-stars,
.name-result-card .name-result-duplicate {
  min-height: 26px;
}

.name-result-card .name-result-pinyin {
  font-size: 13px;
}

.name-result-card .name-result-title {
  line-height: 1.08;
}

.name-result-card .name-result-head,
.name-result-card .name-result-sections,
.name-result-card .name-result-tags,
.name-result-card .name-result-section,
.name-result-card .name-result-section-head,
.name-result-card .name-result-body {
  overflow: visible;
}

.name-result-card .name-result-tags .result-tag {
  border-radius: var(--radius-pill);
}

.name-result-card .name-result-body .name-result-line {
  border-left-width: 2px;
}

.name-result-card .name-result-body .name-result-line {
  line-height: inherit;
}

.name-result-card .name-result-body .name-result-line {
  color: inherit;
}

.name-result-card .name-result-body .name-result-line {
  background-clip: padding-box;
}

.name-result-card .name-result-section-head .mini-label,
.name-result-card .name-result-section-head .name-result-section-subtitle,
.name-result-card .name-result-body .name-result-line {
  word-break: break-word;
}

.name-result-card .name-result-section-head .mini-label {
  word-break: keep-all;
}

.name-result-card .name-result-tags .result-tag {
  word-break: keep-all;
}

.name-result-card .name-result-head,
.name-result-card .name-result-copy,
.name-result-card .name-result-aside {
  overflow: visible;
}

.name-result-card .name-result-title {
  text-wrap: balance;
}

.name-result-card .name-result-pinyin {
  text-wrap: pretty;
}

.name-result-card .name-result-body {
  text-wrap: pretty;
}

.name-result-card .name-result-body .name-result-line {
  text-wrap: pretty;
}

.name-result-card .name-result-section-head .name-result-section-subtitle {
  text-wrap: pretty;
}

.name-result-card .name-result-head {
  grid-template-columns: minmax(0, 1fr) auto;
}

.name-result-card .name-result-aside {
  justify-content: flex-start;
}

.name-result-card .name-result-tags {
  justify-content: flex-start;
}

.name-result-card .name-result-sections {
  justify-content: stretch;
}

.name-result-card .name-result-section {
  justify-content: start;
}

.name-result-card .name-result-body {
  justify-content: start;
}

.name-result-card .name-result-section-head {
  justify-content: flex-start;
}

.name-result-card .name-result-section-head .name-result-section-subtitle:last-child {
  margin-left: auto;
}

.name-result-card .name-result-head .name-result-copy {
  justify-content: start;
}

.name-result-card .name-result-head .name-result-aside {
  justify-content: flex-start;
}

.name-result-card .name-result-title {
  text-shadow: none;
}

.name-result-card .name-result-star {
  text-shadow: none;
}

.name-result-card .name-result-duplicate {
  text-shadow: none;
}

.name-result-card .name-result-section {
  text-shadow: none;
}

.name-result-card .name-result-body .name-result-line {
  text-shadow: none;
}

.name-result-card .name-result-tags .result-tag {
  text-shadow: none;
}

.name-result-card .name-result-section-head .mini-label,
.name-result-card .name-result-section-head .name-result-section-subtitle {
  text-shadow: none;
}

.name-result-card .name-result-head .mini-label {
  text-shadow: none;
}

.name-result-card .name-result-pinyin,
.name-result-card .name-result-title,
.name-result-card .name-result-duplicate,
.name-result-card .name-result-stars {
  isolation: isolate;
}

.name-result-card .name-result-body .name-result-line {
  isolation: isolate;
}

.name-result-card .name-result-tags .result-tag {
  isolation: isolate;
}

.name-result-card .name-result-section {
  isolation: isolate;
}

.name-result-card .name-result-head,
.name-result-card .name-result-sections,
.name-result-card .name-result-tags {
  isolation: isolate;
}

.name-result-card .name-result-section-head {
  isolation: isolate;
}

.name-result-card .name-result-body {
  isolation: isolate;
}

.name-result-card .name-result-copy {
  isolation: isolate;
}

.name-result-card .name-result-aside {
  isolation: isolate;
}

.name-result-card .name-result-head .mini-label {
  isolation: isolate;
}

.name-result-card .name-result-title,
.name-result-card .name-result-pinyin {
  isolation: isolate;
}

.name-result-card .name-result-stars,
.name-result-card .name-result-duplicate {
  isolation: isolate;
}

.name-result-card .name-result-section-head .mini-label,
.name-result-card .name-result-section-head .name-result-section-subtitle {
  isolation: isolate;
}

.name-result-card .name-result-section-dot {
  isolation: isolate;
}

.name-result-card .name-result-tags .result-tag {
  isolation: isolate;
}

.name-result-card .name-result-body .name-result-line {
  isolation: isolate;
}

.name-result-card .name-result-head .mini-label {
  white-space: nowrap;
}

.name-result-section-dot {
  width: 3px;
  height: 3px;
  border-radius: 999px;
  background: rgba(95, 112, 133, 0.32);
}

.name-result-section-subtitle {
  margin: 0;
  font-size: 12px;
  line-height: 1.2;
  color: rgba(95, 112, 133, 0.82);
}

.name-result-section .mini-label {
  padding: 0;
  background: none;
  color: var(--text-soft);
  letter-spacing: 0.08em;
}

.name-result-section-primary .mini-label {
  color: rgba(160, 136, 88, 0.94);
}

.name-result-section-secondary .mini-label {
  color: rgba(98, 84, 124, 0.9);
}

.name-result-body {
  display: grid;
  gap: 6px;
  overflow: visible;
  font-size: 13px;
  line-height: 1.78;
  color: #304051;
}

.name-result-line {
  display: block;
  padding-left: 10px;
  border-left: 2px solid rgba(95, 112, 133, 0.08);
}

.results-feedback {
  position: fixed;
  right: 12px;
  bottom: 12px;
  z-index: 40;
  margin: 0;
  max-width: min(320px, calc(100vw - 24px));
  padding: 12px 14px;
  border-radius: 14px;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.5;
  box-shadow: 0 10px 24px rgba(29, 43, 60, 0.12);
  backdrop-filter: blur(12px);
}

.results-feedback-info {
  background: rgba(90, 112, 139, 0.1);
  color: var(--accent-deep);
}

.results-feedback-success {
  background: rgba(103, 145, 121, 0.12);
  color: #3d6550;
}

.results-feedback-error {
  background: rgba(141, 79, 88, 0.1);
  color: #8d4f58;
}

.results-state[hidden],
.results-content[hidden] {
  display: none;
}

.results-content {
  display: grid;
  gap: 0;
}

.favorite-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.result-favorite-button,
.favorite-card-action {
  min-height: 26px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  box-shadow: none;
}

.result-favorite-button.is-active {
  border-color: rgba(90, 112, 139, 0.14);
  background: rgba(90, 112, 139, 0.12);
  color: var(--accent-deep);
}

.results-list {
  display: grid;
  gap: 8px;
}

.favorites-content {
  display: grid;
  gap: 0;
}

.favorites-list {
  display: grid;
  gap: 8px;
}

.favorites-state .button {
  width: fit-content;
}

.favorites-summary-card .summary-chip {
  gap: 4px;
}

.name-result-card {
  position: relative;
  overflow: hidden;
  display: grid;
  gap: 8px;
  padding: 12px 12px 11px;
  border: 1px solid rgba(95, 112, 133, 0.09);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(251, 252, 254, 0.92));
  box-shadow: 0 7px 18px rgba(29, 43, 60, 0.035);
}

.name-result-card::before {
  content: '';
  position: absolute;
  inset: 0 auto 0 0;
  width: 2px;
  background: linear-gradient(180deg, rgba(196, 170, 118, 0.84), rgba(144, 126, 170, 0.66));
}

.name-result-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 8px;
}

.name-result-copy {
  display: grid;
  gap: 3px;
  min-width: 0;
  flex: 1;
}

.name-result-card .mini-label {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin: 0;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(95, 112, 133, 0.06);
  color: #677587;
  font-size: 10px;
  letter-spacing: 0.04em;
}

.name-result-title {
  font-size: clamp(1.18rem, 5.1vw, 1.5rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: #233243;
  text-shadow: none;
}

.name-result-star {
  position: relative;
  display: inline-block;
  font-size: 12px;
  line-height: 1;
  color: rgba(95, 112, 133, 0.18);
}

.name-result-star.is-active {
  color: rgba(168, 145, 96, 0.72);
}

.name-result-star.is-half {
  color: rgba(95, 112, 133, 0.18);
}

.name-result-star.is-half::after {
  content: '★';
  position: absolute;
  inset: 0 auto 0 0;
  width: 50%;
  overflow: hidden;
  color: rgba(168, 145, 96, 0.72);
}

.name-result-sections {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.name-result-section p:last-child {
  color: #304051;
}

.results-footnote {
  display: none;
}

.results-state {
  display: grid;
}

@media (max-width: 960px) {
  .results-summary-card {
    padding: 13px 13px 10px;
  }

  .results-summary-head {
    grid-template-columns: 1fr;
  }

  .results-toolbar,
  .results-footnote-actions {
    justify-content: start;
  }

  .name-result-head {
    display: grid;
    grid-template-columns: 1fr;
    align-items: start;
    gap: 8px;
  }

  .name-result-aside {
    justify-content: flex-start;
  }

  .name-result-stars,
  .name-result-duplicate {
    width: fit-content;
    max-width: 100%;
  }

  .name-result-sections {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .results-page-main {
    padding: 16px 0 24px;
  }

  .results-page-section {
    padding-top: 0;
  }

  .container {
    width: min(calc(100% - 20px), var(--container));
  }

  .results-summary-head h1 {
    max-width: none;
  }

  .name-result-card {
    padding: 12px 12px 11px;
    border-radius: 16px;
  }

  .name-result-title {
    font-size: clamp(1.14rem, 6.1vw, 1.4rem);
  }

  .results-toolbar,
  .results-footnote-actions {
    grid-auto-flow: column;
    grid-auto-columns: max-content;
    gap: 6px;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .results-toolbar .button,
  .results-toolbar a.button,
  .results-footnote-actions .button {
    min-height: 30px;
    padding: 6px 10px;
    font-size: 11px;
  }

  .results-feedback {
    right: 12px;
    bottom: 12px;
    max-width: calc(100vw - 24px);
  }
}


.name-panel {
  display: block;
}


.name-grid,
.feature-grid,
.use-case-grid {
  display: grid;
  gap: 18px;
}

.name-grid,
.feature-grid,
.use-case-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.name-card,
.feature-card,
.use-case-card,
.about-card {
  border: 1px solid var(--line);
  background: var(--bg-soft);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-soft);
}

.name-card,
.feature-card,
.use-case-card {
  border-radius: var(--radius-lg);
  padding: 26px;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.name-card:hover,
.feature-card:hover,
.use-case-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-card);
  border-color: rgba(90, 112, 139, 0.24);
}

.name-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.name-card-pinyin {
  margin: 0;
  color: var(--text-soft);
  font-size: 12px;
  letter-spacing: 0.04em;
}

.name-card h3 {
  margin: 4px 0 8px;
  font-size: 1.4rem;
  line-height: 1.3;
  font-family: var(--font-serif);
  font-weight: 600;
}

.feature-card h3,
.use-case-card h3 {
  margin: 18px 0 8px;
  font-size: 1.4rem;
  line-height: 1.3;
  font-family: var(--font-serif);
  font-weight: 600;
}

.name-card p,
.feature-card p,
.use-case-card p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.76;
}

.feature-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 12px;
  font-weight: 700;
}

.about-card {
  border-radius: var(--radius-xl);
  padding: 44px;
}

.about-copy {
  max-width: 920px;
}

.about-copy h2 br {
  display: none;
}

.about-note {
  font-size: 14px;
  color: var(--text-soft);
}

.site-footer {
  padding: 0 0 40px;
}

.footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.generator-page-main {
  padding: 56px 0 32px;
}

.generator-page-section {
  padding-bottom: 0;
}

.generator-page-shell {
  display: grid;
  gap: 14px;
  justify-items: stretch;
}

.generator-page-heading {
  display: none;
}

.generator-page-heading>p:not(.section-kicker) {
  margin: 16px auto 0;
  max-width: 620px;
  color: var(--text-secondary);
  font-size: 16px;
}

.generator-page-heading h1 {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  line-height: 1.14;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.generator-page-grid {
  align-items: start;
}

.generator-form-card-compact {
  width: min(100%, 680px);
  gap: 12px;
  margin: 0 auto;
  padding: 12px 12px 16px;
}

.generator-form-card-compact .form-field-group {
  gap: 14px;
  padding: 14px;
}

.generator-form-card-compact .generator-actions {
  justify-items: stretch;
  padding: 0 16px 16px;
}

.generator-form-card-compact .generator-actions .generator-meta {
  max-width: 520px;
  text-align: center;
}

.generator-form-card-compact .generator-meta {
  text-align: center;
}

.generator-form-card-compact .generator-actions .button {
  min-width: 0;
  width: 100%;
}

@media (max-width: 720px) {
  .generator-page-main {
    padding-top: 28px;
    padding-bottom: 24px;
  }
}

.footer-brand {
  color: var(--text-primary);
  font-weight: 700;
}

.footer-row p,
.footer-links a {
  margin: 0;
  color: var(--text-secondary);
  font-size: 14px;
}

.footer-links {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 20px;
}

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

.auth-modal-dialog {
  padding: 32px;
}

.auth-segmented {
  margin-top: 26px;
  margin-bottom: 20px;
  padding: 7px;
  border-color: rgba(95, 112, 133, 0.1);
  background: linear-gradient(180deg, rgba(245, 248, 251, 0.96), rgba(239, 244, 248, 0.9));
}

.auth-panel {
  display: grid;
  gap: 16px;
}

.auth-panel-intro {
  display: grid;
  gap: 8px;
  padding: 18px 18px 16px;
  border: 1px solid rgba(95, 112, 133, 0.1);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(245, 249, 252, 0.88));
}

.auth-panel-title {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--text-primary);
}

.auth-panel-copy {
  margin: 0;
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.75;
}

.auth-form {
  gap: 16px;
}

.auth-form .form-subgroup {
  gap: 8px;
}

.auth-form label {
  color: var(--text-primary);
  font-size: 14px;
  font-weight: 600;
}

.auth-form input {
  min-height: 54px;
  border-radius: 20px;
  padding: 15px 18px;
  background: rgba(255, 255, 255, 0.98);
}

.auth-form-actions {
  gap: 12px;
  margin-top: 2px;
}

.auth-form-actions .button {
  min-height: 52px;
}

.generator-page-main {
  padding: 34px 0 56px;
}

.generator-page-shell {
  display: grid;
  gap: 22px;
}


.generator-form-head h2 {
  margin: 0;
  font-family: var(--font-serif);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.generator-form-head p:last-child {
  margin: 0;
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.75;
}

.generator-form-card-compact {
  gap: 28px;
  width: min(100%, 680px);
  margin: 0 auto;
  padding: 12px 12px 16px;
}

.generator-form-head {
  display: grid;
  gap: 10px;
}

.generator-form-head h2 {
  font-size: clamp(1.6rem, 3vw, 2rem);
  line-height: 1.28;
}

.generator-form-card .form-field-group {
  padding: 24px;
  border-radius: 26px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(248, 251, 253, 0.76));
}

.generator-form-card-compact .form-field-group {
  gap: 14px;
  padding: 24px;
}

.generator-form-card-compact .generator-actions {
  justify-items: stretch;
  padding: 0 16px 16px;
}

.generator-form-card-compact .generator-actions .button,
.generator-actions .button {
  width: 100%;
  min-height: 54px;
}

.generator-credit-panel {
  display: grid;
  gap: 12px;
}

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

.generator-redeem-button {
  width: 100%;
}

.generator-credit-panel {
  display: grid;
  gap: 10px;
}

.generator-admin-link[hidden] {
  display: none;
}

#generator-submit[data-locked="true"] {
  box-shadow: 0 8px 18px rgba(49, 69, 94, 0.12);
}

#generator-submit[data-locked="true"]::after {
  content: " · 需先登录";
}

@media (max-width: 720px) {
  .auth-modal-dialog {
    padding: 24px 20px;
    border-radius: 24px;
  }

  .auth-modal-badge-row {
    align-items: flex-start;
  }

  .generator-page-main {
    padding: 24px 0 44px;
  }

  .generator-form-card .form-field-group,
  .generator-form-card-compact .form-field-group {
    padding: 20px;
  }
}

@media (max-width: 980px) {
  :root {
    --space-section: 84px;
  }

  .hero-grid,
  .generator-grid,
  .name-grid,
  .feature-grid,
  .use-case-grid,
  .result-grid {
    grid-template-columns: 1fr;
  }

  .hero-copy h1 {
    max-width: none;
  }

  .showcase-stack {
    grid-template-columns: 1fr;
  }

  .generator-results-head {
    grid-template-columns: 1fr;
    display: grid;
  }
}

@media (max-width: 720px) {
  :root {
    --space-section: 48px;
    --radius-xl: 24px;
    --radius-lg: 20px;
    --radius-md: 16px;
  }

  body {
    font-size: 15px;
    line-height: 1.6;
  }

  .container {
    width: min(calc(100% - 24px), var(--container));
  }

  /* 导航栏优化 */
  .site-header {
    backdrop-filter: blur(12px);
  }

  .nav-row {
    min-height: 64px;
    padding: 12px 0;
    gap: 16px;
  }

  .brand {
    flex-shrink: 0;
  }

  .brand-mark {
    width: 36px;
    height: 36px;
  }

  .brand-mark svg {
    width: 22px;
    height: 22px;
  }

  .brand-text {
    font-size: 17px;
  }

  /* 移动端隐藏桌面导航 */
  .site-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(252, 253, 254, 0.98);
    backdrop-filter: blur(20px);
    z-index: 1000;
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 8px;
    padding: 40px 24px;
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    font-size: 18px;
    font-weight: 600;
    padding: 14px 32px;
    color: var(--text-primary);
    border-radius: 16px;
    transition: background-color 0.2s ease;
    width: 100%;
    max-width: 280px;
    text-align: center;
  }

  .site-nav a:hover,
  .site-nav a:active {
    background: rgba(90, 112, 139, 0.08);
  }

  .nav-menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 0;
    border: none;
    background: transparent;
    cursor: pointer;
    color: var(--text-primary);
    flex-shrink: 0;
  }

  .nav-menu-toggle svg {
    width: 24px;
    height: 24px;
  }

  .nav-actions {
    display: flex;
    align-items: center;
    margin-left: auto;
    gap: 10px;
  }

  .nav-auth-status {
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .nav-user-chip {
    display: none;
  }

  .nav-logout-button {
    padding: 8px 16px;
    font-size: 13px;
    min-height: 38px;
  }

  .nav-cta,
  .generator-admin-link {
    padding: 9px 16px;
    font-size: 14px;
    white-space: nowrap;
    min-height: 38px;
  }

  /* Hero 区域优化 */
  .hero-section {
    padding: 32px 0 48px;
  }

  .hero-copy h1 {
    font-size: clamp(1.75rem, 7vw, 2.5rem);
    line-height: 1.25;
    max-width: none;
    margin-bottom: 20px;
  }

  .hero-actions {
    margin: 24px 0;
  }

  .hero-actions .button {
    width: 100%;
    min-height: 52px;
    font-size: 16px;
    font-weight: 600;
  }

  .hero-points {
    font-size: 14px;
    gap: 10px;
    margin-top: 20px;
  }

  .hero-showcase {
    margin-top: 40px;
  }

  /* 区块标题优化 */
  .section-kicker {
    font-size: 12px;
    letter-spacing: 0.05em;
  }

  .section-heading h2 {
    font-size: clamp(1.5rem, 5vw, 2rem);
    line-height: 1.3;
  }

  .section-heading.narrow {
    max-width: none;
  }

  /* 卡片优化 */
  .generator-form-card,
  .name-card,
  .feature-card,
  .showcase-card-main,
  .showcase-card-mini {
    padding: 24px 20px;
    border-radius: var(--radius-lg);
  }

  .result-card,
  .result-list-item {
    padding: 20px 18px;
  }

  /* 表单优化 */
  .form-field-group {
    padding: 20px 18px;
    gap: 16px;
  }

  .form-field label,
  .field-label {
    font-size: 15px;
  }

  .generator-form input[type="text"],
  .generator-form textarea,
  .generator-form select {
    padding: 13px 16px;
    font-size: 16px;
    border-radius: 14px;
  }

  .field-hint {
    font-size: 13px;
    line-height: 1.5;
  }

  /* 按钮优化 */
  .button {
    font-size: 15px;
    padding: 12px 22px;
    min-height: 48px;
  }

  .button-primary {
    font-weight: 600;
  }

  .generator-actions .button {
    width: 100%;
    min-height: 54px;
    font-size: 16px;
  }

  /* 名字卡片优化 */
  .name-card {
    min-height: auto;
  }

  .name-card-header {
    gap: 12px;
  }

  .name-card-name {
    font-size: 1.5rem;
  }

  .name-card-meta {
    font-size: 13px;
    gap: 8px;
  }

  /* 结果页优化 */
  .results-summary-head {
    gap: 20px;
  }

  .results-summary-copy h1 {
    font-size: 1.5rem;
  }

  .results-toolbar {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .results-toolbar .button,
  .results-toolbar a.button {
    width: 100%;
    padding: 8px 12px;
    font-size: 13px;
    min-height: 40px;
  }

  .results-toolbar .button:first-child {
    grid-column: 1 / -1;
  }

  /* 弹窗优化 */
  .auth-modal {
    padding: 16px;
    align-items: flex-end;
  }

  .auth-modal-dialog {
    width: 100%;
    max-width: 100%;
    padding: 28px 24px 24px;
    border-radius: 24px 24px 0 0;
  }

  .auth-modal-header-upgraded h2 {
    font-size: 1.35rem;
  }

  .auth-form input {
    font-size: 16px;
    padding: 14px 16px;
    min-height: 52px;
  }

  /* 关于区域 */
  .about-card {
    padding: 32px 24px;
  }

  .about-copy h2 {
    font-size: clamp(1.35rem, 5vw, 1.75rem);
    line-height: 1.4;
  }

  .about-copy h2 br {
    display: inline;
  }

  /* 页脚优化 */
  .site-footer {
    padding: 40px 0 32px;
  }

  .footer-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }

  .footer-brand {
    font-size: 18px;
  }

  .footer-links {
    font-size: 14px;
  }

  /* 收藏和历史页面 */
  .favorites-state,
  .history-state {
    padding: 32px 20px;
  }

  /* 隐藏不必要的元素 */
  .generator-intro-actions {
    justify-items: stretch;
  }

  .generator-intro-points {
    display: grid;
    grid-template-columns: 1fr;
  }
}
