/* ??Q??? - ???? */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --brown-dark: #6b3f24;
  --brown: #8b5e3c;
  --orange: #f39800;
  --orange-light: #ffb347;
  --orange-dark: #d17a00;
  --gold: #d4a853;
  --gold-light: #e2b670;
  --cream: #fffdf7;
  --beige: #f5ecd9;
  --beige-dark: #ecdcb5;
  --text: #5a3e1a;
  --text-light: #8a7355;
  --shadow: rgba(90, 62, 26, 0.15);
  --shadow-deep: rgba(90, 62, 26, 0.25);
}

html { scroll-behavior: smooth; }

body {
  font-family: "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", sans-serif;
  background: var(--beige);
  color: var(--text);
  min-width: 1200px;
  line-height: 1.6;
}

a { text-decoration: none; color: inherit; transition: color 0.25s, background 0.25s, transform 0.25s, box-shadow 0.25s; }
img { display: block; max-width: 100%; }
ul { list-style: none; }

/* ===== 顶部音乐控制条 ===== */
.audio-bar {
  width: 100%;
  min-width: 1200px;
  height: 36px;
  background: linear-gradient(180deg, #5a3218 0%, #4a2810 100%);
  border-bottom: 1px solid rgba(243, 152, 0, 0.35);
  position: sticky;
  top: 0;
  z-index: 1001;
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.2);
}

.audio-bar-inner {
  width: 1200px;
  max-width: 100%;
  height: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 12px;
  font-size: 12px;
  color: #fff8e7;
}

.audio-btn {
  width: 26px;
  height: 26px;
  border: 1px solid var(--gold-light);
  border-radius: 50%;
  background: linear-gradient(180deg, var(--orange-light), var(--orange));
  color: #fff;
  font-size: 10px;
  cursor: pointer;
  flex-shrink: 0;
  line-height: 1;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.audio-btn:hover {
  filter: brightness(1.08);
}

.audio-btn.is-playing {
  background: linear-gradient(180deg, #e8a040, var(--orange-dark));
}

.audio-label {
  flex-shrink: 0;
  color: #ffd699;
  letter-spacing: 1px;
  min-width: 72px;
}

.audio-progress-wrap {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.audio-progress {
  flex: 1;
  height: 6px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 3px;
  cursor: pointer;
  overflow: hidden;
  border: 1px solid rgba(212, 168, 83, 0.3);
}

.audio-progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--orange), var(--orange-light));
  border-radius: 3px;
  transition: width 0.1s linear;
}

.audio-time {
  flex-shrink: 0;
  font-size: 11px;
  color: rgba(255, 248, 231, 0.85);
  min-width: 78px;
  text-align: right;
}

.audio-volume-wrap {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}

.audio-vol-icon {
  font-size: 14px;
  line-height: 1;
}

.audio-volume {
  width: 72px;
  height: 4px;
  accent-color: var(--orange);
  cursor: pointer;
}

.audio-loop {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  color: rgba(255, 248, 231, 0.9);
  user-select: none;
}

.audio-loop input {
  accent-color: var(--orange);
  cursor: pointer;
}

.audio-bar.is-blocked .audio-label::after {
  content: "（点击页面开启声音）";
  color: #ffb347;
  margin-left: 4px;
}

.audio-bar.is-muted:not(.is-blocked) .audio-label::after {
  content: "（静音播放中）";
  color: #ffb347;
  margin-left: 4px;
}

.has-bgm .nav-bar {
  top: 36px;
}

/* ===== 顶部导航 ===== */
.nav-bar {
  width: 100%;
  height: 48px;
  background: linear-gradient(180deg, #7a4528 0%, var(--brown-dark) 100%);
  border-bottom: 2px solid var(--orange);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0,0,0,0.25);
}

.nav-bar a {
  font-weight: bold;
  font-size: 14px;
  color: #fff8e7;
  padding: 6px 24px;
  border-radius: 4px;
  letter-spacing: 1px;
}

.nav-bar a:hover { color: #fff; background: rgba(255,255,255,0.12); }

.nav-bar a.active {
  color: #fff;
  background: linear-gradient(180deg, var(--orange-light) 0%, var(--orange) 50%, var(--orange-dark) 100%);
  box-shadow: 0 2px 6px rgba(243,152,0,0.4), inset 0 1px 0 rgba(255,255,255,0.3);
}

/* ===== ?? KV ===== */
.hero-kv {
  width: 100%;
  min-width: 1200px;
  height: 340px;
  position: relative;
  overflow: hidden;
  background: #6eb5e8;
  line-height: 0;
}

.hero-kv-bg {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
}

.hero-kv-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 56px;
  background: linear-gradient(transparent, var(--beige));
  z-index: 1;
  pointer-events: none;
}

/* ===== ???? ===== */
.container {
  width: 1200px;
  margin: 10px auto 32px;
  display: grid;
  grid-template-columns: 280px 890px;
  gap: 20px;
}

.sidebar {
  background: var(--cream);
  border: 2px solid var(--gold-light);
  border-radius: 10px;
  padding: 16px;
  box-shadow: 0 4px 16px var(--shadow);
}

.btn-download {
  display: block;
  width: 100%;
  height: 86px;
  background: linear-gradient(180deg, #ffc040 0%, var(--orange) 40%, var(--orange-dark) 100%);
  color: #fff;
  text-align: center;
  border-radius: 8px;
  margin-bottom: 14px;
  box-shadow: 0 5px 0 #a06000, 0 8px 16px rgba(210,105,30,0.3);
  position: relative;
  overflow: hidden;
  border: 2px solid #ffd080;
}

.btn-download:hover {
  transform: translateY(-2px);
  box-shadow: 0 7px 0 #a06000, 0 12px 20px rgba(210,105,30,0.4);
}

.btn-download .main-txt {
  display: block;
  font-size: 22px;
  font-weight: 900;
  padding-top: 18px;
  text-shadow: 2px 2px 3px rgba(90,62,26,0.5);
  letter-spacing: 3px;
}

.btn-download .sub-txt {
  display: block;
  font-size: 11px;
  opacity: 0.85;
  margin-top: 2px;
}

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

.quick-links a {
  background: #fff;
  border: 2px solid var(--gold-light);
  padding: 10px 6px;
  font-size: 13px;
  font-weight: bold;
  color: var(--brown);
  border-radius: 6px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.quick-links a:hover {
  border-color: var(--orange);
  background: #fffaf0;
  transform: translateY(-1px);
}

.icon-dot {
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, var(--orange-light), var(--orange));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 14px;
  font-weight: bold;
}

.server-info {
  margin-top: 12px;
  padding: 10px 12px;
  background: #fff8e7;
  border: 1px dashed var(--gold-light);
  border-radius: 6px;
  font-size: 11px;
  color: var(--text-light);
  line-height: 1.7;
}

.server-info h4 {
  color: var(--brown);
  font-size: 12px;
  margin-bottom: 4px;
  border-bottom: 1px solid var(--gold-light);
  padding-bottom: 3px;
}

.server-info .online { color: #2e8b57; font-weight: bold; }

.main-content {
  background: var(--cream);
  border: 2px solid var(--gold-light);
  border-radius: 10px;
  padding: 16px;
  box-shadow: 0 4px 16px var(--shadow);
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 14px;
}

.banner-box,
.feature-card {
  height: 220px;
  border-radius: 6px;
  border: 2px solid var(--gold);
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.25s, box-shadow 0.25s;
}

.banner-box:hover,
.feature-card:hover {
  transform: scale(1.008);
  box-shadow: 0 4px 14px var(--shadow-deep);
}

.banner-box img,
.feature-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.banner-title {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: linear-gradient(transparent, rgba(107,63,36,0.9));
  color: #fff;
  padding: 22px 12px 8px;
  font-size: 13px;
  font-weight: bold;
  z-index: 1;
}

.feature-tag {
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: 2;
  background: linear-gradient(135deg, var(--orange-light), var(--orange));
  color: #fff;
  padding: 6px 16px;
  font-weight: bold;
  border-top-right-radius: 6px;
  font-size: 13px;
  letter-spacing: 1px;
  text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

.news-section {
  grid-column: span 2;
  border-top: 1px dashed var(--gold-light);
  padding-top: 14px;
  margin-top: 2px;
}

.block-title {
  font-size: 18px;
  font-weight: bold;
  color: var(--brown);
  margin-bottom: 10px;
  border-left: 4px solid var(--orange);
  padding-left: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.block-title .more { font-size: 12px; color: var(--text-light); font-weight: normal; }
.block-title .more:hover { color: var(--orange); }

.news-list li {
  padding: 8px 4px;
  border-bottom: 1px solid #f0e4cf;
  display: flex;
  align-items: center;
  font-size: 13px;
}

.news-list li:hover { background: rgba(243,152,0,0.05); }

.news-list li .tag {
  background: #fff1d7;
  color: var(--orange-dark);
  padding: 1px 8px;
  border-radius: 3px;
  font-size: 11px;
  margin-right: 10px;
  border: 1px solid var(--gold-light);
  flex-shrink: 0;
  min-width: 38px;
  text-align: center;
}

.news-list li .tag.activity { background: #e8f5e9; color: #2e7d32; border-color: #a5d6a7; }
.news-list li .tag.update  { background: #e3f2fd; color: #1565c0; border-color: #90caf9; }

.news-list li a { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.news-list li a:hover { color: var(--orange); }
.news-list li .date { color: var(--text-light); font-size: 11px; margin-left: 12px; flex-shrink: 0; }

/* ===== ?????? ===== */
.news-tabs {
  display: flex;
  gap: 4px;
  margin-bottom: 12px;
  border-bottom: 2px solid var(--gold-light);
  padding-bottom: 0;
}

.news-tabs span {
  padding: 6px 16px;
  font-size: 13px;
  font-weight: bold;
  color: var(--text-light);
  cursor: pointer;
  border-radius: 4px 4px 0 0;
  transition: all 0.2s;
  user-select: none;
}

.news-tabs span:hover { color: var(--brown); background: rgba(243,152,0,0.08); }

.news-tabs span.active {
  color: #fff;
  background: linear-gradient(180deg, var(--orange-light), var(--orange));
}

.news-featured {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  margin-bottom: 12px;
  background: linear-gradient(135deg, #fff8e7, #fff);
  border: 2px solid var(--gold-light);
  border-radius: 8px;
  transition: border-color 0.25s, box-shadow 0.25s;
}

.news-featured:hover {
  border-color: var(--orange);
  box-shadow: 0 3px 12px var(--shadow);
}

.news-featured .pin {
  flex-shrink: 0;
  background: #e53935;
  color: #fff;
  font-size: 11px;
  font-weight: bold;
  padding: 3px 8px;
  border-radius: 3px;
}

.news-featured a {
  flex: 1;
  font-size: 14px;
  font-weight: bold;
  color: var(--brown);
  line-height: 1.5;
}

.news-featured a:hover { color: var(--orange); }

.news-featured .date {
  flex-shrink: 0;
  font-size: 11px;
  color: var(--text-light);
}

.news-list li .badge-new {
  background: #e53935;
  color: #fff;
  font-size: 10px;
  padding: 1px 5px;
  border-radius: 2px;
  margin-right: 6px;
  flex-shrink: 0;
  font-weight: bold;
}

.news-list li.is-top { background: rgba(243,152,0,0.04); }

.news-list li.hidden { display: none; }

.news-page-list li.hidden { display: none; }

/* ===== ???? ===== */
.news-page-wrap {
  width: 1200px;
  margin: 14px auto 32px;
  display: grid;
  grid-template-columns: 860px 300px;
  gap: 20px;
}

.news-main-panel {
  background: var(--cream);
  border: 2px solid var(--gold-light);
  border-radius: 10px;
  padding: 20px 24px;
  box-shadow: 0 4px 16px var(--shadow);
}

.news-sidebar-panel {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.news-side-box {
  background: var(--cream);
  border: 2px solid var(--gold-light);
  border-radius: 10px;
  padding: 16px;
  box-shadow: 0 3px 12px var(--shadow);
}

.news-side-box h3 {
  font-size: 15px;
  color: var(--brown);
  border-left: 4px solid var(--orange);
  padding-left: 10px;
  margin-bottom: 12px;
}

.hot-news-list li {
  padding: 8px 0;
  border-bottom: 1px dashed #f0e4cf;
  font-size: 13px;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.hot-news-list li:last-child { border-bottom: none; }

.hot-news-list .rank {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  background: var(--gold-light);
  color: var(--brown);
  font-size: 11px;
  font-weight: bold;
  border-radius: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hot-news-list li:nth-child(1) .rank,
.hot-news-list li:nth-child(2) .rank,
.hot-news-list li:nth-child(3) .rank {
  background: var(--orange);
  color: #fff;
}

.hot-news-list a { flex: 1; line-height: 1.5; color: var(--text); }
.hot-news-list a:hover { color: var(--orange); }

.news-page-list li {
  padding: 14px 8px;
  border-bottom: 1px solid #f0e4cf;
  display: flex;
  align-items: center;
  transition: background 0.2s, padding-left 0.2s;
}

.news-page-list li:hover {
  background: rgba(243,152,0,0.05);
  padding-left: 14px;
}

.news-page-list .tag {
  background: #fff1d7;
  color: var(--orange-dark);
  padding: 2px 10px;
  border-radius: 3px;
  font-size: 11px;
  margin-right: 12px;
  border: 1px solid var(--gold-light);
  flex-shrink: 0;
  min-width: 36px;
  text-align: center;
}

.news-page-list .tag.activity { background: #e8f5e9; color: #2e7d32; border-color: #a5d6a7; }
.news-page-list .tag.update  { background: #e3f2fd; color: #1565c0; border-color: #90caf9; }

.news-page-list a { flex: 1; font-size: 14px; color: var(--text); }
.news-page-list a:hover { color: var(--orange); }
.news-page-list .date { color: var(--text-light); font-size: 12px; margin-left: 16px; flex-shrink: 0; }

.news-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px dashed var(--gold-light);
}

.news-pagination a,
.news-pagination span {
  display: inline-block;
  min-width: 32px;
  height: 32px;
  line-height: 32px;
  text-align: center;
  font-size: 13px;
  border-radius: 4px;
  border: 1px solid var(--gold-light);
  color: var(--brown);
}

.news-pagination a:hover {
  border-color: var(--orange);
  color: var(--orange);
  background: rgba(243,152,0,0.08);
}

.news-pagination span.current {
  background: var(--orange);
  color: #fff;
  border-color: var(--orange);
  font-weight: bold;
}

.news-pagination span.disabled {
  color: #ccc;
  border-color: #eee;
  cursor: not-allowed;
}

/* ===== ????? ===== */
.breadcrumb {
  font-size: 12px;
  color: var(--text-light);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px dashed var(--gold-light);
}

.breadcrumb a { color: var(--brown); }
.breadcrumb a:hover { color: var(--orange); }
.breadcrumb .sep { margin: 0 6px; color: var(--gold); }

.article-header { margin-bottom: 20px; }

.article-header h2 {
  font-size: 22px;
  color: var(--brown);
  line-height: 1.5;
  margin-bottom: 12px;
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 12px;
  color: var(--text-light);
}

.article-meta .tag {
  background: #fff1d7;
  color: var(--orange-dark);
  padding: 2px 10px;
  border-radius: 3px;
  border: 1px solid var(--gold-light);
  font-size: 11px;
}

.article-body {
  font-size: 14px;
  line-height: 2;
  color: var(--text);
}

.article-body p { margin-bottom: 14px; text-indent: 2em; }

.article-body h3 {
  font-size: 16px;
  color: var(--brown);
  margin: 20px 0 10px;
  padding-left: 10px;
  border-left: 3px solid var(--orange);
}

.article-body ul {
  list-style: disc;
  margin: 0 0 14px 2.5em;
}

.article-body li { margin-bottom: 6px; }

.article-body .highlight-box {
  background: #fff8e7;
  border: 1px dashed var(--gold-light);
  border-radius: 6px;
  padding: 14px 18px;
  margin: 16px 0;
  text-indent: 0;
}

.article-footer {
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px dashed var(--gold-light);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.article-footer a {
  font-size: 13px;
  color: var(--brown);
  padding: 6px 16px;
  border: 1px solid var(--gold-light);
  border-radius: 4px;
}

.article-footer a:hover {
  border-color: var(--orange);
  color: var(--orange);
  background: rgba(243,152,0,0.06);
}

.server-side-info p {
  font-size: 12px;
  color: var(--text-light);
  line-height: 2;
}

.server-side-info strong { color: var(--brown); }

.server-side-info .status-hot { color: #e53935; font-weight: bold; }

.job-section {
  grid-column: span 2;
  margin-top: 6px;
  border-top: 1px dashed var(--gold-light);
  padding-top: 14px;
}

.job-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 8px;
}

.job-card {
  background: #fff;
  border: 2px solid var(--gold-light);
  border-radius: 8px;
  overflow: hidden;
  text-align: center;
  transition: all 0.25s;
}

.job-card:hover {
  border-color: var(--orange);
  transform: translateY(-3px);
  box-shadow: 0 6px 16px var(--shadow);
}

.job-img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  object-position: center top;
  background: #fff8e7;
  display: block;
}

.job-name { font-size: 14px; font-weight: bold; padding: 8px 0 2px; color: var(--brown); }
.job-desc { font-size: 11px; color: var(--text-light); padding-bottom: 10px; }

.features-section { width: 1200px; margin: 0 auto 28px; }

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

.feature-item {
  background: var(--cream);
  border: 2px solid var(--gold-light);
  border-radius: 10px;
  padding: 18px 16px;
  text-align: center;
  box-shadow: 0 3px 12px var(--shadow);
  transition: transform 0.25s;
}

.feature-item:hover { transform: translateY(-2px); border-color: var(--orange); }

.feature-thumb {
  width: 100%;
  height: 100px;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 12px;
  border: 1px solid var(--gold-light);
}

.feature-item h3 { font-size: 16px; color: var(--brown); margin-bottom: 6px; }
.feature-item p { font-size: 12px; color: var(--text-light); line-height: 1.6; }

.screenshots-section { width: 1200px; margin: 0 auto 28px; }

.screenshot-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.screenshot-item {
  height: 140px;
  border-radius: 6px;
  border: 2px solid var(--gold);
  overflow: hidden;
  position: relative;
  cursor: pointer;
  transition: transform 0.25s;
}

.screenshot-item:hover { transform: scale(1.03); box-shadow: 0 4px 14px var(--shadow-deep); }

.screenshot-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.screenshot-item .caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(107,63,36,0.85);
  color: #fff;
  font-size: 11px;
  padding: 4px 6px;
  text-align: center;
}

.page-banner {
  width: 100%;
  height: 120px;
  position: relative;
  overflow: hidden;
}

.page-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}

.page-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(107,63,36,0.55);
}

.page-banner h1 {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 30px;
  color: #fff;
  text-shadow: 2px 2px 6px rgba(0,0,0,0.5);
  letter-spacing: 5px;
  z-index: 1;
}

.page-content {
  width: 1200px;
  margin: 14px auto 32px;
  background: var(--cream);
  border: 2px solid var(--gold-light);
  border-radius: 10px;
  padding: 24px 32px;
  box-shadow: 0 4px 16px var(--shadow);
  min-height: 400px;
}

.download-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.download-box {
  background: #fff;
  border: 2px solid var(--gold-light);
  border-radius: 10px;
  padding: 24px;
  text-align: center;
}

.download-box h3 { font-size: 18px; color: var(--brown); margin-bottom: 8px; }
.download-box .size { color: var(--text-light); font-size: 12px; margin-bottom: 16px; }

.btn-dl {
  display: inline-block;
  padding: 10px 36px;
  background: linear-gradient(180deg, #ffc040, var(--orange), var(--orange-dark));
  color: #fff;
  font-weight: bold;
  font-size: 15px;
  border-radius: 6px;
  box-shadow: 0 4px 0 #a06000;
  letter-spacing: 2px;
}

.btn-dl:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 0 #a06000, 0 8px 14px rgba(243,152,0,0.3);
}

.sys-req {
  margin-top: 16px;
  padding: 16px;
  background: #fff8e7;
  border-radius: 6px;
  border: 1px dashed var(--gold-light);
}

.sys-req h4 { color: var(--brown); margin-bottom: 8px; }
.sys-req table { width: 100%; border-collapse: collapse; font-size: 13px; }
.sys-req td { padding: 7px 10px; border-bottom: 1px solid #f0e4cf; }
.sys-req td:first-child { color: var(--brown); font-weight: bold; width: 110px; }

.class-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.class-card-lg {
  background: #fff;
  border: 2px solid var(--gold-light);
  border-radius: 10px;
  overflow: hidden;
  transition: all 0.25s;
}

.class-card-lg:hover {
  border-color: var(--orange);
  box-shadow: 0 6px 20px var(--shadow);
}

.class-card-lg .class-header {
  height: 160px;
  overflow: hidden;
}

.class-card-lg .class-header img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.class-card-lg .class-body { padding: 16px; }

.class-card-lg h3 {
  font-size: 18px;
  color: var(--brown);
  margin-bottom: 6px;
  border-bottom: 2px solid var(--gold-light);
  padding-bottom: 6px;
}

.class-card-lg .role-tag {
  display: inline-block;
  background: var(--orange);
  color: #fff;
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 10px;
  margin-left: 6px;
  vertical-align: middle;
}

.class-card-lg p { font-size: 13px; color: var(--text-light); line-height: 1.7; margin-bottom: 8px; }

.skill-list { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 8px; }

.skill-list span {
  background: #fff1d7;
  border: 1px solid var(--gold-light);
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 11px;
  color: var(--brown);
}

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

.forum-cat {
  background: #fff;
  border: 2px solid var(--gold-light);
  border-radius: 8px;
  padding: 20px;
  text-align: center;
  transition: all 0.25s;
}

.forum-cat:hover {
  border-color: var(--orange);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px var(--shadow);
}

.forum-cat .icon { font-size: 32px; margin-bottom: 8px; }
.forum-cat h3 { color: var(--brown); margin-bottom: 4px; font-size: 15px; }
.forum-cat p { font-size: 12px; color: var(--text-light); }
.forum-cat .posts { font-size: 11px; color: var(--orange); margin-top: 6px; font-weight: bold; }

.footer {
  text-align: center;
  padding: 24px 20px;
  font-size: 12px;
  color: var(--text-light);
  border-top: 2px solid var(--gold-light);
  background: var(--beige-dark);
  line-height: 1.9;
}

.footer-links { margin-bottom: 8px; }
.footer-links a { color: var(--brown); margin: 0 10px; font-size: 13px; }
.footer-links a:hover { color: var(--orange); }
.footer .divider { color: var(--gold); margin: 0 4px; }

/* ===== ??????? ===== */
.news-list-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 8px 10px;
  margin-bottom: 4px;
  border-bottom: 2px solid var(--gold-light);
  font-size: 12px;
  color: var(--text-light);
}

.news-list-header strong { color: var(--brown); }

.news-page-list li.is-top {
  background: linear-gradient(90deg, rgba(243,152,0,0.06), transparent);
  border-left: 3px solid var(--orange);
  padding-left: 12px;
}

.news-page-list li .badge-new {
  background: #e53935;
  color: #fff;
  font-size: 10px;
  padding: 1px 5px;
  border-radius: 2px;
  margin-right: 8px;
  flex-shrink: 0;
  font-weight: bold;
}

.news-page-list li .badge-hot {
  background: var(--orange);
  color: #fff;
  font-size: 10px;
  padding: 1px 5px;
  border-radius: 2px;
  margin-right: 8px;
  flex-shrink: 0;
  font-weight: bold;
}

.news-page-featured {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  margin-bottom: 14px;
  background: linear-gradient(135deg, #fff8e7, #fff);
  border: 2px solid var(--gold-light);
  border-radius: 8px;
  transition: all 0.25s;
}

.news-page-featured:hover {
  border-color: var(--orange);
  box-shadow: 0 3px 12px var(--shadow);
}

.news-page-featured .pin {
  flex-shrink: 0;
  background: #e53935;
  color: #fff;
  font-size: 11px;
  font-weight: bold;
  padding: 4px 10px;
  border-radius: 3px;
}

.news-page-featured .info { flex: 1; }

.news-page-featured a.title {
  display: block;
  font-size: 15px;
  font-weight: bold;
  color: var(--brown);
  margin-bottom: 4px;
}

.news-page-featured a.title:hover { color: var(--orange); }

.news-page-featured .summary {
  font-size: 12px;
  color: var(--text-light);
  line-height: 1.6;
}

.news-page-featured .date {
  flex-shrink: 0;
  font-size: 12px;
  color: var(--text-light);
}

/* ===== ??? ===== */
.download-page-wrap {
  width: 1200px;
  margin: 14px auto 32px;
  display: grid;
  grid-template-columns: 860px 300px;
  gap: 20px;
}

.download-main-panel {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.download-hero {
  background: var(--cream);
  border: 2px solid var(--gold-light);
  border-radius: 10px;
  padding: 24px 28px;
  box-shadow: 0 4px 16px var(--shadow);
  display: flex;
  gap: 24px;
  align-items: center;
}

.download-hero-poster {
  width: 200px;
  height: 140px;
  flex-shrink: 0;
  border-radius: 8px;
  border: 2px solid var(--gold);
  overflow: hidden;
}

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

.download-hero-info { flex: 1; }

.download-hero-info h2 {
  font-size: 22px;
  color: var(--brown);
  margin-bottom: 8px;
}

.download-hero-info .ver-info {
  font-size: 13px;
  color: var(--text-light);
  line-height: 2;
  margin-bottom: 14px;
}

.download-hero-info .ver-info strong { color: var(--brown); }

.btn-dl-lg {
  display: inline-block;
  padding: 14px 48px;
  background: linear-gradient(180deg, #ffc040, var(--orange), var(--orange-dark));
  color: #fff;
  font-weight: bold;
  font-size: 18px;
  border-radius: 8px;
  box-shadow: 0 5px 0 #a06000, 0 8px 16px rgba(243,152,0,0.3);
  letter-spacing: 3px;
  border: 2px solid #ffd080;
}

.btn-dl-lg:hover {
  transform: translateY(-2px);
  box-shadow: 0 7px 0 #a06000, 0 12px 22px rgba(243,152,0,0.4);
}

.download-md5 {
  margin-top: 10px;
  font-size: 11px;
  color: var(--text-light);
  word-break: break-all;
}

.download-md5 code {
  background: #fff8e7;
  padding: 2px 6px;
  border-radius: 3px;
  font-family: Consolas, monospace;
  color: var(--brown);
  font-size: 11px;
}

.download-section {
  background: var(--cream);
  border: 2px solid var(--gold-light);
  border-radius: 10px;
  padding: 20px 24px;
  box-shadow: 0 4px 16px var(--shadow);
}

.download-section h3 {
  font-size: 16px;
  color: var(--brown);
  border-left: 4px solid var(--orange);
  padding-left: 10px;
  margin-bottom: 16px;
}

.download-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.download-card {
  background: #fff;
  border: 2px solid var(--gold-light);
  border-radius: 8px;
  padding: 18px;
  text-align: center;
  transition: all 0.25s;
}

.download-card:hover {
  border-color: var(--orange);
  box-shadow: 0 4px 12px var(--shadow);
}

.download-card .icon {
  font-size: 32px;
  margin-bottom: 8px;
}

.download-card h4 {
  font-size: 15px;
  color: var(--brown);
  margin-bottom: 6px;
}

.download-card .meta {
  font-size: 12px;
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 12px;
}

.download-card .btn-dl-sm {
  display: inline-block;
  padding: 8px 24px;
  background: linear-gradient(180deg, #ffc040, var(--orange));
  color: #fff;
  font-size: 13px;
  font-weight: bold;
  border-radius: 5px;
  box-shadow: 0 3px 0 #a06000;
}

.download-card .btn-dl-sm:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 0 #a06000;
}

.install-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.install-step {
  text-align: center;
  padding: 14px 10px;
  background: #fff;
  border: 1px solid var(--gold-light);
  border-radius: 8px;
}

.install-step .num {
  width: 28px;
  height: 28px;
  background: var(--orange);
  color: #fff;
  font-weight: bold;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 8px;
  font-size: 14px;
}

.install-step p {
  font-size: 12px;
  color: var(--text);
  line-height: 1.6;
}

.sys-req-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.sys-req-table th {
  background: var(--brown);
  color: #fff;
  padding: 10px 14px;
  text-align: left;
  font-weight: bold;
}

.sys-req-table th:first-child { border-radius: 6px 0 0 0; }
.sys-req-table th:last-child { border-radius: 0 6px 0 0; }

.sys-req-table td {
  padding: 9px 14px;
  border-bottom: 1px solid #f0e4cf;
  background: #fff;
}

.sys-req-table td:first-child {
  color: var(--brown);
  font-weight: bold;
  width: 100px;
  background: #fff8e7;
}

.dl-faq li {
  padding: 10px 0;
  border-bottom: 1px dashed #f0e4cf;
  font-size: 13px;
}

.dl-faq li:last-child { border-bottom: none; }

.dl-faq .q {
  color: var(--brown);
  font-weight: bold;
  margin-bottom: 4px;
}

.dl-faq .a {
  color: var(--text-light);
  line-height: 1.7;
  padding-left: 1em;
}

.download-side-box {
  background: var(--cream);
  border: 2px solid var(--gold-light);
  border-radius: 10px;
  padding: 16px;
  box-shadow: 0 3px 12px var(--shadow);
}

.download-side-box h3 {
  font-size: 15px;
  color: var(--brown);
  border-left: 4px solid var(--orange);
  padding-left: 10px;
  margin-bottom: 12px;
}

.dl-side-news li {
  padding: 8px 0;
  border-bottom: 1px dashed #f0e4cf;
  font-size: 12px;
}

.dl-side-news li:last-child { border-bottom: none; }

.dl-side-news a { color: var(--text); line-height: 1.5; }
.dl-side-news a:hover { color: var(--orange); }

.dl-side-news .date {
  display: block;
  font-size: 11px;
  color: var(--text-light);
  margin-top: 2px;
}

.dl-contact {
  font-size: 12px;
  color: var(--text-light);
  line-height: 2;
}

.dl-contact strong { color: var(--brown); }

/* ===== 账号注册 ===== */
.reg-page-wrap {
  width: 1200px;
  margin: 14px auto 32px;
  display: grid;
  grid-template-columns: 860px 300px;
  gap: 20px;
}

.reg-main-panel {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.reg-hero {
  background: var(--cream);
  border: 2px solid var(--gold-light);
  border-radius: 10px;
  padding: 24px 28px;
  box-shadow: 0 4px 16px var(--shadow);
  display: flex;
  gap: 24px;
  align-items: center;
}

.reg-hero-poster {
  width: 200px;
  height: 140px;
  flex-shrink: 0;
  border-radius: 8px;
  border: 2px solid var(--gold);
  overflow: hidden;
}

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

.reg-hero-info h2 {
  font-size: 22px;
  color: var(--brown);
  margin-bottom: 8px;
}

.reg-intro {
  font-size: 13px;
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 10px;
}

.reg-tips {
  list-style: disc;
  margin-left: 1.4em;
  font-size: 12px;
  color: var(--text);
  line-height: 1.9;
}

.reg-section {
  background: var(--cream);
  border: 2px solid var(--gold-light);
  border-radius: 10px;
  padding: 20px 28px;
  box-shadow: 0 4px 16px var(--shadow);
}

.reg-section h3 {
  font-size: 16px;
  color: var(--brown);
  border-left: 4px solid var(--orange);
  padding-left: 10px;
  margin-bottom: 18px;
}

.reg-msg {
  padding: 12px 16px;
  border-radius: 6px;
  font-size: 13px;
  margin-bottom: 16px;
  line-height: 1.6;
}

.reg-msg-success {
  background: #e8f5e9;
  border: 1px solid #a5d6a7;
  color: #2e7d32;
}

.reg-msg-error {
  background: #ffebee;
  border: 1px solid #ef9a9a;
  color: #c62828;
}

.reg-form {
  max-width: 420px;
}

.reg-field {
  margin-bottom: 16px;
}

.reg-field label {
  display: block;
  font-size: 13px;
  font-weight: bold;
  color: var(--brown);
  margin-bottom: 6px;
}

.reg-field input {
  width: 100%;
  height: 38px;
  padding: 0 12px;
  font-size: 14px;
  font-family: inherit;
  color: var(--text);
  background: #fff;
  border: 2px solid var(--gold-light);
  border-radius: 6px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.reg-field input:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(243, 152, 0, 0.15);
}

.reg-field input::placeholder {
  color: #bbb;
  font-size: 13px;
}

.reg-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 22px;
  padding-top: 8px;
}

.btn-reg-submit {
  padding: 12px 40px;
  background: linear-gradient(180deg, #ffc040, var(--orange), var(--orange-dark));
  color: #fff;
  font-weight: bold;
  font-size: 16px;
  border: 2px solid #ffd080;
  border-radius: 8px;
  box-shadow: 0 4px 0 #a06000, 0 6px 14px rgba(243, 152, 0, 0.3);
  cursor: pointer;
  letter-spacing: 2px;
  font-family: inherit;
}

.btn-reg-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 0 #a06000, 0 10px 18px rgba(243, 152, 0, 0.35);
}

.btn-reg-secondary {
  font-size: 13px;
  color: var(--brown);
  padding: 8px 14px;
  border: 1px solid var(--gold-light);
  border-radius: 6px;
}

.btn-reg-secondary:hover {
  border-color: var(--orange);
  color: var(--orange);
  background: rgba(243, 152, 0, 0.06);
}

.reg-notice-list {
  list-style: disc;
  margin-left: 1.4em;
  font-size: 13px;
  color: var(--text-light);
  line-height: 2;
}

.reg-sidebar {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

