/* ============================================================
   丁灵王中文网（重构版）样式 —— 主色 #991b1c，无框架
   ============================================================ */
:root {
  --p50: #fef2f2; --p100: #fee2e2; --p200: #fecaca; --p300: #fca5a5;
  --p500: #dc2626; --p600: #991b1c; --p700: #7f1d1d;
  --g50: #f9fafb; --g100: #f3f4f6; --g200: #e5e7eb; --g300: #d1d5db;
  --g400: #9ca3af; --g500: #6b7280; --g600: #4b5563; --g700: #374151; --g900: #111827;
  --shadow: 0 1px 3px rgba(0,0,0,.08);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  background: #fff; color: var(--g900);
  font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 14px; line-height: 1.5;
  display: flex; flex-direction: column; min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { display: block; }
button { font-family: inherit; background: none; border: none; cursor: pointer; color: inherit; font-size: inherit; }
input, select, textarea { font-family: inherit; font-size: inherit; color: inherit; }
input:focus, select:focus, textarea:focus, button:focus { outline: none; }
svg { display: inline-block; vertical-align: middle; }

/* ---------- 布局 ---------- */
.flex-1 { flex: 1 1 0%; min-width: 0; }
.container   { max-width: 80rem; margin: 0 auto; padding: 0 1rem; }
.container-lg{ max-width: 64rem; margin: 0 auto; padding: 0 1rem; }
.container-md{ max-width: 56rem; margin: 0 auto; padding: 0 1rem; }
.container-sm{ max-width: 42rem; margin: 0 auto; padding: 0 1rem; }
.container-3xl{ max-width: 48rem; margin: 0 auto; padding: 0 1rem; }
.hidden { display: none !important; }
.relative { position: relative; } .absolute { position: absolute; }
.flex { display: flex; } .grid { display: grid; }
.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; } .items-start { align-items: flex-start; } .items-baseline { align-items: baseline; }
.justify-between { justify-content: space-between; } .justify-end { justify-content: flex-end; } .justify-center { justify-content: center; }
.text-center { text-align: center; }
.truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.min-w-0 { min-width: 0; } .flex-shrink-0 { flex-shrink: 0; }
.overflow-hidden { overflow: hidden; } .overflow-y-auto { overflow-y: auto; }
.cursor-pointer { cursor: pointer; }
.w-full { width: 100%; }

/* ---------- 文字 ---------- */
.text-xs { font-size: 12px; } .text-sm { font-size: 14px; } .text-base { font-size: 16px; }
.text-lg { font-size: 18px; } .text-xl { font-size: 20px; } .text-2xl { font-size: 24px; }
.text-10 { font-size: 10px; }
.font-medium { font-weight: 500; } .font-bold { font-weight: 700; }
.text-gray-900 { color: var(--g900); } .text-gray-700 { color: var(--g700); }
.text-gray-600 { color: var(--g600); } .text-gray-500 { color: var(--g500); }
.text-gray-400 { color: var(--g400); }
.text-muted { color: var(--g400); }
.text-primary-600 { color: var(--p600); }
.text-red-500 { color: #ef4444; } .text-red-600 { color: #dc2626; }
.text-green-600 { color: #16a34a; } .text-green-500 { color: #22c55e; }
.text-yellow-400 { color: #facc15; } .text-gray-300 { color: var(--g300); }
.text-orange-400 { color: #fb923c; } .text-orange-500 { color: #f97316; }
.text-orange-600 { color: #ea580c; } .text-orange-700 { color: #c2410c; }
.text-white { color: #fff; }
.text-primary-500 { color: var(--p500); }
.hover-underline:hover { text-decoration: underline; }
.hover-primary:hover { color: var(--p500); }
.clamp-1 { display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.clamp-2 { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* ---------- 间距 ---------- */
.gap-1 { gap: .25rem; } .gap-1-5 { gap: .375rem; } .gap-2 { gap: .5rem; } .gap-3 { gap: .75rem; } .gap-4 { gap: 1rem; }
.mb-0-5 { margin-bottom: .125rem; } .mb-1 { margin-bottom: .25rem; } .mb-2 { margin-bottom: .5rem; }
.mb-3 { margin-bottom: .75rem; } .mb-4 { margin-bottom: 1rem; } .mb-5 { margin-bottom: 1.25rem; } .mb-6 { margin-bottom: 1.5rem; } .mb-8 { margin-bottom: 2rem; }
.mt-0-5 { margin-top: .125rem; } .mt-1 { margin-top: .25rem; } .mt-1-5 { margin-top: .375rem; } .mt-2 { margin-top: .5rem; } .mt-3 { margin-top: .75rem; } .mt-4 { margin-top: 1rem; } .mt-8 { margin-top: 2rem; }
.ml-1 { margin-left: .25rem; } .ml-2 { margin-left: .5rem; } .ml-auto { margin-left: auto; }
.py-2 { padding-top: .5rem; padding-bottom: .5rem; } .py-3 { padding-top: .75rem; padding-bottom: .75rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; } .py-6 { padding-top: 1.5rem; padding-bottom: 1.5rem; } .py-8 { padding-top: 2rem; padding-bottom: 2rem; }
.py-16 { padding-top: 4rem; padding-bottom: 4rem; }
.px-1 { padding-left: .25rem; padding-right: .25rem; } .px-2 { padding-left: .5rem; padding-right: .5rem; }
.px-3 { padding-left: .75rem; padding-right: .75rem; } .px-4 { padding-left: 1rem; padding-right: 1rem; }
.p-2 { padding: .5rem; } .p-3 { padding: .75rem; } .p-4 { padding: 1rem; } .p-5 { padding: 1.25rem; } .p-6 { padding: 1.5rem; }
.space-y-2 > * + * { margin-top: .5rem; } .space-y-3 > * + * { margin-top: .75rem; }

/* ---------- 尺寸 ---------- */
.w-5 { width: 1.25rem; } .w-6 { width: 1.5rem; } .w-8 { width: 2rem; } .w-10 { width: 2.5rem; }
.w-12 { width: 3rem; } .w-14 { width: 3.5rem; } .w-16 { width: 4rem; } .w-20 { width: 5rem; } .w-24 { width: 6rem; } .w-36 { width: 9rem; }
.h-5 { height: 1.25rem; } .h-6 { height: 1.5rem; } .h-8 { height: 2rem; } .h-10 { height: 2.5rem; }
.h-11 { height: 2.75rem; } .h-14 { height: 3.5rem; } .h-16 { height: 4rem; } .h-20 { height: 5rem; }
.h-22 { height: 5.5rem; } .h-24 { height: 6rem; } .h-28 { height: 7rem; } .h-34 { height: 8.5rem; } .h-48 { height: 12rem; }
.h-20i { height: 5rem; } .h-24i { height: 6rem; }
.w-3-5 { width: .875rem; } .h-3-5 { height: .875rem; }
.w-4 { width: 1rem; } .h-4 { height: 1rem; } .w-3 { width: .75rem; } .h-3 { height: .75rem; }
.w-1-5 { width: .375rem; } .h-1-5 { height: .375rem; }
.max-h-60 { max-height: 15rem; }
.min-h-60vh { min-height: 60vh; }

/* ---------- 徽标 / 边框卡片 ---------- */
.border { border: 1px solid var(--g200); border-radius: 4px; }
.border-b { border-bottom: 1px solid var(--g200); }
.badge-gray, .badge-blue, .badge-green, .badge-yellow, .badge-red, .badge-orange, .badge-admin {
  display: inline-block; font-size: 12px; padding: 1px 6px; border-radius: 3px; border: 1px solid transparent; line-height: 1.4;
}
.badge-gray { background: var(--g100); color: var(--g600); border-color: var(--g200); }
.badge-blue { background: #eff6ff; color: #1d4ed8; border-color: #bfdbfe; }
.badge-green { background: #f0fdf4; color: #15803d; border-color: #bbf7d0; }
.badge-yellow { background: #fefce8; color: #a16207; border-color: #fde68a; }
.badge-red { background: #fef2f2; color: #b91c1c; border-color: #fecaca; }
.badge-orange { background: #fff7ed; color: #c2410c; border-color: #fed7aa; }
.badge-admin { background: #fef2f2; color: #dc2626; border-color: #fecaca; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .35rem;
  padding: .5rem 1rem; border-radius: 4px; font-size: 14px; border: 1px solid transparent;
  transition: all .15s; user-select: none; line-height: 1.4;
}
.btn:disabled { opacity: .55; cursor: not-allowed; }
.btn-primary { background: var(--p600); color: #fff; }
.btn-primary:hover:not(:disabled) { background: var(--p700); }
.btn-outline { background: #fff; border-color: var(--g300); color: var(--g700); }
.btn-outline:hover:not(:disabled) { border-color: var(--g400); background: var(--g50); }
.btn-danger { background: #dc2626; color: #fff; }
.btn-ghost { color: var(--p600); padding: .25rem .5rem; }
.btn-sm { padding: .3rem .7rem; font-size: 12px; }
.btn-ghost.btn-sm { padding: .15rem .4rem; }

/* ---------- 表单 ---------- */
.input-field {
  width: 100%; padding: .5rem .75rem; border: 1px solid var(--g300); border-radius: 4px; background: #fff;
}
.input-field:focus { border-color: var(--p500); box-shadow: 0 0 0 2px var(--p100); }
.input-field:disabled, .input-field[disabled] { background: var(--g100); color: var(--g500); }
.form-label { display: block; font-size: 13px; color: var(--g700); margin-bottom: .3rem; font-weight: 500; }
textarea.input-field { resize: vertical; }
.w-auto { width: auto; }

/* ---------- 导航 ---------- */
.site-nav { background: #fff; border-bottom: 1px solid var(--g200); position: sticky; top: 0; z-index: 50; }
.nav-inner { display: flex; align-items: center; gap: 1rem; height: 3.5rem; }
.brand { display: flex; align-items: baseline; gap: 2px; flex-shrink: 0; }
.brand-text { color: var(--p600); font-size: 20px; font-weight: 800; letter-spacing: 1px; }
.brand-sub { color: var(--g600); font-size: 13px; font-weight: 500; }
.nav-links { display: flex; align-items: center; gap: .25rem; }
.nav-link { padding: .4rem .7rem; border-radius: 4px; color: var(--g600); font-size: 14px; }
.nav-link:hover { color: var(--p600); background: var(--p50); }
.nav-link.active { color: var(--p600); font-weight: 600; }
.nav-search { flex: 1; max-width: 320px; margin-left: auto; }
.nav-search input {
  width: 100%; padding: .4rem .9rem; border: 1px solid var(--g200); border-radius: 999px;
  background: var(--g50); font-size: 13px;
}
.nav-search input:focus { border-color: var(--p300); background: #fff; }
.nav-right { display: flex; align-items: center; gap: .6rem; flex-shrink: 0; }
.nav-bell { position: relative; padding: .45rem; color: var(--g500); border-radius: 4px; }
.nav-bell:hover { color: var(--p600); background: var(--g50); }
.nav-unread {
  position: absolute; top: 0; right: 0; background: var(--p500); color: #fff;
  font-size: 10px; min-width: 15px; height: 15px; line-height: 15px; text-align: center;
  border-radius: 999px; padding: 0 3px;
}
.avatar-btn { border-radius: 50%; }
.avatar, .cmt-avatar {
  display: inline-flex; align-items: center; justify-content: center; overflow: hidden;
  width: 2.1rem; height: 2.1rem; border-radius: 50%; background: var(--p100); color: var(--p600);
  font-size: 13px; font-weight: 600; flex-shrink: 0;
}
.avatar img, .cmt-avatar img { width: 100%; height: 100%; object-fit: cover; }
.cmt-avatar.sm { width: 1.5rem; height: 1.5rem; font-size: 11px; }
.nav-menu {
  position: absolute; right: 0; top: calc(100% + 6px); width: 220px; background: #fff;
  border: 1px solid var(--g200); border-radius: 8px; box-shadow: 0 8px 24px rgba(0,0,0,.12);
  padding: .5rem; z-index: 60;
}
.nav-menu a, .nav-menu .menu-item {
  display: flex; align-items: center; gap: .4rem; padding: .5rem .6rem; border-radius: 4px;
  font-size: 13px; color: var(--g700); width: 100%; text-align: left;
}
.nav-menu a:hover, .nav-menu .menu-item:hover { background: var(--g50); }
.menu-logout { color: #dc2626 !important; }
.menu-head { padding: .5rem .6rem .6rem; border-bottom: 1px solid var(--g100); margin-bottom: .35rem; }
.nav-overlay { position: fixed; inset: 0; z-index: 55; }
.relative .nav-menu { position: absolute; }
#user-menu-wrap { position: relative; }
.hamburger { display: none; padding: .45rem; color: var(--g600); }
.mobile-menu {
  display: flex; flex-direction: column; border-top: 1px solid var(--g100); background: #fff; padding: .5rem 1rem 1rem;
}
.mobile-menu a { padding: .6rem .2rem; border-bottom: 1px solid var(--g50); color: var(--g700); }
.m-search { padding: .4rem 0 .6rem; }
.m-search input { width: 100%; padding: .45rem .8rem; border: 1px solid var(--g200); border-radius: 999px; background: var(--g50); }
@media (max-width: 900px) {
  .nav-links, .nav-search { display: none; }
  .hamburger { display: block; }
}

/* ---------- 页脚 ---------- */
.site-footer { border-top: 1px solid var(--g200); margin-top: 3rem; padding: 1.5rem 0; background: var(--g50); }
.footer-inner { display: flex; align-items: baseline; justify-content: space-between; }

/* ---------- 页面通用 ---------- */
.page-title { font-size: 22px; font-weight: 700; color: var(--g900); }
.section-header { font-size: 15px; font-weight: 600; color: var(--g900); margin-bottom: .75rem; }
.sec-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: .9rem; }
.sec-head h2 { font-size: 16px; font-weight: 600; color: var(--g900); }
.sec-head .more { font-size: 12px; color: var(--g400); }
.sec-head .more:hover { color: var(--p600); }
.loading-box { display: flex; justify-content: center; padding: 4rem 0; }
.loading-box .inner { display: flex; align-items: center; gap: .6rem; }
.spinner {
  width: 20px; height: 20px; border: 2px solid var(--g200); border-top-color: var(--p600);
  border-radius: 50%; animation: spin .8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.empty {
  text-align: center; padding: 3rem 1rem; color: var(--g400); font-size: 14px;
  border: 1px dashed var(--g200); border-radius: 6px; background: var(--g50);
}
.tab-bar { display: flex; gap: .25rem; border-bottom: 2px solid var(--g100); overflow-x: auto; }
.tab-item {
  padding: .55rem .9rem; font-size: 14px; color: var(--g500); border-bottom: 2px solid transparent;
  margin-bottom: -2px; white-space: nowrap;
}
.tab-item:hover { color: var(--p600); }
.tab-item.active { color: var(--p600); font-weight: 600; border-bottom-color: var(--p600); }
.stat-grid { display: grid; gap: .75rem; }
.stat-grid.md-4 { grid-template-columns: repeat(4, 1fr); }
.stat-label { font-size: 12px; color: var(--g400); margin-bottom: .25rem; }
.stat-value { font-size: 24px; font-weight: 700; color: var(--g900); }
.stat-value.highlight { color: var(--p600); }
.table-wrap { overflow-x: auto; border: 1px solid var(--g200); border-radius: 6px; }
table { width: 100%; border-collapse: collapse; font-size: 13px; }
th { text-align: left; padding: .6rem .9rem; background: var(--g50); color: var(--g500); font-weight: 500; white-space: nowrap; }
td { padding: .6rem .9rem; border-top: 1px solid var(--g100); vertical-align: middle; }
.pager { display: flex; align-items: center; justify-content: center; gap: .8rem; margin-top: 1.25rem; }
.bar-track { background: var(--g200); border-radius: 999px; overflow: hidden; }
.bar-fill { height: 100%; background: var(--p600); border-radius: 999px; }

/* ---------- 卡片网格 / 行列表 ---------- */
.card-grid { display: grid; gap: .9rem; }
.card-grid.md-4 { grid-template-columns: repeat(4, 1fr); }
.card-grid.md-5 { grid-template-columns: repeat(5, 1fr); }
.card-grid.md-6 { grid-template-columns: repeat(6, 1fr); }
.card-grid.md-8 { grid-template-columns: repeat(8, 1fr); }
@media (max-width: 900px) {
  .card-grid.md-4 { grid-template-columns: repeat(3, 1fr); }
  .card-grid.md-5, .card-grid.md-6 { grid-template-columns: repeat(3, 1fr); }
  .card-grid.md-8 { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 560px) {
  .card-grid.md-4, .card-grid.md-5, .card-grid.md-6 { grid-template-columns: repeat(2, 1fr); }
}
.row-list { border: 1px solid var(--g200); border-radius: 6px; overflow: hidden; }
.row-item { display: flex; align-items: center; padding: .65rem .9rem; background: #fff; }
.row-item + .row-item { border-top: 1px solid var(--g100); }
.row-item:hover { background: var(--g50); }
.hover-bg:hover { background: var(--g50); }

/* ---------- 封面 ---------- */
.cover {
  display: flex; align-items: center; justify-content: center; overflow: hidden;
  background: linear-gradient(135deg, #7f1d1d, #b91c1c); color: #fff;
  font-weight: 700; border-radius: 4px; user-select: none;
}
.cover img { width: 100%; height: 100%; object-fit: cover; }
.cover-fill { aspect-ratio: 3/4; }

/* ---------- 首页 hero ---------- */
.home-hero {
  background: linear-gradient(120deg, #7f1d1d 0%, #991b1c 55%, #b91c1c 100%);
  color: #fff; padding: 3.5rem 0; text-align: center;
}
.home-hero h1 { font-size: 30px; font-weight: 800; letter-spacing: 2px; margin-bottom: .5rem; }
.home-hero p { opacity: .85; margin-bottom: 1.4rem; }

/* ---------- 模态框 ---------- */
.modal-overlay {
  position: fixed; inset: 0; background: rgba(17,24,39,.45); z-index: 100;
  display: flex; align-items: center; justify-content: center; padding: 1rem;
}
.modal-content {
  background: #fff; border-radius: 10px; padding: 1.4rem; width: 100%; max-width: 460px;
  max-height: 86vh; overflow-y: auto; box-shadow: 0 16px 48px rgba(0,0,0,.2);
}
.hover-bg { transition: background .12s; }

/* ---------- Toast ---------- */
.toast-box { position: fixed; top: 4.2rem; left: 50%; transform: translateX(-50%); z-index: 200; display: flex; flex-direction: column; gap: .5rem; align-items: center; }
.toast {
  padding: .55rem 1.1rem; border-radius: 6px; font-size: 13px; color: #fff; background: var(--g700);
  box-shadow: 0 4px 16px rgba(0,0,0,.18); animation: toast-in .2s ease-out;
}
.toast-success { background: #16a34a; }
.toast-error { background: #dc2626; }
@keyframes toast-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* ============================================================
   阅读器
   ============================================================ */
.reader-root { --r-bg: #fff; --r-text: #374151; --r-muted: #9ca3af; --r-card: #f9fafb; --r-border: #e5e7eb; min-height: 100vh; }
.reader-root[data-theme="sepia"] { --r-bg: #f5ecd9; --r-text: #5b4a32; --r-muted: #a8926e; --r-card: #efe3c8; --r-border: #e0d3b2; }
.reader-root[data-theme="dark"] { --r-bg: #1a1a1a; --r-text: #c8c8c8; --r-muted: #6b6b6b; --r-card: #242424; --r-border: #333; }
.reader-root { background: var(--r-bg); color: var(--r-text); }
.reader-progress { position: sticky; top: 0; height: 3px; background: transparent; z-index: 45; }
.reader-progress > div { height: 100%; background: var(--p600); width: 0; transition: width .1s linear; }
.reader-toolbar {
  position: sticky; top: 3px; z-index: 44; background: color-mix(in srgb, var(--r-bg) 88%, transparent);
  backdrop-filter: blur(8px); border-bottom: 1px solid var(--r-border);
}
.reader-toolbar .inner { max-width: 56rem; margin: 0 auto; padding: .45rem 1rem; display: flex; align-items: center; justify-content: space-between; }
.rt-link, .rt-btn { font-size: 12px; padding: .3rem .6rem; border-radius: 4px; color: var(--r-muted); border: 1px solid var(--r-border); background: var(--r-card); }
.rt-link:hover, .rt-btn:hover { color: var(--p500); }
.rt-btn.on { color: var(--p500); border-color: var(--p300); background: var(--p50); }
.reader-settings { max-width: 56rem; margin: 0 auto; padding: .6rem 1rem; border-bottom: 1px solid var(--r-border); }
.reader-settings .opts { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; font-size: 12px; color: var(--r-muted); }
.reader-content-panel { background: var(--r-card); border: 1px solid var(--r-border); border-radius: 8px; padding: 1.5rem 1.6rem 2rem; }
.reader-content-panel h1 { font-size: 20px; font-weight: 700; margin-bottom: 1.4rem; padding-bottom: .8rem; border-bottom: 1px solid var(--r-border); }
#reader-text .para { position: relative; }
#reader-text .para p { margin: 0 0 1em; text-indent: 2em; }
.para-cmt-btn {
  position: absolute; left: -1.9rem; top: .3em; opacity: 0; color: var(--r-muted);
  padding: .15rem .3rem; border-radius: 4px; font-size: 11px; min-width: 1.4rem; text-align: center;
}
.para:hover .para-cmt-btn { opacity: 1; }
.para-cmt-btn:hover { color: var(--p500); background: var(--p50); }
.para-cmt-btn.has-cmt { opacity: 1; color: var(--p500); }
.para-cmt-btn.selected { opacity: 1; background: var(--p100); color: var(--p600); }
@media (max-width: 760px) { .para-cmt-btn { position: static; opacity: .55; margin-right: .3rem; } }
.reader-nav { display: flex; align-items: center; justify-content: space-between; margin-top: 1.2rem; gap: .5rem; }
.reader-side {
  position: fixed; top: 3.2rem; right: 0; bottom: 0; width: 340px; max-width: 92vw; z-index: 46;
  background: var(--r-bg); border-left: 1px solid var(--r-border); display: flex; flex-direction: column;
  transform: translateX(100%); transition: transform .2s ease;
}
.reader-side.open { transform: none; box-shadow: -8px 0 24px rgba(0,0,0,.08); }
.side-tabs { display: flex; border-bottom: 1px solid var(--r-border); }
.side-tab { flex: 1; padding: .6rem; font-size: 13px; color: var(--r-muted); border-bottom: 2px solid transparent; }
.side-tab.active { color: var(--p500); border-bottom-color: var(--p500); }
.side-body { flex: 1; overflow-y: auto; }
.side-foot { border-top: 1px solid var(--r-border); padding: .6rem; }
.side-input {
  flex: 1; padding: .4rem .6rem; border: 1px solid var(--r-border); border-radius: 4px;
  background: var(--r-card); color: var(--r-text); font-size: 12px;
}
.cmt-card { background: var(--r-card); border: 1px solid var(--r-border); border-radius: 6px; padding: .6rem .7rem; }
.cmt-card.reply { margin-left: 1.2rem; background: transparent; }
.author-tag {
  font-size: 10px; color: var(--p600); border: 1px solid var(--p300); background: var(--p50);
  border-radius: 3px; padding: 0 4px; line-height: 1.5;
}
.reader-mobile-panel { position: fixed; left: 0; right: 0; bottom: 0; max-height: 62vh; z-index: 47;
  background: var(--r-bg); border-top: 1px solid var(--r-border); display: flex; flex-direction: column; border-radius: 12px 12px 0 0; }
@media (min-width: 761px) { .reader-mobile-panel { display: none !important; } }

/* ---------- 作者编辑器 ---------- */
.ce-input-title { width: 100%; border: 0; background: transparent; font-size: 18px; font-weight: 500; padding: .75rem 0; border-bottom: 1px solid var(--g200); }
.ce-input-content { width: 100%; border: 0; background: transparent; min-height: calc(100vh - 14rem); padding: 1rem 0; resize: none; font-size: 14px; line-height: 1.8; }

