/* 帝王180 官方网站 - 全局样式 */
:root {
  --color-bg-dark: #0f0906;
  --color-panel: rgba(20, 12, 8, 0.88);
  --color-border: rgba(201, 162, 39, 0.35);
  --color-gold: #c9a227;
  --color-gold-light: #f0d878;
  --color-gold-dark: #8a6e1a;
  --color-bronze: #8b5a2b;
  --color-orange: #e25822;
  --color-orange-glow: rgba(226, 88, 34, 0.45);
  --color-sand: #a89f91;
  --color-text: #e8e2d9;
  --color-text-muted: #9c9589;
  --radius: 0.5rem;
  --shadow-gold: 0 0 20px rgba(201, 162, 39, 0.15);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Noto Serif SC", "Source Han Serif SC", "Songti SC", "SimSun", "STSong", "Microsoft YaHei", serif;
  background: var(--color-bg-dark);
  color: var(--color-text);
  line-height: 1.7;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: var(--color-gold-light); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--color-orange); }

/* 滚动条 */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #1a0f08; }
::-webkit-scrollbar-thumb { background: var(--color-gold-dark); border-radius: 4px; }

/* ==================== 动态背景 ==================== */
.dw-background {
  position: fixed;
  inset: 0;
  z-index: -2;
  background: #0f0906;
  overflow: hidden;
}

.dw-background::before {
  content: "";
  position: absolute;
  inset: -5%;
  background: url("../assets/images/bg-opening.webp?v=20260808231947") center center / cover no-repeat;
  opacity: 0.55;
  animation: bg-pan 60s linear infinite alternate, bg-zoom 40s ease-in-out infinite alternate;
}

@keyframes bg-pan {
  0% { transform: translateX(-2%) scale(1.05); }
  100% { transform: translateX(2%) scale(1.05); }
}

@keyframes bg-zoom {
  0% { filter: brightness(0.85) contrast(1.05); }
  100% { filter: brightness(1) contrast(1.1); }
}

/* 烽火光晕 */
.dw-background .glow {
  position: absolute;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(circle at 20% 80%, var(--color-orange-glow) 0%, transparent 35%),
    radial-gradient(circle at 75% 70%, rgba(201, 162, 39, 0.25) 0%, transparent 30%);
  animation: glow-pulse 6s ease-in-out infinite;
  pointer-events: none;
}

@keyframes glow-pulse {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 1; }
}

/* 火星粒子 */
.dw-sparks {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}

.dw-sparks span {
  position: absolute;
  bottom: -10px;
  width: 3px;
  height: 3px;
  background: var(--color-orange);
  border-radius: 50%;
  box-shadow: 0 0 6px var(--color-orange);
  opacity: 0;
  animation: spark-rise linear infinite;
}

@keyframes spark-rise {
  0% { transform: translateY(0) translateX(0); opacity: 0; }
  10% { opacity: 0.8; }
  90% { opacity: 0.6; }
  100% { transform: translateY(-110vh) translateX(30px); opacity: 0; }
}

/* 沙尘层 */
.dw-dust {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='400' height='400'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.08'/%3E%3C/svg%3E");
  opacity: 0.25;
  animation: dust-drift 20s linear infinite;
}

@keyframes dust-drift {
  0% { transform: translateX(0); }
  100% { transform: translateX(-400px); }
}

/* 减少动态效果 */
body.reduce-motion .dw-background::before,
body.reduce-motion .glow,
body.reduce-motion .dw-sparks span,
body.reduce-motion .dw-dust {
  animation: none !important;
}

body.reduce-motion .dw-dust { opacity: 0.12; }
body.reduce-motion .dw-sparks { display: none; }

/* ==================== 开篇画面 ==================== */
#intro-screen {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(circle at center, rgba(20,12,8,0.6) 0%, rgba(5,3,2,0.95) 100%),
    url("../assets/images/bg-opening.webp?v=20260808231947") center/cover no-repeat;
  transition: opacity 0.8s ease, visibility 0.8s ease;
}

#intro-screen.fade-out {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.intro-logo {
  max-width: 720px;
  width: 86%;
  margin-bottom: 2rem;
  filter: drop-shadow(0 0 30px rgba(201, 162, 39, 0.35));
  animation: intro-fade-in 1.2s ease-out;
}

.intro-slogan {
  font-size: clamp(1.2rem, 3vw, 1.8rem);
  color: var(--color-gold-light);
  letter-spacing: 0.25em;
  margin-bottom: 3rem;
  text-shadow: 0 0 20px rgba(201, 162, 39, 0.4);
  animation: intro-fade-in 1.2s ease-out 0.3s both;
}

@keyframes intro-fade-in {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.intro-progress {
  width: min(320px, 70vw);
  height: 4px;
  background: rgba(255,255,255,0.1);
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 1.5rem;
}

.intro-progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--color-gold-dark), var(--color-gold-light));
  transition: width 0.2s linear;
  box-shadow: 0 0 10px var(--color-gold);
}

.btn-enter {
  padding: 0.9rem 2.8rem;
  font-size: 1.15rem;
  font-family: inherit;
  color: #1a0f08;
  background: linear-gradient(180deg, var(--color-gold-light), var(--color-gold));
  border: 2px solid var(--color-gold-light);
  border-radius: var(--radius);
  cursor: pointer;
  letter-spacing: 0.15em;
  font-weight: 700;
  box-shadow: 0 0 20px rgba(201, 162, 39, 0.35), inset 0 1px 0 rgba(255,255,255,0.4);
  transition: transform 0.2s, box-shadow 0.2s;
  animation: intro-fade-in 1.2s ease-out 0.6s both;
}

.btn-enter:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(201, 162, 39, 0.55), inset 0 1px 0 rgba(255,255,255,0.4);
}

.intro-auto {
  margin-top: 1.2rem;
  font-size: 0.9rem;
  color: var(--color-text-muted);
  letter-spacing: 0.1em;
  min-height: 1.2rem;
  animation: intro-fade-in 1.2s ease-out 0.9s both;
}

/* ==================== 导航栏 ==================== */
#navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(15, 9, 6, 0.82);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-border);
  transition: background 0.3s;
}

#navbar.scrolled {
  background: rgba(15, 9, 6, 0.95);
  box-shadow: 0 4px 20px rgba(0,0,0,0.5);
}

.nav-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--color-gold-light);
}

.nav-logo img {
  height: 40px;
  width: auto;
}

.nav-links {
  display: flex;
  gap: 0.4rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  display: block;
  padding: 0.5rem 0.7rem;
  color: var(--color-text);
  font-size: 0.9rem;
  border-radius: var(--radius);
  white-space: nowrap;
}

.nav-links a:hover,
.nav-links a.active {
  background: rgba(201, 162, 39, 0.12);
  color: var(--color-gold-light);
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--color-border);
  color: var(--color-gold-light);
  padding: 0.5rem;
  border-radius: var(--radius);
  cursor: pointer;
  font-size: 1.2rem;
  line-height: 1;
}

/* 中等屏幕：导航允许换行，避免 15 个菜单项被截断 */
@media (max-width: 1400px) {
  .nav-inner { flex-wrap: wrap; height: auto; padding-top: 0.5rem; padding-bottom: 0.5rem; }
  .nav-links { flex-wrap: wrap; justify-content: flex-end; gap: 0.2rem; }
  .nav-links a { padding: 0.4rem 0.55rem; font-size: 0.85rem; }
  .nav-user { margin-left: auto; }
}

/* 手机 / 小平板：汉堡菜单 */
@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav-inner { flex-wrap: nowrap; }
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: rgba(15, 9, 6, 0.98);
    border-bottom: 1px solid var(--color-border);
    padding: 0.5rem 1rem 1rem;
    gap: 0;
    display: none;
    flex-wrap: nowrap;
    justify-content: flex-start;
  }
  .nav-links.open { display: flex; }
  .nav-links a { border-bottom: 1px solid rgba(255,255,255,0.05); white-space: nowrap; }
  .nav-user { margin-left: 0; }
}

/* ==================== 内容面板 ==================== */
.dw-section {
  padding: 4rem 1rem;
}

.dw-container {
  max-width: 1200px;
  margin: 0 auto;
}

.dw-panel {
  background:
    radial-gradient(300px circle at var(--mx, 50%) var(--my, 50%), rgba(240, 216, 120, 0.06), transparent 65%),
    var(--color-panel);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow-gold), inset 0 1px 0 rgba(255,255,255,0.04);
  backdrop-filter: blur(10px);
}

.section-title {
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  color: var(--color-gold-light);
  text-align: center;
  margin: 0 0 0.5rem;
  letter-spacing: 0.12em;
  position: relative;
}

.section-title::after {
  content: "";
  display: block;
  width: 80px;
  height: 3px;
  margin: 0.8rem auto 0;
  background: linear-gradient(90deg, transparent, var(--color-gold), transparent);
}

.section-subtitle {
  text-align: center;
  color: var(--color-text-muted);
  margin-bottom: 2.5rem;
}

/* ==================== 首屏 Hero ==================== */
.hero {
  min-height: calc(100vh - 64px);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem 1rem;
  position: relative;
  overflow: hidden;
}

.hero-content {
  max-width: 900px;
  position: relative;
  z-index: 2;
  will-change: transform, opacity;
}

/* 首屏背景图层：随滚动反向慢移，营造纵深（近景内容上移淡出，远景背景滞后） */
.hero-bg {
  position: absolute;
  top: -22%;
  left: 0;
  width: 100%;
  height: 144%;
  background: url("../assets/images/bg-opening.webp?v=20260808231947") center 30% / cover no-repeat;
  opacity: 0.5;
  z-index: 0;
  will-change: transform;
}
body.reduce-motion .hero-bg { display: none; }

.hero-logo {
  max-width: 700px;
  width: 92%;
  margin: 0 auto 1.5rem;
  filter: drop-shadow(0 0 40px rgba(201, 162, 39, 0.35));
}

.hero h1 {
  font-size: clamp(2rem, 6vw, 3.8rem);
  margin: 0 0 0.8rem;
  background: linear-gradient(100deg,
    var(--color-gold) 0%, var(--color-gold-light) 22%, #fff7e0 45%,
    var(--color-gold-light) 68%, var(--color-gold) 100%);
  background-size: 220% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 26px rgba(201, 162, 39, 0.45));
  animation: hero-shimmer 7s linear infinite;
}
@keyframes hero-shimmer { to { background-position: 220% center; } }
body.reduce-motion .hero h1 {
  animation: none;
  background: none;
  color: var(--color-gold-light);
  -webkit-text-fill-color: var(--color-gold-light);
  text-shadow: 0 0 30px rgba(201, 162, 39, 0.4);
}

.hero .tagline {
  font-size: clamp(1.1rem, 2.5vw, 1.6rem);
  color: var(--color-orange);
  letter-spacing: 0.2em;
  margin-bottom: 1.5rem;
}

.hero .desc {
  font-size: 1.05rem;
  color: var(--color-text);
  max-width: 720px;
  margin: 0 auto 2.5rem;
  line-height: 1.9;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

/* ==================== 按钮 ==================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.75rem 1.6rem;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius);
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
  border: none;
}

.btn-primary {
  background: linear-gradient(180deg, var(--color-orange), #b53f16);
  color: #fff;
  box-shadow: 0 0 16px var(--color-orange-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 24px var(--color-orange-glow);
}

.btn-gold {
  background: linear-gradient(180deg, var(--color-gold-light), var(--color-gold));
  color: #1a0f08;
  border: 1px solid var(--color-gold-light);
  box-shadow: 0 0 16px rgba(201, 162, 39, 0.25);
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 24px rgba(201, 162, 39, 0.4);
}

.btn-outline {
  background: rgba(0,0,0,0.3);
  color: var(--color-gold-light);
  border: 1px solid var(--color-border);
}

.btn-outline:hover {
  background: rgba(201, 162, 39, 0.1);
  transform: translateY(-2px);
}

/* ==================== 登录器信息条 ==================== */
.launcher-bar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
  margin-top: -2rem;
  position: relative;
  z-index: 10;
}

.launcher-item {
  background: rgba(15, 9, 6, 0.7);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1rem;
  text-align: center;
}

.launcher-item strong {
  display: block;
  color: var(--color-gold-light);
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
}

.launcher-item span {
  color: var(--color-text-muted);
  font-size: 0.9rem;
}

/* ==================== 装备展示 ==================== */
.equip-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1.25rem;
}

.equip-card {
  position: relative;
  background:
    radial-gradient(240px circle at var(--mx, 50%) var(--my, 50%), rgba(240, 216, 120, 0.12), transparent 60%),
    rgba(15, 9, 6, 0.75);
  border: 2px solid var(--color-gold-dark);
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}

.equip-card:hover {
  transform: scale(1.04);
  border-color: var(--color-gold-light);
  box-shadow: 0 0 24px rgba(201, 162, 39, 0.25);
}

.equip-card .watermark {
  position: absolute;
  top: 0.5rem;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(201, 162, 39, 0.18);
  color: var(--color-gold-light);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  padding: 0.2rem 0.6rem;
  border-radius: 1rem;
  border: 1px solid rgba(201, 162, 39, 0.3);
  white-space: nowrap;
  z-index: 2;
  backdrop-filter: blur(2px);
}

.equip-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  object-position: top center;
}

.equip-card .equip-name {
  text-align: center;
  padding: 0.6rem;
  background: rgba(0,0,0,0.4);
  color: var(--color-gold-light);
  font-weight: 700;
  letter-spacing: 0.1em;
}

/* ==================== 功能入口卡片 ==================== */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.feature-card {
  background:
    radial-gradient(240px circle at var(--mx, 50%) var(--my, 50%), rgba(240, 216, 120, 0.10), transparent 60%),
    rgba(15, 9, 6, 0.7);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1.8rem 1.5rem;
  text-align: center;
  backdrop-filter: blur(6px);
  transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--color-gold-light);
  box-shadow: 0 10px 30px rgba(0,0,0,0.4), 0 0 20px rgba(201, 162, 39, 0.15);
}

.feature-card .icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(201, 162, 39, 0.1);
  border: 1px solid var(--color-border);
  border-radius: 50%;
  font-size: 1.6rem;
  color: var(--color-gold-light);
}

.feature-card .card-thumb {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 0.8rem;
  border: 1px solid var(--color-border);
}

.module-card .card-thumb {
  width: 100%;
  height: 160px;
  object-fit: cover;
  display: block;
  border-radius: 8px 8px 0 0;
  border: 1px solid var(--color-border);
  border-bottom: none;
}

.field-hint { display: inline-block; margin-top: 0.35rem; font-size: 0.82rem; color: var(--color-text-muted); }

.feature-card h3 {
  color: var(--color-gold-light);
  margin: 0 0 0.5rem;
  font-size: 1.2rem;
}

.feature-card p {
  color: var(--color-text-muted);
  font-size: 0.92rem;
  margin: 0;
}

/* ==================== 特色列表 ==================== */
.traits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.trait-item {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  background:
    radial-gradient(200px circle at var(--mx, 50%) var(--my, 50%), rgba(240, 216, 120, 0.10), transparent 60%),
    rgba(15, 9, 6, 0.6);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1rem;
}

.trait-item .num {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--color-gold-dark), var(--color-gold));
  color: #1a0f08;
  border-radius: 50%;
  font-weight: 700;
  flex-shrink: 0;
}

.trait-item span {
  color: var(--color-text);
  font-weight: 600;
}

/* ==================== 新闻列表 ==================== */
.news-list {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.news-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background:
    radial-gradient(240px circle at var(--mx, 50%) var(--my, 50%), rgba(240, 216, 120, 0.10), transparent 60%),
    rgba(15, 9, 6, 0.6);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  transition: background 0.2s;
  text-decoration: none;
  color: inherit;
}

.news-item:hover {
  background:
    radial-gradient(240px circle at var(--mx, 50%) var(--my, 50%), rgba(240, 216, 120, 0.16), transparent 60%),
    rgba(201, 162, 39, 0.10);
}

.news-tag {
  flex-shrink: 0;
  padding: 0.25rem 0.6rem;
  border-radius: 1rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
}

.news-tag.announce { background: rgba(226, 88, 34, 0.2); color: var(--color-orange); }
.news-tag.update { background: rgba(201, 162, 39, 0.2); color: var(--color-gold-light); }
.news-tag.event { background: rgba(139, 90, 43, 0.3); color: var(--color-bronze); }

.news-title {
  flex: 1;
  color: var(--color-text);
  font-weight: 600;
}

.news-date {
  flex-shrink: 0;
  color: var(--color-text-muted);
  font-size: 0.85rem;
}

.news-main { flex: 1; display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; min-width: 0; }
.news-thumb { width: 64px; height: 64px; object-fit: cover; border-radius: 8px; border: 1px solid var(--color-border); flex-shrink: 0; background: rgba(15,9,6,0.6); }

/* ==================== 内页通用 ==================== */
.page-header {
  padding: 4rem 1rem 2rem;
  text-align: center;
}

.page-header h1 {
  font-size: clamp(1.8rem, 5vw, 2.8rem);
  color: var(--color-gold-light);
  margin: 0 0 0.5rem;
  text-shadow: 0 0 20px rgba(201, 162, 39, 0.3);
}

.page-header p {
  color: var(--color-text-muted);
  margin: 0;
}

/* 表单 */
.dw-form .form-row {
  margin-bottom: 1.2rem;
}

.dw-form label {
  display: block;
  color: var(--color-gold-light);
  margin-bottom: 0.4rem;
  font-weight: 600;
}

.dw-form input,
.dw-form textarea,
.dw-form select {
  width: 100%;
  padding: 0.7rem 0.9rem;
  background: rgba(0,0,0,0.35);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  color: var(--color-text);
  font-family: inherit;
  font-size: 1rem;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.dw-form input:focus,
.dw-form textarea:focus,
.dw-form select:focus {
  border-color: var(--color-gold-light);
  box-shadow: 0 0 10px rgba(201, 162, 39, 0.15);
}

.dw-form textarea { min-height: 120px; resize: vertical; }

/* 表格 */
.dw-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.dw-table th,
.dw-table td {
  padding: 0.9rem;
  text-align: left;
  border-bottom: 1px solid var(--color-border);
}

.dw-table th {
  color: var(--color-gold-light);
  background: rgba(201, 162, 39, 0.08);
  font-weight: 700;
}

.dw-table tr:hover td {
  background: rgba(201, 162, 39, 0.04);
}

/* 标签页 */
.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--color-border);
  padding-bottom: 0.75rem;
}

.tab-btn {
  padding: 0.5rem 1rem;
  background: rgba(0,0,0,0.3);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  color: var(--color-text);
  cursor: pointer;
  font-family: inherit;
  transition: all 0.2s;
}

.tab-btn:hover,
.tab-btn.active {
  background: rgba(201, 162, 39, 0.15);
  color: var(--color-gold-light);
  border-color: var(--color-gold-light);
}

.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* 分页 */
.pagination {
  display: flex;
  justify-content: center;
  gap: 0.4rem;
  margin-top: 1.5rem;
}

.pagination button {
  width: 36px;
  height: 36px;
  background: rgba(0,0,0,0.3);
  border: 1px solid var(--color-border);
  color: var(--color-text);
  border-radius: var(--radius);
  cursor: pointer;
  font-family: inherit;
}

.pagination button:hover,
.pagination button.active {
  background: rgba(201, 162, 39, 0.2);
  color: var(--color-gold-light);
  border-color: var(--color-gold-light);
}

/* ==================== 大图查看器 ==================== */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.92);
  padding: 1rem;
}

.lightbox.active { display: flex; }

.lightbox img {
  max-width: 95vw;
  max-height: 90vh;
  border: 3px solid var(--color-gold-dark);
  border-radius: var(--radius);
  box-shadow: 0 0 50px rgba(0,0,0,0.8);
}

.lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(0,0,0,0.6);
  border: 1px solid var(--color-border);
  color: var(--color-gold-light);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
}

.lightbox-caption {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  color: var(--color-gold-light);
  font-size: 1.2rem;
  text-shadow: 0 2px 10px rgba(0,0,0,0.8);
}

/* ==================== 音乐控制 ==================== */
#music-control {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 9998;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(15, 9, 6, 0.85);
  border: 1px solid var(--color-border);
  border-radius: 2rem;
  padding: 0.5rem 1rem;
  backdrop-filter: blur(6px);
  cursor: pointer;
  transition: border-color 0.2s;
}

#music-control:hover { border-color: var(--color-gold-light); }

#music-control .icon {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(201, 162, 39, 0.15);
  border-radius: 50%;
  color: var(--color-gold-light);
  font-size: 1rem;
}

#music-control .name {
  color: var(--color-text);
  font-size: 0.85rem;
  max-width: 140px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

#music-control .mc-prev,
#music-control .mc-next {
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(201, 162, 39, 0.15);
  border-radius: 50%;
  color: var(--color-gold-light);
  font-size: 0.85rem;
  cursor: pointer;
  user-select: none;
  transition: background 0.2s;
}
#music-control .mc-prev:hover,
#music-control .mc-next:hover { background: rgba(201, 162, 39, 0.3); }

/* ==================== 页脚 ==================== */
footer {
  background: rgba(10, 6, 4, 0.95);
  border-top: 1px solid var(--color-border);
  padding: 2.5rem 1rem;
  text-align: center;
}

footer .footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem 1.5rem;
  margin-bottom: 1rem;
}

footer .copyright {
  color: var(--color-text-muted);
  font-size: 0.85rem;
}

footer .beian {
  margin-top: 0.4rem;
  color: var(--color-text-muted);
  font-size: 0.8rem;
}
footer .beian a {
  color: var(--color-text-muted);
  text-decoration: none;
}
footer .beian a:hover {
  color: var(--color-accent);
  text-decoration: underline;
}

/* ==================== 底部合规栏 ==================== */
.dw-compliance {
  background: rgba(10, 6, 4, 0.98);
  border-top: 1px solid var(--color-border);
  padding: 0.75rem 0.5rem;
  text-align: center;
}

.dw-compliance .compliance-imgs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.5rem 0.8rem;
  margin-bottom: 0.5rem;
}

.dw-compliance .compliance-imgs img {
  height: 46px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  opacity: 0.92;
  transition: opacity 0.2s;
}

.dw-compliance .compliance-imgs img:hover {
  opacity: 1;
}

.dw-compliance .compliance-copy {
  color: var(--color-text-muted);
  font-size: 0.72rem;
  line-height: 1.5;
}

/* ==================== 响应式调整 ==================== */
/* 表格横向滚动容器（移动端不撑破布局） */
.table-responsive { width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }

@media (max-width: 768px) {
  .dw-section { padding: 2.5rem 0.75rem; }
  .dw-panel { padding: 1.25rem; }
  .hero { min-height: auto; padding: 3rem 0.75rem; }
  .equip-card img { height: 180px; }
  #music-control { bottom: 1rem; right: 1rem; padding: 0.4rem 0.8rem; }
  #music-control .name { display: none; }
  .dw-compliance { padding: 0.6rem 0.4rem; }
  .dw-compliance .compliance-imgs img { height: 36px; }
  .dw-compliance .compliance-copy { font-size: 0.65rem; }
  .modal-box, .modal-mask .modal { padding: 1.1rem 1rem 1.4rem; }
  .forum-toolbar { flex-direction: column; align-items: stretch; }
  .forum-toolbar-right { justify-content: center; }
}

/* 小屏手机：进一步压缩间距与字号，保证可读性 */
@media (max-width: 480px) {
  .section-title { font-size: 1.5rem; }
  .page-header { padding: 2.5rem 0.75rem 1.5rem; }
  .page-header h1 { font-size: 1.6rem; }
  .hero h1 { font-size: 2rem; }
  .dw-section { padding: 2rem 0.6rem; }
  .dw-panel { padding: 1rem; }
  .dw-form input, .dw-form textarea, .dw-form select { font-size: 16px; padding: 0.65rem 0.8rem; }
  .btn { padding: 0.7rem 1.2rem; font-size: 0.95rem; }
  .account-panel { grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); }
  .module-card .mc-body { padding: 0.8rem; }
  .post-card { padding: 0.85rem 0.9rem; }
  .post-title { font-size: 1rem; }
  .nav-logo { font-size: 1.1rem; }
  .nav-logo img { height: 32px; }
  .lightbox img { max-width: 92vw; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* ==================== 滚动渐显 ==================== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.22, 0.61, 0.36, 1),
              transform 0.7s cubic-bezier(0.22, 0.61, 0.36, 1);
  will-change: opacity, transform;
}
.reveal.in-view { opacity: 1; transform: none; }
body.reduce-motion .reveal,
body.reduce-motion .reveal.in-view {
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
}

/* ==================== 返回顶部 ==================== */
#back-to-top {
  position: fixed;
  left: 1.5rem;
  bottom: 1.5rem;
  z-index: 9997;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(15, 9, 6, 0.85);
  border: 1px solid var(--color-border);
  border-radius: 50%;
  color: var(--color-gold-light);
  font-size: 1.2rem;
  cursor: pointer;
  backdrop-filter: blur(6px);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.3s, transform 0.3s, border-color 0.2s, box-shadow 0.2s;
}
#back-to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
#back-to-top:hover {
  border-color: var(--color-gold-light);
  box-shadow: 0 0 18px rgba(201, 162, 39, 0.3);
}

/* ==================== 细节悬浮打磨 ==================== */
.launcher-item {
  transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
}
.launcher-item:hover {
  transform: translateY(-3px);
  border-color: var(--color-gold-light);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.35);
}

/* 首屏中心暖光，增强焦点 */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 38%, rgba(226, 88, 34, 0.18) 0%, transparent 55%);
  pointer-events: none;
  z-index: 1;
}

/* ==================== 卡片描边流光（边框沿路径奔跑的高光） ==================== */
.feature-card, .equip-card, .module-card, .news-item, .post-card { position: relative; }

.feature-card::before,
.equip-card::before,
.module-card::before,
.news-item::before,
.post-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1.5px;
  background: conic-gradient(from var(--flow-angle, 0deg),
    transparent 55%, rgba(240, 216, 120, 0.85) 78%, var(--color-gold-light) 90%, transparent 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.feature-card:hover::before,
.equip-card:hover::before,
.module-card:hover::before,
.news-item:hover::before,
.post-card:hover::before {
  opacity: 1;
  animation: flow-border 3.5s linear infinite;
}

@property --flow-angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}

@keyframes flow-border { to { --flow-angle: 360deg; } }

body.reduce-motion .feature-card:hover::before,
body.reduce-motion .equip-card:hover::before,
body.reduce-motion .module-card:hover::before,
body.reduce-motion .news-item:hover::before,
body.reduce-motion .post-card:hover::before { animation: none; }

/* ==================== 主题切换（深色 / 护眼） ==================== */
#theme-toggle {
  position: fixed;
  right: 1.5rem;
  bottom: 5.4rem;
  z-index: 9997;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(15, 9, 6, 0.85);
  border: 1px solid var(--color-border);
  border-radius: 50%;
  color: var(--color-gold-light);
  font-size: 1.2rem;
  cursor: pointer;
  backdrop-filter: blur(6px);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.3s, transform 0.3s, border-color 0.2s, box-shadow 0.2s;
}

#theme-toggle.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

#theme-toggle:hover {
  border-color: var(--color-gold-light);
  box-shadow: 0 0 18px rgba(201, 162, 39, 0.3);
}

/* 护眼模式：更暖、更柔的暗色调，降低蓝光刺激 */
:root[data-theme="eye"] {
  --color-bg-dark: #1b1611;
  --color-panel: rgba(40, 32, 24, 0.92);
  --color-text: #ece2d0;
  --color-text-muted: #b3a892;
  --color-border: rgba(201, 162, 39, 0.26);
  --color-gold: #c9a86a;
  --color-gold-light: #ecd79a;
}

/* ==================== 导航登录态 ==================== */
.nav-user {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-left: auto;
  padding-left: 1rem;
}
.nav-user-name {
  color: var(--color-gold-light);
  font-size: 0.9rem;
  white-space: nowrap;
}
.nav-user-btn {
  background: transparent;
  border: 1px solid var(--color-border);
  color: var(--color-text);
  padding: 0.35rem 0.8rem;
  border-radius: 6px;
  font-size: 0.85rem;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s;
}
.nav-user-btn:hover { border-color: var(--color-gold); color: var(--color-gold-light); }
.nav-user-login { background: var(--color-gold); color: #1a1206; border-color: var(--color-gold); font-weight: 600; }
.nav-user-login:hover { background: var(--color-gold-light); color: #1a1206; }

/* ==================== 通用弹窗 ==================== */
.modal-overlay {
  position: fixed; inset: 0;
  background: rgba(0, 0, 0, 0.7);
  display: none; align-items: center; justify-content: center;
  z-index: 1000; padding: 1rem;
}
.modal-overlay.open { display: flex; }
.modal-box {
  background: #1a130b;
  border: 1px solid var(--color-gold);
  border-radius: 12px;
  max-width: 640px; width: 100%;
  max-height: 90vh; overflow-y: auto;
  padding: 1.5rem;
  box-shadow: 0 0 40px rgba(201, 162, 39, 0.25);
}
.modal-box h3 { color: var(--color-gold-light); margin-bottom: 1rem; font-size: 1.25rem; }
.modal-actions { display: flex; gap: 0.75rem; justify-content: flex-end; margin-top: 1.25rem; }
.modal-close {
  position: absolute; top: 0.8rem; right: 1rem;
  background: none; border: none; color: var(--color-text-muted);
  font-size: 1.6rem; cursor: pointer; line-height: 1;
}
.modal-box { position: relative; }

/* ==================== 通用模态（新闻详情等） ==================== */
.modal-mask {
  display: none;
  position: fixed; inset: 0; z-index: 200;
  background: rgba(0, 0, 0, 0.75);
  align-items: center; justify-content: center; padding: 1rem;
}
.modal-mask.show { display: flex; }
.modal-mask .modal {
  position: relative;
  background: #1a130b;
  border: 1px solid var(--color-gold);
  border-radius: 12px;
  max-width: 720px; width: 100%;
  max-height: 88vh; overflow-y: auto;
  padding: 1.5rem 1.75rem 2rem;
  box-shadow: 0 0 40px rgba(201, 162, 39, 0.25);
}
.modal-mask .modal-close {
  position: absolute; top: 0.6rem; right: 1rem;
  background: none; border: none; color: var(--color-text-muted);
  font-size: 1.8rem; cursor: pointer; line-height: 1;
}
.modal-mask .modal-close:hover { color: var(--color-gold-light); }

/* 新闻详情 */
.nd-head { border-bottom: 1px solid var(--color-border); padding-bottom: 0.8rem; margin-bottom: 1rem; }
.nd-head h2 { color: var(--color-gold-light); font-size: 1.4rem; margin: 0.5rem 0; line-height: 1.4; }
.nd-date { color: var(--color-text-muted); font-size: 0.82rem; }
.nd-img { width: 100%; max-height: 360px; object-fit: contain; border-radius: 8px; margin: 0.5rem 0 1rem; background: #000; cursor: zoom-in; transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease; }
.nd-img:hover { transform: scale(1.01); box-shadow: 0 0 0 2px var(--color-gold-light), 0 8px 24px rgba(0,0,0,.4); }
.nd-video { width: 100%; border-radius: 8px; margin: 0.5rem 0 1rem; background: #000; }
.nd-content { color: var(--color-text); font-size: 0.98rem; line-height: 1.85; white-space: normal; }
.nd-content p { margin: 0 0 0.8rem; }

/* ==================== 论坛 ==================== */
.forum-toolbar { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; justify-content: space-between; margin-bottom: 1.25rem; }
.forum-sort { display: flex; gap: 0.5rem; }
.forum-sort button, .forum-cats button {
  background: rgba(0,0,0,0.3); border: 1px solid var(--color-border);
  color: var(--color-text); padding: 0.4rem 0.9rem; border-radius: 6px; cursor: pointer; font-size: 0.9rem;
}
.forum-sort button.active, .forum-cats button.active { background: var(--color-gold); color: #1a1206; border-color: var(--color-gold); font-weight: 600; }
.forum-cats { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.25rem; }
.post-list { display: flex; flex-direction: column; gap: 0.75rem; }
.post-card {
  background:
    radial-gradient(260px circle at var(--mx, 50%) var(--my, 50%), rgba(240, 216, 120, 0.08), transparent 60%),
    rgba(0,0,0,0.3); border: 1px solid var(--color-border);
  border-radius: 10px; padding: 1rem 1.25rem; cursor: pointer;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}
.post-card:hover {
  border-color: var(--color-gold);
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(0,0,0,0.35);
}
.post-head { display: flex; align-items: center; gap: 0.6rem; flex-wrap: wrap; }
.post-cat { background: rgba(201,162,39,0.18); color: var(--color-gold-light); font-size: 0.75rem; padding: 0.15rem 0.6rem; border-radius: 4px; }
.author-lv { display: inline-block; background: linear-gradient(135deg, var(--color-gold), var(--color-orange)); color: #1a1206; font-weight: 700; font-size: 0.7rem; padding: 0.05rem 0.4rem; border-radius: 999px; margin-left: 0.3rem; }
.post-title { color: var(--color-text); font-weight: 600; font-size: 1.05rem; }
.post-meta { color: var(--color-text-muted); font-size: 0.8rem; margin-top: 0.4rem; display: flex; gap: 1rem; flex-wrap: wrap; }
.post-excerpt {
  color: var(--color-text-muted); margin-top: 0.5rem; font-size: 0.9rem;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.post-images { display: flex; gap: 0.5rem; margin-top: 0.6rem; flex-wrap: wrap; }
.post-images img { width: 90px; height: 90px; object-fit: cover; border-radius: 6px; border: 1px solid var(--color-border); }
.pagination { display: flex; gap: 0.4rem; justify-content: center; margin-top: 1.5rem; flex-wrap: wrap; }
.forum-toolbar-right { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.post-footer { display: flex; gap: 0.6rem; margin-top: 0.7rem; }
.like-btn, .fav-btn {
  background: rgba(0,0,0,0.3); border: 1px solid var(--color-border); color: var(--color-text-muted);
  padding: 0.3rem 0.8rem; border-radius: 20px; cursor: pointer; font-size: 0.85rem; transition: all 0.18s;
}
.like-btn:hover, .fav-btn:hover { border-color: var(--color-gold); color: var(--color-text); }
.like-btn.active { background: rgba(224,102,102,0.18); border-color: #e06666; color: #ff9a9a; }
.fav-btn.active { background: rgba(201,162,39,0.18); border-color: var(--color-gold); color: var(--color-gold-light); }
#fav-banner {
  display: flex; align-items: center; gap: 1rem; justify-content: space-between;
  background: rgba(201,162,39,0.1); border: 1px solid var(--color-border); border-radius: 8px;
  padding: 0.6rem 1rem; margin-bottom: 1rem; color: var(--color-gold-light); font-weight: 600;
}
.pagination button { background: rgba(0,0,0,0.3); border: 1px solid var(--color-border); color: var(--color-text); padding: 0.35rem 0.8rem; border-radius: 6px; cursor: pointer; }
.pagination button.active { background: var(--color-gold); color: #1a1206; }
.detail-content {
  color: var(--color-text);
  font-size: 1rem;
  line-height: 1.95;
  white-space: pre-wrap;
  max-width: 720px;
  margin: 1.2rem auto;
  padding-left: 1rem;
  border-left: 2px solid var(--color-border);
}
.detail-images { display: flex; gap: 0.5rem; flex-wrap: wrap; margin: 1rem 0; }
.detail-images img { max-width: 100%; max-height: 260px; border-radius: 8px; border: 1px solid var(--color-border); cursor: zoom-in; transition: transform .15s ease, box-shadow .15s ease; }
.detail-images img:hover { transform: scale(1.02); box-shadow: 0 0 0 2px var(--color-gold-light), 0 8px 24px rgba(0,0,0,.4); }
.detail-video { width: 100%; max-height: 360px; border-radius: 8px; margin: 1rem 0; }

/* 论坛发帖：表情 / 表情包面板 */
.emoji-panel { margin: 0.4rem 0 0.8rem; padding: 0.7rem; border: 1px solid var(--color-border); border-radius: 10px; background: rgba(0,0,0,0.18); }
.emoji-tabs { display: flex; gap: 0.5rem; margin-bottom: 0.6rem; }
.emoji-tab { padding: 0.3rem 0.9rem; border-radius: 999px; border: 1px solid var(--color-border); background: transparent; color: var(--color-text-muted); cursor: pointer; font-size: 0.9rem; }
.emoji-tab.active { background: rgba(201,162,39,0.18); color: var(--color-gold-light); border-color: var(--color-gold-light); }
.emoji-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(40px, 1fr)); gap: 0.4rem; max-height: 220px; overflow-y: auto; }
.emoji-tile { aspect-ratio: 1/1; border: 1px solid var(--color-border); border-radius: 8px; background: rgba(255,255,255,0.04); cursor: pointer; font-size: 1.4rem; line-height: 1; display: flex; align-items: center; justify-content: center; transition: transform .12s ease, background .12s ease; }
.emoji-tile:hover { transform: scale(1.12); background: rgba(201,162,39,0.18); }
.emoji-tile.sticker { font-size: 2rem; }

/* ==================== 玩法 / 名人堂 / 直播 网格 ==================== */
.module-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1.25rem; }
.module-card {
  background:
    radial-gradient(240px circle at var(--mx, 50%) var(--my, 50%), rgba(240, 216, 120, 0.10), transparent 60%),
    rgba(0,0,0,0.3); border: 1px solid var(--color-border);
  border-radius: 12px; overflow: hidden; cursor: pointer; transition: border-color 0.2s, transform 0.2s;
}
.module-card:hover { border-color: var(--color-gold); transform: translateY(-3px); }
.module-card img { width: 100%; height: 160px; object-fit: cover; }
.module-card .mc-body { padding: 1rem; }
.module-card .mc-title { color: var(--color-gold-light); font-weight: 600; font-size: 1.05rem; }
.module-card .mc-sub { color: var(--color-text-muted); font-size: 0.85rem; margin-top: 0.4rem; }
.module-card .mc-tag { display: inline-block; background: rgba(201,162,39,0.18); color: var(--color-gold-light); font-size: 0.75rem; padding: 0.15rem 0.6rem; border-radius: 4px; margin-bottom: 0.5rem; }

/* 名人堂卡片可点击进入详情 */
.hof-card { cursor: pointer; transition: border-color .2s, transform .2s, box-shadow .2s; }
.hof-card:focus-visible { outline: 2px solid var(--color-gold-light); outline-offset: 2px; }
.hof-card:hover { border-color: var(--color-gold); transform: translateY(-3px); box-shadow: 0 10px 30px rgba(0,0,0,0.45); }
.hof-card .hof-video { pointer-events: auto; }

/* 名人堂详情弹窗 */
.hof-detail-box { max-width: 760px; }
.hof-detail-media { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-bottom: 1.2rem; }
.hd-img { width: calc(50% - 0.4rem); min-height: 180px; max-height: 340px; object-fit: cover; border-radius: 10px; border: 1px solid var(--color-border); background: #000; cursor: zoom-in; transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease; }
.hd-img:hover { transform: scale(1.015); box-shadow: 0 0 0 2px var(--color-gold-light), 0 8px 24px rgba(0,0,0,.4); border-color: var(--color-gold-light); }
.hd-img-ph { display: flex; align-items: center; justify-content: center; color: var(--color-gold-light); font-size: 3rem; width: 100%; }
.hd-meta { color: var(--color-text); }
.hd-title { color: var(--color-gold-light); font-size: 1.4rem; margin: 0.6rem 0 0.8rem; }
.hd-label { color: var(--color-gold); font-size: 0.85rem; letter-spacing: .08em; margin-top: 1rem; }
.hd-text { color: var(--color-text); line-height: 1.7; margin-top: 0.3rem; white-space: pre-wrap; }
.hd-video { width: 100%; max-height: 360px; margin-top: 0.4rem; border-radius: 10px; background: #000; }

/* ==================== 下载 / 版本 ==================== */
.dl-main { display: flex; flex-wrap: wrap; gap: 1.5rem; align-items: center; }
.dl-info { flex: 1; min-width: 260px; }
.dl-info-row { display: flex; justify-content: space-between; padding: 0.6rem 0; border-bottom: 1px dashed var(--color-border); }
.dl-info-row strong { color: var(--color-gold-light); }
.dl-info-row span { color: var(--color-text); }
.dl-actions { display: flex; flex-direction: column; gap: 0.75rem; min-width: 240px; }
.sha-box { font-family: monospace; font-size: 0.8rem; color: var(--color-text-muted); word-break: break-all; background: rgba(0,0,0,0.3); padding: 0.6rem; border-radius: 6px; }
.version-route { display: flex; flex-wrap: wrap; gap: 0.6rem; align-items: center; margin: 1rem 0; }
.version-stage { background: rgba(201,162,39,0.15); border: 1px solid var(--color-border); color: var(--color-gold-light); padding: 0.5rem 1rem; border-radius: 8px; }
.version-arrow { color: var(--color-text-muted); }
.faq-item { margin-bottom: 1rem; }
.faq-item h4 { color: var(--color-gold-light); margin-bottom: 0.3rem; }
.faq-item p { color: var(--color-text-muted); font-size: 0.9rem; }

/* ==================== 账号面板 ==================== */
.account-panel { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px,1fr)); gap: 1rem; margin-top: 1rem; }
.account-stat {
  background:
    radial-gradient(200px circle at var(--mx, 50%) var(--my, 50%), rgba(240, 216, 120, 0.10), transparent 60%),
    rgba(0,0,0,0.3); border: 1px solid var(--color-border); border-radius: 10px; padding: 1rem;
}
.account-stat strong { display: block; color: var(--color-text-muted); font-size: 0.8rem; margin-bottom: 0.3rem; }
.account-stat span { color: var(--color-gold-light); font-size: 1.1rem; }
.auth-tabs { display: flex; gap: 0.5rem; margin-bottom: 1.25rem; }
.auth-tabs button { flex: 1; background: rgba(0,0,0,0.3); border: 1px solid var(--color-border); color: var(--color-text); padding: 0.6rem; border-radius: 8px; cursor: pointer; }
.auth-tabs button.active { background: var(--color-gold); color: #1a1206; font-weight: 600; }
.code-row { display: flex; gap: 0.5rem; }
.code-row input { flex: 1; }
.code-btn { white-space: nowrap; }
.field-error { color: #e06666; font-size: 0.85rem; min-height: 1.1rem; }
.hint-box { background: rgba(201,162,39,0.1); border: 1px solid var(--color-border); border-radius: 8px; padding: 0.8rem; color: var(--color-text-muted); font-size: 0.85rem; margin-bottom: 1rem; }

/* ==================== 我的提交 ==================== */
.my-list { margin-top: 1.5rem; }
.my-item { display: flex; justify-content: space-between; align-items: center; padding: 0.7rem 0; border-bottom: 1px dashed var(--color-border); }
.my-item .mi-title { color: var(--color-text); }
.my-item .mi-status { font-size: 0.8rem; }

/* 状态徽章（全局，供会员中心/交易/后台等多页复用，原仅 admin 内联，现提升为全局） */
.badge { display: inline-block; padding: 0.15rem 0.55rem; border-radius: 1rem; font-size: 0.72rem; border: 1px solid; line-height: 1.4; }
.badge-green { color: #5fd38a; border-color: #2e7d4f; background: rgba(47,125,79,0.15); }
.badge-yellow { color: #e8c34a; border-color: #8a6e1a; background: rgba(201,162,39,0.12); }
.badge-red { color: #ef7b6b; border-color: #a33; background: rgba(170,51,51,0.15); }
.badge-gray { color: #aaa; border-color: #555; background: rgba(85,85,85,0.15); }
.badge-purple { color: #c69bf0; border-color: #7b4ea8; background: rgba(123,78,168,0.18); }

/* ==================== 等级 / 活跃度 ==================== */
.nav-user-lv {
  display: inline-flex; align-items: center;
  background: linear-gradient(135deg, var(--color-gold), var(--color-orange));
  color: #1a1206; font-weight: 700; font-size: 0.72rem;
  padding: 0.1rem 0.45rem; border-radius: 999px; margin-right: 0.4rem;
}
.level-panel { margin-top: 1.5rem; }
.level-head { display: flex; align-items: center; gap: 1rem; }
.level-badge {
  flex: none; width: 64px; height: 64px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: radial-gradient(circle at 30% 30%, var(--color-gold-light), var(--color-gold-dark));
  color: #1a1206; font-weight: 800; font-size: 1.05rem; line-height: 1;
  box-shadow: 0 0 18px var(--color-orange-glow);
}
.level-meta { flex: 1; min-width: 0; }
.level-exp { font-size: 0.85rem; color: var(--color-text-muted); margin-bottom: 0.4rem; }
.level-exp span { color: var(--color-gold-light); font-weight: 600; }
.level-bar { height: 12px; background: rgba(0,0,0,0.4); border: 1px solid var(--color-border); border-radius: 999px; overflow: hidden; }
.level-bar-fill { height: 100%; width: 0; background: linear-gradient(90deg, var(--color-gold), var(--color-orange)); transition: width 0.4s ease; }
.level-rules { margin-top: 0.9rem; font-size: 0.82rem; color: var(--color-text-muted); line-height: 1.6; }
.level-log-title { margin-top: 1.1rem; font-size: 0.9rem; color: var(--color-gold-light); font-weight: 600; }
.level-log { margin-top: 0.5rem; max-height: 220px; overflow-y: auto; }
.level-log-item { display: flex; align-items: center; gap: 0.6rem; padding: 0.4rem 0; border-bottom: 1px dashed var(--color-border); font-size: 0.85rem; }
.level-log-item .ll-amount { color: var(--color-gold-light); font-weight: 600; margin-left: auto; }
.level-log-item .ll-time { color: var(--color-text-muted); font-size: 0.75rem; }

/* 下载中心：占位/未开放提示 */
.dl-notice {
  display: none;
  margin: 14px 0 0;
  padding: 10px 14px;
  border: 1px dashed var(--color-gold-light);
  border-radius: 8px;
  background: rgba(212, 175, 55, 0.08);
  color: var(--color-gold-light);
  font-size: 0.9rem;
}

/* ==================== 后台多图上传 / 删除 ==================== */
.img-gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 0.5rem;
  min-height: 12px;
}
.img-thumb {
  position: relative;
  width: 92px;
  height: 92px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--color-border);
  background: rgba(0,0,0,0.35);
}
.img-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.img-thumb .img-del {
  position: absolute;
  top: 3px;
  right: 3px;
  width: 22px;
  height: 22px;
  line-height: 20px;
  text-align: center;
  border: none;
  border-radius: 50%;
  background: rgba(0,0,0,0.65);
  color: #fff;
  font-size: 14px;
  cursor: pointer;
  padding: 0;
}
.img-thumb .img-del:hover { background: #c0392b; }
