/* ============================================================
   风车动漫 - 全站样式（整合版）
   模块：变量/基础/顶部/头部/搜索/菜单/抽屉/面包屑/区块/卡片
        侧栏/首页轮播/详情页/播放页/列表页/搜索页/分页/页脚/响应式
   ============================================================ */

/* ============ 1. 变量 ============ */
* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --fc-orange: #ff6600;
  --fc-orange-dark: #e55a00;
  --fc-orange-light: #fff5ec;
  --fc-black: #2c2c2c;
  --fc-bg: #f5f5f5;
  --fc-white: #ffffff;
  --fc-border: #e8e8e8;
  --fc-text: #333333;
  --fc-text-2: #666666;
  --fc-text-3: #999999;
  --fc-radius: 8px;
  --fc-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  --fc-shadow-hover: 0 8px 20px rgba(255, 102, 0, 0.15);
}

/* ============ 2. 基础 ============ */
html, body {
  background: var(--fc-bg);
  color: var(--fc-text);
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  font-size: 14px;
  line-height: 1.6;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; border: 0; }
button { cursor: pointer; border: none; background: none; font: inherit; color: inherit; }
input { font: inherit; outline: none; }

/* ============ 3. 顶部黑条 ============ */
.fc-topbar { background: var(--fc-black); color: #aaa; font-size: 12px; height: 34px; display: flex; align-items: center; }
.fc-topbar-inner { max-width: 1200px; margin: 0 auto; padding: 0 16px; width: 100%; display: flex; align-items: center; justify-content: space-between; }
.fc-topbar-notice { display: flex; align-items: center; gap: 8px; overflow: hidden; white-space: nowrap; flex: 1; min-width: 0; }
.fc-topbar-notice span { color: var(--fc-orange); background: rgba(255,102,0,0.1); padding: 1px 8px; border-radius: 3px; flex-shrink: 0; font-weight: 600; }
.fc-topbar-notice p { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #999; }
.fc-topbar-links { display: flex; gap: 16px; flex-shrink: 0; }
.fc-topbar-links a { color: #aaa; transition: color 0.2s; }
.fc-topbar-links a:hover { color: var(--fc-orange); }

/* ============ 4. 头部 ============ */
.fc-header { background: var(--fc-white); border-bottom: 1px solid var(--fc-border); position: sticky; top: 0; z-index: 100; box-shadow: 0 2px 6px rgba(0,0,0,0.04); }
.fc-header-inner { max-width: 1200px; margin: 0 auto; padding: 0 16px; height: 68px; display: flex; align-items: center; gap: 20px; }
.fc-logo { display: flex; align-items: center; gap: 8px; font-size: 22px; font-weight: 900; color: var(--fc-orange); letter-spacing: 1px; flex-shrink: 0; height: 100%; max-height: 68px; }
.fc-logo img { height: 38px; width: auto; display: block; object-fit: contain; }
.fc-logo::before { content: ''; display: inline-block; width: 26px; height: 26px; background: linear-gradient(135deg, #ff8c00, var(--fc-orange)); border-radius: 50%; box-shadow: 0 2px 6px rgba(255,102,0,0.3); flex-shrink: 0; }
.fc-logo.has-img::before { display: none; }
.fc-nav { display: flex; gap: 4px; flex: 1; overflow-x: auto; }
.fc-nav::-webkit-scrollbar { height: 0; }
.fc-nav a { padding: 8px 14px; font-size: 15px; color: var(--fc-text-2); border-radius: 6px; transition: all 0.2s; white-space: nowrap; }
.fc-nav a:hover, .fc-nav a.active { color: var(--fc-orange); background: var(--fc-orange-light); font-weight: 600; }

/* ============ 5. 搜索框 ============ */
.fc-search { position: relative; width: 240px; flex-shrink: 0; display: flex; align-items: center; }
.fc-search-icon { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--fc-text-3); display: flex; align-items: center; pointer-events: none; z-index: 1; transition: color 0.2s; }
.fc-search input { width: 100%; height: 40px; padding: 0 80px 0 42px; background: var(--fc-bg); border: 1px solid var(--fc-border); border-radius: 20px; font-size: 13px; transition: all 0.2s; }
.fc-search input:focus { border-color: var(--fc-orange); background: var(--fc-white); box-shadow: 0 0 0 3px rgba(255,102,0,0.1); }
.fc-search:has(input:focus) .fc-search-icon { color: var(--fc-orange); }
.fc-search button { position: absolute; right: 3px; top: 50%; transform: translateY(-50%); height: 34px; padding: 0 18px; border-radius: 17px; background: var(--fc-orange); color: #fff; font-size: 13px; font-weight: 600; display: flex; align-items: center; justify-content: center; transition: background 0.2s; z-index: 2; }
.fc-search button:hover { background: var(--fc-orange-dark); }

/* ============ 6. 汉堡按钮 ============ */
.fc-menu-btn { display: none; flex-direction: column; justify-content: space-between; width: 22px; height: 16px; padding: 0; flex-shrink: 0; }
.fc-menu-btn span { display: block; width: 100%; height: 2px; background: var(--fc-text); border-radius: 2px; transition: background .2s; }
.fc-menu-btn:hover span { background: var(--fc-orange); }

/* ============ 7. 抽屉菜单 ============ */
.fc-drawer-mask { display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0,0,0,.5); z-index: 998; opacity: 0; transition: opacity .3s; }
.fc-drawer-mask.active { opacity: 1; }
.fc-drawer { position: fixed; top: 0; left: 0; bottom: 0; width: 260px; max-width: 78vw; background: #fff; z-index: 999; transform: translateX(-100%); transition: transform .3s ease; box-shadow: 4px 0 20px rgba(0,0,0,.1); display: flex; flex-direction: column; overflow-y: auto; }
.fc-drawer.active { transform: translateX(0); }
.fc-drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; border-bottom: 1px solid var(--fc-border); flex-shrink: 0; }
.fc-drawer-head .fc-logo { font-size: 18px; }
.fc-drawer-head .fc-logo img { height: 30px; }
.fc-drawer-close { display: flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 50%; background: var(--fc-bg); color: var(--fc-text-2); transition: all .2s; }
.fc-drawer-close:hover { background: var(--fc-orange-light); color: var(--fc-orange); }
.fc-drawer-nav { flex: 1; padding: 8px 0; }
.fc-drawer-item { display: block; padding: 14px 24px; font-size: 15px; color: var(--fc-text); border-bottom: 1px solid #f5f5f5; transition: all .2s; position: relative; }
.fc-drawer-item:hover, .fc-drawer-item:active { background: var(--fc-orange-light); color: var(--fc-orange); padding-left: 30px; }
.fc-drawer-item:hover::before { content: ''; position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 3px; height: 16px; background: var(--fc-orange); border-radius: 2px; }
body.fc-drawer-open { overflow: hidden; }

/* ============ 8. 主容器 ============ */
.fc-container { max-width: 1200px; margin: 0 auto; padding: 20px 16px; }

/* ============ 9. 面包屑 ============ */
.fc-crumb { font-size: 13px; color: var(--fc-text-3); margin-bottom: 16px; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.fc-crumb a { color: var(--fc-text-3); transition: color .2s; }
.fc-crumb a:hover { color: var(--fc-orange); }
.fc-crumb span { opacity: 0.6; }
.fc-crumb em { color: var(--fc-text); font-style: normal; }

/* ============ 10. 区块 ============ */
.fc-block { margin-bottom: 24px; }
.fc-block-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; padding-bottom: 10px; border-bottom: 2px solid var(--fc-border); }
.fc-block-title { font-size: 20px; font-weight: 700; color: var(--fc-text); display: flex; align-items: center; gap: 10px; position: relative; padding-left: 14px; }
.fc-block-title::before { content: ''; position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: 5px; height: 22px; background: linear-gradient(180deg, #ff8c00, var(--fc-orange)); border-radius: 3px; }
.fc-block-title small { font-size: 12px; color: var(--fc-text-3); font-weight: 400; margin-left: 4px; }
.fc-block-more { font-size: 13px; color: var(--fc-text-3); transition: color 0.2s; }
.fc-block-more:hover { color: var(--fc-orange); }

/* ============ 11. 卡片网格 ============ */
.fc-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.fc-card { display: block; background: var(--fc-white); border-radius: var(--fc-radius); overflow: hidden; transition: all 0.3s; box-shadow: var(--fc-shadow); }
.fc-card:hover { transform: translateY(-4px); box-shadow: var(--fc-shadow-hover); }
.fc-card-pic { position: relative; aspect-ratio: 3 / 4; overflow: hidden; background: #eee; }
.fc-card-pic img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.fc-card:hover .fc-card-pic img { transform: scale(1.08); }
.fc-card-status { position: absolute; bottom: 0; left: 0; right: 0; padding: 16px 8px 6px; background: linear-gradient(0deg, rgba(0,0,0,0.85), rgba(0,0,0,0)); color: #fff; font-size: 12px; text-align: right; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fc-card-play { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%) scale(0.8); width: 48px; height: 48px; border-radius: 50%; background: rgba(255,102,0,0.9); color: #fff; display: flex; align-items: center; justify-content: center; opacity: 0; transition: all 0.3s; pointer-events: none; }
.fc-card:hover .fc-card-play { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.fc-card-info { padding: 10px 10px 12px; }
.fc-card-name { font-size: 14px; font-weight: 600; color: var(--fc-text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; margin-bottom: 4px; transition: color 0.2s; }
.fc-card:hover .fc-card-name { color: var(--fc-orange); }
.fc-card-meta { font-size: 12px; color: var(--fc-text-3); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ============ 12. 侧栏 ============ */
.fc-aside { display: flex; flex-direction: column; gap: 16px; }
.fc-aside-card { background: var(--fc-white); border-radius: var(--fc-radius); padding: 16px; box-shadow: var(--fc-shadow); }
.fc-aside-title { font-size: 16px; font-weight: 700; color: var(--fc-text); margin-bottom: 14px; padding-left: 12px; position: relative; }
.fc-aside-title::before { content: ''; position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: 4px; height: 16px; background: var(--fc-orange); border-radius: 2px; }
.fc-rank-list { display: flex; flex-direction: column; gap: 2px; }
.fc-rank-item { display: flex; align-items: center; gap: 10px; padding: 8px 0; transition: all 0.2s; }
.fc-rank-item:hover { padding-left: 4px; }
.fc-rank-item:hover .fc-rank-name { color: var(--fc-orange); }
.fc-rank-num { flex-shrink: 0; width: 20px; height: 20px; line-height: 20px; text-align: center; font-size: 12px; font-weight: 700; border-radius: 4px; background: #f0f0f0; color: var(--fc-text-3); }
.fc-rank-num.top1 { background: linear-gradient(135deg, #ff4d4d, #ff1744); color: #fff; }
.fc-rank-num.top2 { background: linear-gradient(135deg, #ffa940, #ff8c00); color: #fff; }
.fc-rank-num.top3 { background: linear-gradient(135deg, #ffc53d, #faad14); color: #fff; }
.fc-rank-name { flex: 1; min-width: 0; font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; transition: color 0.2s; }
.fc-rank-hot { flex-shrink: 0; font-size: 11px; color: var(--fc-orange); font-weight: 600; }

.fc-main-row { display: grid; grid-template-columns: 1fr 300px; gap: 20px; }

/* ============ 13. 首页：Hero 轮播 ============ */
.fc-hero { display: grid; grid-template-columns: 1fr 320px; gap: 16px; margin-bottom: 24px; }
.fc-swiper { position: relative; border-radius: var(--fc-radius); overflow: hidden; aspect-ratio: 16 / 9; background: #ddd; }
.fc-swiper-slides { position: relative; width: 100%; height: 100%; }
.fc-swiper-item { position: absolute; top: 0; left: 0; right: 0; bottom: 0; opacity: 0; transition: opacity 0.6s ease; cursor: pointer; }
.fc-swiper-item.active { opacity: 1; z-index: 1; }
.fc-swiper-item img { width: 100%; height: 100%; object-fit: cover; }
.fc-swiper-mask { position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 50%, rgba(0,0,0,0.85) 100%); pointer-events: none; }
.fc-swiper-info { position: absolute; bottom: 0; left: 0; right: 0; padding: 20px 24px; color: #fff; z-index: 2; pointer-events: none; }
.fc-swiper-title { font-size: 22px; font-weight: 700; margin-bottom: 6px; text-shadow: 0 2px 8px rgba(0,0,0,0.5); }
.fc-swiper-meta { font-size: 13px; opacity: 0.85; display: flex; gap: 10px; }
.fc-swiper-dots { position: absolute; bottom: 16px; right: 24px; display: flex; gap: 6px; z-index: 3; }
.fc-swiper-dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,0.5); cursor: pointer; transition: all 0.2s; }
.fc-swiper-dot.active { width: 24px; border-radius: 4px; background: var(--fc-orange); }
/* Hero 侧栏：热播榜卡片 */
.fc-hero-side {
  background: var(--fc-white);
  border-radius: var(--fc-radius);
  padding: 16px 18px;
  box-shadow: var(--fc-shadow);
  display: flex;
  flex-direction: column;
  gap: 0;
  overflow: hidden;
}

.fc-side-rank-head {
  font-size: 16px;
  font-weight: 700;
  color: var(--fc-text);
  margin-bottom: 12px;
  padding-left: 12px;
  position: relative;
  flex-shrink: 0;
}
.fc-side-rank-head::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 16px;
  background: var(--fc-orange);
  border-radius: 2px;
}

.fc-side-rank-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px dashed var(--fc-border);
  transition: all .2s;
}
.fc-side-rank-item:last-child { border-bottom: none; }
.fc-side-rank-item:hover { padding-left: 4px; }
.fc-side-rank-item:hover .fc-side-rank-name { color: var(--fc-orange); }

.fc-side-rank-num {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  line-height: 20px;
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  border-radius: 4px;
  background: #f0f0f0;
  color: var(--fc-text-3);
  font-family: -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif;
}
.fc-side-rank-num.top1 { background: linear-gradient(135deg, #ff4d4d, #ff1744); color: #fff; }
.fc-side-rank-num.top2 { background: linear-gradient(135deg, #ffa940, #ff8c00); color: #fff; }
.fc-side-rank-num.top3 { background: linear-gradient(135deg, #ffc53d, #faad14); color: #fff; }

.fc-side-rank-pic {
  flex-shrink: 0;
  width: 40px;
  height: 54px;
  border-radius: 4px;
  overflow: hidden;
  background: #eee;
}
.fc-side-rank-pic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.fc-side-rank-info {
  flex: 1;
  min-width: 0;
}

.fc-side-rank-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--fc-text);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  margin-bottom: 2px;
  transition: color .2s;
}

.fc-side-rank-meta {
  font-size: 11px;
  color: var(--fc-text-3);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.fc-side-rank-hot {
  flex-shrink: 0;
  font-size: 11px;
  color: var(--fc-orange);
  font-weight: 600;
}
.fc-side-card:hover { transform: translateY(-2px); box-shadow: var(--fc-shadow-hover); }
.fc-side-card img { width: 100%; height: 100%; object-fit: cover; }
.fc-side-card-info { position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(0,0,0,0.85) 100%); display: flex; flex-direction: column; justify-content: flex-end; padding: 12px 14px; color: #fff; }
.fc-side-card-title { font-size: 14px; font-weight: 600; margin-bottom: 3px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fc-side-card-meta { font-size: 12px; opacity: 0.8; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ============ 14. 首页：更新列表 ============ */
.fc-update-list { background: var(--fc-white); border-radius: var(--fc-radius); padding: 8px 16px; box-shadow: var(--fc-shadow); }
.fc-update-item { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px dashed var(--fc-border); transition: all 0.2s; }
.fc-update-item:last-child { border-bottom: none; }
.fc-update-item:hover { padding-left: 6px; }
.fc-update-item:hover .fc-update-name { color: var(--fc-orange); }
.fc-update-tag { flex-shrink: 0; font-size: 11px; padding: 2px 8px; border-radius: 3px; font-weight: 600; background: var(--fc-orange-light); color: var(--fc-orange); }
.fc-update-tag.hot { background: linear-gradient(135deg, #ff4d4d, #ff1744); color: #fff; }
.fc-update-name { flex: 1; min-width: 0; font-size: 14px; color: var(--fc-text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; transition: color 0.2s; }
.fc-update-ep { flex-shrink: 0; font-size: 12px; color: var(--fc-text-3); }
.fc-update-time { flex-shrink: 0; font-size: 12px; color: var(--fc-text-3); width: 60px; text-align: right; }

/* ============ 15. 详情页 ============ */
.fc-detail-hero { background: linear-gradient(135deg, #fff 0%, #fff5ec 100%); border-radius: var(--fc-radius); padding: 24px; margin-bottom: 20px; display: flex; gap: 24px; box-shadow: var(--fc-shadow); }
.fc-detail-poster { flex-shrink: 0; width: 200px; border-radius: var(--fc-radius); overflow: hidden; box-shadow: 0 8px 24px rgba(0,0,0,.1); }
.fc-detail-poster img { width: 100%; aspect-ratio: 3/4; object-fit: cover; display: block; }
.fc-detail-info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.fc-detail-title { font-size: 26px; font-weight: 800; color: var(--fc-text); line-height: 1.3; margin: 0; }
.fc-detail-title small { font-size: 14px; font-weight: 400; color: var(--fc-text-3); margin-left: 8px; }
.fc-detail-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.fc-tag { display: inline-block; padding: 4px 12px; background: var(--fc-bg); border-radius: 12px; font-size: 12px; color: var(--fc-text-2); }
.fc-tag.primary { background: var(--fc-orange-light); color: var(--fc-orange); font-weight: 600; }
.fc-tag.status { background: linear-gradient(135deg, #ff8c00, var(--fc-orange)); color: #fff; }
.fc-detail-blurb { font-size: 14px; line-height: 1.8; color: var(--fc-text-2); margin: 0; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.fc-detail-actions { display: flex; gap: 12px; margin-top: auto; flex-wrap: wrap; }
.fc-btn { display: inline-flex; align-items: center; gap: 6px; padding: 10px 24px; border-radius: 6px; font-size: 14px; font-weight: 600; transition: all .2s; }
.fc-btn-play { background: var(--fc-orange); color: #fff; }
.fc-btn-play:hover { background: var(--fc-orange-dark); transform: translateY(-1px); box-shadow: 0 4px 12px rgba(255,102,0,.3); }
.fc-btn-ghost { background: var(--fc-bg); color: var(--fc-text-2); }
.fc-btn-ghost:hover { background: var(--fc-orange-light); color: var(--fc-orange); }

.fc-info-table { background: var(--fc-white); border-radius: var(--fc-radius); padding: 20px; box-shadow: var(--fc-shadow); }
.fc-info-row { display: flex; gap: 16px; padding: 10px 0; border-bottom: 1px dashed var(--fc-border); font-size: 14px; }
.fc-info-row:last-child { border-bottom: none; }
.fc-info-label { flex-shrink: 0; width: 60px; color: var(--fc-text-3); }
.fc-info-value { flex: 1; color: var(--fc-text); line-height: 1.8; }
.fc-info-value a { color: var(--fc-text); margin-right: 10px; transition: color .2s; }
.fc-info-value a:hover { color: var(--fc-orange); }

.fc-desc { background: var(--fc-white); border-radius: var(--fc-radius); padding: 24px; box-shadow: var(--fc-shadow); font-size: 14px; line-height: 1.9; color: var(--fc-text-2); }
.fc-desc img { max-width: 100%; border-radius: 6px; margin: 10px 0; }

/* ============ 16. 播放列表 / 选集 ============ */
.fc-play-tabs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; padding: 4px; background: var(--fc-bg); border-radius: 6px; }
.fc-play-tab { padding: 8px 16px; border-radius: 5px; font-size: 13px; color: var(--fc-text-2); transition: all .2s; cursor: pointer; }
.fc-play-tab:hover { color: var(--fc-orange); }
.fc-play-tab.active { background: var(--fc-orange); color: #fff; font-weight: 600; }
.fc-eps { display: grid; grid-template-columns: repeat(auto-fill, minmax(80px, 1fr)); gap: 8px; }
.fc-ep { display: block; padding: 10px 6px; text-align: center; background: var(--fc-bg); border-radius: 6px; font-size: 13px; color: var(--fc-text-2); transition: all .2s; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fc-ep:hover { background: var(--fc-orange-light); color: var(--fc-orange); }
.fc-ep.active { background: var(--fc-orange); color: #fff; }
.fc-ep-panel { display: none; }
.fc-ep-panel.active { display: grid; }

/* ============ 17. 播放页 ============ */
.fc-play-wrap { background: #000; border-radius: var(--fc-radius); overflow: hidden; margin-bottom: 20px; }
.fc-play-video { position: relative; width: 100%; padding-bottom: 56.25%; height: 0; background: #000; }
.fc-play-video > * { position: absolute !important; top: 0 !important; left: 0 !important; width: 100% !important; height: 100% !important; }
.fc-play-video iframe, .fc-play-video video { border: 0; }
.fc-play-title-bar { background: var(--fc-white); border-radius: var(--fc-radius); padding: 16px 20px; margin-bottom: 16px; box-shadow: var(--fc-shadow); }
.fc-play-title { font-size: 18px; font-weight: 700; color: var(--fc-text); margin: 0 0 6px; }
.fc-play-title-bar .fc-crumb { margin: 0; }

/* ============ 18. 列表页 ============ */
.fc-list-head { margin-bottom: 20px; background: var(--fc-white); border-radius: var(--fc-radius); padding: 20px; box-shadow: var(--fc-shadow); }
.fc-list-title { font-size: 22px; font-weight: 800; color: var(--fc-text); margin: 0 0 6px; }
.fc-list-desc { font-size: 13px; color: var(--fc-text-3); margin: 0; }
.fc-list-desc strong { color: var(--fc-orange); font-weight: 700; }
.fc-filters { background: var(--fc-white); border-radius: var(--fc-radius); padding: 16px 20px; margin-bottom: 20px; box-shadow: var(--fc-shadow); }
.fc-filter-row { display: flex; gap: 12px; padding: 8px 0; border-bottom: 1px dashed var(--fc-border); align-items: flex-start; }
.fc-filter-row:last-child { border-bottom: none; }
.fc-filter-label { flex-shrink: 0; width: 50px; font-size: 13px; color: var(--fc-text-3); line-height: 28px; }
.fc-filter-options { display: flex; flex-wrap: wrap; gap: 4px; flex: 1; }
.fc-filter-options a { padding: 4px 12px; border-radius: 4px; font-size: 13px; color: var(--fc-text-2); transition: all .2s; }
.fc-filter-options a:hover { background: var(--fc-orange-light); color: var(--fc-orange); }
.fc-filter-options a.active { background: var(--fc-orange); color: #fff; font-weight: 600; }

/* ============ 19. 搜索页 ============ */
.fc-search-hero { background: linear-gradient(135deg, #fff 0%, #fff5ec 100%); border-radius: var(--fc-radius); padding: 24px; margin-bottom: 20px; box-shadow: var(--fc-shadow); }
.fc-search-title { font-size: 20px; font-weight: 700; color: var(--fc-text); margin: 0 0 16px; }
.fc-search-key { color: var(--fc-orange); font-weight: 800; }
.fc-search-total { font-size: 13px; color: var(--fc-text-3); margin-left: 8px; font-weight: 400; }
.fc-search-total strong { color: var(--fc-orange); }
.fc-search-form { display: flex; align-items: center; background: var(--fc-bg); border: 2px solid transparent; border-radius: 24px; padding: 4px; max-width: 600px; transition: border-color .2s; position: relative; }
.fc-search-form:focus-within { border-color: var(--fc-orange); background: #fff; }
.fc-search-form svg { margin: 0 12px; color: var(--fc-text-3); flex-shrink: 0; }
.fc-search-form input { flex: 1; background: transparent; border: none; outline: none; color: var(--fc-text); font-size: 15px; padding: 10px 0; min-width: 0; }
.fc-search-form button { background: var(--fc-orange); color: #fff; border: none; border-radius: 20px; padding: 10px 24px; font-size: 14px; font-weight: 600; cursor: pointer; transition: background .2s; flex-shrink: 0; }
.fc-search-form button:hover { background: var(--fc-orange-dark); }

.fc-search-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.fc-search-item { display: flex; gap: 14px; background: var(--fc-white); border-radius: var(--fc-radius); padding: 14px; box-shadow: var(--fc-shadow); transition: all .2s; }
.fc-search-item:hover { transform: translateY(-2px); box-shadow: var(--fc-shadow-hover); }
.fc-search-pic { flex-shrink: 0; width: 100px; height: 133px; border-radius: 6px; overflow: hidden; background: #eee; position: relative; }
.fc-search-pic img { width: 100%; height: 100%; object-fit: cover; }
.fc-search-pic-tag { position: absolute; top: 6px; left: 6px; background: var(--fc-orange); color: #fff; font-size: 11px; padding: 2px 6px; border-radius: 3px; font-style: normal; }
.fc-search-info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.fc-search-name { font-size: 15px; font-weight: 700; color: var(--fc-text); margin: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fc-search-item:hover .fc-search-name { color: var(--fc-orange); }
.fc-search-name mark { background: transparent; color: var(--fc-orange); font-weight: 800; }
.fc-search-line { font-size: 12px; color: var(--fc-text-2); margin: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fc-search-line em { color: var(--fc-text-3); font-style: normal; margin-right: 4px; }
.fc-search-blurb { font-size: 12px; color: var(--fc-text-3); line-height: 1.6; margin: 2px 0 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.fc-search-meta { display: flex; gap: 12px; font-size: 11px; color: var(--fc-text-3); margin-top: auto; }

.fc-empty { text-align: center; padding: 60px 20px; background: var(--fc-white); border-radius: var(--fc-radius); box-shadow: var(--fc-shadow); }
.fc-empty svg { color: #ddd; margin: 0 auto 16px; }
.fc-empty h2 { font-size: 18px; color: var(--fc-text); margin: 0 0 8px; }
.fc-empty p { font-size: 14px; color: var(--fc-text-3); margin: 0 0 20px; }
.fc-empty-links { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; }
.fc-empty-links a { padding: 8px 20px; background: var(--fc-bg); border-radius: 6px; font-size: 14px; color: var(--fc-text-2); transition: all .2s; }
.fc-empty-links a:hover { background: var(--fc-orange); color: #fff; }

/* ============ 20. 分页 ============ */
.fc-pagination { display: flex; justify-content: center; align-items: center; gap: 6px; flex-wrap: wrap; margin-top: 24px; list-style: none; }
.fc-pagination li { list-style: none; }
.fc-pagination a { display: inline-block; min-width: 36px; padding: 8px 12px; text-align: center; background: var(--fc-white); border: 1px solid var(--fc-border); border-radius: 6px; font-size: 14px; color: var(--fc-text-2); transition: all .2s; }
.fc-pagination a:hover { background: var(--fc-orange); border-color: var(--fc-orange); color: #fff; }
.fc-pagination a.active, .fc-pagination .current a { background: var(--fc-orange); border-color: var(--fc-orange); color: #fff; font-weight: 600; }
.fc-pagination a.disabled { opacity: .4; pointer-events: none; }
.fc-pagination span { color: var(--fc-text-3); padding: 0 6px; }

/* ============ 21. 页脚 ============ */
.fc-footer { background: #2c2c2c; color: #999; margin-top: 40px; }
.fc-footer-inner { max-width: 1200px; margin: 0 auto; padding: 40px 16px 24px; }
.fc-footer-cols { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 40px; padding-bottom: 30px; border-bottom: 1px solid rgba(255,255,255,.08); }
.fc-footer-col { min-width: 0; }
.fc-footer-title { font-size: 15px; font-weight: 700; color: #fff; margin: 0 0 14px; position: relative; padding-left: 12px; }
.fc-footer-title::before { content: ''; position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: 4px; height: 14px; background: var(--fc-orange); border-radius: 2px; }
.fc-footer-text { font-size: 13px; line-height: 1.8; color: #999; margin: 0; }
.fc-footer-text a { color: #ccc; transition: color .2s; }
.fc-footer-text a:hover { color: var(--fc-orange); }
.fc-footer-links-col { display: flex; flex-direction: column; gap: 8px; }
.fc-footer-links-col a { font-size: 13px; color: #999; transition: all .2s; display: inline-block; width: fit-content; }
.fc-footer-links-col a:hover { color: var(--fc-orange); transform: translateX(4px); }
.fc-footer-bottom { padding-top: 20px; text-align: center; }
.fc-footer-copy { font-size: 12px; color: #666; line-height: 1.8; margin: 0; }
.fc-footer-tj { margin-top: 12px; font-size: 0; }

/* ============ 22. 响应式 ============ */
@media (max-width: 991px) {
  .fc-menu-btn { display: flex; }
  .fc-header-inner { gap: 10px; height: 60px; padding: 0 12px; }
  .fc-logo { font-size: 18px; }
  .fc-logo img { height: 32px; }
  .fc-nav { display: none; }
  .fc-search { flex: 1; max-width: none; width: auto; }
  .fc-search input { height: 36px; font-size: 13px; padding: 0 70px 0 38px; }
  .fc-search-icon { left: 12px; }
  .fc-search button { height: 30px; padding: 0 14px; font-size: 12px; }

  .fc-hero { grid-template-columns: 1fr; }
  .fc-hero-side { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .fc-side-card { aspect-ratio: 16/9; }
  .fc-grid { grid-template-columns: repeat(4, 1fr); gap: 12px; }
  .fc-main-row { grid-template-columns: 1fr; }

  .fc-detail-hero { flex-direction: column; padding: 16px; gap: 16px; }
  .fc-detail-poster { width: 140px; margin: 0 auto; }
  .fc-detail-title { font-size: 20px; text-align: center; }
  .fc-detail-title small { display: block; margin-left: 0; margin-top: 4px; }
  .fc-detail-tags { justify-content: center; }
  .fc-detail-actions { justify-content: center; }
  .fc-btn { flex: 1; justify-content: center; min-width: 120px; }
  .fc-eps { grid-template-columns: repeat(auto-fill, minmax(64px, 1fr)); }
  .fc-ep { font-size: 12px; padding: 8px 4px; }

  .fc-play-video { border-radius: 0; margin: 0 -10px 16px; width: calc(100% + 20px); }
  .fc-play-wrap { border-radius: 0; }
  .fc-play-title { font-size: 15px; }

  .fc-search-list { grid-template-columns: 1fr; }
  .fc-search-pic { width: 90px; height: 120px; }

  .fc-filter-row { flex-direction: column; gap: 6px; padding: 10px 0; }
  .fc-filter-label { width: auto; line-height: 1.4; color: #bbb; }

  .fc-footer-inner { padding: 30px 16px 20px; }
  .fc-footer-cols { grid-template-columns: 1fr 1fr; gap: 24px; padding-bottom: 24px; }
}

@media (max-width: 575px) {
  .fc-topbar-links { display: none; }
  .fc-container { padding: 12px 10px; }
  .fc-hero-side { grid-template-columns: 1fr; }
  .fc-grid { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .fc-card-info { padding: 8px 6px 10px; }
  .fc-card-name { font-size: 12px; }
  .fc-card-meta { font-size: 11px; }
  .fc-block-title { font-size: 16px; }
  .fc-block-title::before { height: 18px; }
  .fc-search input { font-size: 12px; height: 34px; padding: 0 66px 0 34px; }
  .fc-search button { height: 28px; padding: 0 12px; font-size: 12px; }
  .fc-update-name { font-size: 13px; }
  .fc-update-time { width: 50px; font-size: 11px; }
  .fc-search-pic { width: 80px; height: 107px; }
  .fc-search-name { font-size: 14px; }
  .fc-footer-inner { padding: 24px 12px 16px; }
  .fc-footer-cols { grid-template-columns: 1fr; gap: 20px; padding-bottom: 20px; }
  .fc-footer-title { font-size: 14px; margin-bottom: 10px; }
  .fc-footer-text, .fc-footer-links-col a { font-size: 12px; }
  .fc-footer-copy { font-size: 11px; }
}

@media (min-width: 992px) {
  .fc-drawer, .fc-drawer-mask, .fc-menu-btn { display: none !important; }
}

/* ============================================================
   兼容原有分页模板（block/paging.html 输出 .page-navigator）
   ============================================================ */
body .page-navigator {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  padding: 24px 0 0;
  list-style: none;
  margin: 0;
}
body .page-navigator li {
  display: inline-block;
  margin: 0;
  list-style: none;
}
body .page-navigator li a {
  display: inline-block;
  min-width: 36px;
  padding: 8px 12px;
  text-align: center;
  background: var(--fc-white);
  border: 1px solid var(--fc-border);
  border-radius: 6px;
  font-size: 14px;
  color: var(--fc-text-2);
  transition: all .2s;
  text-decoration: none;
}
body .page-navigator li a:hover,
body .page-navigator li.current a,
body .page-navigator li.active a {
  background: var(--fc-orange);
  border-color: var(--fc-orange);
  color: #fff;
}
body .page-navigator li.disabled a {
  opacity: .4;
  pointer-events: none;
}

/* ============================================================
   筛选页专用
   ============================================================ */
.fc-filter-channels { display: flex; flex-wrap: wrap; gap: 6px; }
.fc-filter-channels a {
  padding: 6px 14px;
  border-radius: 6px;
  font-size: 13px;
  color: var(--fc-text-2);
  background: var(--fc-bg);
  border: 1px solid var(--fc-border);
  transition: all .2s;
}
.fc-filter-channels a:hover {
  background: var(--fc-orange-light);
  color: var(--fc-orange);
  border-color: var(--fc-orange);
}
.fc-filter-channels a.active {
  background: var(--fc-orange);
  color: #fff;
  border-color: var(--fc-orange);
  font-weight: 600;
}

/* 已选条件高亮 */
.fc-filter-selected .fc-filter-options a {
  background: var(--fc-orange-light);
  border: 1px solid rgba(255,102,0,.4);
  color: var(--fc-orange);
  font-weight: 600;
}
.fc-filter-selected .fc-filter-options a:hover {
  background: var(--fc-orange);
  color: #fff;
}

/* 空状态 */
.fc-filter-empty {
  text-align: center;
  padding: 60px 20px;
  background: var(--fc-white);
  border-radius: var(--fc-radius);
  box-shadow: var(--fc-shadow);
  color: var(--fc-text-3);
}
.fc-filter-empty h2 {
  font-size: 18px;
  color: var(--fc-text);
  margin: 0 0 10px;
  font-weight: 600;
}
.fc-filter-empty a {
  display: inline-block;
  margin-top: 16px;
  padding: 8px 20px;
  background: var(--fc-orange);
  color: #fff;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  transition: background .2s;
}
.fc-filter-empty a:hover {
  background: var(--fc-orange-dark);
}

/* 手机端：筛选选项横向滑动 */
@media (max-width: 991px) {
  .fc-filters {
    max-height: 400px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  .fc-filter-options {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 4px;
  }
  .fc-filter-options::-webkit-scrollbar { height: 0; }
  .fc-filter-options a {
    flex-shrink: 0;
    white-space: nowrap;
  }
  .fc-filter-channels {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 4px;
  }
  .fc-filter-channels::-webkit-scrollbar { height: 0; }
  .fc-filter-channels a {
    flex-shrink: 0;
    white-space: nowrap;
  }
}

/* ============================================================
   最近更新页
   ============================================================ */
.fc-new-hero { background: linear-gradient(135deg, #fff 0%, #fff5ec 100%); border-radius: var(--fc-radius); padding: 24px; margin-bottom: 20px; box-shadow: var(--fc-shadow); }
.fc-new-title { font-size: 22px; font-weight: 800; color: var(--fc-text); margin: 0 0 6px; display: flex; align-items: center; gap: 10px; }
.fc-new-title i { color: var(--fc-orange); }
.fc-new-sub { font-size: 13px; color: var(--fc-text-3); margin: 0; }
.fc-new-sub strong { color: var(--fc-orange); font-weight: 700; }

/* 日期分组 */
.fc-new-group { margin-bottom: 28px; }
.fc-new-group-head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; padding-bottom: 10px; border-bottom: 2px solid var(--fc-border); }
.fc-new-group-title { font-size: 18px; font-weight: 700; color: var(--fc-text); margin: 0; display: flex; align-items: center; gap: 8px; position: relative; padding-left: 14px; }
.fc-new-group-title::before { content: ''; position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: 5px; height: 20px; background: linear-gradient(180deg, #ff8c00, var(--fc-orange)); border-radius: 3px; }
.fc-new-group-badge { display: inline-block; padding: 2px 10px; background: linear-gradient(135deg, #ff8c00, var(--fc-orange)); color: #fff; font-size: 11px; font-weight: 700; border-radius: 10px; margin-left: 4px; }
.fc-new-group-badge.yesterday { background: linear-gradient(135deg, #ffb340, #ff8c00); }
.fc-new-group-count { font-size: 13px; color: var(--fc-text-3); margin-left: auto; }
.fc-new-group-count strong { color: var(--fc-orange); font-weight: 700; }

/* 影片网格：小卡 */
.fc-new-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.fc-new-item { display: block; background: var(--fc-white); border-radius: var(--fc-radius); overflow: hidden; transition: all .3s; box-shadow: var(--fc-shadow); }
.fc-new-item:hover { transform: translateY(-4px); box-shadow: var(--fc-shadow-hover); }
.fc-new-pic { position: relative; aspect-ratio: 3/4; overflow: hidden; background: #eee; }
.fc-new-pic img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.fc-new-item:hover .fc-new-pic img { transform: scale(1.08); }
.fc-new-status { position: absolute; bottom: 0; left: 0; right: 0; padding: 14px 6px 5px; background: linear-gradient(0deg, rgba(0,0,0,.85), rgba(0,0,0,0)); color: #fff; font-size: 11px; text-align: right; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fc-new-badge { position: absolute; top: 6px; left: 6px; background: var(--fc-orange); color: #fff; font-size: 11px; padding: 2px 6px; border-radius: 3px; font-weight: 700; font-style: normal; z-index: 2; }
.fc-new-badge.new { background: linear-gradient(135deg, #ff4d4d, #ff1744); animation: fcPulse 2s infinite; }
.fc-new-badge.yesterday { background: linear-gradient(135deg, #ffb340, #ff8c00); }
@keyframes fcPulse { 0%,100% { opacity: 1; } 50% { opacity: .7; } }
.fc-new-info { padding: 8px 8px 10px; }
.fc-new-name { font-size: 13px; font-weight: 600; color: var(--fc-text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; margin: 0 0 3px; transition: color .2s; }
.fc-new-item:hover .fc-new-name { color: var(--fc-orange); }
.fc-new-meta { font-size: 11px; color: var(--fc-text-3); display: flex; align-items: center; gap: 6px; overflow: hidden; white-space: nowrap; }
.fc-new-time { color: var(--fc-orange); font-weight: 600; }

/* 空状态 */
.fc-new-empty { text-align: center; padding: 60px 20px; background: var(--fc-white); border-radius: var(--fc-radius); box-shadow: var(--fc-shadow); }
.fc-new-empty svg { color: #ddd; margin: 0 auto 16px; display: block; }
.fc-new-empty h2 { font-size: 18px; color: var(--fc-text); margin: 0 0 8px; font-weight: 600; }
.fc-new-empty p { font-size: 14px; color: var(--fc-text-3); margin: 0 0 20px; }
.fc-new-empty a { display: inline-block; padding: 8px 20px; background: var(--fc-orange); color: #fff; border-radius: 6px; font-size: 14px; font-weight: 600; transition: background .2s; }
.fc-new-empty a:hover { background: var(--fc-orange-dark); }

/* 手机端 */
@media (max-width: 991px) {
  .fc-new-grid { grid-template-columns: repeat(4, 1fr); gap: 10px; }
  .fc-new-name { font-size: 12px; }
}
@media (max-width: 575px) {
  .fc-new-hero { padding: 16px; }
  .fc-new-title { font-size: 18px; }
  .fc-new-group-title { font-size: 15px; }
  .fc-new-grid { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .fc-new-info { padding: 6px 6px 8px; }
  .fc-new-name { font-size: 12px; }
  .fc-new-meta { font-size: 10px; }
}

/* ============================================================
   排行榜页
   ============================================================ */
.fc-rank-hero { background: linear-gradient(135deg, #fff 0%, #fff5ec 100%); border-radius: var(--fc-radius); padding: 24px; margin-bottom: 20px; box-shadow: var(--fc-shadow); }
.fc-rank-hero .fc-new-title { margin-bottom: 6px; }

/* 榜单 tab */
.fc-rank-tabs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 20px; padding: 6px; background: var(--fc-white); border-radius: var(--fc-radius); box-shadow: var(--fc-shadow); }
.fc-rank-tab { padding: 10px 20px; border-radius: 6px; font-size: 14px; color: var(--fc-text-2); background: transparent; border: none; cursor: pointer; white-space: nowrap; transition: all .2s; font-family: inherit; display: inline-flex; align-items: center; gap: 6px; }
.fc-rank-tab:hover { background: var(--fc-orange-light); color: var(--fc-orange); }
.fc-rank-tab.active { background: var(--fc-orange); color: #fff; font-weight: 600; }
.fc-rank-tab svg { width: 15px; height: 15px; }
.fc-rank-panel { display: none; }
.fc-rank-panel.active { display: block; animation: fcFadeIn .3s ease; }
@keyframes fcFadeIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }

/* TOP3 大卡片 */
.fc-rank-top3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 20px; }
.fc-rank-top-item { position: relative; display: block; border-radius: var(--fc-radius); overflow: hidden; aspect-ratio: 3/4; background: #eee; transition: all .3s; box-shadow: var(--fc-shadow); }
.fc-rank-top-item:hover { transform: translateY(-4px); box-shadow: var(--fc-shadow-hover); }
.fc-rank-top-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.fc-rank-top-item:hover img { transform: scale(1.05); }
.fc-rank-top-mask { position: absolute; top:0; left:0; right:0; bottom:0; background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(0,0,0,.85) 100%); pointer-events: none; }
.fc-rank-top-num { position: absolute; top: 12px; left: 12px; width: 48px; height: 48px; display: flex; align-items: center; justify-content: center; font-size: 24px; font-weight: 900; color: #fff; border-radius: 10px; font-family: -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif; text-shadow: 0 2px 8px rgba(0,0,0,.5); z-index: 2; }
.fc-rank-top-num.n1 { background: linear-gradient(135deg, #ff4d4d, #ff1744); }
.fc-rank-top-num.n2 { background: linear-gradient(135deg, #ffa940, #ff8c00); }
.fc-rank-top-num.n3 { background: linear-gradient(135deg, #ffc53d, #faad14); }
.fc-rank-top-info { position: absolute; left: 0; right: 0; bottom: 0; padding: 16px; z-index: 2; color: #fff; pointer-events: none; }
.fc-rank-top-name { font-size: 16px; font-weight: 700; margin: 0 0 4px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fc-rank-top-meta { font-size: 12px; opacity: .85; display: flex; gap: 8px; flex-wrap: wrap; }

/* 4+ 名列表 */
.fc-rank-list { background: var(--fc-white); border-radius: var(--fc-radius); padding: 8px 20px; box-shadow: var(--fc-shadow); }
.fc-rank-list .fc-rank-item { display: flex; align-items: center; gap: 14px; padding: 12px 0; border-bottom: 1px dashed var(--fc-border); transition: all .2s; }
.fc-rank-list .fc-rank-item:last-child { border-bottom: none; }
.fc-rank-list .fc-rank-item:hover { padding-left: 6px; }
.fc-rank-list .fc-rank-item:hover .fc-rank-name { color: var(--fc-orange); }
.fc-rank-list .fc-rank-num { flex-shrink: 0; width: 30px; height: 30px; display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 700; border-radius: 6px; background: #f0f0f0; color: var(--fc-text-3); }
.fc-rank-list .fc-rank-pic { flex-shrink: 0; width: 60px; height: 80px; border-radius: 6px; overflow: hidden; background: #eee; }
.fc-rank-list .fc-rank-pic img { width: 100%; height: 100%; object-fit: cover; }
.fc-rank-list .fc-rank-body { flex: 1; min-width: 0; }
.fc-rank-list .fc-rank-name { font-size: 14px; font-weight: 600; color: var(--fc-text); margin: 0 0 4px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; transition: color .2s; }
.fc-rank-list .fc-rank-line { font-size: 12px; color: var(--fc-text-3); margin: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fc-rank-list .fc-rank-value { flex-shrink: 0; font-size: 13px; color: var(--fc-orange); font-weight: 700; }

/* 手机端 */
@media (max-width: 991px) {
  .fc-rank-tabs { padding: 4px; gap: 4px; }
  .fc-rank-tab { padding: 8px 14px; font-size: 13px; }
  .fc-rank-tab svg { display: none; }
  .fc-rank-top3 { gap: 8px; }
  .fc-rank-top-num { width: 34px; height: 34px; font-size: 16px; top: 8px; left: 8px; border-radius: 8px; }
  .fc-rank-top-info { padding: 10px; }
  .fc-rank-top-name { font-size: 13px; }
  .fc-rank-list { padding: 8px 14px; }
  .fc-rank-list .fc-rank-item { gap: 10px; padding: 10px 0; }
  .fc-rank-list .fc-rank-num { width: 24px; height: 24px; font-size: 12px; }
  .fc-rank-list .fc-rank-pic { width: 50px; height: 67px; }
  .fc-rank-list .fc-rank-name { font-size: 13px; }
}
@media (max-width: 575px) {
  .fc-rank-tabs { gap: 4px; }
  .fc-rank-tab { padding: 6px 12px; font-size: 12px; }
  .fc-rank-list .fc-rank-pic { width: 44px; height: 59px; }
}

/* ============================================================
   网站地图页
   ============================================================ */
.fc-map-hero { background: linear-gradient(135deg, #fff 0%, #fff5ec 100%); border-radius: var(--fc-radius); padding: 24px; margin-bottom: 20px; box-shadow: var(--fc-shadow); }
.fc-map-hero .fc-new-title { margin-bottom: 6px; }

.fc-map-block { background: var(--fc-white); border-radius: var(--fc-radius); padding: 20px; margin-bottom: 16px; box-shadow: var(--fc-shadow); }
.fc-map-block-head { display: flex; align-items: center; justify-content: space-between; padding-bottom: 14px; margin-bottom: 12px; border-bottom: 2px solid var(--fc-border); gap: 12px; flex-wrap: wrap; }
.fc-map-block-title { font-size: 17px; font-weight: 700; color: var(--fc-text); margin: 0; display: flex; align-items: center; gap: 8px; position: relative; padding-left: 14px; }
.fc-map-block-title::before { content: ''; position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: 5px; height: 18px; background: linear-gradient(180deg, #ff8c00, var(--fc-orange)); border-radius: 3px; }
.fc-map-block-title svg { color: var(--fc-orange); }
.fc-map-more { font-size: 13px; color: var(--fc-text-3); transition: color .2s; }
.fc-map-more:hover { color: var(--fc-orange); }

.fc-map-row { display: flex; gap: 12px; padding: 10px 0; border-bottom: 1px dashed var(--fc-border); align-items: flex-start; }
.fc-map-row:last-child { border-bottom: none; padding-bottom: 0; }
.fc-map-label { flex-shrink: 0; width: 50px; font-size: 13px; color: var(--fc-text-3); line-height: 28px; }
.fc-map-links { display: flex; flex-wrap: wrap; gap: 4px; flex: 1; }
.fc-map-links a { display: inline-block; padding: 4px 12px; border-radius: 4px; font-size: 13px; color: var(--fc-text-2); transition: all .2s; white-space: nowrap; }
.fc-map-links a:hover { background: var(--fc-orange-light); color: var(--fc-orange); }

.fc-map-channels { display: flex; flex-wrap: wrap; gap: 6px; flex: 1; }
.fc-map-channels a { padding: 6px 14px; border-radius: 6px; font-size: 13px; color: var(--fc-text-2); background: var(--fc-bg); border: 1px solid var(--fc-border); transition: all .2s; }
.fc-map-channels a:hover { background: var(--fc-orange-light); color: var(--fc-orange); border-color: var(--fc-orange); }
.fc-map-channels a.active { background: var(--fc-orange); color: #fff; border-color: var(--fc-orange); font-weight: 600; }

.fc-map-other-links { display: flex; flex-wrap: wrap; gap: 8px; }
.fc-map-other-links a { padding: 8px 18px; background: var(--fc-bg); border: 1px solid var(--fc-border); border-radius: 6px; font-size: 13px; color: var(--fc-text-2); transition: all .2s; }
.fc-map-other-links a:hover { background: var(--fc-orange); border-color: var(--fc-orange); color: #fff; }

@media (max-width: 767px) {
  .fc-map-block { padding: 16px; }
  .fc-map-row { flex-direction: column; gap: 6px; padding: 10px 0; }
  .fc-map-label { width: auto; line-height: 1.4; font-size: 12px; color: #bbb; }
  .fc-map-links a { padding: 3px 8px; font-size: 12px; }
  .fc-map-channels a { padding: 4px 10px; font-size: 12px; }
  .fc-map-other-links a { padding: 6px 14px; font-size: 12px; }
}

/* ============================================================
   首页 - 一周更新表
   ============================================================ */
.fc-week {
  background: var(--fc-white);
  border-radius: var(--fc-radius);
  padding: 20px;
  margin-bottom: 24px;
  box-shadow: var(--fc-shadow);
  overflow: hidden;
}

.fc-week .fc-block-head {
  border-bottom: 2px solid var(--fc-border);
  margin-bottom: 14px;
  padding-bottom: 10px;
}

/* 日期 tab */
.fc-week-tabs {
  display: flex;
  gap: 6px;
  margin-bottom: 16px;
  padding: 5px;
  background: var(--fc-bg);
  border-radius: 8px;
  overflow-x: auto;
}
.fc-week-tabs::-webkit-scrollbar { height: 0; }

.fc-week-tab {
  padding: 8px 18px;
  border-radius: 6px;
  font-size: 14px;
  color: var(--fc-text-2);
  background: transparent;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  transition: all .2s;
  font-family: inherit;
  flex-shrink: 0;
}
.fc-week-tab:hover {
  background: rgba(255, 102, 0, .08);
  color: var(--fc-orange);
}
.fc-week-tab.active {
  background: var(--fc-orange);
  color: #fff;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(255, 102, 0, .25);
}

/* 面板 */
.fc-week-panel {
  animation: fcWeekFadeIn .3s ease;
}
@keyframes fcWeekFadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* 影片列表 - minmax(0, 1fr) 防止被长片名撑破 */
.fc-week-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.fc-week-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px;
  border-radius: 8px;
  background: var(--fc-bg);
  transition: all .2s;
  border: 1px solid transparent;
  min-width: 0;
}
.fc-week-item:hover {
  background: var(--fc-orange-light);
  border-color: rgba(255, 102, 0, .3);
  transform: translateX(2px);
}
.fc-week-item:hover .fc-week-name { color: var(--fc-orange); }

.fc-week-pic {
  flex-shrink: 0;
  width: 50px;
  height: 67px;
  border-radius: 5px;
  overflow: hidden;
  background: #e5e5e5;
}
.fc-week-pic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.fc-week-info {
  flex: 1;
  min-width: 0;
}

.fc-week-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--fc-text);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  margin-bottom: 4px;
  transition: color .2s;
}

.fc-week-meta {
  font-size: 11px;
  color: var(--fc-text-3);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.fc-week-time {
  flex-shrink: 0;
  font-size: 11px;
  color: var(--fc-orange);
  font-weight: 600;
  background: rgba(255, 102, 0, .1);
  padding: 2px 6px;
  border-radius: 3px;
}

.fc-week-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 30px;
  color: var(--fc-text-3);
  font-size: 13px;
}

/* ============ 手机端 ============ */
@media (max-width: 991px) {
  .fc-week { padding: 16px; }
  .fc-week-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .fc-week-tab { padding: 6px 14px; font-size: 13px; }
}

@media (max-width: 575px) {
  .fc-week { padding: 12px; }
  .fc-week-list { grid-template-columns: minmax(0, 1fr); }
  .fc-week-pic { width: 44px; height: 59px; }
  .fc-week-name { font-size: 12px; }
  .fc-week-meta { font-size: 10px; }
}

/* ============================================================
   视觉隐藏（SEO 用，屏幕阅读器可读，视觉不可见）
   ============================================================ */
.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* ============================================================
   搜索页 - article 包裹层兼容
   ============================================================ */
.fc-search-item-wrap {
  display: block;
}
.fc-search-item-wrap .fc-search-item {
  width: 100%;
}

/* ============================================================
   留言板页
   ============================================================ */
.fc-gbook-form {
  background: var(--fc-white);
  border-radius: var(--fc-radius);
  padding: 20px;
  box-shadow: var(--fc-shadow);
}

.fc-gbook-form-row {
  margin-bottom: 16px;
}
.fc-gbook-form-row:last-child {
  margin-bottom: 0;
}

.fc-gbook-label {
  display: block;
  font-size: 13px;
  color: var(--fc-text-2);
  margin-bottom: 8px;
  font-weight: 600;
}

.fc-gbook-req {
  color: var(--fc-orange);
  margin-left: 2px;
}

.fc-gbook-textarea,
.fc-gbook-input {
  width: 100%;
  background: var(--fc-bg);
  border: 2px solid transparent;
  border-radius: 8px;
  padding: 12px 14px;
  color: var(--fc-text);
  font-size: 14px;
  font-family: inherit;
  outline: none;
  transition: all .2s;
  box-sizing: border-box;
}

.fc-gbook-textarea {
  resize: vertical;
  min-height: 100px;
  line-height: 1.6;
}

.fc-gbook-textarea:focus,
.fc-gbook-input:focus {
  border-color: var(--fc-orange);
  background: var(--fc-white);
  box-shadow: 0 0 0 3px rgba(255,102,0,.1);
}

.fc-gbook-verify-wrap {
  display: flex;
  gap: 10px;
  align-items: center;
}

.fc-gbook-verify-wrap .fc-gbook-input {
  flex: 1;
  max-width: 200px;
}

.fc-gbook-verify-img {
  height: 44px;
  width: auto;
  border-radius: 6px;
  cursor: pointer;
  background: var(--fc-bg);
  border: 2px solid var(--fc-border);
  display: block;
}

.fc-gbook-submit-row {
  text-align: right;
}

/* 留言条目 */
.fc-gbook-item {
  display: flex;
  gap: 14px;
  padding: 18px;
  background: var(--fc-white);
  border-radius: var(--fc-radius);
  margin-bottom: 12px;
  box-shadow: var(--fc-shadow);
  transition: box-shadow .2s;
}
.fc-gbook-item:hover {
  box-shadow: var(--fc-shadow-hover);
}

.fc-gbook-avatar {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  overflow: hidden;
  background: linear-gradient(135deg, #ff8c00, var(--fc-orange));
}
.fc-gbook-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.fc-gbook-body {
  flex: 1;
  min-width: 0;
}

.fc-gbook-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 6px;
  flex-wrap: wrap;
}

.fc-gbook-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--fc-text);
}

.fc-gbook-time {
  font-size: 12px;
  color: var(--fc-text-3);
}

.fc-gbook-content {
  font-size: 14px;
  color: var(--fc-text-2);
  line-height: 1.7;
  margin: 0;
  word-break: break-word;
  white-space: pre-wrap;
}

.fc-gbook-reply {
  background: var(--fc-orange-light);
  border-left: 3px solid var(--fc-orange);
  border-radius: 4px;
  padding: 10px 12px;
  margin-top: 10px;
}

.fc-gbook-reply-head {
  font-size: 12px;
  color: var(--fc-orange);
  font-weight: 700;
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.fc-gbook-reply-content {
  font-size: 13px;
  color: var(--fc-text-2);
  line-height: 1.6;
  margin: 0;
}

/* 手机端 */
@media (max-width: 991px) {
  .fc-gbook-form { padding: 16px; }
  .fc-gbook-item { padding: 14px; }
  .fc-gbook-submit-row { text-align: left; }
  .fc-gbook-submit-row .fc-btn { width: 100%; justify-content: center; }
}

@media (max-width: 575px) {
  .fc-gbook-avatar { width: 36px; height: 36px; }
  .fc-gbook-name { font-size: 13px; }
  .fc-gbook-content { font-size: 13px; }
  .fc-gbook-time { font-size: 11px; }
}

/* ============================================================
   友情链接页
   ============================================================ */
.fc-flink-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 12px;
}

.fc-flink-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: var(--fc-white);
  border: 1px solid var(--fc-border);
  border-radius: var(--fc-radius);
  transition: all .2s;
  overflow: hidden;
  min-width: 0;
}
.fc-flink-item:hover {
  border-color: var(--fc-orange);
  background: var(--fc-orange-light);
  transform: translateY(-2px);
  box-shadow: var(--fc-shadow-hover);
}
.fc-flink-item img {
  width: 32px;
  height: 32px;
  border-radius: 4px;
  object-fit: cover;
  flex-shrink: 0;
  background: var(--fc-bg);
}
.fc-flink-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.fc-flink-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--fc-text);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  transition: color .2s;
}
.fc-flink-item:hover .fc-flink-name {
  color: var(--fc-orange);
}
.fc-flink-url {
  font-size: 11px;
  color: var(--fc-text-3);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* 申请说明 */
.fc-flink-rules {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-bottom: 16px;
}
.fc-flink-rule-item {
  display: flex;
  gap: 12px;
  padding: 16px;
  background: var(--fc-bg);
  border-radius: var(--fc-radius);
  border-left: 3px solid var(--fc-orange);
}
.fc-flink-rule-num {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, #ff8c00, var(--fc-orange));
  border-radius: 50%;
  font-family: -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif;
}
.fc-flink-rule-body { flex: 1; min-width: 0; }
.fc-flink-rule-body h3 {
  font-size: 14px;
  font-weight: 600;
  color: var(--fc-text);
  margin: 0 0 4px;
}
.fc-flink-rule-body p {
  font-size: 13px;
  color: var(--fc-text-2);
  line-height: 1.6;
  margin: 0;
}

.fc-flink-tips {
  background: var(--fc-orange-light);
  border-radius: var(--fc-radius);
  padding: 14px 16px;
  margin-bottom: 20px;
  border-left: 3px solid var(--fc-orange);
}
.fc-flink-tips p {
  font-size: 13px;
  color: var(--fc-text-2);
  line-height: 1.7;
  margin: 0;
}
.fc-flink-tips strong {
  color: var(--fc-orange);
  font-weight: 700;
}

.fc-flink-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

@media (max-width: 991px) {
  .fc-flink-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .fc-flink-item { padding: 10px 12px; }
  .fc-flink-rules { grid-template-columns: 1fr; gap: 10px; }
  .fc-flink-rule-item { padding: 14px; }
}

@media (max-width: 575px) {
  .fc-flink-grid { grid-template-columns: 1fr; }
  .fc-flink-name { font-size: 13px; }
  .fc-flink-actions .fc-btn { flex: 1; justify-content: center; }
}