/* ============================================================
   buynsports（模版5）— 体育赛事门户自适应模板
   版式参照 www.buynsel.com，样块顺序 / 配色 / 资讯小样按站点变体差异化
   类名前缀 bs-；配色由 body.theme-{a..e} 的 CSS 变量驱动
   无任何外部框架依赖；图片全部为真实赛事/球场照片
   ============================================================ */
:root {
    --bs-1: #0C7A4D; --bs-2: #1FBF75; --bs-deep: #06301F; --bs-deep2: #0A4A30;
    --bs-accent: #F7B500; --bs-gold: #FFD466;
    --bs-ink: #17241D; --bs-mut: #5E6E66; --bs-line: #E3EAE6;
    --bs-bg: #FFFFFF; --bs-soft: #F3F8F5; --bs-soft2: #E8F3ED;
    --bs-grad: linear-gradient(135deg, var(--bs-1), var(--bs-2));
    --bs-hero-grad: linear-gradient(150deg, var(--bs-deep) 0%, var(--bs-deep2) 55%, var(--bs-1) 120%);
    --bs-r: 16px; --bs-r-s: 10px;
    --bs-sh1: 0 2px 10px rgba(10, 40, 28, .06);
    --bs-sh2: 0 10px 28px rgba(10, 40, 28, .12);
    --bs-sh3: 0 18px 44px rgba(10, 40, 28, .18);
    --bs-ease: cubic-bezier(.22, .68, .36, 1);
}
body.theme-b { --bs-1:#174693; --bs-2:#3E86D6; --bs-deep:#081C3D; --bs-deep2:#0E2E5E; --bs-accent:#F2762E; --bs-gold:#FFB37A; --bs-ink:#111B2B; --bs-mut:#5B6B84; --bs-line:#DFE7F2; --bs-soft:#F2F6FC; --bs-soft2:#E6EFFA; }
body.theme-c { --bs-1:#1F2430; --bs-2:#454F66; --bs-deep:#0B0D13; --bs-deep2:#171B26; --bs-accent:#D9A441; --bs-gold:#EFD9A9; --bs-ink:#15171E; --bs-mut:#6A6F7E; --bs-line:#E4E5EA; --bs-soft:#F5F5F7; --bs-soft2:#EBECF1; }
body.theme-d { --bs-1:#00796B; --bs-2:#26C6DA; --bs-deep:#04262E; --bs-deep2:#08454F; --bs-accent:#EF6C8A; --bs-gold:#FFC4D2; --bs-ink:#0F2226; --bs-mut:#5C7278; --bs-line:#DCE9EB; --bs-soft:#F0F8F9; --bs-soft2:#E2F2F4; }
body.theme-e { --bs-1:#B4432B; --bs-2:#E07A4F; --bs-deep:#33110A; --bs-deep2:#5C2214; --bs-accent:#3E7C68; --bs-gold:#9FD8C4; --bs-ink:#241512; --bs-mut:#7A675F; --bs-line:#EEE0D8; --bs-soft:#FAF4EF; --bs-soft2:#F4E7DD; }

* { margin: 0; padding: 0; box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { font-family: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; color: var(--bs-ink); background: var(--bs-bg); line-height: 1.75; font-size: 16px; overflow-x: hidden; }
a { color: inherit; text-decoration: none; transition: color .25s; }
a:hover { color: var(--bs-1); }
img { max-width: 100%; height: auto; display: block; border: 0; }
ul, ol { list-style: none; }
h1, h2, h3, h4, h5, h6 { line-height: 1.32; font-weight: 700; color: var(--bs-ink); }
button { font-family: inherit; }
.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 18px; }
.muted { color: var(--bs-mut); }
.text-center { text-align: center; }
.ico { display: inline-flex; align-items: center; justify-content: center; line-height: 1; vertical-align: -.15em; }

/* ---------- 按钮 ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1.5px solid transparent; border-radius: var(--bs-r-s); padding: 12px 26px; font-size: 15px; font-weight: 700; cursor: pointer; white-space: nowrap; transition: transform .2s var(--bs-ease), box-shadow .2s, background .2s, color .2s; }
.btn-primary { background: var(--bs-grad); color: #fff; box-shadow: 0 6px 18px rgba(0, 0, 0, .18); }
.btn-primary:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 10px 24px rgba(0, 0, 0, .24); }
.btn-accent { background: var(--bs-accent); color: #2b2000; }
.btn-accent:hover { color: #2b2000; transform: translateY(-2px); }
.btn-outline { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .65); }
.btn-outline:hover { background: #fff; color: var(--bs-1); }
.btn-ghost { background: #fff; color: var(--bs-1); border-color: var(--bs-line); }
.btn-ghost:hover { border-color: var(--bs-1); color: var(--bs-1); }
.btn-glass { background: rgba(255, 255, 255, .14); color: #fff; border-color: rgba(255, 255, 255, .38); backdrop-filter: blur(6px); }
.btn-glass:hover { background: rgba(255, 255, 255, .26); color: #fff; }
.btn-lg { padding: 15px 32px; font-size: 16px; }
.btn-sm { padding: 8px 16px; font-size: 13.5px; }
.btn-block { width: 100%; }

/* ---------- 头部 ---------- */
.site-header { position: sticky; top: 0; z-index: 900; background: rgba(255, 255, 255, .94); backdrop-filter: blur(12px); border-bottom: 1px solid var(--bs-line); box-shadow: 0 2px 12px rgba(10, 40, 28, .06); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 18px; height: 74px; }
.logo { display: flex; align-items: center; gap: 12px; flex: 0 0 auto; }
.logo-mark { width: 46px; height: 46px; border-radius: 13px; background: var(--bs-grad); display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 16px rgba(0, 0, 0, .2); flex: 0 0 auto; }
.logo-mark svg { width: 30px; height: 30px; }
.logo-text { display: flex; flex-direction: column; line-height: 1.15; min-width: 0; }
.logo-text b { font-size: 20px; font-weight: 800; letter-spacing: .5px; background: var(--bs-grad); -webkit-background-clip: text; background-clip: text; color: transparent; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 260px; }
.logo-text em { font-style: normal; font-size: 11.5px; color: var(--bs-mut); letter-spacing: 2.5px; white-space: nowrap; }
.nav-links { display: flex; align-items: center; gap: 2px; }
.nav-link { display: block; padding: 9px 15px; font-size: 15px; font-weight: 500; color: #33403a; border-radius: var(--bs-r-s); white-space: nowrap; }
.nav-link:hover { color: var(--bs-1); background: var(--bs-soft); }
.nav-link.is-active { color: var(--bs-1); font-weight: 700; background: var(--bs-soft2); }
.header-tools { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.search-box { display: flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--bs-line); border-radius: 999px; padding: 7px 14px; transition: border .2s, box-shadow .2s; }
.search-box:focus-within { border-color: var(--bs-2); box-shadow: 0 0 0 3px var(--bs-soft2); }
.search-box input { width: 140px; border: 0; outline: 0; background: transparent; font-size: 14px; }
.search-box kbd { font-size: 11px; color: var(--bs-mut); border: 1px solid var(--bs-line); border-radius: 5px; padding: 0 6px; background: var(--bs-soft); }
.icon-btn { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--bs-line); background: #fff; display: flex; align-items: center; justify-content: center; cursor: pointer; color: var(--bs-ink); transition: .2s; flex: 0 0 auto; }
.icon-btn:hover { border-color: var(--bs-1); color: var(--bs-1); }
.nav-toggle { display: none; }
.tool-divider { width: 1px; height: 22px; background: var(--bs-line); }

/* ---------- 移动端抽屉 ---------- */
.drawer { position: fixed; inset: 0; z-index: 999; visibility: hidden; opacity: 0; transition: .3s; }
.drawer.is-open { visibility: visible; opacity: 1; }
.drawer-panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(320px, 86vw); background: #fff; box-shadow: var(--bs-sh3); transform: translateX(100%); transition: transform .32s var(--bs-ease); display: flex; flex-direction: column; }
.drawer.is-open .drawer-panel { transform: translateX(0); }
.drawer-top { display: flex; align-items: center; justify-content: space-between; padding: 18px; border-bottom: 1px solid var(--bs-line); }
.drawer nav { padding: 10px 8px; overflow-y: auto; flex: 1; }
.drawer nav a { display: block; padding: 13px 16px; border-radius: var(--bs-r-s); font-size: 15.5px; font-weight: 600; color: #2c3a33; }
.drawer nav a:active, .drawer nav a:hover { background: var(--bs-soft); color: var(--bs-1); }
.drawer-foot { padding: 16px 18px 26px; border-top: 1px solid var(--bs-line); }
.drawer-note { font-size: 12px; color: var(--bs-mut); margin-top: 10px; }
.drawer-backdrop { position: absolute; inset: 0; background: rgba(8, 24, 17, .45); border: 0; width: 100%; }
.drawer .drawer-close { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--bs-line); background: transparent; cursor: pointer; color: var(--bs-ink); display: flex; align-items: center; justify-content: center; }

/* ---------- 移动端底部功能条 ---------- */
.mbar { display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 880; background: rgba(255, 255, 255, .97); backdrop-filter: blur(10px); border-top: 1px solid var(--bs-line); padding: 6px 8px calc(6px + env(safe-area-inset-bottom)); }
.mbar-inner { display: grid; grid-template-columns: repeat(4, 1fr); }
.mbar a { display: flex; flex-direction: column; align-items: center; gap: 2px; font-size: 11.5px; color: #4a5751; padding: 4px 0; border-radius: 10px; }
.mbar a.is-active { color: var(--bs-1); font-weight: 700; }

/* ---------- 首页样块容器（flex order 驱动变体重排） ---------- */
.bs-feed { display: flex; flex-direction: column; }
.sec { padding: 74px 0; position: relative; }
.sec-alt { background: var(--bs-soft); }
.sec-head { text-align: center; max-width: 780px; margin: 0 auto 44px; }
.sec-head .eyebrow { display: inline-block; color: var(--bs-1); font-weight: 800; font-size: 13px; letter-spacing: 2.5px; margin-bottom: 10px; text-transform: uppercase; }
.sec-head h2 { font-size: 31px; margin-bottom: 12px; }
.sec-head p { color: var(--bs-mut); font-size: 16px; }
.sec-head.left { text-align: left; margin-left: 0; }

/* ---------- Hero ---------- */
.hero { background: linear-gradient(135deg, #380036 0%, #0CBABA 100%); color: #fff; padding: 100px 0 80px; position: relative; overflow: hidden; }
.hero::after { content: ""; position: absolute; right: -140px; top: -140px; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 255, 255, .14), transparent 65%); }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; position: relative; z-index: 2; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(255, 255, 255, .13); border: 1px solid rgba(255, 255, 255, .25); border-radius: 999px; padding: 7px 16px; font-size: 13.5px; margin-bottom: 20px; }
.hero h1 { font-size: 40px; color: #fff; line-height: 1.24; margin-bottom: 14px; }
.hero h1 .hl { color: #FFC107; }
.hero-slogan { font-size: 18px; color: rgba(255, 255, 255, .92); font-weight: 600; margin-bottom: 10px; }
.hero-desc { color: rgba(255, 255, 255, .74); font-size: 15px; margin-bottom: 26px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 34px; }
.hero-stats { display: flex; gap: 38px; flex-wrap: wrap; }
.hs-num { font-size: 26px; font-weight: 800; color: #FFC107; }
.hs-lab { font-size: 13px; color: rgba(255, 255, 255, .72); }
.hero-media { position: relative; }
.hero-figure { border-radius: 20px; overflow: hidden; box-shadow: 0 30px 60px rgba(0, 0, 0, .3); }
.hero-figure img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; display: block; }
.hero .btn-accent { background: #FF6A00; color: #fff; box-shadow: 0 4px 14px rgba(255, 106, 0, .4); }
.hero .btn-accent:hover { background: #ff7d1f; color: #fff; }
.hero .btn-outline { background: transparent; color: #fff; border-color: #fff; }
.hero .btn-outline:hover { background: #fff; color: #380036; }
.float-card { position: absolute; left: -22px; bottom: -22px; max-width: 258px; background: #fff; color: var(--bs-ink); border-radius: 16px; box-shadow: var(--bs-sh3); padding: 15px 18px; }
.float-card b { display: block; font-size: 15px; margin-bottom: 3px; }
.float-card span { font-size: 12.5px; color: var(--bs-mut); line-height: 1.55; display: block; }
.hero-facts { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 26px; }
.hero-facts .fact { background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .22); border-radius: 10px; padding: 6px 14px; font-size: 13px; color: #fff; }

/* ---------- About + 特色卡 ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 48px; align-items: center; margin-bottom: 54px; }
.about-media { border-radius: 22px; overflow: hidden; box-shadow: var(--bs-sh2); }
.about-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.about-text p { color: var(--bs-mut); margin-bottom: 14px; font-size: 15.5px; }
.about-text strong { color: var(--bs-ink); }
.about-tags { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }
.about-tags span { background: var(--bs-soft2); color: var(--bs-1); border-radius: 999px; padding: 6px 16px; font-size: 13.5px; font-weight: 600; }
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.feature-card { background: #fff; border: 1px solid var(--bs-line); border-radius: var(--bs-r); padding: 26px 22px; box-shadow: var(--bs-sh1); transition: transform .25s var(--bs-ease), box-shadow .25s; }
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--bs-sh2); }
.feature-card h4 { font-size: 17px; margin-bottom: 8px; }
.feature-card p { font-size: 14px; color: var(--bs-mut); }
.card-icon { width: 54px; height: 54px; border-radius: 16px; background: var(--bs-grad); display: flex; align-items: center; justify-content: center; color: #fff; margin-bottom: 16px; box-shadow: 0 8px 18px rgba(0, 0, 0, .16); }
.card-icon svg { width: 26px; height: 26px; }

/* ---------- 深色信赖区 ---------- */
.sec-dark { background: var(--bs-hero-grad); color: #fff; }
.sec-dark .sec-head h2, .sec-dark h4 { color: #fff; }
.sec-dark .sec-head p, .sec-dark .trust-card p { color: rgba(255, 255, 255, .72); }
.sec-dark .eyebrow { color: var(--bs-gold); }
.trust-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.trust-card { background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .16); border-radius: var(--bs-r); padding: 26px 20px; transition: .25s; }
.trust-card:hover { background: rgba(255, 255, 255, .13); transform: translateY(-5px); }
.trust-card .card-icon { background: rgba(255, 255, 255, .14); box-shadow: none; }
.trust-card h4 { font-size: 16.5px; margin-bottom: 8px; }
.trust-card p { font-size: 13.5px; }

/* ---------- 服务卡（图样块） ---------- */
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.service-card { background: #fff; border: 1px solid var(--bs-line); border-radius: var(--bs-r); overflow: hidden; box-shadow: var(--bs-sh1); display: flex; flex-direction: column; transition: transform .25s var(--bs-ease), box-shadow .25s; }
.service-card:hover { transform: translateY(-6px); box-shadow: var(--bs-sh2); }
.svc-thumb img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.svc-body { padding: 20px 22px 24px; }
.svc-body h4 { font-size: 17px; margin-bottom: 8px; display: flex; align-items: center; gap: 8px; }
.svc-body p { font-size: 14px; color: var(--bs-mut); margin-bottom: 12px; }
.svc-link { font-size: 13.5px; font-weight: 700; color: var(--bs-1); display: inline-flex; align-items: center; gap: 6px; }

/* ---------- 资讯小样（三种版式随变体切换） ---------- */
.news-head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; margin-bottom: 28px; flex-wrap: wrap; }
.news-head-row h2 { font-size: 26px; }
.news-head-row .sub { color: var(--bs-mut); font-size: 14.5px; margin-top: 4px; }
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.news-card { background: #fff; border: 1px solid var(--bs-line); border-radius: var(--bs-r); overflow: hidden; box-shadow: var(--bs-sh1); display: flex; flex-direction: column; transition: transform .22s, box-shadow .22s; }
.news-card:hover { transform: translateY(-5px); box-shadow: var(--bs-sh2); }
.news-cover img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.news-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 7px; flex: 1; }
.news-chip { align-self: flex-start; background: var(--bs-soft2); color: var(--bs-1); font-size: 12px; font-weight: 700; border-radius: 999px; padding: 2px 12px; }
.news-body h3 { font-size: 16.5px; line-height: 1.5; }
.news-sum { font-size: 13.5px; color: var(--bs-mut); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.news-time { font-size: 12.5px; color: var(--bs-mut); margin-top: auto; display: flex; align-items: center; gap: 6px; }
.news-empty { background: #fff; border: 1.5px dashed var(--bs-line); border-radius: var(--bs-r); padding: 46px; text-align: center; color: var(--bs-mut); }

/* ---------- 安全/承诺 ---------- */
.security-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.sec-card { background: #fff; border: 1px solid var(--bs-line); border-radius: var(--bs-r); padding: 28px 24px; box-shadow: var(--bs-sh1); }
.sec-card h4 { font-size: 17.5px; margin-bottom: 8px; }
.sec-card p { font-size: 14px; color: var(--bs-mut); margin-bottom: 14px; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chips span { background: var(--bs-soft); border: 1px solid var(--bs-line); border-radius: 7px; padding: 3px 11px; font-size: 12.5px; color: #46554d; }

/* ---------- 更新日志时间轴 ---------- */
.timeline { position: relative; max-width: 860px; margin: 0 auto; padding-left: 30px; }
.timeline::before { content: ""; position: absolute; left: 8px; top: 6px; bottom: 6px; width: 2px; background: linear-gradient(var(--bs-2), var(--bs-1)); opacity: .35; }
.tl-item { position: relative; padding: 0 0 34px 26px; }
.tl-item::before { content: ""; position: absolute; left: -29px; top: 6px; width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 4px solid var(--bs-1); }
.tl-date { display: inline-block; background: var(--bs-soft2); color: var(--bs-1); font-weight: 700; font-size: 13px; border-radius: 999px; padding: 3px 14px; margin-bottom: 10px; }
.tl-item h4 { font-size: 18px; margin-bottom: 8px; }
.tl-item li { font-size: 14.5px; color: var(--bs-mut); padding-left: 20px; position: relative; margin-bottom: 4px; }
.tl-item li::before { content: ""; position: absolute; left: 4px; top: 11px; width: 7px; height: 7px; border-radius: 50%; background: var(--bs-2); }

/* ---------- 口碑 ---------- */
.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.review-card { background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .18); border-radius: var(--bs-r); padding: 24px; }
.review-card .quote { color: #fff; font-size: 14.5px; line-height: 1.8; margin-bottom: 18px; }
.review-card .quote::before { content: "“"; color: var(--bs-gold); font-size: 26px; line-height: 0; vertical-align: -6px; margin-right: 2px; }
.reviewer { display: flex; align-items: center; gap: 10px; }
.r-ava { width: 42px; height: 42px; border-radius: 50%; background: var(--bs-grad); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 16px; flex: 0 0 auto; border: 2px solid rgba(255, 255, 255, .4); }
.r-name { color: #fff; font-weight: 700; font-size: 14.5px; }
.r-loc { color: rgba(255, 255, 255, .6); font-size: 12.5px; }
.r-stars { margin-left: auto; color: var(--bs-gold); font-size: 13px; letter-spacing: 2px; }

/* ---------- App / CTA ---------- */
.appdl-band { background: var(--bs-hero-grad); border-radius: 26px; padding: 52px; color: #fff; display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; position: relative; overflow: hidden; }
.appdl-band::before { content: ""; position: absolute; inset: 0; background: url('../images/hero-worldcup.jpg') center/cover; opacity: .16; }
.appdl-inner { position: relative; z-index: 2; }
.appdl-band h2 { color: #fff; font-size: 28px; margin-bottom: 12px; }
.appdl-band p { color: rgba(255, 255, 255, .78); font-size: 15px; margin-bottom: 22px; }
.appdl-meta { display: flex; gap: 34px; margin-bottom: 26px; flex-wrap: wrap; }
.am-num { font-size: 24px; font-weight: 800; color: var(--bs-gold); }
.am-lab { font-size: 12.5px; color: rgba(255, 255, 255, .7); }
.appdl-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.appdl-media { position: relative; z-index: 2; }
.appdl-media img { border-radius: 20px; width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover; border: 5px solid rgba(255, 255, 255, .18); box-shadow: var(--bs-sh3); }
.cta-band { background: var(--bs-grad); border-radius: 26px; padding: 56px 44px; text-align: center; color: #fff; position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; inset: 0; background: url('../images/cta-celebration.jpg') center/cover; opacity: .18; }
.cta-band > * { position: relative; z-index: 2; }
.cta-band h2 { color: #fff; font-size: 28px; margin-bottom: 10px; }
.cta-band p { color: rgba(255, 255, 255, .85); margin-bottom: 26px; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; margin: 0 auto; }
.faq-item { background: #fff; border: 1px solid var(--bs-line); border-radius: 14px; margin-bottom: 12px; overflow: hidden; transition: box-shadow .2s; }
.faq-item.is-open { box-shadow: var(--bs-sh1); }
.faq-q { display: flex; align-items: center; justify-content: space-between; gap: 14px; width: 100%; text-align: left; padding: 17px 22px; background: transparent; border: 0; cursor: pointer; font-size: 16px; font-weight: 700; color: var(--bs-ink); }
.faq-icon { font-size: 20px; color: var(--bs-1); transition: transform .25s; line-height: 1; }
.faq-item.is-open .faq-icon { transform: rotate(45deg); }
.faq-body { max-height: 0; overflow: hidden; transition: max-height .3s var(--bs-ease); }
.faq-body-inner { padding: 0 22px 18px; font-size: 14.5px; color: var(--bs-mut); }

/* ---------- 页脚 ---------- */
.site-footer { background: #0B1512; color: #9FB0A8; padding: 58px 0 0; font-size: 14px; }
body.theme-c .site-footer { background: #0B0D13; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 34px; padding-bottom: 38px; }
.footer-brand .fb-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.footer-brand .fb-logo .logo-mark { width: 38px; height: 38px; border-radius: 11px; }
.footer-brand .fb-logo .logo-mark svg { width: 24px; height: 24px; }
.footer-brand .fb-logo span { font-size: 19px; font-weight: 800; color: #fff; }
.footer-brand p { line-height: 1.85; }
.footer-col h4 { color: #fff; font-size: 15.5px; margin-bottom: 16px; display: flex; align-items: center; gap: 8px; }
.flist li { margin-bottom: 10px; }
.flist a { color: #9FB0A8; }
.flist a:hover { color: var(--bs-2); }
.footer-links { border-top: 1px solid rgba(255, 255, 255, .09); padding: 18px 0; display: flex; gap: 22px; flex-wrap: wrap; }
.footer-links a { color: #C5D2CC; font-size: 13.5px; }
.footer-links a:hover { color: var(--bs-2); }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .09); padding: 18px 0 26px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 13px; }
.footer-bottom a { color: #C5D2CC; }
.friend-link { border-top: 1px solid rgba(255, 255, 255, .09); padding: 14px 0 0; }
.friend-link ul { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.friend-link li, .friend-link a { color: #7E9088; font-size: 13px; }

/* ---------- 内页通用 ---------- */
.page-hero { background: var(--bs-hero-grad); color: #fff; padding: 52px 0 46px; position: relative; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; inset: 0; background: url('../images/tag-field.jpg') center/cover; opacity: .14; }
.page-hero .wrap { position: relative; z-index: 2; }
.page-hero h1 { color: #fff; font-size: 30px; margin-top: 8px; }
.page-hero .sub { color: rgba(255, 255, 255, .75); margin-top: 8px; font-size: 14.5px; }
.crumb { font-size: 13.5px; color: rgba(255, 255, 255, .72); }
.crumb a { color: rgba(255, 255, 255, .85); }
.crumb a:hover { color: #fff; }
.breadcrumb-nav { background: #fff; border-bottom: 1px solid var(--bs-line); padding: 12px 0; font-size: 13.5px; color: var(--bs-mut); }
.breadcrumb-nav ul { display: flex; gap: 8px; flex-wrap: wrap; }
.breadcrumb-nav li + li::before { content: "/"; margin-right: 8px; color: #C7D2CC; }
.nav-scroll { display: flex; gap: 10px; overflow-x: auto; padding: 18px 0 6px; scrollbar-width: none; }
.nav-scroll::-webkit-scrollbar { display: none; }
.nav-scroll a { flex: 0 0 auto; border: 1px solid var(--bs-line); background: #fff; border-radius: 999px; padding: 7px 20px; font-size: 14px; color: #41504a; font-weight: 600; transition: .2s; }
.nav-scroll a:hover, .nav-scroll a.on { background: var(--bs-grad); border-color: transparent; color: #fff; }
.pager { display: flex; gap: 8px; justify-content: center; margin-top: 34px; flex-wrap: wrap; }
.pager a, .pager span { border: 1px solid var(--bs-line); background: #fff; border-radius: 9px; padding: 7px 15px; font-size: 14px; color: var(--bs-mut); }
.pager .active, .pager .current, .pager a:hover { background: var(--bs-grad); border-color: transparent; color: #fff; }

/* ---------- 分类页两栏 ---------- */
.cat-layout { display: grid; grid-template-columns: 1fr 320px; gap: 30px; align-items: start; }
.side-card { background: #fff; border: 1px solid var(--bs-line); border-radius: var(--bs-r); padding: 20px 22px; box-shadow: var(--bs-sh1); margin-bottom: 20px; }
.side-card h4 { font-size: 16.5px; margin-bottom: 16px; display: flex; align-items: center; gap: 8px; }
.side-list li + li { margin-top: 12px; }
.side-list a { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; line-height: 1.6; }
.side-list .idx { flex: 0 0 auto; width: 22px; height: 22px; border-radius: 7px; background: var(--bs-soft2); color: var(--bs-1); font-size: 12px; font-weight: 800; display: flex; align-items: center; justify-content: center; margin-top: 2px; }
.side-list li:nth-child(-n+3) .idx { background: var(--bs-grad); color: #fff; }
.tag-cloud { display: flex; flex-wrap: wrap; gap: 9px; }
.tag-cloud a { border: 1px solid var(--bs-line); border-radius: 999px; padding: 5px 15px; font-size: 13px; color: var(--bs-mut); background: #fff; transition: .2s; }
.tag-cloud a:hover { border-color: var(--bs-1); color: var(--bs-1); background: var(--bs-soft); }
.side-cta { background: var(--bs-hero-grad); border: 0; color: #fff; text-align: center; }
.side-cta h4 { color: #fff; justify-content: center; }
.side-cta p { font-size: 13px; color: rgba(255, 255, 255, .75); margin-bottom: 14px; }

/* ---------- 文章详情 ---------- */
.art-layout { display: grid; grid-template-columns: 1fr 320px; gap: 30px; align-items: start; }
.article-head-card { background: #fff; border: 1px solid var(--bs-line); border-radius: var(--bs-r); box-shadow: var(--bs-sh1); padding: 30px 32px; margin-bottom: 22px; }
.article-head-card h1 { font-size: 27px; line-height: 1.4; margin-bottom: 14px; }
.detail-meta { display: flex; gap: 20px; flex-wrap: wrap; font-size: 13.5px; color: var(--bs-mut); }
.article-body-card { background: #fff; border: 1px solid var(--bs-line); border-radius: var(--bs-r); box-shadow: var(--bs-sh1); padding: 32px 34px; }
.article-body { font-size: 16.5px; line-height: 2; color: #253129; word-break: break-word; }
.article-body p { margin-bottom: 16px; }
.article-body img { max-width: 100%; height: auto; border-radius: 14px; margin: 12px auto; box-shadow: var(--bs-sh1); }
.article-body h2, .article-body h3, .article-body h4 { margin: 26px 0 12px; }
.article-body h3 { padding-left: 12px; border-left: 4px solid var(--bs-2); }
.article-body ul, .article-body ol { padding-left: 24px; margin-bottom: 16px; }
.article-body ul li { list-style: disc; }
.article-body ol li { list-style: decimal; }
.article-body blockquote { border-left: 4px solid var(--bs-2); background: var(--bs-soft); padding: 14px 18px; border-radius: 0 12px 12px 0; margin-bottom: 16px; color: var(--bs-mut); }
.article-body table { width: 100%; border-collapse: collapse; margin-bottom: 16px; }
.article-body td, .article-body th { border: 1px solid var(--bs-line); padding: 8px 12px; font-size: 14px; }
.article-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 26px; }
.article-nav .nav-cell { background: var(--bs-soft); border: 1px solid var(--bs-line); border-radius: 12px; padding: 14px 18px; }
.article-nav p { font-size: 12.5px; color: var(--bs-mut); margin-bottom: 4px; }
.article-nav a { font-size: 14px; font-weight: 600; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.related-section { margin-top: 26px; background: #fff; border: 1px solid var(--bs-line); border-radius: var(--bs-r); box-shadow: var(--bs-sh1); padding: 26px 28px; }
.related-section h3 { font-size: 19px; margin-bottom: 18px; }
.related-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.related-card .thumb { border-radius: 12px; overflow: hidden; display: block; }
.related-card .thumb img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.related-card h4 { font-size: 14px; margin: 10px 0 4px; line-height: 1.55; font-weight: 600; }
.related-card .date { font-size: 12px; color: var(--bs-mut); }

/* ---------- 标签页 ---------- */
.tag-hero { display: flex; align-items: center; gap: 16px; background: #fff; border: 1px solid var(--bs-line); border-radius: var(--bs-r); box-shadow: var(--bs-sh1); padding: 22px 26px; margin-bottom: 24px; }
.tag-hero .t-ico { width: 56px; height: 56px; border-radius: 16px; background: var(--bs-grad); color: #fff; display: flex; align-items: center; justify-content: center; flex: 0 0 auto; }
.tag-hero h1 { font-size: 24px; }
.tag-hero p { color: var(--bs-mut); font-size: 14px; }
.tag-wall { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.tag-cell { background: #fff; border: 1px solid var(--bs-line); border-radius: var(--bs-r); padding: 18px 20px; box-shadow: var(--bs-sh1); display: flex; align-items: center; justify-content: space-between; gap: 10px; transition: .2s; }
.tag-cell:hover { border-color: var(--bs-2); transform: translateY(-3px); box-shadow: var(--bs-sh2); }
.tag-cell b { font-size: 15.5px; }
.tag-cell span { font-size: 12px; color: var(--bs-mut); background: var(--bs-soft); border-radius: 999px; padding: 2px 10px; }

/* ---------- 登录/注册/个人中心 ---------- */
.auth-wrap { max-width: 470px; margin: 54px auto; background: #fff; border: 1px solid var(--bs-line); border-radius: 22px; padding: 38px 34px; box-shadow: var(--bs-sh2); }
.auth-wrap h1 { font-size: 23px; text-align: center; margin-bottom: 6px; }
.auth-wrap .sub { text-align: center; color: var(--bs-mut); font-size: 14px; margin-bottom: 24px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 13.5px; font-weight: 700; margin-bottom: 7px; color: #34423b; }
.field input, .field textarea { width: 100%; border: 1.5px solid var(--bs-line); border-radius: 11px; padding: 11px 14px; font-size: 14.5px; outline: 0; background: var(--bs-bg); transition: .2s; font-family: inherit; }
.field input:focus, .field textarea:focus { border-color: var(--bs-2); box-shadow: 0 0 0 3px var(--bs-soft2); background: #fff; }
.cap-row { display: flex; gap: 10px; align-items: center; }
.cap-row input { flex: 1; }
.cap-row img { height: 44px; width: 120px; border-radius: 10px; border: 1px solid var(--bs-line); cursor: pointer; object-fit: cover; }
.auth-alert { padding: 12px 14px; border-radius: 10px; font-size: 14px; margin-bottom: 14px; display: none; }
.auth-alert.ok { display: block; background: var(--bs-soft2); color: var(--bs-1); }
.auth-alert.no { display: block; background: #FDECEC; color: #D64545; }
.auth-alt { text-align: center; margin-top: 16px; font-size: 14px; color: var(--bs-mut); }
.auth-alt a { color: var(--bs-1); font-weight: 700; }
.acct-head { display: flex; align-items: center; gap: 18px; background: var(--bs-hero-grad); color: #fff; border-radius: 22px; padding: 30px; box-shadow: var(--bs-sh2); flex-wrap: wrap; }
.acct-head .ava { width: 72px; height: 72px; border-radius: 50%; background: rgba(255, 255, 255, .2); display: flex; align-items: center; justify-content: center; font-size: 30px; font-weight: 800; }
.acct-head h1 { color: #fff; font-size: 22px; }
.acct-head p { opacity: .85; font-size: 14px; }
.acct-head .btn { margin-left: auto; background: #fff; color: var(--bs-1); }
.acct-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 22px; }
.acct-grid .cell { background: #fff; border: 1px solid var(--bs-line); border-radius: 16px; padding: 18px 20px; }
.acct-grid .cell span { color: var(--bs-mut); font-size: 13px; display: block; margin-bottom: 6px; }
.acct-grid .cell b { font-size: 16px; }

/* ---------- 404 / 提示页 ---------- */
.err-page { text-align: center; padding: 70px 0; }
.err-code { font-size: 110px; font-weight: 900; line-height: 1; background: var(--bs-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- 回到顶部 ---------- */
.gotop { position: fixed; right: 22px; bottom: 90px; z-index: 850; width: 44px; height: 44px; border-radius: 14px; border: 0; background: var(--bs-grad); color: #fff; cursor: pointer; box-shadow: var(--bs-sh2); opacity: 0; transform: translateY(14px); pointer-events: none; transition: .3s; display: flex; align-items: center; justify-content: center; }
.gotop.is-show { opacity: 1; transform: translateY(0); pointer-events: auto; }

/* ---------- 滚动入场 ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .6s var(--bs-ease), transform .6s var(--bs-ease); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } html { scroll-behavior: auto; } }

/* ---------- 版式变体：首页样块顺序（小样块位置随站点变体移动） ---------- */
.theme-a .o-hero { order: 0; } .theme-b .o-hero { order: 0; } .theme-c .o-hero { order: 0; } .theme-d .o-hero { order: 0; } .theme-e .o-hero { order: 0; }
.theme-a .o-about { order: 1; } .theme-a .o-trust { order: 2; } .theme-a .o-services { order: 3; } .theme-a .o-news { order: 4; } .theme-a .o-security { order: 5; } .theme-a .o-changelog { order: 6; } .theme-a .o-reviews { order: 7; } .theme-a .o-app { order: 8; } .theme-a .o-faq { order: 9; } .theme-a .o-cta { order: 10; }
.theme-b .o-services { order: 1; } .theme-b .o-news { order: 2; } .theme-b .o-about { order: 3; } .theme-b .o-trust { order: 4; } .theme-b .o-reviews { order: 5; } .theme-b .o-security { order: 6; } .theme-b .o-app { order: 7; } .theme-b .o-changelog { order: 8; } .theme-b .o-faq { order: 9; } .theme-b .o-cta { order: 10; }
.theme-c .o-news { order: 1; } .theme-c .o-services { order: 2; } .theme-c .o-trust { order: 3; } .theme-c .o-changelog { order: 4; } .theme-c .o-about { order: 5; } .theme-c .o-security { order: 6; } .theme-c .o-faq { order: 7; } .theme-c .o-reviews { order: 8; } .theme-c .o-app { order: 9; } .theme-c .o-cta { order: 10; }
.theme-d .o-trust { order: 1; } .theme-d .o-about { order: 2; } .theme-d .o-news { order: 3; } .theme-d .o-services { order: 4; } .theme-d .o-app { order: 5; } .theme-d .o-reviews { order: 6; } .theme-d .o-changelog { order: 7; } .theme-d .o-security { order: 8; } .theme-d .o-faq { order: 9; } .theme-d .o-cta { order: 10; }
.theme-e .o-services { order: 1; } .theme-e .o-security { order: 2; } .theme-e .o-about { order: 3; } .theme-e .o-news { order: 4; } .theme-e .o-changelog { order: 5; } .theme-e .o-trust { order: 6; } .theme-e .o-faq { order: 7; } .theme-e .o-app { order: 8; } .theme-e .o-reviews { order: 9; } .theme-e .o-cta { order: 10; }

/* ---------- 版式变体：资讯小样（杂志 / 列表 / 双列） ---------- */
.theme-a .news-grid { grid-template-columns: repeat(3, 1fr); }
.theme-b .news-grid { grid-template-columns: repeat(2, 1fr); }
.theme-b .news-grid > .news-card:first-child { grid-column: 1 / -1; flex-direction: row; }
.theme-b .news-grid > .news-card:first-child .news-cover { flex: 0 0 52%; }
.theme-b .news-grid > .news-card:first-child .news-cover img { height: 100%; aspect-ratio: auto; min-height: 260px; }
.theme-c .news-grid { grid-template-columns: 1fr; }
.theme-c .news-card { flex-direction: row; }
.theme-c .news-cover { flex: 0 0 218px; }
.theme-c .news-cover img { height: 100%; min-height: 132px; aspect-ratio: auto; }
.theme-d .news-grid { grid-template-columns: repeat(3, 1fr); }
.theme-d .news-grid > .news-card:nth-child(1), .theme-d .news-grid > .news-card:nth-child(2) { grid-column: span 2; }
.theme-d .news-card { flex-direction: row; }
.theme-d .news-cover { flex: 0 0 40%; }
.theme-d .news-cover img { height: 100%; aspect-ratio: auto; min-height: 170px; }
.theme-e .news-grid { grid-template-columns: repeat(2, 1fr); }
.theme-e .news-card .news-cover img { aspect-ratio: 4 / 3; }

/* ---------- 版式变体：服务小样（三列 / 两列大卡 / 首卡横贯） ---------- */
.theme-b .service-grid { grid-template-columns: repeat(2, 1fr); }
.theme-c .service-grid { grid-template-columns: repeat(2, 1fr); }
.theme-d .service-grid > .service-card:first-child { grid-column: 1 / -1; flex-direction: row; }
.theme-d .service-grid > .service-card:first-child .svc-thumb { flex: 0 0 46%; }
.theme-d .service-grid > .service-card:first-child .svc-thumb img { height: 100%; aspect-ratio: auto; min-height: 280px; }
.theme-e .trust-grid { grid-template-columns: repeat(3, 1fr); }

/* ---------- 版式变体：区块形状差异 ---------- */
.theme-c { --bs-r: 6px; --bs-r-s: 4px; }
.theme-c .card-icon { border-radius: 8px; }
.theme-c .sec-head h2 { letter-spacing: 1px; }
.theme-d { --bs-r: 24px; }
.theme-d .news-chip { border-radius: 6px; }
.theme-e { --bs-r: 14px; }
.theme-e .hero { padding: 64px 0 74px; }
.theme-e .btn { border-radius: 999px; }

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
    .hero-grid { grid-template-columns: 1fr; gap: 40px; }
    .hero h1 { font-size: 32px; }
    .about-grid { grid-template-columns: 1fr; }
    .feature-grid, .trust-grid { grid-template-columns: repeat(2, 1fr); }
    .service-grid, .news-grid, .security-grid, .review-grid { grid-template-columns: repeat(2, 1fr); }
    .related-grid { grid-template-columns: repeat(2, 1fr); }
    .cat-layout, .art-layout { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .appdl-band { grid-template-columns: 1fr; padding: 40px 30px; }
    .tag-wall { grid-template-columns: repeat(3, 1fr); }
    .nav-links, .search-box, .tool-divider { display: none; }
    .nav-toggle { display: flex; }
}
@media (max-width: 640px) {
    .sec { padding: 52px 0; }
    .sec-head h2 { font-size: 24px; }
    .hero { padding: 56px 0 66px; }
    .hero h1 { font-size: 26px; }
    .hero-stats { gap: 22px; }
    .hs-num { font-size: 21px; }
    .float-card { position: static; max-width: none; margin-top: 14px; }
    .feature-grid, .trust-grid, .service-grid, .news-grid, .security-grid, .review-grid, .related-grid, .tag-wall { grid-template-columns: 1fr; }
    .theme-b .news-grid > .news-card:first-child, .theme-c .news-card, .theme-d .news-card, .theme-d .service-grid > .service-card:first-child { flex-direction: column; }
    .theme-b .news-grid > .news-card:first-child .news-cover, .theme-c .news-cover, .theme-d .news-cover, .theme-d .service-grid > .service-card:first-child .svc-thumb { flex: none; }
    .theme-b .news-grid > .news-card:first-child .news-cover img, .theme-c .news-cover img, .theme-d .news-cover img, .theme-d .service-grid > .service-card:first-child .svc-thumb img { min-height: 0; aspect-ratio: 16 / 9; }
    .theme-d .news-grid > .news-card:nth-child(1), .theme-d .news-grid > .news-card:nth-child(2) { grid-column: auto; }
    .article-nav { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .auth-wrap { margin: 30px auto; padding: 28px 20px; }
    .acct-grid { grid-template-columns: 1fr; }
    .mbar { display: block; }
    body { padding-bottom: 64px; }
    .gotop { bottom: 80px; }
    .btn-block-mobile { width: 100%; }
    .page-hero h1 { font-size: 24px; }
    .article-head-card, .article-body-card, .related-section { padding: 22px 18px; }
}
@media (min-width: 1025px) {
    .mbar { display: none !important; }
}
