/* =========================================================
   太养园 EmpireCMS 8.0 精简版样式
   Path: /templets/tyy/css/style.css
   Scope: 首页 + 文章列表页 + 内容页 + 会员登录状态 + 页脚
   Cleaned: 2026-05-25
   Note:
   - 已删除旧 Halo/论坛/商城/支付页/多版本覆盖样式。
   - 如果商城、论坛、支付页仍然共用本 CSS，请不要直接覆盖；
     需另建 shop.css / forum.css / pay.css 分模块加载。
   ========================================================= */

/* ------------------------------
   1. 基础变量与重置
------------------------------ */

:root {
  --tyy-primary: #B37A42;
  --tyy-primary-dark: #7A4F2A;
  --tyy-accent: #FFF8ED;
  --tyy-ink: #2E241A;
  --tyy-muted: #74665A;
  --tyy-bg: #FFFDF8;
  --tyy-card: #FFFFFF;
  --tyy-soft: #F8EBD9;
  --tyy-line: rgba(83, 58, 35, .14);
  --tyy-shadow: 0 18px 48px rgba(68, 42, 20, .10);
  --tyy-shadow-soft: 0 10px 28px rgba(68, 42, 20, .07);
  --tyy-radius: 22px;
  --tyy-radius-lg: 30px;
  --tyy-container: 1160px;
  --tyy-narrow: 860px;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100%;
  background: var(--tyy-bg);
  color: var(--tyy-ink);
  font-family:
    -apple-system,
    BlinkMacSystemFont,
    "PingFang SC",
    "Hiragino Sans GB",
    "Microsoft YaHei",
    "Noto Sans CJK SC",
    "Source Han Sans SC",
    Arial,
    sans-serif;
  font-size: 15px;
  line-height: 1.72;
  letter-spacing: 0;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.site-body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(circle at top left, rgba(179, 122, 66, .10), transparent 30%),
    linear-gradient(180deg, #FFFDF8 0%, #FFF8ED 52%, #FFFFFF 100%);
}

a {
  color: inherit;
  text-decoration: none;
  transition:
    color .18s ease,
    background .18s ease,
    border-color .18s ease,
    transform .18s ease,
    box-shadow .18s ease;
}

a:hover {
  color: var(--tyy-primary-dark);
}

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

button,
input,
textarea,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

::selection {
  color: #fff;
  background: var(--tyy-primary);
}

.container {
  width: min(calc(100% - 44px), var(--tyy-container));
  margin-inline: auto;
}

.container-narrow {
  width: min(calc(100% - 44px), var(--tyy-narrow));
  margin-inline: auto;
}

.site-main {
  flex: 1 0 auto;
  width: 100%;
}

/* ------------------------------
   2. 可访问性与阅读进度
------------------------------ */

.skip-link {
  position: absolute;
  left: -999px;
  top: 12px;
  z-index: 2000;
  padding: 8px 12px;
  border-radius: 10px;
  background: #fff;
  box-shadow: var(--tyy-shadow-soft);
}

.skip-link:focus {
  left: 12px;
}

.reading-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 3000;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--tyy-primary), #E6B56E);
}

/* ------------------------------
   3. 顶部提示条
------------------------------ */

.site-notice,
.top-notice {
  background: linear-gradient(90deg, #39271B, #6E4728);
  color: #FFF8ED;
  font-size: 14px;
}

.notice-inner,
.top-notice-inner {
  min-height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
  text-align: center;
}

.notice-inner a,
.top-notice a {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border: 1px solid rgba(255, 248, 237, .45);
  border-radius: 999px;
  color: #FFF8ED;
  font-weight: 700;
  white-space: nowrap;
}

.notice-inner a:hover,
.top-notice a:hover {
  background: rgba(255, 255, 255, .12);
  color: #fff;
}

/* ------------------------------
   4. 头部、品牌和导航
------------------------------ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 253, 248, .94);
  backdrop-filter: saturate(130%) blur(18px);
  -webkit-backdrop-filter: saturate(130%) blur(18px);
  border-bottom: 1px solid var(--tyy-line);
}

.header-inner {
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

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

.brand-logo,
.footer-brand img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #fff;
  object-fit: contain;
  box-shadow: 0 8px 22px rgba(68, 42, 20, .12);
}

.brand-copy,
.footer-brand span {
  display: grid;
  gap: 1px;
  line-height: 1.25;
  min-width: 0;
}

.brand-copy strong,
.footer-brand strong {
  font-size: 18px;
  letter-spacing: .04em;
  font-weight: 800;
  white-space: nowrap;
}

.brand-copy em,
.footer-brand em {
  color: var(--tyy-muted);
  font-size: 11.5px;
  font-style: normal;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 2px;
  white-space: nowrap;
}

.site-nav > a,
.site-nav .auth-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 7px 11px;
  border-radius: 999px;
  color: #4D3B2D;
  font-size: 14px;
  font-weight: 700;
}

.site-nav > a:hover,
.site-nav .auth-link:hover {
  background: var(--tyy-accent);
  color: var(--tyy-primary-dark);
}

.site-nav .nav-cta {
  margin-left: 4px;
  padding-inline: 14px;
  background: var(--tyy-ink);
  color: #fff;
}

.site-nav .nav-cta:hover {
  background: var(--tyy-primary-dark);
  color: #fff;
}

/* 登录状态区域：配合 /e/member/login/loginjs.php 输出 */
.nav-auth-wrap,
.nav-auth {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: 4px;
}

.nav-auth-wrap script {
  display: none;
}

.auth-link {
  border: 1px solid var(--tyy-line);
  background: #fff;
  white-space: nowrap;
}

.auth-register {
  background: var(--tyy-accent);
  color: var(--tyy-primary-dark) !important;
}

.auth-user {
  max-width: 118px;
  overflow: hidden;
  text-overflow: ellipsis;
  color: var(--tyy-primary-dark) !important;
  background: rgba(179, 122, 66, .10);
  font-weight: 800;
}

.auth-logout {
  color: var(--tyy-muted) !important;
}

.auth-logout:hover {
  background: var(--tyy-primary-dark) !important;
  color: #fff !important;
}

.nav-toggle {
  display: none;
  border: 0;
  background: transparent;
  padding: 9px;
  border-radius: 12px;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px 0;
  border-radius: 2px;
  background: var(--tyy-ink);
}

/* ------------------------------
   5. 按钮与通用区块
------------------------------ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 42px;
  padding: 10px 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 750;
  line-height: 1.2;
}

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

.btn-primary {
  background: var(--tyy-primary);
  color: #fff;
  box-shadow: 0 10px 24px rgba(179, 122, 66, .22);
}

.btn-primary:hover {
  background: var(--tyy-primary-dark);
  color: #fff;
}

.btn-ghost {
  background: #fff;
  border-color: var(--tyy-line);
  color: var(--tyy-ink);
}

.btn-ghost:hover {
  border-color: rgba(179, 122, 66, .45);
  background: var(--tyy-accent);
  color: var(--tyy-primary-dark);
}

.section {
  padding: 46px 0;
}

.compact-section {
  padding: 42px 0;
}

.section-title,
.section-title-row,
.v130-section-title {
  margin-bottom: 18px;
}

.section-title h2,
.section-title-row h2,
.v130-section-title h2 {
  margin: 0;
  font-size: clamp(20px, 2vw, 26px);
  line-height: 1.32;
  letter-spacing: -.01em;
}

.section-title p,
.section-title-row p,
.v130-section-title p {
  margin: 10px 0 0;
  max-width: 720px;
  color: var(--tyy-muted);
  font-size: 14.3px;
  line-height: 1.75;
}

.with-desc {
  text-align: center;
}

.with-desc p {
  margin-inline: auto;
}

.split-title {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 28px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  font-weight: 750;
  color: var(--tyy-primary-dark);
  border-bottom: 1px solid currentColor;
}

.cn-kicker,
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 12px;
  color: var(--tyy-primary-dark);
  font-size: 14px;
  font-weight: 800;
}

.cn-kicker::before,
.eyebrow::before {
  content: "";
  width: 16px;
  height: 2px;
  border-radius: 999px;
  background: var(--tyy-primary);
}

/* ------------------------------
   6. 首页 Hero
------------------------------ */

.home-hero,
.v130-hero {
  position: relative;
  overflow: hidden;
  padding: 26px 0 8px;
  background:
    radial-gradient(circle at 12% 18%, rgba(195, 139, 78, .16), transparent 34%),
    linear-gradient(180deg, #FFF7EA 0%, #FFFDF8 82%);
  border-bottom: 1px solid var(--tyy-line);
}

.home-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: url('/templets/tyy/images/hero-pattern.svg') center / 520px repeat;
  opacity: .10;
  pointer-events: none;
}

.home-hero > .container,
.v130-hero > .container {
  position: relative;
  z-index: 1;
}

.home-hero-grid,
.v130-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) 320px;
  gap: 28px;
  align-items: center;
  padding: 26px 0 22px;
}

.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  padding: 6px 12px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--tyy-line);
  box-shadow: 0 8px 22px rgba(68, 42, 20, .05);
  font-size: 13.5px;
  color: var(--tyy-muted);
}

.hero-label span {
  color: var(--tyy-primary-dark);
  font-weight: 800;
}

.hero-label i {
  font-style: normal;
}

.home-hero-copy h1,
.v130-hero-copy h1 {
  margin: 0;
  max-width: 760px;
  font-size: clamp(24px, 2.7vw, 34px);
  line-height: 1.28;
  letter-spacing: -.02em;
}

.home-hero-copy > p,
.v130-hero-copy p {
  margin: 18px 0 0;
  max-width: 720px;
  color: #5E5145;
  font-size: 15.2px;
  line-height: 1.82;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 22px;
}

.home-stat-row,
.v130-stat-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  max-width: 560px;
  margin-top: 14px;
}

.home-stat-row div,
.v130-stat-row div {
  min-width: 108px;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(255, 255, 255, .72);
  border: 1px solid var(--tyy-line);
  box-shadow: 0 8px 22px rgba(68, 42, 20, .05);
}

.home-stat-row strong,
.v130-stat-row strong {
  display: block;
  color: var(--tyy-primary-dark);
  font-size: 19px;
  line-height: 1.1;
}

.home-stat-row span,
.v130-stat-row span {
  display: block;
  margin-top: 4px;
  color: var(--tyy-muted);
  font-size: 13px;
}

.home-hero-card,
.v130-hero-card {
  position: relative;
  padding: 22px 20px;
  border-radius: 22px;
  background: rgba(255, 255, 255, .78);
  border: 1px solid rgba(179, 122, 66, .23);
  box-shadow: var(--tyy-shadow);
  text-align: center;
  align-self: center;
}

.home-hero-card img,
.v130-hero-card img {
  width: 145px;
  max-height: 145px;
  margin: 0 auto 14px;
  border-radius: 50%;
  object-fit: contain;
}

.home-hero-card h2,
.v130-hero-card h2 {
  margin: 12px 0 2px;
  font-size: 21px;
}

.home-hero-card p,
.v130-hero-card p {
  margin: 8px auto 14px;
  color: var(--tyy-muted);
}

.v130-mini-map {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 20px;
}

.v130-mini-map a {
  padding: 12px 10px;
  border-radius: 16px;
  background: rgba(255, 248, 237, .86);
  border: 1px solid rgba(179, 122, 66, .18);
  text-align: center;
}

.v130-mini-map strong {
  display: block;
  font-size: 14.5px;
  color: var(--tyy-primary-dark);
}

.v130-mini-map span {
  display: block;
  font-size: 12.5px;
  color: var(--tyy-muted);
}

/* ------------------------------
   7. 首页入口、服务、信任和 FAQ
------------------------------ */

.v130-entry-section {
  padding-top: 24px;
}

.v130-entry-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.v130-entry-card {
  position: relative;
  min-height: 185px;
  padding: 20px;
  border-radius: 20px;
  background: #fff;
  border: 1px solid var(--tyy-line);
  box-shadow: var(--tyy-shadow-soft);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.v130-entry-card::after {
  content: "";
  position: absolute;
  right: -32px;
  top: -38px;
  width: 118px;
  height: 118px;
  border-radius: 50%;
  background: rgba(179, 122, 66, .08);
}

.v130-entry-card.primary {
  background: linear-gradient(145deg, #fff 0%, #FFF7E8 100%);
  border-color: rgba(179, 122, 66, .28);
}

.v130-entry-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--tyy-shadow);
}

.entry-index {
  position: relative;
  z-index: 1;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--tyy-accent);
  color: var(--tyy-primary-dark);
  font-weight: 900;
}

.v130-entry-card h3 {
  position: relative;
  z-index: 1;
  margin: 14px 0 8px;
  font-size: 18px;
  line-height: 1.35;
}

.v130-entry-card p {
  position: relative;
  z-index: 1;
  margin: 0;
  color: var(--tyy-muted);
  font-size: 13.8px;
  line-height: 1.68;
}

.v130-entry-card em {
  position: relative;
  z-index: 1;
  margin-top: auto;
  padding-top: 18px;
  color: var(--tyy-primary-dark);
  font-style: normal;
  font-weight: 800;
}

.v130-service-section {
  padding-top: 28px;
}

.service-grid,
.cn-card-grid,
.v130-service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 15px;
}

.service-card {
  min-height: 150px;
  padding: 18px;
  border-radius: 22px;
  background: #fff;
  border: 1px solid var(--tyy-line);
  box-shadow: var(--tyy-shadow-soft);
}

.service-card span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  height: 34px;
  padding: 0 10px;
  border-radius: 999px;
  background: var(--tyy-accent);
  color: var(--tyy-primary-dark);
  font-weight: 800;
}

.service-card h3 {
  margin: 16px 0 8px;
  font-size: 17px;
  line-height: 1.35;
}

.service-card p {
  margin: 0;
  color: var(--tyy-muted);
  font-size: 14px;
}

.v130-trust-section {
  padding: 28px 0;
  background: linear-gradient(180deg, rgba(255, 248, 237, .78), rgba(255, 253, 248, 1));
}

.v130-trust-grid {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: 20px;
  align-items: stretch;
}

.v130-trust-copy,
.v130-trust-list > div {
  padding: 20px;
  border-radius: 20px;
  background: #fff;
  border: 1px solid var(--tyy-line);
  box-shadow: var(--tyy-shadow-soft);
}

.v130-trust-copy h2 {
  margin: 8px 0 10px;
  font-size: clamp(20px, 2vw, 25px);
  line-height: 1.35;
}

.v130-trust-copy p {
  margin: 0;
  color: var(--tyy-muted);
  font-size: 15px;
  line-height: 1.82;
}

.v130-trust-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.v130-trust-list strong {
  display: block;
  margin-bottom: 8px;
  font-size: 15.5px;
  color: var(--tyy-primary-dark);
}

.v130-trust-list span {
  color: var(--tyy-muted);
  font-size: 13.4px;
  line-height: 1.72;
}

.v130-faq-section {
  padding-top: 28px;
}

.faq-grid,
.v130-faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.faq-grid article,
.v130-faq-grid article {
  padding: 22px;
  border-radius: 20px;
  background: #fff;
  border: 1px solid var(--tyy-line);
  box-shadow: var(--tyy-shadow-soft);
}

.faq-grid h3,
.v130-faq-grid h3 {
  margin: 0 0 8px;
  font-size: 17px;
  line-height: 1.35;
}

.faq-grid p,
.v130-faq-grid p {
  margin: 0;
  color: var(--tyy-muted);
}

/* ------------------------------
   8. 帝国 CMS 列表页和内容页基础
------------------------------ */

.page-hero {
  padding: 34px 0 28px;
  background: linear-gradient(180deg, #FFF7EA 0%, #FFFDF8 86%);
  border-bottom: 1px solid var(--tyy-line);
}

.page-hero h1 {
  margin: 8px 0 8px;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.28;
  letter-spacing: -.02em;
}

.page-hero p {
  margin: 0;
  color: var(--tyy-muted);
  max-width: 760px;
}

.breadcrumb,
.doc-crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  color: var(--tyy-muted);
  font-size: 13px;
}

.breadcrumb a,
.doc-crumbs a {
  color: var(--tyy-primary-dark);
  font-weight: 700;
}

.article-list-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 24px;
  align-items: start;
}

.article-list-main {
  min-width: 0;
  background: #fff;
  border: 1px solid var(--tyy-line);
  border-radius: 22px;
  padding: 16px;
  box-shadow: var(--tyy-shadow-soft);
}

.list-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 2px 2px 14px;
  border-bottom: 1px solid var(--tyy-line);
  color: var(--tyy-muted);
  font-size: 14px;
}

.list-toolbar strong {
  font-size: 17px;
  color: var(--tyy-ink);
}

.empire-article-list {
  display: grid;
}

.empire-list-card {
  display: grid;
  grid-template-columns: 106px minmax(0, 1fr);
  gap: 14px;
  padding: 14px 2px;
  border-bottom: 1px solid var(--tyy-line);
}

.empire-list-card:last-child {
  border-bottom: 0;
}

.archive-thumb {
  position: relative;
  height: 78px;
  border-radius: 14px;
  overflow: hidden;
  background: #FFF3DF;
  display: grid;
  place-items: center;
  border: 1px solid rgba(179, 122, 66, .16);
}

.archive-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: relative;
  z-index: 2;
}

.archive-thumb img[src=""],
.archive-thumb img:not([src]) {
  display: none;
}

.archive-thumb-fallback {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: var(--tyy-primary-dark);
  font-weight: 900;
  background: linear-gradient(135deg, #FFF8ED, #F4E2C8);
}

.archive-card-body h2 {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
  margin: 0 0 6px;
  font-size: 17px;
  line-height: 1.45;
}

.archive-card-body h2 > a:first-child {
  color: var(--tyy-ink);
}

.archive-card-body p {
  margin: 0 0 8px;
  color: var(--tyy-muted);
  font-size: 14px;
  line-height: 1.7;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.archive-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  color: var(--tyy-muted);
  font-size: 13px;
}

.read-inline {
  font-size: 13px;
  font-weight: 800;
  color: var(--tyy-primary-dark);
  white-space: nowrap;
}

.empire-pagebar,
.pagination {
  padding: 16px 0 2px;
  text-align: center;
}

.empire-pagebar a,
.empire-pagebar span,
.pagination a,
.pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  height: 34px;
  margin: 2px;
  padding: 0 10px;
  border-radius: 10px;
  border: 1px solid var(--tyy-line);
  background: #fff;
  color: var(--tyy-primary-dark);
  font-weight: 700;
}

.empire-pagebar a:hover,
.pagination a:hover {
  background: var(--tyy-primary);
  color: #fff;
  border-color: var(--tyy-primary);
}

.article-list-side,
.article-aside-cn {
  display: grid;
  gap: 14px;
  position: sticky;
  top: 96px;
}

.side-card-cn {
  padding: 16px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid var(--tyy-line);
  box-shadow: var(--tyy-shadow-soft);
}

.side-card-cn strong {
  display: block;
  margin-bottom: 10px;
  font-size: 16px;
}

.side-card-cn a {
  display: block;
  padding: 8px 10px;
  margin: 4px 0;
  border-radius: 10px;
  color: #4D3B2D;
}

.side-card-cn a:hover {
  background: var(--tyy-accent);
}

.article-readable-head {
  padding: 42px 0 24px;
  background: linear-gradient(180deg, #FFF7EA 0%, #FFFDF8 90%);
  border-bottom: 1px solid var(--tyy-line);
}

.article-title-block {
  max-width: 920px;
}

.article-title-block h1 {
  margin: 0;
  font-size: clamp(27px, 3.5vw, 40px);
  line-height: 1.25;
  letter-spacing: -.025em;
}

.article-meta-cn {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-top: 14px;
  color: var(--tyy-muted);
  font-size: 13px;
}

.article-readable-section {
  padding-top: 26px;
}

.article-readable-layout {
  display: grid;
  grid-template-columns: minmax(0, 860px) 260px;
  gap: 30px;
  align-items: start;
  justify-content: center;
}

.article-content-cn {
  min-width: 0;
  padding: 30px 34px;
  border-radius: 22px;
  background: #fff;
  border: 1px solid var(--tyy-line);
  box-shadow: var(--tyy-shadow-soft);
  color: #3E332A;
  font-size: 15.5px;
  line-height: 1.86;
}

.article-content-cn > :first-child {
  margin-top: 0;
}

.article-content-cn > :last-child {
  margin-bottom: 0;
}

.article-content-cn h2 {
  margin: 32px 0 14px;
  font-size: 22px;
  line-height: 1.38;
}

.article-content-cn h3 {
  margin: 26px 0 10px;
  font-size: 18.5px;
  line-height: 1.45;
}

.article-content-cn p {
  margin: 0 0 17px;
}

.article-content-cn ul,
.article-content-cn ol {
  padding-left: 1.3em;
  margin: 0 0 20px;
}

.article-content-cn blockquote {
  margin: 24px 0;
  padding: 16px 20px;
  border-left: 4px solid var(--tyy-primary);
  background: #FFF9F0;
  border-radius: 0 16px 16px 0;
  color: #5E5145;
}

.article-content-cn table {
  display: block;
  width: 100%;
  overflow-x: auto;
  border-collapse: collapse;
  margin: 24px 0;
}

.article-content-cn th,
.article-content-cn td {
  padding: 10px 12px;
  border: 1px solid var(--tyy-line);
}

.article-content-cn th {
  background: var(--tyy-accent);
  color: var(--tyy-primary-dark);
  text-align: left;
}

.article-content-cn img {
  max-width: 100%;
  height: auto;
  border-radius: 14px;
}

.article-foot-cn {
  margin-top: 26px;
  padding-top: 18px;
  border-top: 1px solid var(--tyy-line);
}

.taxonomy-row-cn {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-bottom: 18px;
}

.taxonomy-row-cn a {
  display: inline-flex;
  align-items: center;
  padding: 7px 11px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--tyy-line);
  color: var(--tyy-primary-dark);
  font-weight: 700;
}

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

.post-cursor-cn a {
  padding: 16px 18px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid var(--tyy-line);
  color: #4D3B2D;
}

/* ------------------------------
   9. 页脚
------------------------------ */

.site-footer {
  flex-shrink: 0;
  margin-top: 0;
  background: #2E241A;
  color: rgba(255, 248, 237, .82);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(3, 1fr);
  gap: 28px;
  padding: 32px 0 24px;
}

.footer-grid h2 {
  margin: 0 0 12px;
  color: #fff;
  font-size: 15px;
}

.footer-grid a {
  display: block;
  margin: 7px 0;
  color: rgba(255, 248, 237, .78);
  font-size: 13.5px;
}

.footer-grid a:hover {
  color: #fff;
}

.footer-about p {
  max-width: 390px;
  margin: 12px 0 0;
  color: rgba(255, 248, 237, .72);
  font-size: 13.5px;
  line-height: 1.8;
}

.footer-brand img {
  box-shadow: none;
}

.footer-brand strong {
  color: #fff;
}

.footer-brand em {
  color: rgba(255, 248, 237, .62);
}

.footer-bottom {
  display: grid;
  gap: 8px;
  padding: 10px 0 18px;
  color: rgba(255, 248, 237, .64);
  font-size: 13px;
}

.footer-beian {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  color: rgba(255, 248, 237, .58);
}

.footer-beian a {
  color: rgba(255, 248, 237, .62);
}

.footer-beian a:hover {
  color: #fff;
}

.site-footer-simple {
  flex-shrink: 0;
  margin-top: auto;
  padding: 0;
  background: #2B2118;
  color: rgba(255, 248, 237, .74);
}

.footer-simple-inner {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 0;
}

.footer-simple-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #fff;
}

.footer-simple-brand img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: contain;
}

.footer-simple-brand span {
  display: grid;
  gap: 1px;
  line-height: 1.2;
}

.footer-simple-brand strong {
  color: #fff;
  font-size: 18px;
  letter-spacing: .04em;
}

.footer-simple-brand em {
  color: rgba(255, 248, 237, .58);
  font-size: 11px;
  font-style: normal;
  letter-spacing: .08em;
}

.footer-simple-meta {
  display: grid;
  justify-items: end;
  gap: 7px;
  font-size: 13px;
}

.footer-copy {
  color: rgba(255, 248, 237, .56);
}

.back-to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 1000;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: var(--tyy-primary);
  color: #fff;
  box-shadow: var(--tyy-shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  pointer-events: none;
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

/* ------------------------------
   10. 响应式
------------------------------ */

@media (max-width: 1080px) {
  .home-hero-grid,
  .v130-hero-grid,
  .v130-trust-grid,
  .article-list-layout,
  .article-readable-layout {
    grid-template-columns: 1fr;
  }

  .home-hero-card,
  .v130-hero-card {
    max-width: 480px;
    margin-inline: auto;
  }

  .v130-entry-grid,
  .v130-trust-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .service-grid,
  .cn-card-grid,
  .v130-service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .article-list-side,
  .article-aside-cn {
    position: static;
  }

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

@media (max-width: 860px) {
  .container,
  .container-narrow {
    width: min(calc(100% - 28px), var(--tyy-container));
  }

  .notice-inner {
    justify-content: flex-start;
    overflow-x: auto;
    text-align: left;
  }

  .header-inner {
    height: 68px;
  }

  .brand-logo {
    width: 42px;
    height: 42px;
  }

  .brand-copy strong {
    font-size: 18px;
  }

  .brand-copy em {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    left: 14px;
    right: 14px;
    top: 108px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    padding: 14px;
    border-radius: 20px;
    background: rgba(255, 253, 248, .98);
    border: 1px solid var(--tyy-line);
    box-shadow: var(--tyy-shadow);
    white-space: normal;
  }

  .nav-open .site-nav,
  .site-nav.is-open,
  .site-nav.active {
    display: flex;
  }

  .site-nav > a,
  .site-nav .auth-link {
    width: 100%;
    justify-content: flex-start;
    padding: 10px 14px;
  }

  .nav-auth-wrap,
  .nav-auth {
    width: 100%;
    margin-left: 0;
    display: flex;
  }

  .auth-link {
    flex: 1;
    text-align: center;
    justify-content: center !important;
  }

  .section,
  .compact-section {
    padding: 36px 0;
  }

  .home-hero-grid,
  .v130-hero-grid {
    padding: 24px 0 18px;
  }

  .home-hero-copy h1,
  .v130-hero-copy h1 {
    font-size: clamp(24px, 7.2vw, 34px);
  }

  .v130-entry-grid,
  .v130-trust-list {
    grid-template-columns: 1fr;
  }

  .faq-grid,
  .v130-faq-grid {
    grid-template-columns: 1fr;
  }

  .split-title {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .empire-list-card {
    grid-template-columns: 92px minmax(0, 1fr);
  }

  .article-content-cn {
    padding: 24px 20px;
  }

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

  .footer-simple-inner {
    align-items: flex-start;
    flex-direction: column;
    min-height: auto;
    gap: 12px;
    padding: 18px 0;
  }

  .footer-simple-meta {
    justify-items: start;
  }
}

@media (max-width: 620px) {
  body {
    font-size: 15px;
  }

  .home-stat-row,
  .v130-stat-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
  }

  .home-stat-row div,
  .v130-stat-row div {
    min-width: 0;
    text-align: center;
  }

  .home-hero-card img,
  .v130-hero-card img {
    width: 132px;
  }

  .v130-mini-map {
    grid-template-columns: 1fr;
  }

  .service-grid,
  .cn-card-grid,
  .v130-service-grid {
    grid-template-columns: 1fr;
  }

  .empire-list-card {
    grid-template-columns: 76px minmax(0, 1fr);
    gap: 10px;
  }

  .archive-thumb {
    height: 62px;
  }

  .archive-card-body h2 {
    font-size: 15.5px;
  }

  .archive-card-body p {
    font-size: 13px;
    -webkit-line-clamp: 1;
  }

  .article-title-block h1 {
    font-size: 24px;
  }

  .article-content-cn {
    padding: 22px 18px;
  }

  .article-content-cn h2 {
    font-size: 21px;
  }

  .article-content-cn h3 {
    font-size: 18px;
  }

  .post-cursor-cn {
    grid-template-columns: 1fr;
  }
}

/* ------------------------------
   11. 打印
------------------------------ */

@media print {
  .site-notice,
  .site-header,
  .reading-progress,
  .skip-link,
  .nav-toggle,
  .hero-actions,
  .site-footer,
  .site-footer-simple {
    display: none !important;
  }

  body {
    color: #000;
    background: #fff;
  }

  .section,
  .home-hero {
    padding: 20px 0;
  }

  .container {
    width: 100%;
  }
}
