/**
 * ====================================================================
 * 魅图坊（Meitu Fang）- 高奢沉浸式暗黑写真风格全局样式表
 * 基准：4px/8px 栅格步进 | 卡片 Padding: 16px | 纯原生 CSS3
 * 编码：UTF-8 | 换行：LF
 * ====================================================================
 */

:root {
  /* 调色板基准 (Design Tokens) */
  --bg-dark: #0b0c10;
  --bg-card: #151720;
  --bg-card-hover: #1c1f2b;
  --bg-input: #12141c;
  --bg-modal: rgba(11, 12, 16, 0.92);

  --accent-primary: #ff4772;
  --accent-glow: rgba(255, 71, 114, 0.35);
  --accent-gradient: linear-gradient(135deg, #ff4772 0%, #ff6b8b 100%);
  --accent-cyan: #00f0ff;
  --accent-gold: #f5a623;

  --text-primary: #ffffff;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --border-color: #232736;
  --border-light: rgba(255, 255, 255, 0.08);

  /* 排版与度量基线 */
  --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-full: 9999px;

  --shadow-card: 0 4px 20px rgba(0, 0, 0, 0.4);
  --shadow-glow: 0 0 15px var(--accent-glow);

  --header-height: 56px;
  --bottom-nav-height: 56px;
  --container-max-width: 1320px;
}

/* 全局重置 */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  background-color: var(--bg-dark);
}

body {
  font-family: var(--font-family);
  background-color: var(--bg-dark);
  color: var(--text-primary);
  line-height: 1.5;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  /* 适配移动端吸底导航与 iPhone 全面屏安全区 */
  padding-bottom: calc(var(--bottom-nav-height) + env(safe-area-inset-bottom) + 16px);
}

@media (min-width: 1024px) {
  body {
    padding-bottom: 0;
  }
}

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

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

button, input, select {
  font-family: inherit;
  border: none;
  outline: none;
  background: none;
  color: inherit;
}

/* ====================================================================
   版心容器
==================================================================== */
.container {
  width: 100%;
  max-width: var(--container-max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 16px;
  padding-right: 16px;
}

/* ====================================================================
   顶部公共导航栏 (Header)
==================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: var(--header-height);
  background-color: rgba(11, 12, 16, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: var(--text-primary);
}

.brand-logo i {
  color: var(--accent-primary);
  font-size: 1.35rem;
  filter: drop-shadow(0 0 8px var(--accent-glow));
}

.brand-logo span {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav-links {
  display: none;
  align-items: center;
  gap: 24px;
}

@media (min-width: 768px) {
  .nav-links {
    display: flex;
  }
}

.nav-item {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-secondary);
  position: relative;
  padding: 8px 0;
  transition: color 0.2s ease;
}

.nav-item:hover, .nav-item.active {
  color: var(--text-primary);
}

.nav-item.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--accent-gradient);
  border-radius: var(--radius-full);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.search-box-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  color: var(--text-muted);
  cursor: pointer;
  transition: border-color 0.2s ease;
}

.search-box-btn:hover {
  border-color: var(--accent-primary);
}

/* ====================================================================
   移动端吸底常驻快捷导航
==================================================================== */
.mobile-bottom-bar {
  display: flex;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: calc(var(--bottom-nav-height) + env(safe-area-inset-bottom));
  padding-bottom: env(safe-area-inset-bottom);
  background-color: rgba(21, 23, 32, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--border-color);
  justify-content: space-around;
  align-items: center;
}

@media (min-width: 1024px) {
  .mobile-bottom-bar {
    display: none;
  }
}

.bottom-tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  color: var(--text-muted);
  font-size: 0.75rem;
  flex: 1;
  height: 100%;
}

.bottom-tab i {
  font-size: 1.1rem;
}

.bottom-tab.active {
  color: var(--accent-primary);
}

/* ====================================================================
   首页展台模块 (Hero Showcase: PC端左1大右2小，移动端单列轮播)
==================================================================== */
.hero-showcase {
  width: 100%;
  margin-top: 16px;
}

.hero-carousel {
  position: relative;
  width: 100%;
  height: 220px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background-color: var(--bg-card);
  box-shadow: var(--shadow-card);
}

/* 移动端默认隐藏右侧双小卡，保证移动端体验与原样100%一致 */
.hero-side-cards {
  display: none;
}

/* PC 桌面端展台响应式 (左1大右2小，严格锁定320px高度，首屏完美露头) */
@media (min-width: 992px) {
  .hero-showcase {
    display: grid;
    grid-template-columns: 2.1fr 1fr;
    grid-template-rows: 320px;
    gap: 16px;
    height: 320px;
    margin-top: 18px;
    overflow: hidden;
  }

  .hero-carousel {
    height: 100%;
    max-height: 320px;
    min-width: 0;
  }

  .hero-side-cards {
    display: grid;
    grid-template-rows: 1fr 1fr;
    gap: 12px;
    height: 100%;
    max-height: 320px;
    min-width: 0;
  }

  .hero-sub-card {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 0;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background-color: var(--bg-card);
    box-shadow: var(--shadow-card);
    border: 1px solid var(--border-color);
    display: block;
    text-decoration: none;
    transition: transform var(--transition-normal), border-color var(--transition-normal), box-shadow var(--transition-normal);
  }

  .hero-sub-card:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 45, 85, 0.45);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
  }

  /* 图片脱离文档流填充，彻底杜绝图片原图尺寸撑破Grid布局 */
  .hero-sub-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 25%;
    transition: transform 0.4s ease;
  }

  .hero-sub-card:hover img {
    transform: scale(1.05);
  }

  .sub-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(11, 12, 16, 0.88) 0%, rgba(11, 12, 16, 0.2) 60%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 10px 14px;
    z-index: 2;
  }

  .sub-card-tag {
    align-self: flex-start;
    font-size: 0.7rem;
    padding: 2px 7px;
    border-radius: var(--radius-sm);
    background: rgba(255, 45, 85, 0.85);
    color: #fff;
    font-weight: 600;
    margin-bottom: 4px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    letter-spacing: 0.3px;
    backdrop-filter: blur(4px);
  }

  .sub-card-title {
    font-size: 0.92rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.85);
  }
}

.carousel-track {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.carousel-slide {
  min-width: 100%;
  height: 100%;
  position: relative;
  cursor: pointer;
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.carousel-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(11, 12, 16, 0.85) 0%, rgba(11, 12, 16, 0.2) 60%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  padding: 16px 20px 20px;
}

.carousel-badge {
  display: none !important;
}

.carousel-title {
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.35;
  color: #fff;
  text-align: center;
  width: 100%;
  max-width: 90%;
  margin: 0 auto;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.85);
}

@media (min-width: 768px) {
  .carousel-title {
    font-size: 1.28rem;
  }
}

.carousel-indicators {
  position: absolute;
  bottom: 12px;
  right: 20px;
  display: flex;
  gap: 6px;
  z-index: 10;
}

.indicator-dot {
  width: 6px;
  height: 6px;
  border-radius: var(--radius-full);
  background-color: rgba(255, 255, 255, 0.4);
  transition: all 0.25s ease;
}

.indicator-dot.active {
  width: 18px;
  background-color: var(--accent-primary);
}

.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(11, 12, 16, 0.6);
  backdrop-filter: blur(4px);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: background-color 0.2s ease;
}

.carousel-arrow:hover {
  background: var(--accent-primary);
}

.carousel-arrow.prev { left: 12px; }
.carousel-arrow.next { right: 12px; }

/* ====================================================================
   横向平滑滚动热门标签滑块 (Tag Slider)
==================================================================== */
.tag-slider-wrap {
  margin-top: 16px;
  overflow-x: auto;
  white-space: nowrap;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE */
  padding: 4px 0;
}

.tag-slider-wrap::-webkit-scrollbar {
  display: none;
}

.tag-slider {
  display: inline-flex;
  gap: 8px;
}

.tag-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  color: var(--text-secondary);
  transition: all 0.2s ease;
}

.tag-pill:hover, .tag-pill.active {
  color: #fff;
  border-color: var(--accent-primary);
  background-color: rgba(255, 71, 114, 0.12);
  box-shadow: 0 0 10px rgba(255, 71, 114, 0.2);
}

/* ====================================================================
   排序 Tab 与标题头
==================================================================== */
.section-header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 24px;
  margin-bottom: 16px;
}

.section-title {
  font-size: 1.25rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
}

.section-title i {
  color: var(--accent-primary);
}

.sort-tabs {
  display: flex;
  background-color: var(--bg-card);
  padding: 3px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-color);
}

.sort-tab-btn {
  padding: 4px 14px;
  font-size: 0.8rem;
  font-weight: 500;
  border-radius: var(--radius-full);
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.2s ease;
}

.sort-tab-btn.active {
  background-color: var(--accent-primary);
  color: #fff;
  font-weight: 600;
}

/* ====================================================================
   首屏露头瀑布流卡片网格 (Album Grid)
==================================================================== */
.photo-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

@media (min-width: 640px) {
  .photo-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }
}

@media (min-width: 1024px) {
  .photo-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
  }
}

@media (min-width: 1280px) {
  .photo-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

.album-card {
  background-color: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-card);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.album-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent-primary);
  box-shadow: 0 8px 24px var(--accent-glow);
}

.album-thumb-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 2 / 3;
  overflow: hidden;
  background-color: #1a1d28;
}

.album-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.album-card:hover .album-thumb {
  transform: scale(1.05);
}

.badge-p-count {
  position: absolute;
  top: 8px;
  right: 8px;
  background-color: rgba(11, 12, 16, 0.75);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: var(--radius-full);
}

.badge-gold-4k {
  display: none !important;
}

.card-body {
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.card-title {
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--text-primary);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 8px;
}

.card-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: auto;
}

.meta-model {
  display: flex;
  align-items: center;
  gap: 4px;
  color: var(--text-secondary);
}

.meta-stats {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ====================================================================
   分类筛选页复合过滤卡片 (Category Filter)
==================================================================== */
.filter-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 16px;
  margin-top: 16px;
  margin-bottom: 24px;
}

.filter-row {
  display: flex;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.filter-row:last-child {
  border-bottom: none;
}

.filter-label {
  width: 80px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  flex-shrink: 0;
}

.filter-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  overflow-x: auto;
  white-space: nowrap;
}

.filter-btn {
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.2s ease;
}

.filter-btn.active, .filter-btn:hover {
  background-color: var(--accent-primary);
  color: #fff;
}

/* ====================================================================
   数字分页器 (Pagination)
==================================================================== */
.pagination-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 36px;
  margin-bottom: 36px;
}

.page-num-btn {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-md);
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.88rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.page-num-btn:hover, .page-num-btn.active {
  background-color: var(--accent-primary);
  border-color: var(--accent-primary);
  color: #fff;
  box-shadow: 0 0 10px var(--accent-glow);
}

.page-num-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

/* ====================================================================
   详情页大图沉浸流 (Detail Photo Stream) - 重点强化
==================================================================== */
.detail-header-card {
  background-color: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  padding: 20px;
  margin-top: 16px;
  margin-bottom: 24px;
}

.detail-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.detail-h1 {
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1.3;
  color: var(--text-primary);
  margin-bottom: 14px;
}

@media (min-width: 768px) {
  .detail-h1 {
    font-size: 1.75rem;
  }
}

.detail-meta-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 24px;
  font-size: 0.85rem;
  color: var(--text-secondary);
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.meta-item i {
  color: var(--accent-primary);
}

.detail-action-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 16px;
}

.action-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  border-radius: var(--radius-full);
  background-color: var(--bg-input);
  border: 1px solid var(--border-color);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.2s ease;
}

.action-btn:hover {
  border-color: var(--accent-primary);
  color: #fff;
}

.action-btn.primary {
  background: var(--accent-gradient);
  border: none;
  color: #fff;
  box-shadow: 0 4px 14px var(--accent-glow);
}

/* 正文核心大图展示流与左右悬浮切换按钮 */
.stream-container {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 40px;
}

.stream-photo-item {
  position: relative;
  width: 100%;
  min-height: 480px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #12141c url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 800 1200' fill='%2312141c'%3E%3Crect width='100%25' height='100%25' fill='%2312141c'/%3E%3Ctext x='50%25' y='50%25' fill='%23334155' font-size='26' font-family='sans-serif' text-anchor='middle'%3E魅图坊 · 4K超清画卷加载中...%3C/text%3E%3C/svg%3E") no-repeat center center;
  background-size: cover;
  box-shadow: 0 6px 30px rgba(0, 0, 0, 0.5);
}

@media (max-width: 768px) {
  .stream-photo-item {
    min-height: 360px;
  }
}

.stream-photo-img {
  width: 100%;
  height: auto;
  display: block;
  cursor: zoom-in;
  transition: opacity 0.4s ease, transform 0.3s ease;
}

.stream-photo-img.lazy-stream-img {
  opacity: 0.15;
}

.stream-photo-img.loaded {
  opacity: 1;
}



/* ====================================================================
   相关推荐模块 (猜你喜欢)
==================================================================== */
.related-section {
  margin-top: 32px;
  margin-bottom: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--border-color);
}

/* ====================================================================
   站点声明与免责版权模块
==================================================================== */
.disclaimer-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 16px 20px;
  margin-bottom: 36px;
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.disclaimer-card h4 {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-secondary);
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.disclaimer-card h4 i {
  color: var(--accent-primary);
}

/* ====================================================================
   全屏影院沉浸式大图灯箱组件 (Lightbox)
==================================================================== */
.lightbox-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background-color: rgba(5, 6, 8, 0.96);
  backdrop-filter: blur(16px);
  flex-direction: column;
}

.lightbox-modal.active {
  display: flex;
}

.lightbox-header {
  height: 56px;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.lightbox-counter {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.lightbox-tools {
  display: flex;
  gap: 16px;
}

.lightbox-tool-btn {
  color: var(--text-secondary);
  font-size: 1.15rem;
  cursor: pointer;
  transition: color 0.2s ease;
}

.lightbox-tool-btn:hover {
  color: var(--accent-primary);
}

.lightbox-body {
  flex: 1;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.lightbox-img-viewer {
  max-width: 92vw;
  max-height: 82vh;
  object-fit: contain;
  transition: transform 0.3s ease;
  user-select: none;
}

.lightbox-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.lightbox-arrow:hover {
  background: var(--accent-primary);
}

.lightbox-arrow.prev { left: 24px; }
.lightbox-arrow.next { right: 24px; }



/* ====================================================================
   全站统一页脚 (Footer)
==================================================================== */
.site-footer {
  margin-top: auto;
  background-color: #08090c;
  border-top: 1px solid var(--border-color);
  padding: 32px 0 24px;
  color: var(--text-muted);
  font-size: 0.82rem;
  line-height: 1.7;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
}

.footer-beian {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}

.footer-beian a:hover {
  color: var(--accent-primary);
}

/* ====================================================================
   全局吐司消息 (Toast)
==================================================================== */
.toast-box {
  position: fixed;
  top: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(-20px);
  background: rgba(21, 23, 32, 0.95);
  border: 1px solid var(--border-color);
  padding: 10px 24px;
  border-radius: var(--radius-full);
  color: #fff;
  font-size: 0.88rem;
  font-weight: 500;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
  z-index: 10000;
}

.toast-box.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}
