:root {
  /* 移动端水平留白：窄屏略紧、宽屏与桌面衔接 */
  --page-pad: clamp(14px, 4vw, 28px);
  --touch-target: 44px;
  --bg: #f5f7fb;
  /* 与 hero 底图 hero-bg-base 主色一致 */
  --hero-red: #a51d24;
  --hero-red-soft: rgba(165, 29, 36, 0.12);
  --hero-red-hover-solid: #b8323a;
  --hero-red-line-end: #c4353d;
  --hero-red-focus-ring: rgba(165, 29, 36, 0.55);
  --hero-red-border-hover: rgba(165, 29, 36, 0.35);
  --hero-red-glow-weak: rgba(165, 29, 36, 0.1);
  --hero-red-glow-mid: rgba(165, 29, 36, 0.14);
  /* 顶栏、页脚共用的浅灰渐变 */
  --footer-bg: linear-gradient(
    180deg,
    #f4f4f6 0%,
    #ebebef 45%,
    #e2e2e8 100%
  );
  --text: #0f172a;
  --muted: #64748b;
  --line: rgba(15, 23, 42, 0.08);
  --blue-1: #0d6efd;
  --blue-2: #2f7cf0;
  --blue-3: #3b8cff;
  --shadow: 0 10px 30px rgba(2, 8, 23, 0.15);
  --shadow-soft: 0 8px 22px rgba(2, 8, 23, 0.1);
  --radius: 10px;
  /* 首屏暗纹图层：约 1.1 倍（宽 110%，高等比） */
  --hero-watermark-size: 110% auto;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  height: 100%;
  overflow-x: hidden;
}

body {
  margin: 0;
  min-height: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  font-family: "Noto Sans SC", system-ui, -apple-system, Segoe UI, Roboto,
    Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
  padding-left: max(0px, env(safe-area-inset-left, 0px));
  padding-right: max(0px, env(safe-area-inset-right, 0px));
  padding-bottom: max(0px, env(safe-area-inset-bottom, 0px));
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body > main {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 0;
}

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

button,
input {
  font: inherit;
}

.container {
  width: min(1200px, calc(100% - 2 * var(--page-pad)));
  margin-inline: auto;
}

/* Topbar */
.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--footer-bg);
  /* 与首屏同色细线，避免透出 body 灰底形成「灰边」 */
  border-bottom: 1px solid var(--hero-red);
}

.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 68px;
  height: auto;
  padding-block: 8px;
}

.topbarBrand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  flex-shrink: 0;
  margin-right: auto;
}

.topbarBrand__logo {
  width: 64px;
  height: 64px;
  border-radius: 8px;
  display: block;
  object-fit: contain;
  flex-shrink: 0;
}

.topbarBrand__title {
  font-size: 28px;
  font-weight: 700;
  color: #334155;
  letter-spacing: 0.5px;
  line-height: 1.2;
  white-space: nowrap;
}

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

.brand--dual {
  gap: 24px;
  min-width: 0;
  flex-shrink: 0;
  background: transparent;
  justify-content: flex-start;
  margin-right: auto;
  padding: 0;
}

.brand__piece {
  display: inline-flex;
  align-items: center;
  line-height: 0;
  border-radius: 8px;
}

.brand__piece:focus-visible {
  outline: 2px solid var(--hero-red-focus-ring);
  outline-offset: 3px;
}

.brand__sep {
  font-size: 16px;
  font-weight: 300;
  color: #94a3b8;
  line-height: 1;
  user-select: none;
  padding: 0 6px;
}

.brand--img {
  min-width: auto;
}

.brand__img {
  display: block;
  height: 34px;
  width: auto;
}

.brand__img[alt] {
  max-width: 520px;
}

.brand--dual .brand__img,
.brand--dual .brand__img[alt] {
  max-width: min(240px, 26vw);
}

.nav {
  display: flex;
  align-items: center;
  gap: 24px;
  flex: 1;
  justify-content: flex-end;
}

.nav__item {
  position: relative;
  display: flex;
  align-items: center;
}

.nav__link {
  font-size: 14px;
  color: #334155;
  padding: 10px 4px;
  position: relative;
}

.nav__link:hover {
  color: var(--hero-red);
}

.nav__link.is-active {
  color: var(--hero-red);
  font-weight: 600;
}

.nav__link.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--hero-red), var(--hero-red-line-end));
  border-radius: 999px;
}

.nav__dropdown {
  position: absolute;
  top: calc(100% + 12px);
  left: -10px;
  min-width: 160px;
  background: #fff;
  border-radius: 10px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 16px 40px rgba(2, 8, 23, 0.18);
  padding: 8px 0;
  opacity: 0;
  transform: translate3d(0, -6px, 0);
  pointer-events: none;
  transition: opacity 160ms ease, transform 160ms ease;
  z-index: 30;
  will-change: opacity, transform;
  contain: paint;
}

.nav__dropdown::before {
  content: "";
  position: absolute;
  top: -8px;
  left: 28px;
  width: 14px;
  height: 14px;
  background: #fff;
  border-left: 1px solid rgba(15, 23, 42, 0.08);
  border-top: 1px solid rgba(15, 23, 42, 0.08);
  transform: rotate(45deg);
}

.nav__drop-link {
  display: block;
  padding: 10px 14px;
  font-size: 13px;
  color: #0f172a;
  line-height: 1;
  border-left: 3px solid transparent;
}

.nav__drop-link:hover,
.nav__drop-link:focus-visible {
  background: var(--hero-red-soft);
  color: var(--hero-red);
  border-left-color: var(--hero-red);
  outline: none;
}

.nav__item--dropdown:hover .nav__dropdown,
.nav__item--dropdown:focus-within .nav__dropdown {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* 触发文字与下拉之间的空隙会断悬停：用透明桥接层，鼠标可顺滑移到子菜单无需点击 */
.nav__item--dropdown::after {
  content: "";
  position: absolute;
  left: -12px;
  right: -12px;
  top: 100%;
  height: 16px;
  z-index: 29;
  pointer-events: auto;
}

.topbar__right {
  display: flex;
  align-items: center;
  gap: 14px;
  color: #475569;
  font-size: 13px;
}

.topbarLoginBtn {
  height: 34px;
  padding: 0 14px;
  border-radius: 8px;
  border: 1px solid rgba(15, 23, 42, 0.14);
  background: #fff;
  color: #334155;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

.topbarLoginBtn:hover {
  border-color: rgba(15, 23, 42, 0.24);
}

.loginUserMenu {
  position: absolute;
  z-index: 90;
  transform: translateX(-100%);
  min-width: 132px;
  padding: 6px;
  border-radius: 10px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: #fff;
  box-shadow: 0 10px 24px rgba(2, 8, 23, 0.18);
  display: grid;
  gap: 6px;
}

.loginUserMenu[hidden] {
  display: none !important;
}

.loginUserMenu__item {
  height: 34px;
  border-radius: 8px;
  border: 1px solid rgba(15, 23, 42, 0.1);
  background: #fff;
  color: #334155;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

.loginUserMenu__item:hover {
  border-color: rgba(165, 29, 36, 0.35);
  color: #8e1f26;
}

.loginModal {
  position: fixed;
  inset: 0;
  z-index: 80;
}

/* 首页主区域嵌入式登录（非全屏弹层） */
.loginModal.loginModal--embedded {
  position: relative;
  inset: auto;
  z-index: 1;
  width: 100%;
}

.loginModal--embedded .loginModal__close {
  display: none;
}

.loginModal--embedded .loginModal__panel {
  margin: 0 auto;
}

.hero--loginHome .hero__inner--loginHome {
  padding-bottom: 72px;
}

.homeLoginMount {
  width: min(460px, 100%);
  justify-self: center;
}

.loginModal__backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(15, 23, 42, 0.45);
}

.loginModal__panel {
  position: relative;
  width: min(460px, calc(100% - 28px));
  margin: 10vh auto 0;
  background: #ffffff;
  border-radius: 12px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  padding: 16px 16px 18px;
}

.loginModal__hd {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.loginModal__title {
  margin: 0;
  font-size: 18px;
  color: #0f172a;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.loginTitleSwitch {
  border: 0;
  background: transparent;
  color: #64748b;
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
  padding: 0;
  line-height: 1.1;
}

.loginTitleSwitch.is-active {
  color: #0f172a;
}

.loginModal[data-locked="1"] .loginModal__close {
  display: none;
}

.loginModal__close {
  border: 1px solid rgba(15, 23, 42, 0.14);
  background: #fff;
  border-radius: 8px;
  height: 32px;
  padding: 0 10px;
  color: #334155;
  cursor: pointer;
}

.loginModal__hint {
  margin: 14px 2px 4px;
  color: #475569;
  line-height: 1.6;
}

.loginModal__tabs {
  margin-top: 10px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.loginModal__tab {
  height: 36px;
  border-radius: 8px;
  border: 1px solid rgba(148, 163, 184, 0.2);
  background: rgba(15, 23, 42, 0.28);
  color: #cbd5e1;
  font-weight: 600;
  cursor: pointer;
}

.loginModal__tab.is-active {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(90deg, #8e1f26 0%, var(--hero-red) 38%, var(--hero-red-line-end) 100%);
}

.loginModal__form {
  margin-top: 12px;
  display: grid;
  gap: 10px;
}

.loginModal__form[hidden] {
  display: none;
}

.loginModal__field {
  display: grid;
  gap: 6px;
}

.loginModal__field > span {
  font-size: 13px;
  color: #334155;
}

.loginModal__field input {
  width: 100%;
  height: 40px;
  border-radius: 8px;
  border: 1px solid rgba(15, 23, 42, 0.14);
  padding: 0 12px;
  outline: none;
  color: #0f172a;
  background: #fff;
}

.loginModal__field input:focus {
  border-color: rgba(165, 29, 36, 0.6);
}

.loginModal__submit {
  height: 40px;
  border-radius: 10px;
  border: 0;
  color: #fff;
  font-weight: 700;
  cursor: pointer;
  background: linear-gradient(90deg, #8e1f26 0%, var(--hero-red) 38%, var(--hero-red-line-end) 100%);
}

.loginSetPwdTitle {
  font-size: 14px;
  color: #8e1f26;
  font-weight: 700;
  margin-bottom: 2px;
}

.loginModeTabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 8px;
}

.loginModeTab {
  height: 32px;
  border: 0;
  border-bottom: 2px solid transparent;
  background: transparent;
  color: #94a3b8;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

.loginModeTab.is-active {
  color: #f8fafc;
  border-bottom-color: #22c55e;
}

.loginModePanel {
  display: none;
}

.loginModePanel.is-active {
  display: grid;
  gap: 10px;
}

.loginQrBox {
  min-height: 108px;
  border-radius: 10px;
  border: 1px dashed rgba(148, 163, 184, 0.35);
  color: #94a3b8;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 12px;
  background: rgba(15, 23, 42, 0.18);
}

.loginInlineRow {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
}

.loginCaptchaImg {
  width: 110px;
  height: 40px;
  border-radius: 8px;
  border: 1px solid rgba(15, 23, 42, 0.14);
  object-fit: cover;
  background: #fff;
  cursor: pointer;
}

.loginInlineBtn {
  height: 40px;
  padding: 0 12px;
  border-radius: 8px;
  border: 1px solid rgba(165, 29, 36, 0.35);
  background: #fff;
  color: #8e1f26;
  font-weight: 700;
  cursor: pointer;
}

.loginForgotLink {
  justify-self: end;
  color: #60a5fa;
  font-size: 13px;
}

.changePwdBackLink {
  margin: 12px 2px 0;
  text-align: center;
  font-size: 13px;
}

.changePwdBackLink a {
  color: #60a5fa;
}

body.loginModalOpen {
  overflow: hidden;
}

.changePasswordModal {
  position: fixed;
  inset: 0;
  z-index: 88;
}

.changePasswordModal__backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(15, 23, 42, 0.45);
}

.changePasswordModal__panel {
  position: relative;
  width: min(420px, calc(100% - 28px));
  margin: 13vh auto 0;
  background: #fff;
  border-radius: 12px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  padding: 16px;
}

.changePasswordModal__hd {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.changePasswordModal__title {
  margin: 0;
  font-size: 18px;
  color: #0f172a;
}

.changePasswordModal__close {
  border: 1px solid rgba(15, 23, 42, 0.14);
  background: #fff;
  border-radius: 8px;
  height: 32px;
  padding: 0 10px;
  color: #334155;
  cursor: pointer;
}

.changePasswordModal__form {
  margin-top: 12px;
  display: grid;
  gap: 10px;
}

.mobileNavBtn {
  display: none;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: #fff;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

.mobileNavBtn:hover {
  border-color: var(--hero-red-border-hover);
  box-shadow: 0 0 0 4px var(--hero-red-glow-weak);
}

.mobileNavBtn__bars {
  width: 16px;
  height: 2px;
  background: #334155;
  border-radius: 999px;
  position: relative;
  display: block;
}

.mobileNavBtn__bars::before,
.mobileNavBtn__bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 16px;
  height: 2px;
  background: #334155;
  border-radius: 999px;
}

.mobileNavBtn__bars::before {
  top: -6px;
}

.mobileNavBtn__bars::after {
  top: 6px;
}

.mobileNav {
  position: fixed;
  inset: 0;
  z-index: 60;
  pointer-events: none;
}

.mobileNav.is-open {
  pointer-events: auto;
}

.mobileNav__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 8, 23, 0.45);
  opacity: 0;
  transition: opacity 180ms ease;
  z-index: 0;
}

.mobileNav.is-open .mobileNav__backdrop {
  opacity: 1;
}

.mobileNav__panel {
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  width: min(340px, 88vw);
  background: #fff;
  box-shadow: -18px 0 60px rgba(2, 8, 23, 0.25);
  transform: translateX(110%);
  transition: transform 220ms ease;
  display: grid;
  grid-template-rows: auto 1fr;
  z-index: 1;
}

.mobileNav.is-open .mobileNav__panel {
  transform: translateX(0);
}

.mobileNav__hd {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 14px 10px;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.mobileNav__title {
  font-weight: 800;
  color: #0f172a;
}

.mobileNav__close {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  border: 1px solid rgba(15, 23, 42, 0.1);
  background: #fff;
  cursor: pointer;
  font-size: 20px;
  line-height: 1;
  color: #334155;
}

.mobileNav__close:hover {
  border-color: var(--hero-red-border-hover);
  box-shadow: 0 0 0 4px var(--hero-red-glow-weak);
}

.mobileNav__links {
  padding: 10px 8px 16px;
  overflow: auto;
}

.mobileNav__extras {
  border-top: 1px solid rgba(15, 23, 42, 0.08);
  padding: 12px 10px 14px;
  display: grid;
  gap: 12px;
}

.mobileNav__loginBtn {
  width: 100%;
  height: 40px;
  border-radius: 10px;
  border: 1px solid rgba(15, 23, 42, 0.14);
  background: #fff;
  color: #334155;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

.mobileNav__loginBtn:hover,
.mobileNav__loginBtn:focus-visible {
  outline: none;
  border-color: var(--hero-red-border-hover);
  box-shadow: 0 0 0 4px var(--hero-red-glow-weak);
}

.mobileNav__userActions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.mobileNav__userActions[hidden] {
  display: none !important;
}

.mobileNav__actionBtn {
  height: 34px;
  border-radius: 8px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: #fff;
  color: #334155;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.mobileNav__actionBtn--danger {
  color: #8e1f26;
  border-color: rgba(165, 29, 36, 0.32);
}

.mobileNav__actionBtn:hover,
.mobileNav__actionBtn:focus-visible {
  outline: none;
  border-color: var(--hero-red-border-hover);
  box-shadow: 0 0 0 3px var(--hero-red-glow-weak);
}

.mobileNav__langBlock {
  display: grid;
  gap: 8px;
}

.mobileNav__langTitle {
  font-size: 12px;
  color: #64748b;
  font-weight: 700;
}

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

.mobileNav__langItem {
  height: 34px;
  border-radius: 8px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: #fff;
  color: #334155;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}

.mobileNav__langItem:hover,
.mobileNav__langItem:focus-visible {
  outline: none;
  border-color: var(--hero-red-border-hover);
  box-shadow: 0 0 0 3px var(--hero-red-glow-weak);
}

.mobileNav__langItem.is-active {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(90deg, #8e1f26 0%, var(--hero-red) 38%, var(--hero-red-line-end) 100%);
}

.mobileNav__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 12px;
  border-radius: 12px;
  font-weight: 600;
  color: #0f172a;
}

.mobileNav__link:hover,
.mobileNav__link:focus-visible {
  outline: none;
  background: var(--hero-red-soft);
  color: var(--hero-red);
}

.mobileNav__link.is-active {
  background: var(--hero-red-soft);
  color: var(--hero-red);
}

.mobileNav__details {
  margin-top: 6px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(15, 23, 42, 0.08);
}

.mobileNav__summary {
  list-style: none;
  cursor: pointer;
  padding: 12px 12px;
  font-weight: 700;
  color: #0f172a;
  background: rgba(15, 23, 42, 0.02);
}

.mobileNav__summary::-webkit-details-marker {
  display: none;
}

.mobileNav__sub {
  padding: 6px;
  background: #fff;
  display: grid;
  gap: 4px;
}

.mobileNav__sublink {
  display: block;
  padding: 10px 10px;
  border-radius: 10px;
  color: #334155;
  font-weight: 600;
}

.mobileNav__sublink:hover,
.mobileNav__sublink:focus-visible {
  outline: none;
  background: var(--hero-red-soft);
  color: var(--hero-red);
}

.langMenu {
  position: relative;
}

.langMenu__btn {
  height: 30px;
  padding: 0 10px;
  border-radius: 6px;
  border: 1px solid var(--line);
  background: #fff;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #334155;
}

.langMenu__btn:hover {
  border-color: var(--hero-red-border-hover);
  box-shadow: 0 0 0 4px var(--hero-red-glow-weak);
}

.langMenu__btn:focus-visible {
  outline: none;
  border-color: var(--hero-red-focus-ring);
  box-shadow: 0 0 0 4px var(--hero-red-glow-mid);
}

.langMenu__caret {
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 6px solid rgba(51, 65, 85, 0.9);
  transform: translateY(1px);
}

.langMenu__dropdown {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: 240px;
  background: #fff;
  border-radius: 10px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 18px 44px rgba(2, 8, 23, 0.18);
  padding: 10px 10px 12px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  opacity: 0;
  transform: translate3d(0, -6px, 0);
  pointer-events: none;
  transition: opacity 160ms ease, transform 160ms ease;
  z-index: 40;
  will-change: opacity, transform;
  contain: paint;
}

.langMenu__dropdown::before {
  content: "";
  position: absolute;
  top: -8px;
  right: 22px;
  width: 14px;
  height: 14px;
  background: #fff;
  border-left: 1px solid rgba(15, 23, 42, 0.08);
  border-top: 1px solid rgba(15, 23, 42, 0.08);
  transform: rotate(45deg);
}

.langMenu.is-open .langMenu__dropdown,
.langMenu:focus-within .langMenu__dropdown {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.langMenu__col {
  display: grid;
  align-content: start;
  gap: 6px;
  padding: 2px 2px 0;
}

.langMenu__hd {
  font-size: 12px;
  font-weight: 700;
  color: #0f172a;
  opacity: 0.9;
  padding: 6px 8px 8px;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.langMenu__item {
  width: 100%;
  text-align: left;
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 9px 10px;
  border-radius: 8px;
  font-size: 13px;
  color: #334155;
}

.langMenu__item:hover,
.langMenu__item:focus-visible {
  outline: none;
  background: var(--hero-red-soft);
  color: var(--hero-red);
}

.langMenu__item.is-active {
  background: var(--hero-red);
  color: #fff;
  font-weight: 600;
}

.langMenu__item.is-active:hover,
.langMenu__item.is-active:focus-visible {
  background: var(--hero-red-hover-solid);
  color: #fff;
}

/* Hero */
.hero {
  position: relative;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  min-height: 0;
  /* 上移 1px 盖住顶栏与首屏之间的亚像素缝，避免透出灰底 */
  margin-top: -1px;
  padding: 45px 0 0;
  overflow: hidden;
  background-color: var(--hero-red);
}

.hero__bg {
  position: absolute;
  inset: 0;
  background-color: var(--hero-red);
  background-image: url("./assets/hero-bg-base.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero__bg::after {
  display: none;
}

.hero__inner {
  position: relative;
  flex: 1 1 auto;
  padding: 54px 0 80px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 14px;
}

.hero__title {
  margin: 0;
  color: #fff;
  font-weight: 700;
  font-size: clamp(22px, 5.2vw, 38px);
  letter-spacing: 0.04em;
  line-height: 1.25;
  text-wrap: balance;
}

.hero__underline {
  width: 92px;
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 10px 20px rgba(15, 23, 42, 0.15);
}

.card {
  width: min(980px, 100%);
  margin-top: 18px;
  background: rgba(255, 255, 255, 0.98);
  border-radius: var(--radius);
  box-shadow: none;
  border: 1px solid rgba(255, 255, 255, 0.7);
  position: relative;
  padding: 34px 28px 22px;
}

.card__tab {
  position: absolute;
  top: 14px;
  left: 22px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #0f172a;
  font-weight: 600;
  font-size: 14px;
}

.card__tab-icon {
  width: 16px;
  height: 16px;
  border-radius: 4px;
  background: linear-gradient(135deg, var(--hero-red), var(--hero-red-line-end));
  box-shadow: none;
}

.query {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px;
  align-items: center;
  margin-top: 18px;
}

.query__field {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 999px;
  padding: 10px 14px;
  box-shadow: none;
}

.query__field:focus-within {
  border-color: rgba(15, 23, 42, 0.18);
  box-shadow: none;
}

.query__icon {
  width: 18px;
  height: 18px;
  border-radius: 999px;
  border: 2px solid var(--hero-red-focus-ring);
  position: relative;
  flex: 0 0 auto;
}

.query__icon::after {
  content: "";
  position: absolute;
  width: 9px;
  height: 2px;
  background: var(--hero-red-focus-ring);
  right: -7px;
  bottom: -2px;
  transform: rotate(45deg);
  border-radius: 999px;
}

.query input {
  width: 100%;
  border: 0;
  outline: 0;
  font-size: 14px;
}

.query input::placeholder {
  color: #94a3b8;
}

.query__btn {
  height: 44px;
  padding: 0 20px;
  border-radius: 999px;
  border: 0;
  cursor: pointer;
  color: #fff;
  font-weight: 600;
  letter-spacing: 0.5px;
  background: linear-gradient(
    90deg,
    #8e1f26 0%,
    var(--hero-red) 38%,
    var(--hero-red-line-end) 100%
  );
  box-shadow: none;
}

.query__btn:hover {
  filter: none;
  transform: none;
}

.query__btn:active {
  transform: none;
}


.help {
  margin-top: 14px;
  padding: 14px 14px 4px;
  border-top: 1px solid rgba(15, 23, 42, 0.06);
  color: #475569;
}

.help__title {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  color: #334155;
  font-size: 13px;
  margin-bottom: 6px;
}

.help__dot {
  width: 18px;
  height: 18px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.08);
  color: #1f2937;
  font-size: 12px;
  font-weight: 700;
}

.help__text {
  margin: 8px 0 0;
  font-size: 12px;
  line-height: 1.7;
  color: #64748b;
}

.help code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas,
    "Liberation Mono", "Courier New", monospace;
  background: rgba(15, 23, 42, 0.06);
  padding: 1px 6px;
  border-radius: 6px;
  color: #0f172a;
}

/* Footer */
.footer {
  flex-shrink: 0;
  background: var(--footer-bg);
  color: #334155;
  padding: 38px 0 0;
  margin-top: -8px;
}

.footer__inner {
  display: grid;
  grid-template-columns: 1.15fr auto;
  gap: 28px;
  align-items: center;
  padding-bottom: 26px;
}

.footer__left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.footer__partners .brand__img {
  height: 34px;
  width: auto;
  max-width: min(320px, 40vw);
}

.footer__qr {
  display: flex;
  gap: 38px;
  align-items: center;
  justify-content: center;
  width: 100%;
  justify-self: center;
}

.qr {
  display: grid;
  gap: 10px;
  justify-items: center;
}

a.qr--link {
  text-decoration: none;
  color: inherit;
}

a.qr--link:hover .qr__cap,
a.qr--link:focus-visible .qr__cap {
  color: #0f172a;
}

a.qr--link:focus-visible {
  outline: 2px solid var(--hero-red-focus-ring);
  outline-offset: 4px;
  border-radius: 12px;
}

.qr__img {
  width: 86px;
  height: 86px;
  border-radius: 6px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  box-sizing: border-box;
}

img.qr__img {
  display: block;
  object-fit: contain;
  background: #fff;
}

.qr__cap {
  font-size: 12px;
  color: #64748b;
}

.footer__bottom {
  border-top: 1px solid rgba(15, 23, 42, 0.08);
  padding: 14px 0;
  font-size: 12px;
  text-align: center;
  color: #64748b;
}

.footer__bottom img {
  display: block;
  max-width: min(100%, 1200px);
  height: auto;
  margin: 0 auto;
}

/* Responsive */
@media (max-width: 980px) {
  .nav {
    display: none;
  }
  .mobileNavBtn {
    display: inline-flex;
    width: var(--touch-target);
    height: var(--touch-target);
    min-width: var(--touch-target);
    min-height: var(--touch-target);
  }
  .topbar__right > .langMenu {
    display: none;
  }
  .topbar__inner {
    justify-content: space-between;
  }
  .brand {
    min-width: auto;
  }
}

@media (max-width: 860px) {
  .footer__inner {
    grid-template-columns: 1fr;
    justify-items: center;
  }
  /* 移动端：整块二维码区域移到联系信息（邮编）上方 */
  .footer__qr {
    order: -1;
    justify-content: center;
  }
  .footer__left {
    order: 0;
    justify-content: center;
    text-align: center;
  }
}

@media (max-width: 720px) {
  .topbar {
    position: static;
  }

  .container {
    width: min(1200px, calc(100% - 2 * var(--page-pad)));
  }
  .topbarBrand {
    gap: 10px;
    margin-left: 4px;
  }
  .topbarBrand__logo {
    width: 36px;
    height: 36px;
  }
  .topbarBrand__title {
    font-size: 16px;
    max-width: min(62vw, 260px);
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .topbar__inner {
    height: auto;
    padding: 10px 0;
    gap: 12px;
    flex-wrap: nowrap;
  }
  .brand--dual {
    order: 0;
    width: auto;
    margin: 0;
    margin-left: 6px;
  }
  .topbar__right {
    order: 0;
    width: auto;
    margin-left: auto;
  }
  .topbarLoginBtn {
    display: none;
  }
  /* 保留顶栏语言切换（窄屏与汉堡并列），避免仅能通过侧栏找语言 */
  .langMenu {
    position: relative;
  }
  .langMenu__btn {
    max-width: min(120px, 28vw);
    padding: 0 8px;
    font-size: 12px;
  }
  .brand__img {
    height: 32px;
    max-width: min(440px, calc(100vw - 120px));
  }

  .brand--dual .brand__img,
  .brand--dual .brand__img[alt] {
    max-width: min(180px, 42vw);
  }
  .topbar__right {
    width: auto;
    justify-content: flex-end;
    gap: 10px;
  }
  .query {
    grid-template-columns: 1fr;
  }
  .query__btn {
    width: 100%;
  }
  .card {
    padding: 34px 16px 18px;
  }

  /* 首屏内容上移：减少导航栏下方留白 */
  .hero {
    padding-top: 18px;
  }
  .hero__inner {
    padding-top: 26px;
  }

  /* 让蓝色背景铺满到一屏底部（页脚自然被推到下一屏） */
  .hero {
    min-height: calc(100dvh - 68px);
  }

  /* 移动端仅保留单层底图 */
  .hero__bg {
    background: url("./assets/hero-bg-base.png");
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
  }

  /* 搜索框 16px 可减少 iOS 聚焦时整页缩放 */
  .query input {
    font-size: 16px;
  }

  .query__btn {
    min-height: var(--touch-target);
  }
}

@media (max-width: 520px) {
  .topbarBrand__title {
    font-size: 15px;
  }

  .hero {
    padding: 14px 0 0;
  }
  .hero__inner {
    padding: 24px 0 62px;
  }
  .hero__underline {
    width: 76px;
  }

  .card {
    margin-top: 14px;
    padding: 16px 14px 16px;
  }
  .card__tab {
    position: static;
    margin: 0 0 12px;
  }

  .query__field {
    padding: 10px 12px;
  }
  .query__btn {
    min-height: var(--touch-target);
    height: auto;
  }

  .langMenu__dropdown {
    width: min(260px, calc(100vw - 2 * var(--page-pad)));
  }
}

@media (max-width: 380px) {
  .topbarBrand {
    gap: 8px;
  }
  .topbarBrand__logo {
    width: 30px;
    height: 30px;
  }
  .topbarBrand__title {
    font-size: 13px;
  }

  .brand {
    gap: 10px;
  }
  .brand__img {
    height: 28px;
    max-width: min(380px, calc(100vw - 100px));
  }

  .brand--dual .brand__img,
  .brand--dual .brand__img[alt] {
    max-width: min(160px, 44vw);
  }

  .brand__sep {
    font-size: 16px;
    padding: 0 1px;
  }
  .langMenu__btn {
    padding: 0 8px;
  }
  .langMenu__dropdown {
    right: -4px;
  }
}

/* Result page */
.hero.hero--sub .hero__inner {
  padding-bottom: 64px;
}

.card--result {
  padding-top: 26px;
}

.result {
  display: grid;
  gap: 14px;
}

.result__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.result__back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: var(--hero-red);
  padding: 8px 10px;
  border-radius: 10px;
}

.result__back:hover,
.result__back:focus-visible {
  outline: none;
  background: var(--hero-red-soft);
}

.result__download {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(
    90deg,
    #8e1f26 0%,
    var(--hero-red) 38%,
    var(--hero-red-line-end) 100%
  );
  box-shadow: 0 10px 22px rgba(165, 29, 36, 0.3);
}

.result__download:hover,
.result__download:focus-visible {
  outline: none;
  filter: brightness(1.03);
  transform: translateY(-1px);
}

.result__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.result__photoWrap {
  margin: 0;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: rgba(15, 23, 42, 0.02);
  border-radius: 14px;
  padding: 10px;
  display: flex;
  justify-content: center;
  width: 80%;
  margin-left: auto;
  margin-right: auto;
}

.result__photo {
  width: min(420px, 100%);
  max-height: 420px;
  object-fit: contain;
  border-radius: 10px;
  display: block;
}

.resultItem {
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: rgba(15, 23, 42, 0.02);
  border-radius: 14px;
  padding: 12px 14px;
  display: grid;
  gap: 8px;
}

.resultItem__label {
  font-size: 12px;
  font-weight: 700;
  color: #64748b;
}

.resultItem__value {
  font-size: 14px;
  font-weight: 800;
  color: #0f172a;
  word-break: break-all;
}

.resultItem__meta {
  display: grid;
  gap: 10px;
}

.resultItem__metaRow {
  display: flex;
  align-items: baseline;
  flex-wrap: nowrap;
}

.resultItem__metaRow .resultItem__label {
  flex: 0 0 auto;
}

.resultItem__metaRow .resultItem__label::after {
  content: "\00a0\00a0\00a0";
}

.resultItem__metaRow .resultItem__value {
  flex: 1 1 auto;
  min-width: 0;
  word-break: normal;
}

.resultItem__value--ok {
  color: #0f766e;
}

.resultItem__value--fail {
  color: #b91c1c;
}

.resultItem__value--pending {
  color: #b45309;
}

.result__tip {
  font-size: 12px;
  color: #64748b;
  line-height: 1.7;
  padding-top: 6px;
  border-top: 1px dashed rgba(15, 23, 42, 0.12);
}

/* News page */
.card--news {
  padding-top: 18px;
}

.newsPage__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.newsPage__sub {
  margin: 0;
  color: #64748b;
  font-size: 13px;
}

.newsSearch {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.newsSearch__input {
  width: 240px;
  height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: #fff;
  color: #0f172a;
  font-size: 13px;
  outline: none;
}

.newsSearch__input:focus {
  border-color: var(--hero-red-focus-ring);
  box-shadow: 0 0 0 4px var(--hero-red-glow-weak);
}

.newsSearch__btn {
  height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: #fff;
  color: #334155;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

.newsSearch__btn:hover,
.newsSearch__btn:focus-visible {
  outline: none;
  border-color: var(--hero-red-border-hover);
  box-shadow: 0 0 0 4px var(--hero-red-glow-weak);
}

.newsList {
  display: grid;
  gap: 8px;
}

.newsEmpty {
  margin: 0;
  border: 1px dashed rgba(15, 23, 42, 0.18);
  border-radius: 12px;
  padding: 14px 12px;
  color: #64748b;
  font-size: 13px;
}

.newsEmpty--error {
  color: #9a3412;
  border-color: rgba(154, 52, 18, 0.35);
  background: rgba(254, 243, 199, 0.35);
}

.newsItem {
  border-bottom: 1px solid rgba(15, 23, 42, 0.1);
  padding: 10px 4px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}

.newsItem__main {
  min-width: 0;
  flex: 1;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding-right: 0;
}

.newsItem__date {
  display: inline-flex;
  flex: 0 0 auto;
  font-size: 14px;
  color: #9ca3af;
  line-height: 1.35;
  margin-top: 2px;
}

.newsItem__title {
  margin: 0;
  font-size: 16px;
  line-height: 1.5;
  font-weight: 400;
  color: #0f172a;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.newsItem__title::before {
  content: "·";
  color: #9ca3af;
  margin-right: 8px;
}

.newsItem__titleLink {
  color: inherit;
}

.newsItem__titleLink:visited {
  color: inherit;
}

.newsItem__titleLink:hover {
  color: var(--hero-red);
}

.newsItem__hl {
  color: #b91c1c;
  font-weight: 700;
}

.newsItem__summary {
  margin: 6px 0 0;
  font-size: 13px;
  color: #475569;
  line-height: 1.65;
}

.newsPager {
  margin-top: 12px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.newsPager__btn {
  min-width: 74px;
  height: 32px;
  border-radius: 8px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: #fff;
  color: #334155;
  font-size: 13px;
  cursor: pointer;
}

.newsPager__btn:hover:not(:disabled),
.newsPager__btn:focus-visible:not(:disabled) {
  outline: none;
  border-color: var(--hero-red-border-hover);
  box-shadow: 0 0 0 4px var(--hero-red-glow-weak);
}

.newsPager__btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.newsPager__info {
  font-size: 12px;
  color: #64748b;
  min-width: 88px;
  text-align: center;
}

/* News detail page */
.newsDetailMain {
  background: #fff;
  padding: 28px 0 40px;
}

.newsDetail {
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 12px;
  box-shadow: var(--shadow-soft);
  padding: 22px 24px 24px;
  --news-left-indent: 2ch;
}

.newsDetail__crumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  color: #64748b;
  font-size: 13px;
}

.newsDetail__crumb a:hover {
  color: var(--hero-red);
}

.newsDetail__title {
  margin: 14px 0 0;
  font-size: clamp(18px, 1.8vw, 25px);
  font-weight: 800;
  letter-spacing: 0.2px;
  color: #111827;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  padding-left: var(--news-left-indent);
}

.newsDetail__meta {
  margin-top: 16px;
  padding: 10px 0;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: #64748b;
  font-size: 14px;
}

.newsDetail__metaLeft,
.newsDetail__metaRight {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.newsDetail__metaLeft {
  margin-left: var(--news-left-indent);
}

.newsDetail__share {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(15, 23, 42, 0.15);
  font-size: 12px;
  color: #334155;
}

.newsDetail__share:hover {
  border-color: var(--hero-red-border-hover);
  color: var(--hero-red);
}

.newsDetail__coverWrap {
  margin: 18px auto 0;
  width: min(720px, 100%);
}

.newsDetail__cover {
  width: 100%;
  border-radius: 10px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  display: block;
}

.newsDetail__content {
  margin: 18px auto 0;
  color: #4b5563;
  font-size: 16px;
  line-height: 1.95;
  font-weight: 400;
  width: min(100%, calc(100% - 4ch));
  overflow-wrap: anywhere;
  word-break: break-word;
}

.newsDetail__content p {
  margin: 0 0 12px;
  text-indent: 0;
}

/* 译文或翻译 API 可能返回 div 包段，与后台编辑器一致 */
.newsDetail__content > div {
  margin: 0 0 12px;
}

.newsDetail__content > div:last-child {
  margin-bottom: 0;
}

.newsDetail__content ul,
.newsDetail__content ol {
  margin: 12px 0;
  padding-left: 1.35em;
}

.newsDetail__content * {
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: break-word;
}

/* 后台编辑器插入的插图：对齐与宽度使用 class（入库前会去掉内联 style） */
.newsDetail__content p.newsImgWrap {
  margin: 12px 0;
}

.newsDetail__content p.newsImgWrap--left {
  text-align: left;
}

.newsDetail__content p.newsImgWrap--center {
  text-align: center;
}

.newsDetail__content p.newsImgWrap--right {
  text-align: right;
}

.newsDetail__content p.newsImgWrap img.newsImg {
  height: auto;
  display: inline-block;
  vertical-align: middle;
  border-radius: 8px;
  border: 1px solid rgba(15, 23, 42, 0.1);
  box-sizing: border-box;
}

.newsDetail__content p.newsImgWrap img.newsImg--w100 {
  width: 100%;
  max-width: 100%;
}

.newsDetail__content p.newsImgWrap img.newsImg--w75 {
  width: 75%;
  max-width: 100%;
}

.newsDetail__content p.newsImgWrap img.newsImg--w50 {
  width: 50%;
  max-width: 100%;
}

.newsDetail__content p.newsImgWrap img.newsImg--auto {
  width: auto;
  max-width: 100%;
}

.newsDetail__figure {
  margin: 20px auto;
  width: min(720px, 100%);
}

.newsDetail__figure img {
  width: 100%;
  border-radius: 8px;
  border: 1px solid rgba(15, 23, 42, 0.1);
  display: block;
}

.newsDetail__caption {
  margin-top: 8px;
  font-size: 14px;
  color: #4b5563;
  line-height: 1.6;
}

.newsDetail__editor {
  margin: 20px auto 0;
  text-align: right;
  color: #4b5563;
  font-size: 16px;
  line-height: 1.6;
  width: min(100%, calc(100% - 4ch));
}

.newsDetail__actions {
  margin-top: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

.newsDetail__pagerBtn {
  min-width: 88px;
  height: 32px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, 0.14);
  background: #fff;
  color: #334155;
  font-size: 12px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.newsDetail__pagerBtn:hover,
.newsDetail__pagerBtn:focus-visible {
  outline: none;
  border-color: var(--hero-red-border-hover);
  box-shadow: 0 0 0 4px var(--hero-red-glow-weak);
  color: var(--hero-red);
}

.newsDetail__pagerBtn.is-disabled {
  opacity: 0.45;
  pointer-events: none;
}

.creatorDetail__titleFull {
  white-space: normal;
  overflow: visible;
  text-overflow: clip;
}

.creatorDetail__nameRow {
  margin-top: 14px;
  margin-left: 3ch;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px 12px;
  flex-wrap: wrap;
}

.creatorDetail__nameRow .newsDetail__title {
  margin-top: 0;
}

.creatorDetail__tags {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  transform: translateY(-1px);
}

.creatorTag {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 1px 8px;
  border-radius: 999px;
  border: 1px solid #fecaca;
  background: #fff1f2;
  color: #be123c;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
}

.creatorDetail__metaLeft {
  flex-wrap: wrap;
  row-gap: 6px;
}

.creatorDetail .newsDetail__title {
  padding-left: 0;
}

.creatorDetail .newsDetail__meta {
  margin-top: 8px;
  margin-left: 3ch;
  justify-content: flex-start;
}

.creatorDetail .newsDetail__metaLeft {
  margin-left: 0;
  justify-content: flex-start;
}

.creatorStatus {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 76px;
  padding: 2px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  border: 1px solid transparent;
}

.creatorStatus--pending {
  color: #b91c1c;
  border-color: #fecaca;
  background: #fef2f2;
}

.creatorStatus--pass {
  color: #166534;
  border-color: #bbf7d0;
  background: #f0fdf4;
}

.creatorStatus--rejected {
  color: #c2410c;
  border-color: #fed7aa;
  background: #fff7ed;
}

.creatorTagPill--artAdvisor {
  color: #1d4ed8;
  border-color: #bfdbfe;
  background: #eff6ff;
}

.creatorTagPill--signedKiln {
  color: #047857;
  border-color: #a7f3d0;
  background: #ecfdf5;
}

.creatorTagPill--signedArtist {
  color: #7c2d12;
  border-color: #fed7aa;
  background: #fff7ed;
}

.creatorTagPill--other {
  color: #334155;
  border-color: rgba(15, 23, 42, 0.18);
  background: #f8fafc;
}

.creatorDetail__coverWrap {
  width: min(259px, 100%);
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 10px;
  border: 0;
  background: #f8fafc;
}

.creatorDetail__coverWrap .newsDetail__cover {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border: 0;
}

.creatorGuide {
  margin-top: 18px;
  margin-left: 3ch;
}

.creatorGuide__thumbs {
  margin-top: 12px;
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 2px;
}

.creatorGuide__thumb {
  border: 1px solid rgba(15, 23, 42, 0.18);
  border-radius: 8px;
  background: #fff;
  padding: 0;
  width: 56px;
  height: 74px;
  flex: 0 0 auto;
  overflow: hidden;
  cursor: pointer;
}

.creatorGuide__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.creatorGuide__thumb.is-active {
  border-color: #be123c;
  box-shadow: 0 0 0 2px rgba(190, 18, 60, 0.15);
}

.creatorDetail__bioTitle {
  margin: 0 0 8px;
  color: #0f172a;
  font-size: 18px;
  font-weight: 700;
}

/* 简介富文本：后台编辑器按回车常生成 <div> 而非 <p>，需给块级子元素段落间距（与 .newsDetail__content p 一致） */
.creatorDetail__bioRich {
  margin-top: 4px;
  color: #4b5563;
  font-size: 16px;
  line-height: 1.95;
  width: min(100%, calc(100% - 4ch));
  overflow-wrap: anywhere;
  word-break: break-word;
}

.creatorDetail__bioRich > * {
  margin: 0 0 12px;
}

.creatorDetail__bioRich > *:last-child {
  margin-bottom: 0;
}

.creatorDetail__bioRich p {
  margin: 0 0 12px;
  text-indent: 0;
}

.creatorDetail__bioRich ul,
.creatorDetail__bioRich ol {
  margin: 0 0 12px;
  padding-left: 1.25em;
}

.creatorDetail__bioRich * {
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.creatorDetail__bioBody {
  margin: 0 0 12px;
  white-space: pre-wrap;
  word-break: break-word;
}

@media (max-width: 720px) {
  .hero.hero--sub {
    min-height: auto;
  }

  .newsPage__head {
    flex-direction: column;
    align-items: flex-start;
  }

  .newsSearch {
    width: 100%;
  }

  .newsSearch__input {
    width: 100%;
    min-width: 0;
  }

  .newsPager {
    justify-content: space-between;
  }

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

  .newsItem__media {
    width: min(180px, 50vw);
    justify-self: start;
  }

  .newsDetailMain {
    padding: 14px 0 28px;
  }

  .newsDetail {
    padding: 14px 14px 16px;
  }

  .newsDetail__title {
    font-size: 18px;
  }

  .newsDetail__meta {
    flex-wrap: wrap;
    row-gap: 6px;
  }

  .newsDetail__content {
    font-size: 16px;
    line-height: 1.85;
  }

  .newsDetail__caption {
    font-size: 14px;
  }

  .newsDetail__editor {
    font-size: 15px;
  }

  .newsDetail__actions {
    justify-content: center;
    gap: 8px;
  }

  .result__top {
    flex-wrap: wrap;
  }

  .result__download {
    width: 100%;
  }

  .reportForm__labelRow {
    flex-wrap: wrap;
    row-gap: 8px;
  }

  .reportForm__actions {
    justify-content: stretch;
  }

  .reportForm__btn {
    width: 100%;
  }

  .footer__qr {
    flex-wrap: wrap;
    gap: 20px;
  }

  .qr__img {
    width: 74px;
    height: 74px;
  }

  .creatorGuide {
    margin-left: 0;
  }

  .reportForm__input,
  .reportForm__textarea {
    font-size: 16px;
  }

  .reportForm__btn {
    min-height: var(--touch-target);
    width: 100%;
    max-width: 320px;
  }

  .platformBlock__text,
  .platformItem__text,
  .platformSteps {
    font-size: 15px;
  }
}

/* Platform page */
.card--platform {
  padding-top: 20px;
  display: grid;
  gap: 12px;
}

.platformBlock {
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: rgba(15, 23, 42, 0.02);
  border-radius: 12px;
  padding: 12px;
}

.platformBlock__title {
  margin: 0;
  font-size: 16px;
  color: #0f172a;
}

.platformBlock__title--sub {
  margin-top: 12px;
}

.platformBlock__text {
  margin: 8px 0 0;
  font-size: 13px;
  color: #475569;
  line-height: 1.8;
}

/* 平台/新闻/创作者富文本统一展示：标题、引用、链接、分隔线与编辑器预览保持一致 */
.platformBlock__text--rich h1,
.platformBlock__text--rich h2,
.platformBlock__text--rich h3,
.platformBlock__text--rich h4,
.creatorDetail__bioRich h1,
.creatorDetail__bioRich h2,
.creatorDetail__bioRich h3,
.creatorDetail__bioRich h4,
.newsDetail__content h1,
.newsDetail__content h2,
.newsDetail__content h3,
.newsDetail__content h4 {
  margin: 0 0 14px;
  color: #0f172a;
  line-height: 1.35;
}

.platformBlock__text--rich h1,
.creatorDetail__bioRich h1,
.newsDetail__content h1 {
  font-size: 32px;
}

.platformBlock__text--rich h2,
.creatorDetail__bioRich h2,
.newsDetail__content h2 {
  font-size: 26px;
}

.platformBlock__text--rich h3,
.creatorDetail__bioRich h3,
.newsDetail__content h3 {
  font-size: 22px;
}

.platformBlock__text--rich h4,
.creatorDetail__bioRich h4,
.newsDetail__content h4 {
  font-size: 18px;
}

.platformBlock__text--rich blockquote,
.creatorDetail__bioRich blockquote,
.newsDetail__content blockquote {
  margin: 0 0 14px;
  padding: 12px 14px;
  border-left: 4px solid #cbd5e1;
  background: #f8fafc;
  color: #475569;
}

.platformBlock__text--rich a,
.creatorDetail__bioRich a,
.newsDetail__content a {
  color: #2563eb;
}

.platformBlock__text--rich figure,
.creatorDetail__bioRich figure,
.newsDetail__content figure {
  display: grid;
  gap: 8px;
  margin: 0 0 14px;
}

.platformBlock__text--rich figcaption,
.creatorDetail__bioRich figcaption,
.newsDetail__content figcaption {
  font-size: 12px;
  color: #64748b;
  text-align: center;
}

.platformBlock__text--rich hr,
.creatorDetail__bioRich hr,
.newsDetail__content hr {
  border: 0;
  border-top: 1px solid #cbd5e1;
  margin: 20px 0;
}

/* 平台简介等富文本：与后台 TextEditorCn 中插图块一致（内联 width / margin 对齐生效；图宽随容器） */
.platformBlock__text--rich .textEditorCn__mediaBox,
.creatorDetail__bioRich .textEditorCn__mediaBox,
.newsDetail__content .textEditorCn__mediaBox {
  position: relative;
  display: block;
  box-sizing: border-box;
  max-width: 100%;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  margin: 6px 0;
  border-radius: 8px;
  outline: none;
}

.platformBlock__text--rich .textEditorCn__mediaBox img,
.platformBlock__text--rich .textEditorCn__mediaBox video,
.creatorDetail__bioRich .textEditorCn__mediaBox img,
.creatorDetail__bioRich .textEditorCn__mediaBox video,
.newsDetail__content .textEditorCn__mediaBox img,
.newsDetail__content .textEditorCn__mediaBox video {
  width: 100%;
  height: auto;
  display: block;
  vertical-align: top;
}

/* 旧数据若仍含编辑器按钮，前台隐藏 */
.platformBlock__text--rich .textEditorCn__mediaDel,
.platformBlock__text--rich .textEditorCn__mediaResize,
.creatorDetail__bioRich .textEditorCn__mediaDel,
.creatorDetail__bioRich .textEditorCn__mediaResize,
.newsDetail__content .textEditorCn__mediaDel,
.newsDetail__content .textEditorCn__mediaResize {
  display: none !important;
}

.platformBlock__text--rich > * {
  margin: 0 0 12px;
}

.platformBlock__text--rich > *:last-child {
  margin-bottom: 0;
}

.platformBlock__text--rich p {
  margin: 0 0 12px;
  text-indent: 0;
  line-height: 1.8;
}

/* 与后台编辑器相同：混排大字时避免继承到固定 px 行高导致叠行（数值与各自容器 line-height 一致） */
.platformBlock__text--rich :is(span, font, b, strong, i, em, u, s, a, small) {
  line-height: 1.8;
}

.creatorDetail__bioRich :is(span, font, b, strong, i, em, u, s, a, small),
.newsDetail__content :is(span, font, b, strong, i, em, u, s, a, small) {
  line-height: 1.95;
}

.platformBlock__text--rich ul,
.platformBlock__text--rich ol,
.creatorDetail__bioRich ul,
.creatorDetail__bioRich ol,
.newsDetail__content ul,
.newsDetail__content ol {
  margin: 0 0 12px;
  padding-left: 1.25em;
}

.platformGrid {
  margin-top: 8px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.platformItem {
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 10px;
  padding: 10px;
  background: #fff;
}

.platformItem__title {
  margin: 0;
  font-size: 14px;
  color: #0f172a;
}

.platformItem__text {
  margin: 6px 0 0;
  font-size: 12px;
  color: #64748b;
  line-height: 1.7;
}

.platformSteps {
  margin: 8px 0 0;
  padding-left: 18px;
  color: #475569;
  font-size: 13px;
  line-height: 1.9;
}

@media (max-width: 720px) {
  .platformGrid {
    grid-template-columns: 1fr;
  }
}

/* Report page */
.card--report {
  padding-top: 22px;
}

.report__desc {
  margin: 0 0 12px;
  font-size: 13px;
  color: #64748b;
}

.reportForm {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.reportForm__field {
  display: grid;
  gap: 6px;
}

.reportForm__field--full {
  grid-column: 1 / -1;
}

.reportForm__label {
  font-size: 16px;
  color: #334155;
  font-weight: 700;
}

.reportForm__labelRow {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
}

.reportForm__check {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 16px;
  color: #334155;
  font-weight: 700;
}

.reportForm__check input {
  margin: 0;
}

.reportForm__input,
.reportForm__textarea {
  width: 100%;
  border: 1px solid rgba(15, 23, 42, 0.14);
  border-radius: 10px;
  background: #fff;
  padding: 10px 12px;
  font-size: 14px;
  color: #0f172a;
  outline: none;
}

.reportForm__input:focus,
.reportForm__textarea:focus {
  border-color: var(--hero-red-focus-ring);
  box-shadow: 0 0 0 4px var(--hero-red-glow-weak);
}

.reportForm__input:disabled {
  background: #f1f5f9;
  color: #94a3b8;
  cursor: not-allowed;
}

.reportForm__textarea {
  resize: vertical;
  min-height: 140px;
}

.reportForm__actions {
  grid-column: 1 / -1;
  display: flex;
  justify-content: flex-end;
}

.reportForm__btn {
  height: 40px;
  padding: 0 18px;
  border-radius: 999px;
  border: 0;
  cursor: pointer;
  color: #fff;
  font-weight: 700;
  background: linear-gradient(90deg, #8e1f26 0%, var(--hero-red) 38%, var(--hero-red-line-end) 100%);
  box-shadow: 0 10px 22px rgba(165, 29, 36, 0.32);
}

.reportForm__btn:hover {
  filter: brightness(1.02);
}

@media (max-width: 720px) {
  .reportForm {
    grid-template-columns: 1fr;
  }

  .newsDetail__title {
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
    line-height: 1.35;
  }
}

@media (max-width: 520px) {
  .topbar__inner {
    align-items: center;
  }

  .topbarBrand {
    flex: 1;
    min-width: 0;
    margin-left: 0;
  }

  .topbarBrand__title {
    max-width: none;
    white-space: normal;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
  }

  .mobileNavBtn {
    flex-shrink: 0;
  }

  .newsItem {
    padding: 8px 2px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start;
    gap: 8px;
  }

  .newsItem__main {
    padding-right: 0;
  }

  .newsItem__title {
    font-size: 15px;
    font-weight: 600;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.45;
  }

  .newsItem__date {
    font-size: 13px;
    margin-top: 2px;
  }

  .newsPager {
    flex-wrap: wrap;
    justify-content: center;
  }

  .newsPager__info {
    width: 100%;
    order: 3;
    text-align: center;
  }

  .footer__qr {
    gap: 14px;
  }

  .qr__cap {
    font-size: 11px;
  }
}
