:root {
  --ink: #1f1714;
  --paper: #f4ead8;
  --paper-dark: #e3cfab;
  --red: #8b171b;
  --red-deep: #4a090b;
  --gold: #b88738;
  --gold-soft: #e7c783;
  --wood: #6f3d23;
  --muted: #7b6b5e;
  --line: rgba(120, 62, 28, 0.24);
  --shadow: 0 18px 45px rgba(55, 19, 8, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  position: relative;
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(139, 23, 27, 0.08), transparent 16%, transparent 84%, rgba(139, 23, 27, 0.08)),
    repeating-linear-gradient(0deg, rgba(112, 65, 30, 0.035) 0 1px, transparent 1px 42px),
    var(--paper);
  font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans SC", Arial, sans-serif;
  line-height: 1.7;
}

body::before,
body::after {
  position: fixed;
  pointer-events: none;
  content: "";
}

body::before {
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(circle at 92% 20%, transparent 0 92px, rgba(184, 135, 56, 0.16) 94px 97px, transparent 99px 132px, rgba(139, 23, 27, 0.12) 134px 137px, transparent 139px),
    radial-gradient(circle at 8% 78%, transparent 0 78px, rgba(184, 135, 56, 0.1) 80px 83px, transparent 85px 116px, rgba(139, 23, 27, 0.09) 118px 121px, transparent 123px),
    linear-gradient(90deg, rgba(74, 9, 11, 0.08) 0 18px, transparent 18px calc(100% - 18px), rgba(74, 9, 11, 0.08) calc(100% - 18px));
}

body::after {
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
  height: 22px;
  opacity: 0.22;
  background:
    linear-gradient(90deg, transparent, rgba(184, 135, 56, 0.46) 18%, rgba(139, 23, 27, 0.26) 50%, rgba(184, 135, 56, 0.46) 82%, transparent),
    linear-gradient(180deg, transparent, rgba(74, 9, 11, 0.12));
}

.site-header,
main,
.footer {
  position: relative;
  z-index: 1;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background:
    linear-gradient(180deg, rgba(82, 9, 11, 0.98), rgba(61, 7, 9, 0.98)),
    var(--red-deep);
  color: #fff7e8;
  border-bottom: 2px solid rgba(184, 135, 56, 0.72);
  backdrop-filter: blur(12px);
}

.site-header::before {
  position: absolute;
  left: 50%;
  bottom: -22px;
  width: min(760px, 78vw);
  height: 24px;
  transform: translateX(-50%);
  content: "";
  background:
    linear-gradient(90deg, transparent, rgba(231, 199, 131, 0.26), transparent),
    linear-gradient(180deg, rgba(184, 135, 56, 0.5), rgba(74, 9, 11, 0.12));
  clip-path: polygon(0 0, 8% 100%, 18% 18%, 28% 100%, 38% 18%, 50% 100%, 62% 18%, 72% 100%, 82% 18%, 92% 100%, 100% 0);
}

.site-header::after {
  display: block;
  height: 8px;
  content: "";
  background:
    repeating-linear-gradient(90deg, rgba(231, 199, 131, 0.82) 0 28px, rgba(74, 9, 11, 0.16) 28px 36px);
}

.topbar {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  max-width: 1440px;
  margin: 0 auto;
  padding: 8px 32px;
  color: var(--gold-soft);
  font-size: 13px;
  border-bottom: 1px solid rgba(228, 197, 141, 0.18);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: 1440px;
  margin: 0 auto;
  padding: 18px 32px;
}

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

.brand-mark {
  position: relative;
  display: grid;
  place-items: center;
  width: 58px;
  height: 64px;
  overflow: hidden;
  color: #ffe6ad;
  background:
    linear-gradient(180deg, rgba(255, 232, 174, 0.2), transparent 34%),
    linear-gradient(135deg, #7d1115, #350606);
  border: 3px solid rgba(255, 218, 145, 0.92);
  font-size: 34px;
  font-family: "KaiTi", "STKaiti", "SimSun", serif;
  font-weight: 900;
  line-height: 1;
  text-shadow: 0 2px 0 rgba(65, 7, 8, 0.8);
  box-shadow:
    inset 0 0 0 3px rgba(95, 20, 13, 0.62),
    inset 0 0 18px rgba(255, 218, 145, 0.22),
    0 10px 22px rgba(30, 6, 4, 0.26);
}

.brand-mark::before {
  position: absolute;
  top: 5px;
  left: 7px;
  right: 7px;
  height: 5px;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(255, 231, 177, 0.9), transparent);
}

.brand-mark::after {
  position: absolute;
  left: 7px;
  right: 7px;
  bottom: 6px;
  height: 4px;
  content: "";
  background: rgba(255, 218, 145, 0.84);
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 22px;
  letter-spacing: 0;
}

.brand small {
  margin-top: -2px;
  color: var(--gold-soft);
  font-size: 12px;
}

.header-phone {
  position: relative;
  display: grid;
  min-width: 210px;
  padding: 9px 22px 10px;
  overflow: hidden;
  color: #fff3cf;
  text-align: center;
  background:
    linear-gradient(180deg, rgba(255, 232, 174, 0.14), transparent 48%),
    rgba(72, 8, 10, 0.78);
  border: 1px solid rgba(231, 199, 131, 0.64);
  box-shadow:
    inset 0 0 0 1px rgba(126, 28, 19, 0.62),
    0 10px 24px rgba(30, 6, 4, 0.18);
}

.header-phone::before,
.header-phone::after {
  position: absolute;
  top: 50%;
  width: 28px;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(231, 199, 131, 0.86), transparent);
}

.header-phone::before {
  left: 10px;
}

.header-phone::after {
  right: 10px;
}

.header-phone span {
  color: var(--gold-soft);
  font-family: "SimSun", "Songti SC", serif;
  font-size: 13px;
}

.header-phone strong {
  margin-top: 2px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  flex: 1 1 auto;
  gap: 10px 22px;
  font-size: 16px;
  font-family: "SimSun", "Songti SC", serif;
}

.nav-links a {
  padding-bottom: 4px;
  border-bottom: 1px solid transparent;
}

.nav-links a:hover {
  color: var(--gold-soft);
  border-color: var(--gold-soft);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  min-height: 680px;
  color: #fff7e8;
  background: #1d1110;
  overflow: hidden;
}

.hero::before {
  position: absolute;
  right: clamp(24px, 8vw, 120px);
  bottom: 92px;
  z-index: 2;
  width: min(360px, 36vw);
  aspect-ratio: 1;
  content: "";
  opacity: 0.34;
  background:
    radial-gradient(circle, transparent 0 28%, rgba(231, 199, 131, 0.72) 29% 30%, transparent 31% 46%, rgba(231, 199, 131, 0.48) 47% 48%, transparent 49% 64%, rgba(231, 199, 131, 0.3) 65% 66%, transparent 67%);
}

.hero::after {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  height: 3px;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(231, 199, 131, 0.82) 16%, rgba(231, 199, 131, 0.92) 50%, rgba(231, 199, 131, 0.82) 84%, transparent);
}

.hero-image {
  position: absolute;
  inset: 0;
}

.hero-image::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, rgba(38, 6, 6, 0.92) 0%, rgba(38, 6, 6, 0.62) 42%, rgba(38, 6, 6, 0.2) 100%),
    linear-gradient(0deg, rgba(74, 9, 11, 0.68), transparent 46%);
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-copy {
  position: relative;
  z-index: 3;
  align-self: center;
  max-width: 1440px;
  width: 100%;
  margin: 0 auto;
  padding: 128px 32px 88px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold-soft);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 720px;
  margin: 0;
  font-family: "SimSun", "Songti SC", serif;
  font-size: clamp(46px, 6vw, 82px);
  line-height: 1.08;
  font-weight: 700;
  letter-spacing: 0;
}

.hero-copy > p:not(.eyebrow) {
  max-width: 660px;
  margin: 24px 0 0;
  color: rgba(255, 247, 232, 0.88);
  font-size: 19px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 28px;
  border: 1px solid var(--gold);
  font-weight: 700;
  font-family: "SimSun", "Songti SC", serif;
  font-size: 17px;
}

.btn.primary {
  color: var(--red-deep);
  background: linear-gradient(135deg, #f4d79c, #ad7a2e);
}

.btn.ghost {
  color: #fff7e8;
  background: rgba(255, 247, 232, 0.08);
}

.section,
.palace-guide,
.palace-news {
  position: relative;
  max-width: 1440px;
  margin: 0 auto;
  padding: 72px 32px;
}

.section::before,
.section::after {
  position: absolute;
  z-index: 0;
  width: 46px;
  height: 46px;
  pointer-events: none;
  content: "";
  opacity: 0.74;
}

.section::before {
  top: 38px;
  left: 14px;
  border-top: 2px solid rgba(184, 135, 56, 0.72);
  border-left: 2px solid rgba(139, 23, 27, 0.56);
}

.section::after {
  right: 14px;
  bottom: 38px;
  border-right: 2px solid rgba(184, 135, 56, 0.72);
  border-bottom: 2px solid rgba(139, 23, 27, 0.56);
}

.section > *,
.palace-guide > *,
.palace-news > * {
  position: relative;
  z-index: 1;
}

.palace-guide {
  display: grid;
  grid-template-columns: minmax(280px, 0.34fr) minmax(0, 0.66fr);
  gap: 16px;
  padding-top: 62px;
  padding-bottom: 54px;
  transform: none;
}

.guide-copy {
  position: relative;
  padding: 34px;
  color: #fff7e8;
  background: linear-gradient(135deg, var(--red), var(--red-deep));
  border: 1px solid rgba(184, 135, 56, 0.64);
  border-top: 4px solid var(--gold);
  box-shadow: 0 14px 34px rgba(58, 24, 10, 0.12);
}

.guide-copy::before,
.news-main::before,
.notice-main::before,
.standard-layout article::before,
.genre-card::before,
.genre-chapter::before,
.factory-copy::before,
.contact-card::before {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 42px;
  height: 42px;
  pointer-events: none;
  content: "";
  border-top: 2px solid rgba(184, 135, 56, 0.74);
  border-right: 2px solid rgba(184, 135, 56, 0.5);
}

.guide-copy h2 {
  margin: 0 0 12px;
  font-family: "SimSun", "Songti SC", serif;
  font-size: 32px;
  line-height: 1.16;
}

.guide-copy p:not(.eyebrow) {
  margin: 0;
  color: rgba(255, 247, 232, 0.82);
}

.guide-times {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  background: rgba(255, 250, 241, 0.96);
  border: 1px solid var(--line);
  border-top: 4px solid rgba(184, 135, 56, 0.72);
  box-shadow: 0 14px 34px rgba(58, 24, 10, 0.1);
}

.guide-times div {
  min-height: 166px;
  padding: 26px 24px;
  border-left: 1px solid var(--line);
}

.guide-times div:first-child {
  border-left: 0;
}

.guide-times strong {
  display: block;
  color: var(--gold);
  font-family: Georgia, serif;
  font-size: 28px;
}

.guide-times span {
  display: block;
  margin-top: 18px;
  font-size: 23px;
  font-family: "SimSun", "Songti SC", serif;
  font-weight: 700;
}

.guide-times small {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
}

.palace-news {
  display: grid;
  grid-template-columns: minmax(0, 0.62fr) minmax(320px, 0.38fr);
  gap: 28px;
  padding-top: 20px;
}

.news-main,
.notice-main {
  position: relative;
  background: rgba(255, 250, 241, 0.9);
  border-top: 4px solid var(--red);
  border-bottom: 1px solid var(--line);
  padding: 28px 32px;
}

.section-title-mini {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
  color: var(--red);
  font-family: "SimSun", "Songti SC", serif;
  font-size: 27px;
  font-weight: 700;
}

.section-title-mini a {
  color: var(--muted);
  font-family: "Microsoft YaHei", sans-serif;
  font-size: 14px;
}

.news-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.news-list li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 72px;
  gap: 16px;
  padding: 13px 0;
  border-top: 1px solid var(--line);
}

.news-list li:first-child {
  border-top: 0;
}

.news-list a {
  color: var(--ink);
}

.news-list time {
  color: var(--gold);
  text-align: right;
  font-family: Georgia, serif;
}

.notice-main p {
  margin: 0;
  color: var(--muted);
}

.workbench {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 32px 54px;
}

.workbench div {
  min-height: 118px;
  padding: 24px 26px;
  color: #fff7e8;
  background: linear-gradient(180deg, var(--red), var(--red-deep));
  border-right: 1px solid rgba(231, 199, 131, 0.22);
  border-top: 2px solid var(--gold);
}

.workbench div:last-child {
  border-right: 0;
}

.workbench span,
.workbench strong,
.workbench small {
  display: block;
}

.workbench span {
  color: var(--gold-soft);
  font-size: 14px;
}

.workbench strong {
  margin-top: 8px;
  font-family: "SimSun", "Songti SC", serif;
  font-size: 24px;
  line-height: 1.22;
}

.workbench small {
  margin-top: 8px;
  color: rgba(255, 247, 232, 0.72);
}

.standard-layout {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.standard-layout article {
  position: relative;
  min-height: 260px;
  padding: 30px 26px;
  background:
    linear-gradient(180deg, rgba(255, 250, 241, 0.96), rgba(246, 230, 198, 0.92));
  border: 1px solid var(--line);
  border-top: 4px solid var(--red);
  box-shadow: 0 12px 28px rgba(58, 24, 10, 0.08);
}

.core-product-links {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.core-product-links a {
  position: relative;
  min-height: 280px;
  padding: 30px 24px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 250, 241, 0.96), rgba(246, 230, 198, 0.92));
  border: 1px solid var(--line);
  border-top: 4px solid var(--red);
  box-shadow: 0 12px 28px rgba(58, 24, 10, 0.08);
}

.core-product-links a::before {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 42px;
  height: 42px;
  pointer-events: none;
  content: "";
  border-top: 2px solid rgba(184, 135, 56, 0.74);
  border-right: 2px solid rgba(184, 135, 56, 0.5);
}

.core-product-links a:hover {
  transform: translateY(-2px);
  border-color: rgba(184, 135, 56, 0.78);
}

.standard-layout span {
  display: block;
  color: var(--gold);
  font-family: Georgia, serif;
  font-size: 28px;
}

.standard-layout h3 {
  margin: 30px 0 12px;
  color: var(--red-deep);
  font-family: "SimSun", "Songti SC", serif;
  font-size: 28px;
  line-height: 1.18;
}

.standard-layout p {
  margin: 0;
  color: var(--muted);
}

.standard-note {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 24px;
  align-items: center;
  margin-top: 18px;
  padding: 26px 30px;
  color: #fff7e8;
  background: linear-gradient(135deg, var(--red), var(--red-deep));
  border: 1px solid rgba(184, 135, 56, 0.64);
}

.standard-note strong {
  color: var(--gold-soft);
  font-family: "SimSun", "Songti SC", serif;
  font-size: 26px;
}

.standard-note p {
  margin: 0;
  color: rgba(255, 247, 232, 0.84);
}

.section-heading {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(280px, 0.3fr);
  gap: 32px;
  align-items: end;
  margin-bottom: 32px;
  border-top: 4px solid var(--red);
  padding-top: 26px;
}

.section-heading::after {
  position: absolute;
  top: -20px;
  right: 0;
  width: 170px;
  height: 30px;
  content: "";
  opacity: 0.34;
  background:
    linear-gradient(180deg, rgba(184, 135, 56, 0.75), rgba(139, 23, 27, 0.18));
  clip-path: polygon(0 100%, 8% 56%, 20% 100%, 32% 44%, 50% 100%, 68% 44%, 80% 100%, 92% 56%, 100% 100%);
}

.section-heading h2 {
  grid-column: 1;
  margin: 0;
  font-family: "SimSun", "Songti SC", serif;
  font-size: clamp(36px, 4vw, 58px);
  line-height: 1.1;
}

.section-heading .eyebrow {
  grid-column: 1 / -1;
  margin-bottom: -20px;
  color: var(--gold);
}

.section-heading p:not(.eyebrow) {
  grid-column: 2;
  margin: 0;
  color: var(--muted);
}

.feature-panel {
  display: grid;
  grid-template-columns: 0.72fr 1fr;
  gap: 0;
  align-items: stretch;
  margin-bottom: 46px;
  color: #fff7e8;
  background: linear-gradient(135deg, var(--red-deep), #251412);
  border: 1px solid rgba(185, 138, 66, 0.58);
  box-shadow: var(--shadow);
}

.feature-panel > div {
  padding: 44px;
}

.feature-panel h3 {
  margin: 0 0 18px;
  font-family: "SimSun", "Songti SC", serif;
  font-size: clamp(28px, 3.4vw, 44px);
  line-height: 1.18;
}

.feature-panel p:not(.eyebrow) {
  margin: 0;
  color: rgba(255, 247, 232, 0.82);
}

.feature-link {
  margin-top: 24px;
}

.feature-panel img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
}

.home-opera-board {
  display: grid;
  grid-template-columns: minmax(360px, 0.38fr) minmax(0, 0.62fr);
  gap: 0;
  color: #fff7e8;
  background: linear-gradient(135deg, var(--red-deep), #251412);
  border: 1px solid rgba(184, 135, 56, 0.62);
  box-shadow: var(--shadow);
}

.home-opera-feature {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  background: #1d1110;
}

.home-opera-feature::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(0deg, rgba(38, 6, 6, 0.92), rgba(38, 6, 6, 0.24) 64%),
    linear-gradient(90deg, rgba(184, 135, 56, 0.18), transparent 52%);
}

.home-opera-feature img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
}

.home-opera-feature div {
  position: absolute;
  left: 30px;
  right: 30px;
  bottom: 30px;
  z-index: 1;
}

.home-opera-feature span,
.home-opera-feature strong {
  display: block;
}

.home-opera-feature span {
  color: var(--gold-soft);
  font-family: Georgia, serif;
  font-size: 20px;
}

.home-opera-feature strong {
  margin-top: 10px;
  font-family: "SimSun", "Songti SC", serif;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.12;
}

.home-opera-feature p {
  max-width: 430px;
  margin: 16px 0 0;
  color: rgba(255, 247, 232, 0.82);
}

.home-opera-menu {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-content: stretch;
  background:
    linear-gradient(90deg, rgba(139, 23, 27, 0.18), transparent 26%),
    rgba(255, 247, 232, 0.055);
}

.home-opera-menu a {
  position: relative;
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  min-height: 104px;
  padding: 22px 26px;
  border-left: 1px solid rgba(231, 199, 131, 0.2);
  border-bottom: 1px solid rgba(231, 199, 131, 0.18);
}

.home-opera-menu a::before {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 28px;
  height: 28px;
  content: "";
  border-top: 2px solid rgba(231, 199, 131, 0.54);
  border-right: 2px solid rgba(231, 199, 131, 0.36);
}

.home-opera-menu a:hover {
  background: rgba(231, 199, 131, 0.12);
}

.home-opera-menu span {
  color: var(--gold-soft);
  font-family: Georgia, serif;
  font-size: 26px;
}

.home-opera-menu strong {
  font-family: "SimSun", "Songti SC", serif;
  font-size: 25px;
  line-height: 1.16;
}

.gallery-group {
  margin-top: 46px;
}

.group-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid rgba(139, 23, 27, 0.36);
}

.group-title h3 {
  margin: 0;
  font-family: "SimSun", "Songti SC", serif;
  font-size: 28px;
}

.group-title span {
  color: var(--red);
  font-weight: 700;
}

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

figure {
  position: relative;
  overflow: hidden;
  margin: 0;
  background: #fbf2e3;
  border: 1px solid rgba(110, 56, 22, 0.28);
  box-shadow: 0 10px 26px rgba(58, 24, 10, 0.1);
}

figure::before {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  width: 52px;
  height: 52px;
  pointer-events: none;
  content: "";
  border-top: 3px solid rgba(184, 135, 56, 0.82);
  border-left: 3px solid rgba(139, 23, 27, 0.5);
}

figure img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

figcaption {
  display: flex;
  align-items: center;
  min-height: 46px;
  padding: 0 16px;
  color: var(--wood);
  font-weight: 700;
  border-top: 1px solid rgba(110, 56, 22, 0.18);
}

.single-showcase {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 0;
  background: #fbf2e3;
  border: 1px solid var(--line);
  box-shadow: 0 14px 34px rgba(58, 24, 10, 0.1);
}

.single-showcase img {
  width: 100%;
  height: 420px;
  object-fit: cover;
}

.single-showcase div {
  padding: 34px;
  align-self: center;
}

.single-showcase h4 {
  margin: 0 0 12px;
  color: var(--red);
  font-size: 26px;
}

.single-showcase p {
  margin: 0;
  color: var(--muted);
}

.martial {
  max-width: none;
  margin: 32px 0 0;
  padding-left: max(32px, calc((100vw - 1376px) / 2 + 32px));
  padding-right: max(32px, calc((100vw - 1376px) / 2 + 32px));
  color: #fff7e8;
  background:
    linear-gradient(135deg, rgba(74, 9, 11, 0.96), rgba(31, 23, 20, 0.94)),
    repeating-linear-gradient(90deg, transparent 0 50px, rgba(228, 197, 141, 0.08) 50px 51px);
}

.martial .section-heading {
  border-color: var(--gold);
}

.martial .section-heading .eyebrow,
.martial .section-heading p {
  color: var(--gold-soft);
}

.martial-layout {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.martial-layout article {
  padding: 34px;
  border: 1px solid rgba(228, 197, 141, 0.28);
  background: rgba(255, 247, 232, 0.055);
}

.martial-layout h3 {
  margin: 0 0 12px;
  font-size: 24px;
}

.martial-layout p {
  margin: 0;
  color: rgba(255, 247, 232, 0.78);
}

.martial-showcase {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr 0.85fr 1.15fr;
  gap: 16px;
  margin-top: 26px;
}

.martial-showcase figure {
  color: var(--ink);
  background: #fbf2e3;
  border-color: rgba(228, 197, 141, 0.38);
}

.martial-showcase figure img {
  aspect-ratio: 4 / 3;
}

.knowledge-section {
  background:
    linear-gradient(90deg, rgba(139, 23, 27, 0.07), transparent 24%, transparent 76%, rgba(139, 23, 27, 0.07)),
    rgba(255, 250, 241, 0.58);
}

.knowledge-layout {
  display: grid;
  grid-template-columns: minmax(360px, 0.42fr) minmax(0, 0.58fr);
  gap: 18px;
}

.knowledge-feature {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  color: #fff7e8;
  background: var(--red-deep);
  border: 1px solid rgba(184, 135, 56, 0.62);
  box-shadow: var(--shadow);
}

.knowledge-feature::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(0deg, rgba(38, 6, 6, 0.92), rgba(38, 6, 6, 0.18) 68%),
    linear-gradient(90deg, rgba(184, 135, 56, 0.2), transparent 48%);
}

.knowledge-feature img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
}

.knowledge-feature div {
  position: absolute;
  left: 32px;
  right: 32px;
  bottom: 32px;
  z-index: 1;
}

.knowledge-feature span,
.knowledge-feature strong {
  display: block;
}

.knowledge-feature span {
  color: var(--gold-soft);
  font-family: Georgia, serif;
  font-size: 20px;
}

.knowledge-feature strong {
  margin-top: 10px;
  font-family: "SimSun", "Songti SC", serif;
  font-size: clamp(30px, 3vw, 44px);
  line-height: 1.12;
}

.knowledge-feature p {
  margin: 16px 0 22px;
  color: rgba(255, 247, 232, 0.82);
}

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

.knowledge-list a {
  min-height: 160px;
  padding: 24px;
  background: #fbf2e3;
  border: 1px solid var(--line);
  border-top: 4px solid var(--red);
  box-shadow: 0 10px 26px rgba(58, 24, 10, 0.08);
}

.knowledge-list span,
.knowledge-list strong,
.knowledge-list small {
  display: block;
}

.knowledge-list span {
  color: var(--gold);
  font-family: Georgia, serif;
  font-size: 24px;
}

.knowledge-list strong {
  margin-top: 14px;
  color: var(--red-deep);
  font-family: "SimSun", "Songti SC", serif;
  font-size: 24px;
  line-height: 1.2;
}

.knowledge-list small {
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
}

.answer-engine {
  background:
    linear-gradient(90deg, rgba(139, 23, 27, 0.06), transparent 26%, transparent 74%, rgba(184, 135, 56, 0.08)),
    rgba(255, 250, 241, 0.54);
}

.answer-layout {
  display: grid;
  grid-template-columns: minmax(360px, 0.42fr) minmax(0, 0.58fr);
  gap: 18px;
}

.answer-feature {
  position: relative;
  min-height: 560px;
  overflow: hidden;
  color: #fff7e8;
  background: var(--red-deep);
  border: 1px solid rgba(184, 135, 56, 0.62);
  box-shadow: var(--shadow);
}

.answer-feature::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(0deg, rgba(38, 6, 6, 0.94), rgba(38, 6, 6, 0.18) 70%),
    linear-gradient(90deg, rgba(184, 135, 56, 0.2), transparent 52%);
}

.answer-feature img {
  width: 100%;
  height: 100%;
  min-height: 560px;
  object-fit: cover;
}

.answer-feature div {
  position: absolute;
  left: 32px;
  right: 32px;
  bottom: 32px;
  z-index: 1;
}

.answer-feature span {
  display: block;
  color: var(--gold-soft);
  font-weight: 700;
}

.answer-feature strong {
  display: block;
  margin-top: 10px;
  font-family: "SimSun", "Songti SC", serif;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.16;
}

.answer-feature p {
  margin: 16px 0 22px;
  color: rgba(255, 247, 232, 0.84);
}

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

.answer-list article {
  position: relative;
  min-height: 270px;
  padding: 30px;
  background: rgba(255, 250, 241, 0.94);
  border: 1px solid var(--line);
  border-top: 4px solid var(--red);
  box-shadow: 0 12px 28px rgba(58, 24, 10, 0.08);
}

.answer-list article::before {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 42px;
  height: 42px;
  pointer-events: none;
  content: "";
  border-top: 2px solid rgba(184, 135, 56, 0.74);
  border-right: 2px solid rgba(184, 135, 56, 0.5);
}

.answer-list h3 {
  margin: 0 0 12px;
  max-width: 86%;
  color: var(--red-deep);
  font-family: "SimSun", "Songti SC", serif;
  font-size: 24px;
  line-height: 1.24;
}

.answer-list p {
  margin: 0;
  color: var(--muted);
}

.genre-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.genre-card {
  position: relative;
  overflow: hidden;
  min-height: 150px;
  padding: 22px;
  background: #fbf2e3;
  border: 1px solid var(--line);
}

.genre-card::after {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 8px;
  content: "";
  background:
    repeating-linear-gradient(90deg, rgba(139, 23, 27, 0.26) 0 30px, rgba(184, 135, 56, 0.18) 30px 42px);
}

.genre-card.active {
  color: #fff7e8;
  background: linear-gradient(135deg, var(--red), var(--red-deep));
  border-color: var(--gold);
}

.genre-card.ready {
  border-color: rgba(184, 135, 56, 0.78);
  background:
    linear-gradient(180deg, rgba(184, 135, 56, 0.16), rgba(251, 242, 227, 0.96));
}

.genre-card span,
.genre-card strong,
.genre-card small {
  display: block;
}

.genre-card span {
  color: var(--gold);
  font-family: Georgia, serif;
  font-size: 24px;
}

.genre-card strong {
  margin-top: 16px;
  font-size: 24px;
}

.genre-card small {
  margin-top: 8px;
  color: var(--muted);
}

.genre-card.active small {
  color: var(--gold-soft);
}

.collection-wall {
  padding-top: 48px;
}

.collection-wall .genre-chapter {
  display: none;
}

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

.genre-page-entry-grid a {
  position: relative;
  min-height: 260px;
  overflow: hidden;
  color: #fff7e8;
  background: var(--red-deep);
  border: 1px solid rgba(184, 135, 56, 0.56);
  box-shadow: 0 14px 32px rgba(58, 24, 10, 0.12);
}

.genre-page-entry-grid a::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(0deg, rgba(46, 9, 8, 0.86), rgba(46, 9, 8, 0.12) 72%),
    linear-gradient(90deg, rgba(184, 135, 56, 0.22), transparent 48%);
}

.genre-page-entry-grid img {
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
}

.genre-page-entry-grid span,
.genre-page-entry-grid strong {
  position: absolute;
  left: 20px;
  z-index: 1;
}

.genre-page-entry-grid span {
  bottom: 58px;
  color: var(--gold-soft);
  font-family: Georgia, serif;
  font-size: 20px;
}

.genre-page-entry-grid strong {
  bottom: 22px;
  font-family: "SimSun", "Songti SC", serif;
  font-size: 25px;
}

.genre-chapter {
  position: relative;
  overflow: hidden;
  margin-top: 36px;
  padding: 30px;
  background:
    linear-gradient(90deg, rgba(139, 23, 27, 0.08), transparent 24%),
    rgba(251, 242, 227, 0.92);
  border-top: 4px solid var(--red);
  border-bottom: 1px solid var(--line);
}

.chapter-head {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 22px;
  align-items: center;
  margin-bottom: 24px;
}

.chapter-head > span {
  display: grid;
  place-items: center;
  width: 78px;
  height: 78px;
  color: var(--red-deep);
  background: linear-gradient(135deg, #f7dda7, #a97125);
  border: 2px solid rgba(74, 9, 11, 0.18);
  font-family: Georgia, serif;
  font-size: 30px;
}

.chapter-head h3 {
  margin: 0 0 6px;
  color: var(--red-deep);
  font-family: "SimSun", "Songti SC", serif;
  font-size: clamp(30px, 3vw, 42px);
  line-height: 1.1;
}

.chapter-head p {
  margin: 0;
  color: var(--muted);
}

.chapter-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.chapter-grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.chapter-grid.one {
  grid-template-columns: minmax(0, 1fr);
}

.chapter-gallery-block {
  margin-top: 28px;
}

.chapter-gallery-block h4 {
  margin: 0 0 14px;
  padding-bottom: 8px;
  color: var(--red-deep);
  border-bottom: 1px solid rgba(139, 23, 27, 0.28);
  font-family: "SimSun", "Songti SC", serif;
  font-size: 24px;
}

.chapter-grid figure img {
  aspect-ratio: 4 / 3;
}

.chapter-grid figcaption {
  justify-content: center;
  min-height: 52px;
  font-family: "SimSun", "Songti SC", serif;
  font-size: 18px;
}

body.genre-page {
  background:
    linear-gradient(90deg, rgba(139, 23, 27, 0.1), transparent 16%, transparent 84%, rgba(139, 23, 27, 0.1)),
    repeating-linear-gradient(0deg, rgba(112, 65, 30, 0.035) 0 1px, transparent 1px 42px),
    var(--paper);
}

.genre-detail-layout {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  max-width: 1600px;
  margin: 0 auto;
  padding: 42px 32px 82px;
  gap: 28px;
}

.genre-sidebar {
  position: sticky;
  top: 126px;
  align-self: start;
  padding: 24px;
  color: #fff7e8;
  background:
    linear-gradient(180deg, rgba(82, 9, 11, 0.98), rgba(43, 8, 7, 0.98));
  border: 1px solid rgba(184, 135, 56, 0.62);
  box-shadow: var(--shadow);
}

.genre-sidebar::before {
  position: absolute;
  top: -12px;
  left: 22px;
  right: 22px;
  height: 18px;
  content: "";
  background: rgba(184, 135, 56, 0.45);
  clip-path: polygon(0 100%, 8% 32%, 20% 100%, 32% 20%, 50% 100%, 68% 20%, 80% 100%, 92% 32%, 100% 100%);
}

.back-home {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  color: var(--red-deep);
  background: linear-gradient(135deg, #f4d79c, #ad7a2e);
  font-weight: 700;
}

.genre-sidebar h2 {
  margin: 24px 0 14px;
  color: var(--gold-soft);
  font-family: "SimSun", "Songti SC", serif;
  font-size: 25px;
}

.genre-sidebar nav {
  display: grid;
  gap: 8px;
}

.genre-side-link {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  align-items: center;
  min-height: 50px;
  padding: 8px 10px;
  border: 1px solid rgba(231, 199, 131, 0.18);
  background: rgba(255, 247, 232, 0.045);
}

.genre-side-link span {
  color: var(--gold-soft);
  font-family: Georgia, serif;
}

.genre-side-link strong {
  font-family: "SimSun", "Songti SC", serif;
  font-size: 18px;
}

.genre-side-link.active {
  color: var(--red-deep);
  background: linear-gradient(135deg, #f7dda7, #a97125);
  border-color: rgba(255, 247, 232, 0.72);
}

.genre-side-link.active span {
  color: var(--red-deep);
}

.genre-detail-main {
  min-width: 0;
}

.genre-detail-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.42fr) minmax(0, 0.58fr);
  min-height: 520px;
  overflow: hidden;
  color: #fff7e8;
  background: linear-gradient(135deg, var(--red-deep), #23110f);
  border: 1px solid rgba(184, 135, 56, 0.62);
  box-shadow: var(--shadow);
}

.genre-detail-hero > div {
  padding: 50px;
  align-self: center;
}

.genre-detail-hero span[data-genre-number] {
  display: block;
  color: var(--gold-soft);
  font-family: Georgia, serif;
  font-size: 42px;
}

.genre-detail-hero h1 {
  margin: 16px 0 22px;
  font-family: "SimSun", "Songti SC", serif;
  font-size: clamp(42px, 5vw, 72px);
  line-height: 1.05;
}

.genre-detail-hero p:not(.eyebrow) {
  color: rgba(255, 247, 232, 0.84);
  font-size: 18px;
}

.genre-detail-hero img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
}

.genre-page-note {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  gap: 24px;
  align-items: center;
  margin-top: 20px;
  padding: 24px 28px;
  background: #fbf2e3;
  border-top: 4px solid var(--red);
  border-bottom: 1px solid var(--line);
}

.genre-page-note strong {
  color: var(--red-deep);
  font-family: "SimSun", "Songti SC", serif;
  font-size: 25px;
}

.genre-page-note p {
  margin: 0;
  color: var(--muted);
}

.detail-gallery-block {
  margin-top: 36px;
}

.detail-block-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid rgba(139, 23, 27, 0.36);
}

.detail-block-title h2 {
  margin: 0;
  color: var(--red-deep);
  font-family: "SimSun", "Songti SC", serif;
  font-size: 30px;
}

.detail-block-title span {
  color: var(--gold);
  font-weight: 700;
}

.detail-grid {
  display: grid;
  gap: 18px;
}

.detail-grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.detail-grid.one {
  grid-template-columns: minmax(0, 1fr);
}

.detail-grid figure img {
  aspect-ratio: 16 / 10;
}

.genre-seo-block {
  margin-top: 28px;
  padding: 32px;
  background: #fbf2e3;
  border-top: 4px solid var(--red);
  border-bottom: 1px solid var(--line);
}

.genre-seo-block h2 {
  margin: 0 0 14px;
  color: var(--red-deep);
  font-family: "SimSun", "Songti SC", serif;
  font-size: 30px;
}

.genre-seo-block p {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.9;
}

.genre-related-panel {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 36px;
}

.genre-related-panel > div {
  padding: 28px;
  background: #fbf2e3;
  border: 1px solid var(--line);
  border-top: 4px solid var(--red);
}

.genre-related-panel h2 {
  margin: 0 0 14px;
  color: var(--red-deep);
  font-family: "SimSun", "Songti SC", serif;
  font-size: 27px;
}

.genre-related-panel a {
  display: block;
  padding: 12px 0;
  color: var(--wood);
  border-top: 1px solid rgba(110, 56, 22, 0.16);
  font-weight: 700;
}

.article-page main {
  position: relative;
  z-index: 1;
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 32px;
  max-width: 1380px;
  margin: 0 auto;
  padding: 56px 32px 86px;
}

.article-main {
  min-width: 0;
  padding: 48px;
  background: rgba(255, 250, 241, 0.94);
  border-top: 4px solid var(--red);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 14px 34px rgba(58, 24, 10, 0.1);
}

.article-main h1 {
  margin: 0;
  color: var(--red-deep);
  font-family: "SimSun", "Songti SC", serif;
  font-size: clamp(34px, 4vw, 56px);
  line-height: 1.12;
}

.article-lead {
  margin: 22px 0 0;
  color: #5f5047;
  font-size: 19px;
  line-height: 1.9;
}

.article-hero-img {
  width: 100%;
  margin: 32px 0 10px;
  aspect-ratio: 16 / 8;
  object-fit: cover;
  border: 1px solid rgba(110, 56, 22, 0.28);
  box-shadow: 0 12px 30px rgba(58, 24, 10, 0.1);
}

.article-main section {
  margin-top: 34px;
}

.article-main h2 {
  margin: 0 0 14px;
  color: var(--red-deep);
  font-family: "SimSun", "Songti SC", serif;
  font-size: 29px;
  line-height: 1.25;
}

.article-main p {
  margin: 0 0 14px;
  color: #5f5047;
  font-size: 17px;
  line-height: 2;
}

.article-cta {
  margin-top: 40px;
  padding: 30px;
  color: #fff7e8;
  background: linear-gradient(135deg, var(--red), var(--red-deep));
  border: 1px solid rgba(184, 135, 56, 0.64);
}

.article-cta strong {
  display: block;
  color: var(--gold-soft);
  font-family: "SimSun", "Songti SC", serif;
  font-size: 27px;
}

.article-cta p {
  margin: 12px 0 20px;
  color: rgba(255, 247, 232, 0.84);
}

.article-aside {
  position: sticky;
  top: 132px;
  align-self: start;
  padding: 24px;
  color: #fff7e8;
  background: linear-gradient(180deg, rgba(82, 9, 11, 0.98), rgba(43, 8, 7, 0.98));
  border: 1px solid rgba(184, 135, 56, 0.62);
  box-shadow: var(--shadow);
}

.article-aside h2 {
  margin: 0 0 16px;
  color: var(--gold-soft);
  font-family: "SimSun", "Songti SC", serif;
  font-size: 25px;
}

.article-aside a {
  display: block;
  padding: 13px 0;
  color: rgba(255, 247, 232, 0.86);
  border-top: 1px solid rgba(231, 199, 131, 0.18);
}

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

.keyword-article-grid a {
  min-height: 142px;
  padding: 22px;
  background: #fbf2e3;
  border: 1px solid var(--line);
  border-top: 4px solid var(--red);
}

.keyword-article-grid span,
.keyword-article-grid strong,
.keyword-article-grid small {
  display: block;
}

.keyword-article-grid span {
  color: var(--gold);
  font-family: Georgia, serif;
}

.keyword-article-grid strong {
  margin-top: 10px;
  color: var(--red-deep);
  font-family: "SimSun", "Songti SC", serif;
  font-size: 23px;
}

.keyword-article-grid small {
  margin-top: 8px;
  color: var(--muted);
}

.process {
  max-width: none;
  padding-left: max(32px, calc((100vw - 1376px) / 2 + 32px));
  padding-right: max(32px, calc((100vw - 1376px) / 2 + 32px));
  background:
    linear-gradient(90deg, rgba(139, 23, 27, 0.08), transparent 18%, transparent 82%, rgba(139, 23, 27, 0.08)),
    rgba(255, 250, 241, 0.5);
}

.process-board {
  display: grid;
  grid-template-columns: minmax(360px, 0.42fr) minmax(0, 0.58fr);
  gap: 0;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.process-photo {
  min-height: 100%;
  background: #1d1110;
}

.process-photo img {
  width: 100%;
  height: 100%;
  min-height: 580px;
  object-fit: cover;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  background: #fbf2e3;
}

.process-steps article {
  min-height: 190px;
  padding: 28px;
  border-left: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.process-steps span {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  color: var(--red-deep);
  background: linear-gradient(135deg, #f7dda7, #a97125);
  font-family: "SimSun", "Songti SC", serif;
  font-weight: 700;
}

.process-steps h3 {
  margin: 18px 0 8px;
  color: var(--red-deep);
  font-family: "SimSun", "Songti SC", serif;
  font-size: 26px;
}

.process-steps p {
  margin: 0;
  color: var(--muted);
}

.case-band {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 18px;
  color: #fff7e8;
  background: linear-gradient(135deg, var(--red), var(--red-deep));
  border-top: 2px solid var(--gold);
}

.case-band a {
  min-height: 74px;
  display: grid;
  place-items: center;
  padding: 16px;
  border-right: 1px solid rgba(231, 199, 131, 0.22);
  font-family: "SimSun", "Songti SC", serif;
  font-size: 21px;
}

.case-band a:last-child {
  border-right: 0;
}

.factory {
  display: grid;
  grid-template-columns: minmax(0, 0.62fr) minmax(320px, 0.38fr);
  gap: 42px;
  align-items: stretch;
}

.factory-copy {
  position: relative;
  padding: 46px;
  background: #fbf2e3;
  border: 1px solid var(--line);
}

.factory-copy h2 {
  margin: 0 0 20px;
  font-family: "SimSun", "Songti SC", serif;
  font-size: clamp(34px, 4vw, 54px);
  line-height: 1.12;
}

.factory-copy p:not(.eyebrow) {
  color: var(--muted);
  font-size: 17px;
}

.factory-stats {
  display: grid;
  gap: 14px;
}

.factory-stats div {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 150px;
  padding: 28px;
  color: #fff7e8;
  background: linear-gradient(135deg, var(--red), var(--red-deep));
  border: 1px solid rgba(185, 138, 66, 0.45);
}

.factory-stats strong {
  font-family: "SimSun", "Songti SC", serif;
  font-size: 36px;
}

.factory-stats span {
  color: var(--gold-soft);
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.48fr) minmax(320px, 0.52fr);
  gap: 36px;
  align-items: center;
}

.contact h2 {
  margin: 0 0 16px;
  font-family: "SimSun", "Songti SC", serif;
  font-size: clamp(34px, 4vw, 54px);
}

.contact p {
  color: var(--muted);
}

.contact-card {
  position: relative;
  padding: 34px;
  color: #fff7e8;
  background: linear-gradient(135deg, #321714, #170d0c);
  border: 1px solid var(--gold);
}

.contact-card p {
  margin: 0 0 12px;
  color: rgba(255, 247, 232, 0.84);
}

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

.wechat-contact {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 24px;
  align-items: center;
  margin-top: 18px;
  padding: 24px;
  color: var(--ink);
  background: rgba(255, 250, 241, 0.94);
  border: 1px solid var(--line);
  border-top: 4px solid var(--gold);
}

.wechat-contact img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
  background: #fff;
  border: 1px solid rgba(120, 62, 28, 0.18);
}

.wechat-contact h3 {
  margin: 0 0 10px;
  color: var(--red-deep);
  font-family: "SimSun", "Songti SC", serif;
  font-size: 28px;
}

.wechat-contact p {
  margin: 0 0 8px;
  color: var(--muted);
}

.mobile-contact-bar {
  display: none;
}

.site-contact-line {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 18px;
  padding: 14px 24px;
  color: #fff7e8;
  background: linear-gradient(90deg, var(--red-deep), var(--red));
  border-top: 1px solid rgba(231, 199, 131, 0.32);
  border-bottom: 1px solid rgba(231, 199, 131, 0.32);
  font-size: 15px;
}

.site-contact-line a {
  color: var(--gold-soft);
  font-weight: 700;
}

.footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  padding: 28px 32px;
  color: var(--gold-soft);
  background: var(--red-deep);
}

.footer .icp {
  color: rgba(247, 223, 169, 0.78);
  font-size: 13px;
  letter-spacing: 0;
}

@media (max-width: 1080px) {
  .guide-times,
  .gallery,
  .martial-layout,
  .martial-showcase,
  .standard-layout,
  .core-product-links,
  .knowledge-layout,
  .knowledge-list,
  .answer-list,
  .article-layout,
  .case-band {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

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

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

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

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

  .feature-panel,
  .home-opera-board,
  .genre-detail-layout,
  .genre-detail-hero,
  .process-board,
  .answer-layout,
  .article-layout,
  .factory,
  .contact,
  .palace-guide,
  .palace-news {
    grid-template-columns: 1fr;
  }

  .guide-times {
    border-left: 1px solid var(--line);
  }

  .section-heading {
    grid-template-columns: 1fr;
  }

  .section-heading p:not(.eyebrow) {
    grid-column: 1;
  }

  .genre-sidebar {
    position: relative;
    top: auto;
  }

  .article-aside {
    position: relative;
    top: auto;
  }

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

@media (max-width: 760px) {
  body {
    padding-bottom: calc(78px + env(safe-area-inset-bottom));
  }

  .site-header::before {
    display: none;
  }

  .topbar,
  .footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .topbar {
    display: none;
  }

  .nav {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .brand {
    width: 100%;
    min-width: 0;
    gap: 12px;
  }

  .brand-mark {
    flex: 0 0 auto;
    width: 50px;
    height: 58px;
    font-size: 30px;
    border-width: 2px;
  }

  .brand strong {
    font-size: 24px;
    line-height: 1.18;
    white-space: nowrap;
  }

  .brand small {
    font-size: 14px;
    line-height: 1.2;
  }

  .header-phone {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    width: 100%;
    gap: 10px;
    padding: 8px 12px;
  }

  .header-phone::before,
  .header-phone::after {
    width: 38px;
  }

  .header-phone span {
    font-size: 13px;
  }

  .header-phone strong {
    margin-top: 0;
    font-size: 18px;
  }

  .nav-links {
    width: 100%;
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 8px;
    overflow-x: auto;
    padding: 4px 0 2px;
    font-size: 15px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .nav-links::-webkit-scrollbar {
    display: none;
  }

  .nav-links a {
    flex: 0 0 auto;
    min-height: 34px;
    padding: 6px 12px;
    color: #fff7e8;
    background: rgba(255, 247, 232, 0.08);
    border: 1px solid rgba(231, 199, 131, 0.24);
  }

  .hero {
    min-height: 560px;
  }

  .hero-copy {
    padding-top: 82px;
    padding-bottom: 76px;
  }

  .hero h1 {
    font-size: 40px;
  }

  .hero-copy > p:not(.eyebrow) {
    font-size: 16px;
  }

  .hero-actions {
    gap: 10px;
  }

  .btn {
    width: 100%;
  }

  .guide-times,
  .workbench,
  .gallery,
  .martial-layout,
  .martial-showcase,
  .home-opera-menu,
  .standard-layout,
  .core-product-links,
  .standard-note,
  .genre-page-entry-grid,
  .genre-page-note,
  .genre-related-panel,
  .knowledge-layout,
  .knowledge-list,
  .answer-layout,
  .answer-list,
  .keyword-article-grid,
  .article-layout,
  .detail-grid.three,
  .process-steps,
  .case-band,
  .genre-grid,
  .chapter-grid,
  .chapter-grid.three,
  .single-showcase {
    grid-template-columns: 1fr;
  }

  .chapter-head {
    grid-template-columns: 1fr;
  }

  .palace-guide {
    transform: none;
    padding-top: 32px;
  }

  .section,
  .palace-guide,
  .palace-news,
  .workbench {
    padding-left: 18px;
    padding-right: 18px;
  }

  .topbar,
  .nav {
    padding-left: 18px;
    padding-right: 18px;
  }

  .feature-panel > div,
  .factory-copy,
  .standard-layout article,
  .core-product-links a,
  .standard-note,
  .process-steps article,
  .article-main,
  .genre-seo-block,
  .genre-related-panel > div {
    padding: 28px;
  }

  .article-layout {
    padding-left: 18px;
    padding-right: 18px;
  }

  .article-hero-img {
    aspect-ratio: 4 / 3;
  }

  .single-showcase img {
    height: auto;
  }

  .home-opera-feature,
  .home-opera-feature img {
    min-height: 360px;
  }

  .home-opera-menu a {
    min-height: 82px;
  }

  .genre-detail-layout {
    padding-left: 18px;
    padding-right: 18px;
    padding-top: 18px;
  }

  .genre-detail-hero > div,
  .genre-sidebar {
    padding: 26px;
  }

  .genre-sidebar {
    position: sticky;
    top: 86px;
    z-index: 12;
    padding: 14px;
    margin: 0 -18px 16px;
    border-left: 0;
    border-right: 0;
  }

  .genre-sidebar::before {
    display: none;
  }

  .genre-sidebar h2 {
    display: none;
  }

  .genre-sidebar nav {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .genre-sidebar nav::-webkit-scrollbar {
    display: none;
  }

  .genre-side-link {
    min-width: 86px;
    min-height: 48px;
    grid-template-columns: 1fr;
    justify-items: center;
    padding: 7px 8px;
    text-align: center;
  }

  .genre-side-link strong {
    font-size: 15px;
  }

  .genre-side-link span {
    font-size: 13px;
  }

  .genre-detail-hero img,
  .genre-detail-hero {
    min-height: auto;
  }

  .wechat-contact {
    grid-template-columns: 1fr;
    padding: 18px;
  }

  .wechat-contact img {
    width: min(220px, 72vw);
    margin: 0 auto;
  }

  .footer {
    padding-bottom: 96px;
  }

  .site-contact-line {
    justify-content: flex-start;
    padding: 14px 18px;
    font-size: 14px;
  }

  .mobile-contact-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 50;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    min-height: 72px;
    padding-bottom: env(safe-area-inset-bottom);
    color: #fff;
    background: rgba(43, 42, 47, 0.98);
    border-top: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 -10px 28px rgba(0, 0, 0, 0.22);
  }

  .mobile-contact-bar a {
    display: grid;
    place-items: center;
    align-content: center;
    gap: 4px;
    min-height: 72px;
    font-size: 13px;
    line-height: 1.2;
  }

  .mobile-contact-bar span {
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    color: #2b2a2f;
    background: #fff;
    border-radius: 50%;
    font-weight: 700;
  }

  .mobile-contact-bar strong {
    display: block;
    font-weight: 700;
  }
}
