/* 每日大赛 DAILY PAGEANT 官方样式 */
:root {
  --bg-main: #050505;
  --bg-deep: #090909;
  --bg-content: #10100F;
  --bg-secondary: #171611;
  --bg-hover: #201E18;
  --text-title: #FFF9E9;
  --text-body: #E5DDCA;
  --text-secondary: #AAA18D;
  --text-muted: #7C7467;
  --gold: #D6AE55;
  --gold-highlight: #F4D77F;
  --gold-light: #FFE7A4;
  --gold-deep: #9C722A;
  --gold-dark: #5D4116;
  --border: rgba(214,174,85,0.18);
  --border-focus: rgba(244,215,127,0.48);
  --shadow: 0 18px 50px rgba(0,0,0,0.48);
  --gold-shadow: 0 18px 48px rgba(214,174,85,0.18);
  --footer-bg: #030303;
  --btn-gradient: linear-gradient(135deg, #FFE7A4 0%, #D6AE55 50%, #90651C 100%);
  --btn-text: #181107;
  --max-width: 1320px;
  --nav-height: 76px;
  --radius: 6px;
  --radius-sm: 2px;
  --radius-lg: 12px;
}

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

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

body {
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", "Source Han Sans SC", system-ui, -apple-system, sans-serif;
  background: var(--bg-main);
  color: var(--text-body);
  line-height: 1.75;
  font-size: 16px;
  overflow-x: hidden;
  min-height: 100vh;
}

body.menu-open {
  overflow: hidden;
}

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

a {
  color: var(--gold);
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}

a:hover {
  color: var(--gold-highlight);
}

a:focus-visible {
  outline: 2px solid var(--gold-highlight);
  outline-offset: 3px;
}

ul, ol {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--text-title);
  font-weight: 600;
  line-height: 1.35;
}

h1 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin-bottom: 1.25rem;
  letter-spacing: 0.02em;
}

h2 {
  font-size: clamp(1.4rem, 3vw, 1.85rem);
  margin-bottom: 1rem;
  letter-spacing: 0.015em;
}

h3 {
  font-size: clamp(1.15rem, 2.2vw, 1.35rem);
  margin-bottom: 0.75rem;
}

p {
  margin-bottom: 1rem;
  color: var(--text-body);
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

@media (max-width: 768px) {
  .container {
    padding: 0 14px;
  }
}

/* ========== 顶部导航 ========== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(5, 5, 5, 0.96);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.nav-desktop {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-height);
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

.menu-toggle {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  color: var(--gold);
  transition: border-color 0.2s, background 0.2s;
}

.menu-toggle:hover,
.menu-toggle:focus-visible {
  border-color: var(--border-focus);
  background: var(--bg-hover);
}

.menu-toggle svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-title);
  text-decoration: none;
}

.logo-link img {
  height: 36px;
  width: auto;
}

.logo-text {
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--text-title);
}

.logo-text span {
  display: block;
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  color: var(--gold);
  font-weight: 500;
  margin-top: 1px;
}

.nav-center {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
  justify-content: center;
  padding: 0 12px;
}

.nav-center a {
  position: relative;
  padding: 8px 14px;
  font-size: 0.92rem;
  color: var(--text-secondary);
  white-space: nowrap;
  transition: color 0.2s;
}

.nav-center a:hover {
  color: var(--text-title);
}

.nav-center a.active {
  color: var(--text-title);
}

.nav-center a.active::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 2px;
  height: 1.5px;
  background: var(--gold);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.search-btn {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s;
}

.search-btn:hover {
  color: var(--gold);
  border-color: var(--border);
}

.search-btn svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
}

.btn-participate {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  background: var(--btn-gradient);
  color: var(--btn-text) !important;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  border: none;
  white-space: nowrap;
  transition: opacity 0.2s, transform 0.15s;
  box-shadow: 0 4px 16px rgba(214, 174, 85, 0.25);
}

.btn-participate:hover {
  opacity: 0.92;
  color: var(--btn-text) !important;
}

.btn-participate:focus-visible {
  outline: 2px solid var(--gold-highlight);
  outline-offset: 2px;
}

/* 手机端顶部导航 */
.nav-mobile {
  display: none;
  align-items: center;
  justify-content: space-between;
  height: 60px;
  padding: 0 12px;
  max-width: 100%;
}

.nav-mobile .menu-toggle {
  width: 44px;
  height: 44px;
}

.nav-mobile .logo-link img {
  height: 30px;
}

.nav-mobile .btn-participate {
  padding: 8px 14px;
  font-size: 0.85rem;
}

@media (max-width: 1024px) {
  .nav-center {
    display: none;
  }
  .search-btn {
    display: none;
  }
}

@media (max-width: 768px) {
  .nav-desktop {
    display: none;
  }
  .nav-mobile {
    display: flex;
  }
  .site-header {
    height: 60px;
  }
}

/* ========== 全站菜单面板 ========== */
.menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  z-index: 1100;
  visibility: hidden;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease, visibility 0.3s;
}

.menu-overlay.open {
  visibility: visible;
  pointer-events: auto;
  opacity: 1;
}

.side-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: min(460px, 88vw);
  height: 100%;
  background: var(--bg-deep);
  border-right: 1px solid var(--border);
  z-index: 1200;
  transform: translateX(-100%);
  transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1);
  display: flex;
  flex-direction: column;
  visibility: hidden;
  pointer-events: none;
}

.side-menu.open {
  transform: translateX(0);
  visibility: visible;
  pointer-events: auto;
}

.side-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}

.side-menu-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.side-menu-brand img {
  height: 32px;
}

.side-menu-brand-text strong {
  display: block;
  color: var(--text-title);
  font-size: 1rem;
  letter-spacing: 0.06em;
}

.side-menu-brand-text span {
  font-size: 0.68rem;
  color: var(--gold);
  letter-spacing: 0.16em;
}

.menu-close {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s;
}

.menu-close:hover {
  color: var(--gold);
  border-color: var(--border-focus);
}

.menu-close svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
}

.side-menu-body {
  flex: 1;
  overflow-y: auto;
  padding: 16px 0 40px;
  -webkit-overflow-scrolling: touch;
}

.menu-group {
  padding: 12px 24px 8px;
}

.menu-group-title {
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 10px;
  padding-left: 4px;
}

.menu-link {
  display: block;
  padding: 12px 14px;
  border-radius: var(--radius);
  margin-bottom: 2px;
  transition: background 0.2s;
}

.menu-link:hover {
  background: var(--bg-hover);
}

.menu-link-name {
  display: block;
  color: var(--text-title);
  font-size: 0.98rem;
  font-weight: 500;
  margin-bottom: 2px;
}

.menu-link-desc {
  display: block;
  color: var(--text-muted);
  font-size: 0.8rem;
  line-height: 1.45;
}

/* ========== 手机底部导航 ========== */
.mobile-bottom-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 900;
  background: rgba(3, 3, 3, 0.97);
  border-top: 1px solid var(--border);
  padding: 6px 0 calc(6px + env(safe-area-inset-bottom, 0px));
  backdrop-filter: blur(10px);
}

.mobile-bottom-nav ul {
  display: flex;
  justify-content: space-around;
  align-items: center;
  max-width: 480px;
  margin: 0 auto;
}

.mobile-bottom-nav a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 56px;
  min-height: 48px;
  padding: 4px 8px;
  color: var(--text-muted);
  font-size: 0.7rem;
  gap: 2px;
  transition: color 0.2s;
}

.mobile-bottom-nav a.active {
  color: var(--gold);
}

.mobile-bottom-nav a svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.6;
}

@media (max-width: 768px) {
  .mobile-bottom-nav {
    display: block;
  }
  body {
    padding-bottom: calc(62px + env(safe-area-inset-bottom, 0px));
  }
}

/* ========== 主内容区 ========== */
.site-main {
  min-height: 60vh;
  padding-top: 0;
}

/* 轻量赛事索引条 */
.sub-index {
  border-bottom: 1px solid var(--border);
  background: var(--bg-deep);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.sub-index-inner {
  display: flex;
  align-items: center;
  gap: 0;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
  white-space: nowrap;
}

.sub-index a {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 14px 18px;
  font-size: 0.88rem;
  color: var(--text-secondary);
  transition: color 0.2s;
}

.sub-index a:hover {
  color: var(--text-title);
}

.sub-index a.active {
  color: var(--gold-highlight);
}

.sub-index a.active::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
  margin-right: 8px;
}

/* ========== 通用区块 ========== */
.section {
  padding: 56px 0;
}

.section-alt {
  background: var(--bg-deep);
}

.section-title {
  margin-bottom: 8px;
}

.section-lead {
  color: var(--text-secondary);
  max-width: 720px;
  margin-bottom: 32px;
  font-size: 1.02rem;
}

.gold-line {
  width: 48px;
  height: 2px;
  background: var(--gold);
  margin: 12px 0 28px;
}

/* 按钮通用 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.15s, box-shadow 0.2s;
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--btn-gradient);
  color: var(--btn-text) !important;
  box-shadow: 0 6px 20px rgba(214, 174, 85, 0.28);
}

.btn-primary:hover {
  opacity: 0.93;
  color: var(--btn-text) !important;
}

.btn-outline {
  background: transparent;
  border: 1px solid var(--border-focus);
  color: var(--gold-light) !important;
}

.btn-outline:hover {
  background: var(--bg-hover);
  color: var(--gold-highlight) !important;
}

.btn-text {
  background: transparent;
  color: var(--gold) !important;
  padding: 8px 0;
  border-bottom: 1px solid transparent;
}

.btn-text:hover {
  border-bottom-color: var(--gold);
  color: var(--gold-highlight) !important;
}

/* 卡片 */
.card {
  background: var(--bg-content);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  transition: border-color 0.2s, background 0.2s;
}

.card:hover {
  border-color: var(--border-focus);
  background: var(--bg-secondary);
}

.card-title {
  color: var(--text-title);
  margin-bottom: 10px;
  font-size: 1.1rem;
}

.card-text {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 12px;
}

.card-tag {
  display: inline-block;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  color: var(--gold);
  border: 1px solid var(--border);
  padding: 3px 10px;
  border-radius: 2px;
  margin-bottom: 12px;
}

/* 网格 */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

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

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

@media (max-width: 1024px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }
}

/* 首页首屏 */
.hero {
  position: relative;
  background: var(--bg-deep);
}

.hero-banner {
  width: 100%;
  max-height: 72vh;
  object-fit: cover;
  object-position: center top;
}

.hero-info-bar {
  background: linear-gradient(180deg, #0a0908 0%, #050505 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 28px 0;
}

.hero-info-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.hero-info-left {
  flex: 1;
  min-width: 280px;
}

.hero-brand {
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  color: var(--gold);
  margin-bottom: 8px;
}

.hero-title {
  font-size: clamp(1.3rem, 2.5vw, 1.7rem);
  color: var(--text-title);
  margin-bottom: 12px;
  font-weight: 600;
}

.hero-desc {
  color: var(--text-secondary);
  max-width: 560px;
  margin-bottom: 20px;
  font-size: 0.98rem;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.hero-keywords {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-left: 24px;
  border-left: 1px solid var(--border);
}

.hero-keywords span {
  font-size: 0.9rem;
  color: var(--text-muted);
  letter-spacing: 0.06em;
}

.hero-keywords span::before {
  content: "·";
  color: var(--gold);
  margin-right: 8px;
}

@media (max-width: 768px) {
  .hero-info-inner {
    flex-direction: column;
  }
  .hero-keywords {
    border-left: none;
    border-top: 1px solid var(--border);
    padding-left: 0;
    padding-top: 16px;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 12px 20px;
  }
}

/* 主焦点 + 快讯 */
.focus-block {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 32px;
  align-items: start;
}

.focus-main {
  background: var(--bg-content);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
}

.focus-main h2 {
  margin-bottom: 16px;
}

.focus-main p {
  color: var(--text-secondary);
  margin-bottom: 12px;
}

.focus-side {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.focus-item {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 20px;
  transition: border-color 0.2s;
}

.focus-item:hover {
  border-color: var(--border-focus);
}

.focus-item h3 {
  font-size: 1rem;
  margin-bottom: 6px;
}

.focus-item p {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.focus-item a {
  font-size: 0.85rem;
}

@media (max-width: 900px) {
  .focus-block {
    grid-template-columns: 1fr;
  }
}

/* 赛道精选 不等大卡片 */
.track-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-template-rows: auto auto;
  gap: 18px;
}

.track-item {
  background: var(--bg-content);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  transition: border-color 0.2s, background 0.2s;
}

.track-item:hover {
  border-color: var(--border-focus);
  background: var(--bg-secondary);
}

.track-item.large {
  grid-column: span 3;
  grid-row: span 2;
  padding: 32px;
}

.track-item.medium {
  grid-column: span 3;
}

.track-item.small {
  grid-column: span 2;
}

.track-item .card-tag {
  margin-bottom: 14px;
}

.track-item h3 {
  margin-bottom: 12px;
}

.track-item p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 16px;
}

@media (max-width: 900px) {
  .track-grid {
    grid-template-columns: 1fr;
  }
  .track-item.large,
  .track-item.medium,
  .track-item.small {
    grid-column: span 1;
    grid-row: span 1;
  }
}

/* 时尚专题 */
.fashion-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.fashion-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  background: var(--bg-content);
}

.fashion-item h3 {
  font-size: 1.05rem;
  margin-bottom: 10px;
  color: var(--gold-light);
}

.fashion-item p {
  font-size: 0.92rem;
  color: var(--text-secondary);
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .fashion-list {
    grid-template-columns: 1fr;
  }
}

/* 档案占位 */
.archive-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.archive-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 20px;
  text-align: center;
}

.archive-num {
  font-size: 1.6rem;
  color: var(--gold);
  font-weight: 600;
  letter-spacing: 0.08em;
  margin-bottom: 10px;
}

.archive-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 4px;
}

@media (max-width: 768px) {
  .archive-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* 晋级路径阶梯 */
.roadmap-steps {
  display: flex;
  gap: 0;
  overflow-x: auto;
  padding-bottom: 8px;
}

.roadmap-step {
  flex: 1;
  min-width: 160px;
  padding: 24px 18px;
  border: 1px solid var(--border);
  border-right: none;
  background: var(--bg-content);
  position: relative;
}

.roadmap-step:last-child {
  border-right: 1px solid var(--border);
}

.roadmap-step .step-num {
  font-size: 1.8rem;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 10px;
  letter-spacing: 0.04em;
}

.roadmap-step h3 {
  font-size: 1rem;
  margin-bottom: 8px;
}

.roadmap-step p {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .roadmap-steps {
    flex-direction: column;
  }
  .roadmap-step {
    border-right: 1px solid var(--border);
    border-bottom: none;
    min-width: 100%;
  }
  .roadmap-step:last-child {
    border-bottom: 1px solid var(--border);
  }
}

/* 评审视角 */
.criteria-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.criteria-item {
  background: var(--bg-content);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}

.criteria-num {
  font-size: 1.4rem;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 8px;
}

.criteria-item h3 {
  font-size: 1.05rem;
  margin-bottom: 10px;
}

.criteria-item p {
  font-size: 0.92rem;
  color: var(--text-secondary);
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .criteria-grid {
    grid-template-columns: 1fr;
  }
}

/* 赛程节目单 */
.schedule-list {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.schedule-item {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 18px 24px;
  border-bottom: 1px solid var(--border);
  background: var(--bg-content);
}

.schedule-item:last-child {
  border-bottom: none;
}

.schedule-status {
  flex-shrink: 0;
  font-size: 0.8rem;
  color: var(--gold);
  letter-spacing: 0.06em;
  min-width: 100px;
}

.schedule-name {
  flex: 1;
  color: var(--text-title);
  font-weight: 500;
}

.schedule-note {
  color: var(--text-muted);
  font-size: 0.88rem;
}

@media (max-width: 640px) {
  .schedule-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
}

/* 参与说明黑金框 */
.participate-box {
  background: var(--bg-deep);
  border: 1px solid var(--border-focus);
  border-radius: var(--radius);
  padding: 36px 32px;
}

.participate-box p {
  color: var(--text-secondary);
  margin-bottom: 14px;
}

/* 安全隐私错位区 */
.safety-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.safety-card {
  background: var(--bg-content);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
}

.safety-card:nth-child(2) {
  margin-top: 40px;
}

@media (max-width: 768px) {
  .safety-block {
    grid-template-columns: 1fr;
  }
  .safety-card:nth-child(2) {
    margin-top: 0;
  }
}

/* FAQ */
.faq-list details {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 12px;
  background: var(--bg-content);
}

.faq-list summary {
  padding: 16px 20px;
  cursor: pointer;
  color: var(--text-title);
  font-weight: 500;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  color: var(--gold);
  font-size: 1.2rem;
}

.faq-list details[open] summary::after {
  content: "−";
}

.faq-list details p {
  padding: 0 20px 18px;
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 0;
}

/* 页脚 */
.site-footer {
  background: var(--footer-bg);
  border-top: 1px solid var(--border);
  padding: 56px 0 32px;
  margin-top: 40px;
}

.footer-top {
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.footer-brand {
  flex: 0 0 280px;
}

.footer-brand img {
  height: 36px;
  margin-bottom: 14px;
}

.footer-brand h3 {
  font-size: 1.1rem;
  margin-bottom: 4px;
}

.footer-brand .en {
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  color: var(--gold);
  margin-bottom: 14px;
}

.footer-brand p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.footer-links {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.footer-col h4 {
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  color: var(--gold);
  margin-bottom: 14px;
}

.footer-col a {
  display: block;
  color: var(--text-secondary);
  font-size: 0.9rem;
  padding: 5px 0;
  transition: color 0.2s;
}

.footer-col a:hover {
  color: var(--text-title);
}

.footer-notice {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  margin-top: 8px;
}

.footer-notice p {
  font-size: 0.85rem;
  color: var(--text-muted);
  max-width: 900px;
  margin-bottom: 16px;
}

.footer-copy {
  font-size: 0.82rem;
  color: var(--text-muted);
}

@media (max-width: 900px) {
  .footer-links {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .footer-brand {
    flex: 1 1 100%;
  }
  .footer-links {
    grid-template-columns: 1fr 1fr;
  }
}

/* 内页通用 */
.page-hero {
  padding: 48px 0 36px;
  border-bottom: 1px solid var(--border);
  background: var(--bg-deep);
}

.page-hero .container {
  max-width: var(--max-width);
}

.page-hero h1 {
  margin-bottom: 12px;
}

.page-hero .lead {
  color: var(--text-secondary);
  max-width: 680px;
  font-size: 1.05rem;
}

.page-content {
  padding: 48px 0 64px;
}

.content-block {
  margin-bottom: 48px;
}

.content-block h2 {
  margin-bottom: 16px;
}

.content-block p {
  color: var(--text-secondary);
  margin-bottom: 14px;
}

.content-block ul {
  margin: 12px 0 16px 0;
}

.content-block li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 8px;
  color: var(--text-secondary);
}

.content-block li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 6px;
  height: 1px;
  background: var(--gold);
}

/* 编号列表 */
.numbered-list {
  counter-reset: item;
}

.numbered-item {
  display: flex;
  gap: 20px;
  margin-bottom: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border);
}

.numbered-item:last-child {
  border-bottom: none;
}

.numbered-item .num {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-focus);
  color: var(--gold);
  font-weight: 600;
  font-size: 1.1rem;
  border-radius: var(--radius-sm);
}

.numbered-item .body h3 {
  margin-bottom: 8px;
}

.numbered-item .body p {
  color: var(--text-secondary);
  margin-bottom: 0;
}

/* 结果状态条 */
.status-bar {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 24px 0;
}

.status-tag {
  padding: 8px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  color: var(--text-secondary);
  background: var(--bg-secondary);
}

.status-tag.pending {
  border-color: var(--border-focus);
  color: var(--gold-light);
}

/* 文章目录 */
.article-toc {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 36px;
}

.article-toc h3 {
  font-size: 0.95rem;
  color: var(--gold);
  margin-bottom: 14px;
}

.article-toc a {
  display: block;
  padding: 6px 0;
  color: var(--text-secondary);
  font-size: 0.92rem;
}

.article-toc a:hover {
  color: var(--gold-highlight);
}

/* 杂志式图文 */
.magazine-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-bottom: 40px;
  align-items: center;
}

.magazine-row.reverse {
  direction: rtl;
}

.magazine-row.reverse > * {
  direction: ltr;
}

.magazine-text h3 {
  margin-bottom: 12px;
}

.magazine-text p {
  color: var(--text-secondary);
}

@media (max-width: 768px) {
  .magazine-row,
  .magazine-row.reverse {
    grid-template-columns: 1fr;
    direction: ltr;
  }
}

/* 摄影画廊 */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.gallery-item {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  aspect-ratio: 3/4;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.9rem;
  text-align: center;
  padding: 20px;
}

@media (max-width: 768px) {
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* 挑战编号 */
.challenge-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.challenge-card {
  display: flex;
  gap: 24px;
  background: var(--bg-content);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
}

.challenge-num {
  flex-shrink: 0;
  font-size: 2rem;
  color: var(--gold);
  font-weight: 600;
  line-height: 1;
}

.challenge-body h3 {
  margin-bottom: 10px;
}

.challenge-body p {
  color: var(--text-secondary);
  margin-bottom: 0;
}

@media (max-width: 640px) {
  .challenge-card {
    flex-direction: column;
    gap: 12px;
  }
}

/* 节目册风格 */
.program-list {
  border-left: 2px solid var(--border-focus);
  padding-left: 28px;
}

.program-item {
  margin-bottom: 28px;
  position: relative;
}

.program-item::before {
  content: "";
  position: absolute;
  left: -35px;
  top: 8px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gold);
  border: 2px solid var(--bg-main);
}

.program-item h3 {
  margin-bottom: 8px;
}

.program-item p {
  color: var(--text-secondary);
}

/* 时间线 */
.timeline {
  position: relative;
  padding-left: 40px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 12px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: var(--border-focus);
}

.timeline-item {
  position: relative;
  margin-bottom: 32px;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -34px;
  top: 6px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--bg-main);
  border: 2px solid var(--gold);
}

.timeline-item h3 {
  margin-bottom: 8px;
}

.timeline-item p {
  color: var(--text-secondary);
}

/* 搜索面板（简单） */
.search-panel {
  display: none;
  position: absolute;
  top: 100%;
  right: 20px;
  width: 320px;
  background: var(--bg-deep);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  z-index: 1050;
  box-shadow: var(--shadow);
}

.search-panel.open {
  display: block;
}

.search-panel input {
  width: 100%;
  padding: 10px 14px;
  background: var(--bg-content);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-body);
  font-size: 0.95rem;
}

.search-panel input:focus {
  outline: none;
  border-color: var(--border-focus);
}

.search-panel p {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 10px;
  margin-bottom: 0;
}

/* 工具类 */
.text-gold {
  color: var(--gold);
}

.text-muted {
  color: var(--text-muted);
}

.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }

/* reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* 确保无横向滚动 */
html, body {
  max-width: 100vw;
  overflow-x: hidden;
}

/* 焦点可见 */
:focus-visible {
  outline: 2px solid var(--gold-highlight);
  outline-offset: 3px;
}

button:focus-visible,
a:focus-visible {
  outline: 2px solid var(--gold-highlight);
  outline-offset: 3px;
}
