@charset "utf-8";
/* ============================================================
   红猫影视 前台样式
   版本: v1.0
   说明: 深色影院风格首页 / 列表 / 详情 / 播放 / 文章
   ============================================================ */

/* ---------- 基础重置 ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }
body.hong-body {
    font: 14px/1.6 "Microsoft YaHei", "PingFang SC", Helvetica, Arial, sans-serif;
    color: #e8e8e8;
    background: #16181f;
    -webkit-font-smoothing: antialiased;
}
a { color: #cfcfcf; text-decoration: none; transition: color .2s; }
a:hover { color: #ff4d4d; }
ul, li { list-style: none; }
img { border: 0; display: block; max-width: 100%; }
input, button { font-family: inherit; outline: none; }
.hong-inner { max-width: 1200px; margin: 0 auto; padding: 0 15px; }

/* ---------- 顶部提示条 ---------- */
.hong-topbar { background: #101218; border-bottom: 1px solid #23262f; color: #7d818c; font-size: 12px; }
.hong-topbar .hong-inner { display: flex; justify-content: space-between; height: 34px; align-items: center; }
.hong-topbar-tip { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ---------- 头部导航 ---------- */
.hong-header { background: #1c1f28; border-bottom: 2px solid #ff4d4d; position: sticky; top: 0; z-index: 999; }
.hong-header-in { display: flex; align-items: center; height: 66px; }
.hong-logo { margin-right: 24px; }
.hong-logo-text { font-size: 24px; font-weight: bold; color: #fff; letter-spacing: 2px; }
.hong-logo h1.hong-logo-text { font-size: 24px; }
.hong-nav { flex: 1; overflow: hidden; }
.hong-nav-list { display: flex; }
.hong-nav-item { margin-right: 6px; }
.hong-nav-item a { display: block; padding: 0 16px; line-height: 66px; color: #c8c8c8; font-size: 16px; }
.hong-nav-item.on a, .hong-nav-item a:hover { color: #ff4d4d; }
.hong-search { display: flex; width: 240px; height: 36px; border-radius: 18px; overflow: hidden; background: #2a2d38; }
.hong-search-input { flex: 1; border: 0; background: transparent; color: #eee; padding: 0 14px; }
.hong-search-btn { border: 0; width: 54px; background: #ff4d4d; color: #fff; cursor: pointer; font-size: 15px; }

/* ---------- 主体 ---------- */
.hong-main { padding: 20px 0 40px; min-height: 500px; }
.hong-block { margin-top: 30px; }
.hong-block-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; border-left: 4px solid #ff4d4d; padding-left: 12px; }
.hong-block-title { font-size: 20px; color: #fff; font-weight: 600; }
.hong-block-more { font-size: 13px; color: #8a8f9a; }

/* ---------- 幻灯片 ---------- */
.hong-hero { margin-bottom: 10px; }
.hong-slide { border-radius: 8px; overflow: hidden; height: 380px; }
.hong-slide .swiper-slide { position: relative; height: 380px; background: #0b0c10; }
.hong-slide .swiper-slide img { width: 100%; height: 100%; object-fit: contain; }
.hong-slide-cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 20px 20px; background: linear-gradient(transparent, rgba(0,0,0,.85)); }
.hong-slide-cap b { display: block; font-size: 22px; color: #fff; }
.hong-slide-cap i { display: block; font-size: 13px; color: #d5d5d5; margin-top: 6px; font-style: normal; }
.hong-slide .swiper-pagination-bullet { background: #fff; opacity: .5; }
.hong-slide .swiper-pagination-bullet-active { background: #ff4d4d; opacity: 1; }

/* ---------- 卡片网格 ---------- */
.hong-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.hong-grid-lg { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.hong-grid-item { min-width: 0; }
.hong-card { display: block; }
.hong-card-pic { position: relative; border-radius: 6px; overflow: hidden; background: #22252f; aspect-ratio: 3 / 4; }
.hong-card-pic img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.hong-card:hover .hong-card-pic img { transform: scale(1.06); }
.hong-card-remark { position: absolute; right: 6px; top: 6px; background: rgba(255,77,77,.9); color: #fff; font-size: 12px; padding: 1px 6px; border-radius: 3px; }
.hong-card-score { position: absolute; left: 8px; bottom: 8px; color: #ffb400; font-weight: bold; font-size: 15px; text-shadow: 0 1px 3px rgba(0,0,0,.6); }
.hong-card-name { margin-top: 8px; font-size: 15px; color: #eaeaea; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hong-card-class { font-size: 12px; color: #7d818c; margin-top: 3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ---------- 面包屑 / 筛选 ---------- */
.hong-crumb { font-size: 13px; color: #8a8f9a; margin-bottom: 16px; }
.hong-home-title { font-size: 22px; color: #fff; font-weight: 600; margin: 0 0 14px; }
.hong-home-title span { font-size: 13px; font-weight: normal; color: #8a8f9a; margin-left: 10px; }
.hong-list-title { font-size: 18px; color: #fff; font-weight: 600; margin: 0 0 14px; }
.hong-crumb a { color: #a9adb6; }
.hong-filter { display: flex; align-items: baseline; margin-bottom: 18px; }
.hong-filter-label { color: #8a8f9a; white-space: nowrap; }
.hong-filter-box { display: flex; flex-wrap: wrap; gap: 8px; }
.hong-filter-item { padding: 4px 12px; border-radius: 4px; background: #23262f; font-size: 13px; }
.hong-filter-item.on { background: #ff4d4d; color: #fff; }

/* ---------- 详情页 ---------- */
.hong-detail { display: flex;flex-direction: column; background: #1e212b; border-radius: 8px; padding: 20px; }
.hong-detail-pic { width: 240px; flex-shrink: 0; margin-right: 24px; }
.hong-detail-pic img { border-radius: 6px; width: 100%; height: auto; }
.hong-detail-info { flex: 1; }
.hong-detail-name { font-size: 26px; color: #fff; margin-bottom: 12px; }
.hong-detail-year { color: #ff9f43; font-size: 16px; }
.hong-detail-meta { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 20px; margin-bottom: 14px; }
.hong-detail-meta li { font-size: 14px; color: #9aa0ab; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hong-detail-meta em { color: #6f7480; font-style: normal; }
.hong-detail-meta .hong-score { color: #ffb400; font-weight: bold; }
.hong-detail-blurb { color: #9aa0ab; line-height: 1.8; margin-bottom: 18px; }
.hong-detail-action { display: flex; gap: 12px; }
.hong-btn-play, .hong-btn-detail { display: inline-block; padding: 9px 28px; border-radius: 22px; font-size: 15px; }
.hong-btn-play { background: #ff4d4d; color: #fff; }
.hong-btn-play:hover { color: #fff; background: #e63f3f; }
.hong-btn-detail { background: #2a2d38; color: #d5d5d5; }

/* ---------- 播放器选集 ---------- */
.hong-player { background: #1e212b; border-radius: 8px; padding: 18px 20px; margin-top: 20px; }
.hong-plate-tabs { display: flex; flex-wrap: wrap; gap: 8px; border-bottom: 1px solid #2c2f39; padding-bottom: 12px; margin-bottom: 12px; }
.hong-plate-tab { padding: 5px 14px; border-radius: 4px; cursor: pointer; font-size: 14px; color: #a9adb6; }
.hong-plate-tab.on { background: #ff4d4d; color: #fff; }
.hong-episodes { display: none; flex-wrap: wrap; gap: 10px; }
.hong-episodes.on { display: flex; }
.hong-episodes li a { display: block; padding: 6px 14px; background: #262935; border-radius: 4px; font-size: 13px; }
.hong-episodes li a:hover, .hong-episodes li a.on { background: #ff4d4d; color: #fff; }
.hong-content { background: #1e212b; border-radius: 8px; padding: 18px 20px; line-height: 1.9; color: #9aa0ab; }

/* ---------- 播放页 ---------- */
.hong-player-box { background: #000; border-radius: 8px; overflow: hidden; aspect-ratio: 16 / 9; }
#mse, #mse video { width: 100%; height: 100%; }
.hong-playing-tip { padding: 14px 0; }
.hong-playing-name { font-size: 22px; color: #fff; }
.hong-playing-tip p { color: #8a8f9a; margin-top: 6px; }

/* ---------- 评论 ---------- */
.hong-comment { margin-top: 24px; background: #1e212b; border-radius: 8px; padding: 18px 20px; }
.hong-comment .hong-block-head { border: none; padding: 0; margin-bottom: 10px; }
.hong-comment-item { display: flex; padding: 14px 0; border-bottom: 1px dashed #2c2f39; }
.hong-avatar { width: 44px; height: 44px; border-radius: 50%; margin-right: 12px; object-fit: cover; }
.hong-comment-user { color: #c8c8c8; margin-bottom: 4px; }
.hong-comment-user time { color: #6f7480; font-size: 12px; margin-left: 10px; }
.hong-comment-text { color: #9aa0ab; }

/* ---------- 文章 ---------- */
.hong-article { background: #1e212b; border-radius: 8px; padding: 24px; }
.hong-article-title { font-size: 24px; color: #fff; margin-bottom: 10px; }
.hong-article-meta { color: #7d818c; font-size: 13px; border-bottom: 1px solid #2c2f39; padding-bottom: 12px; margin-bottom: 16px; }
.hong-article-content { color: #c2c6ce; line-height: 1.9; font-size: 16px; }
.hong-article-content p { margin-bottom: 12px; }
.hong-artlist { }
.hong-artitem { display: flex; padding: 16px 0; border-bottom: 1px solid #23262f; }
.hong-artitem-pic { width: 160px; flex-shrink: 0; margin-right: 16px; border-radius: 6px; overflow: hidden; }
.hong-artitem-title { font-size: 18px; margin-bottom: 8px; }
.hong-artitem-title a { color: #eaeaea; }
.hong-artitem-desc { color: #8a8f9a; line-height: 1.7; margin-bottom: 6px; }
.hong-artitem-time { color: #6f7480; font-size: 12px; }

/* ---------- 分页 ---------- */
.hong-page { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.hong-page-item, .hong-page-next { display: inline-block; min-width: 36px; height: 36px; line-height: 36px; text-align: center; padding: 0 12px; background: #23262f; border-radius: 4px; color: #c8c8c8; }
.hong-page-item.on { background: #ff4d4d; color: #fff; }
.hong-page-next:hover, .hong-page-item:hover { background: #ff4d4d; color: #fff; }

/* ---------- 搜索结果提示 ---------- */
.hong-result-tip { background: #1e212b; border-radius: 6px; padding: 14px 18px; margin-bottom: 18px; color: #9aa0ab; }
.hong-result-tip b { color: #ff4d4d; }
.hong-result-tip em { font-style: normal; color: #fff; }
.hong-result-tip strong { color: #ffb400; }

/* ---------- 友情链接 ---------- */
.hong-links { background: #1a1d25; padding: 20px 0; margin-top: 30px; }
.hong-links-title b { color: #fff; font-size: 16px; }
.hong-links-list { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 12px; }
.hong-links-list a { color: #8a8f9a; font-size: 13px; }

/* ---------- 页脚 ---------- */
.hong-footer { background: #101218; border-top: 1px solid #23262f; padding: 24px 0; color: #7d818c; font-size: 13px; }
.hong-foot-nav { margin-bottom: 14px; }
.hong-foot-nav a, .hong-foot-nav span { margin-right: 14px; color: #9aa0ab; }
.hong-foot-copy p { line-height: 1.9; }

/* ---------- 响应式 ---------- */
@media screen and (max-width: 1024px) {
    .hong-grid, .hong-grid-lg { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media screen and (max-width: 768px) {
    .hong-header-in { height: auto; flex-wrap: wrap; padding: 6px 0; }
    .hong-logo { margin-right: 12px; }
    .hong-logo-text, .hong-logo h1.hong-logo-text { font-size: 20px; }
    .hong-nav { order: 3; flex: 0 0 100%; }
    .hong-nav-list { overflow-x: auto; }
    .hong-nav-item { flex-shrink: 0; }
    .hong-nav-item a { line-height: 40px; padding: 0 10px; font-size: 14px; white-space: nowrap; }
    .hong-search { order: 2; flex: 1; width: auto; max-width: 240px; height: 32px; margin-left: auto; }
    .hong-topbar .hong-topbar-right { display: none; }
    .hong-slide, .hong-slide .swiper-slide { height: 220px; }
    .hong-slide-cap b { font-size: 16px; }
    .hong-slide-cap i { display: none; }
    .hong-grid, .hong-grid-lg { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
    .hong-detail { flex-direction: column; }
    .hong-detail-pic { width: 140px; margin: 0 auto 14px; }
    .hong-detail-name { font-size: 20px; }
    .hong-detail-meta { grid-template-columns: 1fr; }
    .hong-artitem-pic { width: 110px; }
    .hong-playing-name { font-size: 18px; }
}
@media screen and (max-width: 480px) {
    .hong-inner { padding: 0 10px; }
    .hong-grid, .hong-grid-lg { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .hong-block-title { font-size: 17px; }
    .hong-card-name { font-size: 13px; }
    .hong-slide, .hong-slide .swiper-slide { height: 180px; }
    .hong-detail { padding: 14px; }
    .hong-detail-pic { width: 120px; }
    .hong-links-list a { display: inline-block; margin-bottom: 4px; }
}
