/* 0523版 - 找刊网首页 1:1 还原 */
:root {
  --page-bg: #f5f8ff;
  --white: #ffffff;
  --text: #101d33;
  --text-secondary: #5f738d;
  --text-muted: #9aa8bc;
  --border: #e5e7eb;
  --border-light: #eef1f6;
  --brand-blue: #1769ff;
  --heading: #1d1d33;
  --primary: #1769ff;
  --primary-dark: #1258d9;
  --primary-gradient: linear-gradient(90deg, #1769ff 0%, #3d8bff 100%);
  --primary-light: #eef4ff;
  --tag-blue: #1769ff;
  --tag-blue-bg: #eff6ff;
  --tag-red: #ef4444;
  --tag-red-bg: #fef2f2;
  --tag-orange: #f59e0b;
  --tag-orange-bg: #fffbeb;
  --tag-green: #10b981;
  --tag-green-bg: #ecfdf5;
  --page-width: 1920px;
  --container: 1920px;
  --top-container: 1920px;
  --stats-bar-width: 1200px;
  --content-padding-x: 260px;
  --header-h: 60px;
  --hero-h: 360px;
  --sidebar-w: 248px;
  --radius: 8px;
  --shadow-card: 0 2px 12px rgba(15, 23, 42, 0.06);
  --shadow-sm: 0 1px 4px rgba(15, 23, 42, 0.05);
  --shadow-search: 0 8px 30px rgba(26, 27, 99, 0.1);
}

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

body {
  font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  font-size: 14px;
  color: var(--text);
  background: var(--page-bg);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

img {
  display: block;
  max-width: 100%;
}

.container {
  width: 100%;
  max-width: var(--page-width);
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}

@media (min-width: 1920px) {
  .container {
    padding-left: var(--content-padding-x);
    padding-right: var(--content-padding-x);
  }
}

/* ========== Top Section（Header + Hero + Stats） ========== */
.top-section {
  position: relative;
  width: 100%;
  max-width: var(--page-width);
  height: var(--hero-h);
  margin: 0 auto;
  background-color: #edf4fb;
}

.top-section--compact {
  height: auto;
  min-height: var(--header-h);
  background: #ffffff;
  border-bottom: 1px solid var(--border-light);
}

.top-section--compact .site-header {
  background: #ffffff;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border: none;
  border-radius: 0;
}

body.page-inner {
  background: var(--page-bg);
}

.site-header {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: stretch;
  width: 100%;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  border-radius: 0;
  border: 1px solid rgba(255, 255, 255, 0.7);
}

.header-inner {
  flex: 1;
  min-width: 0;
  height: 100%;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
  display: grid;
  grid-template-columns: 179px 1fr;
  align-items: center;
  gap: 32px;
}

@media (min-width: 1920px) {
  .header-inner {
    max-width: calc(var(--page-width) - 130px);
    /*padding-left: var(--content-padding-x);*/
    padding-right: var(--content-padding-x);
  }
}

.brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.brand-logo {
  width: 179px;
  height: 46px;
  object-fit: contain;
}

.header-nav {
  display: flex;
  align-items: stretch;
  height: 100%;
  gap: 0;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  padding: 0 24px;
  font-family: "PingFang SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: var(--text);
  border-radius: 0;
  white-space: nowrap;
  transition: color 0.2s, background 0.2s;
}

.nav-link:hover {
  color: var(--brand-blue);
}

@keyframes header-btn-shimmer {
  0%,
  100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

@keyframes header-btn-shine {
  0% {
    transform: translateX(-120%) skewX(-20deg);
    opacity: 0;
  }
  35% {
    opacity: 0.28;
  }
  100% {
    transform: translateX(220%) skewX(-20deg);
    opacity: 0;
  }
}

.nav-link.is-active {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-width: 104px;
  height: var(--header-h);
  padding: 0 20px;
  background: linear-gradient(120deg, #1258e0 0%, #1769ff 38%, #4dabff 72%, #1769ff 100%);
  background-size: 220% 220%;
  color: #ffffff;
  animation: header-btn-shimmer 5s ease-in-out infinite;
  transition: filter 0.25s ease;
}

.nav-link.is-active::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    transparent 28%,
    rgba(255, 255, 255, 0.24) 50%,
    transparent 72%
  );
  animation: header-btn-shine 3.6s ease-in-out infinite;
  pointer-events: none;
}

.nav-link.is-active:hover {
  color: #ffffff;
  filter: brightness(1.06);
}

.nav-link-text {
  display: block;
  font-family: "PingFang SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-weight: 500;
  font-size: 16px;
  line-height: 22px;
  color: inherit;
  text-align: center;
  font-style: normal;
  text-transform: none;
  white-space: nowrap;
}

.nav-link.is-active .nav-link-text {
  position: relative;
  z-index: 1;
  color: #ffffff;
}

.btn-login {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 130px;
  height: var(--header-h);
  background: #1769ff;
  border-radius: 0;
  transition: background 0.2s;
}

.btn-login-text {
  display: block;
  width: 72px;
  height: 22px;
  font-family: "PingFang SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-weight: 500;
  font-size: 16px;
  line-height: 22px;
  color: #ffffff;
  text-align: left;
  font-style: normal;
  text-transform: none;
  white-space: nowrap;
}

/* 登录/注册 — 渐变动画按钮 */
.btn-donate {
  --clr-font-main: hsla(0 0% 20% / 100);
  --btn-bg-1: hsla(194 100% 69% / 1);
  --btn-bg-2: hsla(217 100% 56% / 1);
  --btn-bg-color: hsla(360 100% 100% / 1);
  --radii: 6.5em;
  cursor: pointer;
  padding: 0.9em 1.4em;
  min-width: 120px;
  min-height: 44px;
  font-size: var(--size, 1rem);
  font-weight: 500;
  transition: 0.8s;
  background-size: 280% auto;
  background-image: linear-gradient(
    325deg,
    var(--btn-bg-2) 0%,
    var(--btn-bg-1) 55%,
    var(--btn-bg-2) 90%
  );
  border: none;
  border-radius: var(--radii);
  color: var(--btn-bg-color);
  box-shadow:
    0px 0px 20px rgba(71, 184, 255, 0.5),
    0px 5px 5px -1px rgba(58, 125, 233, 0.25),
    inset 4px 4px 8px rgba(175, 230, 255, 0.5),
    inset -4px -4px 8px rgba(19, 95, 216, 0.35);
}

.btn-donate:hover {
  background-position: right top;
}

.btn-donate:is(:focus, :focus-visible, :active) {
  outline: none;
  box-shadow:
    0 0 0 3px var(--btn-bg-color),
    0 0 0 6px var(--btn-bg-2);
}

@media (prefers-reduced-motion: reduce) {
  .btn-donate {
    transition: linear;
  }

  .nav-link.is-active,
  .btn-login--profile {
    animation: none;
  }

  .nav-link.is-active::before,
  .btn-login--profile::before {
    animation: none;
    display: none;
  }
}

.btn-login.btn-donate {
  width: auto;
  min-width: 120px;
  height: var(--header-h);
  padding: 0 1.4em;
  border-radius: 0;
  background-color: transparent;
}

.btn-login.btn-donate:hover {
  background-color: transparent;
  background-image: linear-gradient(
    325deg,
    var(--btn-bg-2) 0%,
    var(--btn-bg-1) 55%,
    var(--btn-bg-2) 90%
  );
  background-size: 280% auto;
  background-position: right top;
}

.btn-login.btn-donate .btn-login-text {
  color: var(--btn-bg-color);
  width: auto;
  height: auto;
}

.btn-login:not(.btn-donate):not(.btn-login--profile):hover {
  background: var(--primary-dark);
}

/* ========== Hero ========== */
.hero {
  position: relative;
  z-index: 1;
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #edf4fb url("../assets/ban_bj.png") center center / cover no-repeat;
  background-size: 100% 100%;
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--page-width);
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

@media (min-width: 1920px) {
  .hero-inner {
    padding-left: 20px;
    padding-right: 20px;
  }
}

.hero-title {
  margin: 0;
  font-family: "Alimama ShuHeiTi", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 48px;
  font-weight: 700;
  line-height: 64px;
  letter-spacing: 0;
}

.hero-title-main {
  color: var(--heading);
}

.hero-title-accent {
  color: var(--brand-blue);
}

.hero-subtitle {
  margin: 20px 0 0;
  width: auto;
  max-width: 100%;
  font-size: 18px;
  font-weight: 400;
  line-height: 25px;
  color: var(--text-secondary);
}

.hero-subtitle strong {
  font-weight: 600;
  color: var(--text-secondary);
}

.search-bar {
  display: flex;
  align-items: center;
  width: 640px;
  max-width: calc(100% - 40px);
  height: 52px;
  margin-top: 40px;
  background: var(--white);
  border-radius: 6px;
  box-shadow: var(--shadow-search);
  overflow: hidden;
}

.search-input {
  flex: 1;
  height: 100%;
  border: none;
  outline: none;
  padding: 0 20px;
  font-size: 16px;
  color: var(--text);
  background: transparent;
  min-width: 0;
}

.search-input::placeholder {
  color: var(--text-muted);
}

.search-btn {
  flex-shrink: 0;
  width: 120px;
  height: 52px;
  border: none;
  background: var(--brand-blue);
  color: var(--white);
  font-size: 16px;
  font-weight: 500;
  line-height: 22px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border-radius: 0 6px 6px 0;
  box-shadow: 0 8px 30px rgba(27, 99, 216, 0.1);
  transition: background 0.2s;
}

.search-btn:not(.btn-donate):hover {
  background: var(--primary-dark);
}

.search-btn.btn-donate {
  width: 120px;
  height: 52px;
  min-width: 120px;
  min-height: 52px;
  padding: 0 1.4em;
  border-radius: 0 6px 6px 0;
  background-color: transparent;
  background-image: linear-gradient(
    325deg,
    var(--btn-bg-2) 0%,
    var(--btn-bg-1) 55%,
    var(--btn-bg-2) 90%
  );
  background-size: 280% auto;
  box-shadow:
    0px 0px 20px rgba(71, 184, 255, 0.5),
    0px 5px 5px -1px rgba(58, 125, 233, 0.25),
    inset 4px 4px 8px rgba(175, 230, 255, 0.5),
    inset -4px -4px 8px rgba(19, 95, 216, 0.35);
}

.search-btn.btn-donate:hover {
  background-color: transparent;
  background-image: linear-gradient(
    325deg,
    var(--btn-bg-2) 0%,
    var(--btn-bg-1) 55%,
    var(--btn-bg-2) 90%
  );
  background-size: 280% auto;
  background-position: right top;
}

.search-btn-icon {
  flex-shrink: 0;
}

/* ========== Hero Stats Bar ========== */
.hero-stats-bar {
  max-width: 1920px;
  height: 86px;
  background: #FFFFFF;
  border-radius: 0px 0px 0px 0px;
  margin: auto;
}

.hero-stats-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: var(--white);
  max-width: 1200px;
  margin: auto;
  height: 86px;
  line-height: 86px;
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
  justify-content: center;
  border-right: 1px solid #E5E5E5;
}

.stat-item:first-child {
  justify-content: flex-start;
}

.stat-item:last-child {
  justify-content: flex-end;
  border: none;
}

.stat-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;

  width: 52px;
  height: 52px;
  background: #EAF6FF;
  border-radius: 30px 30px 30px 30px;
}

.stat-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.stat-text strong {
  font-size: 20px;
  font-weight: 700;
  color: var(--heading);
  line-height: 1.2;

  height: 26px;
  font-family: PingFang SC, PingFang SC;
  font-weight: 600;
  font-size: 18px;
  color: #101D33;
  text-align: left;
  font-style: normal;
  text-transform: none;
}

.stat-text em {
  font-style: normal;
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.2;

  height: 22px;
  font-family: PingFang SC, PingFang SC;
  font-weight: 400;
  font-size: 14px;
  color: #5F738D;
  line-height: 18px;
  text-align: left;
  font-style: normal;
  text-transform: none;
}

/* ========== Service Section（分类 + 智能筛选） ========== */
.service-section {
  margin-top: 40px;
  padding-bottom: 8px;
}

.service-head {
  text-align: center;
  margin-bottom: 28px;
}

.service-title {

  color: var(--heading);
  margin-bottom: 10px;
  font-weight: 600;
  font-size: 34px;
  color: #101D33;
  line-height: 49px;
}

.service-subtitle {
  font-size: 16px;
  color: var(--brand-blue);
}

.journal-cat-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 45px;
  position: relative;
  padding: 0 100px;
}

.cat-chip {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 6px;
  min-height: 48px;
  padding: 0 16px;
  background: transparent;
  border: 1px solid rgb(40, 144, 241);
  border-radius: 24px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  color: rgb(40, 144, 241);
  transition: color 0.3s 0.1s ease-out;
  overflow: hidden;
  z-index: 0;
}

.cat-chip:not(.is-open) {
  overflow: hidden;
}

.cat-chip.is-open {
  overflow: visible;
  z-index: 51;
}

.cat-chip::before {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto;
  content: "";
  border-radius: 24px;
  display: block;
  width: 100%;
  height: 100%;
  transition: box-shadow 0.8s ease-out;
  z-index: -1;
  pointer-events: none;
}

.cat-chip:hover,
.cat-chip.is-active {
  color: #fff;
  border: 1px solid rgb(40, 144, 241);
}

.cat-chip:hover::before,
.cat-chip.is-active::before {
  box-shadow: inset 0 0 0 10em rgb(40, 144, 241);
}

.cat-chip-icon {
  position: relative;
  z-index: 1;
  width: 20px;
  height: 20px;
  border-radius: 4px;
  background: #eef4ff;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.cat-chip-icon-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.cat-chip:hover .cat-chip-icon,
.cat-chip.is-active .cat-chip-icon {
  background: rgba(255, 255, 255, 0.25);
}

.cat-chip-name {
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  white-space: nowrap;
  font-family: "PingFang SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-weight: 500;
  font-size: 14px;
  line-height: 20px;
  color: #284566;
  text-align: left;
  font-style: normal;
  text-transform: none;
  transition: color 0.3s 0.1s ease-out;
}

.cat-chip:hover .cat-chip-name,
.cat-chip.is-active .cat-chip-name {
  color: #fff;
}

.cat-chip-arrow {
  position: relative;
  z-index: 1;
  width: 7px;
  height: 7px;
  margin-left: auto;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-1px);
  flex-shrink: 0;
  opacity: 0.45;
  transition: opacity 0.3s 0.1s ease-out;
}

.cat-chip:hover .cat-chip-arrow,
.cat-chip.is-active .cat-chip-arrow {
  opacity: 0.95;
}

.cat-chip-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  width: 100%;
  z-index: 2;
  background: var(--white);
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(26, 27, 99, 0.12);
  border: 1px solid #eef1f6;
  padding: 6px 0;
  z-index: 50;
}

.cat-chip.is-open .cat-chip-dropdown {
  display: block;
}

.cat-chip-dropdown a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 16px;
  font-size: 14px;
  color: var(--text);
}

.cat-chip-dropdown a.cat-dropdown-all {
  font-weight: 600;
  border-bottom: 1px solid #eef1f6;
  margin-bottom: 2px;
}

.cat-chip-dropdown a.cat-dropdown-all .cat-dropdown-name {
  color: #1769ff;
}

.cat-dropdown-text {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
  font-family: "PingFang SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 14px;
  line-height: 20px;
}

.cat-dropdown-name {
  font-weight: 400;
  color: #284566;
}

.cat-dropdown-text em {
  font-style: normal;
  font-weight: 400;
  color: #9aa8bc;
  font-size: 14px;
}

.cat-chip-dropdown a.is-selected .cat-dropdown-name,
.cat-chip-dropdown a:hover .cat-dropdown-name {
  color: #1769ff;
}

.cat-chip-dropdown a.is-selected .cat-dropdown-text em,
.cat-chip-dropdown a:hover .cat-dropdown-text em {
  color: #9aa8bc;
}

.cat-dropdown-arrow {
  width: 6px;
  height: 6px;
  flex-shrink: 0;
  border-right: 1.5px solid #8a9bb3;
  border-top: 1.5px solid #8a9bb3;
  transform: rotate(45deg);
}

.cat-chip-dropdown a.is-selected .cat-dropdown-arrow,
.cat-chip-dropdown a:hover .cat-dropdown-arrow {
  border-color: #1769ff;
}

/* ========== Smart Filter ========== */
.smart-filter {
  background: var(--white);
  border-radius: 12px;
  border: 1px solid #eef1f6;
  box-shadow: var(--shadow-card);
  padding: 24px 28px 20px;
}

.smart-filter-header {
  font-family: PingFang SC, PingFang SC;
  font-weight: 600;
  font-size: 22px;
  color: #101D33;
  line-height: 32px;
  text-align: left;
  font-style: normal;
  text-transform: none;
  padding-bottom: 20px;
  border-bottom: 1px solid #eef1f6;
  margin-bottom: 20px;
}

.filter-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px 48px;
  margin-bottom: 20px;
}

.filter-row:last-child {
  margin-bottom: 0;
}

.filter-field {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.filter-label {
  flex-shrink: 0;
  white-space: nowrap;
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
}

.filter-control {
  flex: 1;
  min-width: 0;
  width: auto;
  height: 40px;
  border: 1px solid #e5eaf2;
  border-radius: 6px;
  padding: 0 12px;
  font-size: 14px;
  color: var(--text-secondary);
  background: #fafbfd;
  outline: none;
  cursor: pointer;
}

.check-group,
.radio-group {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  min-height: 40px;
}

.filter-check {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--text);
  cursor: pointer;
  margin-bottom: 0;
}

.filter-check input[type="radio"],
.filter-radio input[type="radio"] {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  margin: 0;
  border: 2px solid #cfe0f8;
  border-radius: 50%;
  background-color: #ffffff;
  cursor: pointer;
  flex-shrink: 0;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.filter-check input[type="radio"]:hover,
.filter-radio input[type="radio"]:hover {
  border-color: #1769ff;
}

.filter-check input[type="radio"]:checked,
.filter-radio input[type="radio"]:checked {
  border: 3px solid #1769ff;
  background-color: #1769ff;
  box-shadow: inset 0 0 0 2px #ffffff;
}

.filter-check input[type="radio"]:focus-visible,
.filter-radio input[type="radio"]:focus-visible {
  outline: 2px solid rgba(23, 105, 255, 0.35);
  outline-offset: 2px;
}

.filter-radio {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--text);
  cursor: pointer;
}

.price-range {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.price-input {
  flex: 1;
  width: 0;
  height: 40px;
  border: 1px solid #e5eaf2;
  border-radius: 6px;
  padding: 0 10px;
  font-size: 14px;
  text-align: center;
  outline: none;
  background: #fafbfd;
}

.price-dash {
  color: var(--text-muted);
  flex-shrink: 0;
}

.smart-filter-foot {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
  margin-top: 24px;

}

.filter-submit-btn {
  min-width: 120px;
  height: 38px;
  padding: 0 24px;
  border: none;
  border-radius: 6px;
  background: var(--brand-blue);
  color: var(--white);
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s;
}

.filter-submit-btn:not(.btn-donate):hover {
  background: var(--primary-dark);
}

.filter-submit-btn.btn-donate,
.journal-entry-submit.btn-donate {
  min-width: 120px;
  height: 38px;
  min-height: 38px;
  padding: 0 24px;
  border: none;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  color: var(--btn-bg-color);
  background-color: transparent;
  background-image: linear-gradient(
    325deg,
    var(--btn-bg-2) 0%,
    var(--btn-bg-1) 55%,
    var(--btn-bg-2) 90%
  );
  background-size: 280% auto;
  transition: 0.8s;
  box-shadow:
    0px 0px 20px rgba(71, 184, 255, 0.5),
    0px 5px 5px -1px rgba(58, 125, 233, 0.25),
    inset 4px 4px 8px rgba(175, 230, 255, 0.5),
    inset -4px -4px 8px rgba(19, 95, 216, 0.35);
}

.filter-submit-btn.btn-donate:hover,
.journal-entry-submit.btn-donate:hover {
  background-color: transparent;
  background-image: linear-gradient(
    325deg,
    var(--btn-bg-2) 0%,
    var(--btn-bg-1) 55%,
    var(--btn-bg-2) 90%
  );
  background-size: 280% auto;
  background-position: right top;
}

.filter-submit-btn.btn-donate:is(:focus, :focus-visible, :active),
.journal-entry-submit.btn-donate:is(:focus, :focus-visible, :active) {
  outline: none;
  box-shadow:
    0 0 0 3px var(--btn-bg-color),
    0 0 0 6px var(--btn-bg-2);
}

.smart-filter-foot .filter-reset {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 84px;
  height: 38px;
  padding: 5px 15px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  background: transparent;
  border: 1px solid rgb(40, 144, 241);
  border-radius: 25px;
  outline: none;
  overflow: hidden;
  color: rgb(40, 144, 241);
  transition: color 0.3s 0.1s ease-out;
  text-align: center;
  z-index: 0;
}

.smart-filter-foot .filter-reset::before {
  position: absolute;
  top: 0;
  left: -5em;
  right: 0;
  bottom: 0;
  margin: auto;
  content: "";
  border-radius: 50%;
  display: block;
  width: 20em;
  height: 20em;
  transition: box-shadow 0.5s ease-out;
  z-index: -1;
  pointer-events: none;
}

.smart-filter-foot .filter-reset:hover {
  color: #fff;
  border: 1px solid rgb(40, 144, 241);
}

.smart-filter-foot .filter-reset:hover::before {
  box-shadow: inset 0 0 0 10em rgb(40, 144, 241);
}

/* ========== Main Content ========== */
.main-content {
  padding: 24px 0 48px;
}

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

.journal-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #eef1f6;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s, transform 0.2s;
}

.journal-card:hover {
  box-shadow: var(--shadow-card);
}

.journal-cover {
  width: 100%;
  flex-shrink: 0;
  background: #fff;
  border-bottom: 1px solid #eef1f6;
  overflow: hidden;
}

.journal-cover img {
  width: calc(100% - 56px);
  object-fit: contain;
  /* height: 350px; */
  border-radius: 0;
  margin: 20px 28px;
  background-color: #eef2f8;
}

.journal-card-body {
  padding: 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.journal-card-title {
  font-family: PingFang SC, PingFang SC;
  font-weight: 600;
  font-size: 17px;
  color: #101D33;
  line-height: 24px;
  text-align: center;
  font-style: normal;
  text-transform: none;
}

.journal-card-meta {
  font-family: PingFang SC, PingFang SC;
  font-weight: 400;
  font-size: 13px;
  color: #5F738D;
  line-height: 16px;
  text-align: center;
  font-style: normal;
  text-transform: none;
  flex: 1;
  margin: 10px 0 18px 0;
}

.journal-card-actions {
  display: flex;
  gap: 10px;
  position: relative;
  z-index: 1;
  isolation: isolate;
}

.btn-card {
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 38px;
  padding: 5px 15px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  background: transparent;
  border: 1px solid rgb(40, 144, 241);
  border-radius: 25px;
  outline: none;
  overflow: hidden;
  color: rgb(40, 144, 241);
  transition: color 0.3s 0.1s ease-out;
  text-align: center;
  z-index: 0;
}

.btn-card::before {
  position: absolute;
  top: 0;
  left: -5em;
  right: 0;
  bottom: 0;
  margin: auto;
  content: "";
  border-radius: 50%;
  display: block;
  width: 20em;
  height: 20em;
  transition: box-shadow 0.5s ease-out;
  z-index: -1;
  pointer-events: none;
}

.btn-card:hover {
  color: #fff;
  border: 1px solid rgb(40, 144, 241);
}

.btn-card:hover::before {
  box-shadow: inset 0 0 0 10em rgb(40, 144, 241);
}

/* ========== Pagination ========== */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 32px;
  padding-bottom: 8px;
  position: relative;
  z-index: 20;
  isolation: isolate;
}

.page-btn {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 72px;
  height: 36px;
  padding: 5px 16px;
  font-family: "PingFang SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  background: transparent;
  border: 1px solid rgb(40, 144, 241);
  border-radius: 25px;
  outline: none;
  overflow: hidden;
  color: rgb(40, 144, 241);
  transition: color 0.3s 0.1s ease-out;
  text-align: center;
}

.page-btn::before {
  position: absolute;
  top: 0;
  left: -5em;
  right: 0;
  bottom: 0;
  margin: auto;
  content: "";
  border-radius: 50%;
  display: block;
  width: 20em;
  height: 20em;
  transition: box-shadow 0.5s ease-out;
  z-index: -1;
  pointer-events: none;
}

.page-btn:hover:not(:disabled):not(.is-active) {
  color: #fff;
  border: 1px solid rgb(40, 144, 241);
}

.page-btn:hover:not(:disabled):not(.is-active)::before {
  box-shadow: inset 0 0 0 10em rgb(40, 144, 241);
}

.page-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  border-color: #d5dee8;
  color: #284566;
}

.page-btn.page-current.is-active {
  min-width: 88px;
  color: #fff;
  border: 1px solid rgb(40, 144, 241);
  font-weight: 600;
}

.page-btn.page-current.is-active::before {
  box-shadow: inset 0 0 0 10em rgb(40, 144, 241);
}

/* ========== Purchase Ticker ========== */
.purchase-ticker {
  width: 100%;
  background: #eef4ff;
  border-top: 1px solid #dce8fb;
  border-bottom: 1px solid #dce8fb;
  overflow: hidden;
}

.purchase-ticker-viewport {
  width: 100%;
  max-width: var(--page-width);
  margin: 0 auto;
  overflow: hidden;
}

.ticker-track {
  display: flex;
  align-items: center;
  width: max-content;
  gap: 48px;
  padding: 12px 24px;
  animation: ticker-scroll 40s linear infinite;
}

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  font-family: "PingFang SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: #284566;
  white-space: nowrap;
}

.ticker-icon {
  display: inline-block;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  flex-shrink: 0;
  background: url("../assets/ticker-avatar.svg") center / contain no-repeat;
}

@keyframes ticker-scroll {
  0% {
    transform: translateX(-50%);
  }

  100% {
    transform: translateX(0);
  }
}

/* ========== Footer ========== */
.site-footer {
  background: #3f4654;
}

.footer-main {
  width: 100%;
  max-width: 1920px;
  padding: 0 240px;
}

.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 48px 0 40px;
  gap: 48px;
}

.footer-brand {
  flex-shrink: 0;
}

.footer-logo {
  width: 179px;
  height: 46px;
  object-fit: contain;
}

.footer-brand-desc {
  margin: 12px 0 0;
  max-width: 220px;
  font-size: 13px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.72);
}

.footer-contact h4 {
  font-family: "PingFang SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 16px;
  color: var(--white);
}

.footer-contact p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 10px;
  line-height: 1.7;
}

.footer-contact p a {
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
}

.footer-contact p a:hover {
  color: var(--white);
  text-decoration: underline;
}

.footer-contact p:last-child {
  margin-bottom: 0;
}

.footer-qr {
  display: flex;
  gap: 32px;
  flex-shrink: 0;
}

.qr-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.qr-img {
  width: 96px;
  height: 96px;
  border: none;
  border-radius: 4px;
  background: var(--white);
  padding: 4px;
}

.qr-item span {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.72);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 18px 0 22px;
  text-align: center;
}

.footer-bottom p {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.6;
}

/* ========== Responsive ========== */
@media (max-width: 1024px) {
  .main-grid {
    flex-direction: column;
  }

  .sidebar {
    width: 100%;
  }

  .journal-cat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .filter-row {
    grid-template-columns: 1fr;
  }

  .journal-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .header-inner {
    grid-template-columns: auto 1fr;
    gap: 16px;
  }

  .header-nav {
    gap: 0;
    overflow-x: auto;
    justify-content: flex-start;
    -webkit-overflow-scrolling: touch;
  }

  .nav-link {
    padding: 8px 10px;
    font-size: 14px;
  }

  .hero-stats-inner {
    flex-wrap: wrap;
    justify-content: center;
    padding: 16px 20px;
  }

  .stat-item,
  .stat-item:first-child,
  .stat-item:last-child {
    justify-content: center;
    flex: 0 0 calc(50% - 12px);
  }

  .footer-top {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-qr {
    justify-content: center;
    width: 100%;
  }
}

@media (max-width: 640px) {
  .top-section {
    height: auto;
    min-height: 480px;
    padding-bottom: 72px;
  }

  .hero {
    height: auto;
  }

  .hero {
    background-size: cover;
    background-position: center center;
  }

  .hero-inner {
    padding: 24px 20px;
    align-items: center;
    text-align: center;
  }

  .hero-title {
    font-size: 32px;
    line-height: 1.3;
  }

  .hero-subtitle {
    font-size: 14px;
    line-height: 1.5;
    margin-top: 16px;
  }

  .search-bar {
    margin-top: 24px;
    height: auto;
    flex-direction: column;
    padding: 8px;
    gap: 8px;
  }

  .search-input {
    width: 100%;
    height: 44px;
    padding: 0 12px;
  }

  .search-btn {
    width: 100%;
    height: 44px;
    border-radius: 6px;
  }

  .hero-stats-bar {
    position: relative;
    left: auto;
    bottom: auto;
    transform: none;
    margin: auto;
  }

  .stat-item {
    flex: 0 0 100%;
  }

  .brand-logo {
    width: 140px;
    height: auto;
  }

  .btn-login {
    width: 100px;
  }

  .btn-login-text {
    width: auto;
    font-size: 14px;
  }

  .journal-cat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .service-title {
    font-size: 22px;
  }

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

  .smart-filter {
    padding: 16px;
  }

  .pagination {
    flex-wrap: wrap;
    gap: 6px;
  }

  .page-btn {
    min-width: 64px;
    height: 32px;
    padding: 0 10px;
    font-size: 13px;
  }

  .page-btn.page-current.is-active {
    min-width: 76px;
  }

  .ticker-item {
    font-size: 13px;
  }

  .category-nav {
    grid-template-columns: repeat(2, 1fr);
  }

  .modal-shell {
    width: calc(100% - 24px);
  }

  .journal-modal {
    max-height: calc(100vh - 24px);
  }

  .modal-head {
    flex-direction: column;
    align-items: center;
  }

  .modal-body {
    grid-template-columns: 1fr;
  }
}

/* ========== Journal Detail Modal ========== */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(16, 29, 51, 0.55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.modal-overlay.is-open {
  display: flex;
}

.modal-shell {
  position: relative;
  width: 960px;
  max-width: 100%;
  overflow: visible;
  z-index: 1;
}

.journal-modal {
  position: relative;
  width: 100%;
  max-width: 100%;
  max-height: calc(100vh - 48px);
  overflow: auto;
  background: linear-gradient(90deg, #F7FCFF 0%, #EAF6FF 55%, #EEF0FF 100%);
  border-radius: 16px;
  box-shadow: 0 24px 64px rgba(16, 29, 51, 0.22);
}

.modal-close {
  position: absolute;
  top: -12px;
  right: -12px;
  z-index: 100;
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 2px 8px rgba(16, 29, 51, 0.12);
  font-family: Inter, Inter, "PingFang SC", sans-serif;
  font-weight: bold;
  font-size: 26px;
  color: #53657c;
  line-height: 38px;
  text-align: center;
  cursor: pointer;
  pointer-events: auto;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}

.modal-close:hover {
  background: #ffffff;
  color: #1769ff;
  box-shadow: 0 4px 12px rgba(23, 105, 255, 0.18);
}

.modal-head {
  display: flex;
  align-items: flex-start;
  gap: 28px;
  padding: 30px;
  border-bottom: 1px solid #e8edf5;
}

.modal-cover {
  flex-shrink: 0;
  width: 128px;
}

.modal-cover-img {
  width: 136px;
  height: 186px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid #e8edf5;
  background: #eef2f8;
  box-shadow: 0 4px 12px rgba(16, 29, 51, 0.08);
}

.modal-summary {
  flex: 1;
  min-width: 0;
  padding-top: 4px;
}

.modal-title-row {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin-bottom: 18px;
}

.modal-title {
  margin: 0;
  font-family: "PingFang SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 24px;
  font-weight: 600;
  color: #101d33;
  line-height: 1.3;
  font-family: PingFang SC, PingFang SC;
  font-weight: 600;
  font-size: 30px;
  color: #102033;
  text-align: left;
}

.modal-price {
  margin: 0;
  font-family: "PingFang SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 14px;
  line-height: 20px;
}

.modal-price-label {
  color: #101D33;
}

.modal-price-type {
  color: #8a97a8;
  margin-left: 4px;
  font-family: PingFang SC, PingFang SC;
  font-weight: 600;
  font-size: 15px;
  color: #F5222D;
  text-align: left;
}

.modal-price-value {
  color: #ff4d4f;
  font-weight: 600;
  margin-left: 4px;
  font-family: PingFang SC, PingFang SC;
  font-weight: 600;
  font-size: 15px;
  color: #F5222D;
  text-align: left;
}

.modal-meta-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.modal-meta-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-family: "PingFang SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 14px;
  line-height: 20px;
}

.modal-meta-row dt {
  flex-shrink: 0;
  min-width: 60px;
  color:#5F738D;
}

.modal-meta-row dd {
  margin: 0;
  color: #101D33;
  font-size: 15px;
  white-space: pre-line;
}

.modal-db {
  flex-shrink: 0;
  width: 178px;
  height: 226px;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 8px;
  padding: 16px;
}

.modal-db-title {
  height: 24px;
  font-family: PingFang SC, PingFang SC;
  font-weight: 600;
  font-size: 15px;
  color: #101D33;
  line-height: 22px;
  text-align: center;
  font-style: normal;
  text-transform: none;
  margin-bottom: 10px;
}

.modal-db-btns {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.db-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 32px;
  padding: 5px 15px;
  font-family: "PingFang SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  background: transparent;
  border: 1px solid rgb(40, 144, 241);
  border-radius: 16px;
  outline: none;
  overflow: hidden;
  color: #284566;
  transition: color 0.3s 0.1s ease-out;
  text-align: center;
  z-index: 0;
}

.db-btn::before {
  position: absolute;
  top: 0;
  left: -5em;
  right: 0;
  bottom: 0;
  margin: auto;
  content: "";
  border-radius: 50%;
  display: block;
  width: 20em;
  height: 20em;
  transition: box-shadow 0.5s ease-out;
  z-index: -1;
  pointer-events: none;
}

.db-btn:hover,
.db-btn.is-active {
  color: #fff;
  border: 1px solid rgb(40, 144, 241);
}

.db-btn:hover::before,
.db-btn.is-active::before {
  box-shadow: inset 0 0 0 10em rgb(40, 144, 241);
}

.modal-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  padding: 24px 30px;
  background: #F7FBFF;
border-radius: 0px 0px 0px 0px;
}

.modal-panel {
  min-height: 200px;
  background: #FFFFFF;
  box-shadow: 0px 8px 24px 0px rgba(124,161,216,0.07);
  border-radius: 8px 8px 8px 8px;
  }


.modal-panel-desc {
  border-radius: 10px;
  padding: 18px 20px;
  width: 310px;
}

.modal-panel-scope {
  padding: 18px 10px;
  width: 560px;
}

.modal-panel-title {
  margin: 0 0 14px;
  font-family: "PingFang SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 20px;
  font-weight: 600;
  color: #101d33;
}

.modal-desc-list {
  display: grid;
  gap: 10px 20px;
}

.modal-desc-list .modal-meta-row dt {
  min-width: auto;
}

.modal-scope {
  margin: 0;
  font-family: "PingFang SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 14px;
  line-height: 1.65;
  color: #284566;
  text-align: justify;
  white-space: pre-line;
}

.modal-foot {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  padding: 20px 30px;
  border-top: 1px solid #e8edf5;
}

.btn-modal-copy,
.btn-modal-fav {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 104px;
  width: 120px;
  height: 40px;
  padding: 0 22px;
  font-family: "PingFang SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
}

.btn-modal-copy.btn-donate,
.btn-modal-fav.btn-donate {
  height: 40px;
  min-height: 40px;
  padding: 0 22px;
  border-radius: 20px;
  background-color: transparent;
  background-image: linear-gradient(
    325deg,
    var(--btn-bg-2) 0%,
    var(--btn-bg-1) 55%,
    var(--btn-bg-2) 90%
  );
  background-size: 280% auto;
  border: none;
  color: var(--btn-bg-color);
}

.btn-modal-copy.btn-donate:hover,
.btn-modal-fav.btn-donate:hover {
  background-color: transparent;
  background-image: linear-gradient(
    325deg,
    var(--btn-bg-2) 0%,
    var(--btn-bg-1) 55%,
    var(--btn-bg-2) 90%
  );
  background-size: 280% auto;
  background-position: right top;
}

.btn-modal-close {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 72px;
  width: 88px;
  height: 40px;
  padding: 5px 22px;
  font-family: "PingFang SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  background: transparent;
  border: 1px solid rgb(40, 144, 241);
  border-radius: 20px;
  outline: none;
  overflow: hidden;
  color: rgb(40, 144, 241);
  transition: color 0.3s 0.1s ease-out;
  text-align: center;
  z-index: 0;
}

.btn-modal-close::before {
  position: absolute;
  top: 0;
  left: -5em;
  right: 0;
  bottom: 0;
  margin: auto;
  content: "";
  border-radius: 50%;
  display: block;
  width: 20em;
  height: 20em;
  transition: box-shadow 0.5s ease-out;
  z-index: -1;
  pointer-events: none;
}

.btn-modal-close:hover {
  color: #fff;
  border: 1px solid rgb(40, 144, 241);
}

.btn-modal-close:hover::before {
  box-shadow: inset 0 0 0 10em rgb(40, 144, 241);
}

/* ========== Auth / Login Modal ========== */
body.auth-modal-open {
  overflow: hidden;
}

.header-auth {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.auth-guest-wrap,
.auth-user-wrap {
  display: flex;
  align-items: center;
}

.auth-guest-wrap[hidden],
.auth-user-wrap[hidden] {
  display: none !important;
}

.btn-login--profile {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  width: auto;
  min-width: 100px;
  padding: 0 16px;
  background: linear-gradient(120deg, #1258e0 0%, #1769ff 38%, #4dabff 72%, #1769ff 100%);
  background-size: 220% 220%;
  animation: header-btn-shimmer 5s ease-in-out infinite;
  transition: filter 0.25s ease;
}

.btn-login--profile::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    transparent 28%,
    rgba(255, 255, 255, 0.24) 50%,
    transparent 72%
  );
  animation: header-btn-shine 3.6s ease-in-out infinite;
  pointer-events: none;
}

.btn-login--profile:hover {
  filter: brightness(1.06);
}

.btn-login--profile .btn-login-text {
  position: relative;
  z-index: 1;
  width: auto;
}

.books-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 16px;
  background: rgba(16, 29, 51, 0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.books-modal[hidden] {
  display: none !important;
}

.books-modal__dialog {
  background: var(--white);
  border-radius: 12px;
  max-width: 420px;
  width: 100%;
  max-height: 90vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 20px 60px rgba(16, 29, 51, 0.22);
}

.books-modal__dialog--auth {
  max-width: 480px;
  background: linear-gradient(0deg, rgb(255, 255, 255) 0%, rgb(244, 247, 251) 100%);
  border-radius: 16px;
  border: 5px solid rgb(255, 255, 255);
  box-shadow: rgba(133, 189, 215, 0.8784313725) 0px 30px 30px -20px;
}

.books-modal__dialog--auth .books-modal__head {
  position: relative;
  justify-content: center;
  padding: 25px 35px 0;
  border-bottom: none;
  background: transparent;
}

.books-modal__dialog--auth .books-modal__title {
  text-align: center;
  font-weight: 900;
  font-size: 30px;
  color: rgb(16, 137, 211);
}

.books-modal__dialog--auth .books-modal__close {
  position: absolute;
  right: 20px;
  top: 16px;
}

.books-modal__dialog--auth .books-modal__body {
  padding: 0 35px 25px;
}

.books-modal__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 24px;
  border-bottom: 1px solid #e8edf5;
  background: linear-gradient(180deg, #f8fbff 0%, #eef4fa 100%);
}

.books-modal__title {
  margin: 0;
  font-family: "PingFang SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 18px;
  font-weight: 600;
  color: #101d33;
}

.books-modal__close {
  border: none;
  background: none;
  font-size: 26px;
  cursor: pointer;
  color: #5f738d;
  line-height: 1;
  padding: 4px 8px;
  border-radius: 4px;
}

.books-modal__close:hover {
  color: #101d33;
  background: rgba(23, 105, 255, 0.08);
}

.books-modal__body {
  padding: 20px 24px 24px;
  overflow-y: auto;
  font-size: 15px;
  color: var(--text-secondary);
}

/* ========== 统一提示框 BooksAlert ========== */
.books-modal--alert {
  z-index: 2100;
}

.books-alert__dialog {
  background: #ffffff;
  border-radius: 16px;
  width: 100%;
  max-width: 400px;
  padding: 32px 28px 28px;
  text-align: center;
  box-shadow: 0 24px 64px rgba(16, 29, 51, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.9);
  animation: books-alert-in 0.28s ease-out;
}

@keyframes books-alert-in {
  from {
    opacity: 0;
    transform: scale(0.92) translateY(12px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.books-alert__icon {
  display: flex;
  justify-content: center;
  margin-bottom: 16px;
}

.books-alert__title {
  margin: 0 0 10px;
  font-size: 20px;
  font-weight: 600;
  color: #101d33;
  line-height: 1.4;
}

.books-alert__message {
  margin: 0 0 24px;
  font-size: 15px;
  line-height: 1.65;
  color: #5f738d;
  word-break: break-word;
}

.books-alert__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 140px;
  height: 44px;
  padding: 0 32px;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 500;
  color: #ffffff;
  background: linear-gradient(90deg, #1769ff 0%, #3d8bff 100%);
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s;
  box-shadow: 0 4px 14px rgba(23, 105, 255, 0.35);
}

.books-alert__btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(23, 105, 255, 0.42);
}

.books-alert__btn:active {
  transform: translateY(0);
}

.books-alert--error .books-alert__btn {
  background: linear-gradient(90deg, #ef4444 0%, #f87171 100%);
  box-shadow: 0 4px 14px rgba(239, 68, 68, 0.3);
}

.books-alert--error .books-alert__btn:hover {
  box-shadow: 0 6px 18px rgba(239, 68, 68, 0.38);
}

body.books-alert-open {
  overflow: hidden;
}

.books-auth-body {
  padding-top: 0;
}

.books-auth-panel {
  margin-top: 20px;
}

.books-auth-footer {
  margin: 16px 0 0;
  text-align: center;
  font-size: 14px;
  color: var(--text-secondary);
}

.books-auth-footer a {
  color: #0099ff;
  text-decoration: none;
  font-weight: 600;
}

.books-auth-footer a:hover {
  text-decoration: underline;
}

.books-login-form__field {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 0;
}

.books-login-form__field span {
  font-size: 13px;
  color: #284566;
  margin-bottom: 4px;
}

.books-auth-panel .books-login-form__field input {
  width: 100%;
  background: white;
  border: none;
  padding: 15px 20px;
  border-radius: 20px;
  margin-top: 8px;
  height: auto;
  font-size: 15px;
  color: var(--text);
  box-shadow: #cff0ff 0px 10px 10px -5px;
  border-inline: 2px solid transparent;
  outline: none;
  transition: border-inline-color 0.2s;
}

.books-auth-panel .books-login-form__field input::placeholder {
  color: rgb(170, 170, 170);
}

.books-auth-panel .books-login-form__field input:focus {
  outline: none;
  border-inline: 2px solid #12B1D1;
  box-shadow: #cff0ff 0px 10px 10px -5px;
}

.books-auth-panel .books-login-form__field + .books-login-form__field {
  margin-top: 15px;
}

.books-login-form__err {
  color: #ff4d4f;
  font-size: 14px;
  margin: 0 0 12px;
}

.books-auth-panel .books-login-form__submit,
.books-auth-panel .books-btn--primary {
  display: block;
  width: 100%;
  font-weight: bold;
  background: linear-gradient(45deg, rgb(16, 137, 211) 0%, rgb(18, 177, 209) 100%);
  color: white;
  padding: 15px 20px;
  margin: 20px auto 0;
  border-radius: 20px;
  box-shadow: rgba(133, 189, 215, 0.8784313725) 0px 20px 10px -15px;
  border: none;
  font-size: 15px;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
}

.books-auth-panel .books-login-form__submit:hover:not(:disabled),
.books-auth-panel .books-btn--primary:hover:not(:disabled) {
  transform: scale(1.03);
  box-shadow: rgba(133, 189, 215, 0.8784313725) 0px 23px 10px -20px;
  background: linear-gradient(45deg, rgb(16, 137, 211) 0%, rgb(18, 177, 209) 100%);
}

.books-auth-panel .books-login-form__submit:active:not(:disabled),
.books-auth-panel .books-btn--primary:active:not(:disabled) {
  transform: scale(0.95);
  box-shadow: rgba(133, 189, 215, 0.8784313725) 0px 15px 10px -10px;
}

.books-auth-panel .books-btn--primary:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
}

@media (max-width: 640px) {
  .btn-login--profile {
    min-width: 88px;
    padding: 0 10px;
  }
}

/* ========== 期刊入驻 ========== */
.journal-entry-section {
  padding: 40px 0 56px;
}

.journal-entry-wrap {
  /*max-width: 1200px;*/
}

.journal-entry-title {
  margin: 0 0 24px;
  font-weight: 600;
  font-size: 34px;
  color: #101d33;
  line-height: 49px;
  text-align: center;
}

.journal-entry-notice {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 24px;
  padding: 12px 16px;
  background: #fff7e6;
  border: 1px solid #ffe58f;
  border-radius: 8px;
}

.journal-entry-notice__icon {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 22px;
  margin-top: 1px;
}

.journal-entry-notice__text {
  margin: 0;
  font-size: 14px;
  font-weight: 400;
  color: #101d33;
  line-height: 22px;
}

.journal-entry-card {
  background: var(--white);
  border: 1px solid #eef1f6;
  border-radius: 10px;
  box-shadow: var(--shadow-sm);
  padding: 32px 40px 40px;
}

.journal-entry-card__title {
  margin: 0 0 28px;
  font-weight: 600;
  font-size: 16px;
  color: #101d33;
  line-height: 24px;
}

.journal-entry-form__row {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.journal-entry-form__row--textarea {
  align-items: start;
}

.journal-entry-form__row--textarea .journal-entry-form__label {
  padding-top: 10px;
}

.journal-entry-form__label {
  font-size: 14px;
  font-weight: 400;
  color: #101d33;
  line-height: 22px;
  text-align: left;
  white-space: nowrap;
}

.journal-entry-form__required {
  color: #ff4d4f;
  margin-left: 2px;
}

.journal-entry-form__control {
  min-width: 0;
}

.journal-entry-field__err {
  margin: 6px 0 0;
  font-size: 12px;
  line-height: 18px;
  color: #ff4d4f;
}

.journal-entry-form__control.is-invalid .journal-entry-input,
.journal-entry-form__control.is-invalid .journal-entry-textarea,
.journal-entry-form__control.is-invalid .feedback-upload__box {
  border-color: #ff7875;
  background: #fffafa;
  box-shadow: 0 0 0 3px rgba(255, 77, 79, 0.12);
}

.journal-entry-input {
  width: 100%;
  height: 44px;
  padding: 0 14px;
  border: 1px solid #dce3ee;
  border-radius: 8px;
  background: #fff;
  font-size: 14px;
  color: #101d33;
  line-height: 22px;
  box-shadow: 0 1px 2px rgba(16, 29, 51, 0.04);
  transition: border-color 0.2s, background-color 0.2s, box-shadow 0.2s;
}

.journal-entry-input::placeholder,
.journal-entry-textarea::placeholder {
  color: #9aa8bc;
}

.journal-entry-input:hover:not(:focus),
.journal-entry-textarea:hover:not(:focus) {
  border-color: #b8c8de;
  background: #fcfdff;
}

.journal-entry-input:focus {
  outline: none;
  border-color: #1769ff;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(23, 105, 255, 0.14), 0 1px 2px rgba(16, 29, 51, 0.04);
}

.journal-entry-textarea-wrap {
  position: relative;
}

.journal-entry-textarea {
  display: block;
  width: 100%;
  min-height: 136px;
  padding: 12px 14px 32px;
  border: 1px solid #dce3ee;
  border-radius: 8px;
  background: #fff;
  font-family: inherit;
  font-size: 14px;
  color: #101d33;
  line-height: 22px;
  resize: vertical;
  box-shadow: 0 1px 2px rgba(16, 29, 51, 0.04);
  transition: border-color 0.2s, background-color 0.2s, box-shadow 0.2s;
}

.journal-entry-textarea:focus {
  outline: none;
  border-color: #1769ff;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(23, 105, 255, 0.14), 0 1px 2px rgba(16, 29, 51, 0.04);
}

.journal-entry-textarea__count {
  position: absolute;
  right: 12px;
  bottom: 10px;
  font-size: 12px;
  color: #9aa8bc;
  line-height: 18px;
  pointer-events: none;
}

.journal-entry-textarea__count.is-warn {
  color: #fa8c16;
  font-weight: 500;
}

.journal-entry-form__actions {
  display: flex;
  justify-content: center;
  margin-top: 32px;
}

@media (max-width: 768px) {
  .journal-entry-card {
    padding: 24px 20px 28px;
  }

  .journal-entry-form__row {
    grid-template-columns: 1fr;
    gap: 8px;
    margin-bottom: 16px;
  }

  .journal-entry-form__row--textarea .journal-entry-form__label {
    padding-top: 0;
  }
}

/* ========== 有奖反馈意见 ========== */
.feedback-card__head {
  margin-bottom: 28px;
}

.feedback-card__head .journal-entry-card__title {
  margin-bottom: 16px;
}

.feedback-card__divider {
  height: 1px;
  background: #eef1f6;
}

.journal-entry-form__row--upload {
  align-items: start;
}

.journal-entry-form__row--upload .journal-entry-form__label {
  padding-top: 18px;
}

.feedback-upload {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.feedback-upload__box {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 120px;
  height: 120px;
  border: 1.5px dashed #c5d3e8;
  border-radius: 10px;
  background: linear-gradient(180deg, #fafcff 0%, #f3f7fc 100%);
  cursor: pointer;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(16, 29, 51, 0.05);
  transition: border-color 0.2s, background-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.feedback-upload__box:hover {
  border-color: #1769ff;
  background: linear-gradient(180deg, #f5f9ff 0%, #ebf2ff 100%);
  box-shadow: 0 4px 14px rgba(23, 105, 255, 0.12);
  transform: translateY(-1px);
}

.feedback-upload__box.is-filled {
  border-style: solid;
  border-color: #1769ff;
}

.feedback-upload__input {
  position: absolute;
  width: 0;
  height: 0;
  opacity: 0;
  pointer-events: none;
}

.feedback-upload__plus {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(23, 105, 255, 0.1);
  font-size: 24px;
  font-weight: 300;
  color: #1769ff;
  line-height: 1;
  transition: background-color 0.2s, transform 0.2s;
}

.feedback-upload__box:hover .feedback-upload__plus {
  background: rgba(23, 105, 255, 0.16);
  transform: scale(1.05);
}

.feedback-upload__text {
  margin-top: 10px;
  font-size: 12px;
  color: #5f738d;
  line-height: 18px;
}

.feedback-upload__preview {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.feedback-upload__box.is-filled .feedback-upload__plus,
.feedback-upload__box.is-filled .feedback-upload__text {
  opacity: 0;
}

.feedback-upload__hint {
  margin: 0;
  align-self: center;
  padding: 10px 14px;
  font-size: 12px;
  color: #5f738d;
  line-height: 20px;
  background: #f7f9fc;
  border: 1px solid #eef1f6;
  border-radius: 8px;
}

@media (max-width: 768px) {
  .journal-entry-form__row--upload .journal-entry-form__label {
    padding-top: 0;
  }

  .feedback-upload {
    flex-direction: column;
    gap: 8px;
  }

  .feedback-upload__hint {
    margin-top: 0;
  }
}

/* ========== 关于我们 ========== */
.about-section {
  padding-bottom: 56px;
}

.about-card {
  min-height: 200px;
}

.about-content {
  font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 15px;
  line-height: 1.75;
  color: #284566;
  word-break: break-word;
}

.about-content__status {
  margin: 0;
  text-align: center;
  color: #5f738d;
  padding: 48px 16px;
}

.about-content p {
  margin: 0 0 1em;
}

.about-content p:last-child {
  margin-bottom: 0;
}

.about-content img {
  max-width: 100%;
  height: auto;
  border-radius: 6px;
}

.about-content h1,
.about-content h2,
.about-content h3,
.about-content h4 {
  margin: 1.2em 0 0.6em;
  color: #101d33;
  font-weight: 600;
  line-height: 1.4;
}

.about-content h1:first-child,
.about-content h2:first-child,
.about-content h3:first-child,
.about-content h4:first-child {
  margin-top: 0;
}

.about-content ul,
.about-content ol {
  margin: 0 0 1em;
  padding-left: 1.5em;
}

.about-content a {
  color: #1769ff;
  text-decoration: underline;
}

.about-content table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1em;
}

.about-content table td,
.about-content table th {
  border: 1px solid #eef1f6;
  padding: 8px 12px;
}