/* 51吃瓜 - 全站样式 */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  background: #0B0B1A;
  color: #E8E8F0;
  line-height: 1.7;
  font-size: 16px;
  min-height: 100vh;
  overflow-x: hidden;
}

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

a {
  color: #FF4D8A;
  text-decoration: none;
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

a:hover {
  color: #FFB3C9;
}

a:focus-visible {
  outline: 2px solid #FF4D8A;
  outline-offset: 3px;
}

ul, ol {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  color: #FFFFFF;
  font-weight: 700;
  line-height: 1.35;
}

h1 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin-bottom: 1rem;
}

h2 {
  font-size: clamp(1.4rem, 3vw, 1.85rem);
  margin-bottom: 0.85rem;
}

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

p {
  margin-bottom: 1rem;
  color: #E8E8F0;
}

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

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

/* ========== 顶部导航 ========== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(11, 11, 26, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 45, 106, 0.18);
  height: 72px;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
  gap: 16px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  color: #FFFFFF;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

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

.brand-logo:hover {
  color: #FFB3C9;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 1;
  margin-left: 20px;
}

.desktop-nav a {
  color: #A0A0B8;
  font-size: 0.95rem;
  font-weight: 500;
  padding: 8px 12px;
  border-radius: 20px;
  white-space: nowrap;
  position: relative;
}

.desktop-nav a:hover,
.desktop-nav a.active {
  color: #FFFFFF;
  background: rgba(255, 45, 106, 0.15);
}

.desktop-nav a.active::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 4px;
  height: 2px;
  background: linear-gradient(90deg, #FF4D8A, #9B4DFF);
  border-radius: 2px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.btn-icon,
.btn-text {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  min-width: 44px;
  padding: 0 14px;
  border-radius: 22px;
  border: 1px solid transparent;
  background: transparent;
  color: #E8E8F0;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-icon:hover,
.btn-text:hover {
  background: rgba(255, 45, 106, 0.12);
  color: #FFFFFF;
}

.btn-primary {
  background: linear-gradient(135deg, #FF4D8A 0%, #FF2D6A 50%, #E6005C 100%);
  color: #FFFFFF;
  border: none;
  box-shadow: 0 8px 24px rgba(255, 45, 106, 0.3);
}

.btn-primary:hover {
  filter: brightness(1.08);
  color: #FFFFFF;
  box-shadow: 0 10px 28px rgba(255, 45, 106, 0.4);
}

.btn-secondary {
  border: 1px solid rgba(255, 77, 138, 0.45);
  color: #FFFFFF;
  background: transparent;
}

.btn-secondary:hover {
  background: rgba(255, 45, 106, 0.12);
  border-color: #FF4D8A;
  color: #FFFFFF;
}

.menu-toggle {
  display: none;
  background: transparent;
  border: none;
  color: #FFFFFF;
  font-size: 1.4rem;
  min-width: 44px;
  min-height: 44px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

.mobile-brand {
  display: none;
}

@media (max-width: 992px) {
  .desktop-nav {
    display: none;
  }
  .menu-toggle {
    display: inline-flex;
  }
  .header-actions .btn-text:not(.btn-app) {
    display: none;
  }
  .brand-logo.desktop-only {
    display: none;
  }
  .mobile-brand {
    display: flex;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
  }
  .header-inner {
    position: relative;
    justify-content: space-between;
  }
}

/* ========== 频道面板 ========== */
.channel-panel {
  position: fixed;
  top: 0;
  right: 0;
  width: 450px;
  max-width: 88vw;
  height: 100%;
  background: #12121F;
  z-index: 2000;
  transform: translateX(100%);
  transition: transform 0.3s ease, visibility 0.3s;
  visibility: hidden;
  pointer-events: none;
  overflow-y: auto;
  box-shadow: -16px 0 48px rgba(0, 0, 0, 0.55);
  border-left: 1px solid rgba(255, 45, 106, 0.18);
}

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

.channel-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid rgba(255, 45, 106, 0.18);
  position: sticky;
  top: 0;
  background: #12121F;
  z-index: 2;
}

.channel-panel-header .brand-logo {
  font-size: 1.2rem;
}

.channel-close {
  background: transparent;
  border: none;
  color: #A0A0B8;
  font-size: 1.5rem;
  min-width: 44px;
  min-height: 44px;
  cursor: pointer;
  border-radius: 50%;
}

.channel-close:hover {
  color: #FFFFFF;
  background: rgba(255, 45, 106, 0.15);
}

.channel-group {
  padding: 20px 24px 8px;
}

.channel-group-title {
  font-size: 0.8rem;
  color: #6B6B80;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
  font-weight: 600;
}

.channel-item {
  display: block;
  padding: 12px 14px;
  border-radius: 12px;
  margin-bottom: 6px;
  transition: background 0.2s;
}

.channel-item:hover {
  background: #1A1A2A;
}

.channel-item-name {
  color: #FFFFFF;
  font-weight: 600;
  font-size: 0.98rem;
  margin-bottom: 4px;
}

.channel-item-desc {
  color: #A0A0B8;
  font-size: 0.82rem;
  line-height: 1.45;
}

/* 遮罩 */
.overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 1500;
  visibility: hidden;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s, visibility 0.3s;
}

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

/* ========== 搜索面板 ========== */
.search-panel {
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  background: #12121F;
  z-index: 1800;
  padding: 28px 20px 36px;
  border-bottom: 1px solid rgba(255, 45, 106, 0.18);
  visibility: hidden;
  pointer-events: none;
  opacity: 0;
  transform: translateY(-12px);
  transition: opacity 0.25s, transform 0.25s, visibility 0.25s;
  max-height: calc(100vh - 72px);
  overflow-y: auto;
}

.search-panel.open {
  visibility: visible;
  pointer-events: auto;
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 768px) {
  .search-panel {
    top: 0;
    height: 100%;
    max-height: 100%;
    padding-top: 80px;
  }
}

.search-inner {
  max-width: 800px;
  margin: 0 auto;
}

.search-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.search-header h2 {
  font-size: 1.25rem;
  margin: 0;
}

.search-close {
  background: transparent;
  border: none;
  color: #A0A0B8;
  font-size: 1.4rem;
  min-width: 44px;
  min-height: 44px;
  cursor: pointer;
  border-radius: 50%;
}

.search-close:hover {
  color: #FFFFFF;
  background: rgba(255, 45, 106, 0.15);
}

.search-input-wrap {
  position: relative;
  margin-bottom: 28px;
}

.search-input {
  width: 100%;
  padding: 16px 20px;
  background: #1A1A2A;
  border: 1px solid rgba(255, 45, 106, 0.25);
  border-radius: 16px;
  color: #FFFFFF;
  font-size: 1.05rem;
  outline: none;
}

.search-input:focus {
  border-color: #FF4D8A;
  box-shadow: 0 0 0 3px rgba(255, 45, 106, 0.2);
}

.search-input::placeholder {
  color: #6B6B80;
}

.search-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.search-tag {
  display: inline-block;
  padding: 8px 16px;
  background: #1A1A2A;
  border: 1px solid rgba(255, 45, 106, 0.18);
  border-radius: 20px;
  color: #E8E8F0;
  font-size: 0.88rem;
  cursor: pointer;
  transition: all 0.2s;
}

.search-tag:hover {
  background: rgba(255, 45, 106, 0.15);
  border-color: #FF4D8A;
  color: #FFFFFF;
}

.search-results {
  display: none;
}

.search-results.show {
  display: block;
}

.search-result-item {
  display: block;
  padding: 12px 16px;
  border-radius: 12px;
  margin-bottom: 6px;
  color: #E8E8F0;
  background: #1A1A2A;
}

.search-result-item:hover {
  background: #222233;
  color: #FFFFFF;
}

/* ========== 手机底部导航 ========== */
.mobile-bottom-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: calc(56px + env(safe-area-inset-bottom, 0px));
  padding-bottom: env(safe-area-inset-bottom, 0px);
  background: rgba(8, 8, 18, 0.96);
  backdrop-filter: blur(12px);
  border-top: 1px solid rgba(255, 45, 106, 0.18);
  z-index: 900;
  justify-content: space-around;
  align-items: center;
}

.mobile-bottom-nav a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: 1;
  height: 100%;
  min-height: 48px;
  color: #A0A0B8;
  font-size: 0.72rem;
  font-weight: 500;
  gap: 2px;
  padding: 6px 0;
}

.mobile-bottom-nav a span.icon {
  font-size: 1.25rem;
  line-height: 1;
}

.mobile-bottom-nav a.active {
  color: #FF2D6A;
}

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

/* ========== 主内容区 ========== */
main {
  min-height: 60vh;
}

.page-hero {
  padding: 48px 0 36px;
  background: linear-gradient(180deg, #12121F 0%, #0B0B1A 100%);
  border-bottom: 1px solid rgba(255, 45, 106, 0.12);
}

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

.page-hero .lead {
  color: #A0A0B8;
  font-size: 1.05rem;
  max-width: 720px;
  margin-bottom: 0;
}

.section {
  padding: 48px 0;
}

.section-title {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}

.section-title h2 {
  margin: 0;
}

.section-more {
  color: #FF4D8A;
  font-size: 0.92rem;
  font-weight: 600;
}

.section-more:hover {
  color: #FFB3C9;
}

/* 卡片通用 */
.card {
  background: #12121F;
  border: 1px solid rgba(255, 45, 106, 0.18);
  border-radius: 16px;
  overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.card:hover {
  border-color: rgba(255, 77, 138, 0.45);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.55);
}

.card-body {
  padding: 20px 22px;
}

.card-title {
  color: #FFFFFF;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.card-text {
  color: #A0A0B8;
  font-size: 0.92rem;
  line-height: 1.6;
  margin-bottom: 0;
}

.tag {
  display: inline-block;
  padding: 4px 10px;
  background: rgba(255, 45, 106, 0.12);
  color: #FF4D8A;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 6px;
  margin-right: 6px;
  margin-bottom: 6px;
}

.tag-purple {
  background: rgba(123, 44, 191, 0.2);
  color: #9B4DFF;
}

/* 按钮组 */
.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 24px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  text-align: center;
  transition: all 0.2s;
}

.btn-lg {
  min-height: 52px;
  padding: 0 28px;
  font-size: 1rem;
}

/* ========== 首页首屏 ========== */
.home-hero {
  padding: 40px 0 20px;
}

.home-hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 32px;
  align-items: center;
}

.hero-visual {
  border-radius: 20px;
  overflow: hidden;
  background: linear-gradient(135deg, #1A1A2A 0%, #12121F 50%, #0B0B1A 100%);
  border: 1px solid rgba(255, 45, 106, 0.18);
  aspect-ratio: 16 / 10;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.55);
}

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

.hero-fallback {
  text-align: center;
  padding: 40px;
}

.hero-fallback .brand-mark {
  font-size: 2.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, #FF4D8A, #9B4DFF);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 12px;
}

.hero-content h1 {
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  margin-bottom: 16px;
  background: linear-gradient(90deg, #FFFFFF 0%, #FFB3C9 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-content .intro {
  color: #A0A0B8;
  font-size: 1rem;
  line-height: 1.75;
  margin-bottom: 24px;
}

.hero-reco {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hero-reco-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 14px;
  background: #1A1A2A;
  border-radius: 12px;
  border: 1px solid rgba(255, 45, 106, 0.12);
}

.hero-reco-item .num {
  color: #FF2D6A;
  font-weight: 800;
  font-size: 0.95rem;
  flex-shrink: 0;
}

.hero-reco-item p {
  margin: 0;
  font-size: 0.9rem;
  color: #E8E8F0;
}

@media (max-width: 900px) {
  .home-hero-grid {
    grid-template-columns: 1fr;
  }
  .hero-visual {
    order: 2;
  }
  .hero-content {
    order: 1;
  }
}

/* 频道快捷条 */
.channel-quick {
  padding: 16px 0 8px;
  overflow: hidden;
}

.channel-quick-track {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 8px;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 45, 106, 0.3) transparent;
  -webkit-overflow-scrolling: touch;
}

.channel-quick-track::-webkit-scrollbar {
  height: 4px;
}

.channel-quick-track::-webkit-scrollbar-thumb {
  background: rgba(255, 45, 106, 0.3);
  border-radius: 4px;
}

.channel-quick-item {
  flex-shrink: 0;
  padding: 8px 16px;
  background: #1A1A2A;
  border: 1px solid rgba(255, 45, 106, 0.18);
  border-radius: 20px;
  color: #A0A0B8;
  font-size: 0.88rem;
  font-weight: 500;
  white-space: nowrap;
}

.channel-quick-item:hover,
.channel-quick-item.active {
  color: #FFFFFF;
  border-color: #FF4D8A;
  background: rgba(255, 45, 106, 0.12);
}

/* 今日灵感胶囊 */
.inspire-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.inspire-item {
  display: flex;
  flex-direction: column;
  padding: 14px 18px;
  background: #12121F;
  border: 1px solid rgba(255, 45, 106, 0.18);
  border-radius: 16px;
  min-width: 140px;
  flex: 1 1 140px;
  max-width: 220px;
  transition: border-color 0.2s, background 0.2s;
}

.inspire-item:hover {
  border-color: rgba(255, 77, 138, 0.45);
  background: #1A1A2A;
}

.inspire-item strong {
  color: #FFFFFF;
  font-size: 0.95rem;
  margin-bottom: 6px;
}

.inspire-item span {
  color: #A0A0B8;
  font-size: 0.8rem;
  line-height: 1.45;
}

/* 主推荐 + 列表 */
.feature-main {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 24px;
}

.feature-main .main-card {
  background: #12121F;
  border: 1px solid rgba(255, 45, 106, 0.18);
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.feature-main .main-card .visual {
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, #1A1A2A, #0B0B1A);
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-main .main-card .visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.feature-main .main-card .body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.feature-main .side-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.side-item {
  display: block;
  padding: 16px 18px;
  background: #12121F;
  border: 1px solid rgba(255, 45, 106, 0.12);
  border-radius: 14px;
  transition: border-color 0.2s, background 0.2s;
}

.side-item:hover {
  border-color: rgba(255, 77, 138, 0.4);
  background: #1A1A2A;
}

.side-item .type {
  font-size: 0.75rem;
  color: #FF4D8A;
  font-weight: 600;
  margin-bottom: 4px;
}

.side-item h3 {
  font-size: 0.98rem;
  margin-bottom: 4px;
  color: #FFFFFF;
}

.side-item p {
  font-size: 0.85rem;
  color: #A0A0B8;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

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

/* 横向轨道 */
.track-scroll {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding-bottom: 12px;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}

.track-card {
  flex: 0 0 260px;
  background: #12121F;
  border: 1px solid rgba(255, 45, 106, 0.18);
  border-radius: 16px;
  overflow: hidden;
  transition: border-color 0.2s;
}

.track-card:hover {
  border-color: rgba(255, 77, 138, 0.45);
}

.track-card .thumb {
  aspect-ratio: 16 / 10;
  background: linear-gradient(135deg, #1A1A2A, #0B0B1A);
  display: flex;
  align-items: center;
  justify-content: center;
}

.track-card .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.track-card .body {
  padding: 16px;
}

.track-card h3 {
  font-size: 1rem;
  margin-bottom: 6px;
}

.track-card p {
  font-size: 0.85rem;
  color: #A0A0B8;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* 网格卡片 */
.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

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

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

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

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

/* 编号列表 */
.num-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.num-item {
  display: flex;
  gap: 16px;
  padding: 18px 20px;
  background: #12121F;
  border: 1px solid rgba(255, 45, 106, 0.12);
  border-radius: 14px;
  transition: border-color 0.2s;
}

.num-item:hover {
  border-color: rgba(255, 77, 138, 0.4);
}

.num-item .num {
  font-size: 1.5rem;
  font-weight: 800;
  color: #FF2D6A;
  line-height: 1;
  min-width: 40px;
}

.num-item h3 {
  font-size: 1.05rem;
  margin-bottom: 6px;
}

.num-item p {
  font-size: 0.9rem;
  color: #A0A0B8;
  margin: 0;
}

/* 榜单 */
.rank-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.rank-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  background: #12121F;
  border: 1px solid rgba(255, 45, 106, 0.12);
  border-radius: 14px;
}

.rank-item .rank-num {
  font-size: 1.6rem;
  font-weight: 800;
  background: linear-gradient(135deg, #FF4D8A, #9B4DFF);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  min-width: 48px;
  text-align: center;
}

.rank-item .info {
  flex: 1;
}

.rank-item h3 {
  font-size: 1.05rem;
  margin-bottom: 4px;
}

.rank-item p {
  font-size: 0.85rem;
  color: #A0A0B8;
  margin: 0;
}

/* 日历轨道 */
.calendar-track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding-bottom: 12px;
}

.calendar-card {
  flex: 0 0 220px;
  background: #12121F;
  border: 1px solid rgba(255, 45, 106, 0.18);
  border-radius: 16px;
  padding: 20px;
}

.calendar-card .status {
  display: inline-block;
  padding: 4px 10px;
  background: rgba(155, 77, 255, 0.15);
  color: #9B4DFF;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 6px;
  margin-bottom: 10px;
}

.calendar-card h3 {
  font-size: 1rem;
  margin-bottom: 8px;
}

.calendar-card p {
  font-size: 0.85rem;
  color: #A0A0B8;
  margin: 0;
}

/* 杂志式不对称 */
.magazine-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 24px;
}

.magazine-grid .wide {
  grid-column: 1 / -1;
}

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

/* FAQ */
.faq-list details {
  background: #12121F;
  border: 1px solid rgba(255, 45, 106, 0.12);
  border-radius: 12px;
  margin-bottom: 12px;
  overflow: hidden;
}

.faq-list summary {
  padding: 18px 20px;
  cursor: pointer;
  font-weight: 600;
  color: #FFFFFF;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

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

.faq-list summary::after {
  content: "+";
  font-size: 1.3rem;
  color: #FF4D8A;
  font-weight: 400;
}

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

.faq-list details p {
  padding: 0 20px 18px;
  color: #A0A0B8;
  font-size: 0.95rem;
  margin: 0;
}

/* 页脚 */
.site-footer {
  background: #05050A;
  color: #C8C8D8;
  padding: 56px 0 32px;
  margin-top: 40px;
  border-top: 1px solid rgba(255, 45, 106, 0.12);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
}

.footer-brand img {
  height: 32px;
  width: auto;
}

.footer-brand .name {
  font-size: 1.25rem;
  font-weight: 800;
  color: #FFFFFF;
}

.footer-brand .en {
  font-size: 0.8rem;
  color: #6B6B80;
  letter-spacing: 0.1em;
}

.footer-desc {
  color: #A0A0B8;
  font-size: 0.9rem;
  max-width: 520px;
  margin-bottom: 36px;
  line-height: 1.65;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  margin-bottom: 40px;
}

.footer-col h4 {
  color: #FFFFFF;
  font-size: 0.95rem;
  margin-bottom: 14px;
  font-weight: 700;
}

.footer-col a {
  display: block;
  color: #A0A0B8;
  font-size: 0.88rem;
  padding: 5px 0;
}

.footer-col a:hover {
  color: #FF4D8A;
}

.footer-notice {
  font-size: 0.82rem;
  color: #6B6B80;
  line-height: 1.6;
  padding: 20px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  margin-bottom: 20px;
}

.footer-copy {
  font-size: 0.82rem;
  color: #6B6B80;
  text-align: center;
}

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

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

/* 内容正文通用 */
.content-block {
  max-width: 820px;
}

.content-block p {
  margin-bottom: 1.15rem;
  line-height: 1.8;
}

.content-block h2 {
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.content-block h3 {
  margin-top: 1.6rem;
  margin-bottom: 0.8rem;
}

.content-block ul {
  margin: 0 0 1.2rem 1.2rem;
  list-style: disc;
}

.content-block ul li {
  margin-bottom: 0.5rem;
  color: #E8E8F0;
}

/* 两栏内容 */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

@media (max-width: 800px) {
  .two-col {
    grid-template-columns: 1fr;
  }
}

/* 文章列表 */
.article-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.article-item {
  padding: 24px;
  background: #12121F;
  border: 1px solid rgba(255, 45, 106, 0.12);
  border-radius: 16px;
}

.article-item .meta {
  font-size: 0.8rem;
  color: #FF4D8A;
  font-weight: 600;
  margin-bottom: 8px;
}

.article-item h3 {
  margin-bottom: 10px;
}

.article-item p {
  color: #A0A0B8;
  font-size: 0.95rem;
  margin-bottom: 12px;
}

/* 视觉替代块 */
.visual-placeholder {
  background: linear-gradient(135deg, #1A1A2A 0%, #12121F 50%, #0B0B1A 100%);
  border: 1px solid rgba(255, 45, 106, 0.15);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 180px;
  color: #6B6B80;
  font-size: 0.9rem;
  text-align: center;
  padding: 24px;
}

.visual-placeholder .mark {
  font-size: 1.8rem;
  font-weight: 800;
  background: linear-gradient(135deg, #FF4D8A, #9B4DFF);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 8px;
}

/* 装饰光晕 */
.glow-pink {
  box-shadow: 0 12px 36px rgba(255, 45, 106, 0.22);
}

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

/* 工具类 */
.text-muted {
  color: #A0A0B8;
}

.text-light {
  color: #E8E8F0;
}

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}
