:root {
  --red: #b02b2b;
  --red-strong: #8f2020;
  --red-soft: #fbecec;
  --ink: #1f2937;
  --ink-soft: #374151;
  --muted: #6b7280;
  --line: #e5e7eb;
  --line-strong: #d6dae0;
  --bg: #f5f6f8;
  --card: #ffffff;
  --surface: #f9fafb;
  --success: #15803d;
  --success-soft: #f0fdf4;
  --warning: #b45309;
  --warning-soft: #fff7e6;
  --danger: #b91c1c;
  --danger-soft: #fff1f1;
  --info: #0e7490;
  --purple: #6d28d9;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-pill: 999px;
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-7: 28px;
  --font-xs: 12px;
  --font-sm: 13px;
  --font-md: 14px;
  --font-lg: 16px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: "Microsoft YaHei", "PingFang SC", system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
}

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 20px 28px;
  background: #fff;
  border-bottom: 1px solid var(--line);
  box-shadow: 0 2px 14px rgba(31, 41, 55, .04);
  flex-wrap: wrap;
}

.brand h1 { margin: 0; font-size: 22px; color: var(--red); letter-spacing: 1px; }
.brand p { margin: 2px 0 0; font-size: 13px; color: var(--muted); }
.brand-line { display: flex; align-items: center; gap: 12px; }
.brand-logo {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  color: #fff;
  background: linear-gradient(135deg, #c23a3a, #8f2020);
  font-size: 22px;
  font-weight: 700;
  box-shadow: 0 7px 16px rgba(176, 43, 43, .18);
}

.top-actions { display: flex; gap: 10px; align-items: center; }
#search {
  width: 280px;
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 14px;
}
.search-wrap { position: relative; display: flex; align-items: center; }
.search-clear {
  position: absolute;
  right: 8px;
  border: none;
  background: transparent;
  color: var(--muted);
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  padding: 2px 6px;
}
.filters {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 14px 28px;
  flex-wrap: wrap;
}
.filters select {
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  font-size: 14px;
  color: var(--ink);
}
.count { margin-left: auto; font-size: 13px; color: var(--muted); }
.filter-chips { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 9px;
  border: 1px solid #f3d9a4;
  border-radius: var(--radius-pill);
  background: #fff7e6;
  color: #8a6d1a;
  font-size: var(--font-sm);
  cursor: pointer;
  font-family: inherit;
}
.filter-chip:hover { border-color: #e5a11b; }
.filter-chip-x { font-size: 15px; line-height: 1; }
.filter-clear {
  border: none;
  background: transparent;
  color: var(--red);
  font-size: var(--font-sm);
  cursor: pointer;
  padding: 4px 2px;
  font-family: inherit;
}
.filter-clear:hover { text-decoration: underline; }

.notice {
  margin: 0 28px 12px;
  padding: 12px 16px;
  background: #fef3e2;
  border: 1px solid #f3d9a4;
  border-radius: 8px;
  font-size: 14px;
  color: #7a5a00;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 16px;
  padding: 0 28px 40px;
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.card.recommended-card {
  background: #fff7e6;
  border-color: #f0c36a;
  box-shadow: 0 2px 10px rgba(212, 175, 55, .10);
}
.card h3 { margin: 0; font-size: 16px; line-height: 1.45; }
.card h3 a { color: var(--ink); text-decoration: none; }
.card h3 a:hover { color: var(--red); }
.meta { font-size: 12px; color: var(--muted); display: flex; gap: 8px; flex-wrap: wrap; }
.tag { font-size: 12px; color: var(--red); background: #fbecec; padding: 2px 8px; border-radius: 999px; }
.excerpt { font-size: 14px; color: #374151; border-left: 3px solid var(--line); padding-left: 10px; margin: 0; }
.suggest { background: #f9fafb; border-radius: 8px; padding: 10px 12px; font-size: 13px; }
.suggest .row { margin: 3px 0; }
.suggest .label { color: var(--red); font-weight: 600; margin-right: 4px; }
.suggest ul { margin: 4px 0 0 18px; padding: 0; }
.suggest li { margin: 2px 0; }

.badge {
  font-size: 12px;
  padding: 2px 8px;
  border-radius: 999px;
  color: #fff;
}
.badge.微观 { background: #6b7280; }
.badge.中观 { background: #2563eb; }
.badge.宏观 { background: #059669; }
.badge.全球 { background: #7c3aed; }

.empty { text-align: center; padding: 80px 20px; color: var(--muted); }
.empty .hint { font-size: 13px; }
.empty-art { font-size: 38px; margin-bottom: 8px; }
.empty .btn { margin-top: 10px; }

.skeleton-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.sk {
  display: block;
  height: 12px;
  border-radius: 6px;
  background: linear-gradient(90deg, #edf0f3 25%, #f7f9fb 50%, #edf0f3 75%);
  background-size: 220% 100%;
  animation: skeleton-shimmer 1.2s linear infinite;
}
.sk-title { width: 55%; height: 16px; }
.sk-line { width: 90%; }
.sk-line.short { width: 68%; }
.sk-block { width: 100%; height: 54px; }
@keyframes skeleton-shimmer {
  from { background-position: 200% 0; }
  to { background-position: -20% 0; }
}

.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  background: #111827;
  color: #fff;
  padding: 10px 18px;
  border-radius: 8px;
  font-size: 14px;
  z-index: 100;
}

.stage-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 14px 28px 0;
  flex-wrap: wrap;
}
.stage-tabs {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  background: #e9ebee;
  border-radius: 999px;
}
.stage-tab {
  border: none;
  background: transparent;
  padding: 8px 20px;
  border-radius: 999px;
  font-size: 14px;
  color: #374151;
  cursor: pointer;
  font-family: inherit;
}
.stage-tab.active {
  background: var(--red);
  color: #fff;
}
.export-btn {
  border: 1px solid var(--red);
  background: #fff;
  color: var(--red);
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 14px;
  cursor: pointer;
  font-family: inherit;
}
.export-btn:hover { background: #fbecec; }

.status {
  padding: 8px 28px;
  font-size: 13px;
  color: var(--muted);
  background: #fafbfc;
  border-bottom: 1px solid var(--line);
}
.review-btn {
  border: 1px solid #e5a11b;
  background: #fff;
  color: #8a6d1a;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 14px;
  cursor: pointer;
  font-family: inherit;
}
.review-btn.active { background: #f6c344; color: #5c4400; border-color: #f6c344; }
.review-count {
  display: inline-block;
  min-width: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: #b45309;
  color: #fff;
  font-size: 12px;
  text-align: center;
}
.tag {
  font-size: 12px;
  padding: 2px 8px;
  border-radius: 999px;
  color: #fff;
}
.tag.literacy { background: #0e7490; }
.tag.ever { background: #16a34a; }
.tag.hot { background: #ea580c; }
.tag.classic { background: #7c3aed; }
.tag.rec { background: #dc2626; }
.score { font-size: 12px; color: var(--muted); }
.stars {
  position: relative;
  display: inline-block;
  color: #d1d5db;
  font-size: 14px;
  letter-spacing: 1px;
  line-height: 1;
}
.stars-empty { color: #d1d5db; }
.stars-filled {
  position: absolute;
  left: 0;
  top: 0;
  overflow: hidden;
  white-space: nowrap;
  color: #f59e0b;
}
.source { font-size: 12px; }
.source-manual {
  display: inline-flex;
  align-items: center;
  border: 1px dashed #cbd5e1;
  color: #64748b;
  border-radius: var(--radius-pill);
  padding: 2px 8px;
}
.card-actions {
  display: flex;
  gap: 8px;
  margin-top: auto;
  padding-top: 8px;
}
.action-btn {
  border: 1px solid var(--line);
  background: #fff;
  color: #374151;
  padding: 5px 12px;
  border-radius: 8px;
  font-size: 13px;
  cursor: pointer;
  font-family: inherit;
}
.action-btn:hover { border-color: var(--red); color: var(--red); }
.action-btn.approve { color: #15803d; border-color: #86efac; }
.action-btn.approve:hover { background: #f0fdf4; }
.action-btn.reject { color: #b91c1c; border-color: #fecaca; }
.action-btn.reject:hover { background: #fef2f2; }

.admin-link { color: var(--red); text-decoration: none; font-size: 14px; padding: 9px 4px; }
.back { color: var(--muted); text-decoration: none; font-size: 14px; }
.back:hover, .admin-link:hover { opacity: 0.8; }
.tabs { display: flex; gap: 4px; padding: 12px 28px 0; }
.tab {
  border: none; background: #e9ebee; color: #374151; padding: 8px 18px;
  border-radius: 8px 8px 0 0; font-size: 14px; cursor: pointer; font-family: inherit;
}
.tab.active { background: #fff; color: var(--red); font-weight: 600; }
.admin { padding: 16px 28px 60px; }
.tab-panel { display: none; }
.tab-panel.active { display: block; }
.toolbar { display: flex; gap: 12px; align-items: center; margin-bottom: 12px; flex-wrap: wrap; }
.toolbar input[type=search], .toolbar select { padding: 8px 10px; border: 1px solid var(--line); border-radius: 8px; font-size: 14px; }
.admin-form { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; align-items: center; }
.admin-form input, .admin-form select { padding: 8px 10px; border: 1px solid var(--line); border-radius: 8px; font-size: 14px; }
.admin-form input { width: 128px; }
.admin-form #f-keywords { width: 220px; }
.table-wrap { overflow-x: auto; }
.admin-table { width: 100%; border-collapse: collapse; font-size: 13px; background: #fff; }
.admin-table th, .admin-table td { border: 1px solid var(--line); padding: 7px 9px; text-align: left; vertical-align: top; }
.admin-table th { background: #f2f4f7; font-weight: 600; white-space: nowrap; }
.admin-table .url { font-family: Consolas, monospace; font-size: 12px; word-break: break-all; }
.admin-table .title { max-width: 320px; }
.admin-table .kw { max-width: 260px; }
.ops button {
  border: 1px solid var(--line); background: #fff; color: #374151; border-radius: 6px;
  padding: 3px 8px; font-size: 12px; cursor: pointer; margin-right: 4px; font-family: inherit;
}
.ops button:hover { border-color: var(--red); color: var(--red); }
.ops button.danger:hover { border-color: #b91c1c; color: #b91c1c; }
.primary { background: var(--red); color: #fff; border: none; border-radius: 8px; padding: 8px 16px; font-size: 14px; cursor: pointer; font-family: inherit; }
.ghost { background: #fff; color: var(--muted); border: 1px solid var(--line); border-radius: 8px; padding: 8px 14px; font-size: 14px; cursor: pointer; font-family: inherit; }
.modal-overlay { position: fixed; inset: 0; background: rgba(0,0,0,.35); display: flex; align-items: center; justify-content: center; z-index: 50; }
.modal-overlay[hidden] { display: none; }
.modal { background: #fff; border-radius: 12px; padding: 20px; width: 90%; max-width: 560px; }
.modal h3 { margin: 0 0 12px; }
.modal-actions { display: flex; gap: 10px; justify-content: flex-end; margin-top: 16px; }
.modal .hint { font-size: 13px; color: var(--muted); margin: 0 0 12px; }
.import-field { margin-bottom: 12px; }
.import-field label { display: block; font-size: 13px; color: var(--muted); margin-bottom: 4px; }
.import-field input, .import-field select, .import-field textarea { width: 100%; padding: 9px 10px; border: 1px solid var(--line); border-radius: 8px; font-size: 14px; }
.import-field textarea { min-height: 130px; resize: vertical; line-height: 1.6; font-family: inherit; }
.import-mode-switch { display: flex; gap: 8px; margin-bottom: 14px; }
.import-mode-switch button { flex: 1; border: 1px solid var(--line); background: #fff; color: #374151; padding: 8px 10px; border-radius: 999px; font-size: 14px; cursor: pointer; font-family: inherit; }
.import-mode-switch button.active { background: var(--red); color: #fff; border-color: var(--red); }
.import-tip { font-size: 12px; color: #9a7b1e; background: #fff8e6; border: 1px solid #f3e3b0; border-radius: 8px; padding: 8px 10px; margin: 0 0 14px; }

.layout { display: flex; align-items: flex-start; }
.sidebar {
  width: 300px;
  min-width: 240px;
  flex-shrink: 0;
  border-right: 1px solid var(--line);
  background: #fff;
  padding: 12px;
  overflow-y: auto;
  max-height: calc(100vh - 150px);
  position: sticky;
  top: 0;
}
.sidebar-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; font-weight: 600; }
.ghost-sm { border: 1px solid var(--line); background: #fff; color: var(--muted); border-radius: 6px; padding: 2px 8px; font-size: 12px; cursor: pointer; font-family: inherit; }
.content { flex: 1; min-width: 0; }
.content-toolbar { display: flex; gap: 10px; align-items: center; padding: 12px 20px; flex-wrap: wrap; }
.content-toolbar select { padding: 8px 10px; border: 1px solid var(--line); border-radius: 8px; font-size: 14px; background: #fff; }
.current-label { font-weight: 600; color: var(--ink); }
.tree { font-size: 14px; }
.tree-head { display: flex; align-items: center; gap: 4px; padding: 4px 6px; cursor: pointer; border-radius: 6px; color: #374151; }
.tree-head:hover { background: #f3f4f6; }
.tree-arrow { width: 14px; text-align: center; color: var(--muted); font-size: 12px; }
.tree-label { font-weight: 500; }
.tree-label.sel { cursor: pointer; }
.tree-label.sel:hover { color: var(--red); }
.tree-label.sel.active { color: var(--red); font-weight: 600; }
.tree-children { margin-left: 14px; border-left: 1px solid var(--line); padding-left: 4px; }
.tree-leaf { padding: 4px 6px 4px 20px; cursor: pointer; border-radius: 6px; color: #4b5563; }
.tree-leaf:hover { background: #f3f4f6; }
.tree-leaf.active { background: #fbecec; color: var(--red); font-weight: 600; }
.tree-leaf.all { font-weight: 600; color: var(--ink); }
.card-title { border: none; background: none; padding: 0; margin: 0; font-size: 16px; line-height: 1.45; text-align: left; color: var(--ink); cursor: pointer; font-family: inherit; font-weight: 600; }
.card-title:hover { color: var(--red); }
.modal-detail { max-width: 680px; max-height: 85vh; overflow-y: auto; }
.detail-title { margin: 0 0 8px; font-size: 18px; }
.detail-link { margin: 8px 0; }
.detail-link a { color: #0563c1; text-decoration: none; }
.detail-block { margin: 12px 0; }
.dl { font-size: 13px; color: var(--red); font-weight: 600; margin-bottom: 4px; }
.detail-list { margin: 4px 0 0 18px; padding: 0; }
.detail-list li { margin: 3px 0; }
.related-list { display: flex; flex-direction: column; gap: 4px; }
.related-item { text-align: left; border: 1px solid var(--line); background: #fff; color: var(--ink); border-radius: 8px; padding: 6px 10px; cursor: pointer; font-size: 13px; font-family: inherit; }
.related-item:hover { border-color: var(--red); color: var(--red); }
.classic-excerpt { border-left-color: #7c3aed; background: #faf5ff; }
.classic-original {
  white-space: pre-wrap;
  line-height: 1.9;
  font-size: 15px;
  max-height: 62vh;
  overflow-y: auto;
  background: #faf9fb;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 16px 18px;
}
.classic-mark { background: #fef08a; padding: 1px 0; text-decoration: underline; text-decoration-color: #b45309; text-underline-offset: 3px; }
.topic-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.topic-name { font-weight: 600; color: var(--ink); font-size: 15px; flex: 1; min-width: 220px; }
.topic-count { font-size: 13px; color: var(--muted); }
.topic-actions { display: flex; gap: 8px; }
.stage-left { display: flex; align-items: center; gap: 10px; }
.stage-right { display: flex; align-items: center; gap: 10px; }
.topic-btn { border: 1px solid var(--line); background: #fff; color: #374151; padding: 8px 16px; border-radius: 999px; font-size: 14px; cursor: pointer; font-family: inherit; }
.topic-btn.active { background: var(--red); color: #fff; border-color: var(--red); }
.topic-btn, .ghost-sm {
  border: 1.5px solid #cbd5e1;
  background: #fff;
  box-shadow: 0 1px 2px rgba(15, 23, 42, .05);
}
.topic-btn:hover, .ghost-sm:hover { border-color: var(--red); color: var(--red); }
.topic-btn.active { border-color: var(--red); }

.quality-badge {
  font-size: 12px;
  padding: 2px 8px;
  border-radius: 999px;
  background: #fff7ed;
  color: #c2410c;
  border: 1px solid #fed7aa;
  font-weight: 600;
}
.useful-badge { font-size: 12px; color: #e11d48; font-weight: 600; }

.featured-pill {
  display: block;
  width: 100%;
  text-align: center;
  padding: 14px 10px;
  margin: 8px 0;
  border: 1.5px solid #cbd5e1;
  border-radius: 999px;
  background: #fff;
  color: #374151;
  font-size: 15px;
  cursor: pointer;
  font-family: inherit;
}
.featured-pill.active {
  background: var(--red);
  color: #fff;
  border-color: var(--red);
  font-weight: 600;
}

.btn.useful {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: transform .18s ease, color .18s ease, border-color .18s ease, background .18s ease;
}
.btn.useful .like-icon {
  display: inline-block;
  transform-origin: 50% 50%;
}
.btn.useful.voted {
  color: #e11d48;
  border-color: #fb7185;
  background: #fff1f2;
}
.btn.useful.bump .like-icon {
  animation: like-bump .36s cubic-bezier(.2, .7, .3, 1.4);
}
@keyframes like-bump {
  0% { transform: scale(1); }
  35% { transform: scale(1.45) rotate(-8deg); }
  70% { transform: scale(.92); }
  100% { transform: scale(1); }
}

.prep-overlay { align-items: stretch; padding: 32px; }
.prep-panel {
  width: min(1000px, 100%);
  max-height: 90vh;
  background: #fff;
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 18px 50px rgba(0,0,0,.18);
}
.prep-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
}
.prep-head h3 { margin: 0; }
.prep-body { display: flex; min-height: 0; flex: 1; }
.prep-folders {
  width: 280px;
  border-right: 1px solid var(--line);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow-y: auto;
  background: #fafbfc;
}
.prep-folder-new { display: flex; gap: 8px; }
.prep-folder-new input { flex: 1; min-width: 0; padding: 8px 10px; border: 1px solid var(--line); border-radius: 8px; font-size: 13px; }
.prep-field-error { color: #b91c1c; font-size: 12px; margin-top: -4px; }
.auth-hint { margin: 4px 0 0; font-size: 12px; color: var(--muted); }
.auth-password-wrap { position: relative; }
.auth-password-wrap input { width: 100%; padding-right: 38px; }
.auth-password-toggle {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  border: none;
  background: transparent;
  cursor: pointer;
  font-size: 16px;
  color: var(--muted);
  padding: 4px 6px;
}
.prep-folder-list { display: flex; flex-direction: column; gap: 6px; }
.prep-folder {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #fff;
  cursor: pointer;
}
.prep-folder.active { border-color: var(--red); background: #fbecec; }
.prep-folder .pf-name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 14px; }
.prep-folder .pf-count { font-size: 12px; color: var(--muted); }
.prep-merge { margin-top: auto; padding-top: 8px; }
.prep-merge .primary { width: 100%; }
.prep-items { flex: 1; min-width: 0; display: flex; flex-direction: column; padding: 16px 20px; overflow: hidden; }
.prep-items-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-bottom: 10px; border-bottom: 1px solid var(--line); margin-bottom: 12px; }
.prep-items-head strong { font-size: 16px; }
.prep-items-list { overflow-y: auto; display: flex; flex-direction: column; gap: 10px; }
.prep-item {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px;
  background: #fff;
}
.prep-item-top { display: flex; align-items: center; gap: 8px; }
.prep-item-title { flex: 1; font-weight: 600; font-size: 14px; line-height: 1.4; }
.prep-item-meta { font-size: 12px; color: var(--muted); margin: 4px 0 8px; }
.prep-item-note { width: 100%; min-height: 34px; border: 1px dashed var(--line); border-radius: 8px; padding: 6px 8px; font-size: 13px; font-family: inherit; resize: vertical; }
.prep-item-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 8px; }
.prep-item-save { color: #15803d; border-color: #86efac; }
.prep-item-save:hover { background: #f0fdf4; }
.prep-move { display: flex; gap: 4px; }
.prep-move button { width: 28px; }
.prep-empty { color: var(--muted); text-align: center; padding: 48px 12px; font-size: 14px; }
.danger-sm { border-color: #fecaca; color: #b91c1c; }

.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin-bottom: 20px; }
.stat-box { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 14px; }
.stat-box .num { font-size: 26px; font-weight: 700; color: var(--red); }
.stat-box .lbl { font-size: 13px; color: var(--muted); }
.stat-title { font-size: 15px; margin: 18px 0 8px; }

[data-admin-only] { display: none !important; }
body.is-admin [data-admin-only] { display: revert !important; }
body.is-admin [data-admin-only].btn { display: inline-flex !important; }
body.is-admin [data-admin-only].admin-link { display: inline !important; }

/* ---------- 登录独立界面 ---------- */
#app { min-height: 100vh; }
body.auth-locked #app { display: none; }
body.auth-locked { overflow: hidden; }
body:not(.auth-locked) #app { animation: app-reveal .4s ease both; }

.auth-screen {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 24px;
  overflow: hidden;
  background: radial-gradient(circle at 18% 20%, rgba(176, 43, 43, .22), transparent 32%),
              radial-gradient(circle at 82% 78%, rgba(124, 58, 237, .16), transparent 34%),
              linear-gradient(135deg, #f8f4ef 0%, #f4f6f9 48%, #eef3f6 100%);
}
.auth-screen[hidden] { display: none; }

.auth-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}
.auth-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(176, 43, 43, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(176, 43, 43, .05) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(circle at center, #000 0%, transparent 78%);
}
.auth-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(4px);
  opacity: .55;
  animation: auth-float 9s ease-in-out infinite;
}
.auth-blob-1 { width: 320px; height: 320px; left: -90px; top: -80px; background: rgba(176, 43, 43, .18); }
.auth-blob-2 { width: 260px; height: 260px; right: -80px; bottom: -90px; background: rgba(124, 58, 237, .14); animation-delay: -3s; }
.auth-blob-3 { width: 180px; height: 180px; left: 58%; top: 14%; background: rgba(5, 150, 105, .10); animation-delay: -6s; }

.auth-card {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 440px;
  padding: 38px 36px 30px;
  background: rgba(255, 255, 255, .86);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, .75);
  border-radius: 22px;
  box-shadow: 0 30px 80px rgba(31, 41, 55, .14), 0 4px 18px rgba(176, 43, 43, .05);
  animation: auth-card-in .55s cubic-bezier(.22, .8, .36, 1) both;
}

.auth-brand { text-align: center; margin-bottom: 24px; }
.auth-logo {
  width: 58px;
  height: 58px;
  margin: 0 auto 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  color: #fff;
  background: linear-gradient(135deg, #c23a3a, #8f2020);
  font-size: 28px;
  font-weight: 700;
  box-shadow: 0 10px 22px rgba(176, 43, 43, .24);
}
.auth-brand h1 { margin: 0; font-size: 25px; letter-spacing: 2px; color: var(--ink); }
.auth-brand p { margin: 5px 0 0; font-size: 13px; color: var(--muted); }

.auth-form-title { margin: 0 0 4px; font-size: 20px; color: var(--ink); }
.auth-subtitle { margin: 0 0 20px; font-size: 13px; color: var(--muted); }

.auth-field { margin-bottom: 14px; }
.auth-field label { display: block; font-size: 13px; color: #4b5563; margin-bottom: 6px; font-weight: 600; }
.auth-field input {
  width: 100%;
  padding: 12px 13px;
  border: 1px solid #dfe3e8;
  border-radius: 11px;
  background: rgba(255, 255, 255, .88);
  font-size: 14px;
  color: var(--ink);
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
  font-family: inherit;
}
.auth-field input:focus {
  outline: none;
  border-color: var(--red);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(176, 43, 43, .10);
}
.auth-password-wrap { position: relative; }
.auth-password-wrap input { padding-right: 42px; }
.auth-password-toggle {
  position: absolute;
  right: 9px;
  top: 50%;
  transform: translateY(-50%);
  border: none;
  background: transparent;
  cursor: pointer;
  color: var(--muted);
  font-size: 17px;
  padding: 4px;
}
.auth-hint { margin: 6px 0 0; font-size: 12px; color: var(--muted); line-height: 1.5; }

.auth-submit {
  width: 100%;
  margin-top: 6px;
  padding: 12px 16px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 11px;
  background: linear-gradient(135deg, #c23a3a, #a52a2a);
  box-shadow: 0 10px 20px rgba(176, 43, 43, .18);
  transition: transform .16s ease, box-shadow .16s ease, opacity .16s ease;
}
.auth-submit:hover { transform: translateY(-1px); box-shadow: 0 12px 24px rgba(176, 43, 43, .24); }
.auth-submit:disabled { opacity: .65; cursor: default; transform: none; }
.auth-link-btn {
  width: 100%;
  margin-top: 14px;
  border: none;
  background: transparent;
  color: var(--red);
  font-size: 13px;
  cursor: pointer;
  font-family: inherit;
}
.auth-link-btn:hover { text-decoration: underline; }
.auth-error {
  color: #b91c1c;
  background: #fff1f1;
  border: 1px solid #fecaca;
  border-radius: 9px;
  padding: 8px 10px;
  font-size: 13px;
  margin: 8px 0 0;
}

.user-area { display: flex; align-items: center; gap: 8px; }
.user-chip {
  font-size: 13px;
  color: #374151;
  padding: 6px 10px;
  border-radius: 999px;
  background: #f3f4f6;
  white-space: nowrap;
}

/* ---------- 动效与体验优化 ---------- */
@keyframes auth-card-in {
  from { opacity: 0; transform: translateY(18px) scale(.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes app-reveal {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes auth-float {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(0, 18px, 0) scale(1.05); }
}
@keyframes fade-up {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes pop-in {
  from { opacity: 0; transform: translateY(10px) scale(.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes toast-in {
  from { opacity: 0; transform: translate(-50%, 12px); }
  to { opacity: 1; transform: translate(-50%, 0); }
}

.card {
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
  animation: fade-up .32s ease both;
}
.card:hover {
  transform: translateY(-3px);
  border-color: #d6dae0;
  box-shadow: 0 12px 28px rgba(31, 41, 55, .08);
}
.top-actions button,
.stage-tab,
.topic-btn,
.export-btn,
.review-btn,
.action-btn,
.ghost-sm {
  transition: background .16s ease, color .16s ease, border-color .16s ease, transform .16s ease, box-shadow .16s ease;
}
.top-actions button:hover:not(:disabled),
.stage-tab:hover,
.topic-btn:hover,
.export-btn:hover,
.review-btn:hover,
.action-btn:hover,
.ghost-sm:hover {
  transform: translateY(-1px);
}

.modal-overlay { animation: fade-in .2s ease; }
.modal, .prep-panel { animation: pop-in .24s cubic-bezier(.2, .8, .3, 1) both; }
.toast { animation: toast-in .24s ease both; }

@media (max-width: 560px) {
  .auth-card { padding: 28px 22px 24px; border-radius: 18px; }
  .auth-logo { width: 50px; height: 50px; font-size: 24px; }
  .auth-brand h1 { font-size: 22px; }
}

/* ---------- 统一组件基类 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  padding: 9px 14px;
  min-height: 40px;
  font-size: var(--font-md);
  font-family: inherit;
  line-height: 1;
  cursor: pointer;
  text-decoration: none;
  transition: background .16s ease, color .16s ease, border-color .16s ease, transform .16s ease, box-shadow .16s ease;
}
.btn:hover:not(:disabled) { transform: translateY(-1px); }
.btn:disabled { opacity: .55; cursor: default; }

.btn-sm { min-height: 32px; padding: 6px 10px; font-size: var(--font-sm); }
.btn-pill { border-radius: var(--radius-pill); }

.btn-primary { background: linear-gradient(135deg, #c23a3a, var(--red)); color: #fff; box-shadow: 0 6px 16px rgba(176, 43, 43, .16); }
.btn-primary:hover:not(:disabled) { box-shadow: 0 9px 20px rgba(176, 43, 43, .22); }
.btn-secondary { border-color: var(--red); color: var(--red); background: #fff; }
.btn-secondary:hover:not(:disabled) { background: var(--red-soft); }
.btn-ghost { border-color: var(--line); color: var(--ink-soft); background: #fff; }
.btn-ghost:hover:not(:disabled) { border-color: var(--red); color: var(--red); }
.btn-danger { border-color: #fecaca; color: var(--danger); background: #fff; }
.btn-danger:hover:not(:disabled) { background: var(--danger-soft); border-color: #fecaca; }
.btn-success { border-color: #86efac; color: var(--success); background: #fff; }
.btn-success:hover:not(:disabled) { background: var(--success-soft); }
.btn-warning { border-color: #e5a11b; color: #8a6d1a; background: #fff; }
.btn-warning:hover:not(:disabled) { background: #fff7e6; }
.btn.active { background: var(--red); color: #fff; border-color: var(--red); }
.btn-warning.active { background: #f6c344; color: #5c4400; border-color: #f6c344; }

.chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 9px;
  border-radius: var(--radius-pill);
  font-size: var(--font-xs);
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
}
.chip--gray { background: #6b7280; color: #fff; }
.chip--blue { background: #2563eb; color: #fff; }
.chip--green { background: #15803d; color: #fff; }
.chip--purple { background: #6d28d9; color: #fff; }
.chip--cyan { background: #0e7490; color: #fff; }
.chip--orange { background: #c2410c; color: #fff; }
.chip--danger { background: #dc2626; color: #fff; }
.chip--warning { background: #b45309; color: #fff; }

.excerpt-box { position: relative; }
.excerpt {
  font-size: var(--font-md);
  color: var(--ink-soft);
  border-left: 3px solid var(--line);
  padding-left: 10px;
  margin: 0;
  line-height: 1.65;
}
.excerpt.clamp {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.excerpt-toggle {
  border: none;
  background: transparent;
  color: var(--red);
  font-size: var(--font-sm);
  padding: 2px 0 0;
  cursor: pointer;
  font-family: inherit;
}
.excerpt-toggle:hover { text-decoration: underline; }
.suggest-more { color: var(--muted); font-size: var(--font-sm); }

.load-more {
  grid-column: 1 / -1;
  justify-self: center;
  min-height: 40px;
  padding: 9px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: #fff;
  color: var(--ink-soft);
  font-size: var(--font-md);
  cursor: pointer;
  font-family: inherit;
  transition: border-color .16s ease, color .16s ease, transform .16s ease;
}
.load-more:hover { border-color: var(--red); color: var(--red); transform: translateY(-1px); }

:focus-visible {
  outline: 3px solid rgba(176, 43, 43, .32);
  outline-offset: 2px;
}

.mobile-only { display: none; }

@media (max-width: 1024px) {
  .topbar { padding: 16px 20px; }
  .stage-bar, .content-toolbar { padding-left: 20px; padding-right: 20px; }
  .cards { padding-left: 20px; padding-right: 20px; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
  .sidebar { width: 260px; min-width: 240px; }
  #search { width: 220px; }
}

@media (max-width: 768px) {
  .mobile-only { display: inline-flex; }
  .topbar { align-items: flex-start; }
  .top-actions { width: 100%; flex-wrap: wrap; }
  #search { flex: 1; min-width: 180px; width: auto; }
  .user-area { margin-left: auto; }

  .layout { display: block; }
  .sidebar {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: 284px;
    min-width: 0;
    max-height: none;
    z-index: 70;
    transform: translateX(-102%);
    transition: transform .22s ease;
    box-shadow: 8px 0 28px rgba(31, 41, 55, .12);
  }
  body.sidebar-open .sidebar { transform: translateX(0); }
  body.sidebar-open::after {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 65;
    background: rgba(31, 41, 55, .28);
  }

  .content-toolbar { align-items: center; }
  .cards { grid-template-columns: 1fr; padding-left: 16px; padding-right: 16px; }
  .stage-bar { padding-left: 16px; padding-right: 16px; }
  .stage-left, .stage-right { width: 100%; justify-content: space-between; }
  .content-toolbar { padding-left: 16px; padding-right: 16px; }
}

@media (pointer: coarse) {
  .btn, .btn-sm, .load-more, .action-btn, .ghost-sm { min-height: 44px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
}

.auth-submit {
  width: 100%;
  min-height: 46px;
  padding: 12px 16px;
  border-radius: 11px;
}

/* ============================================================
   政在更新 · 简约高级配色补丁
   ============================================================ */
:root {
  --red:       #8E3030;
  --red-deep:  #752525;
  --red-soft:  #F5ECE7;
  --red-line:  #E4D1CB;
  --ink:       #292724;
  --muted:     #8A857D;
  --line:      #E7E2DA;
  --bg:        #F6F4F0;
  --card:      #FFFFFF;
  --card-alt:  #FBFAF7;
  --success:   #3F7056;
  --warning:   #A97A34;
  --danger:    #9B3B34;
}

body { background: var(--bg); }
.status { background: #FAF8F4; }
.suggest { background: #F7F5F1; }
.stage-tabs { background: #ECE8E1; }
.tree-head:hover, .tree-leaf:hover { background: #F1EEE8; }
.user-chip { background: #F1EEE8; }
.prep-folders { background: #F7F5F1; }
.admin-table th { background: #F1EEE8; }
.import-tip { background: #FBF6EA; border-color: #EADFC4; }

.stage-tab, .tree-head, .tree-label { color: #3B3834; }
.tree-leaf, .excerpt { color: #57534D; }

.badge, .tag, .quality-badge, .useful-badge {
  background: #fff;
  border: 1px solid var(--line);
  color: var(--muted);
  font-weight: 500;
}
.badge.微观, .badge.中观, .badge.宏观, .badge.全球,
.tag.literacy, .tag.ever, .tag.classic {
  background: #fff;
  color: var(--muted);
  border: 1px solid var(--line);
}
.tag.rec, .tag.hot {
  background: var(--red-soft);
  color: var(--red);
  border: 1px solid var(--red-line);
}

.export-btn, .review-btn, .topic-btn, .action-btn, .ghost, .ghost-sm {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
}
.export-btn:hover, .review-btn:hover, .topic-btn:hover,
.action-btn:hover, .ghost:hover, .ghost-sm:hover {
  border-color: var(--red);
  color: var(--red);
  background: var(--red-soft);
}
.review-btn.active {
  background: var(--red-soft);
  color: var(--red);
  border-color: var(--red-line);
}
.review-count { background: var(--red); color: #fff; }

.action-btn.approve { color: var(--success); border-color: #C9D8CE; }
.action-btn.approve:hover { background: #EEF3EF; color: var(--success); }
.action-btn.reject { color: var(--danger); border-color: #E0C9C5; }
.action-btn.reject:hover { background: #F6EDEB; color: var(--danger); }

#import:hover { background: var(--red-soft); }
.tree-leaf.active, .prep-folder.active {
  background: var(--red-soft);
  color: var(--red);
}
.action-btn.useful.voted {
  color: var(--red);
  border-color: var(--red-line);
  background: var(--red-soft);
}

.auth-screen {
  background:
    radial-gradient(circle at 18% 20%, rgba(142,48,48,.16), transparent 34%),
    radial-gradient(circle at 82% 78%, rgba(169,122,52,.10), transparent 34%),
    linear-gradient(135deg, #F8F5F0 0%, #F5F3EF 48%, #F0EFEA 100%);
}
.auth-blob-1 { background: rgba(142,48,48,.15); }
.auth-blob-2 { background: rgba(169,122,52,.12); }
.auth-blob-3 { background: rgba(142,48,48,.08); }
.auth-grid {
  background-image:
    linear-gradient(rgba(142,48,48,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(142,48,48,.04) 1px, transparent 1px);
}
.auth-logo {
  background: linear-gradient(135deg, #A03A32, #752525);
  box-shadow: 0 10px 20px rgba(45,40,34,.18);
}
.auth-submit {
  background: linear-gradient(135deg, #9B3434, #7A2626);
  box-shadow: 0 10px 18px rgba(45,40,34,.16);
}
.auth-submit:hover { box-shadow: 0 12px 22px rgba(45,40,34,.2); }

.topbar { box-shadow: 0 1px 0 rgba(45,40,34,.03), 0 2px 12px rgba(45,40,34,.04); }
.card:hover { box-shadow: 0 10px 24px rgba(45,40,34,.07); }
.card.recommended-card {
  background: #FBF7F0;
  border-color: #E8D9C2;
  box-shadow: 0 2px 8px rgba(45,40,34,.05);
}
.auth-card {
  box-shadow: 0 24px 64px rgba(45,40,34,.12), 0 4px 16px rgba(45,40,34,.06);
}

a:focus-visible, button:focus-visible, input:focus-visible,
select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 2px;
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

/* 适配现有统一按钮与 chip 体系，保持设计师的中性描边风格 */
.btn-secondary, .btn-ghost, .btn-warning, .btn-success, .btn-danger {
  border-color: var(--line);
  background: #fff;
  color: var(--ink);
}
.btn-secondary:hover, .btn-ghost:hover, .btn-warning:hover {
  border-color: var(--red);
  color: var(--red);
  background: var(--red-soft);
}
.btn-success {
  color: var(--success);
  border-color: #C9D8CE;
}
.btn-success:hover { background: #EEF3EF; color: var(--success); }
.btn-danger {
  color: var(--danger);
  border-color: #E0C9C5;
}
.btn-danger:hover { background: #F6EDEB; color: var(--danger); }
.btn-warning.active {
  background: var(--red-soft);
  color: var(--red);
  border-color: var(--red-line);
}

.chip {
  background: #fff;
  border: 1px solid var(--line);
  color: var(--muted);
  font-weight: 500;
}
.chip--gray, .chip--blue, .chip--green, .chip--purple, .chip--cyan {
  background: #fff;
  border: 1px solid var(--line);
  color: var(--muted);
}
.chip--orange, .chip--danger, .chip--warning {
  background: var(--red-soft);
  border: 1px solid var(--red-line);
  color: var(--red);
}

/* 相关度星星：加粗描边，区分等级更清楚 */
.stars-empty {
  -webkit-text-stroke: 1px #D5CEC4;
  text-shadow: 0 0 1px rgba(45,40,34,.10);
}
.stars-filled {
  -webkit-text-stroke: 1px #B7782A;
  text-shadow: 0 1px 2px rgba(169,122,52,.18);
}
.btn-primary {
  background: linear-gradient(135deg, #9B3434, #7A2626);
  box-shadow: 0 8px 18px rgba(45,40,34,.15);
}
.btn-primary:hover:not(:disabled) { box-shadow: 0 11px 22px rgba(45,40,34,.20); }
.brand-logo {
  background: linear-gradient(135deg, #A03A32, #752525);
  box-shadow: 0 7px 16px rgba(45,40,34,.15);
}

/* 标签增强：实底填充，清晰但不加彩色；仅“推荐”保留红色 */
.badge, .tag, .quality-badge, .useful-badge {
  background: #ECE8E1;
  border: 1px solid #DFD9CE;
  color: #504B44;
  font-weight: 500;
}
.badge.微观, .badge.中观, .badge.宏观, .badge.全球,
.tag.literacy, .tag.ever, .tag.hot, .tag.classic {
  background: #ECE8E1;
  border: 1px solid #DFD9CE;
  color: #504B44;
}
.tag.rec {
  background: var(--red-soft);
  border: 1px solid var(--red-line);
  color: var(--red);
}

.chip,
.chip--gray,
.chip--blue,
.chip--green,
.chip--purple,
.chip--cyan,
.chip--orange,
.chip--danger,
.chip--warning {
  background: #ECE8E1;
  border: 1px solid #DFD9CE;
  color: #504B44;
  font-weight: 500;
}
.chip--rec {
  background: var(--red-soft);
  border: 1px solid var(--red-line);
  color: var(--red);
}

.meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.meta-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.meta-tags { min-height: 20px; }

.load-more { color: #504B44; }
.stars-empty { color: #DDD6CA; }

/* ===== 登录页 · 左右分栏（桌面版） ===== */
.auth-screen {
  display: block;
  padding: 0;
}

.auth-shell {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  width: min(1280px, 100%);
  min-height: 100vh;
  margin: 0 auto;
  background: #fff;
  box-shadow: 0 0 80px rgba(45, 40, 34, .10);
}

.auth-hero {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 72px 64px;
  background:
    radial-gradient(circle at 88% 10%, rgba(255, 255, 255, .14), transparent 40%),
    linear-gradient(155deg, #8E3030 0%, #6E2424 100%);
  color: #fff;
}
.auth-hero-logo {
  width: 52px;
  height: 52px;
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: rgba(255, 255, 255, .16);
  border: 1px solid rgba(255, 255, 255, .28);
  font-size: 24px;
  font-weight: 700;
}
.auth-hero-title {
  margin: 0 0 16px;
  font-size: 40px;
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: 1px;
}
.auth-hero-sub {
  margin: 0 0 40px;
  font-size: 15px;
  line-height: 1.7;
  color: rgba(255, 255, 255, .82);
}
.auth-features {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.auth-features li {
  position: relative;
  padding-left: 26px;
  font-size: 14px;
  color: rgba(255, 255, 255, .9);
}
.auth-features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .55);
}
.auth-hero::after {
  content: "政";
  position: absolute;
  right: -40px;
  bottom: -70px;
  font-size: 300px;
  line-height: 1;
  font-weight: 700;
  color: rgba(255, 255, 255, .06);
  pointer-events: none;
}

.auth-form-side {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 56px;
}
.auth-card {
  width: 100%;
  max-width: 380px;
  background: transparent;
  border: none;
  box-shadow: none;
  backdrop-filter: none;
  padding: 0;
  border-radius: 0;
  animation: none;
}
.auth-shell .auth-card .auth-brand { display: none; }

.auth-footer {
  position: absolute;
  left: 56px;
  right: 56px;
  bottom: 28px;
  margin: 0;
  text-align: center;
  font-size: 12px;
  color: var(--muted);
}

.auth-hero-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 56px;
}
.auth-hero-logo { margin-bottom: 0; }
.auth-hero-word {
  font-size: 18px;
  letter-spacing: 4px;
  color: #fff;
  font-weight: 600;
}
.auth-hero-title {
  margin: 0 0 18px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  font-size: 44px;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: 1px;
  color: #fff;
}
.auth-hero-title span { display: block; }
.auth-hero-title span:nth-child(2) { margin-left: 66px; }
.auth-hero-title .auth-hero-coda {
  margin-left: 110px;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 3px;
  color: rgba(255, 255, 255, .72);
}

.auth-hero-title {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  margin: 0 0 28px;
}
.auth-hero-title > span {
  display: block;
  line-height: 1.15;
}
.auth-hero-title > span:nth-child(1) { margin-left: 0; }
.auth-hero-title > span:nth-child(2) { margin-left: 46px; }
.auth-hero-title .auth-hero-coda {
  margin-left: 92px;
  font-size: 22px;
  font-weight: 500;
  letter-spacing: 2px;
  color: rgba(255, 255, 255, .66);
}

.auth-hero {
  justify-content: flex-start;
  padding-top: 96px;
}
.auth-hero-brand {
  margin-bottom: 56px;
}

.auth-hero-title {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 0;
}
.auth-hero-title > span {
  display: block;
  line-height: 1.05;
  font-size: 60px;
  font-weight: 700;
  letter-spacing: 2px;
}
.auth-hero-title > span:nth-child(1) { margin-left: 0; }
.auth-hero-title > span:nth-child(2) { margin-left: 140px; }
.auth-hero-title .auth-hero-coda {
  margin-left: 320px;
  font-size: 28px;
  font-weight: 500;
  letter-spacing: 5px;
  color: rgba(255, 255, 255, .6);
}
.auth-hero-brand { margin-bottom: 48px; }
.auth-hero-sub {
  margin: 0;
  font-size: 15px;
  letter-spacing: 2px;
  color: rgba(255, 255, 255, .6);
}
.auth-hero-hint {
  position: absolute;
  left: 64px;
  bottom: 48px;
  font-size: 13px;
  letter-spacing: 3px;
  color: rgba(255, 255, 255, .3);
}
