/* 全局设计令牌：统一主色、阴影和动效时长。 */
:root {
  --brand-primary: #5b5cf0;
  --brand-primary-dark: #4338ca;
  --brand-primary-soft: rgba(91, 92, 240, 0.12);
  --brand-accent: #ec4899;
  --brand-bg: #f4f7fc;
  --brand-panel: #f8faff;
  --brand-card: #ffffff;
  --brand-text: #1f2937;
  --brand-text-strong: #0f172a;
  --brand-muted: #64748b;
  --brand-border: #dbe3f0;
  --brand-success: #15803d;
  --brand-warning: #b45309;
  --brand-danger: #dc2626;
  --shadow-soft: 0 18px 42px rgba(15, 23, 42, 0.08);
  --shadow-card: 0 24px 60px rgba(15, 23, 42, 0.08);
  --shadow-focus: 0 0 0 0.24rem rgba(91, 92, 240, 0.16);
  --shadow-hover: 0 22px 46px rgba(15, 23, 42, 0.12);
  --motion-base: 0.24s ease;
  --motion-emphasis: 0.36s cubic-bezier(0.22, 1, 0.36, 1);
}

/* 基础重置与滚动行为。 */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  overflow-x: hidden;
  background:
    radial-gradient(circle at top left, rgba(91, 92, 240, 0.08), transparent 28%),
    radial-gradient(circle at right bottom, rgba(236, 72, 153, 0.08), transparent 22%),
    linear-gradient(180deg, #f9fbff 0%, var(--brand-bg) 100%);
  color: var(--brand-text);
  font-family: "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  line-height: 1.65;
}

a {
  color: var(--brand-primary);
  transition: color 0.2s ease, opacity 0.2s ease;
}

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

/* 页面骨架与头图区布局。 */
.container.app-shell {
  max-width: 1180px;
}

.app-shell {
  padding: 32px 0 56px;
}

.app-shell > .app-hero,
.app-shell > .app-card,
.auth-card {
  animation: app-fade-rise 0.55s var(--motion-emphasis) both;
}

.app-shell > .app-card:nth-child(2) {
  animation-delay: 0.06s;
}

.app-shell > .app-card:nth-child(3) {
  animation-delay: 0.12s;
}

.app-shell > .app-card:nth-child(4) {
  animation-delay: 0.18s;
}

.app-shell > .app-card:nth-child(5) {
  animation-delay: 0.24s;
}

.app-shell > .app-card:nth-child(6) {
  animation-delay: 0.3s;
}

.app-shell > .app-card:nth-child(7) {
  animation-delay: 0.36s;
}

.app-page-title {
  margin-bottom: 10px;
  color: var(--brand-text-strong);
  font-size: 32px;
  font-weight: 800;
  line-height: 1.25;
}

.app-page-desc {
  margin-bottom: 0;
  max-width: 760px;
  color: var(--brand-muted);
  font-size: 15px;
}

.app-hero {
  position: relative;
  overflow: hidden;
  margin-bottom: 24px;
  padding: 28px 30px;
  border: 1px solid rgba(212, 222, 236, 0.95);
  border-radius: 20px;
  background:
    linear-gradient(180deg, rgba(248, 250, 252, 0.96), rgba(255, 255, 255, 0.99)),
    var(--brand-card);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.06);
}

.app-hero::after {
  content: "";
  position: absolute;
  top: -40%;
  right: -10%;
  width: 220px;
  height: 220px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.52) 0%, rgba(255, 255, 255, 0) 72%);
  pointer-events: none;
}

.app-hero-header {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: flex-start;
  justify-content: space-between;
}

.app-hero-copy {
  flex: 1 1 520px;
}

.app-hero-kicker {
  display: inline-flex;
  align-items: center;
  margin-bottom: 12px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(91, 92, 240, 0.1);
  color: var(--brand-primary-dark);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.app-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: flex-end;
}

.app-hero-note {
  margin-top: 16px;
  color: var(--brand-muted);
  font-size: 14px;
}

.app-owner-badge {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  padding: 8px 12px;
  border: 1px solid rgba(30, 64, 175, 0.12);
  border-radius: 999px;
  background: rgba(30, 64, 175, 0.05);
  color: #475569;
  font-size: 12px;
  transition: transform var(--motion-base), border-color var(--motion-base), background-color var(--motion-base);
}

.app-owner-badge:hover {
  transform: translateY(-1px);
  border-color: rgba(91, 92, 240, 0.26);
  background: rgba(91, 92, 240, 0.1);
}

.app-owner-badge-label {
  color: var(--brand-primary-dark);
  font-weight: 700;
}

.app-owner-card {
  padding: 18px 20px;
  border: 1px solid rgba(203, 213, 225, 0.95);
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(248, 250, 252, 0.95), rgba(255, 255, 255, 0.98));
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.04);
  transition: transform var(--motion-emphasis), box-shadow var(--motion-base), border-color var(--motion-base);
}

.app-owner-card:hover {
  transform: translateY(-3px);
  border-color: rgba(91, 92, 240, 0.24);
  box-shadow: 0 18px 34px rgba(15, 23, 42, 0.08);
}

.app-owner-kicker {
  color: var(--brand-primary-dark);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.app-owner-title {
  margin-top: 8px;
  color: var(--brand-text-strong);
  font-size: 18px;
  font-weight: 800;
}

.app-owner-divider {
  margin: 0 8px;
  color: #94a3b8;
}

.app-owner-row + .app-owner-row {
  margin-top: 14px;
}

.app-owner-row-label {
  color: var(--brand-muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.app-owner-row-value {
  margin-top: 6px;
  color: #334155;
  font-size: 14px;
  line-height: 1.7;
}

/* 业务卡片、工具条和统计组件组。 */
/* 工具条用于承载区块标题、说明和数量徽标，是各工作台列表的统一头部。 */
.app-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.app-toolbar-soft {
  margin-bottom: 18px;
  padding: 14px 16px;
  border: 1px solid rgba(219, 227, 240, 0.95);
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(91, 92, 240, 0.05), rgba(255, 255, 255, 0.98));
}

.app-toolbar-title {
  color: var(--brand-text-strong);
  font-size: 15px;
  font-weight: 700;
}

.app-toolbar-meta {
  color: var(--brand-muted);
  font-size: 13px;
}

.app-card {
  /* 卡片是后台业务页面的基础容器，统一圆角和轻阴影以弱化 Bootstrap 默认表格感。 */
  background: var(--brand-card);
  border: 1px solid rgba(219, 227, 240, 0.95);
  border-radius: 18px;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.05);
  transition: transform var(--motion-emphasis), box-shadow var(--motion-base), border-color var(--motion-base);
}

.app-card:hover {
  transform: translateY(-2px);
  border-color: rgba(91, 92, 240, 0.16);
  box-shadow: var(--shadow-hover);
}

.app-card + .app-card {
  margin-top: 24px;
}

.app-card-header {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 24px 26px 0;
}

.app-card-header::before {
  /* 左上短线作为区块视觉锚点，帮助长页面快速区分模块。 */
  content: "";
  position: absolute;
  top: 24px;
  left: 26px;
  width: 42px;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--brand-primary), var(--brand-accent));
}

.app-card-body {
  padding: 24px 26px 26px;
}

.app-section-stack > * + * {
  margin-top: 18px;
}

.app-form-section-title {
  margin-bottom: 6px;
  color: var(--brand-text-strong);
  font-size: 18px;
  font-weight: 700;
}

.app-help {
  color: var(--brand-muted);
  font-size: 13px;
  line-height: 1.6;
}

.app-module-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0 0;
}

.app-anchor-nav {
  gap: 10px;
}

.app-anchor-link {
  min-width: 132px;
  text-align: center;
}

.app-module-chip {
  /* chip 用于展示流程能力和角色能力，强调信息标签而非可点击按钮。 */
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border: 1px solid rgba(219, 227, 240, 0.95);
  border-radius: 999px;
  background: rgba(248, 250, 252, 0.96);
  color: #334155;
  font-size: 12px;
  box-shadow: none;
  transition: transform var(--motion-base), box-shadow var(--motion-base), border-color var(--motion-base), background-color var(--motion-base);
}

.app-module-chip:hover {
  transform: translateY(-2px);
  border-color: rgba(91, 92, 240, 0.18);
  background: #fff;
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.08);
}

.app-module-chip strong {
  margin-right: 6px;
  color: var(--brand-text-strong);
}

.app-stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(185px, 1fr));
  gap: 16px;
}

.app-stat {
  position: relative;
  overflow: hidden;
  padding: 18px 20px;
  border: 1px solid rgba(219, 227, 240, 0.95);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(248, 250, 252, 0.96), rgba(255, 255, 255, 0.99));
  transition: transform var(--motion-emphasis), box-shadow var(--motion-base), border-color var(--motion-base);
}

.app-stat::after {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 72px;
  height: 3px;
  background: linear-gradient(90deg, var(--brand-primary), rgba(236, 72, 153, 0.7));
}

.app-stat:hover {
  transform: translateY(-3px);
  border-color: rgba(91, 92, 240, 0.18);
  box-shadow: 0 18px 34px rgba(15, 23, 42, 0.08);
}

.app-stat-label {
  color: var(--brand-muted);
  font-size: 14px;
}

.app-stat-value {
  margin-top: 8px;
  color: var(--brand-text-strong);
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.app-panel-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 20px;
}

.app-mini-panel {
  height: 100%;
  padding: 18px 18px 6px;
  border: 1px solid rgba(219, 227, 240, 0.95);
  border-radius: 18px;
  background: var(--brand-panel);
  transition: transform var(--motion-base), box-shadow var(--motion-base), border-color var(--motion-base);
}

.app-mini-panel:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.06);
}

.app-mini-panel-title {
  margin-bottom: 4px;
  color: var(--brand-text-strong);
  font-size: 16px;
  font-weight: 700;
}

.app-mini-panel-help {
  margin-bottom: 16px;
  color: var(--brand-muted);
  font-size: 13px;
}

.app-table {
  margin-bottom: 0;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
}

.app-table thead th {
  border-top: none;
  border-bottom: 1px solid rgba(219, 227, 240, 0.95);
  background: #f6f9ff;
  color: #334155;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.app-table td,
.app-table th {
  padding-top: 14px;
  padding-bottom: 14px;
  vertical-align: middle;
}

.app-table tbody tr {
  transition: background-color var(--motion-base), transform var(--motion-base), box-shadow var(--motion-base);
}

.app-table tbody tr:hover {
  background: rgba(91, 92, 240, 0.04);
  transform: translateX(2px);
  box-shadow: inset 3px 0 0 rgba(91, 92, 240, 0.5);
}

.app-empty {
  padding: 40px 16px;
  text-align: center;
  color: var(--brand-muted);
  border: 1px dashed rgba(191, 203, 224, 0.95);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(248, 250, 252, 0.92), rgba(255, 255, 255, 0.98));
}

.app-badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  transition: transform var(--motion-base), box-shadow var(--motion-base), opacity var(--motion-base);
}

.app-badge:hover {
  transform: translateY(-1px);
}

.app-badge-pending {
  color: #92400e;
  background: #fef3c7;
}

.app-badge-review {
  color: #1d4ed8;
  background: #dbeafe;
}

.app-badge-warning {
  color: #92400e;
  background: #fef3c7;
}

.app-badge-approved {
  color: #166534;
  background: #dcfce7;
}

.app-badge-rejected,
.app-badge-disabled,
.app-badge-cancelled {
  color: #991b1b;
  background: #fee2e2;
}

.app-badge-normal,
.app-badge-completed {
  color: #166534;
  background: #dcfce7;
}

.app-flow-note {
  margin-top: 18px;
  padding: 16px 18px;
  border-left: 4px solid #c81010;
  border-radius: 16px;
  background: rgba(200, 30, 30, 0.05);
  color: #334155;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55);
}

.app-form-surface {
  padding: 18px;
  border: 1px solid rgba(219, 227, 240, 0.95);
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(248, 250, 255, 0.92), rgba(255, 255, 255, 0.98));
}

.app-form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  margin-top: 8px;
}

/* 表单辅助组件与角色选择卡片。 */
.app-role-switcher {
  display: flex;
  align-items: center;
}

.app-role-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.app-role-card {
  padding: 18px;
  border: 1px solid rgba(219, 227, 240, 0.95);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(248, 250, 252, 0.96), rgba(255, 255, 255, 0.99));
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.05);
}

.app-role-card-top {
  display: flex;
  justify-content: flex-end;
}

.app-role-card-title {
  margin-top: 12px;
  color: var(--brand-text-strong);
  font-size: 20px;
  font-weight: 800;
}

.app-role-card-desc {
  margin-top: 8px;
  color: var(--brand-muted);
  font-size: 13px;
  line-height: 1.7;
}

.app-chip-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.app-checkbox-stack {
  display: grid;
  gap: 8px;
}

.app-check-item {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 0;
  color: #334155;
}

.app-inline-action-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* 门户登录弹层与入口交互区域。 */
/* 首页多个入口复用同一个弹层，样式层只负责打开后的遮罩、居中和关闭按钮表现。 */
.journal-login-entry {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.journal-login-tip {
  margin-top: 14px;
  color: var(--brand-muted);
  font-size: 13px;
}

.journal-side-link-button {
  width: 100%;
  border: 0;
  background: rgba(91, 92, 240, 0.08);
  cursor: pointer;
}

.journal-login-modal {
  /* 默认隐藏，脚本添加 is-open 后再显示，避免页面加载时闪现登录框。 */
  position: fixed;
  inset: 0;
  z-index: 1040;
  display: none;
}

.journal-login-modal.is-open {
  display: block;
}

.journal-login-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.48);
  backdrop-filter: blur(3px);
}

.journal-login-dialog {
  position: relative;
  z-index: 1;
  width: min(560px, calc(100% - 32px));
  margin: 8vh auto 0;
  padding: 28px;
  border: 1px solid rgba(219, 227, 240, 0.95);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 28px 80px rgba(15, 23, 42, 0.2);
}

.journal-login-close {
  position: absolute;
  top: 12px;
  right: 14px;
  border: 0;
  background: transparent;
  color: var(--brand-muted);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

.app-inline-note {
  color: var(--brand-muted);
  font-size: 13px;
  line-height: 1.6;
}

/* 详情说明、时间线与结果展示区。 */
/* 这些组件服务于稿件详情、个人中心和工作台说明卡，突出流程解释而不是表单录入。 */
.app-highlight-card {
  padding: 18px 20px;
  border: 1px dashed rgba(91, 92, 240, 0.35);
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(91, 92, 240, 0.08), rgba(236, 72, 153, 0.05));
}

.app-meta-grid {
  /* 自动适配列数，保证评分卡、账号信息和稿件元信息可共用同一布局。 */
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
}

.app-meta-item {
  padding: 18px 20px;
  border: 1px solid rgba(219, 227, 240, 0.95);
  border-radius: 18px;
  background: var(--brand-panel);
  transition: transform var(--motion-base), box-shadow var(--motion-base), border-color var(--motion-base);
}

.app-meta-item:hover {
  transform: translateY(-2px);
  border-color: rgba(91, 92, 240, 0.18);
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.06);
}

.app-meta-label {
  color: var(--brand-muted);
  font-size: 13px;
}

.app-meta-value {
  margin-top: 8px;
  color: var(--brand-text-strong);
  font-size: 18px;
  font-weight: 700;
  word-break: break-word;
}

.app-content-block {
  padding: 20px 22px;
  border: 1px solid rgba(219, 227, 240, 0.95);
  border-radius: 18px;
  background: #fcfdff;
  white-space: pre-wrap;
  word-break: break-word;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.app-content-block-compact {
  margin-top: 10px;
  padding: 12px 14px;
  max-height: 220px;
  overflow: auto;
  font-size: 13px;
}

.app-manuscript-preview summary {
  cursor: pointer;
  color: var(--brand-primary-dark);
  font-size: 13px;
  font-weight: 700;
}

.app-record-list {
  display: grid;
  gap: 12px;
}

.app-record-item {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: flex-start;
  justify-content: space-between;
  padding: 18px 20px;
  border: 1px solid rgba(219, 227, 240, 0.95);
  border-radius: 18px;
  background: #fcfdff;
  transition: transform var(--motion-base), box-shadow var(--motion-base), border-color var(--motion-base);
}

.app-record-item:hover {
  transform: translateY(-2px);
  border-color: rgba(91, 92, 240, 0.18);
  box-shadow: 0 16px 30px rgba(15, 23, 42, 0.06);
}

.app-record-meta {
  color: var(--brand-muted);
  font-size: 13px;
}

.app-record-summary {
  margin-top: 10px;
  color: #475569;
}

.app-timeline {
  display: grid;
  gap: 14px;
}

.app-timeline-step {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 16px;
  align-items: flex-start;
  padding: 18px 20px;
  border: 1px solid rgba(219, 227, 240, 0.95);
  border-radius: 20px;
  background: #fcfdff;
  transition: transform 0.18s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.app-timeline-step:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.06);
}

.app-timeline-step-completed {
  border-color: rgba(22, 163, 74, 0.22);
  background: linear-gradient(135deg, rgba(220, 252, 231, 0.85), rgba(255, 255, 255, 0.98));
}

.app-timeline-step-current {
  border-color: rgba(59, 130, 246, 0.28);
  background: linear-gradient(135deg, rgba(219, 234, 254, 0.92), rgba(255, 255, 255, 0.99));
  box-shadow: 0 18px 34px rgba(59, 130, 246, 0.1);
}

.app-timeline-step-waiting {
  background: linear-gradient(135deg, rgba(255, 247, 237, 0.92), rgba(255, 255, 255, 0.98));
}

.app-timeline-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--brand-primary), var(--brand-accent));
  color: #fff;
  font-size: 18px;
  font-weight: 800;
  box-shadow: 0 10px 24px rgba(91, 92, 240, 0.18);
}

.app-timeline-body {
  min-width: 0;
}

.app-decision-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}

.app-decision-card {
  padding: 20px 22px;
  border: 1px solid rgba(219, 227, 240, 0.95);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.05);
  transition: transform var(--motion-base), box-shadow var(--motion-base), border-color var(--motion-base);
}

.app-decision-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 34px rgba(15, 23, 42, 0.08);
}

.app-decision-card-stage {
  background: linear-gradient(135deg, rgba(91, 92, 240, 0.08), rgba(255, 255, 255, 0.98));
}

.app-decision-card-approved {
  border-color: rgba(22, 163, 74, 0.24);
  background: linear-gradient(135deg, rgba(220, 252, 231, 0.92), rgba(255, 255, 255, 0.99));
}

.app-decision-card-rejected {
  border-color: rgba(220, 38, 38, 0.22);
  background: linear-gradient(135deg, rgba(254, 226, 226, 0.92), rgba(255, 255, 255, 0.99));
}

.app-decision-card-pending {
  border-color: rgba(245, 158, 11, 0.22);
  background: linear-gradient(135deg, rgba(255, 243, 199, 0.92), rgba(255, 255, 255, 0.99));
}

/* 顶部导航与当前用户信息区。 */
/* 导航栏承载当前用户、激活角色和积分摘要，颜色使用深色以区别后台工作台主体。 */
.app-navbar {
  background: linear-gradient(135deg, #0f172a, #1f2937);
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.16);
  backdrop-filter: blur(10px);
}

.app-navbar .container {
  min-height: 70px;
}

.app-navbar .navbar-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff !important;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.app-brand-tag {
  display: inline-flex;
  align-items: center;
  margin-left: 10px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.9);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.app-navbar .navbar-brand::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, #a5b4fc, #f9a8d4);
  box-shadow: 0 0 0 5px rgba(255, 255, 255, 0.08);
}

.app-navbar .nav-link {
  color: rgba(255, 255, 255, 0.88) !important;
  transition: color var(--motion-base), opacity var(--motion-base), transform var(--motion-base);
}

.app-navbar .nav-link:hover {
  color: #fff !important;
  transform: translateY(-1px);
}

.app-navbar .navbar-text {
  color: rgba(255, 255, 255, 0.9) !important;
}

.app-user-pill {
  /* 当前角色和积分使用胶囊标签展示，避免与普通链接混淆。 */
  display: inline-flex;
  align-items: center;
  padding: 7px 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  font-size: 13px;
}

/* 认证页视觉区：登录、注册与门户容器。 */
/* 认证页独立于后台工作台，采用居中卡片以突出登录和注册动作。 */
.auth-wrapper {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 16px;
  background:
    radial-gradient(circle at top left, rgba(91, 92, 240, 0.16), transparent 30%),
    radial-gradient(circle at bottom right, rgba(236, 72, 153, 0.12), transparent 22%),
    linear-gradient(180deg, #f8faff, #edf3fc);
}

.auth-card {
  width: 100%;
  max-width: 520px;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(219, 227, 240, 0.98);
  border-radius: 28px;
  box-shadow: 0 28px 72px rgba(91, 92, 240, 0.12);
  padding: 34px 32px;
}

.auth-card-wide {
  max-width: 860px;
}

.auth-actions {
  display: grid;
  gap: 10px;
  margin-top: 6px;
}

.auth-panel-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 20px;
}

.auth-feature-panel {
  height: 100%;
  padding: 18px;
  border: 1px solid rgba(219, 227, 240, 0.95);
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(91, 92, 240, 0.05), rgba(255, 255, 255, 0.98));
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.05);
  transition: transform var(--motion-base), box-shadow var(--motion-base), border-color var(--motion-base);
}

.auth-feature-panel:hover {
  transform: translateY(-2px);
  border-color: rgba(91, 92, 240, 0.18);
  box-shadow: 0 18px 34px rgba(15, 23, 42, 0.08);
}

.auth-topline {
  display: inline-flex;
  align-items: center;
  margin-bottom: 14px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(91, 92, 240, 0.1);
  color: var(--brand-primary-dark);
  font-size: 12px;
  font-weight: 700;
}

.auth-topline-group {
  margin-left: 8px;
  padding-left: 8px;
  border-left: 1px solid rgba(67, 56, 202, 0.24);
  color: #312e81;
}

.auth-title {
  margin-bottom: 8px;
  color: var(--brand-primary);
  font-size: 34px;
  font-weight: 800;
  line-height: 1.2;
}

.auth-subtitle {
  margin-bottom: 24px;
  color: var(--brand-muted);
  font-size: 15px;
}

.auth-checklist {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.auth-checklist-item {
  padding: 12px 14px;
  border: 1px solid rgba(219, 227, 240, 0.95);
  border-radius: 16px;
  background: var(--brand-panel);
  color: #475569;
  font-size: 14px;
  transition: transform var(--motion-base), box-shadow var(--motion-base), border-color var(--motion-base);
}

.auth-checklist-item:hover {
  transform: translateX(3px);
  border-color: rgba(91, 92, 240, 0.18);
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.05);
}

.auth-team-section {
  margin-top: 20px;
  padding: 18px;
  border: 1px solid rgba(219, 227, 240, 0.95);
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(91, 92, 240, 0.05), rgba(255, 255, 255, 0.98));
}

.auth-team-section-title {
  color: var(--brand-text-strong);
  font-size: 18px;
  font-weight: 800;
}

.auth-team-section-help {
  margin-top: 6px;
  color: var(--brand-muted);
  font-size: 13px;
}

.app-team-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 16px;
}

.auth-footer {
  margin-top: 20px;
  color: var(--brand-muted);
  font-size: 13px;
  text-align: center;
}

/* 门户首页/公开页视觉区与期刊风格组件组。 */
/* 公开页模拟期刊门户结构，与后台工作台区分为更偏内容展示的视觉系统。 */
.journal-wrapper {
  align-items: flex-start;
}

.auth-card-portal {
  max-width: 1180px;
  padding: 28px 28px 24px;
}

.journal-masthead {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  justify-content: space-between;
}

.journal-brand {
  display: flex;
  gap: 16px;
  align-items: center;
  min-width: 0;
}

.journal-brand-logo {
  /* 圆形“花”字标识作为门户视觉识别，不依赖图片资源，方便部署。 */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  border: 4px solid rgba(91, 92, 240, 0.15);
  border-radius: 999px;
  background: linear-gradient(135deg, #1d4ed8, #4338ca);
  color: #fff;
  font-size: 32px;
  font-weight: 800;
  box-shadow: 0 18px 32px rgba(29, 78, 216, 0.2);
}

.journal-brand-title {
  color: #1e3a8a;
  font-size: 42px;
  font-weight: 900;
  line-height: 1.1;
}

.journal-brand-subtitle {
  margin-top: 6px;
  color: var(--brand-muted);
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.journal-search-panel {
  flex: 1 1 360px;
  max-width: 470px;
}

.journal-search-panel-compact {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.journal-search-kicker {
  margin-bottom: 8px;
  color: var(--brand-text-strong);
  font-size: 13px;
  font-weight: 700;
}

.journal-search-bar {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr) 96px;
  gap: 10px;
  align-items: center;
}

.journal-search-button {
  background: #c81e1e;
  border-color: #c81e1e;
  box-shadow: none;
}

.journal-nav-strip {
  /* 红色导航条参考期刊门户样式，强调公开浏览和下载入口。 */
  display: flex;
  flex-wrap: wrap;
  gap: 2px;
  margin-top: 22px;
  padding: 0 10px;
  border-radius: 16px;
  background: linear-gradient(90deg, #c81010, #d42c2c);
  box-shadow: 0 14px 30px rgba(200, 16, 16, 0.18);
}

.journal-nav-link {
  padding: 14px 16px;
  color: rgba(255, 255, 255, 0.96);
  font-size: 14px;
  font-weight: 600;
}

.journal-nav-link:hover,
.journal-nav-link.active {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
}

.journal-info-strip {
  /* 四列信息条用于快速说明公开范围、统计和流程，不承载复杂交互。 */
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.journal-info-item {
  padding: 16px 18px;
  border: 1px solid rgba(219, 227, 240, 0.95);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(248, 250, 252, 0.95), rgba(255, 255, 255, 0.99));
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.04);
}

.journal-info-label {
  color: var(--brand-muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.journal-info-value {
  margin-top: 8px;
  color: var(--brand-text-strong);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.7;
}

.journal-home-grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) 290px;
  gap: 20px;
  margin-top: 22px;
}

.journal-hero-panel,
.journal-entry-panel,
.journal-content-card,
.journal-side-card,
.journal-footer-panel {
  border: 1px solid rgba(219, 227, 240, 0.95);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 18px 38px rgba(15, 23, 42, 0.06);
}

.journal-hero-panel {
  overflow: hidden;
  padding: 26px 26px 24px;
  background:
    linear-gradient(135deg, rgba(30, 64, 175, 0.1), rgba(255, 255, 255, 0.96) 48%),
    linear-gradient(180deg, rgba(248, 250, 252, 0.92), rgba(255, 255, 255, 0.98));
}

.journal-hero-badge {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(30, 64, 175, 0.08);
  color: #1e3a8a;
  font-size: 12px;
  font-weight: 700;
}

.journal-hero-title {
  margin: 16px 0 10px;
  color: var(--brand-text-strong);
  font-size: 34px;
  font-weight: 900;
  line-height: 1.2;
}

.journal-hero-summary {
  max-width: 780px;
  margin-bottom: 18px;
  color: #475569;
  font-size: 15px;
}

.journal-highlight-note {
  margin-top: 18px;
  padding: 16px 18px;
  border-left: 4px solid #c81e1e;
  border-radius: 16px;
  background: rgba(200, 30, 30, 0.05);
  color: #475569;
}

.journal-stat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.journal-stat-card {
  padding: 16px 18px;
  border: 1px solid rgba(219, 227, 240, 0.95);
  border-radius: 18px;
  background: linear-gradient(180deg, #fff, #f8fbff);
}

.journal-stat-value {
  color: #b91c1c;
  font-size: 26px;
  font-weight: 800;
}

.journal-stat-label {
  margin-top: 6px;
  color: var(--brand-muted);
  font-size: 13px;
}

.journal-entry-panel {
  display: grid;
  gap: 12px;
  padding: 16px;
  background: linear-gradient(180deg, #fbfdff, #fff);
}

.journal-entry-panel-title {
  color: var(--brand-text-strong);
  font-size: 20px;
  font-weight: 800;
}

.journal-entry-panel-help {
  color: var(--brand-muted);
  font-size: 13px;
  line-height: 1.7;
}

.journal-entry-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.journal-entry-card {
  display: block;
  padding: 18px 16px;
  border: 1px solid rgba(219, 227, 240, 0.95);
  border-radius: 18px;
  background: #fff;
  transition: transform var(--motion-base), box-shadow var(--motion-base), border-color var(--motion-base);
}

.journal-entry-card:hover {
  transform: translateY(-2px);
  border-color: rgba(200, 30, 30, 0.22);
  box-shadow: 0 16px 30px rgba(15, 23, 42, 0.08);
}

.journal-entry-badge {
  display: inline-flex;
  align-items: center;
  margin-bottom: 10px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
}

.journal-entry-badge-open {
  background: rgba(22, 163, 74, 0.1);
  color: #166534;
}

.journal-entry-badge-login {
  background: rgba(59, 130, 246, 0.1);
  color: #1d4ed8;
}

.journal-entry-title {
  color: var(--brand-text-strong);
  font-size: 18px;
  font-weight: 800;
}

.journal-entry-desc {
  margin-top: 6px;
  color: var(--brand-muted);
  font-size: 13px;
  line-height: 1.7;
}

.journal-entry-meta {
  margin-top: 10px;
  color: #334155;
  font-size: 12px;
  font-weight: 700;
}

.journal-entry-panel-foot {
  color: var(--brand-muted);
  font-size: 12px;
  line-height: 1.7;
}

.journal-body-grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) 320px;
  gap: 20px;
  margin-top: 22px;
}

.journal-tab-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}

.journal-tab-chip {
  display: inline-flex;
  justify-content: center;
  padding: 14px 12px;
  border: 1px solid rgba(219, 227, 240, 0.95);
  border-radius: 0;
  background: #f4f6fb;
  color: #475569;
  font-weight: 700;
}

.journal-tab-chip-active {
  background: #c81010;
  border-color: #c81010;
  color: #fff;
}

.journal-content-card {
  padding: 24px 26px;
}

.journal-content-card + .journal-content-card {
  margin-top: 18px;
}

.journal-section-title,
.journal-side-title {
  color: var(--brand-text-strong);
  font-size: 20px;
  font-weight: 800;
}

.journal-section-text {
  margin-top: 10px;
  margin-bottom: 0;
  color: #475569;
  line-height: 1.8;
}

.journal-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.journal-notice-list {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.journal-notice-item {
  padding: 14px 16px;
  border: 1px solid rgba(219, 227, 240, 0.95);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(254, 242, 242, 0.8), rgba(255, 255, 255, 0.98));
  color: #475569;
}

.journal-feature-item {
  padding: 16px 18px;
  border: 1px solid rgba(219, 227, 240, 0.95);
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(248, 250, 252, 0.92), rgba(255, 255, 255, 0.98));
}

.journal-feature-title {
  color: var(--brand-text-strong);
  font-size: 16px;
  font-weight: 800;
}

.journal-feature-desc {
  margin-top: 8px;
  color: #475569;
  line-height: 1.75;
}

.journal-login-card form {
  margin-top: 16px;
}

.journal-article-list {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.journal-article-card {
  display: block;
  padding: 18px 20px;
  border: 1px solid rgba(219, 227, 240, 0.95);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(248, 250, 252, 0.96), rgba(255, 255, 255, 0.99));
  transition: transform var(--motion-base), box-shadow var(--motion-base), border-color var(--motion-base);
}

.journal-article-card:hover {
  transform: translateY(-2px);
  border-color: rgba(30, 64, 175, 0.22);
  box-shadow: 0 18px 32px rgba(15, 23, 42, 0.07);
}

.journal-article-meta,
.journal-article-foot {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  color: var(--brand-muted);
  font-size: 12px;
}

.journal-article-title {
  margin-top: 10px;
  color: var(--brand-text-strong);
  font-size: 20px;
  font-weight: 800;
}

.journal-article-desc {
  margin-top: 10px;
  color: #475569;
  line-height: 1.8;
}

.journal-article-foot {
  margin-top: 14px;
  align-items: center;
}

.journal-article-link {
  color: #b91c1c;
  font-weight: 700;
}

.journal-directory-list {
  display: grid;
  gap: 16px;
  margin-top: 18px;
}

.journal-directory-item {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 16px;
  padding: 18px 20px;
  border: 1px solid rgba(219, 227, 240, 0.95);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(248, 250, 252, 0.96), rgba(255, 255, 255, 0.99));
}

.journal-directory-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: rgba(200, 30, 30, 0.08);
  color: #b91c1c;
  font-size: 18px;
  font-weight: 800;
}

.journal-directory-body {
  min-width: 0;
}

.journal-directory-title {
  display: block;
  margin-top: 10px;
  color: var(--brand-text-strong);
  font-size: 21px;
  font-weight: 800;
}

.journal-directory-foot {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  margin-top: 14px;
  color: var(--brand-muted);
  font-size: 12px;
}

.journal-directory-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.journal-download-grid {
  display: grid;
  gap: 16px;
  margin-top: 18px;
}

.journal-download-card {
  padding: 18px 20px;
  border: 1px solid rgba(219, 227, 240, 0.95);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(248, 250, 252, 0.96), rgba(255, 255, 255, 0.99));
}

.journal-download-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 12px;
  color: var(--brand-muted);
  font-size: 13px;
}

.journal-download-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.journal-sidebar {
  display: grid;
  gap: 16px;
  align-content: start;
}

.journal-side-card {
  padding: 20px 20px 18px;
}

.journal-side-spotlight {
  margin-top: 14px;
  padding: 16px 18px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(30, 64, 175, 0.08), rgba(255, 255, 255, 0.98));
}

.journal-side-spotlight-value {
  color: #b91c1c;
  font-size: 28px;
  font-weight: 900;
}

.journal-side-spotlight-text {
  margin-top: 8px;
  color: #475569;
  line-height: 1.75;
}

.journal-side-list {
  margin-top: 14px;
}

.journal-side-item + .journal-side-item {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px dashed rgba(219, 227, 240, 0.95);
}

.journal-side-label {
  display: block;
  margin-bottom: 4px;
  color: var(--brand-muted);
  font-size: 12px;
  font-weight: 700;
}

.journal-timeline-mini {
  display: grid;
  gap: 12px;
  margin-top: 14px;
}

.journal-timeline-mini-item {
  padding: 12px 14px;
  border-radius: 14px;
  background: #f8fafc;
  color: #475569;
}

.journal-link-list {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.journal-side-link {
  display: block;
  padding: 12px 14px;
  border: 1px solid rgba(219, 227, 240, 0.95);
  border-radius: 14px;
  background: #fff;
  color: var(--brand-text-strong);
  font-weight: 700;
}

.journal-footer-panel {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  margin-top: 22px;
  padding: 18px 20px;
  background: linear-gradient(135deg, rgba(30, 64, 175, 0.05), rgba(255, 255, 255, 0.98));
}

.journal-footer-title {
  color: var(--brand-text-strong);
  font-size: 16px;
  font-weight: 800;
}

.journal-footer-text {
  margin-top: 4px;
  color: var(--brand-muted);
  font-size: 13px;
}

.journal-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.journal-footer-link,
.journal-footer-member {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(91, 92, 240, 0.08);
  color: #334155;
  font-size: 13px;
}

.journal-footer-link {
  background: rgba(200, 30, 30, 0.1);
  color: #b91c1c;
  font-weight: 700;
}

/* 通用表单与按钮交互样式。 */
/* 表单控件统一尺寸和聚焦反馈，覆盖投稿、评审、终审、注册等页面。 */
.form-group label,
.form-row label {
  margin-bottom: 8px;
  color: var(--brand-text-strong);
  font-weight: 600;
}

.form-group {
  margin-bottom: 1.2rem;
}

.form-control {
  min-height: 46px;
  border: 1px solid rgba(191, 203, 224, 0.95);
  border-radius: 14px;
  background: #fdfefe;
  color: var(--brand-text);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

select.form-control {
  padding-right: 34px;
}

textarea.form-control {
  min-height: auto;
  resize: vertical;
}

.form-control::placeholder {
  color: #94a3b8;
}

.form-control:focus {
  /* 使用统一品牌色焦点阴影，帮助键盘用户识别当前输入位置。 */
  border-color: rgba(91, 92, 240, 0.45);
  background: #fff;
  box-shadow: var(--shadow-focus);
}

.form-text.text-muted {
  color: var(--brand-muted) !important;
}

.alert {
  border: none;
  border-radius: 14px;
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.05);
}

.alert-danger {
  color: #991b1b;
  background: linear-gradient(135deg, rgba(254, 226, 226, 0.98), rgba(255, 255, 255, 0.98));
}

.btn {
  /* 按钮保留轻微上移动效，提供反馈但不改变业务含义。 */
  border-radius: 14px;
  font-weight: 700;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0);
}

.btn:focus {
  box-shadow: var(--shadow-focus);
}

.btn-primary {
  border-color: var(--brand-primary);
  background-color: var(--brand-primary);
  box-shadow: 0 10px 24px rgba(91, 92, 240, 0.18);
}

.btn-primary:hover,
.btn-primary:focus {
  border-color: var(--brand-primary-dark);
  background-color: var(--brand-primary-dark);
}

.btn-outline-primary {
  color: var(--brand-primary);
  border-color: rgba(91, 92, 240, 0.28);
  background: rgba(91, 92, 240, 0.04);
}

.btn-outline-primary:hover,
.btn-outline-primary:focus {
  color: #fff;
  background: var(--brand-primary);
  border-color: var(--brand-primary);
}

.btn-outline-secondary {
  color: #475569;
  border-color: rgba(148, 163, 184, 0.42);
  background: rgba(255, 255, 255, 0.92);
}

.btn-outline-secondary:hover,
.btn-outline-secondary:focus {
  color: var(--brand-text-strong);
  background: #f8fafc;
  border-color: rgba(148, 163, 184, 0.68);
}

.table-action-link {
  font-weight: 700;
}

.table-action-link-danger {
  color: var(--brand-danger);
}

.table-action-link-danger:hover {
  color: #b91c1c;
}

.list-group-item {
  border-color: rgba(219, 227, 240, 0.95);
}

details summary {
  cursor: pointer;
  color: var(--brand-primary-dark);
  font-weight: 700;
  outline: none;
  transition: color var(--motion-base), opacity var(--motion-base);
}

details summary:hover {
  color: var(--brand-primary);
}

/* 通用入场动画。 */
@keyframes app-fade-rise {
  from {
    opacity: 0;
    transform: translateY(16px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 中等屏幕响应式布局调整。 */
@media (max-width: 992px) {
  .app-panel-grid {
    grid-template-columns: 1fr;
  }

  .app-hero {
    padding: 24px 22px;
  }

  .journal-home-grid,
  .journal-body-grid {
    grid-template-columns: 1fr;
  }

  .journal-brand-title {
    font-size: 34px;
  }

  .journal-search-panel {
    max-width: none;
  }
}

/* 小屏设备响应式与触控友好调整。 */
@media (max-width: 768px) {
  .app-shell {
    padding-top: 20px;
  }

  .auth-card {
    padding: 26px 20px;
  }

  .auth-card-portal {
    padding: 22px 18px;
  }

  .app-team-grid {
    grid-template-columns: 1fr;
  }

  .app-owner-title {
    font-size: 16px;
  }

  .app-card-body,
  .app-card-header {
    padding-left: 18px;
    padding-right: 18px;
  }

  .app-card-header::before {
    left: 18px;
  }

  .app-page-title {
    font-size: 28px;
  }

  .app-stat-value {
    font-size: 26px;
  }

  .app-meta-grid {
    grid-template-columns: 1fr;
  }

  .app-record-item {
    padding: 16px;
  }

  .app-anchor-link {
    width: 100%;
  }

  .app-form-surface {
    padding: 16px;
  }

  .app-form-actions {
    align-items: stretch;
  }

  .app-form-actions .btn {
    width: 100%;
  }

  .auth-panel-grid {
    grid-template-columns: 1fr;
  }

  .journal-masthead,
  .journal-search-panel-compact,
  .journal-footer-panel {
    display: grid;
  }

  .journal-brand {
    align-items: flex-start;
  }

  .journal-brand-title {
    font-size: 28px;
  }

  .journal-search-bar,
  .journal-info-strip,
  .journal-tab-strip,
  .journal-entry-grid,
  .journal-feature-grid,
  .journal-stat-grid {
    grid-template-columns: 1fr;
  }

  .journal-nav-strip {
    padding: 6px;
  }

  .journal-nav-link {
    width: 100%;
    border-radius: 12px;
  }

  .journal-content-card,
  .journal-side-card,
  .journal-hero-panel {
    padding: 20px 18px;
  }

  .journal-directory-item {
    grid-template-columns: 1fr;
  }
}

/* 降低动态效果模式下的无障碍处理。 */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
