@charset "utf-8";
*{margin:0;padding:0;box-sizing:border-box}
body{background:#f7f9fc;color:#2c3e50;font-family:"PingFang SC","Microsoft YaHei",sans-serif;font-size:14px;line-height:1.7}
a{color:#2c3e50;text-decoration:none;transition:all .25s ease}
a:hover{color:#10b981}
img{max-width:100%;display:block;border:0}
ul,li{list-style:none}

/* 顶部 */
.fm-header{background:#fff;border-bottom:1px solid #eef1f5;position:sticky;top:0;z-index:100}
.fm-header-inner{max-width:1200px;margin:0 auto;padding:0 24px;height:68px;display:flex;align-items:center;gap:32px}
.fm-logo{font-size:24px;font-weight:700;color:#10b981;letter-spacing:.5px;flex-shrink:0}
.fm-logo em{font-style:normal;color:#1f2937;font-weight:400}
.fm-nav{display:flex;gap:4px;flex:1}
.fm-nav a{padding:8px 18px;border-radius:10px;font-size:15px;color:#4b5563;font-weight:500}
.fm-nav a:hover{background:#ecfdf5;color:#10b981}
.fm-nav a.active{background:#10b981;color:#fff}

/* 搜索 */
.fm-hero{background:linear-gradient(135deg,#ecfdf5 0%,#f0fdfa 100%);padding:48px 24px}
.fm-search{max-width:600px;margin:0 auto}
.fm-search-box{display:flex;background:#fff;border-radius:14px;box-shadow:0 4px 20px rgba(16,185,129,.1);overflow:hidden;border:2px solid transparent;transition:all .3s}
.fm-search-box:focus-within{border-color:#10b981;box-shadow:0 6px 24px rgba(16,185,129,.18)}
.fm-search-box input{flex:1;border:0;outline:0;padding:16px 22px;font-size:15px;color:#1f2937;background:transparent}
.fm-search-box input::placeholder{color:#9ca3af}
.fm-search-box button{background:#10b981;border:0;color:#fff;padding:0 32px;font-size:16px;font-weight:600;cursor:pointer;transition:background .2s}
.fm-search-box button:hover{background:#059669}

/* 主内容 */
.fm-main{max-width:1200px;margin:0 auto;padding:32px 24px 48px}
.fm-section{margin-bottom:40px}
.fm-section-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:20px}
.fm-section-title{font-size:20px;font-weight:700;color:#1f2937;display:flex;align-items:center;gap:10px}
.fm-section-title::before{content:"";width:5px;height:22px;background:linear-gradient(180deg,#10b981,#34d399);border-radius:3px}

/* 分类标签 */
.fm-tags{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:24px}
.fm-tags a{padding:7px 18px;background:#fff;border:1px solid #e5e7eb;border-radius:20px;font-size:13px;color:#6b7280;transition:all .2s}
.fm-tags a:hover{border-color:#10b981;color:#10b981}
.fm-tags a.on{background:#10b981;border-color:#10b981;color:#fff}

/* 视频网格 */
.fm-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:24px;align-items:stretch}
.fm-card{background:#fff;border-radius:14px;overflow:hidden;box-shadow:0 2px 12px rgba(0,0,0,.05);transition:all .3s ease;height:100%;box-sizing:border-box}
.fm-card:hover{transform:translateY(-5px);box-shadow:0 12px 28px rgba(16,185,129,.15)}
.fm-card>a{display:flex;flex-direction:column;height:100%;width:100%;text-decoration:none;color:inherit}
.fm-card-pic{position:relative;width:100%;height:0;padding-top:150%;overflow:hidden;background:#f3f4f6;flex-shrink:0}
.fm-card-pic img{position:absolute;top:0;left:0;width:100%;height:100%;object-fit:cover;display:block;transition:transform .4s ease}
.fm-card:hover .fm-card-pic img{transform:scale(1.05)}
.fm-card-badge{position:absolute;top:10px;left:10px;background:rgba(16,185,129,.92);color:#fff;font-size:12px;font-weight:600;padding:4px 10px;border-radius:8px;z-index:2}
.fm-card-remarks{position:absolute;bottom:0;left:0;right:0;background:linear-gradient(transparent,rgba(0,0,0,.7));color:#fff;font-size:12px;padding:24px 10px 8px;text-align:center;font-weight:500;z-index:1}
.fm-card-body{padding:12px 14px;flex:1;display:flex;flex-direction:column;justify-content:center;min-height:0}
.fm-card-name{font-size:14px;font-weight:600;color:#1f2937;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-align:center;min-height:22px;line-height:22px;margin:0}
.fm-card:hover .fm-card-name{color:#10b981}
.fm-card-meta{font-size:12px;color:#9ca3af;text-align:center;margin-top:4px;min-height:18px;line-height:18px;margin:4px 0 0 0}

/* 详情页 */
.fm-detail-wrap{background:#fff;border-radius:16px;padding:32px;box-shadow:0 2px 16px rgba(0,0,0,.05);margin-bottom:28px}
.fm-detail{display:flex;gap:32px}
.fm-detail-poster{width:220px;flex-shrink:0}
.fm-detail-poster img{width:100%;border-radius:12px;box-shadow:0 8px 24px rgba(0,0,0,.12)}
.fm-play-btn{display:block;margin-top:16px;text-align:center;background:linear-gradient(135deg,#10b981,#34d399);color:#fff;padding:13px;border-radius:12px;font-size:16px;font-weight:600;box-shadow:0 4px 16px rgba(16,185,129,.3);transition:all .2s}
.fm-play-btn:hover{transform:translateY(-2px);box-shadow:0 6px 20px rgba(16,185,129,.4);color:#fff}
.fm-detail-info{flex:1}
.fm-detail-info h1{font-size:28px;color:#1f2937;margin-bottom:18px;font-weight:700}
.fm-meta-list{display:grid;grid-template-columns:1fr 1fr;gap:12px 24px;margin-bottom:18px}
.fm-meta-list li{font-size:14px;color:#6b7280}
.fm-meta-list li strong{color:#374151;font-weight:600;margin-right:8px}
.fm-desc-box{background:#f9fafb;border-radius:12px;padding:20px;color:#4b5563;line-height:1.9;font-size:14px;text-indent:2em}

/* 播放页 */
.fm-player-wrap{background:#000;border-radius:16px;overflow:hidden;margin-bottom:24px;box-shadow:0 8px 30px rgba(0,0,0,.15)}
.fm-player{width:100%;aspect-ratio:16/9}
.fm-player-title{padding:16px 22px;background:#fff;font-size:16px;font-weight:600;color:#1f2937;border-bottom:1px solid #f3f4f6}

/* 播放列表 */
.fm-playlist{background:#fff;border-radius:14px;padding:22px;margin-bottom:24px;box-shadow:0 2px 12px rgba(0,0,0,.05)}
.fm-playlist h3{font-size:16px;color:#10b981;margin-bottom:16px;font-weight:700;padding-bottom:12px;border-bottom:1px solid #f3f4f6}
.fm-playlist-items{display:flex;flex-wrap:wrap;gap:10px;max-height:320px;overflow-y:auto}
.fm-playlist-items a{display:inline-block;padding:8px 16px;background:#f9fafb;border:1px solid #e5e7eb;border-radius:10px;font-size:13px;color:#4b5563;transition:all .2s}
.fm-playlist-items a:hover{border-color:#10b981;color:#10b981;background:#ecfdf5}
.fm-playlist-items a.cur{background:#10b981;border-color:#10b981;color:#fff}

/* 分页 */
.fm-paging{display:flex;justify-content:center;gap:8px;margin-top:36px}
.fm-paging a{padding:9px 18px;background:#fff;border:1px solid #e5e7eb;border-radius:10px;font-size:14px;color:#4b5563;transition:all .2s}
.fm-paging a:hover{border-color:#10b981;color:#10b981}
.fm-paging a.cur{background:#10b981;border-color:#10b981;color:#fff}

/* 底部 */
.fm-footer{background:#fff;border-top:1px solid #eef1f5;padding:36px 24px;margin-top:20px}
.fm-footer-inner{max-width:1200px;margin:0 auto;text-align:center}
.fm-footer-nav{margin-bottom:14px;font-size:13px}
.fm-footer-nav a{color:#6b7280;margin:0 10px}
.fm-footer-nav a:hover{color:#10b981}
.fm-footer-text{color:#9ca3af;font-size:12px;line-height:2}

/* 回到顶部 */
.fm-top{position:fixed;right:28px;bottom:32px;width:46px;height:46px;background:#fff;border:1px solid #e5e7eb;border-radius:50%;color:#10b981;display:flex;align-items:center;justify-content:center;cursor:pointer;font-size:20px;z-index:99;box-shadow:0 4px 16px rgba(0,0,0,.08);transition:all .3s;opacity:0;visibility:hidden}
.fm-top.show{opacity:1;visibility:visible}
.fm-top:hover{background:#10b981;color:#fff;border-color:#10b981}

/* 响应式 */
@media(max-width:1024px){.fm-grid{grid-template-columns:repeat(4,1fr);gap:18px}}
@media(max-width:768px){
  .fm-header-inner{height:58px;padding:0 16px;gap:16px}
  .fm-logo{font-size:20px}
  .fm-nav{display:none}
  .fm-hero{padding:32px 16px}
  .fm-main{padding:20px 16px 36px}
  .fm-grid{grid-template-columns:repeat(3,1fr);gap:14px}
  .fm-detail{flex-direction:column;gap:20px}
  .fm-detail-poster{width:150px;margin:0 auto}
  .fm-detail-wrap{padding:20px}
  .fm-meta-list{grid-template-columns:1fr}
  .fm-section-title{font-size:17px}
}
@media(max-width:480px){.fm-grid{grid-template-columns:repeat(2,1fr)}}

/* ===== 文章模块 ===== */
.fm-crumb{font-size:13px;color:#9ca3af;margin-bottom:20px}
.fm-crumb a{color:#10b981}
.fm-crumb a:hover{color:#059669}
.fm-crumb span{margin:0 8px;color:#d1d5db}
.fm-art-list{background:#fff;border-radius:14px;padding:8px 24px;box-shadow:0 2px 12px rgba(0,0,0,.05)}
.fm-art-item{padding:16px 0;border-bottom:1px solid #f3f4f6}
.fm-art-item:last-child{border-bottom:0}
.fm-art-item-title{display:block;font-size:16px;font-weight:600;color:#1f2937;line-height:1.5}
.fm-art-item-title:hover{color:#10b981}
.fm-art-item-meta{margin-top:6px;font-size:12px;color:#9ca3af}
.fm-art-item-meta a{color:#10b981;margin-right:14px}
.fm-art-item-meta span{margin-left:14px}
.fm-art-more{font-size:14px;color:#10b981}
.fm-art-more:hover{color:#059669}
.fm-art-hlist{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}
.fm-art-hlist a{display:block;padding:12px 16px;background:#f9fafb;border-left:3px solid #10b981;border-radius:8px;font-size:14px;color:#4b5563;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.fm-art-hlist a:hover{color:#10b981;background:#ecfdf5}
.fm-art-meta{font-size:13px;color:#9ca3af;margin-bottom:16px}
.fm-art-content{font-size:15px;color:#374151;line-height:2;text-indent:2em}
.fm-art-content p{margin-bottom:12px}
.fm-art-pn{display:flex;flex-direction:column;gap:10px;margin-top:28px;padding-top:20px;border-top:1px solid #f3f4f6}
.fm-art-pn a{font-size:14px;color:#4b5563}
.fm-art-pn a:hover{color:#10b981}
