:root {
  --bg: #f5f7fb;
  --card: #ffffff;
  --line: #dfe6f2;
  --text: #1f2a44;
  --muted: #6d7890;
  --accent: #3257d6;
  --accent-soft: #ebf0ff;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
  background: linear-gradient(180deg, #f7f9fd 0%, #eef3fb 100%);
  color: var(--text);
}
.page {
  max-width: 1120px;
  margin: 0 auto;
  padding: 32px 20px 48px;
  display: grid;
  gap: 24px;
}
.hero-card, .admin-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: 0 10px 30px rgba(49, 67, 122, 0.08);
}
.hero-card { padding: 28px; }
.admin-card { padding: 24px 28px; }
.hero-top {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: flex-start;
}
.eyebrow {
  margin: 0 0 8px;
  color: var(--accent);
  font-size: 14px;
  font-weight: 700;
}
h1 { margin: 0; font-size: 34px; }
.subtext, .admin-desc, .hint {
  color: var(--muted);
  line-height: 1.7;
}
.stats {
  min-width: 180px;
  padding: 14px 16px;
  background: var(--accent-soft);
  color: var(--accent);
  border-radius: 18px;
  font-weight: 700;
  line-height: 1.6;
}
.meta-row {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 16px;
  margin: 24px 0;
}
.meta-box {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 16px 18px;
  background: #fbfcff;
}
.meta-wide { min-width: 0; }
.meta-label {
  display: block;
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 8px;
}
.content-card {
  background: #f4f8ff;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  margin-top: 20px;

  /* 整块固定 */
  height: 560px;
  min-height: 560px;
  max-height: 560px;

  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.content-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  flex: 0 0 auto;
}

.content-body {
  background: rgba(255, 255, 255, 0.45);
  border: 1px solid #d9e4ff;
  border-radius: 12px;
  padding: 18px;

  font-size: 18px;
  line-height: 2;
  color: #333;
  white-space: pre-wrap;

  /* 正文区域固定 */
  height: 430px;
  min-height: 430px;
  max-height: 430px;

  overflow-y: auto;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

/* 滚动条样式 */
.content-body::-webkit-scrollbar {
  width: 10px;
}

.content-body::-webkit-scrollbar-track {
  background: #e8eefc;
  border-radius: 999px;
}

.content-body::-webkit-scrollbar-thumb {
  background: #9bb2f3;
  border-radius: 999px;
}

.content-body::-webkit-scrollbar-thumb:hover {
  background: #6f8fe8;
}
.primary-btn, .secondary-btn {
  border: none;
  border-radius: 999px;
  padding: 12px 22px;
  cursor: pointer;
  font-size: 15px;
  font-weight: 700;
}
.primary-btn {
  background: var(--accent);
  color: #fff;
}
.secondary-btn {
  background: #14213d;
  color: #fff;
}
.upload-form {
  display: grid;
  gap: 16px;
  margin-top: 16px;
}
.mode-group {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  color: var(--text);
}
.upload-msg {
  margin-top: 12px;
  min-height: 24px;
  color: var(--accent);
  font-weight: 600;
}
@media (max-width: 760px) {
  .hero-top, .content-head, .mode-group { flex-direction: column; align-items: stretch; }
  .meta-row { grid-template-columns: 1fr; }
  h1 { font-size: 28px; }
  .hero-card, .admin-card { padding: 20px; }
}
