/* 哞哞写作 Moo Writing — Design System */
:root {
  --brand: #4B8FE8;
  --brand-dark: #3A7AD4;
  --brand-mid: #5B9FFF;
  --brand-light: #E8F3FF;
  --brand-soft: #F3F8FF;
  --ink: #0F2744;
  --ink-2: #4A6078;
  --ink-3: #8A9BB0;
  --line: #D8E4F0;
  --line-soft: #E8F0F8;
  --bg: #F3F8FF;
  --white: #FFFFFF;
  --shadow-sm: 0 1px 3px rgba(15,39,68,.06);
  --shadow: 0 4px 16px rgba(75,143,232,.12);
  --shadow-lg: 0 12px 40px rgba(75,143,232,.14);
  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 20px;
  --font: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", "Source Han Sans SC", sans-serif;
  --mono: "SF Mono", "Menlo", monospace;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-dark); }

img { max-width: 100%; }

button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, textarea, select { font-family: inherit; font-size: 14px; }

/* ========== Utilities ========== */
.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.flex { display: flex; }
.flex-col { display: flex; flex-direction: column; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-8 { gap: 8px; }
.gap-12 { gap: 12px; }
.gap-16 { gap: 16px; }
.gap-24 { gap: 24px; }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mb-8 { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.text-sm { font-size: 13px; }
.text-muted { color: var(--ink-3); }
.text-center { text-align: center; }
.hidden { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

/* ========== Buttons ========== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 20px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  transition: all .2s ease;
  white-space: nowrap;
  border: 1.5px solid transparent;
}
.btn-primary {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 2px 8px rgba(75,143,232,.3);
}
.btn-primary:hover {
  background: var(--brand-dark);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(75,143,232,.35);
}
.btn-secondary {
  background: var(--white);
  color: var(--ink);
  border-color: var(--line);
}
.btn-secondary:hover { border-color: var(--brand); color: var(--brand); }
.btn-ghost {
  background: transparent;
  color: var(--ink-2);
  padding: 8px 12px;
}
.btn-ghost:hover { background: var(--brand-light); color: var(--brand); }
.btn-lg { padding: 14px 28px; font-size: 16px; }
.btn-sm { padding: 6px 14px; font-size: 13px; }
.btn-icon {
  width: 36px; height: 36px; padding: 0;
  border-radius: 8px;
  color: var(--ink-3);
}
.btn-icon:hover { background: var(--line-soft); color: var(--ink); }

/* ========== Cards ========== */
.card {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  padding: 24px;
}
.card-hover:hover {
  box-shadow: var(--shadow);
  border-color: rgba(75,143,232,.25);
  transform: translateY(-2px);
  transition: all .25s ease;
}

/* ========== Forms ========== */
.form-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-2);
  margin-bottom: 6px;
}
.form-input, .form-textarea, .form-select {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--ink);
  transition: border-color .2s;
}
.form-input:focus, .form-textarea:focus, .form-select:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(75,143,232,.12);
}
.form-textarea { resize: vertical; min-height: 160px; line-height: 1.7; }
.form-group { margin-bottom: 16px; }

/* ========== Tags ========== */
.tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
  background: var(--brand-light);
  color: var(--brand-dark);
}
.tag-pink { background: #FFE8F0; color: #D6336C; }
.tag-blue { background: #E7F5FF; color: #1971C2; }
.tag-orange { background: #FFF4E6; color: #E8590C; }
.tag-purple { background: #F3F0FF; color: #7048E8; }
.tag-yellow { background: #FFF9DB; color: #E67700; }
.tag-teal { background: #E6FCF5; color: #0CA678; }

/* ========== Toast ========== */
.toast-container {
  position: fixed;
  top: 24px;
  right: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.toast {
  background: var(--ink);
  color: #fff;
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  box-shadow: var(--shadow-lg);
  animation: toastIn .3s ease;
  max-width: 360px;
}
.toast.success { background: var(--brand); }
@keyframes toastIn {
  from { opacity: 0; transform: translateY(-12px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ========== Modal ========== */
.modal-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,.4);
  z-index: 9000;
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
  animation: fadeIn .2s ease;
}
.modal {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px;
  max-width: 420px;
  width: 100%;
  box-shadow: var(--shadow-lg);
  animation: scaleIn .25s ease;
}
.modal h3 { font-size: 18px; margin-bottom: 8px; }
.modal p { color: var(--ink-2); font-size: 14px; margin-bottom: 20px; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes scaleIn { from { opacity: 0; transform: scale(.95); } to { opacity: 1; transform: scale(1); } }

/* ========== Nav (marketing) ========== */
.mkt-nav {
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line-soft);
  position: sticky;
  top: 0;
  z-index: 100;
}
.mkt-nav .inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 20px;
  font-weight: 700;
  color: var(--ink);
}
.logo:hover { color: var(--ink); }
.logo-mark {
  width: 32px; height: 32px;
  background: linear-gradient(135deg, var(--brand), var(--brand-mid));
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-size: 16px;
  font-weight: 800;
  box-shadow: 0 2px 8px rgba(75,143,232,.3);
  flex-shrink: 0;
  object-fit: cover;
}
img.logo-mark {
  background: none;
  box-shadow: 0 2px 8px rgba(75,143,232,.25);
  border-radius: 8px;
}
.mkt-nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}
.mkt-nav-links a {
  color: var(--ink-2);
  font-size: 14px;
  font-weight: 500;
}
.mkt-nav-links a:hover { color: var(--brand); }
.mkt-nav-links a.active {
  color: var(--brand);
  font-weight: 600;
}

/* ========== Hero ========== */
.hero {
  padding: 72px 0 56px;
  text-align: center;
  background:
    radial-gradient(ellipse 80% 60% at 50% -20%, rgba(75,143,232,.18), transparent),
    radial-gradient(ellipse 50% 40% at 90% 20%, rgba(91,159,255,.1), transparent),
    var(--bg);
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: var(--brand-light);
  color: var(--brand-dark);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 20px;
}
.hero h1 {
  font-size: 52px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 16px;
}
.hero .sub {
  font-size: 18px;
  color: var(--ink-2);
  margin-bottom: 32px;
}
.hero-cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ========== Feature cards ========== */
.features {
  padding: 48px 0 64px;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feature-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: all .25s ease;
}
.feature-card:hover {
  box-shadow: var(--shadow);
  border-color: rgba(75,143,232,.3);
  transform: translateY(-3px);
}
.feature-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
  margin-bottom: 16px;
  background: var(--brand-light);
}
.feature-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}
.feature-card p {
  font-size: 14px;
  color: var(--ink-2);
  line-height: 1.7;
}
.feature-card .link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 16px;
  font-size: 14px;
  font-weight: 600;
  color: var(--brand);
}

/* ========== Preview mock ========== */
.preview-section {
  padding: 0 0 80px;
}
.preview-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  max-width: 900px;
  margin: 0 auto;
}
.preview-bar {
  background: var(--brand-soft);
  padding: 12px 20px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid var(--line);
}
.preview-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: #ddd;
}
.preview-dot.r { background: #FF5F57; }
.preview-dot.y { background: #FEBC2E; }
.preview-dot.g { background: #28C840; }
.preview-body {
  display: grid;
  grid-template-columns: 180px 1fr;
  min-height: 280px;
}
.preview-side {
  background: #F3F8FF;
  padding: 20px 16px;
  border-right: 1px solid var(--line);
  font-size: 13px;
}
.preview-side .nav-item {
  padding: 8px 12px;
  border-radius: 6px;
  margin-bottom: 4px;
  color: var(--ink-2);
}
.preview-side .nav-item.active {
  background: var(--brand-light);
  color: var(--brand-dark);
  font-weight: 600;
}
.preview-main { padding: 24px; }
.preview-main h4 { font-size: 16px; margin-bottom: 12px; }
.preview-skeleton {
  height: 10px;
  background: linear-gradient(90deg, #eee, #f5f5f5, #eee);
  border-radius: 4px;
  margin-bottom: 10px;
}
.preview-skeleton.w60 { width: 60%; }
.preview-skeleton.w80 { width: 80%; }
.preview-skeleton.w40 { width: 40%; }
.preview-chip {
  display: inline-block;
  padding: 4px 10px;
  background: var(--brand-light);
  color: var(--brand);
  border-radius: 4px;
  font-size: 12px;
  margin-right: 6px;
  margin-top: 8px;
}

/* ========== Footer ========== */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 32px 0;
  text-align: center;
  color: var(--ink-3);
  font-size: 13px;
  background: var(--white);
}
.site-footer .logo { justify-content: center; margin-bottom: 8px; font-size: 16px; }

/* ========== App Layout (workbench etc) ========== */
.app-layout {
  display: flex;
  min-height: 100vh;
}
.app-sidebar {
  width: 220px;
  background: var(--white);
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  padding: 20px 12px;
  flex-shrink: 0;
  position: sticky;
  top: 0;
  height: 100vh;
}
.app-sidebar .logo {
  padding: 0 12px;
  margin-bottom: 28px;
  font-size: 18px;
}
.side-nav { list-style: none; flex: 1; }
.side-nav a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 8px;
  color: var(--ink-2);
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 2px;
}
.side-nav a:hover { background: var(--line-soft); color: var(--ink); }
.side-nav a.active {
  background: var(--brand-light);
  color: var(--brand-dark);
  font-weight: 600;
}
.side-nav .icon { font-size: 16px; width: 20px; text-align: center; }
.user-chip {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px;
  border-radius: 10px;
  background: var(--bg);
  margin-top: auto;
}
.user-avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand), #5B9FFF);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px;
  font-weight: 700;
  flex-shrink: 0;
}
.user-info { font-size: 13px; line-height: 1.4; }
.user-info .name { font-weight: 600; color: var(--ink); }
.user-info .plan { color: var(--ink-3); font-size: 12px; }

.app-main {
  flex: 1;
  padding: 36px 40px;
  overflow-y: auto;
  max-width: 900px;
}
.app-main.wide { max-width: none; }
.app-main.bleed {
  max-width: none;
  padding: 0;
}
.app-main .board-page {
  max-width: none;
  margin: 0;
  padding: 0 0 48px;
}
.app-main .inspire-header { text-align: left; }
.app-main .inspire-tabs { justify-content: flex-start; }

.page-title {
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}
.page-desc {
  color: var(--ink-2);
  font-size: 15px;
  margin-bottom: 28px;
}

/* ========== Analysis layout ========== */
.analysis-top {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  padding: 16px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 50;
}
.analysis-top h1 {
  font-size: 18px;
  font-weight: 700;
}
.analysis-tabs {
  display: flex;
  gap: 4px;
  padding: 0 28px;
  background: var(--white);
  border-bottom: 1px solid var(--line);
  overflow-x: auto;
}
.analysis-tabs .tab {
  padding: 12px 16px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-3);
  border-bottom: 2px solid transparent;
  white-space: nowrap;
}
.analysis-tabs .tab:hover { color: var(--ink); }
.analysis-tabs .tab.active {
  color: var(--brand);
  border-bottom-color: var(--brand);
  font-weight: 600;
}
.analysis-body {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 24px;
  padding: 24px 28px;
  max-width: 1280px;
  margin: 0 auto;
}
.tab-panel { display: none; }
.tab-panel.active { display: block; }

.section-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 16px;
}
.section-card h3 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.section-card h3 .badge {
  font-size: 11px;
  padding: 2px 8px;
  background: var(--brand-light);
  color: var(--brand-dark);
  border-radius: 4px;
  font-weight: 600;
}
.meta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.meta-item {
  background: var(--bg);
  border-radius: 8px;
  padding: 12px;
}
.meta-item .label {
  font-size: 12px;
  color: var(--ink-3);
  margin-bottom: 4px;
}
.meta-item .value {
  font-size: 13px;
  color: var(--ink);
  line-height: 1.5;
}

.builder-panel {
  position: sticky;
  top: 100px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow-sm);
}
.builder-panel h3 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.builder-field {
  margin-bottom: 14px;
}
.builder-field .label {
  font-size: 12px;
  color: var(--ink-3);
  margin-bottom: 4px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.builder-field .value {
  font-size: 13px;
  color: var(--ink);
  background: var(--bg);
  padding: 10px 12px;
  border-radius: 8px;
  line-height: 1.6;
  border: 1px solid transparent;
}
.builder-field .value.editable:hover {
  border-color: var(--line);
}

/* ========== Imitate editor ========== */
.imitate-layout {
  display: grid;
  grid-template-columns: 320px 1fr;
  min-height: 100vh;
}
.imitate-left {
  background: var(--white);
  border-right: 1px solid var(--line);
  padding: 24px;
  overflow-y: auto;
  height: 100vh;
  position: sticky;
  top: 0;
}
.imitate-left h2 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 16px;
}
.builder-mini-card {
  background: var(--bg);
  border-radius: 10px;
  padding: 14px;
  margin-bottom: 12px;
  border: 1px solid var(--line-soft);
}
.builder-mini-card .k {
  font-size: 11px;
  color: var(--ink-3);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .04em;
  margin-bottom: 4px;
}
.builder-mini-card .v {
  font-size: 13px;
  color: var(--ink);
  line-height: 1.6;
}
.imitate-right {
  display: flex;
  flex-direction: column;
  height: 100vh;
}
.editor-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 24px;
  border-bottom: 1px solid var(--line);
  background: var(--white);
}
.editor-tabs {
  display: flex;
  gap: 4px;
}
.editor-tabs .etab {
  padding: 6px 14px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-3);
}
.editor-tabs .etab.active {
  background: var(--brand-light);
  color: var(--brand-dark);
}
.editor-body {
  flex: 1;
  padding: 24px 32px;
  overflow-y: auto;
  background: #FAFCFF;
}
.editor-area {
  width: 100%;
  min-height: 420px;
  border: none;
  outline: none;
  font-size: 15px;
  line-height: 1.9;
  color: var(--ink);
  background: transparent;
  resize: none;
  font-family: var(--font);
}
.editor-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 24px;
  border-top: 1px solid var(--line);
  background: var(--white);
}
.word-count {
  font-size: 13px;
  color: var(--ink-3);
}
.toggle-done {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--ink-2);
  cursor: pointer;
}
.toggle-done input {
  width: 16px; height: 16px;
  accent-color: var(--brand);
}

/* ========== Inspire page ========== */
.inspire-page {
  max-width: 960px;
  margin: 0 auto;
  padding: 32px 24px 64px;
}
.inspire-header {
  text-align: center;
  margin-bottom: 28px;
}
.inspire-header h1 {
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 8px;
}
.inspire-tabs {
  display: flex;
  gap: 6px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.inspire-tabs .tab {
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-2);
  background: var(--white);
  border: 1.5px solid var(--line);
}
.inspire-tabs .tab:hover { border-color: var(--brand); color: var(--brand); }
.inspire-tabs .tab.active {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
}
.search-box {
  position: relative;
  max-width: 420px;
  margin: 0 auto 28px;
}
.search-box input {
  width: 100%;
  padding: 12px 16px 12px 42px;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  font-size: 14px;
}
.search-box input:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(75,143,232,.12);
}
.search-box .icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--ink-3);
  font-size: 16px;
}

.draw-card {
  background: linear-gradient(135deg, #E8F3FF 0%, #F3F8FF 55%, #E0EEFF 100%);
  border: 1px solid rgba(75,143,232,.2);
  border-radius: var(--radius-lg);
  padding: 28px;
  text-align: center;
  margin-bottom: 32px;
  box-shadow: var(--shadow-sm);
}
.draw-card h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 16px;
}
.draw-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.count-btns {
  display: flex;
  gap: 4px;
  background: var(--white);
  border-radius: 8px;
  padding: 4px;
  border: 1px solid var(--line);
}
.count-btns button {
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-2);
}
.count-btns button.active {
  background: var(--brand);
  color: #fff;
}
.draw-results {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  min-height: 40px;
}
.draw-tag {
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  animation: popIn .35s ease;
  box-shadow: 0 2px 8px rgba(0,0,0,.12);
}
@keyframes popIn {
  from { opacity: 0; transform: scale(.7); }
  to { opacity: 1; transform: scale(1); }
}

.trope-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}
.trope-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  transition: all .2s;
  position: relative;
}
.trope-card:hover {
  box-shadow: var(--shadow);
  border-color: rgba(75,143,232,.25);
}
.trope-card .star {
  position: absolute;
  top: 14px;
  right: 14px;
  font-size: 18px;
  color: #ddd;
  cursor: pointer;
  transition: color .2s;
}
.trope-card .star.fav { color: #FFB800; }
.trope-card h4 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 8px;
  padding-right: 28px;
}
.trope-card .intro {
  font-size: 13px;
  color: var(--ink-2);
  line-height: 1.6;
  margin-bottom: 10px;
}
.trope-card .detail {
  font-size: 12px;
  color: var(--ink-3);
  line-height: 1.6;
}
.trope-card .detail strong {
  color: var(--ink-2);
  font-weight: 600;
}
.trope-card .cat-tag {
  margin-bottom: 8px;
}

/* ========== Promo page ========== */
.promo-page {
  min-height: 100vh;
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(91,159,255,.22), transparent),
    linear-gradient(180deg, #E8F3FF 0%, #F3F8FF 45%, #FFFFFF 100%);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 28px 16px 40px;
}
.promo-sheet {
  max-width: 420px;
  width: 100%;
  text-align: center;
}
.promo-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 18px;
}
.promo-brand img.logo-mark {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  margin-bottom: 12px;
  box-shadow: 0 6px 20px rgba(75,143,232,.28);
}
.promo-brand .brand-name {
  font-size: 26px;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.promo-brand .brand-en {
  font-size: 12px;
  font-weight: 600;
  color: var(--brand);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 2px;
}
.promo-sheet .sell-sub {
  font-size: 13px;
  color: var(--ink-2);
  margin-bottom: 22px;
  line-height: 1.55;
}
.promo-feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 22px;
  text-align: left;
}
.promo-fcard {
  background: var(--white);
  border-radius: 16px;
  padding: 14px 14px 16px;
  box-shadow: 0 4px 14px rgba(75,143,232,.1);
  border: 1px solid rgba(216,228,240,.8);
  transition: transform .2s, box-shadow .2s;
}
.promo-fcard:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(75,143,232,.16);
}
.promo-fcard .fi {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: #fff;
  margin-bottom: 10px;
  box-shadow: 0 2px 8px rgba(15,39,68,.12);
}
.promo-fcard .ft {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 4px;
  line-height: 1.3;
}
.promo-fcard .fd {
  font-size: 12px;
  color: var(--ink-3);
  line-height: 1.45;
}
.promo-fcard .fi.c1 { background: linear-gradient(135deg, #4B8FE8, #5B9FFF); }
.promo-fcard .fi.c2 { background: linear-gradient(135deg, #3D8BDB, #6BB0F0); }
.promo-fcard .fi.c3 { background: linear-gradient(135deg, #5B9FFF, #7EB6FF); }
.promo-fcard .fi.c4 { background: linear-gradient(135deg, #4A7FD4, #6A9FE8); }
.promo-fcard .fi.c5 { background: linear-gradient(135deg, #5BA8E8, #8EC5F5); }
.promo-fcard .fi.c6 { background: linear-gradient(135deg, #3A7AD4, #5B9FFF); }
.promo-sheet .btn-lg {
  width: 100%;
  padding: 14px;
  font-size: 16px;
  border-radius: 999px;
}
.promo-footer {
  margin-top: 14px;
  font-size: 12px;
  color: var(--ink-3);
}

/* ========== Original text panel ========== */
.original-text {
  font-size: 14px;
  line-height: 1.9;
  color: var(--ink-2);
  white-space: pre-wrap;
}
.overview-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}
.stat-box {
  background: var(--bg);
  border-radius: 10px;
  padding: 16px;
  text-align: center;
}
.stat-box .num {
  font-size: 22px;
  font-weight: 800;
  color: var(--brand);
}
.stat-box .lbl {
  font-size: 12px;
  color: var(--ink-3);
  margin-top: 4px;
}
.storyline {
  position: relative;
  padding-left: 24px;
}
.storyline::before {
  content: '';
  position: absolute;
  left: 7px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: var(--brand-light);
}
.story-node {
  position: relative;
  margin-bottom: 20px;
}
.story-node::before {
  content: '';
  position: absolute;
  left: -21px;
  top: 6px;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--brand);
  border: 2px solid var(--white);
  box-shadow: 0 0 0 2px var(--brand-light);
}
.story-node h4 { font-size: 14px; font-weight: 700; margin-bottom: 4px; }
.story-node p { font-size: 13px; color: var(--ink-2); }

.tech-list { list-style: none; }
.tech-list li {
  padding: 14px;
  background: var(--bg);
  border-radius: 8px;
  margin-bottom: 10px;
  font-size: 13px;
  line-height: 1.7;
}
.tech-list li strong {
  display: block;
  font-size: 14px;
  margin-bottom: 4px;
  color: var(--brand-dark);
}

/* ========== Responsive ========== */
@media (max-width: 900px) {
  .features-grid { grid-template-columns: 1fr; }
  .preview-body { grid-template-columns: 1fr; }
  .preview-side { display: none; }
  .analysis-body { grid-template-columns: 1fr; }
  .builder-panel { position: static; }
  .imitate-layout { grid-template-columns: 1fr; }
  .imitate-left { height: auto; position: static; border-right: none; border-bottom: 1px solid var(--line); }
  .imitate-right { height: auto; }
  .app-layout { flex-direction: column; }
  .app-sidebar {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    width: 100%;
    height: auto;
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 12px 16px;
    border-right: none;
    border-bottom: 1px solid var(--line);
  }
  .app-sidebar .logo { margin-bottom: 0; margin-right: 8px; }
  .side-nav {
    display: flex;
    flex-wrap: wrap;
    flex: 1;
    gap: 4px;
  }
  .side-nav a { margin-bottom: 0; padding: 8px 10px; }
  .user-chip { display: none; }
  .overview-stats { grid-template-columns: repeat(2, 1fr); }
  .hero h1 { font-size: 28px; }
  .mkt-nav .inner {
    height: auto;
    min-height: 64px;
    flex-wrap: wrap;
    padding-top: 12px;
    padding-bottom: 12px;
    gap: 8px;
  }
  .mkt-nav-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 16px;
    width: 100%;
  }
  .promo-feature-grid { gap: 10px; }
  .promo-fcard { padding: 12px; }
}

/* ========== Knowledge / empty / draw extras ========== */
.empty-state {
  text-align: center;
  color: var(--ink-2);
}
.kb-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.kb-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 20px;
  box-shadow: var(--shadow-sm);
  flex-wrap: wrap;
}
.kb-card-main {
  flex: 1;
  min-width: 200px;
  cursor: pointer;
}
.kb-card-main h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 4px;
}
.kb-card-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.kb-tabs.inspire-tabs .tab.active {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
}
.toast.error {
  border-left: 3px solid #E03131;
}
.draw-tag-wrap {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  margin: 6px 8px 6px 0;
  vertical-align: top;
}
.draw-tag-actions {
  display: flex;
  gap: 4px;
}
.trope-actions {
  display: flex;
  gap: 8px;
}
.chapter-card .form-textarea {
  min-height: 64px;
  font-size: 13px;
}
.builder-panel .form-textarea,
.builder-mini-card .form-textarea {
  min-height: 48px;
  font-size: 13px;
  background: var(--bg);
  border-color: var(--line-soft);
}
.builder-mini-card .form-textarea {
  width: 100%;
}

/* ========== Daily ranking (imitate.html) ========== */
.ranking-page {
  max-width: 880px;
  margin: 0 auto;
  padding: 32px 24px 64px;
}
.ranking-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.ranking-header h1 {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}
.ranking-date-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.ranking-date-bar .form-label {
  margin: 0;
  font-size: 13px;
  color: var(--ink-3);
}
.ranking-date-bar .form-input {
  width: auto;
  min-width: 150px;
  padding: 8px 12px;
}
.ranking-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.rank-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 20px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow .2s, border-color .2s;
}
.rank-card:hover {
  box-shadow: var(--shadow);
  border-color: rgba(75,143,232,.28);
}
.rank-badge {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, #4B8FE8, #5B9FFF);
  color: #fff;
  font-weight: 800;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(75,143,232,.28);
}
.rank-main {
  flex: 1;
  min-width: 0;
}
.rank-main h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--ink);
}
.rank-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}
.rank-why {
  font-size: 13px;
  color: var(--ink-2);
  line-height: 1.6;
}
.rank-why strong {
  color: var(--brand-dark);
  font-weight: 600;
}
.rank-heat {
  flex-shrink: 0;
  text-align: center;
  min-width: 64px;
  padding-top: 2px;
}
.rank-heat .heat-num {
  font-size: 22px;
  font-weight: 800;
  color: var(--brand);
  line-height: 1.1;
}
.rank-heat .heat-lbl {
  font-size: 11px;
  color: var(--ink-3);
  margin-top: 2px;
}
@media (max-width: 900px) {
  .rank-card { flex-wrap: wrap; }
  .rank-heat { width: 100%; text-align: left; display: flex; align-items: baseline; gap: 8px; }
}

/* ========== Pricing / Redeem / Seller ========== */
.pricing-hero {
  padding: 56px 0 16px;
  text-align: center;
}
.pricing-hero h1 {
  font-size: 32px;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 10px;
}
.pricing-hero .sub {
  color: var(--ink-2);
  font-size: 15px;
  max-width: 560px;
  margin: 0 auto;
}
.pricing-section { padding: 24px 0 64px; }
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.price-card {
  background: var(--white);
  border: 1.5px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: box-shadow .2s, border-color .2s, transform .2s;
}
.price-card:hover {
  box-shadow: var(--shadow);
  border-color: rgba(75,143,232,.35);
  transform: translateY(-2px);
}
.price-card.featured {
  border-color: var(--brand);
  box-shadow: var(--shadow);
  position: relative;
}
.price-card .badge-hot {
  position: absolute;
  top: 14px;
  right: 14px;
  background: var(--brand);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 999px;
}
.price-card .pkg-name {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 4px;
}
.price-card .pkg-desc {
  font-size: 13px;
  color: var(--ink-3);
  margin-bottom: 16px;
}
.price-card .pkg-price {
  font-size: 36px;
  font-weight: 800;
  color: var(--brand);
  line-height: 1.1;
  margin-bottom: 16px;
}
.price-card .pkg-price span {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-3);
  margin-left: 4px;
}
.price-card ul {
  list-style: none;
  flex: 1;
  margin-bottom: 20px;
}
.price-card ul li {
  font-size: 13px;
  color: var(--ink-2);
  padding: 6px 0;
  padding-left: 20px;
  position: relative;
}
.price-card ul li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--brand);
  font-weight: 700;
}
.pricing-actions { max-width: 720px; margin-left: auto; margin-right: auto; }

.entitlement-success { text-align: center; }
.ok-badge {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--brand-light);
  color: var(--brand);
  font-size: 28px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}
.entitlement-box {
  background: var(--brand-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  text-align: left;
  font-size: 14px;
  color: var(--ink-2);
}

.soft-gate-banner {
  background: linear-gradient(90deg, #E8F3FF, #F3F8FF);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--ink-2);
}
.soft-gate-banner strong { color: var(--brand-dark); }
.entitlement-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  background: var(--brand-light);
  color: var(--brand-dark);
  max-width: 100%;
}
.entitlement-chip.off {
  background: #FFF4E6;
  color: #E8590C;
}

.seller-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 16px;
  margin-bottom: 12px;
}
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}
.seller-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
.seller-table th, .seller-table td {
  padding: 10px 12px;
  text-align: left;
  border-bottom: 1px solid var(--line-soft);
  vertical-align: middle;
}
.seller-table th {
  background: var(--brand-soft);
  font-weight: 600;
  color: var(--ink-2);
  white-space: nowrap;
}
.seller-table code {
  font-family: var(--mono);
  font-size: 12px;
  background: var(--brand-light);
  padding: 2px 6px;
  border-radius: 4px;
  color: var(--ink);
}
.script-block {
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line-soft);
}
.script-block:last-child { border-bottom: none; margin-bottom: 0; }
.script-pre {
  background: var(--brand-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font-size: 12px;
  line-height: 1.65;
  white-space: pre-wrap;
  word-break: break-word;
  color: var(--ink-2);
  font-family: var(--font);
  max-height: 200px;
  overflow: auto;
}

@media (max-width: 900px) {
  .pricing-grid { grid-template-columns: 1fr; }
  .seller-form-grid { grid-template-columns: 1fr; }
  .pricing-hero h1 { font-size: 26px; }
}

/* ========== Cold-start extras ========== */
.first-visit-tip {
  background: linear-gradient(135deg, #E8F3FF, #F8FBFF);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 18px;
  margin-bottom: 20px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  box-shadow: var(--shadow-sm);
}
.first-visit-tip .tip-body { flex: 1; min-width: 0; }
.first-visit-tip .tip-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--brand-dark);
  margin-bottom: 4px;
}
.first-visit-tip .tip-text {
  font-size: 13px;
  color: var(--ink-2);
  margin-bottom: 12px;
  line-height: 1.55;
}
.first-visit-tip .tip-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.seller-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 16px;
}
.seller-stat {
  background: var(--brand-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 10px 16px;
  min-width: 110px;
}
.seller-stat .num {
  font-size: 22px;
  font-weight: 700;
  color: var(--brand-dark);
  line-height: 1.2;
}
.seller-stat .lbl {
  font-size: 12px;
  color: var(--ink-3);
  margin-top: 2px;
}
.guide-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin: 24px 0 40px;
}
.guide-step {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 18px;
  box-shadow: var(--shadow-sm);
  position: relative;
}
.guide-step .step-num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 10px;
}
.guide-step h3 {
  font-size: 15px;
  margin-bottom: 6px;
  color: var(--ink);
}
.guide-step p {
  font-size: 13px;
  color: var(--ink-2);
  line-height: 1.55;
}
.faq-list { max-width: 720px; margin: 0 auto; }
.faq-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 16px 18px;
  margin-bottom: 12px;
}
.faq-item h4 {
  font-size: 14px;
  margin-bottom: 6px;
  color: var(--brand-dark);
}
.faq-item p {
  font-size: 13px;
  color: var(--ink-2);
  line-height: 1.6;
}
.redeem-hint {
  font-size: 12px;
  color: var(--ink-3);
  margin-top: 6px;
}
.redeem-hint code {
  background: var(--brand-light);
  padding: 1px 6px;
  border-radius: 4px;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink);
}

/* ========== Launch nav / coming soon ========== */
.nav-soon,
.side-soon {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  color: var(--ink-3);
  font-size: 14px;
  font-weight: 500;
  cursor: default;
}
.nav-soon small,
.side-soon small {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--ink-3);
  background: var(--line-soft);
  border-radius: 999px;
  padding: 1px 6px;
}
.side-soon {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  margin-bottom: 2px;
}
.side-soon .icon { font-size: 16px; width: 20px; text-align: center; }
.feature-card.is-soon {
  position: relative;
  opacity: 0.72;
  pointer-events: none;
}
.soon-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  font-size: 11px;
  font-weight: 700;
  color: var(--brand-dark);
  background: var(--brand-light);
  border-radius: 999px;
  padding: 3px 8px;
}
.soon-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 39, 68, 0.45);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.soon-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  max-width: 440px;
  text-align: center;
}
.soon-card h2 {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 8px;
}

/* ========== Landing carousel / bullets ========== */
.landing-carousel-wrap { padding: 8px 0 16px; }
.landing-carousel {
  max-width: 880px;
  margin: 0 auto;
}
.carousel-track {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 280px;
}
.carousel-slide {
  display: none;
  margin: 0;
}
.carousel-slide.is-on { display: block; }
.carousel-slide img {
  display: block;
  width: 100%;
  height: 360px;
  object-fit: cover;
  object-position: top;
}
.carousel-slide figcaption {
  padding: 12px 16px 16px;
  font-size: 13px;
  color: var(--ink-2);
  text-align: center;
}
.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 14px;
}
.carousel-dots button {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--line);
}
.carousel-dots button.active { background: var(--brand); }
.landing-bullets { padding: 24px 0 8px; }
.bullet-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 960px;
  margin: 0 auto;
}
.bullet-list li {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 22px;
}
.bullet-list strong {
  display: block;
  font-size: 16px;
  margin-bottom: 6px;
}
.bullet-list span {
  font-size: 14px;
  color: var(--ink-2);
}

/* ========== Ranking board + gate ========== */
.board-page {
  max-width: 760px;
  margin: 0 auto;
  padding: 28px 20px 64px;
}
.rank-gate {
  min-height: calc(100vh - 120px);
  display: flex;
  align-items: center;
  justify-content: flex-start;
}
.rank-gate-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  width: 100%;
  max-width: 440px;
}
.rank-gate-kicker {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--brand);
  margin-bottom: 8px;
}
.rank-gate-card h1 {
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 8px;
}
.board-tabs {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  margin-bottom: 16px;
}
.board-tab {
  flex-shrink: 0;
  height: 34px;
  padding: 0 14px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-2);
  background: transparent;
  border: 1px solid transparent;
}
.board-tab:hover { background: var(--white); color: var(--ink); }
.board-tab.active {
  background: var(--white);
  color: var(--ink);
  border-color: var(--line);
  box-shadow: 0 1px 2px rgba(18, 32, 51, 0.04);
}
.board-panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
}
.board-panel > .text-muted { padding: 16px 18px; }
.trend {
  display: grid;
  grid-template-columns: 4px 1fr;
  min-height: 76px;
}
.trend + .trend { border-top: 1px solid var(--line-soft); }
.trend-bar { background: var(--brand); }
.trend-body { padding: 16px 18px 16px 16px; }
.trend-name {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 4px;
}
.trend-desc {
  font-size: 13px;
  color: var(--ink-2);
  line-height: 1.55;
}
.board-list {
  background: transparent;
  border: 0;
  border-radius: 0;
  overflow: hidden;
  user-select: none;
}
.board-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line-soft);
}
.board-row:last-child { border-bottom: 0; }
.board-row.top .board-no { color: #d95740; }
.board-no {
  width: 28px;
  font-size: 15px;
  font-weight: 800;
  color: var(--ink-3);
  text-align: center;
  flex-shrink: 0;
}
.board-title {
  flex: 1;
  min-width: 0;
  font-size: 14px;
  font-weight: 650;
  line-height: 1.4;
}
.board-tag {
  flex-shrink: 0;
  font-size: 12px;
  color: var(--ink-3);
}

@media (max-width: 900px) {
  .bullet-list { grid-template-columns: 1fr; }
  .carousel-slide img { height: 220px; }
  .nav-soon { display: none; }
}

@media (max-width: 900px) {
  .guide-steps { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .guide-steps { grid-template-columns: 1fr; }
}

/* ========== Landing extra (layout only) ========== */
.trust-chips {
  list-style: none;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-top: 28px;
  color: var(--ink-2);
  font-size: 14px;
}
.trust-chips li::before {
  content: "✓ ";
  color: var(--brand);
  font-weight: 700;
}
.landing-preview { padding: 0 0 48px; }
.landing-preview .preview-card { max-width: 720px; margin: 0 auto; }
.landing-preview-body { padding: 20px 22px 16px; }
.lp-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 16px;
}
.lp-meta span { display: block; font-size: 12px; color: var(--ink-3); }
.lp-meta strong { font-size: 15px; }
.lp-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-top: 1px solid var(--line-soft);
  font-size: 14px;
}
.lp-row b { width: 20px; color: var(--brand); font-weight: 800; }
.lp-row span { flex: 1; min-width: 0; }
.lp-row em { font-style: normal; font-size: 12px; color: var(--ink-3); flex-shrink: 0; }
.lp-note { text-align: center; font-size: 13px; color: var(--ink-3); margin-top: 14px; }
.landing-h2 {
  text-align: center;
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 28px;
}
.landing-steps { padding: 24px 0 16px; }
.step-row {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.step-row li {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
}
.step-n {
  display: inline-flex;
  width: 28px;
  height: 28px;
  align-items: center;
  justify-content: center;
  background: var(--brand-light);
  color: var(--brand-dark);
  border-radius: 8px;
  font-weight: 800;
  font-size: 13px;
  margin-bottom: 10px;
}
.step-row h3 { font-size: 16px; margin-bottom: 6px; }
.step-row p { font-size: 14px; color: var(--ink-2); }
.landing-bottom-cta {
  padding: 56px 0 72px;
  text-align: center;
}
.landing-bottom-cta h2 {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 20px;
}

/* ========== Workbench top bar (layout like 剧拆拆, colors ours) ========== */
.bench-body { background: #F4F6F8; }
.bench-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 56px;
  padding: 0 16px 0 14px;
  background: var(--white);
  border-bottom: 1px solid #E4EAF0;
  position: sticky;
  top: 0;
  z-index: 100;
}
.bench-bar .logo { font-size: 15px; }
.bench-bar .logo-mark,
.bench-bar img.logo-mark {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  box-shadow: none;
}
.bench-tabs {
  display: flex;
  align-items: center;
  gap: 2px;
  flex: 1;
  min-width: 0;
  overflow-x: auto;
}
.bench-tab {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 36px;
  padding: 0 12px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-2);
  white-space: nowrap;
}
.bench-tab svg { width: 16px; height: 16px; flex-shrink: 0; }
.bench-tab:hover { color: var(--ink); background: var(--line-soft); }
.bench-tab.active {
  background: #163A5C;
  color: #fff;
}
.bench-tab.active:hover { color: #fff; background: #163A5C; }
.bench-tab.is-soon { color: var(--ink-3); font-weight: 500; }
.bench-user {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  flex-shrink: 0;
}
.bench-icon-btn {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: var(--ink-2);
}
.bench-icon-btn svg { width: 18px; height: 18px; }
.bench-icon-btn:hover { background: var(--line-soft); color: var(--ink); }
.bench-user .plan {
  display: inline-flex;
  align-items: center;
  height: 32px;
  padding: 0 12px;
  border-radius: 8px;
  border: 1px solid #D7E6F8;
  background: #F7FBFF;
  color: var(--brand-dark);
  font-size: 13px;
  font-weight: 600;
}
.bench-user .plan.is-off {
  height: auto;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ink-3);
  font-weight: 500;
}
.bench-lock {
  display: inline-flex;
  align-items: center;
  height: 32px;
  padding: 0 12px;
  border-radius: 8px;
  color: var(--ink-2);
  font-size: 13px;
  font-weight: 600;
}
.bench-lock:hover { background: var(--line-soft); color: var(--ink); }
.bench-user .user-avatar {
  width: 32px;
  height: 32px;
  font-size: 13px;
}
.bench-main {
  max-width: 1280px;
  margin: 0 auto;
  padding: 28px 40px 72px;
}
.bench-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 20px;
}
.bench-heading h1 {
  font-size: 28px;
  font-weight: 750;
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin-bottom: 0;
}
.bench-heading p {
  color: var(--ink-2);
  font-size: 14px;
  margin-top: 6px;
  line-height: 1.5;
}
.bench-market {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  font-size: 13px;
  color: var(--ink-2);
}
.bench-market b { color: var(--ink); font-weight: 700; }
.date-group {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
  padding: 4px;
  background: var(--white);
  border: 1px solid #E4EAF0;
  border-radius: 10px;
}
.date-nav {
  height: 34px;
  padding: 0 12px;
  border-radius: 7px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-2);
}
.date-nav:hover { background: var(--line-soft); color: var(--ink); }
.date-nav.disabled,
.date-nav:disabled { color: var(--ink-3); pointer-events: none; }
.date-now {
  min-width: 148px;
  height: 34px;
  padding: 0 14px;
  border-radius: 7px;
  background: #163A5C;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  text-align: center;
  line-height: 34px;
}
.bench-empty {
  text-align: center;
  padding: 64px 16px 40px;
  max-width: 480px;
  margin: 0 auto;
}
.bench-empty-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 12px;
  color: var(--ink-3);
}
.bench-empty-icon svg { width: 48px; height: 48px; }
.bench-empty h2 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.bench-redeem {
  display: flex;
  gap: 10px;
  max-width: 420px;
  margin: 20px auto 8px;
}
.bench-redeem .form-input { flex: 1; }
.bench-body .btn { border-radius: 8px; }

@media (max-width: 900px) {
  .hero h1 { font-size: 32px; }
  .step-row { grid-template-columns: 1fr; }
  .lp-meta { grid-template-columns: 1fr; }
  .bench-bar {
    height: auto;
    min-height: 56px;
    flex-wrap: wrap;
    padding: 10px 16px;
  }
  .bench-tabs { width: 100%; order: 3; }
  .bench-main { padding: 20px 16px 56px; }
  .bench-heading { flex-direction: column; }
  .bench-user .chip-extra { display: none; }
  .bench-redeem { flex-direction: column; }
}
