/* 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;
  overflow-x: hidden;
  min-height: 100vh;
}

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

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

a:hover {
  color: #FFB3C9;
}

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

ul, ol {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

.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;
}

.logo-link {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  min-height: 44px;
}

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

.logo-text {
  font-size: 22px;
  font-weight: 700;
  color: #FFFFFF;
  letter-spacing: 0.5px;
  background: linear-gradient(135deg, #FF4D8A, #9B4DFF);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

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

.desktop-nav a {
  color: #C8C8D8;
  font-size: 15px;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 20px;
  white-space: nowrap;
  transition: all 0.2s ease;
}

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

.desktop-nav a.active {
  box-shadow: inset 0 -2px 0 #FF2D6A;
  border-radius: 0;
  background: transparent;
}

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

.btn-search,
.btn-channel {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #E8E8F0;
  background: rgba(255, 255, 255, 0.06);
  transition: background 0.2s ease;
}

.btn-search:hover,
.btn-channel:hover {
  background: rgba(255, 45, 106, 0.2);
  color: #FF4D8A;
}

.btn-list {
  color: #E8E8F0;
  font-size: 14px;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 20px;
  border: 1px solid rgba(255, 77, 138, 0.45);
  transition: all 0.2s ease;
}

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

.btn-app {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  font-size: 14px;
  font-weight: 600;
  color: #FFFFFF;
  background: linear-gradient(135deg, #FF4D8A 0%, #FF2D6A 50%, #E6005C 100%);
  border-radius: 22px;
  box-shadow: 0 4px 16px rgba(255, 45, 106, 0.3);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-app:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(255, 45, 106, 0.4);
  color: #FFFFFF;
}

.mobile-left,
.mobile-center,
.mobile-right {
  display: none;
}

/* 手机端顶部导航 */
@media (max-width: 900px) {
  .desktop-nav,
  .btn-list,
  .btn-search {
    display: none;
  }

  .mobile-left,
  .mobile-center,
  .mobile-right {
    display: flex;
    align-items: center;
  }

  .header-inner {
    justify-content: space-between;
  }

  .logo-link {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
  }

  .mobile-left .btn-channel {
    margin-right: auto;
  }

  .mobile-right .btn-app {
    padding: 0 14px;
    font-size: 13px;
  }
}

/* ========== 频道面板 ========== */
.overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 1100;
  visibility: hidden;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

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

.channel-panel {
  position: fixed;
  top: 0;
  right: 0;
  width: 440px;
  max-width: 88vw;
  height: 100%;
  background: #12121F;
  z-index: 1200;
  visibility: hidden;
  pointer-events: none;
  transform: translateX(100%);
  transition: transform 0.3s ease, visibility 0.3s ease;
  display: flex;
  flex-direction: column;
  box-shadow: -8px 0 32px rgba(0, 0, 0, 0.5);
}

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

.channel-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  border-bottom: 1px solid rgba(255, 45, 106, 0.18);
  flex-shrink: 0;
}

.channel-panel-header .logo-text {
  font-size: 18px;
}

.channel-close {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #A0A0B8;
  font-size: 22px;
}

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

.channel-panel-body {
  flex: 1;
  overflow-y: auto;
  padding: 16px 20px 40px;
  -webkit-overflow-scrolling: touch;
}

.channel-group {
  margin-bottom: 28px;
}

.channel-group-title {
  font-size: 13px;
  font-weight: 600;
  color: #6B6B80;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
  padding-left: 4px;
}

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

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

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

.channel-item-desc {
  font-size: 13px;
  color: #A0A0B8;
  line-height: 1.5;
}

/* ========== 搜索面板 ========== */
.search-panel {
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  background: #12121F;
  z-index: 1050;
  visibility: hidden;
  pointer-events: none;
  opacity: 0;
  transform: translateY(-12px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
  border-bottom: 1px solid rgba(255, 45, 106, 0.18);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.55);
}

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

.search-panel-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 24px 20px 32px;
}

.search-close-row {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 12px;
}

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

.search-input {
  width: 100%;
  height: 52px;
  padding: 0 20px 0 48px;
  font-size: 16px;
  color: #FFFFFF;
  background: #1A1A2A;
  border: 1px solid rgba(255, 77, 138, 0.3);
  border-radius: 26px;
  outline: none;
  transition: border-color 0.2s ease;
}

.search-input:focus {
  border-color: #FF4D8A;
}

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

.search-icon {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: #A0A0B8;
  font-size: 18px;
  pointer-events: none;
}

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

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

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

.search-quick-links {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 10px;
}

.search-quick-links a {
  padding: 10px 14px;
  font-size: 14px;
  color: #C8C8D8;
  background: #1A1A2A;
  border-radius: 10px;
  text-align: center;
}

.search-quick-links a:hover {
  color: #FF4D8A;
  background: #222233;
}

@media (max-width: 768px) {
  .search-panel {
    top: 0;
    bottom: 0;
    height: 100%;
    overflow-y: auto;
  }

  .search-panel-inner {
    padding-top: 60px;
  }
}

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

/* ========== 频道快捷条 ========== */
.channel-quick {
  background: #12121F;
  border-bottom: 1px solid rgba(255, 45, 106, 0.12);
  padding: 14px 0;
  overflow: hidden;
}

.channel-quick-inner {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 0 4px;
}

.channel-quick-inner::-webkit-scrollbar {
  display: none;
}

.channel-quick a {
  flex-shrink: 0;
  padding: 6px 16px;
  font-size: 13px;
  font-weight: 500;
  color: #A0A0B8;
  background: #1A1A2A;
  border: 1px solid rgba(255, 45, 106, 0.15);
  border-radius: 18px;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.channel-quick a:hover,
.channel-quick a.active {
  color: #FFFFFF;
  background: rgba(255, 45, 106, 0.18);
  border-color: rgba(255, 77, 138, 0.45);
}

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

.section-title {
  font-size: 26px;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 8px;
  letter-spacing: 0.3px;
}

.section-subtitle {
  font-size: 15px;
  color: #A0A0B8;
  margin-bottom: 28px;
}

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

.section-more {
  font-size: 14px;
  color: #FF4D8A;
  font-weight: 500;
}

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

/* ========== 按钮 ========== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 28px;
  font-size: 15px;
  font-weight: 600;
  color: #FFFFFF;
  background: linear-gradient(135deg, #FF4D8A 0%, #FF2D6A 50%, #E6005C 100%);
  border-radius: 24px;
  box-shadow: 0 12px 36px rgba(255, 45, 106, 0.22);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(255, 45, 106, 0.3);
  color: #FFFFFF;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  font-size: 15px;
  font-weight: 500;
  color: #FFFFFF;
  background: transparent;
  border: 1px solid rgba(255, 77, 138, 0.45);
  border-radius: 24px;
  transition: all 0.2s ease;
}

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

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

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

.card-body {
  padding: 20px;
}

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

.card-title {
  font-size: 17px;
  font-weight: 600;
  color: #FFFFFF;
  margin-bottom: 8px;
  line-height: 1.4;
}

.card-desc {
  font-size: 14px;
  color: #A0A0B8;
  line-height: 1.6;
}

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

.hero-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr;
  gap: 28px;
  align-items: stretch;
}

.hero-visual {
  border-radius: 20px;
  overflow: hidden;
  background: linear-gradient(135deg, #1A1A2A 0%, #12121F 100%);
  border: 1px solid rgba(255, 45, 106, 0.15);
  min-height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

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

.hero-visual-placeholder {
  width: 100%;
  height: 100%;
  min-height: 360px;
  background: linear-gradient(145deg, #1A1A2A 0%, #2A1A2A 40%, #1A1A2A 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px;
  text-align: center;
}

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

.hero-visual-placeholder p {
  color: #A0A0B8;
  font-size: 15px;
  max-width: 280px;
}

.hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 12px 0;
}

.hero-brand {
  font-size: 14px;
  font-weight: 600;
  color: #FF4D8A;
  letter-spacing: 2px;
  margin-bottom: 12px;
}

.hero-title {
  font-size: 28px;
  font-weight: 700;
  color: #FFFFFF;
  line-height: 1.35;
  margin-bottom: 16px;
}

.hero-desc {
  font-size: 15px;
  color: #C8C8D8;
  line-height: 1.75;
  margin-bottom: 24px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}

.hero-reco {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.hero-reco-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: #A0A0B8;
}

.hero-reco-item::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #FF2D6A;
  flex-shrink: 0;
}

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

  .hero-visual {
    order: 2;
    min-height: 240px;
  }

  .hero-content {
    order: 1;
  }

  .hero-title {
    font-size: 24px;
  }
}

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

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

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

.inspire-name {
  font-size: 14px;
  font-weight: 600;
  color: #FFFFFF;
  margin-bottom: 4px;
}

.inspire-desc {
  font-size: 12px;
  color: #6B6B80;
  line-height: 1.45;
}

/* ========== 热点主推荐 ========== */
.hot-main {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 24px;
  margin-bottom: 28px;
}

.hot-feature {
  background: #12121F;
  border: 1px solid rgba(255, 45, 106, 0.18);
  border-radius: 18px;
  padding: 28px;
  position: relative;
  overflow: hidden;
}

.hot-feature::before {
  content: "";
  position: absolute;
  top: -40%;
  right: -20%;
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(255, 45, 106, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.hot-feature-type {
  display: inline-block;
  padding: 4px 12px;
  font-size: 12px;
  font-weight: 600;
  color: #FF4D8A;
  background: rgba(255, 45, 106, 0.12);
  border-radius: 6px;
  margin-bottom: 14px;
}

.hot-feature-title {
  font-size: 22px;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 14px;
  line-height: 1.35;
}

.hot-feature-desc {
  font-size: 15px;
  color: #C8C8D8;
  line-height: 1.75;
  margin-bottom: 16px;
}

.hot-feature-meta {
  font-size: 13px;
  color: #A0A0B8;
  margin-bottom: 20px;
}

.hot-side {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

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

.hot-side-item:hover {
  border-color: rgba(255, 77, 138, 0.35);
}

.hot-side-item h4 {
  font-size: 15px;
  font-weight: 600;
  color: #FFFFFF;
  margin-bottom: 4px;
}

.hot-side-item p {
  font-size: 13px;
  color: #6B6B80;
}

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

/* ========== 横向轨道 ========== */
.track-scroll {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 45, 106, 0.3) transparent;
  padding-bottom: 8px;
}

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

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

.track-card {
  flex: 0 0 220px;
  background: #12121F;
  border: 1px solid rgba(255, 45, 106, 0.12);
  border-radius: 14px;
  padding: 20px;
  transition: border-color 0.2s ease;
}

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

.track-card h4 {
  font-size: 15px;
  font-weight: 600;
  color: #FFFFFF;
  margin-bottom: 8px;
}

.track-card p {
  font-size: 13px;
  color: #A0A0B8;
  line-height: 1.55;
}

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

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

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

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

@media (max-width: 600px) {
  .grid-2,
  .grid-4 {
    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.1);
  border-radius: 14px;
  transition: border-color 0.2s ease;
}

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

.num-badge {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 700;
  color: #FF4D8A;
  background: rgba(255, 45, 106, 0.12);
  border-radius: 10px;
}

.num-content h4 {
  font-size: 16px;
  font-weight: 600;
  color: #FFFFFF;
  margin-bottom: 4px;
}

.num-content p {
  font-size: 13px;
  color: #A0A0B8;
}

/* ========== 片单卡片 ========== */
.list-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.list-card {
  background: #12121F;
  border: 1px solid rgba(255, 45, 106, 0.12);
  border-radius: 14px;
  padding: 22px 18px;
  text-align: center;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.list-card:hover {
  border-color: rgba(255, 77, 138, 0.4);
  transform: translateY(-2px);
}

.list-card-icon {
  font-size: 28px;
  margin-bottom: 12px;
}

.list-card h4 {
  font-size: 15px;
  font-weight: 600;
  color: #FFFFFF;
  margin-bottom: 6px;
}

.list-card p {
  font-size: 12px;
  color: #6B6B80;
  line-height: 1.5;
}

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

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

/* ========== 榜单 ========== */
.rank-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.rank-card {
  background: #12121F;
  border: 1px solid rgba(255, 45, 106, 0.12);
  border-radius: 16px;
  padding: 24px;
  position: relative;
  overflow: hidden;
}

.rank-card::before {
  content: attr(data-num);
  position: absolute;
  top: 12px;
  right: 16px;
  font-size: 42px;
  font-weight: 800;
  color: rgba(255, 45, 106, 0.12);
  line-height: 1;
  pointer-events: none;
}

.rank-card h4 {
  font-size: 16px;
  font-weight: 600;
  color: #FFFFFF;
  margin-bottom: 8px;
  position: relative;
}

.rank-card p {
  font-size: 13px;
  color: #A0A0B8;
  line-height: 1.55;
  position: relative;
}

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

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

.calendar-item {
  flex: 0 0 200px;
  background: #12121F;
  border: 1px solid rgba(255, 45, 106, 0.12);
  border-radius: 14px;
  padding: 20px;
}

.calendar-status {
  display: inline-block;
  padding: 3px 10px;
  font-size: 11px;
  font-weight: 600;
  border-radius: 6px;
  margin-bottom: 10px;
}

.calendar-status.done {
  color: #7BFFB0;
  background: rgba(123, 255, 176, 0.1);
}

.calendar-status.progress {
  color: #FFB3C9;
  background: rgba(255, 179, 201, 0.1);
}

.calendar-status.pending {
  color: #A0A0B8;
  background: rgba(160, 160, 184, 0.1);
}

.calendar-item h4 {
  font-size: 15px;
  font-weight: 600;
  color: #FFFFFF;
  margin-bottom: 6px;
}

.calendar-item p {
  font-size: 13px;
  color: #6B6B80;
}

/* ========== 编辑观察 ========== */
.review-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.review-item {
  display: block;
  padding: 22px 24px;
  background: #12121F;
  border: 1px solid rgba(255, 45, 106, 0.1);
  border-radius: 14px;
  border-left: 3px solid #FF2D6A;
  transition: border-color 0.2s ease;
}

.review-item:hover {
  border-color: rgba(255, 77, 138, 0.35);
  border-left-color: #FF4D8A;
}

.review-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  color: #FF4D8A;
  margin-bottom: 8px;
}

.review-item h4 {
  font-size: 17px;
  font-weight: 600;
  color: #FFFFFF;
  margin-bottom: 8px;
}

.review-item p {
  font-size: 14px;
  color: #A0A0B8;
  line-height: 1.65;
}

/* ========== APP 区块 ========== */
.app-block {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 32px;
  align-items: center;
  background: #12121F;
  border: 1px solid rgba(255, 45, 106, 0.15);
  border-radius: 20px;
  padding: 36px;
  overflow: hidden;
}

.app-visual {
  border-radius: 16px;
  overflow: hidden;
  background: linear-gradient(145deg, #1A1A2A, #2A1A2A);
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.app-visual img {
  max-height: 320px;
  width: auto;
  margin: 0 auto;
}

.app-visual-placeholder {
  text-align: center;
  padding: 40px;
}

.app-visual-placeholder .icon-big {
  font-size: 64px;
  margin-bottom: 12px;
}

.app-content h2 {
  font-size: 24px;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 14px;
}

.app-content p {
  font-size: 15px;
  color: #C8C8D8;
  line-height: 1.75;
  margin-bottom: 24px;
}

.app-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

@media (max-width: 800px) {
  .app-block {
    grid-template-columns: 1fr;
    padding: 24px;
  }
}

/* ========== 版权与分级双栏 ========== */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.two-col-card {
  background: #12121F;
  border: 1px solid rgba(255, 45, 106, 0.12);
  border-radius: 16px;
  padding: 28px;
}

.two-col-card h3 {
  font-size: 18px;
  font-weight: 600;
  color: #FFFFFF;
  margin-bottom: 12px;
}

.two-col-card p {
  font-size: 14px;
  color: #A0A0B8;
  line-height: 1.7;
}

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

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

.faq-list summary {
  padding: 18px 20px;
  font-size: 15px;
  font-weight: 600;
  color: #FFFFFF;
  cursor: pointer;
  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: 20px;
  color: #FF4D8A;
  font-weight: 400;
}

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

.faq-list details p {
  padding: 0 20px 18px;
  font-size: 14px;
  color: #A0A0B8;
  line-height: 1.7;
}

/* ========== 品牌宣言 ========== */
.brand-manifesto {
  background: linear-gradient(160deg, #12121F 0%, #1A1228 50%, #12121F 100%);
  border: 1px solid rgba(255, 45, 106, 0.15);
  border-radius: 20px;
  padding: 40px 36px;
  text-align: center;
}

.brand-manifesto h2 {
  font-size: 24px;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 16px;
}

.brand-manifesto p {
  font-size: 15px;
  color: #C8C8D8;
  line-height: 1.8;
  max-width: 720px;
  margin: 0 auto;
}

/* ========== 内页通用 ========== */
.page-hero {
  padding: 40px 0 20px;
  text-align: center;
}

.page-hero h1 {
  font-size: 32px;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 12px;
}

.page-hero .lead {
  font-size: 16px;
  color: #A0A0B8;
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.7;
}

.page-content {
  padding: 20px 0 60px;
}

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

.content-block h2 {
  font-size: 22px;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 45, 106, 0.15);
}

.content-block h3 {
  font-size: 18px;
  font-weight: 600;
  color: #FFFFFF;
  margin: 20px 0 10px;
}

.content-block p {
  font-size: 15px;
  color: #C8C8D8;
  line-height: 1.8;
  margin-bottom: 14px;
}

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

.content-block ul li {
  font-size: 15px;
  color: #C8C8D8;
  line-height: 1.7;
  margin-bottom: 6px;
  position: relative;
  padding-left: 14px;
}

.content-block ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #FF2D6A;
}

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

.article- pro h3 {
  font-size: 18px;
  font-weight: 600;
  color: #FFFFFF;
  margin-bottom: 10px;
}

.article-pro p {
  font-size: 14px;
  color: #A0A0B8;
  line-height: 1.7;
}

/* ========== 页脚 ========== */
.site-footer {
  background: #05050A;
  color: #C8C8D8;
  padding: 48px 0 24px;
  margin-top: 20px;
  border-top: 1px solid rgba(255, 45, 106, 0.1);
}

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

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

.footer-brand-name {
  font-size: 18px;
  font-weight: 700;
  color: #FFFFFF;
}

.footer-brand-en {
  font-size: 12px;
  color: #6B6B80;
  letter-spacing: 1px;
}

.footer-desc {
  font-size: 14px;
  color: #A0A0B8;
  max-width: 480px;
  margin-bottom: 32px;
  line-height: 1.6;
}

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

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

.footer-col a {
  display: block;
  font-size: 13px;
  color: #A0A0B8;
  padding: 4px 0;
  transition: color 0.2s ease;
}

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

.footer-notice {
  font-size: 13px;
  color: #6B6B80;
  line-height: 1.65;
  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: 13px;
  color: #6B6B80;
  text-align: center;
}

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

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

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

.mobile-bottom-nav-inner {
  display: flex;
  height: 56px;
  max-width: 500px;
  margin: 0 auto;
}

.mobile-bottom-nav a {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  color: #6B6B80;
  gap: 2px;
  min-height: 48px;
  transition: color 0.2s ease;
}

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

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

@media (max-width: 900px) {
  .mobile-bottom-nav {
    display: block;
  }

  .site-main {
    padding-bottom: 80px;
  }

  .site-footer {
    padding-bottom: 80px;
  }
}

/* ========== 工具类 ========== */
.text-center {
  text-align: center;
}

.mt-20 {
  margin-top: 20px;
}

.mb-20 {
  margin-bottom: 20px;
}

.mb-32 {
  margin-bottom: 32px;
}

.tag-pink {
  display: inline-block;
  padding: 3px 10px;
  font-size: 12px;
  font-weight: 600;
  color: #FF4D8A;
  background: rgba(255, 45, 106, 0.12);
  border-radius: 6px;
}

/* ========== 杂志式不对称 ========== */
.magazine-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 20px;
}

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

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

/* ========== 竖版目录 ========== */
.vertical-catalog {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.v-item {
  background: #12121F;
  border: 1px solid rgba(255, 45, 106, 0.12);
  border-radius: 14px;
  padding: 24px 18px;
  text-align: center;
  transition: border-color 0.2s ease;
}

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

.v-num {
  font-size: 28px;
  font-weight: 800;
  color: rgba(255, 45, 106, 0.35);
  margin-bottom: 8px;
}

.v-item h4 {
  font-size: 15px;
  font-weight: 600;
  color: #FFFFFF;
  margin-bottom: 6px;
}

.v-item p {
  font-size: 13px;
  color: #6B6B80;
}

@media (max-width: 700px) {
  .vertical-catalog {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 420px) {
  .vertical-catalog {
    grid-template-columns: 1fr;
  }
}

/* ========== 制作现场 / 观察 等内页卡片 ========== */
.info-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

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

.info-card h3 {
  font-size: 16px;
  font-weight: 600;
  color: #FFFFFF;
  margin-bottom: 10px;
}

.info-card p {
  font-size: 14px;
  color: #A0A0B8;
  line-height: 1.65;
}

@media (max-width: 600px) {
  .info-cards {
    grid-template-columns: 1fr;
  }
}

/* ========== 减少动画 ========== */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }
}

/* ========== 焦点可见 ========== */
:focus-visible {
  outline: 2px solid #FF4D8A;
  outline-offset: 3px;
}

/* 确保无横向溢出 */
body, .site-header, .site-main, .site-footer, .container {
  max-width: 100vw;
}