/* ==========================================================
   frontseat 体育资讯模板（lifeinthefrontseat.com 专属）
   风格参照：xytyzb.com（深色吸顶导航 + 黄按钮 + 白底板块 + 深色页脚）
   主色：蓝 #0d6efd / 深灰 #212529 / 黄 #ffc107
   ========================================================== */
:root {
    --fs-blue: #0d6efd;
    --fs-blue-dark: #0a58ca;
    --fs-dark: #212529;
    --fs-darker: #16181b;
    --fs-yellow: #ffc107;
    --fs-bg: #f5f6f8;
    --fs-card: #ffffff;
    --fs-border: #ececec;
    --fs-title: #212529;
    --fs-text: #555555;
    --fs-muted: #8a919b;
}

html, body {
    background: var(--fs-bg);
    color: var(--fs-text);
    font-family: "Helvetica Neue", Helvetica, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Arial, sans-serif;
    font-size: 14px;
    line-height: 1.6;
}

a { color: var(--fs-title); text-decoration: none; transition: color .2s; }
a:hover { color: var(--fs-blue); text-decoration: none; }
img { max-width: 100%; }
ul { padding-left: 0; }

.fs-container { max-width: 1200px; margin: 0 auto; padding: 0 15px; }
.fs-container-md { max-width: 1180px; }

/* ---------- 顶部深色导航 ---------- */
.fs-header { z-index: 1030; }
.fs-header .navbar { padding-top: 10px; padding-bottom: 10px; }
.fs-logo-img { max-height: 48px; width: auto; margin-right: 10px; }
.fs-logo-name { color: #fff; font-size: 20px; font-weight: bold; white-space: nowrap; }
.fs-header .navbar-brand:hover .fs-logo-name { color: var(--fs-yellow); }
.fs-header .nav-link { color: rgba(255,255,255,.78); font-size: 15px; padding: 8px 14px; }
.fs-header .nav-link:hover { color: #fff; }
.fs-header .nav-item.active .nav-link { color: #fff; font-weight: bold; position: relative; }
.fs-header .nav-item.active .nav-link::after {
    content: ""; position: absolute; left: 14px; right: 14px; bottom: 2px;
    height: 2px; background: var(--fs-yellow); border-radius: 2px;
}
.fs-btn-reg { font-weight: bold; border-radius: 20px; }
.fs-nav-search { align-items: center; }
.fs-nav-search input { width: 150px; background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.25); color: #fff; }
.fs-nav-search input::placeholder { color: rgba(255,255,255,.5); }
.fs-nav-search input:focus { background: #fff; color: #333; }

/* ---------- Hero 区 ---------- */
.fs-hero {
    background: linear-gradient(135deg, #f8f9fb 0%, #eef2f7 55%, #e6edf6 100%);
    padding: 70px 0;
}
.fs-hero h1 { font-size: 34px; line-height: 1.35; color: var(--fs-title); }
.fs-hero h1 strong { color: var(--fs-blue); }
.fs-hero-img { max-height: 400px; border-radius: 12px; box-shadow: 0 18px 40px rgba(13,110,253,.14); }
.fs-btn-hero {
    display: inline-block; background: linear-gradient(135deg, var(--fs-blue), #3d8bfd);
    color: #fff; font-size: 16px; font-weight: bold;
    padding: 12px 30px; border-radius: 30px;
    box-shadow: 0 8px 22px rgba(13,110,253,.35);
    transition: transform .2s, box-shadow .2s;
}
.fs-btn-hero:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 12px 28px rgba(13,110,253,.45); }

/* ---------- 公司简介 ---------- */
.fs-about { background: #fff; }
.fs-about p { font-size: 15px; line-height: 1.9; }

/* ---------- 数据快照 ---------- */
.fs-stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.fs-stats-item {
    display: flex; align-items: center; gap: 14px;
    background: #fff; border: 1px solid var(--fs-border); border-radius: 10px;
    padding: 22px 18px; box-shadow: 0 2px 10px rgba(0,0,0,.04);
    transition: transform .2s, box-shadow .2s;
}
.fs-stats-item:hover { transform: translateY(-4px); box-shadow: 0 10px 24px rgba(0,0,0,.08); }
.fs-stats-icon {
    width: 56px; height: 56px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    background: rgba(13,110,253,.08); flex-shrink: 0;
}
.fs-stats-data h5 { font-size: 14px; color: var(--fs-title); }
.fs-stats-data .fs-4 { color: var(--fs-title); }

/* ---------- 安全流程 ---------- */
.fs-security { background: #fff; }
.fs-security-step { display: flex; gap: 14px; align-items: flex-start; }
.fs-step-icon {
    width: 46px; height: 46px; border-radius: 10px; flex-shrink: 0;
    display: flex; align-items: center; justify-content: center; font-size: 18px;
}
.fs-security-step h5 { font-size: 16px; color: var(--fs-title); }

/* ---------- 版本更新记录（深色） ---------- */
.fs-update { background: var(--fs-darker); }
.fs-update .accordion-item { background: #22262b; border-color: #32373d; }
.fs-update .accordion-button {
    background: #22262b; color: #e9ecef; font-weight: bold;
    box-shadow: none;
}
.fs-update .accordion-button:not(.collapsed) { background: #2a2f35; color: #fff; }
.fs-update .accordion-button::after { filter: invert(1); }
.fs-update .accordion-body { background: #1b1e22; color: #adb5bd; font-size: 14px; }
.fs-update .accordion-body ul { margin-bottom: 0; padding-left: 20px; list-style: disc; }
.fs-update .accordion-body li { margin-bottom: 6px; }

/* ---------- 品牌使命（深色） ---------- */
.fs-mission { background: linear-gradient(135deg, #14213d 0%, #1a2a52 100%); }
.fs-mission h2 { color: #fff; }
.fs-mission-list li { margin-bottom: 14px; color: #e9ecef; }
.fs-mission-list li strong { color: #fff; }

/* ---------- 推荐热讯 ---------- */
.fs-news { background: var(--fs-bg); }
.fs-news-wrapper { grid-template-columns: 1fr; }
.fs-news-card { background: #fff; transition: transform .2s, box-shadow .2s; }
.fs-news-card:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(0,0,0,.1) !important; }
.fs-news-img-wrap { width: 100%; }
.fs-news-img-wrap a { display: block; }
.fs-news-img-wrap img { width: 100%; height: 220px; object-fit: cover; display: block; }
.fs-news-card h3 a { color: var(--fs-title); }
.fs-news-card h3 a:hover { color: var(--fs-blue); }
@media (min-width: 768px) {
    .fs-news-img-wrap { width: 260px; }
    .fs-news-img-wrap img { height: 100%; min-height: 160px; }
}

/* ---------- 热门标签板块 ---------- */
.fs-tags-sec .fs-box { padding: 18px 20px; }

/* ---------- 通用板块卡片（栏目/搜索/标签页） ---------- */
.fs-main { padding: 20px 0 30px; }
.fs-main .fs-container { display: flex; gap: 15px; align-items: flex-start; }
.fs-main-col { flex: 2.2; min-width: 0; }
.fs-main-side { flex: 1; min-width: 0; }
.fs-box { background: var(--fs-card); border-radius: 6px; margin-bottom: 15px; overflow: hidden; }
.fs-box-head {
    display: flex; align-items: center; justify-content: space-between;
    padding: 0 15px; height: 44px;
    border-bottom: 1px solid var(--fs-border);
    background: #fbfbfb;
}
.fs-box-head h3, .fs-box-head h2 {
    font-size: 16px; font-weight: bold; color: var(--fs-title);
    margin: 0; padding-left: 10px; position: relative; line-height: 44px;
}
.fs-box-head h3::before, .fs-box-head h2::before {
    content: ""; position: absolute; left: 0; top: 13px;
    width: 4px; height: 18px; background: var(--fs-blue); border-radius: 2px;
}
.fs-box-head .fs-more { font-size: 12px; color: var(--fs-muted); }
.fs-box-head .fs-more:hover { color: var(--fs-blue); }
.fs-box-body { padding: 15px; }

/* ---------- 图文列表（左图右文） ---------- */
.fs-news-item { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px dashed var(--fs-border); }
.fs-news-item:last-child { border-bottom: none; padding-bottom: 0; }
.fs-news-item:first-child { padding-top: 0; }
.fs-news-thumb { flex-shrink: 0; width: 168px; height: 108px; border-radius: 6px; overflow: hidden; }
.fs-news-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.fs-news-item:hover .fs-news-thumb img { transform: scale(1.05); }
.fs-news-body { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.fs-news-body h4 { font-size: 16px; margin: 0 0 6px; line-height: 1.4; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fs-news-body h4 a { color: var(--fs-title); }
.fs-news-body h4 a:hover { color: var(--fs-blue); }
.fs-news-desc { font-size: 13px; color: var(--fs-muted); line-height: 1.6; flex: 1; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; margin-bottom: 6px; }
.fs-news-meta { font-size: 12px; color: #aaa; display: flex; align-items: center; gap: 14px; }
.fs-news-meta i { color: var(--fs-blue); margin-right: 3px; font-style: normal; }
.fs-news-meta .fs-readmore { margin-left: auto; color: var(--fs-blue); }

/* ---------- 纯文字列表 ---------- */
.fs-text-list li { line-height: 34px; border-bottom: 1px dashed var(--fs-border); display: flex; align-items: center; list-style: none; }
.fs-text-list li:last-child { border-bottom: none; }
.fs-text-list li::before { content: ""; width: 5px; height: 5px; background: var(--fs-blue); border-radius: 50%; margin-right: 10px; flex-shrink: 0; }
.fs-text-list li a { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--fs-text); }
.fs-text-list li a:hover { color: var(--fs-blue); }
.fs-text-list li time { color: #bbb; font-size: 12px; margin-left: 10px; }

/* ---------- 侧栏排行 ---------- */
.fs-rank-list li { display: flex; align-items: flex-start; gap: 10px; padding: 9px 0; border-bottom: 1px dashed var(--fs-border); list-style: none; }
.fs-rank-list li:last-child { border-bottom: none; }
.fs-rank-num {
    flex-shrink: 0; width: 20px; height: 20px; line-height: 20px;
    text-align: center; font-size: 12px; border-radius: 3px;
    background: #c8ccd2; color: #fff; margin-top: 2px;
}
.fs-rank-list li:nth-child(1) .fs-rank-num { background: var(--fs-blue); }
.fs-rank-list li:nth-child(2) .fs-rank-num { background: #4090ff; }
.fs-rank-list li:nth-child(3) .fs-rank-num { background: #69b1ff; }
.fs-rank-list li a { font-size: 13px; line-height: 1.5; color: var(--fs-text); overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.fs-rank-list li a:hover { color: var(--fs-blue); }

/* ---------- 标签云 ---------- */
.fs-tags { display: flex; flex-wrap: wrap; gap: 8px; padding: 5px; }
.fs-tags a {
    display: inline-block; padding: 4px 12px;
    background: #f2f3f5; color: var(--fs-text);
    border-radius: 14px; font-size: 12px;
}
.fs-tags a:hover { background: var(--fs-blue); color: #fff; }

/* ---------- 面包屑 ---------- */
.breadcrumb { font-size: 13px; margin-bottom: 0; padding: 12px 0; list-style: none; display: flex; flex-wrap: wrap; }
.breadcrumb-item a { color: var(--fs-muted); }
.breadcrumb-item a:hover { color: var(--fs-blue); }
.breadcrumb-item.active { color: var(--fs-blue); }
.breadcrumb-item + .breadcrumb-item::before { content: "/"; padding: 0 8px; color: #ccc; }

/* ---------- 详情页 ---------- */
.fs-detail-title { font-size: 24px; color: var(--fs-title); text-align: center; line-height: 1.5; margin: 10px 0 15px; }
.fs-detail-info {
    text-align: center; font-size: 12px; color: var(--fs-muted);
    border-bottom: 1px solid var(--fs-border); padding-bottom: 14px; margin-bottom: 20px;
}
.fs-detail-info span { margin: 0 8px; }
.fs-detail-info i { color: var(--fs-blue); }
.fs-detail-content { font-size: 15px; line-height: 1.9; color: #444; word-break: break-all; }
.fs-detail-content p { margin-bottom: 16px; }
.fs-detail-content img { max-width: 100%; height: auto; display: block; margin: 10px auto; border-radius: 6px; }
.fs-detail-content h2, .fs-detail-content h3 { font-size: 18px; color: var(--fs-title); margin: 22px 0 12px; padding-left: 10px; border-left: 4px solid var(--fs-blue); }
.fs-detail-tags { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.fs-detail-tags .fs-label { color: var(--fs-muted); font-size: 13px; }
.fs-pn-page { display: flex; gap: 15px; margin-top: 20px; }
.fs-pn-page > div { flex: 1; background: #f7f8f9; border-radius: 6px; padding: 10px 14px; font-size: 13px; }
.fs-pn-page p { margin: 0 0 4px; color: var(--fs-muted); font-size: 12px; }
.fs-pn-page a { color: var(--fs-title); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; display: block; }
.fs-pn-page a:hover { color: var(--fs-blue); }
.fs-widget-title { font-size: 15px; color: var(--fs-title); margin: 25px 0 10px; padding-left: 10px; border-left: 4px solid var(--fs-blue); }
.fs-gallery-img { text-align: center; margin: 10px 0; }
.fs-gallery-img img { max-width: 100%; height: auto; border-radius: 6px; }

/* ---------- 分页 ---------- */
.fs-page { text-align: center; padding: 20px 0 5px; }
.fs-page a, .fs-page span, .fs-page li {
    display: inline-block; margin: 0 4px 8px; padding: 6px 13px;
    border: 1px solid var(--fs-border); border-radius: 4px;
    color: var(--fs-text); font-size: 13px; background: #fff; list-style: none;
}
.fs-page ul { display: inline-block; padding: 0; margin: 0; list-style: none; }
.fs-page ul li { float: left; }
.fs-page a:hover { border-color: var(--fs-blue); color: var(--fs-blue); }
.fs-page .active a, .fs-page span.active, .fs-page li.active a {
    background: var(--fs-blue); border-color: var(--fs-blue); color: #fff;
}

/* ---------- 标签页头部 ---------- */
.fs-tag-header { display: flex; align-items: center; gap: 12px; padding-bottom: 14px; margin-bottom: 6px; border-bottom: 1px solid var(--fs-border); }
.fs-tag-header .fs-tag-icon { width: 44px; height: 44px; border-radius: 8px; background: rgba(13,110,253,.08); color: var(--fs-blue); display: flex; align-items: center; justify-content: center; font-size: 20px; flex-shrink: 0; }
.fs-tag-header h2 { font-size: 20px; margin: 0; color: var(--fs-title); }
.fs-tag-header p { font-size: 12px; color: var(--fs-muted); margin: 2px 0 0; }

/* ---------- 页脚（深色 + 背景图遮罩） ---------- */
.fs-footer {
    position: relative;
    background: url('/public/assets/sports/bg-football-1.jpg') center/cover no-repeat var(--fs-darker);
    margin-top: 10px;
}
.fs-footer-mask { position: absolute; inset: 0; background: rgba(0,0,0,.85); z-index: 1; }
.fs-footer .container { z-index: 2; }
.fs-footer h6 { color: #fff; }
.fs-footer a { color: rgba(255,255,255,.6); }
.fs-footer a:hover { color: #fff; }
.fs-footer-logo { height: 48px; width: auto; }
.fs-friend-list li a { color: rgba(255,255,255,.65); }
.fs-friend-list li a:hover { color: var(--fs-yellow); }

/* ---------- diy 页面（about/app/privacy/terms） ---------- */
.fs-page-hero { background: linear-gradient(135deg, #14213d 0%, #1a2a52 100%); color: #fff; padding: 46px 0 40px; }
.fs-page-hero h1 { font-size: 30px; color: #fff; }
.fs-page-hero p { color: rgba(255,255,255,.7); }
.fs-detail-card { background: #fff; border-radius: 10px; box-shadow: 0 4px 20px rgba(0,0,0,.06); padding: 30px; }
.fs-about-card { background: #fff; border-radius: 10px; box-shadow: 0 4px 20px rgba(0,0,0,.06); padding: 26px 16px; }
.fs-about-num { font-size: 28px; font-weight: bold; color: var(--fs-blue); }
.fs-about-label { color: var(--fs-muted); font-size: 13px; margin-top: 4px; }
.fs-app-card { background: #fff; border-radius: 10px; box-shadow: 0 4px 20px rgba(0,0,0,.06); padding: 26px 20px; height: 100%; }
.fs-app-card .fs-app-icon { width: 58px; height: 58px; border-radius: 14px; background: rgba(13,110,253,.08); color: var(--fs-blue); display: flex; align-items: center; justify-content: center; font-size: 24px; margin: 0 auto 14px; }

/* ---------- 空状态 ---------- */
.fs-empty { text-align: center; padding: 40px 15px; }
.fs-empty p { color: var(--fs-muted); margin: 10px 0; }

/* ---------- 响应式 ---------- */
@media (max-width: 991px) {
    .fs-logo-name { font-size: 16px; }
    .fs-header .navbar-collapse { background: var(--fs-darker); border-radius: 8px; padding: 10px 14px; margin-top: 10px; }
    .fs-header .navbar-nav { margin-bottom: 10px !important; }
    .fs-nav-search { margin-top: 8px; }
    .fs-hero { padding: 40px 0; }
    .fs-hero h1 { font-size: 26px; }
    .fs-hero-img { max-height: 260px; }
    .fs-stats-grid { grid-template-columns: repeat(2, 1fr); }
    .fs-main .fs-container { flex-direction: column; }
    .fs-news-thumb { width: 110px; height: 78px; }
    .fs-news-body h4 { font-size: 14px; white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
    .fs-news-desc { display: none; }
    .fs-detail-title { font-size: 20px; }
    .fs-pn-page { flex-direction: column; }
}
@media (max-width: 575px) {
    .fs-stats-grid { grid-template-columns: 1fr; }
}
