/* ResumeAIX — 全局样式（参考 Jobseeker 的干净留白 + 深紫主色） */
:root {
  --brand: #4314b6;
  --brand-hover: #3610a0;
  --brand-light: #7c5cde;
  --brand-soft: #efe8ff;
  --brand-ink: #2d1470;
  --ink: #1d1d20;
  --ink-2: #2a2a2e;
  --muted: #6e6e76;
  --line: #e6e6ea;
  --bg: #f5f6f7;
  --bg-soft: #fafafa;
  --surface: #ffffff;
  --hero-from: #ffffff;
  --hero-via: #fafafa;
  --hero-to: #f7f7f8;
  --grad-brand: #4314b6;
  --grad-brand-btn: #4314b6;
  --shadow-sm: 0 1px 2px rgba(17, 17, 17, 0.04);
  --shadow-md: 0 10px 28px -12px rgba(17, 17, 17, 0.12);
  --shadow-lg: 0 18px 40px -16px rgba(67, 20, 182, 0.28);
  --shadow-nav: 0 1px 0 rgba(17, 17, 17, 0.06);
  --radius: 8px;
  --radius-sm: 5px;
  --header-h: 66px;
  --font-display: "Noto Sans SC", "Inter", system-ui, sans-serif;
  --font-body: "Noto Sans SC", "Inter", system-ui, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  font-size: 17px;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1rem;
  background: #fff;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; border: none; background: none; }

.container {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

/* ========== Header — 扁平顶栏 ========== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 0;
  height: var(--header-h);
  background: #fff;
  border-bottom: 0;
}

.site-header .container {
  position: relative;
  height: 100%;
}

.header-pill {
  min-height: var(--header-h);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 0;
  max-width: none;
  margin-inline: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.brand-mark {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: block;
  flex-shrink: 0;
  object-fit: cover;
  background: transparent;
  box-shadow: none;
}

.brand-lockup {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1px;
  line-height: 1.15;
}

.brand-mark i {
  display: block;
  line-height: 1;
}

.brand-text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--brand);
}

.brand-sub {
  font-family: var(--font-sans, inherit);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.nav {
  display: flex;
  align-items: stretch;
  align-self: stretch;
  gap: 2px;
  flex: 1;
  min-width: 0;
  justify-content: center;
}

.nav-item,
.nav > .nav-link {
  display: flex;
  align-items: center;
}

.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 9px 15px;
  font-size: 0.98rem;
  font-weight: 500;
  line-height: 1;
  color: var(--ink-2);
  border-radius: 8px;
  white-space: nowrap;
  transition: color 0.2s, background 0.2s;
  background: none;
  border: 0;
  cursor: pointer;
}

.nav-link i {
  font-size: 0.85em;
  line-height: 1;
}

.nav-link:hover {
  color: var(--brand);
  background: transparent;
}

.nav-link.is-active {
  color: var(--brand);
  font-weight: 600;
}

.nav-badge {
  position: absolute;
  top: -2px;
  right: 2px;
  font-size: 10px;
  line-height: 1;
  padding: 2px 5px;
  border-radius: 999px;
  background: #ff3b30;
  color: #fff;
  font-weight: 700;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.header-actions > .btn,
.header-actions .lang-trigger {
  width: auto;
  min-width: 40px;
  height: 42px;
  padding: 0 16px;
  box-sizing: border-box;
  justify-content: center;
  font-size: 0.95rem;
  font-weight: 500;
  gap: 6px;
  white-space: nowrap;
  border-radius: 5px;
}

/* ========== Language switch ========== */
.lang-switch {
  position: relative;
}

.lang-trigger {
  display: inline-flex;
  align-items: center;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink-2);
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}

.lang-trigger:hover,
.lang-switch.is-open .lang-trigger {
  color: var(--brand);
  border-color: rgba(79, 33, 178, 0.35);
  background: var(--brand-soft);
}

.lang-flag {
  font-size: 1.05rem;
  line-height: 1;
}

.lang-current {
  white-space: nowrap;
}

.lang-caret {
  font-size: 14px;
  transition: transform 0.2s;
}

.lang-switch.is-open .lang-caret {
  transform: rotate(180deg);
}

.lang-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 180px;
  padding: 6px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow-md);
  z-index: 60;
}

.lang-menu[hidden] {
  display: none;
}

.lang-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 500;
  transition: background 0.15s, color 0.15s;
}

.lang-option:hover {
  background: var(--brand-soft);
  color: var(--brand);
}

.lang-option.is-active {
  background: var(--brand-soft);
  color: var(--brand);
  font-weight: 600;
}

.lang-name {
  flex: 1;
}

.lang-check {
  font-size: 16px;
  color: var(--brand);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 5px;
  font-weight: 500;
  font-size: 1rem;
  transition: background 0.2s, box-shadow 0.2s, border-color 0.2s, color 0.2s;
  white-space: nowrap;
}

.btn:hover { transform: none; }
.btn:active { transform: none; }

.btn-primary {
  background: var(--brand);
  color: #fff;
  box-shadow: none;
}

.btn-primary:hover {
  background: var(--brand-hover);
  box-shadow: none;
}

.btn-ghost {
  border: 1px solid var(--line);
  color: var(--ink-2);
  background: #fff;
}

.btn-ghost:hover {
  border-color: rgba(79, 33, 178, 0.35);
  color: var(--brand);
  background: var(--brand-soft);
}

.btn-white {
  background: #fff;
  color: var(--brand);
  box-shadow: var(--shadow-md);
}

.btn-white:hover { box-shadow: var(--shadow-lg); }

.btn-lg { padding: 12px 28px; font-size: 1.05rem; border-radius: 5px; }

.btn-secondary {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--brand);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  border-color: rgba(79, 33, 178, 0.35);
  box-shadow: var(--shadow-md);
}

.menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  border: 1px solid var(--line);
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: var(--ink);
  background: #fff;
}

/* ========== Hero ========== */
.hero {
  position: relative;
  min-height: auto;
  padding: 88px 0 48px;
  background: #fff;
  color: var(--ink);
  overflow: visible;
}

.hero-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
}

.hero-trust {
  display: none;
}

.hero-kicker {
  margin: 0 0 10px;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--brand);
}

.hero-brand {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.75rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.25;
  margin: 0 0 18px;
  color: var(--ink);
}

.hero-brand span {
  display: none;
}

.hero-desc {
  margin: 0 auto 32px;
  max-width: 560px;
  font-size: 1.2rem;
  color: var(--muted);
  line-height: 1.7;
  font-weight: 400;
}

.search-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border-radius: 10px;
  padding: 10px 10px 10px 22px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  max-width: 680px;
  margin: 0 auto 18px;
}

.search-bar input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 1.05rem;
  color: var(--ink);
  min-width: 0;
  background: transparent;
}

.search-bar input::placeholder { color: #98a2b3; }

.hot-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 10px 12px;
  font-size: 0.95rem;
  color: var(--muted);
  animation: fadeUp 0.7s 0.3s ease both;
}

.hot-tags a {
  color: var(--brand);
  font-weight: 500;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--brand-soft);
  border: 1px solid transparent;
  transition: background 0.2s, color 0.2s;
}

.hot-tags a:hover {
  background: #e4d9ff;
}

.hero-actions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 920px;
  margin: 44px auto 0;
  animation: fadeUp 0.7s 0.36s ease both;
}

.hero-card {
  background: #fff;
  color: var(--ink);
  border-radius: 12px;
  padding: 28px 24px 24px;
  text-align: left;
  text-decoration: none;
  border: 1px solid var(--line);
  box-shadow: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
}

.hero-card:hover {
  transform: none;
  border-color: rgba(79, 33, 178, 0.28);
  box-shadow: var(--shadow-md);
}

.hero-card-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--brand-soft);
  color: var(--brand);
  display: grid;
  place-items: center;
  font-size: 22px;
  margin-bottom: 18px;
  flex-shrink: 0;
}

.hero-card h3 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 600;
  color: var(--ink);
}

.hero-card p {
  margin: 0 0 20px;
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.6;
  flex: 1;
}

.hero-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--brand);
  transition: gap 0.18s ease;
}

.hero-card:hover .hero-card-cta {
  gap: 8px;
}

.hero-cta {
  margin: 12px 0 0;
}

.hero-cta .btn-lg {
  min-width: 148px;
  padding: 12px 28px;
  font-size: 1.02rem;
  border-radius: 5px;
}

/* ========== 首页模板轮播 ========== */
.tpl-showcase {
  background: #fff;
  padding: 12px 0 88px;
}

.tpl-tray {
  width: 100%;
  margin: 0;
  background: #f3f4f6;
  border-radius: 0;
  padding: 56px 0 48px;
}

.tpl-carousel-wrap {
  position: relative;
  display: block;
  width: min(1480px, calc(100% - 16px));
  margin: 0 auto;
  padding: 0 72px;
}

.tpl-carousel {
  --tpl-gap: 20px;
  display: flex;
  gap: var(--tpl-gap);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 12px 0 16px;
  scrollbar-width: none;
}

.tpl-carousel::-webkit-scrollbar { display: none; }

.page-home .tpl-carousel .tpl-card {
  --tpl-w: calc((100% - 3 * var(--tpl-gap)) / 4);
  position: relative;
  flex: 0 0 var(--tpl-w);
  width: var(--tpl-w);
  scroll-snap-align: start;
  border: 0;
  border-radius: 3px;
  box-shadow: 0 16px 44px rgba(17, 17, 17, 0.16);
  overflow: hidden;
  background: #fff;
}

.page-home .tpl-carousel .tpl-card:hover {
  transform: none;
  box-shadow: 0 22px 56px rgba(17, 17, 17, 0.22);
}

.page-home .tpl-meta { display: none; }

.tpl-use {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 4;
  padding: 12px 22px;
  border-radius: 5px;
  background: var(--brand);
  color: #fff;
  font-size: 1.02rem;
  font-weight: 500;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
  white-space: nowrap;
}

.page-home .tpl-carousel .tpl-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(29, 29, 32, 0.22);
  opacity: 0;
  transition: opacity 0.2s;
  z-index: 3;
}

.page-home .tpl-carousel .tpl-card:hover::after,
.page-home .tpl-carousel .tpl-card:hover .tpl-use {
  opacity: 1;
}

.tpl-carousel .tpl-stage {
  container-type: inline-size;
  width: 100%;
  aspect-ratio: 210 / 297;
  height: auto;
  border-radius: 0;
}

.tpl-carousel .tpl-sheet { border-bottom: 0; }

.tpl-carousel .resume-preview {
  left: 0;
  margin-left: 0;
  transform-origin: top left;
  transform: scale(calc(100cqw / 595px));
}

.page-home .tpl-carousel .rp-sec { margin-bottom: 13px; }
.page-home .tpl-carousel .rp-job { margin-bottom: 10px; }
.page-home .tpl-carousel .rp-bullets li { line-height: 1.75; }

.tpl-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #1a1a1a;
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 1.35rem;
  z-index: 5;
  box-shadow: 0 8px 20px rgba(17, 17, 17, 0.18);
}

.tpl-arrow-prev { left: 4px; }
.tpl-arrow-next { right: 4px; }
.tpl-arrow:hover { background: #333; }
.tpl-arrow:disabled { opacity: 0.22; pointer-events: none; }

@media (max-width: 1200px) {
  .tpl-carousel-wrap { padding: 0 56px; }
}

/* ========== 三步指南 ========== */
.how-section {
  background: #fff;
  padding: 80px 0 96px;
}

.how-section .section-head {
  margin-bottom: 40px;
}

.how-section .section-head h2 {
  font-size: clamp(2rem, 3.8vw, 3rem);
  font-weight: 500;
}

.how-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  max-width: 920px;
  margin: 0 auto 40px;
}

.how-tab {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  text-align: left;
  padding: 4px 4px 0;
  border: 0;
  color: var(--ink);
  background: transparent;
  border-radius: 0;
}

.how-tab .how-num {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1.5px solid var(--ink);
  display: grid;
  place-items: center;
  font-size: 0.85rem;
  font-weight: 600;
  margin: 2px 0 0;
}

.how-tab-copy h3 {
  margin: 0 0 6px;
  font-size: 1.15rem;
  font-weight: 600;
  color: inherit;
}

.how-tab-copy p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--muted);
}

.how-visual {
  background: transparent;
  border: 0;
  border-radius: 0;
  min-height: 0;
  display: block;
  padding: 0;
  text-align: left;
}

.how-panel { display: none; }
.how-panel.is-active { display: block; }

.editor-chrome {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 18px 50px -18px rgba(17, 17, 17, 0.28);
  border: 1px solid #ececee;
}

.editor-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 48px;
  padding: 0 16px;
  background: #1d1d20;
  color: #fff;
  font-weight: 500;
}

.editor-bar i { font-size: 1.1rem; }

.editor-dl {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  background: var(--brand);
  display: grid;
  place-items: center;
  color: #fff;
}

.editor-dl.is-ready { background: #16a34a; }

.editor-split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  min-height: 420px;
}

.editor-form {
  padding: 22px 24px;
  background: #fff;
}

.editor-form h4 {
  margin: 0 0 14px;
  font-size: 1.15rem;
  font-weight: 600;
}

.editor-hint {
  margin: -6px 0 16px;
  color: var(--muted);
  font-size: 0.92rem;
}

.editor-entry {
  position: relative;
  padding: 12px 36px 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  margin-bottom: 16px;
  background: #f8f8f9;
}

.editor-entry strong { display: block; font-size: 0.95rem; }
.editor-entry span { font-size: 0.82rem; color: var(--muted); }
.editor-entry i {
  position: absolute;
  right: 12px;
  top: 14px;
  color: var(--muted);
}

.editor-form label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink-2);
  margin-bottom: 10px;
}

.editor-form input,
.editor-form textarea {
  display: block;
  width: 100%;
  margin-top: 5px;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 9px 12px;
  background: #f5f6f7;
  color: var(--ink);
  resize: none;
}

.editor-dates {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.editor-preview {
  background: #f5f6f7;
  padding: 22px 20px;
  display: grid;
  place-items: center;
}

.editor-sheet {
  width: min(100%, 280px);
  min-height: 360px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(17, 17, 17, 0.1);
  padding: 18px 16px;
  font-size: 11px;
  line-height: 1.55;
  color: #334155;
}

.editor-sheet p { margin: 0 0 8px; }
.editor-sheet .es-head {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid #e2e8f0;
}
.es-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, #cbd5e1, #94a3b8);
  flex-shrink: 0;
}
.es-name { font-size: 15px; font-weight: 700; color: #0f172a; }
.es-role { font-size: 10px; color: var(--brand); }
.es-sec {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #0f172a;
  margin: 10px 0 4px;
  padding-bottom: 3px;
  border-bottom: 1px solid #e2e8f0;
}
.es-bars { display: flex; flex-direction: column; gap: 5px; }
.es-bars i {
  display: block;
  height: 5px;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--brand), #ddd);
}
.es-bars i:nth-child(1) { width: 92%; }
.es-bars i:nth-child(2) { width: 78%; }
.es-bars i:nth-child(3) { width: 64%; }

.editor-sheet-modern .es-banner {
  background: #1e3a5f;
  color: #fff;
  font-weight: 700;
  font-size: 16px;
  margin: -18px -16px 12px;
  padding: 16px;
}

.editor-tpl-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.editor-tpl {
  height: 88px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, #f8fafc, #fff);
  display: grid;
  place-items: end start;
  padding: 10px;
  font-size: 0.82rem;
  font-weight: 600;
}

.editor-tpl.is-on {
  border-color: var(--brand);
  box-shadow: 0 0 0 2px rgba(67, 20, 182, 0.18);
}

.editor-dl-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  margin-bottom: 16px;
  background: #f8f8f9;
}

.editor-dl-card i { font-size: 32px; color: #dc2626; }
.editor-dl-card strong { display: block; }
.editor-dl-card span { font-size: 0.82rem; color: var(--muted); }

.editor-dl-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border-radius: 5px;
  background: var(--brand);
  color: #fff;
  font-weight: 500;
}

/* ========== 评分条 ========== */
.rating-block {
  text-align: center;
  margin-bottom: 40px;
}

.rating-score {
  font-size: 2rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.rating-stars {
  color: var(--brand);
  font-size: 1.2rem;
  margin: 10px 0 0;
}

.rating-count {
  color: var(--muted);
  font-size: 0.95rem;
}

/* ========== 工具下拉 ========== */
.nav-item {
  position: relative;
}

.nav-item > .nav-link {
  display: inline-flex;
}

.nav-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 200px;
  padding: 8px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: var(--shadow-md);
  display: block;
  z-index: 70;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.12s ease, visibility 0.12s;
  transition-delay: 0.18s;
}

/* 填满触发项与菜单之间的空隙，避免鼠标下移时 hover 中断 */
.nav-dropdown::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 100%;
  height: 20px;
}

.nav-item:hover .nav-dropdown,
.nav-item.is-open .nav-dropdown {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  transition-delay: 0s;
}

.nav-dropdown a {
  display: block;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 0.95rem;
  color: var(--ink-2);
}

.nav-dropdown a:hover {
  background: var(--brand-soft);
  color: var(--brand);
}

/* ========== Feature strip ========== */
.feature-strip {
  background: #fff;
  color: var(--ink);
  padding: 28px 0 8px;
  border-block: 0;
}

.feature-strip-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.feature-item i {
  font-size: 30px;
  color: var(--brand);
  margin-top: 2px;
}

.feature-item strong {
  display: block;
  font-size: 1.05rem;
  margin-bottom: 4px;
  color: var(--ink);
}

.feature-item span {
  font-size: 0.92rem;
  color: var(--muted);
}

/* ========== Sections ========== */
.section {
  padding: 88px 0;
}

.section-alt {
  background: #fff;
}

.section-soft {
  background: #fff;
}

.section-head {
  text-align: center;
  margin-bottom: 48px;
}

.section-head h2 {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.6vw, 3rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.section-head p {
  margin: 0 auto;
  max-width: 640px;
  color: var(--muted);
  font-size: 1.08rem;
}

.section-foot {
  text-align: center;
  margin-top: 36px;
}

.link-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--brand);
  font-weight: 600;
  font-size: 1rem;
  transition: gap 0.2s;
}

.link-more:hover { gap: 10px; }

/* ========== Template grid (写实纸面预览) ========== */
.tpl-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.tpl-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04), 0 8px 24px rgba(15, 23, 42, 0.05);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
}

.tpl-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.1), 0 4px 12px rgba(15, 23, 42, 0.06);
}

.tpl-card:hover .tpl-sheet {
  /* 卡片整体 hover 上移，不需要 sheet 再单独浮动 */
}

.tpl-stage {
  height: 330px;
  padding: 0;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  background: #fff;
  position: relative;
  overflow: hidden;
  border-radius: 16px 16px 0 0;
}

.tpl-sheet {
  width: 100%;
  height: 100%;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  border-bottom: 1px solid rgba(15, 23, 42, 0.07);
  overflow: hidden;
  position: relative;
  font-size: initial;
}

/* —— 迷你简历通用零件 —— */
.ms {
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  position: relative;
  background: #fff;
  color: #1e293b;
  overflow: hidden;
}

.ms-pad { padding: 12px 11px; }
.ms-name {
  height: 7px;
  width: 42%;
  background: #0f172a;
  border-radius: 2px;
}
.ms-role {
  height: 4px;
  width: 28%;
  background: #38bdf8;
  border-radius: 2px;
  margin-top: 5px;
}
.ms-meta {
  display: flex;
  gap: 3px;
  margin-top: 7px;
  flex-wrap: wrap;
}
.ms-meta i {
  display: block;
  height: 3px;
  width: 28px;
  background: #cbd5e1;
  border-radius: 2px;
}
.ms-h {
  height: 4px;
  width: 36%;
  background: #0b4f8a;
  border-radius: 1px;
  margin: 11px 0 6px;
  position: relative;
}
.ms-h::after {
  content: "";
  position: absolute;
  left: 0;
  right: -40px;
  bottom: -3px;
  height: 1px;
  background: #e2e8f0;
}
.ms-lines { display: flex; flex-direction: column; gap: 3px; }
.ms-lines b,
.ms-lines i {
  display: block;
  height: 3px;
  border-radius: 1px;
  background: #d5dee8;
}
.ms-lines b { width: 100%; background: #94a3b8; height: 3.5px; }
.ms-lines i:nth-child(2) { width: 92%; }
.ms-lines i:nth-child(3) { width: 78%; }
.ms-lines i:nth-child(4) { width: 88%; }
.ms-job { margin-bottom: 7px; }
.ms-job-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 3px;
}
.ms-job-top span {
  height: 3.5px;
  width: 40%;
  background: #334155;
  border-radius: 1px;
}
.ms-job-top em {
  height: 3px;
  width: 22%;
  background: #bae6fd;
  border-radius: 1px;
}
.ms-chips { display: flex; flex-wrap: wrap; gap: 3px; margin-top: 4px; }
.ms-chips i {
  height: 8px;
  width: 28px;
  border-radius: 999px;
  background: #e0f2fe;
  display: block;
}
.ms-chips i:nth-child(2) { width: 34px; }
.ms-chips i:nth-child(3) { width: 22px; }
.ms-chips i:nth-child(4) { width: 30px; }
.ms-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(145deg, #cbd5e1, #94a3b8);
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
}
.ms-avatar::after {
  content: "";
  position: absolute;
  left: 8px;
  top: 6px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #e2e8f0;
  box-shadow: 0 10px 0 4px #e2e8f0;
}

/* default 居中经典 */
.ms-default { text-align: center; background: linear-gradient(180deg, #f8fbff, #fff 40%); }
.ms-default .ms-name { margin: 2px auto 0; width: 48%; }
.ms-default .ms-role { margin: 5px auto 0; background: #007aff; }
.ms-default .ms-meta { justify-content: center; }
.ms-default .ms-h { margin-left: 0; text-align: left; }
.ms-default .ms-block { text-align: left; margin-top: 2px; }
.ms-default .ms-rule {
  height: 2px;
  background: #0066e0;
  margin: 9px 0 2px;
  border-radius: 1px;
}

/* modern 深蓝页眉 */
.ms-modern .ms-head {
  background: linear-gradient(135deg, #0f172a, #1e3a5f);
  padding: 12px 11px 10px;
  position: relative;
  overflow: hidden;
}
.ms-modern .ms-head::after {
  content: "";
  position: absolute;
  right: -16px;
  top: -16px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(56, 189, 248, 0.15);
}
.ms-modern .ms-name { background: #fff; width: 50%; }
.ms-modern .ms-role { background: #38bdf8; }
.ms-modern .ms-meta i { background: rgba(148, 163, 184, 0.55); }
.ms-modern .ms-body { padding: 10px 11px; }
.ms-modern .ms-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 4px;
  padding: 6px;
  margin-bottom: 8px;
}
.ms-modern .ms-tl { border-left: 1.5px solid #e0f2fe; padding-left: 8px; margin-left: 2px; }
.ms-modern .ms-tl .ms-job { position: relative; }
.ms-modern .ms-tl .ms-job::before {
  content: "";
  position: absolute;
  left: -11px;
  top: 2px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #007aff;
  box-shadow: 0 0 0 2px #e0f2fe;
}

/* elegant 衬线纸感 */
.ms-elegant { background: linear-gradient(180deg, #faf8f5, #f3eee6); padding: 14px 12px; text-align: center; }
.ms-elegant .ms-eyebrow {
  height: 2px;
  width: 54%;
  margin: 0 auto 8px;
  background: #d6d3d1;
}
.ms-elegant .ms-name { margin: 0 auto; width: 56%; background: #1c1917; height: 6px; }
.ms-elegant .ms-role { margin: 6px auto 0; width: 32%; background: #a8a29e; }
.ms-elegant .ms-meta { justify-content: center; margin-top: 8px; }
.ms-elegant .ms-meta i { background: #d6d3d1; }
.ms-elegant .ms-sep {
  height: 1px;
  background: linear-gradient(90deg, transparent, #d6d3d1, transparent);
  margin: 10px 18px;
}
.ms-elegant .ms-block { text-align: left; }
.ms-elegant .ms-h { background: #a8a29e; width: 40%; margin: 8px auto 7px; }
.ms-elegant .ms-h::after { display: none; }

/* sidebar 蓝侧栏 */
.ms-sidebar { display: flex; }
.ms-sidebar .ms-aside {
  width: 34%;
  background: linear-gradient(165deg, #0052c2, #38bdf8);
  padding: 12px 7px;
  box-sizing: border-box;
}
.ms-sidebar .ms-aside .ms-name { background: #fff; width: 80%; height: 5px; }
.ms-sidebar .ms-aside .ms-role { background: rgba(255, 255, 255, 0.55); width: 60%; }
.ms-sidebar .ms-aside .ms-h { background: rgba(255, 255, 255, 0.55); width: 70%; margin: 12px 0 5px; }
.ms-sidebar .ms-aside .ms-h::after { display: none; }
.ms-sidebar .ms-aside .ms-lines i { background: rgba(255, 255, 255, 0.35); }
.ms-sidebar .ms-aside .ms-lines b { background: rgba(255, 255, 255, 0.7); }
.ms-sidebar .ms-main { flex: 1; padding: 12px 9px; }
.ms-sidebar .ms-main .ms-h { background: #0066e0; }

/* aurora 青绿 */
.ms-aurora .ms-head {
  background: linear-gradient(120deg, #042f2e, #0f766e 50%, #14b8a6);
  padding: 12px 11px 11px;
  position: relative;
  overflow: hidden;
}
.ms-aurora .ms-head::before {
  content: "";
  position: absolute;
  right: 10%;
  top: -20%;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
}
.ms-aurora .ms-name { background: #fff; width: 48%; }
.ms-aurora .ms-role { background: rgba(255, 255, 255, 0.7); }
.ms-aurora .ms-meta i { background: rgba(255, 255, 255, 0.35); }
.ms-aurora .ms-body { padding: 10px 11px; background: linear-gradient(180deg, #f0fdfa, #fff 50%); }
.ms-aurora .ms-h { background: #0d9488; }
.ms-aurora .ms-h::after { background: #ccfbf1; }
.ms-aurora .ms-card {
  background: #fff;
  border: 1px solid #ccfbf1;
  border-radius: 5px;
  padding: 6px 7px;
  margin-bottom: 6px;
}
.ms-aurora .ms-chips i { background: #ccfbf1; }

/* noir 墨金 */
.ms-noir { background: #fffaf5; }
.ms-noir .ms-head {
  background: #0c0a09;
  padding: 12px 11px 11px 14px;
  position: relative;
}
.ms-noir .ms-head::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, #fbbf24, #b45309);
}
.ms-noir .ms-name { background: #fafaf9; width: 52%; }
.ms-noir .ms-role { background: #fbbf24; width: 30%; }
.ms-noir .ms-meta i { background: #78716c; }
.ms-noir .ms-body { padding: 11px; }
.ms-noir .ms-h { background: #b45309; }
.ms-noir .ms-h::after { background: #e7e5e4; }
.ms-noir .ms-chips i { background: #fed7aa; }

/* timeline */
.ms-timeline { padding: 12px 11px; background: linear-gradient(180deg, #f8fbff, #fff 40%); }
.ms-timeline .ms-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding-bottom: 8px;
  margin-bottom: 8px;
  border-bottom: 1px solid #e2e8f0;
}
.ms-timeline .ms-name { width: 46%; }
.ms-timeline .ms-role { background: #2563eb; }
.ms-timeline .ms-rail { display: flex; gap: 0; }
.ms-timeline .ms-times {
  width: 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding-top: 1px;
}
.ms-timeline .ms-times i {
  display: block;
  height: 3px;
  width: 100%;
  background: #93c5fd;
  border-radius: 1px;
}
.ms-timeline .ms-track {
  flex: 1;
  border-left: 1.5px solid #bfdbfe;
  padding-left: 10px;
  margin-left: 6px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
}
.ms-timeline .ms-track .ms-job { position: relative; margin: 0; }
.ms-timeline .ms-track .ms-job::before {
  content: "";
  position: absolute;
  left: -13.5px;
  top: 1px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #fff;
  border: 1.5px solid #2563eb;
  box-shadow: 0 0 0 2px #eff6ff;
}
.ms-timeline .ms-foot {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  margin-top: 10px;
}
.ms-timeline .ms-foot > div {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 4px;
  padding: 6px;
}

/* slate 灰岩 */
.ms-slate { display: flex; }
.ms-slate .ms-aside {
  width: 36%;
  background: linear-gradient(175deg, #0f172a, #1e293b 60%, #334155);
  padding: 12px 7px;
  box-sizing: border-box;
}
.ms-slate .ms-aside .ms-avatar {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: linear-gradient(135deg, #38bdf8, #6366f1);
  margin-bottom: 8px;
}
.ms-slate .ms-aside .ms-avatar::after { display: none; }
.ms-slate .ms-aside .ms-name { background: #fff; width: 78%; height: 5px; }
.ms-slate .ms-aside .ms-role { background: #7dd3fc; width: 58%; }
.ms-slate .ms-aside .ms-h { background: #64748b; width: 68%; margin: 12px 0 5px; }
.ms-slate .ms-aside .ms-h::after { display: none; }
.ms-slate .ms-aside .ms-lines i { background: #475569; }
.ms-slate .ms-aside .ms-lines b { background: #94a3b8; }
.ms-slate .ms-main { flex: 1; padding: 12px 9px; background: linear-gradient(180deg, #f8fafc, #fff); }
.ms-slate .ms-main .ms-accent {
  width: 22px;
  height: 2px;
  background: linear-gradient(90deg, #38bdf8, #6366f1);
  border-radius: 1px;
  margin: 0 0 8px;
}
.ms-slate .ms-main .ms-job {
  border-left: 2px solid #38bdf8;
  padding-left: 6px;
}

.tpl-meta {
  padding: 14px 18px 16px;
  border-top: 1px solid #f1f5f9;
}
.tpl-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 6px;
}
.tpl-meta h3 {
  margin: 0;
  font-size: 1.02rem;
  font-family: var(--font-display);
  font-weight: 700;
  color: #0f172a;
  letter-spacing: -0.01em;
}
.tpl-format {
  flex-shrink: 0;
  font-size: 11px;
  font-weight: 700;
  color: var(--brand);
  background: var(--brand-soft);
  border: 1px solid #ddd0ff;
  padding: 2px 8px;
  border-radius: 999px;
  letter-spacing: 0.02em;
  font-family: var(--font-display);
}
.tpl-meta p {
  margin: 0;
  font-size: 0.86rem;
  color: #94a3b8;
}

.job-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.job-chip {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 22px 14px;
  text-align: center;
  transition: border-color 0.2s, color 0.2s, transform 0.2s, box-shadow 0.2s;
}

.job-chip:hover {
  border-color: rgba(79, 33, 178, 0.35);
  color: var(--brand);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.job-chip i {
  display: block;
  font-size: 32px;
  margin-bottom: 10px;
  color: var(--brand);
}

.job-chip span { font-weight: 600; font-size: 1rem; }

/* ========== Capability ========== */
.cap-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px 32px;
}

.cap-item {
  padding: 8px 4px 4px;
  transition: transform 0.25s ease;
}

.cap-item:hover {
  transform: translateY(-3px);
}

.cap-icon {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: var(--brand-soft);
  color: var(--brand);
  margin-bottom: 18px;
  transition: background 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
}

.cap-icon i {
  font-size: 24px;
  line-height: 1;
}

.cap-item:hover .cap-icon {
  background: var(--grad-brand);
  color: #fff;
  box-shadow: 0 10px 22px -10px rgba(79, 33, 178, 0.55);
}

.cap-item h3 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.cap-item p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.65;
  max-width: 28ch;
}

/* ========== Guide / articles ========== */
.article-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.article-card {
  background: #fff;
  border: 1px solid rgba(79, 33, 178, 0.08);
  border-radius: var(--radius);
  padding: 24px 20px;
  transition: transform 0.2s, box-shadow 0.2s;
  min-height: 150px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
}

.article-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.article-card .cat {
  font-size: 0.85rem;
  color: var(--brand);
  font-weight: 700;
  margin-bottom: 12px;
}

.article-card h3 {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.5;
  flex: 1;
}

/* ========== Reviews ========== */
.review-section {
  background: #1d1d20;
  color: #fff;
  position: relative;
  overflow: hidden;
  padding: 96px 0;
}

.review-section .section-head h2 {
  color: #fff;
}

.review-section::before,
.review-section::after {
  display: none;
}

.review-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0;
  margin: 0 auto 40px;
  width: fit-content;
  box-shadow: none;
}

.review-meta-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 28px;
}

.review-meta-num {
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.review-meta-label {
  font-size: 0.78rem;
  color: var(--muted);
  margin-top: 2px;
  display: flex;
  align-items: center;
  gap: 3px;
}

.review-meta-label i {
  color: #f59e0b;
  font-size: 0.8rem;
}

.review-meta-sep {
  width: 1px;
  height: 36px;
  background: rgba(0,0,0,0.08);
  flex-shrink: 0;
}

.review-carousel-wrap {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
}

.review-carousel {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  overflow: hidden;
  flex: 1;
  min-width: 0;
}

.review-card {
  background: transparent;
  border-radius: 0;
  padding: 8px 12px;
  border: 0;
  box-shadow: none;
  transition: opacity 0.3s ease;
  display: flex;
  flex-direction: column;
}

.review-card:hover {
  transform: none;
  box-shadow: none;
  border-color: transparent;
}

.review-card strong {
  display: block;
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: #fff;
}

.review-card.is-hidden {
  display: none;
}

.review-arrow {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 0;
  background: #fff;
  color: #1d1d20;
  display: grid;
  place-items: center;
  cursor: pointer;
  flex-shrink: 0;
  font-size: 1.05rem;
  transition: background 0.18s;
  box-shadow: none;
}

.review-arrow:hover {
  background: #f3f3f4;
  color: #1d1d20;
  border-color: transparent;
  box-shadow: none;
}

.review-arrow:disabled {
  opacity: 0.28;
  background: #fff;
  cursor: default;
  pointer-events: none;
}

.review-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 28px;
}

.review-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #4b4b50;
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.2s, transform 0.2s;
}

.review-dot.is-active {
  background: #fff;
  transform: scale(1.25);
}

.review-stars {
  display: flex;
  gap: 3px;
  margin: 16px 0 0;
}

.review-stars i {
  color: var(--brand);
  font-size: 0.95rem;
}

.review-card p {
  margin: 0;
  color: #d4d4d8;
  font-size: 0.98rem;
  line-height: 1.75;
  flex: 1;
}

.review-user {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 20px;
  border-top: 1px solid rgba(0,0,0,0.06);
}

.review-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--brand-soft);
  color: var(--brand-ink);
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.review-user strong { display: block; font-size: 0.95rem; color: var(--ink); }
.review-user span { font-size: 0.82rem; color: var(--muted); margin-top: 2px; display: block; }

/* ========== CTA band ========== */
.cta-band {
  background: var(--bg);
  color: var(--ink);
  padding: 112px 0;
  text-align: left;
  border-top: 0;
}

.cta-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.cta-copy h2 {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.4vw, 2.85rem);
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.cta-copy p {
  margin: 0 0 28px;
  color: var(--muted);
  font-size: 1.12rem;
  max-width: 36ch;
}

.cta-collage {
  position: relative;
  height: 380px;
}

.cta-sheet {
  position: absolute;
  width: 210px;
  height: 300px;
  background: #fff;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(17, 17, 17, 0.14);
}

.cta-sheet-a { left: 4%; top: 36px; transform: rotate(-8deg); }
.cta-sheet-b { left: 32%; top: 0; transform: rotate(2deg); z-index: 2; }
.cta-sheet-c { right: 2%; top: 48px; transform: rotate(9deg); }

.cta-band .btn-white {
  background: var(--brand);
  color: #fff;
  box-shadow: none;
}

.cta-band .btn-white:hover {
  background: var(--brand-hover);
  box-shadow: none;
}

.seo-crumb {
  max-width: 1120px;
  margin: 0 auto;
  padding: 18px 20px 0;
  font-size: 13px;
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.seo-crumb a {
  color: var(--muted);
  text-decoration: none;
}

.seo-crumb a:hover {
  color: var(--brand);
}

/* ========== Page hero (inner) ========== */
.page-hero {
  background: #fff;
  color: var(--ink);
  padding: 56px 0 36px;
  text-align: center;
  border-bottom: 1px solid var(--line);
}

.page-hero .container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-hero h1 {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.7rem);
  letter-spacing: -0.025em;
}

.page-hero p {
  margin: 0;
  color: var(--muted);
  max-width: 620px;
  font-size: 1.12rem;
  line-height: 1.7;
}

/* ========== Content pages ========== */
.content-card {
  background: #fff;
  border: 1px solid rgba(79, 33, 178, 0.08);
  border-radius: var(--radius);
  padding: 36px clamp(22px, 4vw, 44px);
  box-shadow: var(--shadow-sm);
}

/* ========== Guide blog index ========== */
.guide-hero .guide-hero-kicker {
  margin: 0 0 10px;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand);
}

.guide-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}

.guide-toolbar .filters { margin-bottom: 0; }

.guide-count {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 500;
}

.guide-featured {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  gap: 0;
  margin: 28px 0 22px;
  background: #fff;
  border: 1px solid rgba(79, 33, 178, 0.1);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  animation: fadeUp 0.5s ease both;
}

.guide-featured:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.guide-featured-visual {
  display: grid;
  place-items: center;
  min-height: 220px;
  background:
    radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.35), transparent 45%),
    linear-gradient(145deg, #4f21b2 0%, #7c5cde 100%);
  color: #fff;
  font-size: 3.4rem;
}

.guide-featured-body {
  padding: 32px clamp(22px, 3vw, 36px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.guide-featured-body h2 {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  letter-spacing: -0.02em;
  line-height: 1.35;
}

.guide-featured-body > p {
  margin: 0 0 18px;
  color: var(--ink-2);
  font-size: 1.05rem;
  line-height: 1.75;
  max-width: 54ch;
}

.guide-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 0.9rem;
}

.guide-cat {
  color: var(--brand);
  font-weight: 700;
}

.guide-dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #a8bfd4;
}

.guide-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.guide-post {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 22px 24px;
  background: #fff;
  border: 1px solid rgba(79, 33, 178, 0.08);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  animation: fadeUp 0.55s ease both;
}

.guide-post:nth-child(1) { animation-delay: 0.04s; }
.guide-post:nth-child(2) { animation-delay: 0.08s; }
.guide-post:nth-child(3) { animation-delay: 0.12s; }
.guide-post:nth-child(4) { animation-delay: 0.16s; }
.guide-post:nth-child(5) { animation-delay: 0.2s; }

.guide-post:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: rgba(79, 33, 178, 0.18);
}

.guide-post-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: var(--brand-soft);
  color: var(--brand);
  font-size: 1.45rem;
  flex-shrink: 0;
}

.guide-post-body h3 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 1.18rem;
  letter-spacing: -0.015em;
  line-height: 1.4;
}

.guide-post-body p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.65;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.guide-post-arrow {
  color: var(--brand);
  font-size: 1.2rem;
  opacity: 0.55;
  transition: opacity 0.2s, transform 0.2s;
}

.guide-post:hover .guide-post-arrow {
  opacity: 1;
  transform: translateX(3px);
}

.guide-empty {
  text-align: center;
  color: var(--muted);
  padding: 48px 16px;
}

.guide-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
  padding: 36px clamp(22px, 4vw, 44px);
  border-radius: var(--radius);
  background: var(--brand-soft);
  border: 1px solid #ddd0ff;
}

.guide-cta h2 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.2vw, 1.7rem);
  letter-spacing: -0.02em;
}

.guide-cta p {
  margin: 0;
  color: var(--muted);
  max-width: 42ch;
}

.guide-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ========== Guide article detail ========== */
.article-page {
  padding-bottom: 24px;
}

.page-hero.article-hero {
  padding: calc(var(--header-h) + 8px) 0 48px;
  min-height: 0;
}

.page-hero.article-hero .container {
  min-height: 0;
}

.article-wrap {
  width: min(760px, calc(100% - 40px));
  margin: -36px auto 0;
  position: relative;
  z-index: 1;
}

.article-crumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
  font-size: 0.92rem;
  color: var(--muted);
}

.article-crumb a {
  color: var(--brand);
  font-weight: 500;
}

.article-crumb a:hover { text-decoration: underline; }

.article-card-main {
  background: #fff;
  border: 1px solid rgba(79, 33, 178, 0.08);
  border-radius: var(--radius);
  padding: 40px clamp(22px, 4vw, 52px) 48px;
  box-shadow: var(--shadow-sm);
}

.article-card-main > header {
  margin-bottom: 28px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}

.article-card-main > header h1 {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3.2vw, 2.2rem);
  letter-spacing: -0.025em;
  line-height: 1.3;
}

.article-lead {
  margin: 0;
  color: var(--ink-2);
  font-size: 1.12rem;
  line-height: 1.75;
}

.prose h2 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  margin: 32px 0 12px;
  letter-spacing: -0.015em;
}

.prose h2:first-child { margin-top: 0; }

.prose h3 {
  font-family: var(--font-display);
  font-size: 1.12rem;
  margin: 24px 0 10px;
}

.prose p, .prose li {
  color: var(--ink-2);
  font-size: 1.05rem;
  line-height: 1.85;
}

.prose p { margin: 0 0 16px; }

.prose ul, .prose ol {
  padding-left: 1.25em;
  margin: 0 0 18px;
}

.prose li + li { margin-top: 6px; }

.prose strong { color: var(--ink); font-weight: 700; }

.prose blockquote {
  margin: 22px 0;
  padding: 16px 20px;
  border-left: 3px solid var(--brand);
  background: var(--bg-soft);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  color: var(--ink-2);
}

.prose blockquote p { margin: 0; }

.prose-toc {
  margin: 0 0 28px;
  padding: 18px 20px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}

.prose-toc-title {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--ink);
}

.prose-toc ol {
  margin: 0;
  padding-left: 1.2em;
  color: var(--ink-2);
}

.prose-toc li + li { margin-top: 6px; }

.prose-toc a {
  color: var(--brand-ink);
  text-decoration: none;
}

.prose-toc a:hover { text-decoration: underline; }

.prose-faq {
  display: grid;
  gap: 10px;
  margin: 8px 0 8px;
}

.prose-faq details {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
  padding: 12px 16px;
}

.prose-faq summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--ink);
  list-style: none;
}

.prose-faq summary::-webkit-details-marker { display: none; }

.prose-faq summary::before {
  content: "+";
  display: inline-block;
  width: 1.1em;
  color: var(--brand);
  font-weight: 700;
}

.prose-faq details[open] summary::before { content: "–"; }

.prose-faq details p {
  margin: 10px 0 0;
  color: var(--ink-2);
}

.prose a {
  color: var(--brand-ink);
  text-decoration: underline;
  text-underline-offset: 2px;
}

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

.article-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.article-related {
  margin-top: 36px;
}

.article-related h2 {
  margin: 0 0 16px;
  font-family: var(--font-display);
  font-size: 1.2rem;
}

.article-related-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.article-related-list a {
  display: block;
  padding: 18px 20px;
  background: #fff;
  border: 1px solid rgba(79, 33, 178, 0.08);
  border-radius: var(--radius-sm);
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.article-related-list a:hover {
  border-color: rgba(79, 33, 178, 0.2);
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}

.article-related-list .guide-cat {
  display: block;
  margin-bottom: 8px;
  font-size: 0.85rem;
}

.article-related-list strong {
  display: block;
  font-size: 1rem;
  line-height: 1.45;
  font-weight: 600;
}

.faq-item {
  border-bottom: 1px solid var(--line);
  padding: 20px 0;
}

.faq-item:last-child { border-bottom: none; }

.faq-item summary {
  font-weight: 600;
  font-size: 1.08rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: "+";
  font-size: 1.35rem;
  color: var(--brand);
  font-weight: 400;
}

.faq-item[open] summary::after { content: "−"; }

.faq-item p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.75;
}

/* AI tools */
.ai-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.ai-card {
  background: #fff;
  border: 1px solid rgba(79, 33, 178, 0.08);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
  box-shadow: var(--shadow-sm);
}

.ai-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: rgba(79, 33, 178, 0.22);
}

.ai-card i {
  font-size: 34px;
  color: var(--brand);
  margin-bottom: 14px;
  display: block;
}

.ai-card h3 {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: 1.18rem;
}

.ai-card p {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 0.98rem;
}

.ai-tools-stack {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.ai-tool-block {
  scroll-margin-top: calc(var(--header-h) + 16px);
}

.ai-tool-block h2 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 1.45rem;
}

.ai-tool-block > p {
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 1.02rem;
}

.ai-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.ai-form label {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--ink-2);
}

.ai-form input,
.ai-form textarea,
.ai-form select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 13px 16px;
  background: #f5fafd;
  margin-bottom: 16px;
  font-size: 1rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.ai-form input:focus,
.ai-form textarea:focus,
.ai-form select:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(79, 33, 178, 0.15);
  background: #fff;
}

.ai-result {
  background: #f0f9ff;
  border: 1px dashed #7dd3fc;
  border-radius: var(--radius);
  padding: 24px;
  min-height: 280px;
  white-space: pre-wrap;
  font-size: 1rem;
  color: var(--ink-2);
  line-height: 1.75;
}

.ai-status-banner {
  margin: 8px auto 0;
  max-width: 920px;
  padding: 12px 16px;
  border-radius: 12px;
  border: 1px solid rgba(79, 33, 178, 0.18);
  background: #f0f9ff;
  color: var(--ink-2);
  font-size: 0.95rem;
  line-height: 1.55;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.ai-status-banner .ai-status-text { flex: 1; }

.ai-status-banner.is-ready {
  border-color: rgba(16, 185, 129, 0.28);
  background: #ecfdf5;
  color: #065f46;
}

.ai-status-banner.is-warn {
  border-color: rgba(245, 158, 11, 0.35);
  background: #fffbeb;
  color: #92400e;
}

.ai-status-banner.is-error {
  border-color: rgba(239, 68, 68, 0.28);
  background: #fef2f2;
  color: #991b1b;
}

.ai-action:disabled,
#btn-to-editor.is-disabled {
  opacity: 0.55;
  cursor: not-allowed;
  pointer-events: none;
}

.ai-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}

.ai-result-wrap { display: flex; flex-direction: column; gap: 10px; }

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

.ai-result.is-streaming {
  border-style: solid;
  border-color: #38bdf8;
}

.ai-result.is-error {
  background: #fef2f2;
  border-color: #fca5a5;
  color: #991b1b;
}

.btn-sm {
  padding: 8px 12px;
  font-size: 0.88rem;
}

/* ========== Footer ========== */
.site-footer {
  background: #fff;
  color: var(--ink-2);
  padding: 72px 0 28px;
  margin-top: auto;
  border-top: 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-bottom: 40px;
}

.footer-brand .brand-lockup {
  color: var(--ink);
  margin-bottom: 12px;
}

.footer-brand p {
  margin: 12px 0 0;
  font-size: 0.98rem;
  line-height: 1.75;
  color: var(--muted);
  max-width: 300px;
}

.footer-col h4 {
  margin: 0 0 16px;
  color: var(--ink);
  font-size: 1.05rem;
  font-family: var(--font-display);
}

.footer-col a {
  display: block;
  font-size: 0.98rem;
  color: var(--muted);
  margin-bottom: 12px;
  transition: color 0.2s;
}

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

.footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: 20px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  font-size: 0.9rem;
  color: var(--muted);
  text-align: center;
}

/* ========== Floating tools ========== */
.float-tools {
  position: fixed;
  right: 20px;
  bottom: 28px;
  z-index: 40;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.float-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 22px;
  box-shadow: var(--shadow-md);
  transition: background 0.2s;
}

.float-btn:hover {
  transform: none;
  background: var(--brand-hover);
  box-shadow: var(--shadow-md);
}

/* ========== Page layout helpers ========== */
.page-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.page-main { flex: 1; }

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}

.filter-btn {
  padding: 10px 18px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: #fff;
  font-size: 0.98rem;
  font-weight: 500;
  color: var(--ink-2);
  transition: all 0.2s;
}

.filter-btn:hover,
.filter-btn.is-active {
  background: var(--brand);
  border-color: transparent;
  color: #fff;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ========== Responsive ========== */
@media (max-width: 1180px) and (min-width: 861px) {
  .header-pill {
    gap: 10px;
    padding: 8px 8px 8px 12px;
  }

  .header-inner {
    gap: 12px;
  }

  .brand-text {
    font-size: 1rem;
  }

  .nav {
    gap: 0;
  }

  .nav-link {
    padding: 8px 10px;
    font-size: 0.88rem;
  }
}

@media (max-width: 1024px) {
  .tpl-grid { grid-template-columns: repeat(3, 1fr); }
  .article-grid { grid-template-columns: repeat(2, 1fr); }
  .job-grid { grid-template-columns: repeat(4, 1fr); }
  .ai-grid { grid-template-columns: repeat(2, 1fr); }
  .cap-grid { grid-template-columns: repeat(2, 1fr); gap: 24px 28px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 992px) {
  html[lang="de"] .nav,
  html[lang="es"] .nav,
  html[lang="pt"] .nav,
  html[lang="fr"] .nav,
  html[lang="it"] .nav,
  html[lang="de"] .header-actions .header-auth,
  html[lang="es"] .header-actions .header-auth,
  html[lang="pt"] .header-actions .header-auth,
  html[lang="fr"] .header-actions .header-auth,
  html[lang="it"] .header-actions .header-auth {
    display: none;
  }

  html[lang="de"] .menu-toggle,
  html[lang="es"] .menu-toggle,
  html[lang="pt"] .menu-toggle,
  html[lang="fr"] .menu-toggle,
  html[lang="it"] .menu-toggle {
    display: inline-flex;
  }

  html[lang="de"] .nav.is-open,
  html[lang="es"] .nav.is-open,
  html[lang="pt"] .nav.is-open,
  html[lang="fr"] .nav.is-open,
  html[lang="it"] .nav.is-open {
    display: flex;
    position: absolute;
    top: calc(var(--header-h) - 8px);
    left: 20px;
    right: 20px;
    background: #fff;
    flex-direction: column;
    padding: 12px;
    border-radius: 20px;
    border: 1px solid var(--line);
    box-shadow: var(--shadow-md);
  }

  html[lang="de"] .nav.is-open .nav-link,
  html[lang="es"] .nav.is-open .nav-link,
  html[lang="pt"] .nav.is-open .nav-link,
  html[lang="fr"] .nav.is-open .nav-link,
  html[lang="it"] .nav.is-open .nav-link {
    white-space: normal;
  }
}

@media (max-width: 860px) {
  html { font-size: 16px; }
  .nav, .header-actions .header-auth { display: none; }
  .menu-toggle { display: inline-flex; }
  .nav.is-open {
    display: flex;
    position: absolute;
    top: calc(var(--header-h) - 8px);
    left: 20px;
    right: 20px;
    background: #fff;
    flex-direction: column;
    padding: 12px;
    border-radius: 20px;
    border: 1px solid var(--line);
    box-shadow: var(--shadow-md);
  }
  .nav.is-open .nav-link {
    white-space: normal;
  }
  .nav.is-open .nav-dropdown {
    display: block;
    position: static;
    box-shadow: none;
    border: 0;
    padding: 0 0 8px 12px;
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    transition: none;
  }
  .nav.is-open .nav-dropdown::before {
    display: none;
  }
  .hero-actions { grid-template-columns: 1fr; }
  .feature-strip-grid { grid-template-columns: 1fr 1fr; gap: 18px; }
  .tpl-grid { grid-template-columns: repeat(2, 1fr); }
  .cap-grid { grid-template-columns: 1fr; gap: 22px; }
  .ai-panel { grid-template-columns: 1fr; }
  .review-meta { padding: 12px 16px; gap: 0; }
  .review-meta-item { padding: 0 16px; }
  .review-meta-num { font-size: 1.25rem; }
  .review-carousel { grid-template-columns: 1fr; }
  .review-arrow { width: 32px; height: 32px; font-size: 0.85rem; }
  .job-grid { grid-template-columns: repeat(3, 1fr); }
  .how-tabs { grid-template-columns: 1fr; gap: 16px; }
  .editor-split { grid-template-columns: 1fr; }
  .editor-preview { display: none; }
  .cta-split { grid-template-columns: 1fr; text-align: center; }
  .cta-copy p { margin-inline: auto; }
  .cta-collage { height: 280px; }
  .tpl-arrow { width: 44px; height: 44px; font-size: 1.15rem; }
  .hero { padding: 56px 0 36px; }
  .tpl-carousel-wrap { padding: 0 48px; }
  .tpl-tray { padding: 32px 0 28px; }
  .page-home .tpl-carousel .tpl-card { --tpl-w: calc((100% - var(--tpl-gap)) / 2); }
  .guide-featured {
    grid-template-columns: 1fr;
  }
  .guide-featured-visual {
    min-height: 140px;
    font-size: 2.6rem;
  }
  .guide-post {
    grid-template-columns: 48px minmax(0, 1fr);
  }
  .guide-post-arrow { display: none; }
  .guide-post-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    font-size: 1.25rem;
  }
  .article-related-list { grid-template-columns: 1fr; }
  .guide-cta { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 560px) {
  .container { width: calc(100% - 28px); }
  .header-pill { padding: 0 8px 0 12px; }
  .brand-text { font-size: 1rem; }
  .lang-current { display: none; }
  .header-actions > .btn,
  .header-actions .lang-trigger { width: 40px; padding: 0; }
  .header-actions > .btn-primary { width: 112px; padding: 0 10px; }
  .search-bar { flex-direction: column; border-radius: 20px; padding: 12px; }
  .search-bar .btn { width: 100%; }
  .feature-strip-grid,
  .tpl-grid,
  .article-grid,
  .job-grid,
  .ai-grid,
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .page-home .tpl-carousel .tpl-card { --tpl-w: 100%; }
}

/* ═══════════════════════════════════════
   真实迷你简历预览
═══════════════════════════════════════ */
.resume-preview {
  width: 595px;
  height: 844px;
  transform: scale(0.464);
  transform-origin: top center;
  position: absolute;
  top: 0;
  left: 50%;
  margin-left: -297.5px;
  font-family: 'Noto Sans SC', 'PingFang SC', 'Helvetica Neue', sans-serif;
  font-size: 14px;
  background: #fff;
  overflow: hidden;
  box-sizing: border-box;
  line-height: 1.5;
  color: #1e293b;
  pointer-events: none;
  user-select: none;
}
.resume-preview *, .resume-preview *::before, .resume-preview *::after { box-sizing: border-box; }

/* ── 共享基础组件 ── */
.rp-name  { font-size: 22px; font-weight: 700; letter-spacing: 2px; }
.rp-title { font-size: 11px; margin-top: 4px; }
.rp-contact { font-size: 8.5px; margin-top: 5px; }
.rp-sec { margin-bottom: 9px; }
.rp-sec-title {
  font-size: 9.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px;
  padding-bottom: 3px; border-bottom: 1px solid; margin-bottom: 5px;
}
.rp-job { margin-bottom: 7px; }
.rp-job-row { display: flex; justify-content: space-between; align-items: baseline; }
.rp-job-row .rp-co   { font-size: 9px; font-weight: 600; }
.rp-job-row .rp-date { font-size: 7.5px; opacity: 0.6; flex-shrink: 0; margin-left: 4px; }
.rp-role { font-size: 8px; font-style: italic; opacity: 0.72; margin: 1px 0 3px; }
.rp-bullets { margin: 0; padding-left: 11px; list-style: disc; }
.rp-bullets li { font-size: 7.5px; line-height: 1.6; color: #475569; }
.rp-text { font-size: 8px; line-height: 1.65; color: #475569; margin: 0; }
.rp-skill-row { display: flex; flex-wrap: wrap; gap: 3px; }
.rp-skill-tag { font-size: 7px; padding: 2px 6px; border-radius: 99px; }
.rp-edu-row { display: flex; justify-content: space-between; font-size: 9px; font-weight: 600; }
.rp-edu-sub { font-size: 7.5px; opacity: 0.68; margin-top: 1px; }

/* ─────────────────────────────────
   Template 1 · 极简经典 (classic)
───────────────────────────────── */
.rp-classic { padding: 20px 28px 14px; }
.rp-classic .rp-header { text-align: center; padding-bottom: 11px; margin-bottom: 11px; border-bottom: 2px solid #2563eb; }
.rp-classic .rp-name { color: #0f172a; }
.rp-classic .rp-title { color: #2563eb; }
.rp-classic .rp-contact { color: #64748b; }
.rp-classic .rp-sec-title { color: #2563eb; border-color: #bfdbfe; }
.rp-classic .rp-skill-tag { background: #eff6ff; color: #1d4ed8; }

/* ─────────────────────────────────
   Template 2 · 深蓝商务 (modern)
───────────────────────────────── */
.rp-modern .rp-header { background: #1e3a5f; padding: 18px 24px; }
.rp-modern .rp-name { color: #fff; }
.rp-modern .rp-title { color: #93c5fd; }
.rp-modern .rp-contact { color: rgba(203,213,225,0.8); }
.rp-modern .rp-body { padding: 14px 24px; }
.rp-modern .rp-sec-title { color: #1e3a5f; border-color: #bfdbfe; }
.rp-modern .rp-skill-tag { background: #eff6ff; color: #1e3a5f; }

/* ─────────────────────────────────
   Template 3 · 青绿极光 (aurora)
───────────────────────────────── */
.rp-aurora .rp-header { background: linear-gradient(135deg,#0d9488 0%,#06b6d4 100%); padding: 18px 24px; }
.rp-aurora .rp-name { color: #fff; }
.rp-aurora .rp-title { color: #ccfbf1; }
.rp-aurora .rp-contact { color: rgba(255,255,255,0.72); }
.rp-aurora .rp-body { padding: 14px 24px; background: linear-gradient(180deg,#f0fdfa 0%,#fff 40%); }
.rp-aurora .rp-sec-title { color: #0d9488; border-color: #99f6e4; }
.rp-aurora .rp-skill-tag { background: #ccfbf1; color: #0d9488; }

/* ─────────────────────────────────
   Template 4 · 墨金奢华 (noir)
───────────────────────────────── */
.rp-noir-wrap { background: #fffaf5; }
.rp-noir-wrap .rp-header { background: #1c1917; padding: 18px 24px; }
.rp-noir-wrap .rp-name { color: #fff; }
.rp-noir-wrap .rp-title { color: #fbbf24; }
.rp-noir-wrap .rp-contact { color: #a8a29e; }
.rp-noir-wrap .rp-body { padding: 14px 24px; }
.rp-noir-wrap .rp-sec-title { color: #b45309; border-color: #fde68a; }
.rp-noir-wrap .rp-skill-tag { background: #fef3c7; color: #b45309; }

/* ─────────────────────────────────
   Template 5 · 职业时间轴 (timeline)
───────────────────────────────── */
.rp-timeline-wrap { padding: 20px 24px; }
.rp-timeline-wrap .rp-hdr { display: flex; justify-content: space-between; align-items: flex-start; padding-bottom: 10px; margin-bottom: 10px; border-bottom: 2px solid #2563eb; }
.rp-timeline-wrap .rp-hdr-left .rp-name { color: #0f172a; }
.rp-timeline-wrap .rp-hdr-left .rp-title { color: #2563eb; }
.rp-timeline-wrap .rp-hdr-right { text-align: right; font-size: 8px; color: #64748b; line-height: 1.8; }
.rp-timeline-wrap .rp-sec-title { color: #2563eb; border-color: #bfdbfe; margin-bottom: 12px; }
.rp-timeline-wrap .rp-rail { display: flex; }
.rp-timeline-wrap .rp-times { width: 72px; flex-shrink: 0; padding-right: 10px; font-size: 7.5px; color: #94a3b8; text-align: right; line-height: 1.5; }
.rp-timeline-wrap .rp-times div { margin-bottom: 26px; }
.rp-timeline-wrap .rp-track { flex: 1; border-left: 2px solid #dbeafe; padding-left: 14px; }
.rp-timeline-wrap .rp-tl-item { position: relative; margin-bottom: 18px; }
.rp-timeline-wrap .rp-tl-item::before { content: ''; position: absolute; left: -19px; top: 4px; width: 6px; height: 6px; border-radius: 50%; background: #2563eb; border: 2px solid #fff; box-shadow: 0 0 0 1.5px #2563eb; }
.rp-timeline-wrap .rp-tl-co   { font-size: 9.5px; font-weight: 700; color: #0f172a; }
.rp-timeline-wrap .rp-tl-role { font-size: 8.5px; color: #64748b; margin-top: 1px; }
.rp-timeline-wrap .rp-tl-desc { font-size: 8px; color: #475569; margin-top: 4px; line-height: 1.6; }

/* ─────────────────────────────────
   Template 6 · 灰岩双栏 (slate)
───────────────────────────────── */
.rp-slate-wrap { display: flex; height: 844px; }
.rp-slate-wrap .rp-aside { width: 185px; flex-shrink: 0; background: #1e293b; padding: 20px 14px; color: #fff; }
.rp-slate-wrap .rp-avatar { width: 64px; height: 64px; border-radius: 50%; background: linear-gradient(135deg,#475569,#64748b); margin: 0 auto 12px; border: 3px solid #334155; position: relative; overflow: hidden; }
.rp-slate-wrap .rp-avatar::before { content: ''; position: absolute; bottom: -4px; left: 50%; transform: translateX(-50%); width: 28px; height: 28px; border-radius: 50%; background: #64748b; }
.rp-slate-wrap .rp-avatar::after { content: ''; position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%); width: 18px; height: 18px; border-radius: 50%; background: #94a3b8; }
.rp-slate-wrap .rp-name { color: #fff; font-size: 16px; text-align: center; letter-spacing: 1px; }
.rp-slate-wrap .rp-title { color: #7dd3fc; text-align: center; font-size: 9.5px; }
.rp-slate-wrap .rp-contact { color: #94a3b8; text-align: center; font-size: 7.5px; }
.rp-slate-wrap .rp-aside .rp-sec-title { color: #94a3b8; border-color: #334155; font-size: 8.5px; margin-top: 14px; }
.rp-slate-wrap .rp-aside .rp-text { color: #94a3b8; font-size: 8px; }
.rp-slate-wrap .rp-aside .rp-bullets li { color: #94a3b8; font-size: 8px; }
.rp-slate-wrap .rp-aside .rp-skill-tag { background: #334155; color: #94a3b8; font-size: 7px; }
.rp-slate-wrap .rp-main { flex: 1; padding: 16px 18px; background: linear-gradient(180deg,#f8fafc 0%,#fff 30%); }
.rp-slate-wrap .rp-main .rp-sec-title { color: #1e293b; border-color: #e2e8f0; }

/* ─────────────────────────────────
   Template 7 · 优雅衬线 (elegant)
───────────────────────────────── */
.rp-elegant-wrap { background: linear-gradient(180deg,#faf8f5,#f3eee6); padding: 22px 36px 14px; }
.rp-elegant-wrap .rp-header { text-align: center; border-bottom: 1px solid #d6d3d1; padding-bottom: 12px; margin-bottom: 12px; }
.rp-elegant-wrap .rp-name { color: #1c1917; font-size: 26px; letter-spacing: 5px; }
.rp-elegant-wrap .rp-title { color: #78716c; letter-spacing: 2px; font-size: 11px; }
.rp-elegant-wrap .rp-contact { color: #a8a29e; font-size: 8.5px; }
.rp-elegant-wrap .rp-sec-title { color: #78716c; border-color: #d6d3d1; text-align: center; font-size: 9.5px; width: 50%; margin-left: auto; margin-right: auto; }
.rp-elegant-wrap .rp-skill-tag { background: #e7e5e4; color: #78716c; }

/* ─────────────────────────────────
   Template 8 · 左右分栏 (sidebar)
───────────────────────────────── */
.rp-sidebar-wrap { display: flex; height: 844px; }
.rp-sidebar-wrap .rp-aside { width: 180px; flex-shrink: 0; background: #0066e0; padding: 20px 14px; color: #fff; }
.rp-sidebar-wrap .rp-name { color: #fff; font-size: 17px; }
.rp-sidebar-wrap .rp-title { color: #bfdbfe; font-size: 9.5px; }
.rp-sidebar-wrap .rp-contact { color: rgba(191,219,254,0.75); font-size: 7.5px; }
.rp-sidebar-wrap .rp-aside .rp-sec-title { color: #93c5fd; border-color: #1d4ed8; font-size: 8.5px; margin-top: 14px; }
.rp-sidebar-wrap .rp-aside .rp-text { color: #bfdbfe; font-size: 8px; }
.rp-sidebar-wrap .rp-aside .rp-bullets li { color: #bfdbfe; font-size: 8px; }
.rp-sidebar-wrap .rp-aside .rp-skill-tag { background: #1d4ed8; color: #bfdbfe; font-size: 7px; }
.rp-sidebar-wrap .rp-main { flex: 1; padding: 16px 18px; }
.rp-sidebar-wrap .rp-main .rp-sec-title { color: #0066e0; border-color: #bfdbfe; }

/* ─────────────────────────────────
   头像占位符 (通用)
───────────────────────────────── */

/* 经典模板右上角头像 */
.rp-classic .rp-avatar-demo {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, #dde3f0, #c4cfe3);
  border: 2.5px solid #e0f2fe;
  overflow: hidden;
  box-shadow: 0 3px 10px rgba(0,102,224,.12);
}
/* 头部 */
.rp-classic .rp-avatar-demo::after {
  content: '';
  position: absolute;
  top: 22%;
  left: 50%;
  transform: translateX(-50%);
  width: 38%;
  height: 38%;
  border-radius: 50%;
  background: #8fa4be;
}
/* 肩部 */
.rp-classic .rp-avatar-demo::before {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 72%;
  height: 52%;
  border-radius: 50% 50% 0 0;
  background: #8fa4be;
}

/* sidebar 模板顶部头像 */
.rp-avatar-sidebar {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(255,255,255,.25), rgba(255,255,255,.12));
  margin: 0 auto 10px;
  border: 2.5px solid rgba(255,255,255,.3);
  position: relative;
  overflow: hidden;
}
.rp-avatar-sidebar::after {
  content: '';
  position: absolute;
  top: 20%;
  left: 50%;
  transform: translateX(-50%);
  width: 38%;
  height: 38%;
  border-radius: 50%;
  background: rgba(255,255,255,.55);
}
.rp-avatar-sidebar::before {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 74%;
  height: 52%;
  border-radius: 50% 50% 0 0;
  background: rgba(255,255,255,.55);
}

/* 改善 slate 头像的人物轮廓 */
.rp-slate-wrap .rp-avatar::before {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 74%;
  height: 52%;
  border-radius: 50% 50% 0 0;
  background: #94a3b8;
}
.rp-slate-wrap .rp-avatar::after {
  content: '';
  position: absolute;
  top: 18%;
  left: 50%;
  transform: translateX(-50%);
  width: 36%;
  height: 36%;
  border-radius: 50%;
  background: #cbd5e1;
}

/* ════════════════════════════════════════════════════════════
   扩展模板库 ── 22 套全新设计
   ════════════════════════════════════════════════════════════ */

/* ── 公共头像基础（新侧栏模板共用） ────────── */
.rp-new-avatar {
  width: 62px; height: 62px; border-radius: 50%;
  margin: 0 auto 12px; position: relative; overflow: hidden;
  border: 2.5px solid rgba(255,255,255,.22);
}
.rp-new-avatar::after {
  content: ''; position: absolute;
  top: 16%; left: 50%; transform: translateX(-50%);
  width: 36%; height: 36%; border-radius: 50%;
  background: rgba(255,255,255,.55);
}
.rp-new-avatar::before {
  content: ''; position: absolute;
  bottom: -6px; left: 50%; transform: translateX(-50%);
  width: 74%; height: 52%; border-radius: 50% 50% 0 0;
  background: rgba(255,255,255,.35);
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   单栏 – 彩色全出血 Header 系列（同 rp-modern 结构）
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

/* ── 玫瑰晨曦 ─────────────────────────── */
.rp-rose .rp-header { background: linear-gradient(135deg,#9f1239 0%,#f43f5e 100%); padding: 20px 26px; }
.rp-rose .rp-name   { color: #fff; }
.rp-rose .rp-title  { color: #fecdd3; }
.rp-rose .rp-contact{ color: rgba(255,255,255,.72); }
.rp-rose .rp-body   { padding: 14px 24px; background: linear-gradient(180deg,#fff1f2 0%,#fff 38%); }
.rp-rose .rp-sec-title { color: #be185d; border-color: #fecdd3; }
.rp-rose .rp-skill-tag { background: #ffe4e6; color: #be185d; }

/* ── 暗调紫晶 ─────────────────────────── */
.rp-violet .rp-header { background: linear-gradient(135deg,#3b0764 0%,#7c3aed 100%); padding: 20px 26px; }
.rp-violet .rp-name   { color: #fff; }
.rp-violet .rp-title  { color: #ddd6fe; }
.rp-violet .rp-contact{ color: rgba(221,214,254,.72); }
.rp-violet .rp-body   { padding: 14px 24px; background: linear-gradient(180deg,#f5f3ff 0%,#fff 38%); }
.rp-violet .rp-sec-title { color: #5b21b6; border-color: #ddd6fe; }
.rp-violet .rp-skill-tag { background: #ede9fe; color: #5b21b6; }

/* ── 珊瑚创意 ─────────────────────────── */
.rp-coral .rp-header { background: linear-gradient(135deg,#c2410c 0%,#f97316 100%); padding: 20px 26px; }
.rp-coral .rp-name   { color: #fff; }
.rp-coral .rp-title  { color: #fed7aa; }
.rp-coral .rp-contact{ color: rgba(254,215,170,.8); }
.rp-coral .rp-body   { padding: 14px 24px; background: linear-gradient(180deg,#fff7ed 0%,#fff 38%); }
.rp-coral .rp-sec-title { color: #c2410c; border-color: #fed7aa; }
.rp-coral .rp-skill-tag { background: #ffedd5; color: #c2410c; }

/* ── 翡翠职场 ─────────────────────────── */
.rp-emerald .rp-header { background: linear-gradient(135deg,#064e3b 0%,#10b981 100%); padding: 20px 26px; }
.rp-emerald .rp-name   { color: #fff; }
.rp-emerald .rp-title  { color: #a7f3d0; }
.rp-emerald .rp-contact{ color: rgba(167,243,208,.8); }
.rp-emerald .rp-body   { padding: 14px 24px; background: linear-gradient(180deg,#ecfdf5 0%,#fff 38%); }
.rp-emerald .rp-sec-title { color: #047857; border-color: #a7f3d0; }
.rp-emerald .rp-skill-tag { background: #d1fae5; color: #047857; }

/* ── 天空蔚蓝 ─────────────────────────── */
.rp-sky .rp-header { background: linear-gradient(135deg,#0369a1 0%,#38bdf8 100%); padding: 20px 26px; }
.rp-sky .rp-name   { color: #fff; }
.rp-sky .rp-title  { color: #e0f2fe; }
.rp-sky .rp-contact{ color: rgba(224,242,254,.8); }
.rp-sky .rp-body   { padding: 14px 24px; background: linear-gradient(180deg,#f0f9ff 0%,#fff 38%); }
.rp-sky .rp-sec-title { color: #0369a1; border-color: #bae6fd; }
.rp-sky .rp-skill-tag { background: #e0f2fe; color: #0369a1; }

/* ── 深靛星辰 ─────────────────────────── */
.rp-indigo .rp-header { background: linear-gradient(135deg,#1e1b4b 0%,#4338ca 100%); padding: 20px 26px; }
.rp-indigo .rp-name   { color: #fff; }
.rp-indigo .rp-title  { color: #c7d2fe; }
.rp-indigo .rp-contact{ color: rgba(199,210,254,.72); }
.rp-indigo .rp-body   { padding: 14px 24px; background: linear-gradient(180deg,#eef2ff 0%,#fff 38%); }
.rp-indigo .rp-sec-title { color: #3730a3; border-color: #c7d2fe; }
.rp-indigo .rp-skill-tag { background: #e0e7ff; color: #3730a3; }

/* ── 深红华章 ─────────────────────────── */
.rp-crimson-wrap { background: #fff8f8; }
.rp-crimson-wrap .rp-header { background: #7f1d1d; padding: 20px 26px; }
.rp-crimson-wrap .rp-name   { color: #fff; }
.rp-crimson-wrap .rp-title  { color: #fca5a5; }
.rp-crimson-wrap .rp-contact{ color: rgba(252,165,165,.72); }
.rp-crimson-wrap .rp-body   { padding: 14px 24px; }
.rp-crimson-wrap .rp-sec-title { color: #991b1b; border-color: #fca5a5; }
.rp-crimson-wrap .rp-skill-tag { background: #fee2e2; color: #991b1b; }

/* ── 琥珀华商 ─────────────────────────── */
.rp-amber-wrap { background: linear-gradient(160deg,#fffbeb 0%,#fff 100%); }
.rp-amber-wrap .rp-header { background: linear-gradient(135deg,#78350f 0%,#d97706 100%); padding: 20px 26px; }
.rp-amber-wrap .rp-name   { color: #fff; }
.rp-amber-wrap .rp-title  { color: #fde68a; }
.rp-amber-wrap .rp-contact{ color: rgba(253,230,138,.8); }
.rp-amber-wrap .rp-body   { padding: 14px 24px; }
.rp-amber-wrap .rp-sec-title { color: #92400e; border-color: #fde68a; }
.rp-amber-wrap .rp-skill-tag { background: #fef3c7; color: #92400e; }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   单栏 – 无色彩 Header 极简系列
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

/* ── 极简墨骨 ─────────────────────────── */
.rp-ink { padding: 22px 30px; background: #fff; }
.rp-ink .rp-header { text-align: center; padding-bottom: 14px; margin-bottom: 14px; border-bottom: 3px solid #0f172a; }
.rp-ink .rp-name   { color: #0f172a; font-size: 28px; letter-spacing: 4px; }
.rp-ink .rp-title  { color: #475569; font-weight: 500; font-size: 10.5px; }
.rp-ink .rp-contact{ color: #94a3b8; }
.rp-ink .rp-sec-title { color: #0f172a; border-color: #0f172a; border-bottom-width: 1.5px; letter-spacing: 2px; }
.rp-ink .rp-skill-tag { background: #f1f5f9; color: #334155; border: 1px solid #e2e8f0; }

/* ── 晨霭灰影 ─────────────────────────── */
.rp-mist { padding: 20px 28px; background: linear-gradient(160deg,#f8fafc 0%,#f1f5f9 100%); }
.rp-mist .rp-header { text-align: center; padding-bottom: 12px; margin-bottom: 12px; border-bottom: 2px solid #94a3b8; }
.rp-mist .rp-name   { color: #0f172a; }
.rp-mist .rp-title  { color: #475569; font-weight: 500; }
.rp-mist .rp-contact{ color: #94a3b8; }
.rp-mist .rp-sec-title { color: #334155; border-color: #cbd5e1; }
.rp-mist .rp-skill-tag { background: #e2e8f0; color: #334155; }

/* ── 学院边线 ─────────────────────────── */
.rp-academic { padding: 20px 28px; background: #fafafa; }
.rp-academic .rp-header { border-left: 5px solid #1d4ed8; padding-left: 16px; padding-bottom: 10px; margin-bottom: 12px; border-bottom: 1px solid #e2e8f0; }
.rp-academic .rp-name   { color: #0f172a; font-size: 24px; }
.rp-academic .rp-title  { color: #1d4ed8; font-weight: 600; }
.rp-academic .rp-contact{ color: #64748b; }
.rp-academic .rp-sec-title { color: #1d4ed8; border-color: #bfdbfe; }
.rp-academic .rp-skill-tag { background: #eff6ff; color: #1e40af; }

/* ── 北欧简约 ─────────────────────────── */
.rp-nordic { padding: 24px 32px; background: #fff; }
.rp-nordic .rp-header { padding-bottom: 14px; margin-bottom: 14px; border-bottom: 1px solid #e5e7eb; }
.rp-nordic .rp-name   { color: #111827; font-size: 26px; letter-spacing: 0; font-weight: 800; }
.rp-nordic .rp-title  { color: #6b7280; font-size: 10.5px; }
.rp-nordic .rp-contact{ color: #9ca3af; }
.rp-nordic .rp-sec-title {
  color: #111827; border: none; border-bottom: 2px solid #f3f4f6;
  background: #f9fafb; padding: 3px 6px; font-size: 8.5px; letter-spacing: 2px;
}
.rp-nordic .rp-skill-tag { background: #f3f4f6; color: #374151; border-radius: 2px; }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   双栏侧边栏系列（同 rp-sidebar-wrap 结构）
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

/* ── 森林绿栏 ─────────────────────────── */
.rp-forest-wrap { display: flex; height: 844px; }
.rp-forest-wrap .rp-aside { width: 190px; flex-shrink: 0; background: linear-gradient(175deg,#14532d 0%,#166534 100%); padding: 22px 15px; color: #fff; }
.rp-forest-wrap .rp-name   { color: #fff; font-size: 17px; text-align: center; }
.rp-forest-wrap .rp-title  { color: #86efac; font-size: 9px; text-align: center; }
.rp-forest-wrap .rp-contact{ color: rgba(134,239,172,.7); font-size: 7.5px; text-align: center; }
.rp-forest-wrap .rp-aside .rp-sec-title { color: #86efac; border-color: #15803d; font-size: 8.5px; margin-top: 12px; }
.rp-forest-wrap .rp-aside .rp-text    { color: #bbf7d0; font-size: 8px; }
.rp-forest-wrap .rp-aside .rp-skill-tag { background: #14532d; color: #86efac; border: 1px solid #166534; font-size: 7px; }
.rp-forest-wrap .rp-main  { flex: 1; padding: 16px 18px; background: linear-gradient(180deg,#f0fdf4 0%,#fff 30%); }
.rp-forest-wrap .rp-main .rp-sec-title { color: #15803d; border-color: #bbf7d0; }
.rp-forest-wrap .rp-new-avatar { background: linear-gradient(135deg,#166534,#22c55e); }

/* ── 深海蓝栏 ─────────────────────────── */
.rp-ocean-wrap { display: flex; height: 844px; }
.rp-ocean-wrap .rp-aside { width: 190px; flex-shrink: 0; background: linear-gradient(175deg,#0c4a6e 0%,#0369a1 100%); padding: 22px 15px; color: #fff; }
.rp-ocean-wrap .rp-name   { color: #fff; font-size: 17px; text-align: center; }
.rp-ocean-wrap .rp-title  { color: #7dd3fc; font-size: 9px; text-align: center; }
.rp-ocean-wrap .rp-contact{ color: rgba(125,211,252,.7); font-size: 7.5px; text-align: center; }
.rp-ocean-wrap .rp-aside .rp-sec-title { color: #7dd3fc; border-color: #075985; font-size: 8.5px; margin-top: 12px; }
.rp-ocean-wrap .rp-aside .rp-text    { color: #bae6fd; font-size: 8px; }
.rp-ocean-wrap .rp-aside .rp-skill-tag { background: #075985; color: #7dd3fc; font-size: 7px; }
.rp-ocean-wrap .rp-main  { flex: 1; padding: 16px 18px; background: linear-gradient(180deg,#f0f9ff 0%,#fff 30%); }
.rp-ocean-wrap .rp-main .rp-sec-title { color: #0369a1; border-color: #bae6fd; }
.rp-ocean-wrap .rp-new-avatar { background: linear-gradient(135deg,#0369a1,#38bdf8); }

/* ── 暗夜极光栏 ─────────────────────────── */
.rp-midnight-wrap { display: flex; height: 844px; }
.rp-midnight-wrap .rp-aside { width: 190px; flex-shrink: 0; background: linear-gradient(175deg,#020617 0%,#0f172a 100%); padding: 22px 15px; color: #fff; }
.rp-midnight-wrap .rp-name   { color: #fff; font-size: 17px; text-align: center; }
.rp-midnight-wrap .rp-title  { color: #67e8f9; font-size: 9px; text-align: center; }
.rp-midnight-wrap .rp-contact{ color: rgba(103,232,249,.6); font-size: 7.5px; text-align: center; }
.rp-midnight-wrap .rp-aside .rp-sec-title { color: #67e8f9; border-color: #164e63; font-size: 8.5px; margin-top: 12px; }
.rp-midnight-wrap .rp-aside .rp-text    { color: #94a3b8; font-size: 8px; }
.rp-midnight-wrap .rp-aside .rp-skill-tag { background: #1e293b; color: #67e8f9; border: 1px solid #164e63; font-size: 7px; }
.rp-midnight-wrap .rp-main  { flex: 1; padding: 16px 18px; background: #f8fafc; }
.rp-midnight-wrap .rp-main .rp-sec-title { color: #0e7490; border-color: #cffafe; }
.rp-midnight-wrap .rp-new-avatar { background: linear-gradient(135deg,#1e3a5f,#0e7490); }

/* ── 紫雾双栏 ─────────────────────────── */
.rp-plum-wrap { display: flex; height: 844px; }
.rp-plum-wrap .rp-aside { width: 190px; flex-shrink: 0; background: linear-gradient(175deg,#3b0764 0%,#6b21a8 100%); padding: 22px 15px; color: #fff; }
.rp-plum-wrap .rp-name   { color: #fff; font-size: 17px; text-align: center; }
.rp-plum-wrap .rp-title  { color: #d8b4fe; font-size: 9px; text-align: center; }
.rp-plum-wrap .rp-contact{ color: rgba(216,180,254,.7); font-size: 7.5px; text-align: center; }
.rp-plum-wrap .rp-aside .rp-sec-title { color: #d8b4fe; border-color: #581c87; font-size: 8.5px; margin-top: 12px; }
.rp-plum-wrap .rp-aside .rp-text    { color: #e9d5ff; font-size: 8px; }
.rp-plum-wrap .rp-aside .rp-skill-tag { background: #4c1d95; color: #d8b4fe; font-size: 7px; }
.rp-plum-wrap .rp-main  { flex: 1; padding: 16px 18px; background: linear-gradient(180deg,#faf5ff 0%,#fff 30%); }
.rp-plum-wrap .rp-main .rp-sec-title { color: #7e22ce; border-color: #e9d5ff; }
.rp-plum-wrap .rp-new-avatar { background: linear-gradient(135deg,#4c1d95,#a855f7); }

/* ── 青碧双栏 ─────────────────────────── */
.rp-teal-wrap { display: flex; height: 844px; }
.rp-teal-wrap .rp-aside { width: 190px; flex-shrink: 0; background: linear-gradient(175deg,#0f766e 0%,#0d9488 100%); padding: 22px 15px; color: #fff; }
.rp-teal-wrap .rp-name   { color: #fff; font-size: 17px; text-align: center; }
.rp-teal-wrap .rp-title  { color: #99f6e4; font-size: 9px; text-align: center; }
.rp-teal-wrap .rp-contact{ color: rgba(153,246,228,.7); font-size: 7.5px; text-align: center; }
.rp-teal-wrap .rp-aside .rp-sec-title { color: #99f6e4; border-color: #0f766e; font-size: 8.5px; margin-top: 12px; }
.rp-teal-wrap .rp-aside .rp-text    { color: #ccfbf1; font-size: 8px; }
.rp-teal-wrap .rp-aside .rp-skill-tag { background: #0f766e; color: #99f6e4; border: 1px solid #134e4a; font-size: 7px; }
.rp-teal-wrap .rp-main  { flex: 1; padding: 16px 18px; background: linear-gradient(180deg,#f0fdfa 0%,#fff 30%); }
.rp-teal-wrap .rp-main .rp-sec-title { color: #0d9488; border-color: #99f6e4; }
.rp-teal-wrap .rp-new-avatar { background: linear-gradient(135deg,#0f766e,#14b8a6); }

/* ── 炭灰现代栏 ─────────────────────────── */
.rp-graphite-wrap { display: flex; height: 844px; }
.rp-graphite-wrap .rp-aside { width: 190px; flex-shrink: 0; background: linear-gradient(175deg,#111827 0%,#1f2937 100%); padding: 22px 15px; color: #fff; }
.rp-graphite-wrap .rp-name   { color: #fff; font-size: 17px; text-align: center; }
.rp-graphite-wrap .rp-title  { color: #f59e0b; font-size: 9px; text-align: center; }
.rp-graphite-wrap .rp-contact{ color: rgba(245,158,11,.7); font-size: 7.5px; text-align: center; }
.rp-graphite-wrap .rp-aside .rp-sec-title { color: #f59e0b; border-color: #374151; font-size: 8.5px; margin-top: 12px; }
.rp-graphite-wrap .rp-aside .rp-text    { color: #9ca3af; font-size: 8px; }
.rp-graphite-wrap .rp-aside .rp-skill-tag { background: #374151; color: #f59e0b; font-size: 7px; }
.rp-graphite-wrap .rp-main  { flex: 1; padding: 16px 18px; background: #f9fafb; }
.rp-graphite-wrap .rp-main .rp-sec-title { color: #374151; border-color: #e5e7eb; }
.rp-graphite-wrap .rp-new-avatar { background: linear-gradient(135deg,#374151,#6b7280); }

/* ── 玫红双栏 ─────────────────────────── */
.rp-blush-wrap { display: flex; height: 844px; }
.rp-blush-wrap .rp-aside { width: 190px; flex-shrink: 0; background: linear-gradient(175deg,#881337 0%,#be185d 100%); padding: 22px 15px; color: #fff; }
.rp-blush-wrap .rp-name   { color: #fff; font-size: 17px; text-align: center; }
.rp-blush-wrap .rp-title  { color: #fda4af; font-size: 9px; text-align: center; }
.rp-blush-wrap .rp-contact{ color: rgba(253,164,175,.7); font-size: 7.5px; text-align: center; }
.rp-blush-wrap .rp-aside .rp-sec-title { color: #fda4af; border-color: #9f1239; font-size: 8.5px; margin-top: 12px; }
.rp-blush-wrap .rp-aside .rp-text    { color: #fecdd3; font-size: 8px; }
.rp-blush-wrap .rp-aside .rp-skill-tag { background: #9f1239; color: #fda4af; font-size: 7px; }
.rp-blush-wrap .rp-main  { flex: 1; padding: 16px 18px; background: linear-gradient(180deg,#fff1f2 0%,#fff 30%); }
.rp-blush-wrap .rp-main .rp-sec-title { color: #be185d; border-color: #fecdd3; }
.rp-blush-wrap .rp-new-avatar { background: linear-gradient(135deg,#9f1239,#f43f5e); }

/* ── 鎏金双栏 ─────────────────────────── */
.rp-gold-wrap { display: flex; height: 844px; }
.rp-gold-wrap .rp-aside { width: 190px; flex-shrink: 0; background: #111010; padding: 22px 15px; color: #fff; border-right: 2px solid #ca8a04; }
.rp-gold-wrap .rp-name   { color: #fff; font-size: 17px; text-align: center; }
.rp-gold-wrap .rp-title  { color: #fbbf24; font-size: 9px; text-align: center; }
.rp-gold-wrap .rp-contact{ color: rgba(251,191,36,.65); font-size: 7.5px; text-align: center; }
.rp-gold-wrap .rp-aside .rp-sec-title { color: #fbbf24; border-color: #292524; font-size: 8.5px; margin-top: 12px; }
.rp-gold-wrap .rp-aside .rp-text    { color: #d6d3d1; font-size: 8px; }
.rp-gold-wrap .rp-aside .rp-skill-tag { background: #292524; color: #fbbf24; font-size: 7px; }
.rp-gold-wrap .rp-main  { flex: 1; padding: 16px 18px; background: #fffdf7; }
.rp-gold-wrap .rp-main .rp-sec-title { color: #92400e; border-color: #fde68a; }
.rp-gold-wrap .rp-new-avatar { background: linear-gradient(135deg,#1c1917,#44403c); border-color: #ca8a04; }

/* ── 焦糖双栏 ─────────────────────────── */
.rp-caramel-wrap { display: flex; height: 844px; }
.rp-caramel-wrap .rp-aside { width: 190px; flex-shrink: 0; background: linear-gradient(175deg,#451a03 0%,#92400e 100%); padding: 22px 15px; color: #fff; }
.rp-caramel-wrap .rp-name   { color: #fff; font-size: 17px; text-align: center; }
.rp-caramel-wrap .rp-title  { color: #fcd34d; font-size: 9px; text-align: center; }
.rp-caramel-wrap .rp-contact{ color: rgba(252,211,77,.7); font-size: 7.5px; text-align: center; }
.rp-caramel-wrap .rp-aside .rp-sec-title { color: #fcd34d; border-color: #78350f; font-size: 8.5px; margin-top: 12px; }
.rp-caramel-wrap .rp-aside .rp-text    { color: #fef3c7; font-size: 8px; }
.rp-caramel-wrap .rp-aside .rp-skill-tag { background: #78350f; color: #fcd34d; font-size: 7px; }
.rp-caramel-wrap .rp-main  { flex: 1; padding: 16px 18px; background: linear-gradient(180deg,#fffbeb 0%,#fff 30%); }
.rp-caramel-wrap .rp-main .rp-sec-title { color: #b45309; border-color: #fde68a; }
.rp-caramel-wrap .rp-new-avatar { background: linear-gradient(135deg,#92400e,#d97706); }

/* ── 钢青双栏 ─────────────────────────── */
.rp-steel-wrap { display: flex; height: 844px; }
.rp-steel-wrap .rp-aside { width: 190px; flex-shrink: 0; background: linear-gradient(175deg,#1e3a5f 0%,#2563eb 100%); padding: 22px 15px; color: #fff; }
.rp-steel-wrap .rp-name   { color: #fff; font-size: 17px; text-align: center; }
.rp-steel-wrap .rp-title  { color: #93c5fd; font-size: 9px; text-align: center; }
.rp-steel-wrap .rp-contact{ color: rgba(147,197,253,.7); font-size: 7.5px; text-align: center; }
.rp-steel-wrap .rp-aside .rp-sec-title { color: #93c5fd; border-color: #1d4ed8; font-size: 8.5px; margin-top: 12px; }
.rp-steel-wrap .rp-aside .rp-text    { color: #bfdbfe; font-size: 8px; }
.rp-steel-wrap .rp-aside .rp-skill-tag { background: #1d4ed8; color: #bfdbfe; font-size: 7px; }
.rp-steel-wrap .rp-main  { flex: 1; padding: 16px 18px; background: linear-gradient(180deg,#eff6ff 0%,#fff 30%); }
.rp-steel-wrap .rp-main .rp-sec-title { color: #1d4ed8; border-color: #bfdbfe; }
.rp-steel-wrap .rp-new-avatar { background: linear-gradient(135deg,#1e3a5f,#3b82f6); }
