:root {
  --ink: #07100f;
  --panel: rgba(13, 24, 21, 0.82);
  --panel-soft: rgba(22, 35, 31, 0.72);
  --line: rgba(210, 166, 82, 0.36);
  --gold: #d7aa55;
  --gold-strong: #f1cf7a;
  --text: #f4ead0;
  --muted: #a99f88;
  --red: #c95b43;
  --jade: #68b6a0;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.45);
}

* {
  box-sizing: border-box;
}

html {
  background: #050807;
}

body {
  margin: 0;
  color: var(--text);
  font-family: "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", Arial, sans-serif;
  background:
    radial-gradient(circle at 24% 8%, rgba(188, 136, 61, 0.14), transparent 32rem),
    radial-gradient(circle at 86% 24%, rgba(75, 151, 132, 0.12), transparent 28rem),
    linear-gradient(180deg, #0b1412 0%, #050807 100%);
  min-height: 100vh;
}

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

picture {
  display: contents;
}

img {
  max-width: 100%;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(34px, 5vw, 72px);
  padding: 0 clamp(18px, 4vw, 48px);
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background .24s ease, border-color .24s ease, box-shadow .24s ease;
}

.site-header.is-scrolled {
  background: rgba(10, 9, 9, 0.96);
  border-bottom-color: rgba(215, 170, 85, 0.16);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.34);
}

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

.brand-mark {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  color: #f2d77b;
  background: rgba(8, 8, 8, 0.38);
  border: 3px solid #d7aa55;
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(215, 170, 85, 0.12), 0 8px 24px rgba(0, 0, 0, 0.28);
  font-weight: 800;
}

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

.brand strong {
  font-family: "SimSun", "Songti SC", "STSong", "Noto Serif SC", serif;
  color: #fff5dc;
  font-size: 28px;
  line-height: 1;
  letter-spacing: 0.14em;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.86), 0 0 14px rgba(0, 0, 0, 0.64);
}

.brand small {
  margin-top: 7px;
  color: #f0ddbb;
  font-size: 14px;
  letter-spacing: 0.22em;
  text-shadow: 0 2px 7px rgba(0, 0, 0, 0.86);
}

.main-nav {
  display: flex;
  gap: 10px;
  flex: none;
  justify-content: flex-start;
}

.mobile-nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(215, 170, 85, 0.38);
  border-radius: 8px;
  background: rgba(8, 8, 8, 0.34);
  cursor: pointer;
}

.mobile-nav-toggle span {
  width: 20px;
  height: 2px;
  display: block;
  margin: 4px 0;
  background: #f1cf7a;
  transition: transform .2s ease, opacity .2s ease;
}

.site-header.nav-open .mobile-nav-toggle span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.site-header.nav-open .mobile-nav-toggle span:nth-child(2) {
  opacity: 0;
}

.site-header.nav-open .mobile-nav-toggle span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.main-nav a,
.header-cta,
.btn,
.chip,
.tab-button {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 8px;
  transition: transform .2s ease, border-color .2s ease, background .2s ease, color .2s ease;
}

.main-nav a {
  padding: 0 12px;
  color: #fff0d2;
  font-weight: 700;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.94), 0 0 12px rgba(0, 0, 0, 0.72);
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--gold-strong);
  border-color: var(--line);
  background: rgba(215, 170, 85, 0.08);
}

.header-cta,
.btn.primary {
  min-width: 108px;
  min-height: 48px;
  padding: 0 24px;
  color: #fff6e7;
  background: linear-gradient(180deg, #c93b36, #9f1f1d);
  border: 1px solid rgba(255, 196, 148, 0.42);
  border-radius: 10px;
  font-weight: 700;
  box-shadow: inset 0 1px 0 rgba(255, 235, 206, 0.22), 0 14px 30px rgba(113, 18, 18, 0.34);
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.38);
}

.section {
  width: min(1180px, calc(100% - 36px));
  margin: 28px auto;
}

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 116px 0 92px;
  overflow: hidden;
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: var(--hero) center/cover no-repeat;
  transform: scale(1.04);
  animation: slowDrift 18s ease-in-out infinite alternate;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: transparent;
  pointer-events: none;
}

@keyframes slowDrift {
  from { transform: scale(1.04) translate3d(-8px, 0, 0); }
  to { transform: scale(1.08) translate3d(10px, -8px, 0); }
}

.hero-inner {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero-video {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-content {
  max-width: 860px;
  transform: translateY(34px);
}

.hero-sparks {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.hero-sparks span {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: 4px;
  height: 4px;
  border-radius: 999px;
  background: rgba(245, 222, 165, 0.92);
  box-shadow: 0 0 16px rgba(225, 192, 95, 0.85);
  animation: sparkFloat var(--dur) ease-in-out infinite;
  animation-delay: var(--delay);
}

@keyframes sparkFloat {
  0%, 100% {
    opacity: 0.2;
    transform: translateY(0) scale(0.8);
  }
  50% {
    opacity: 1;
    transform: translateY(-26px) scale(1.18);
  }
}

.eyebrow {
  color: #ffe28d;
  letter-spacing: 0.34em;
  font-size: 15px;
  margin: 0 0 12px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.96), 0 0 18px rgba(0, 0, 0, 0.72);
}

.hero h1 {
  margin: 0;
  color: #fff7e6;
  font-size: clamp(58px, 9vw, 118px);
  line-height: 1;
  font-family: "SimSun", "Songti SC", "STSong", "Noto Serif SC", serif;
  letter-spacing: 0.18em;
  text-indent: 0.18em;
  font-weight: 700;
  text-shadow:
    0 2px 0 rgba(68, 45, 22, 0.76),
    0 6px 18px rgba(0, 0, 0, 0.92),
    0 0 34px rgba(0, 0, 0, 0.78),
    0 0 22px rgba(245, 213, 136, 0.28);
}

.hero-subtitle {
  margin: 18px 0 0;
  color: #fff1d2;
  font-family: "SimSun", "Songti SC", "STSong", "Noto Serif SC", serif;
  font-size: clamp(22px, 3vw, 34px);
  letter-spacing: 0.3em;
  text-indent: 0.3em;
  text-shadow: 0 3px 13px rgba(0, 0, 0, 0.94), 0 0 18px rgba(0, 0, 0, 0.72);
}

.hero-copy {
  max-width: 650px;
  margin: 24px auto 0;
  color: #fff3db;
  font-size: 18px;
  line-height: 1.8;
  font-weight: 600;
  text-shadow: 0 2px 9px rgba(0, 0, 0, 0.96), 0 0 15px rgba(0, 0, 0, 0.78);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 28px;
}

.btn {
  padding: 0 22px;
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--line);
  color: var(--text);
}

.btn.primary:hover,
.header-cta:hover {
  background: linear-gradient(180deg, #d84a42, #ad2421);
}

.btn:hover,
.card-link:hover,
.quick-card:hover,
.media-card:hover {
  transform: translateY(-2px);
}

.server-card,
.panel,
.quick-card,
.card-link,
.media-card,
.article-card,
.detail-box {
  background: linear-gradient(180deg, var(--panel), rgba(8, 14, 13, 0.92));
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.server-card {
  padding: 20px;
}

.server-card span,
.meta,
.article-card p,
.detail-box .content {
  color: var(--muted);
}

.server-card strong {
  display: block;
  margin-top: 6px;
  color: var(--jade);
  font-size: 22px;
}

.hero-meta {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 24px;
  color: #d6cbb1;
}

.hero-meta span {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  padding: 0 14px;
  border: 1px solid rgba(215, 170, 85, 0.28);
  background: rgba(0, 0, 0, 0.28);
  border-radius: 999px;
}

.hero-scroll {
  position: absolute;
  left: 50%;
  bottom: 28px;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: var(--gold-strong);
  transform: translateX(-50%);
  opacity: 0.86;
}

.hero-scroll span {
  writing-mode: vertical-rl;
  letter-spacing: 0.18em;
  font-size: 13px;
}

.hero-scroll i {
  width: 1px;
  height: 68px;
  background: linear-gradient(180deg, var(--gold), transparent);
}

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

.notice-section {
  margin-top: 0;
  padding-top: 76px;
}

.notice-layout {
  display: grid;
  grid-template-columns: 360px minmax(0, 1fr);
  gap: 26px;
  align-items: start;
}

.ornate-panel,
.quick-access-strip {
  position: relative;
  background: rgba(16, 17, 20, 0.96);
  border: 1px solid rgba(198, 161, 92, 0.46);
  box-shadow: inset 0 0 0 1px rgba(255, 214, 123, 0.04), 0 24px 70px rgba(0, 0, 0, 0.36);
}

.ornate-panel::before,
.ornate-panel::after,
.quick-access-strip::before,
.quick-access-strip::after {
  content: "";
  position: absolute;
  width: 15px;
  height: 15px;
  border-color: #d6ac54;
}

.ornate-panel::before,
.quick-access-strip::before {
  top: -1px;
  left: -1px;
  border-top: 2px solid;
  border-left: 2px solid;
}

.ornate-panel::after,
.quick-access-strip::after {
  right: -1px;
  bottom: -1px;
  border-right: 2px solid;
  border-bottom: 2px solid;
}

.quick-board,
.urgent-board,
.news-board {
  padding: 22px 26px;
}

.quick-board .quick-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.quick-board .quick-card {
  min-height: 74px;
  border-radius: 0;
  background: linear-gradient(180deg, rgba(25, 26, 31, 0.96), rgba(11, 12, 14, 0.92));
}

.quick-board .quick-card span {
  display: block;
  overflow: hidden;
  color: #b8ae98;
  font-size: 13px;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.panel-more {
  display: inline-flex;
  margin-top: 14px;
  color: var(--gold);
  font-size: 14px;
}

.panel-heading,
.news-board-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(174, 131, 58, 0.42);
}

.news-board-head {
  justify-content: space-between;
}

.panel-heading p,
.news-board-head p {
  margin: 0 0 5px;
  color: #a59b86;
  font-size: 12px;
  letter-spacing: 0.26em;
}

.panel-heading h2,
.news-board-head h2 {
  margin: 0;
  color: #f0ce83;
  font-family: "SimSun", "Songti SC", "STSong", "Noto Serif SC", serif;
  font-size: 24px;
  letter-spacing: 0.12em;
  text-shadow: 0 0 16px rgba(240, 206, 131, 0.24);
}

.panel-mark {
  width: 42px;
  height: 48px;
  display: grid;
  place-items: center;
  flex: none;
  color: #e05d4c;
  border: 1px solid rgba(201, 91, 67, 0.72);
  font-family: "SimSun", "Songti SC", "STSong", "Noto Serif SC", serif;
  font-weight: 700;
  writing-mode: vertical-rl;
}

.news-board-head a {
  color: var(--muted);
  font-size: 14px;
}

.urgent-list-wrap {
  height: 152px;
  overflow: hidden;
}

.urgent-list {
  display: grid;
  gap: 16px;
  animation: urgentScroll 16s linear infinite;
}

.urgent-list:hover {
  animation-play-state: paused;
}

.urgent-item {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  min-height: 42px;
}

.urgent-item span {
  width: 34px;
  min-width: 34px;
  height: 40px;
  display: grid;
  place-items: center;
  color: #d65043;
  border: 1px solid rgba(201, 91, 67, 0.62);
  font-size: 12px;
  line-height: 1.1;
  writing-mode: vertical-rl;
}

.urgent-item strong {
  min-width: 0;
  overflow: hidden;
  color: #ded5c2;
  font-size: 15px;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@keyframes urgentScroll {
  from { transform: translateY(0); }
  to { transform: translateY(calc(-50% - 8px)); }
}

.notice-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  margin-bottom: 16px;
}

.notice-tabs .tab-button {
  min-height: 34px;
  padding: 0 0 8px;
  color: #b9b2a6;
  border: 0;
  border-radius: 0;
  background: transparent;
  position: relative;
}

.notice-tabs .tab-button.active {
  color: #f1d289;
  background: transparent;
  font-weight: 700;
}

.notice-tabs .tab-button.active::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 40px;
  height: 2px;
  background: #c62d2d;
}

.news-panel {
  display: none;
}

.news-panel.active {
  display: block;
}

.quick-access-strip {
  margin-top: 24px;
  padding: 26px 30px 30px;
}

.quick-access-strip .quick-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.quick-access-strip .quick-card {
  min-height: 112px;
  border-radius: 0;
  background: linear-gradient(180deg, rgba(25, 26, 31, 0.96), rgba(11, 12, 14, 0.92));
}

.panel {
  padding: 22px;
}

.section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.section-title h2,
.page-title h1 {
  margin: 0;
  font-size: 28px;
  font-family: "SimSun", "Songti SC", "STSong", "Noto Serif SC", serif;
  letter-spacing: 0.08em;
}

.section-title a {
  color: var(--gold);
  font-size: 14px;
}

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

.quick-card,
.card-link {
  padding: 16px;
  background: var(--panel-soft);
  min-height: 82px;
  transition: transform .2s ease, border-color .2s ease;
}

.link-grid .card-link {
  border-radius: 0;
  border: 1px solid rgba(198, 161, 92, 0.34);
  background: linear-gradient(180deg, rgba(25, 26, 31, 0.96), rgba(10, 11, 13, 0.94));
  box-shadow: inset 0 0 0 1px rgba(255, 214, 123, 0.03);
}

.link-grid .card-link:hover {
  border-color: rgba(241, 207, 122, 0.68);
  background: linear-gradient(180deg, rgba(39, 34, 25, 0.98), rgba(12, 13, 15, 0.96));
}

.quick-card strong,
.card-link strong {
  display: block;
  color: var(--gold-strong);
  margin-bottom: 6px;
}

.notice-list,
.article-list {
  display: grid;
  gap: 6px;
}

.notice-item {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr) 96px;
  gap: 12px;
  align-items: center;
  min-height: 42px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(215, 170, 85, 0.12);
}

.tag {
  justify-self: start;
  padding: 4px 9px;
  border-radius: 999px;
  color: #170d08;
  background: var(--gold);
  font-size: 12px;
  font-weight: 700;
}

.tag.red {
  background: var(--red);
  color: #fff1e9;
}

.notice-title {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.date {
  color: var(--muted);
  font-size: 13px;
  text-align: right;
}

.wide-promo {
  position: relative;
  height: clamp(150px, 18vw, 230px);
  overflow: hidden;
  border: 1px solid rgba(198, 161, 92, 0.42);
  box-shadow: inset 0 0 0 1px rgba(255, 214, 123, 0.04), 0 24px 70px rgba(0, 0, 0, 0.34);
}

.wide-promo::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 8, 7, 0.72), rgba(5, 8, 7, 0.1) 50%, rgba(5, 8, 7, 0.72)),
    linear-gradient(0deg, rgba(5, 8, 7, 0.48), transparent 48%, rgba(5, 8, 7, 0.36));
  pointer-events: none;
}

.wide-promo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center 58%;
}

.wide-promo-slim {
  height: clamp(120px, 14vw, 180px);
}

.data-link-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px 18px;
}

.data-link {
  min-height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #efe5c9;
  font-family: "SimSun", "Songti SC", "STSong", "Noto Serif SC", serif;
  font-size: 18px;
  letter-spacing: 0.08em;
  text-align: center;
  transition: color .2s ease, background .2s ease;
}

.data-link:hover {
  color: var(--gold-strong);
  background: rgba(215, 170, 85, 0.08);
}

.jianghu-features {
  padding: 28px 30px 34px;
  background:
    linear-gradient(90deg, rgba(9, 14, 13, 0.96), rgba(27, 23, 17, 0.92), rgba(9, 14, 13, 0.96));
  border-top: 1px solid rgba(198, 161, 92, 0.34);
  border-bottom: 1px solid rgba(198, 161, 92, 0.34);
}

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

.feature-line-item {
  min-height: 104px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 9px;
  padding: 12px 22px;
  border-right: 1px solid rgba(198, 161, 92, 0.24);
}

.feature-line-item:last-child {
  border-right: 0;
}

.feature-line-item strong {
  color: #f0ce83;
  font-family: "SimSun", "Songti SC", "STSong", "Noto Serif SC", serif;
  font-size: 24px;
  letter-spacing: 0.12em;
}

.feature-line-item span {
  color: #c8beaa;
  font-size: 14px;
  line-height: 1.7;
}

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

.media-grid {
  display: grid;
  grid-template-columns: 1.65fr 1fr;
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 18px;
  min-height: clamp(430px, 42vw, 560px);
}

.media-card {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: 18px;
  min-height: 0;
  border-radius: 0;
  border: 1px solid rgba(198, 161, 92, 0.32);
  background: center/cover no-repeat;
  box-shadow: inset 0 0 0 1px rgba(255, 214, 123, 0.03);
}

.media-card-main {
  grid-row: span 2;
}

.media-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0,0,0,.86), rgba(0,0,0,.14));
}

.video-card {
  cursor: pointer;
}

.video-card:focus-visible {
  outline: 2px solid var(--gold-strong);
  outline-offset: 3px;
}

.media-card > * {
  position: relative;
}

.media-card h3 {
  margin: 10px 0 6px;
  color: #f0ce83;
  font-family: "SimSun", "Songti SC", "STSong", "Noto Serif SC", serif;
  font-size: 22px;
  letter-spacing: 0.08em;
}

.media-card p {
  margin: 0;
  color: #d2c7b0;
  line-height: 1.6;
}

.media-card:not(.media-card-main) h3 {
  font-size: 18px;
}

.media-card:not(.media-card-main) p {
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  font-size: 13px;
}

.play-button {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(255, 225, 158, 0.72);
  color: #fff5df;
  background: rgba(160, 31, 28, 0.88);
  box-shadow: 0 0 0 8px rgba(160, 31, 28, 0.18), 0 14px 32px rgba(0, 0, 0, 0.44);
  font-size: 24px;
  cursor: pointer;
  pointer-events: none;
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}

.video-card:hover .play-button {
  transform: scale(1.06);
  background: rgba(201, 59, 54, 0.96);
  box-shadow: 0 0 0 10px rgba(201, 59, 54, 0.18), 0 18px 38px rgba(0, 0, 0, 0.5);
}

.page-hero {
  padding: 84px 0 30px;
  background: linear-gradient(180deg, rgba(13, 24, 21, .92), transparent);
}

.page-hero-ornate {
  position: relative;
  min-height: 330px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  padding: 128px 0 58px;
  border-bottom: 1px solid rgba(198, 161, 92, 0.34);
  background: #070b0a;
  isolation: isolate;
}

.page-hero-ornate::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: var(--hero) center 45%/cover no-repeat;
  transform: scale(1.04);
  opacity: 0.58;
  filter: saturate(0.88) contrast(1.04);
}

.page-hero-ornate::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(5, 8, 7, 0.94), rgba(5, 8, 7, 0.42) 54%, rgba(5, 8, 7, 0.86)),
    linear-gradient(0deg, #050807 0%, rgba(5, 8, 7, 0.18) 56%, rgba(5, 8, 7, 0.68) 100%);
}

.page-title {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
}

.page-title p:not(.module-kicker) {
  max-width: 560px;
  margin: 14px 0 0;
  color: #d5c8ad;
  line-height: 1.8;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}

.chip,
.tab-button {
  padding: 0 14px;
  color: #d8cfb8;
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(215, 170, 85, 0.22);
}

.chip.active,
.tab-button.active {
  color: #211507;
  background: var(--gold);
}

.article-card {
  padding: 20px;
}

.article-card h3 {
  margin: 0 0 10px;
}

.archive-section {
  margin-top: 34px;
}

.archive-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
  padding: 20px 24px;
  border-radius: 0;
}

.archive-head h2 {
  margin: 0;
  color: #f0ce83;
  font-family: "SimSun", "Songti SC", "STSong", "Noto Serif SC", serif;
  font-size: 28px;
  letter-spacing: 0.12em;
}

.archive-head span {
  color: var(--muted);
}

.archive-list {
  gap: 12px;
}

.archive-list .article-card {
  position: relative;
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr) 72px;
  gap: 18px;
  align-items: center;
  min-height: 132px;
  overflow: hidden;
  padding: 18px 22px;
  border-radius: 0;
  border-color: rgba(198, 161, 92, 0.42);
  background:
    linear-gradient(90deg, rgba(30, 26, 18, 0.96), rgba(12, 14, 14, 0.96) 42%, rgba(8, 11, 10, 0.98));
  box-shadow: inset 0 0 0 1px rgba(255, 214, 123, 0.04), 0 18px 46px rgba(0, 0, 0, 0.28);
}

.archive-list .article-card::before,
.detail-article::before,
.empty-box::before {
  content: "";
  position: absolute;
  top: -1px;
  left: -1px;
  width: 15px;
  height: 15px;
  border-top: 2px solid #d6ac54;
  border-left: 2px solid #d6ac54;
}

.archive-list .article-card::after,
.detail-article::after,
.empty-box::after {
  content: "";
  position: absolute;
  right: -1px;
  bottom: -1px;
  width: 15px;
  height: 15px;
  border-right: 2px solid #d6ac54;
  border-bottom: 2px solid #d6ac54;
}

.archive-list .article-card:hover {
  border-color: rgba(241, 207, 122, 0.72);
  background:
    linear-gradient(90deg, rgba(43, 35, 22, 0.98), rgba(15, 18, 17, 0.98) 42%, rgba(10, 13, 12, 0.98));
}

.archive-date {
  min-height: 78px;
  display: grid;
  place-items: center;
  align-content: center;
  border-right: 1px solid rgba(198, 161, 92, 0.26);
  color: #cdb98a;
  text-align: center;
}

.archive-date strong {
  display: block;
  color: #f0ce83;
  font-family: "SimSun", "Songti SC", "STSong", "Noto Serif SC", serif;
  font-size: 34px;
  line-height: 1;
}

.archive-date span {
  margin-top: 8px;
  color: var(--muted);
  font-size: 12px;
}

.archive-card-body {
  min-width: 0;
}

.archive-card-body h3 {
  overflow: hidden;
  margin: 10px 0 8px;
  color: #efe5c9;
  font-size: 21px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.archive-card-body p {
  display: -webkit-box;
  overflow: hidden;
  margin: 0;
  color: #bdb29a;
  line-height: 1.7;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.archive-arrow {
  justify-self: end;
  min-width: 54px;
  color: var(--gold);
  font-size: 14px;
  text-align: right;
}

.guide-archive-list .article-card {
  min-height: 66px;
  padding: 10px 18px;
  grid-template-columns: 68px minmax(0, 1fr) 54px;
  gap: 14px;
  background:
    linear-gradient(90deg, rgba(19, 27, 23, 0.96), rgba(12, 14, 14, 0.96) 44%, rgba(8, 11, 10, 0.98));
}

.guide-archive-list .archive-date {
  min-height: 48px;
}

.guide-archive-list .archive-date strong {
  font-size: 26px;
}

.guide-archive-list .archive-date span {
  margin-top: 4px;
  font-size: 11px;
}

.guide-archive-list .archive-card-body h3 {
  margin: 0;
  font-size: 18px;
}

.archive-list:not(.guide-archive-list) .article-card {
  min-height: 66px;
  padding: 10px 18px;
  grid-template-columns: 68px minmax(0, 1fr) 54px;
  gap: 14px;
}

.archive-list:not(.guide-archive-list) .archive-date {
  min-height: 48px;
}

.archive-list:not(.guide-archive-list) .archive-date strong {
  font-size: 26px;
}

.archive-list:not(.guide-archive-list) .archive-date span {
  margin-top: 4px;
  font-size: 11px;
}

.archive-list:not(.guide-archive-list) .archive-card-body h3 {
  margin: 0;
  font-size: 18px;
}

.detail-shell {
  margin-top: 34px;
}

.detail-article,
.empty-box {
  position: relative;
  border-radius: 0;
}

.detail-article {
  padding: clamp(26px, 5vw, 54px);
}

.detail-back {
  display: inline-flex;
  margin-bottom: 22px;
  color: var(--gold);
  font-size: 14px;
}

.detail-head h1 {
  max-width: 900px;
  margin: 14px 0 12px;
  color: #f2e8cd;
  font-family: "SimSun", "Songti SC", "STSong", "Noto Serif SC", serif;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.25;
  letter-spacing: 0.08em;
}

.detail-divider {
  height: 1px;
  margin: 26px 0 30px;
  background: linear-gradient(90deg, rgba(198, 161, 92, 0.72), rgba(198, 161, 92, 0.12), transparent);
}

.detail-content {
  max-width: 900px;
  color: #d8cfb8;
  font-size: 16px;
}

.detail-content p {
  line-height: 2;
}

.empty-box {
  padding: clamp(24px, 4vw, 42px);
}

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

.database-card {
  position: relative;
  min-height: 132px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  overflow: hidden;
  justify-content: center;
  padding: 22px 24px;
  border: 1px solid rgba(198, 161, 92, 0.38);
  background:
    linear-gradient(180deg, rgba(25, 26, 31, 0.96), rgba(8, 11, 10, 0.96)),
    radial-gradient(circle at 15% 0%, rgba(215, 170, 85, 0.12), transparent 18rem);
  box-shadow: inset 0 0 0 1px rgba(255, 214, 123, 0.03), 0 18px 46px rgba(0, 0, 0, 0.24);
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}

.database-card::before,
.database-card::after,
.download-tips::before,
.download-tips::after {
  content: "";
  position: absolute;
  width: 15px;
  height: 15px;
  border-color: #d6ac54;
}

.database-card::before,
.download-tips::before {
  top: -1px;
  left: -1px;
  border-top: 2px solid;
  border-left: 2px solid;
}

.database-card::after,
.download-tips::after {
  right: -1px;
  bottom: -1px;
  border-right: 2px solid;
  border-bottom: 2px solid;
}

.database-card:hover {
  transform: translateY(-2px);
  border-color: rgba(241, 207, 122, 0.68);
  background:
    linear-gradient(180deg, rgba(38, 33, 25, 0.98), rgba(9, 12, 11, 0.98)),
    radial-gradient(circle at 15% 0%, rgba(215, 170, 85, 0.16), transparent 18rem);
}

.database-card h3 {
  margin: 0 0 10px;
  color: #f0ce83;
  font-family: "SimSun", "Songti SC", "STSong", "Noto Serif SC", serif;
  font-size: 23px;
  letter-spacing: 0.1em;
}

.database-card p {
  display: -webkit-box;
  overflow: hidden;
  margin: 0;
  color: #bdb29a;
  line-height: 1.7;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

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

.gallery-card {
  min-height: 310px;
}

.gallery-card:first-child {
  grid-column: span 2;
  min-height: 430px;
}

.gallery-card:nth-child(4n) {
  grid-column: span 2;
}

.gallery-card .tag {
  display: inline-flex;
  margin-bottom: 10px;
}

.download-page-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, .8fr);
  gap: 18px;
  align-items: stretch;
}

.download-page-grid .download-card-main,
.download-page-grid .official-info {
  min-height: 320px;
}

.download-tips {
  position: relative;
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr);
  gap: 20px;
  align-items: center;
  padding: 18px 24px;
  border-radius: 0;
}

.download-tips strong {
  color: #f0ce83;
  font-family: "SimSun", "Songti SC", "STSong", "Noto Serif SC", serif;
  font-size: 22px;
  letter-spacing: 0.12em;
}

.download-tips span {
  color: #c8beaa;
  line-height: 1.8;
}

.detail-box {
  padding: clamp(22px, 4vw, 42px);
}

.detail-box h1 {
  margin-top: 0;
}

.content {
  line-height: 1.9;
  white-space: pre-wrap;
}

.formatted-content {
  white-space: normal;
}

.formatted-content h2,
.formatted-content h3 {
  margin: 28px 0 12px;
  color: #f0ce83;
  font-family: "SimSun", "Songti SC", "STSong", "Noto Serif SC", serif;
  letter-spacing: 0.08em;
}

.formatted-content h2:first-child,
.formatted-content h3:first-child,
.formatted-content p:first-child {
  margin-top: 0;
}

.formatted-content p {
  margin: 0 0 14px;
}

.formatted-content ul {
  margin: 0 0 18px;
  padding-left: 20px;
}

.formatted-content li {
  margin-bottom: 8px;
}

.formatted-content a {
  color: var(--gold-strong);
  border-bottom: 1px solid rgba(241, 207, 122, 0.38);
}

.formatted-content img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 18px 0;
  border: 1px solid rgba(198, 161, 92, 0.34);
}

.formatted-content figure {
  margin: 20px 0;
}

.formatted-content figcaption {
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
  text-align: center;
}

.formatted-content table {
  width: 100%;
  margin: 18px 0;
  border-collapse: collapse;
  background: rgba(9, 13, 12, 0.58);
}

.formatted-content th,
.formatted-content td {
  padding: 10px 12px;
  border: 1px solid rgba(198, 161, 92, 0.34);
  vertical-align: top;
}

.formatted-content th {
  color: #f0ce83;
  background: rgba(215, 170, 85, 0.1);
}

.formatted-content blockquote {
  margin: 20px 0;
  padding: 14px 18px;
  color: #e4d8bc;
  border-left: 3px solid var(--gold);
  background: rgba(215, 170, 85, 0.08);
}

.formatted-content iframe,
.formatted-content video {
  width: 100%;
  max-width: 900px;
  aspect-ratio: 16 / 9;
  display: block;
  margin: 18px 0;
  border: 1px solid rgba(198, 161, 92, 0.34);
  background: #000;
}

.download-center {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, .75fr);
  gap: 22px;
  align-items: stretch;
}

.download-card-main,
.official-info {
  position: relative;
  padding: 30px;
  background: linear-gradient(180deg, rgba(20, 21, 24, 0.96), rgba(8, 11, 10, 0.95));
  border: 1px solid rgba(198, 161, 92, 0.42);
  box-shadow: inset 0 0 0 1px rgba(255, 214, 123, 0.04), 0 24px 70px rgba(0, 0, 0, 0.34);
}

.download-card-main::before,
.official-info::before {
  content: "";
  position: absolute;
  left: -1px;
  top: -1px;
  width: 15px;
  height: 15px;
  border-top: 2px solid #d6ac54;
  border-left: 2px solid #d6ac54;
}

.download-card-main::after,
.official-info::after {
  content: "";
  position: absolute;
  right: -1px;
  bottom: -1px;
  width: 15px;
  height: 15px;
  border-right: 2px solid #d6ac54;
  border-bottom: 2px solid #d6ac54;
}

.module-kicker {
  margin: 0 0 8px;
  color: var(--gold);
  font-size: 12px;
  letter-spacing: 0.32em;
}

.download-card-main h2,
.official-info h2 {
  margin: 0;
  color: #f0ce83;
  font-family: "SimSun", "Songti SC", "STSong", "Noto Serif SC", serif;
  font-size: 32px;
  letter-spacing: 0.12em;
}

.download-card-main p:not(.module-kicker) {
  max-width: 620px;
  margin: 16px 0 0;
  color: #c8beaa;
  line-height: 1.8;
}

.download-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.official-info dl {
  display: grid;
  gap: 0;
  margin: 18px 0 0;
}

.official-info dl div {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 14px;
  min-height: 42px;
  align-items: center;
  border-bottom: 1px solid rgba(198, 161, 92, 0.18);
}

.official-info dl div:last-child {
  border-bottom: 0;
}

.official-info dt,
.official-info dd {
  margin: 0;
}

.official-info dt {
  color: var(--muted);
}

.official-info dd {
  color: #efe5c9;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.site-footer {
  width: min(1180px, calc(100% - 36px));
  margin: 52px auto 28px;
  padding: 24px 0;
  color: var(--muted);
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 18px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-legal {
  flex: 0 0 100%;
  display: grid;
  gap: 6px;
  font-size: 13px;
  line-height: 1.7;
}

.footer-legal p {
  margin: 0;
}

.side-qrs {
  position: fixed;
  inset: 0;
  z-index: 18;
  pointer-events: none;
}

.side-qr {
  position: absolute;
  top: 50%;
  width: 128px;
  display: grid;
  gap: 8px;
  justify-items: center;
  padding: 14px 12px;
  color: #f4ead0;
  background: rgba(10, 9, 9, 0.88);
  border: 1px solid rgba(215, 170, 85, 0.42);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.38);
  transform: translateY(-50%);
  pointer-events: auto;
}

.side-qr::before,
.side-qr::after {
  content: "";
  position: absolute;
  width: 13px;
  height: 13px;
  border-color: #d6ac54;
}

.side-qr::before {
  top: -1px;
  left: -1px;
  border-top: 2px solid;
  border-left: 2px solid;
}

.side-qr::after {
  right: -1px;
  bottom: -1px;
  border-right: 2px solid;
  border-bottom: 2px solid;
}

.side-qr-left {
  left: 18px;
}

.side-qr-right {
  right: 18px;
}

.side-qr strong {
  color: #f0ce83;
  font-family: "SimSun", "Songti SC", "STSong", "Noto Serif SC", serif;
  font-size: 18px;
  letter-spacing: 0.08em;
}

.side-qr img {
  width: 104px;
  height: 104px;
  display: block;
  object-fit: cover;
  padding: 5px;
  background: #fff;
}

.side-qr span {
  color: #cdbf9e;
  font-size: 12px;
}

.notice-popup {
  position: fixed;
  inset: 0;
  z-index: 110;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(0, 0, 0, 0.72);
}

.notice-popup-open {
  overflow: hidden;
}

.notice-popup-panel {
  position: relative;
  width: min(680px, 100%);
  max-height: min(78vh, 720px);
  overflow: auto;
  padding: clamp(24px, 4vw, 42px);
  border-radius: 0;
  background:
    linear-gradient(180deg, rgba(20, 21, 24, 0.98), rgba(8, 11, 10, 0.98)),
    radial-gradient(circle at 50% 0%, rgba(215, 170, 85, 0.16), transparent 24rem);
}

.notice-popup-panel h2 {
  margin: 8px 0 10px;
  color: #f0ce83;
  font-family: "SimSun", "Songti SC", "STSong", "Noto Serif SC", serif;
  font-size: clamp(28px, 4vw, 42px);
  letter-spacing: 0.08em;
}

.notice-popup-image {
  width: 100%;
  max-height: 360px;
  display: block;
  object-fit: cover;
  margin: 18px 0;
  border: 1px solid rgba(198, 161, 92, 0.34);
}

.notice-popup-content {
  max-height: 320px;
  overflow: auto;
  margin: 22px 0 24px;
}

.notice-popup-close {
  position: absolute;
  top: 16px;
  right: 18px;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(215, 170, 85, 0.42);
  border-radius: 50%;
  color: #f4ead0;
  background: rgba(0, 0, 0, 0.46);
  font-size: 24px;
  cursor: pointer;
}

.video-dialog {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(0, 0, 0, .82);
  backdrop-filter: blur(2px);
}

.video-open {
  overflow: hidden;
}

.video-frame {
  width: min(1080px, 100%);
  aspect-ratio: 16 / 9;
  border: 1px solid var(--line);
  background: #000;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.72);
}

.video-frame iframe,
.video-frame video {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.video-close {
  position: absolute;
  top: 22px;
  right: 28px;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--text);
  background: rgba(20, 20, 20, .78);
  font-size: 28px;
  cursor: pointer;
}

@media (max-width: 900px) {
  .site-header {
    height: auto;
    flex-wrap: wrap;
    padding-block: 12px;
  }

  .main-nav {
    order: 3;
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
  }

  .hero-inner,
  .notice-layout,
  .grid-2,
  .media-grid,
  .download-center {
    grid-template-columns: 1fr;
  }

  .media-grid {
    grid-template-rows: none;
    min-height: auto;
  }

  .media-card,
  .media-card-main {
    min-height: 260px;
    grid-row: auto;
  }

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

  .hero h1 {
    letter-spacing: 0.08em;
    text-indent: 0.08em;
  }

  .hero-subtitle,
  .eyebrow {
    letter-spacing: 0.12em;
    text-indent: 0.12em;
  }

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

  .database-grid,
  .gallery-grid,
  .download-page-grid {
    grid-template-columns: 1fr;
  }

  .gallery-card,
  .gallery-card:first-child,
  .gallery-card:nth-child(4n) {
    min-height: 280px;
    grid-column: auto;
  }

  .download-tips {
    grid-template-columns: 1fr;
  }

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

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

  .feature-line-item:nth-child(2n) {
    border-right: 0;
  }

  .notice-item {
    grid-template-columns: 64px minmax(0, 1fr);
  }

  .notice-item .date {
    display: none;
  }

  .page-hero-ornate {
    min-height: 280px;
    padding: 118px 0 44px;
  }

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

  .archive-list .article-card {
    grid-template-columns: 62px minmax(0, 1fr);
    gap: 14px;
    min-height: 126px;
  }

  .archive-arrow {
    display: none;
  }

  .archive-date {
    min-height: 70px;
    border-right-color: rgba(198, 161, 92, 0.2);
  }

  .archive-date strong {
    font-size: 28px;
  }

  .archive-card-body h3 {
    font-size: 18px;
  }

  .site-footer {
    flex-direction: column;
  }

  .side-qrs {
    display: none;
  }
}

@media (max-width: 900px) {
  body.mobile-nav-open {
    overflow: hidden;
  }

  .site-header {
    min-height: 68px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 42px auto;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
  }

  .site-header.is-scrolled,
  .site-header.nav-open {
    background: rgba(10, 9, 9, 0.96);
    border-bottom-color: rgba(215, 170, 85, 0.18);
  }

  .brand {
    min-width: 0;
    gap: 10px;
  }

  .brand-mark {
    width: 46px;
    height: 46px;
    border-width: 2px;
    font-size: 14px;
  }

  .brand strong {
    max-width: 8em;
    overflow: hidden;
    font-size: 22px;
    letter-spacing: 0.08em;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .brand small {
    overflow: hidden;
    max-width: 10em;
    margin-top: 4px;
    font-size: 12px;
    letter-spacing: 0.12em;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .mobile-nav-toggle {
    display: flex;
    position: relative;
    z-index: 24;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(10, 9, 9, 0.74);
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.34);
  }

  .main-nav {
    position: absolute;
    top: calc(100% + 8px);
    left: 12px;
    right: 12px;
    order: initial;
    width: auto;
    display: none;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    overflow: visible;
    padding: 12px;
    background: rgba(10, 9, 9, 0.97);
    border: 1px solid rgba(215, 170, 85, 0.28);
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.48);
  }

  .site-header.nav-open .main-nav {
    display: grid;
  }

  .main-nav a {
    min-height: 42px;
    justify-content: center;
    padding: 0 10px;
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(215, 170, 85, 0.18);
    font-size: 14px;
  }

  .header-cta {
    min-width: 84px;
    min-height: 42px;
    padding: 0 12px;
    border-radius: 8px;
    font-size: 14px;
  }

  .section {
    width: min(100% - 24px, 720px);
    margin: 18px auto;
  }

  .hero {
    min-height: 100svh;
    padding: 92px 0 76px;
  }

  .hero::before {
    background-position: center top;
    animation: none;
    transform: none;
  }

  .hero::after {
    background:
      linear-gradient(180deg, rgba(0, 0, 0, 0.12) 0%, rgba(0, 0, 0, 0.18) 30%, rgba(0, 0, 0, 0.54) 100%),
      radial-gradient(circle at 50% 62%, rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.62) 68%);
  }

  .hero-inner {
    width: min(100% - 28px, 640px);
  }

  .hero-content {
    transform: translateY(18px);
  }

  .eyebrow {
    margin-bottom: 10px;
    font-size: 12px;
    line-height: 1.7;
  }

  .hero h1 {
    font-size: clamp(44px, 16vw, 74px);
    line-height: 1.05;
  }

  .hero-subtitle {
    margin-top: 14px;
    font-size: clamp(18px, 6vw, 26px);
  }

  .hero-copy {
    max-width: 32em;
    margin-top: 18px;
    font-size: 15px;
    line-height: 1.75;
  }

  .actions {
    gap: 10px;
    margin-top: 22px;
  }

  .btn {
    min-height: 42px;
    padding: 0 16px;
    font-size: 14px;
  }

  .hero-meta {
    gap: 8px;
    margin-top: 18px;
  }

  .hero-meta span {
    min-height: 30px;
    padding: 0 10px;
    font-size: 12px;
  }

  .hero-scroll {
    bottom: 18px;
  }

  .hero-scroll i {
    height: 42px;
  }

  .notice-section {
    padding-top: 36px;
  }

  .notice-layout {
    gap: 14px;
  }

  .quick-board,
  .urgent-board,
  .news-board,
  .panel,
  .jianghu-features,
  .download-card-main,
  .official-info {
    padding: 18px;
  }

  .panel-heading,
  .news-board-head,
  .section-title {
    margin-bottom: 12px;
    padding-bottom: 12px;
  }

  .panel-heading h2,
  .news-board-head h2,
  .section-title h2 {
    font-size: 22px;
  }

  .quick-board .quick-grid,
  .quick-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .quick-card,
  .card-link,
  .quick-board .quick-card {
    min-height: 68px;
    padding: 12px;
  }

  .quick-card strong,
  .card-link strong {
    margin-bottom: 4px;
    font-size: 15px;
  }

  .quick-card span,
  .card-link span {
    font-size: 12px;
  }

  .notice-item {
    min-height: 42px;
    padding: 0;
    grid-template-columns: 54px minmax(0, 1fr);
    gap: 8px;
  }

  .tag {
    min-height: 24px;
    padding: 0 8px;
    font-size: 12px;
  }

  .wide-promo {
    height: clamp(96px, 30vw, 150px);
  }

  .wide-promo-slim {
    height: clamp(82px, 24vw, 128px);
  }

  .data-link-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }

  .data-link {
    min-height: 38px;
    font-size: 15px;
    letter-spacing: 0.04em;
  }

  .feature-line-item {
    min-height: 88px;
    padding: 12px 14px;
  }

  .feature-line-item strong {
    font-size: 19px;
  }

  .feature-line-item span {
    font-size: 13px;
    line-height: 1.6;
  }

  .media-card,
  .media-card-main {
    min-height: 210px;
  }

  .media-card {
    padding: 14px;
  }

  .play-button {
    width: 48px;
    height: 48px;
    font-size: 20px;
  }

  .page-hero-ornate {
    min-height: 230px;
    padding: 94px 0 34px;
  }

  .page-title {
    width: min(100% - 28px, 720px);
  }

  .page-title p:not(.module-kicker) {
    max-width: 100%;
    font-size: 14px;
    line-height: 1.7;
  }

  .archive-section {
    margin-top: 22px;
  }

  .archive-head {
    gap: 8px;
    margin-bottom: 12px;
    padding: 16px;
  }

  .archive-head h2 {
    font-size: 23px;
  }

  .archive-head span {
    font-size: 13px;
  }

  .archive-list,
  .guide-archive-list {
    gap: 8px;
  }

  .archive-list .article-card,
  .guide-archive-list .article-card,
  .archive-list:not(.guide-archive-list) .article-card {
    min-height: 58px;
    grid-template-columns: 50px minmax(0, 1fr);
    gap: 10px;
    padding: 8px 12px;
  }

  .archive-date,
  .guide-archive-list .archive-date,
  .archive-list:not(.guide-archive-list) .archive-date {
    min-height: 42px;
  }

  .archive-date strong,
  .guide-archive-list .archive-date strong,
  .archive-list:not(.guide-archive-list) .archive-date strong {
    font-size: 22px;
  }

  .archive-date span,
  .guide-archive-list .archive-date span,
  .archive-list:not(.guide-archive-list) .archive-date span {
    margin-top: 2px;
    font-size: 10px;
  }

  .archive-card-body h3,
  .guide-archive-list .archive-card-body h3,
  .archive-list:not(.guide-archive-list) .archive-card-body h3 {
    font-size: 16px;
  }

  .database-card {
    min-height: 108px;
    padding: 16px 18px;
  }

  .database-card h3 {
    margin-bottom: 8px;
    font-size: 20px;
  }

  .database-card p {
    -webkit-line-clamp: 2;
    font-size: 14px;
  }

  .formatted-content {
    overflow-x: auto;
    font-size: 15px;
    line-height: 1.8;
  }

  .formatted-content table {
    min-width: 560px;
  }

  .detail-article {
    padding: 20px 16px;
  }

  .detail-head h1 {
    font-size: 25px;
    line-height: 1.3;
  }

  .download-actions {
    align-items: stretch;
  }

  .download-actions .btn {
    flex: 1 1 140px;
  }

  .notice-popup {
    padding: 14px;
  }

  .notice-popup-panel {
    width: min(100%, 520px);
    max-height: min(calc(100svh - 28px), 620px);
    overflow: auto;
    padding: 20px;
  }

  .notice-popup-panel h2 {
    font-size: 28px;
  }

  .notice-popup-content {
    max-height: 42svh;
    margin: 12px 0 16px;
  }

  .notice-popup-image {
    max-height: 32svh;
    margin: 12px 0;
  }

  .video-dialog {
    padding: 12px;
  }

  .video-frame {
    width: 100%;
  }

  .video-close {
    top: 12px;
    right: 12px;
  }
}

@media (max-width: 560px) {
  .site-header {
    grid-template-columns: minmax(0, 1fr) 40px;
  }

  .mobile-nav-toggle {
    position: fixed;
    top: 12px;
    right: 14px;
    display: flex !important;
  }

  .brand-mark {
    width: 40px;
    height: 40px;
  }

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

  .brand small {
    display: none;
  }

  .header-cta {
    grid-column: 1 / -1;
    width: 100%;
    min-height: 38px;
  }

  .main-nav {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 118px;
  }

  .hero h1 {
    font-size: clamp(40px, 18vw, 58px);
  }

  .hero-copy {
    font-size: 14px;
  }

  .hero-meta span {
    flex: 1 1 42%;
    justify-content: center;
  }

  .quick-board .quick-grid,
  .quick-grid,
  .link-grid,
  .data-link-grid,
  .feature-line-grid {
    grid-template-columns: 1fr;
  }

  .feature-line-item,
  .feature-line-item:nth-child(2n) {
    border-right: 0;
    border-bottom: 1px solid rgba(198, 161, 92, 0.22);
  }

  .feature-line-item:last-child {
    border-bottom: 0;
  }

  .news-board-head,
  .section-title {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .media-card,
  .media-card-main {
    min-height: 188px;
  }

  .gallery-card,
  .gallery-card:first-child,
  .gallery-card:nth-child(4n) {
    min-height: 220px;
  }

  .download-page-grid .download-card-main,
  .download-page-grid .official-info {
    min-height: auto;
  }

  .download-actions,
  .actions {
    flex-direction: column;
  }

  .actions .btn,
  .download-actions .btn {
    width: 100%;
  }

  .page-hero-ornate {
    min-height: 210px;
    padding-top: 128px;
  }

  .archive-list .article-card,
  .guide-archive-list .article-card,
  .archive-list:not(.guide-archive-list) .article-card {
    grid-template-columns: 44px minmax(0, 1fr);
  }

  .archive-date strong,
  .guide-archive-list .archive-date strong,
  .archive-list:not(.guide-archive-list) .archive-date strong {
    font-size: 20px;
  }

  .filters {
    gap: 8px;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 4px;
  }

  .filters .chip {
    flex: 0 0 auto;
  }
}
