/* ============================================================
   亿媒汇 · 设计系统
   ============================================================ */
:root {
  --brand: #1273d2;
  --brand-2: #0a55a8;
  --brand-3: #0ea5e9;
  --accent: #ff7f28;
  --accent-2: #f4511e;
  --grad: linear-gradient(135deg, #1e88e5 0%, #0a55a8 100%);
  --grad-accent: linear-gradient(135deg, #ff9736 0%, #f4511e 100%);
  --grad-soft: linear-gradient(135deg, rgba(18,115,210,.08), rgba(10,85,168,.08));
  --ink: #0f172a;
  --ink-2: #334155;
  --ink-3: #64748b;
  --ink-4: #94a3b8;
  --line: #e8ecf3;
  --bg: #f6f8fc;
  --card: #ffffff;
  --ok: #10b981;
  --warn: #f59e0b;
  --danger: #ef4444;
  --radius: 14px;
  --shadow-sm: 0 1px 2px rgba(15,23,42,.05), 0 1px 6px rgba(15,23,42,.04);
  --shadow-md: 0 6px 24px rgba(15,23,42,.07);
  --shadow-lg: 0 16px 48px rgba(15,23,42,.13);
  --font: "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { font-family: var(--font); color: var(--ink); background: #fff; font-size: 15px; line-height: 1.65; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; }
input, select, textarea { font-family: inherit; font-size: 14px; }
::selection { background: rgba(18,115,210,.18); }

.container { max-width: 1240px; margin: 0 auto; padding: 0 24px; }

/* ---------------- 按钮 ---------------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 7px; border: none; border-radius: 10px;
  padding: 11px 24px; font-size: 14.5px; font-weight: 600; transition: all .22s; white-space: nowrap; line-height: 1.4; }
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 4px 16px rgba(18,115,210,.32); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(18,115,210,.42); }
.btn-ghost { background: rgba(255,255,255,.12); color: #fff; border: 1px solid rgba(255,255,255,.35); backdrop-filter: blur(6px); }
.btn-ghost:hover { background: rgba(255,255,255,.22); }
.btn-outline { background: #fff; color: var(--brand); border: 1.5px solid var(--brand); }
.btn-outline:hover { background: var(--grad-soft); }
.btn-plain { background: #f1f5f9; color: var(--ink-2); }
.btn-plain:hover { background: #e2e8f0; }
.btn-danger { background: #fef2f2; color: var(--danger); }
.btn-danger:hover { background: #fee2e2; }
.btn-sm { padding: 7px 14px; font-size: 13px; border-radius: 8px; }
.btn-lg { padding: 14px 34px; font-size: 16px; border-radius: 12px; }
.btn-block { width: 100%; }
.btn:disabled { opacity: .55; cursor: not-allowed; transform: none !important; }

/* ---------------- 顶部导航 ---------------- */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.86); backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(232,236,243,.8); transition: all .25s; }
.site-header .container { display: flex; align-items: center; height: 68px; gap: 28px; }
.logo { display: flex; align-items: center; gap: 10px; font-size: 21px; font-weight: 800; letter-spacing: .5px; }
.logo img { height: 36px; width: auto; }
.logo img.logo-full { height: 44px; }
.logo .logo-mark { width: 36px; height: 36px; border-radius: 10px; background: var(--grad); color: #fff; display: flex;
  align-items: center; justify-content: center; font-size: 18px; font-weight: 800; box-shadow: 0 4px 12px rgba(18,115,210,.35); }
.logo .logo-grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.main-nav { display: flex; align-items: center; gap: 6px; flex: 1; }
.main-nav > a, .nav-item > a { padding: 8px 14px; border-radius: 9px; color: var(--ink-2); font-weight: 500; font-size: 15px; transition: all .18s; display: block; }
.main-nav > a:hover, .main-nav > a.active, .nav-item > a:hover, .nav-item.active > a { color: var(--brand); background: var(--grad-soft); }
.nav-item { position: relative; }
.nav-item .caret { font-size: 10px; margin-left: 3px; opacity: .6; }
.mega { position: absolute; top: calc(100% + 10px); left: 50%; transform: translateX(-50%) translateY(8px); background: #fff;
  border-radius: 16px; box-shadow: var(--shadow-lg); border: 1px solid var(--line); padding: 18px; opacity: 0; visibility: hidden;
  transition: all .22s; width: 560px; }
.nav-item:hover .mega { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.mega-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.mega-group-title { grid-column: 1/-1; font-size: 12px; color: var(--ink-4); font-weight: 600; padding: 8px 10px 2px; }
.mega a { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 10px; transition: background .16s; }
.mega a:hover { background: var(--bg); }
.mega img { width: 28px; height: 28px; border-radius: 7px; }
.mega .m-name { font-size: 14px; font-weight: 600; color: var(--ink); }
.mega .m-desc { font-size: 12px; color: var(--ink-4); }
.header-actions { display: flex; align-items: center; gap: 12px; }
.nav-toggle { display: none; background: none; border: none; font-size: 24px; color: var(--ink-2); }

/* 用户下拉 */
.user-chip { display: flex; align-items: center; gap: 8px; padding: 6px 12px 6px 6px; border-radius: 99px; background: var(--bg); cursor: pointer; position: relative; }
.user-chip .avatar { width: 30px; height: 30px; border-radius: 50%; background: var(--grad); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 700; overflow: hidden; }
.user-chip .avatar img { width: 100%; height: 100%; object-fit: cover; }
.user-menu { position: absolute; right: 0; top: calc(100% + 8px); background: #fff; border-radius: 12px; box-shadow: var(--shadow-lg);
  border: 1px solid var(--line); min-width: 170px; padding: 6px; opacity: 0; visibility: hidden; transition: all .2s; transform: translateY(6px); z-index: 60; }
.user-chip:hover .user-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.user-menu a { display: block; padding: 9px 13px; border-radius: 8px; font-size: 14px; color: var(--ink-2); }
.user-menu a:hover { background: var(--bg); color: var(--brand); }

/* ---------------- Hero ---------------- */
.hero { position: relative; background: #07182e; color: #fff; overflow: hidden; }
.hero::before { content: ""; position: absolute; width: 640px; height: 640px; border-radius: 50%; filter: blur(120px);
  background: rgba(18,115,210,.45); top: -220px; right: -120px; }
.hero::after { content: ""; position: absolute; width: 520px; height: 520px; border-radius: 50%; filter: blur(130px);
  background: rgba(10,85,168,.35); bottom: -260px; left: -100px; }
.hero-inner { position: relative; z-index: 2; padding: 96px 0 110px; display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; padding: 7px 16px; background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.18); border-radius: 99px; font-size: 13px; color: #a9d3f5; margin-bottom: 22px; }
.hero h1 { font-size: 46px; line-height: 1.25; font-weight: 800; letter-spacing: .5px; margin-bottom: 18px; }
.hero h1 .grad { background: linear-gradient(90deg, #7cc4ff, #a8e6ff, #8ad8ff); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero p.lead { font-size: 17px; color: #b6c0e2; max-width: 560px; margin-bottom: 34px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 42px; margin-top: 46px; flex-wrap: wrap; }
.hero-stats .hs b { font-size: 28px; font-weight: 800; display: block; background: linear-gradient(90deg,#fff,#a9d3f5);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero-stats .hs span { font-size: 13px; color: #8b95bd; }
.hero-visual { position: relative; min-height: 380px; }
.hv-card { position: absolute; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: 16px;
  padding: 16px 18px; backdrop-filter: blur(12px); box-shadow: 0 20px 60px rgba(0,0,0,.35); animation: floatY 6s ease-in-out infinite; }
.hv-card .t { font-size: 12px; color: #97a1c9; margin-bottom: 8px; }
.hv-card .v { font-size: 20px; font-weight: 700; }
.hv-icons { display: flex; gap: 10px; }
.hv-icons img { width: 34px; height: 34px; border-radius: 9px; background: #fff; padding: 4px; }
@keyframes floatY { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

/* 强调按钮（品牌橙） */
.btn-accent { background: var(--grad-accent); color: #fff; box-shadow: 0 6px 20px rgba(244,81,30,.38); }
.btn-accent:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(244,81,30,.48); filter: brightness(1.04); }

/* ---------------- 首页 · 实时数据面板 ---------------- */
.hero-panel { background: rgba(255,255,255,.055); border: 1px solid rgba(255,255,255,.13); border-radius: 20px;
  padding: 22px 24px; backdrop-filter: blur(14px); box-shadow: 0 30px 80px rgba(0,0,0,.35); }
.hp-head { display: flex; align-items: center; gap: 8px; font-size: 13px; color: #a9d3f5; font-weight: 600; }
.hp-dot { width: 8px; height: 8px; border-radius: 50%; background: #34d399; box-shadow: 0 0 0 0 rgba(52,211,153,.7); animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(52,211,153,.6); } 70% { box-shadow: 0 0 0 9px rgba(52,211,153,0); } 100% { box-shadow: 0 0 0 0 rgba(52,211,153,0); } }
.hp-live { margin-left: auto; font-size: 10px; font-weight: 800; letter-spacing: 1.5px; color: #34d399; border: 1px solid rgba(52,211,153,.4); border-radius: 6px; padding: 2px 7px; }
.hp-total { margin: 16px 0 18px; }
.hp-num { font-size: 40px; font-weight: 800; letter-spacing: 1px; background: linear-gradient(90deg, #fff, #8ad8ff); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; font-variant-numeric: tabular-nums; }
.hp-label { font-size: 12px; color: #8b95bd; margin-top: 2px; }
.hp-bars { display: flex; flex-direction: column; gap: 9px; }
.hp-bar-row { display: flex; align-items: center; gap: 9px; font-size: 12px; color: #a9c3e2; }
.hp-bar-row img { width: 20px; height: 20px; border-radius: 5px; background: #fff; padding: 1.5px; flex: none; }
.hp-bar-name { width: 62px; flex: none; white-space: nowrap; overflow: hidden; }
.hp-bar-track { flex: 1; height: 7px; border-radius: 99px; background: rgba(255,255,255,.09); overflow: hidden; }
.hp-bar-track i { display: block; height: 100%; width: var(--w, 40%); border-radius: 99px;
  background: linear-gradient(90deg, #1e88e5, #7cc4ff); animation: barGrow 1.2s cubic-bezier(.22,.9,.35,1) both; }
@keyframes barGrow { from { width: 0; } }
.hp-bar-row b { flex: none; min-width: 56px; text-align: right; color: #d9ecff; font-variant-numeric: tabular-nums; }
.hp-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 18px; padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,.08); font-size: 12px; color: #8b95bd; }
.hp-foot span { display: inline-flex; align-items: center; gap: 5px; }
.hp-foot a { color: #7cc4ff; font-weight: 600; }

/* 跑马灯 */
.hero-marquee { position: relative; z-index: 2; border-top: 1px solid rgba(255,255,255,.08); overflow: hidden; padding: 14px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.hm-track { display: flex; gap: 34px; width: max-content; animation: marquee 36s linear infinite; }
.hm-track span { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: #7f92bd; white-space: nowrap; }
.hm-track span svg { color: #38bdf8; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------------- 首页 · 服务体系 ---------------- */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.svc { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 30px 28px; transition: all .25s; position: relative; overflow: hidden; }
.svc::before { content: ""; position: absolute; inset: 0 0 auto; height: 3px; background: var(--grad); opacity: 0; transition: opacity .25s; }
.svc:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.svc:hover::before { opacity: 1; }
.svc-ic { width: 56px; height: 56px; border-radius: 15px; display: flex; align-items: center; justify-content: center; margin-bottom: 18px; color: #fff; }
.svc-ic.c1 { background: linear-gradient(135deg, #1e88e5, #0a55a8); }
.svc-ic.c2 { background: linear-gradient(135deg, #ff9736, #f4511e); }
.svc-ic.c3 { background: linear-gradient(135deg, #0ea5e9, #0369a1); }
.svc-ic.c4 { background: linear-gradient(135deg, #14b8a6, #0f766e); }
.svc-ic.c5 { background: linear-gradient(135deg, #8b5cf6, #6d28d9); }
.svc-ic.c6 { background: linear-gradient(135deg, #f43f5e, #be123c); }
.svc h3 { font-size: 18.5px; font-weight: 800; margin-bottom: 8px; }
.svc p { font-size: 13.5px; color: var(--ink-3); min-height: 60px; }
.svc-link { display: inline-flex; align-items: center; gap: 5px; margin-top: 14px; font-size: 13.5px; font-weight: 700; color: var(--brand); }

/* ---------------- 首页 · 数据大屏 ---------------- */
.data-band { background: #07182e; padding: 78px 0; position: relative; overflow: hidden; }
.data-band::before { content: ""; position: absolute; width: 560px; height: 560px; background: rgba(18,115,210,.35); filter: blur(130px); border-radius: 50%; top: -220px; left: -80px; }
.data-band::after { content: ""; position: absolute; width: 460px; height: 460px; background: rgba(244,81,30,.16); filter: blur(130px); border-radius: 50%; bottom: -220px; right: -60px; }
.db-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; position: relative; z-index: 1; }
.db-item { text-align: center; background: rgba(255,255,255,.045); border: 1px solid rgba(255,255,255,.1); border-radius: 16px; padding: 30px 12px; transition: all .25s; }
.db-item:hover { background: rgba(255,255,255,.08); transform: translateY(-4px); }
.db-item b { display: block; font-size: 34px; font-weight: 800; background: linear-gradient(90deg, #fff, #8ad8ff);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; font-variant-numeric: tabular-nums; }
.db-item span { font-size: 13px; color: #93a8c8; }

/* ---------------- 首页 · 精选达人 ---------------- */
.star-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.star-card { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 26px 20px 22px; text-align: center; transition: all .25s; }
.star-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.star-ava { position: relative; width: 72px; height: 72px; margin: 0 auto 12px; }
.star-ava img:first-child, .star-ava > span { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; display: flex; align-items: center;
  justify-content: center; background: var(--grad); color: #fff; font-size: 26px; font-weight: 800; border: 3px solid #fff; box-shadow: 0 4px 14px rgba(15,23,42,.14); }
.star-plat { position: absolute; right: -3px; bottom: -3px; width: 26px !important; height: 26px !important; border-radius: 8px !important;
  background: #fff; padding: 2px; border: 2px solid #fff; box-shadow: 0 2px 8px rgba(15,23,42,.18); }
.star-name { font-size: 15.5px; font-weight: 700; }
.star-meta { font-size: 12px; color: var(--ink-4); margin: 3px 0 10px; }
.star-fans { margin-bottom: 10px; }
.star-fans b { font-size: 22px; font-weight: 800; background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.star-fans span { font-size: 12px; color: var(--ink-4); margin-left: 4px; }
.star-tags { display: flex; justify-content: center; gap: 6px; margin-bottom: 14px; min-height: 24px; flex-wrap: wrap; }
.star-tags span { font-size: 11.5px; background: var(--bg); color: var(--ink-3); border-radius: 99px; padding: 3px 10px; }

/* ---------------- 首页 · 行业方案 ---------------- */
.ind-tabs { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; margin-bottom: 30px; }
.ind-tabs button { display: inline-flex; align-items: center; gap: 7px; border: 1.5px solid var(--line); background: #fff;
  border-radius: 99px; padding: 10px 22px; font-size: 14px; font-weight: 600; color: var(--ink-2); transition: all .2s; }
.ind-tabs button:hover { border-color: var(--brand); color: var(--brand); }
.ind-tabs button.on { background: var(--grad); border-color: transparent; color: #fff; box-shadow: 0 6px 18px rgba(18,115,210,.32); }
.ind-panel { display: none; background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 40px; grid-template-columns: 1.5fr 1fr; gap: 40px; }
.ind-panel.on { display: grid; animation: fadeUp .35s ease; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } }
.ind-main h3 { font-size: 22px; font-weight: 800; margin-bottom: 10px; }
.ind-main > p { color: var(--ink-3); font-size: 14.5px; margin-bottom: 18px; }
.ind-main ul { list-style: none; margin-bottom: 24px; }
.ind-main li { display: flex; align-items: center; gap: 9px; padding: 6px 0; font-size: 14px; color: var(--ink-2); }
.ind-main li svg { color: var(--ok); flex: none; }
.ind-side { display: flex; flex-direction: column; gap: 12px; justify-content: center; }
.ind-num { background: var(--grad-soft); border-radius: 14px; padding: 18px 22px; display: flex; align-items: baseline; gap: 12px; }
.ind-num b { font-size: 26px; font-weight: 800; background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.ind-num span { font-size: 13px; color: var(--ink-3); }

/* ---------------- 首页 · 客户见证 ---------------- */
.tm-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.tm { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 30px 28px; transition: all .25s; }
.tm:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.tm-quote { color: var(--brand); opacity: .35; margin-bottom: 12px; }
.tm p { font-size: 14px; color: var(--ink-2); line-height: 1.85; min-height: 128px; }
.tm-who { display: flex; align-items: center; gap: 12px; margin-top: 18px; }
.tm-ava { width: 42px; height: 42px; border-radius: 50%; color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 16px; }
.tm-ava.c1 { background: linear-gradient(135deg, #1e88e5, #0a55a8); }
.tm-ava.c2 { background: linear-gradient(135deg, #ff9736, #f4511e); }
.tm-ava.c3 { background: linear-gradient(135deg, #14b8a6, #0f766e); }
.tm-who b { display: block; font-size: 14px; }
.tm-who span { font-size: 12px; color: var(--ink-4); }

/* ---------------- 首页 · FAQ ---------------- */
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq { background: var(--card); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; transition: border-color .2s; }
.faq.open { border-color: rgba(18,115,210,.4); }
.faq-q { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 14px; background: none; border: none;
  text-align: left; padding: 18px 22px; font-size: 15.5px; font-weight: 700; color: var(--ink); }
.faq-caret { color: var(--ink-4); transition: transform .25s; display: inline-flex; }
.faq.open .faq-caret { transform: rotate(180deg); color: var(--brand); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq.open .faq-a { max-height: 240px; }
.faq-a p { padding: 0 22px 20px; font-size: 14px; color: var(--ink-3); line-height: 1.85; }

/* 平台卡 SVG 图标位 */
.p-ic-svg { width: 44px; height: 44px; border-radius: 11px; background: var(--grad-soft); display: flex; align-items: center; justify-content: center; color: var(--brand); flex: none; }

/* ---------------- 平台详情页 ---------------- */
.plat-hero::after { content: ""; position: absolute; width: 420px; height: 420px; background: var(--pc, #1273d2); opacity: .28; filter: blur(130px); border-radius: 50%; bottom: -220px; left: 30%; }
.ph-flex { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; position: relative; z-index: 1; flex-wrap: wrap; }
.ph-title { display: flex; align-items: center; gap: 18px; }
.ph-title img { width: 68px; height: 68px; border-radius: 17px; background: #fff; padding: 6px; box-shadow: 0 10px 30px rgba(0,0,0,.3); }
.ph-title h1 { font-size: 36px; font-weight: 800; }
.ph-biz { display: inline-flex; align-items: center; gap: 5px; margin-top: 6px; font-size: 13px; color: #7cc4ff; font-weight: 600; }
.ph-tagline { color: #b6c0e2; margin: 18px 0 26px; font-size: 16px; max-width: 620px; }
.ph-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.ph-stats { display: flex; gap: 14px; }
.ph-stat { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: 16px; padding: 18px 24px; text-align: center; backdrop-filter: blur(10px); }
.ph-stat b { display: block; font-size: 26px; font-weight: 800; background: linear-gradient(90deg,#fff,#8ad8ff); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.ph-stat span { font-size: 12px; color: #93a8c8; }

.plat-intro { display: grid; grid-template-columns: 1.5fr 1fr; gap: 50px; align-items: start; }
.pi-text .kicker { display: inline-block; color: var(--brand); font-weight: 700; font-size: 14px; letter-spacing: 2px; margin-bottom: 8px; }
.pi-text h2 { font-size: 30px; font-weight: 800; margin-bottom: 18px; }
.pi-points { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 22px; }
.pi-points div { display: flex; align-items: center; gap: 9px; font-size: 14px; font-weight: 600; color: var(--ink-2); background: var(--bg); border-radius: 11px; padding: 12px 16px; }
.pi-points svg { color: var(--ok); flex: none; }
.pi-card { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 34px 30px; text-align: center; box-shadow: var(--shadow-md); position: sticky; top: 90px; }
.pi-card img { width: 64px; height: 64px; border-radius: 16px; margin: 0 auto 14px; }
.pi-card-name { font-size: 20px; font-weight: 800; }
.pi-card-biz { font-size: 13px; color: var(--ink-4); margin: 4px 0 16px; }
.pi-card-num { background: var(--grad-soft); border-radius: 14px; padding: 16px; margin-bottom: 18px; }
.pi-card-num b { display: block; font-size: 28px; font-weight: 800; background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.pi-card-num span { font-size: 12.5px; color: var(--ink-3); }

/* 流程时间线 */
.flow-line { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; position: relative; }
.flow-line::before { content: ""; position: absolute; top: 24px; left: 10%; right: 10%; height: 2px; background: linear-gradient(90deg, rgba(18,115,210,.15), rgba(18,115,210,.5), rgba(18,115,210,.15)); }
.flow-node { text-align: center; padding: 0 14px; position: relative; }
.fn-dot { width: 48px; height: 48px; margin: 0 auto 16px; border-radius: 50%; background: var(--grad); color: #fff; display: flex;
  align-items: center; justify-content: center; font-weight: 800; font-size: 18px; box-shadow: 0 8px 20px rgba(18,115,210,.35), 0 0 0 6px #fff; position: relative; z-index: 1; }
.section.alt .fn-dot { box-shadow: 0 8px 20px rgba(18,115,210,.35), 0 0 0 6px var(--bg); }
.flow-node h4 { font-size: 16px; font-weight: 700; margin-bottom: 6px; }
.flow-node p { font-size: 13px; color: var(--ink-3); }

@media (max-width: 1080px) {
  .plat-intro { grid-template-columns: 1fr; }
  .pi-card { position: static; max-width: 420px; margin: 0 auto; }
  .flow-line { grid-template-columns: repeat(3, 1fr); gap: 26px 0; }
  .flow-line::before { display: none; }
}

/* ---------------- 公开资源筛选页 ---------------- */
.res-plat-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin: -26px 0 18px; position: relative; z-index: 2; }
.rpt { display: inline-flex; align-items: center; gap: 8px; background: #fff; border: 1.5px solid var(--line); border-radius: 12px;
  padding: 10px 18px; font-size: 14px; font-weight: 600; color: var(--ink-2); transition: all .2s; box-shadow: var(--shadow-sm); }
.rpt img { width: 22px; height: 22px; border-radius: 6px; }
.rpt:hover { border-color: var(--pc, var(--brand)); transform: translateY(-2px); }
.rpt.on { border-color: var(--pc, var(--brand)); color: var(--pc, var(--brand)); background: #fff; box-shadow: 0 6px 18px rgba(15,23,42,.08); }
.res-filter { padding: 16px 20px; }
.rf-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 7px 0; }
.rf-row + .rf-row { border-top: 1px dashed var(--line); }
.rf-label { display: inline-flex; align-items: center; gap: 5px; font-size: 13px; font-weight: 700; color: var(--ink-3); flex: none; width: 78px; }
.rf-chips { display: flex; gap: 6px; flex-wrap: wrap; }
.rf-search { display: flex; gap: 8px; margin-left: auto; align-items: center; }
.rf-search .input { width: 180px; padding: 8px 12px; font-size: 13px; }
.rc-coop { font-size: 10.5px; font-weight: 700; color: #0f8f3c; background: #e8f7ee; border-radius: 6px; padding: 2px 6px; margin-left: 6px; vertical-align: 2px; }
@media (max-width: 768px) {
  .rf-search { margin-left: 0; width: 100%; }
  .rf-search .input { flex: 1; width: auto; }
  .rf-label { width: 100%; }
}
@media (max-width: 640px) {
  .ph-title h1 { font-size: 26px; }
  .ph-title img { width: 54px; height: 54px; }
  .ph-stats { width: 100%; }
  .ph-stat { flex: 1; padding: 14px 10px; }
  .flow-line { grid-template-columns: 1fr 1fr; }
  .pi-points { grid-template-columns: 1fr; }
}

/* ---------------- 区块通用 ---------------- */
.section { padding: 84px 0; }
.section.alt { background: var(--bg); }
.sec-head { text-align: center; max-width: 640px; margin: 0 auto 52px; }
.sec-head .kicker { display: inline-block; color: var(--brand); font-weight: 700; font-size: 14px; letter-spacing: 2px; margin-bottom: 10px; }
.sec-head h2 { font-size: 34px; font-weight: 800; letter-spacing: .5px; margin-bottom: 12px; }
.sec-head p { color: var(--ink-3); font-size: 15.5px; }

/* 平台网格 */
.plat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.plat-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 22px;
  transition: all .25s; position: relative; overflow: hidden; }
.plat-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.plat-card::after { content: ""; position: absolute; inset: 0 0 auto; height: 3px; background: var(--pc, var(--grad)); opacity: 0; transition: opacity .25s; }
.plat-card:hover::after { opacity: 1; }
.plat-card .p-head { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.plat-card img { width: 44px; height: 44px; border-radius: 11px; }
.plat-card .p-name { font-size: 17px; font-weight: 700; }
.plat-card .p-biz { font-size: 12px; color: var(--ink-4); }
.plat-card .p-desc { font-size: 13.5px; color: var(--ink-3); min-height: 44px; }
.plat-card .p-link { margin-top: 14px; font-size: 13.5px; color: var(--brand); font-weight: 600; display: flex; align-items: center; gap: 4px; }

/* 特性 */
.feat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.feat { background: var(--card); border-radius: var(--radius); padding: 30px 26px; border: 1px solid var(--line); transition: all .25s; }
.feat:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.feat .f-icon { width: 52px; height: 52px; border-radius: 14px; background: var(--grad-soft); display: flex; align-items: center;
  justify-content: center; font-size: 26px; margin-bottom: 18px; color: var(--brand); }
.feat h3 { font-size: 17px; margin-bottom: 8px; font-weight: 700; }
.feat p { font-size: 13.5px; color: var(--ink-3); }

/* 流程 */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; counter-reset: step; }
.step { text-align: center; padding: 28px 14px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); position: relative; }
.step .s-num { width: 44px; height: 44px; margin: 0 auto 14px; border-radius: 50%; background: var(--grad); color: #fff;
  display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 17px; box-shadow: 0 6px 16px rgba(18,115,210,.3); }
.step h4 { font-size: 15.5px; margin-bottom: 6px; }
.step p { font-size: 12.5px; color: var(--ink-3); }

/* 数字统计 */
.stats-band { background: var(--grad); border-radius: 20px; color: #fff; padding: 46px 30px; display: grid;
  grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; box-shadow: 0 20px 50px rgba(18,115,210,.35); }
.stats-band b { font-size: 36px; font-weight: 800; display: block; }
.stats-band span { font-size: 13.5px; opacity: .85; }

/* 角色卡 */
.role-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.role-card { border-radius: 18px; padding: 34px 28px; background: var(--card); border: 1px solid var(--line); position: relative; overflow: hidden; transition: all .25s; }
.role-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.role-card .r-tag { display: inline-block; font-size: 12px; font-weight: 700; color: var(--brand); background: var(--grad-soft); border-radius: 99px; padding: 4px 12px; margin-bottom: 14px; }
.role-card h3 { font-size: 20px; margin-bottom: 10px; }
.role-card p { color: var(--ink-3); font-size: 14px; min-height: 66px; }
.role-card ul { margin: 14px 0 20px; list-style: none; }
.role-card li { font-size: 13.5px; color: var(--ink-2); padding: 4px 0 4px 24px; position: relative; }
.role-card li::before { content: "✓"; position: absolute; left: 0; color: var(--ok); font-weight: 700; }

/* CTA */
.cta-band { background: #07182e; border-radius: 22px; color: #fff; padding: 60px 40px; text-align: center; position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; width: 400px; height: 400px; background: rgba(10,85,168,.4); filter: blur(110px); border-radius: 50%; top: -160px; left: 10%; }
.cta-band::after { content: ""; position: absolute; width: 400px; height: 400px; background: rgba(37,99,235,.35); filter: blur(110px); border-radius: 50%; bottom: -180px; right: 8%; }
.cta-band h2 { font-size: 30px; font-weight: 800; margin-bottom: 12px; position: relative; z-index: 1; }
.cta-band p { color: #b6c0e2; margin-bottom: 28px; position: relative; z-index: 1; }
.cta-band .btn { position: relative; z-index: 1; }

/* ---------------- 页脚 ---------------- */
.site-footer { background: #0b0f26; color: #8b95bd; padding: 64px 0 30px; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.08); }
.site-footer h4 { color: #fff; font-size: 15px; margin-bottom: 16px; }
.site-footer a { display: block; padding: 5px 0; font-size: 13.5px; color: #8b95bd; transition: color .18s; }
.site-footer a:hover { color: #a9d3f5; }
.footer-brand .logo { color: #fff; margin-bottom: 14px; }
.footer-brand p { font-size: 13.5px; max-width: 300px; }
.footer-bottom { padding-top: 24px; display: flex; justify-content: space-between; font-size: 12.5px; flex-wrap: wrap; gap: 8px; }
.footer-bottom a { display: inline; }

/* ---------------- 面包屑页头 ---------------- */
.page-hero { background: #07182e; color: #fff; padding: 64px 0; position: relative; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; width: 480px; height: 480px; background: rgba(18,115,210,.4); filter: blur(120px); border-radius: 50%; top: -200px; right: 4%; }
.page-hero h1 { font-size: 34px; font-weight: 800; position: relative; z-index: 1; }
.page-hero p { color: #b6c0e2; margin-top: 10px; position: relative; z-index: 1; max-width: 720px; }
.crumb { position: relative; z-index: 1; font-size: 13px; color: #8b95bd; margin-bottom: 14px; }
.crumb a:hover { color: #fff; }

/* ---------------- 表单 ---------------- */
.form-item { margin-bottom: 18px; }
.form-item label { display: block; font-size: 13.5px; font-weight: 600; color: var(--ink-2); margin-bottom: 7px; }
.form-item label .req { color: var(--danger); margin-left: 2px; }
.input, textarea.input, select.input { width: 100%; border: 1.5px solid var(--line); border-radius: 10px; padding: 11px 14px;
  font-size: 14px; transition: all .18s; background: #fff; color: var(--ink); outline: none; }
.input:focus { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(18,115,210,.12); }
textarea.input { resize: vertical; min-height: 90px; }
.input-group { display: flex; gap: 10px; }
.input-group .input { flex: 1; }
.form-hint { font-size: 12.5px; color: var(--ink-4); margin-top: 6px; }
.form-error { font-size: 13px; color: var(--danger); margin-top: 6px; }

/* ---------------- 认证页 ---------------- */
.auth-wrap { min-height: calc(100vh - 68px); display: grid; grid-template-columns: 1fr 1fr; }
.auth-side { background: #07182e; color: #fff; padding: 60px; display: flex; flex-direction: column; justify-content: center; position: relative; overflow: hidden; }
.auth-side::before { content: ""; position: absolute; width: 460px; height: 460px; background: rgba(10,85,168,.4); filter: blur(120px); border-radius: 50%; top: -140px; left: -100px; }
.auth-side h2 { font-size: 30px; font-weight: 800; margin-bottom: 14px; position: relative; }
.auth-side p { color: #b6c0e2; position: relative; max-width: 420px; }
.auth-side ul { position: relative; list-style: none; margin-top: 26px; }
.auth-side li { padding: 7px 0 7px 30px; position: relative; color: #a9d3f5; font-size: 14.5px; }
.auth-side li::before { content: "✦"; position: absolute; left: 4px; color: #7cc4ff; }
.auth-main { display: flex; align-items: center; justify-content: center; padding: 48px 24px; background: #fff; }
.auth-card { width: 100%; max-width: 420px; }
.auth-card h1 { font-size: 26px; font-weight: 800; margin-bottom: 6px; }
.auth-card .sub { color: var(--ink-3); font-size: 14px; margin-bottom: 28px; }
.auth-tabs { display: flex; background: var(--bg); border-radius: 11px; padding: 4px; margin-bottom: 24px; }
.auth-tabs button { flex: 1; border: none; background: none; padding: 9px; border-radius: 8px; font-size: 14px; font-weight: 600; color: var(--ink-3); transition: all .2s; }
.auth-tabs button.active { background: #fff; color: var(--brand); box-shadow: var(--shadow-sm); }
.auth-foot { text-align: center; font-size: 13.5px; color: var(--ink-3); margin-top: 22px; }
.auth-foot a { color: var(--brand); font-weight: 600; }
.role-pick { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-bottom: 6px; }
.role-pick label { border: 1.5px solid var(--line); border-radius: 10px; padding: 10px 12px; cursor: pointer; transition: all .18s; display: block; }
.role-pick label.checked { border-color: var(--brand); background: var(--grad-soft); }
.role-pick b { font-size: 14px; display: block; }
.role-pick span { font-size: 12px; color: var(--ink-4); }
.role-pick input { display: none; }

/* ---------------- 门户（用户中心）布局 ---------------- */
.portal { display: flex; min-height: calc(100vh - 68px); background: var(--bg); }
.portal-side { width: 232px; background: #fff; border-right: 1px solid var(--line); padding: 22px 14px; flex-shrink: 0; }
.portal-side .ps-role { font-size: 12px; color: var(--ink-4); padding: 0 12px 12px; }
.portal-side a { display: flex; align-items: center; gap: 11px; padding: 11px 14px; border-radius: 10px; font-size: 14.5px;
  color: var(--ink-2); margin-bottom: 3px; transition: all .16s; font-weight: 500; }
.portal-side a:hover { background: var(--bg); color: var(--brand); }
.portal-side a.active { background: var(--grad-soft); color: var(--brand); font-weight: 650; }
.portal-side .ps-icon { font-size: 17px; width: 22px; display: inline-flex; align-items: center; justify-content: center; color: var(--ink-3); }
.portal-side a.active .ps-icon, .portal-side a:hover .ps-icon { color: inherit; }
.portal-side .badge { margin-left: auto; }
.portal-main { flex: 1; padding: 26px 28px 60px; min-width: 0; }
.portal-title { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; flex-wrap: wrap; gap: 12px; }
.portal-title h1 { font-size: 22px; font-weight: 800; }
.portal-title .pt-sub { font-size: 13px; color: var(--ink-4); margin-top: 3px; }

/* 卡片 */
.card { background: var(--card); border-radius: var(--radius); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.card-pad { padding: 22px 24px; }
.card + .card { margin-top: 18px; }
.card-title { font-size: 16px; font-weight: 700; margin-bottom: 16px; display: flex; align-items: center; justify-content: space-between; }

/* 统计卡 */
.stat-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 20px; }
.stat-card { background: var(--card); border-radius: var(--radius); border: 1px solid var(--line); padding: 20px 22px; position: relative; overflow: hidden; }
.stat-card .sc-label { font-size: 13px; color: var(--ink-3); margin-bottom: 8px; }
.stat-card .sc-value { font-size: 26px; font-weight: 800; letter-spacing: .3px; }
.stat-card .sc-value small { font-size: 13px; color: var(--ink-4); font-weight: 500; }
.stat-card .sc-icon { position: absolute; right: 16px; top: 16px; font-size: 26px; opacity: .9; color: var(--brand); }
.stat-card .sc-icon svg { width: 30px; height: 30px; padding: 6px; box-sizing: content-box; background: var(--grad-soft); border-radius: 11px; }

/* 表格 */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
table.tbl { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.tbl th { text-align: left; padding: 12px 14px; color: var(--ink-3); font-weight: 600; font-size: 12.5px; background: #f8fafd;
  border-bottom: 1px solid var(--line); white-space: nowrap; }
.tbl td { padding: 13px 14px; border-bottom: 1px solid #f0f3f8; vertical-align: middle; }
.tbl tr:hover td { background: #fafbfe; }
.tbl .cell-user { display: flex; align-items: center; gap: 10px; min-width: 160px; }
.tbl .cell-user img, .tbl .cell-user .ph { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; background: var(--grad-soft);
  display: flex; align-items: center; justify-content: center; color: var(--brand); font-weight: 700; flex-shrink: 0; }
.tbl .cu-name { font-weight: 600; color: var(--ink); font-size: 14px; }
.tbl .cu-sub { font-size: 12px; color: var(--ink-4); }
.tbl .num { font-variant-numeric: tabular-nums; font-weight: 600; }

/* 徽标 */
.badge { display: inline-flex; align-items: center; padding: 3px 10px; border-radius: 99px; font-size: 12px; font-weight: 600; line-height: 1.6; }
.badge.ok { background: #ecfdf5; color: #059669; }
.badge.warn { background: #fffbeb; color: #d97706; }
.badge.info { background: #eff6ff; color: #0ea5e9; }
.badge.danger { background: #fef2f2; color: #dc2626; }
.badge.muted { background: #f1f5f9; color: #64748b; }
.badge.brand { background: var(--grad-soft); color: var(--brand); }

/* 标签chip */
.chip { display: inline-block; background: #f1f5f9; color: var(--ink-3); border-radius: 6px; padding: 2px 8px; font-size: 12px; margin: 2px 3px 2px 0; }

/* 筛选条 */
.filter-bar { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; margin-bottom: 18px; }
.filter-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end; }
.filter-row .fi { display: flex; flex-direction: column; gap: 6px; }
.filter-row .fi > span { font-size: 12.5px; color: var(--ink-3); font-weight: 600; }
.filter-row .input { padding: 9px 12px; }
.filter-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.fchip { padding: 6px 14px; border-radius: 99px; background: var(--bg); font-size: 13px; color: var(--ink-2); cursor: pointer; border: 1px solid transparent; transition: all .15s; }
.fchip:hover { border-color: var(--brand); color: var(--brand); }
.fchip.active { background: var(--grad-soft); border-color: var(--brand); color: var(--brand); font-weight: 600; }

/* 达人卡片列表 */
.res-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 16px; }
.res-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; transition: all .22s; position: relative; }
.res-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.res-card .rc-top { display: flex; gap: 12px; align-items: center; margin-bottom: 12px; }
.res-card .rc-avatar { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; background: var(--grad-soft); flex-shrink: 0;
  display: flex; align-items: center; justify-content: center; font-size: 20px; font-weight: 700; color: var(--brand); }
.res-card .rc-name { font-size: 15.5px; font-weight: 700; display: flex; align-items: center; gap: 6px; }
.res-card .rc-uid { font-size: 12px; color: var(--ink-4); word-break: break-all; }
.res-card .rc-meta { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 12.5px; color: var(--ink-3); margin-bottom: 10px; }
.res-card .rc-meta b { color: var(--ink); font-weight: 700; }
.res-card .rc-tags { min-height: 24px; margin-bottom: 10px; }
.res-card .rc-foot { display: flex; align-items: center; justify-content: space-between; border-top: 1px dashed var(--line); padding-top: 12px; }
.res-card .rc-price { font-size: 17px; font-weight: 800; color: #e11d48; }
.res-card .rc-price small { font-size: 12px; color: var(--ink-4); font-weight: 500; }
.res-card .rc-check { position: absolute; top: 14px; right: 14px; width: 22px; height: 22px; accent-color: var(--brand); cursor: pointer; }

/* 分页 */
.pagination { display: flex; align-items: center; gap: 6px; margin-top: 22px; flex-wrap: wrap; }
.pg-btn { min-width: 34px; height: 34px; padding: 0 10px; display: inline-flex; align-items: center; justify-content: center;
  border-radius: 8px; background: var(--card); border: 1px solid var(--line); font-size: 13.5px; color: var(--ink-2); transition: all .15s; }
.pg-btn:hover { border-color: var(--brand); color: var(--brand); }
.pg-btn.active { background: var(--grad); color: #fff; border-color: transparent; font-weight: 700; }
.pg-dots, .pg-info { color: var(--ink-4); font-size: 13px; padding: 0 4px; }

/* 弹层 */
.modal-mask { position: fixed; inset: 0; background: rgba(15,23,42,.5); backdrop-filter: blur(3px); z-index: 200; display: none; align-items: center; justify-content: center; padding: 20px; }
.modal-mask.show { display: flex; }
.modal { background: #fff; border-radius: 18px; width: 100%; max-width: 520px; max-height: 88vh; overflow: auto; box-shadow: var(--shadow-lg); animation: modalIn .22s ease; }
@keyframes modalIn { from { transform: translateY(16px) scale(.98); opacity: 0; } to { transform: none; opacity: 1; } }
.modal-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 22px; border-bottom: 1px solid var(--line); }
.modal-head h3 { font-size: 17px; }
.modal-close { background: none; border: none; font-size: 20px; color: var(--ink-4); }
.modal-body { padding: 22px; }
.modal-foot { padding: 14px 22px 20px; display: flex; gap: 10px; justify-content: flex-end; }

/* toast */
.toast-wrap { position: fixed; top: 80px; left: 50%; transform: translateX(-50%); z-index: 500; display: flex; flex-direction: column; gap: 10px; align-items: center; }
.toast { background: rgba(15,23,42,.92); color: #fff; border-radius: 10px; padding: 11px 22px; font-size: 14px; box-shadow: var(--shadow-lg); animation: modalIn .25s; max-width: 90vw; }
.toast.ok { background: rgba(5,150,105,.95); }
.toast.err { background: rgba(220,38,38,.95); }

/* flash */
.flash { padding: 12px 18px; border-radius: 10px; font-size: 14px; margin-bottom: 18px; }
.flash.success { background: #ecfdf5; color: #047857; border: 1px solid #a7f3d0; }
.flash.error { background: #fef2f2; color: #b91c1c; border: 1px solid #fecaca; }
.flash.info { background: #eff6ff; color: #1d4ed8; border: 1px solid #bfdbfe; }

/* 空状态 */
.empty { text-align: center; padding: 60px 20px; color: var(--ink-4); }
.empty .e-icon { font-size: 46px; margin-bottom: 12px; color: var(--ink-4); }
.empty .e-icon svg { opacity: .7; }
.empty p { font-size: 14px; }

/* 详情字段网格 */
.detail-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.detail-grid .dg-item { background: #fff; padding: 12px 16px; }
.detail-grid .dg-label { font-size: 12px; color: var(--ink-4); margin-bottom: 3px; }
.detail-grid .dg-value { font-size: 14px; font-weight: 600; word-break: break-all; }

/* 富文本 */
.rich { font-size: 15px; color: var(--ink-2); line-height: 1.9; }
.rich h2 { font-size: 22px; margin: 30px 0 14px; color: var(--ink); }
.rich h3 { font-size: 18px; margin: 24px 0 10px; color: var(--ink); }
.rich p { margin-bottom: 14px; }

/* 选中浮条 */
.select-bar { position: fixed; bottom: 26px; left: 50%; transform: translateX(-50%); background: rgba(15,23,42,.95); color: #fff;
  border-radius: 99px; padding: 12px 22px; display: none; align-items: center; gap: 18px; z-index: 150; box-shadow: var(--shadow-lg); backdrop-filter: blur(8px); }
.select-bar.show { display: flex; }
.select-bar .sb-count b { color: #7cc4ff; }

/* ============ 客户资源库（列表式 + 分平台筛选） ============ */
.res-plat-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.res-plat-tabs .rpt { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 12px; background: var(--card);
  border: 1.5px solid var(--line); font-size: 14px; font-weight: 600; color: var(--ink-2); transition: all .18s; }
.res-plat-tabs .rpt img { width: 20px; height: 20px; border-radius: 5px; }
.res-plat-tabs .rpt em { font-style: normal; font-size: 12px; color: var(--ink-4); font-weight: 500; }
.res-plat-tabs .rpt:hover { border-color: var(--pc, var(--brand)); transform: translateY(-1px); }
.res-plat-tabs .rpt.active { border-color: var(--pc, var(--brand)); color: var(--pc, var(--brand)); background: color-mix(in srgb, var(--pc, var(--brand)) 7%, #fff); box-shadow: 0 4px 14px color-mix(in srgb, var(--pc, var(--brand)) 18%, transparent); }
.res-plat-tabs .rpt.active em { color: inherit; opacity: .75; }

/* 筛选 + 列表一体面板 */
.res-panel { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.res-filters { padding: 6px 20px 0; border-bottom: 1px solid var(--line); background: linear-gradient(180deg, #fbfcfe, #fff); }
.rf-row { display: flex; gap: 14px; padding: 9px 0; border-bottom: 1px dashed #eef2f8; }
.rf-row:last-of-type { border-bottom: none; }
.rf-label { flex-shrink: 0; width: 76px; font-size: 13px; color: var(--ink-4); font-weight: 600; padding-top: 4px; }
.rf-opts { display: flex; flex-wrap: wrap; gap: 4px 2px; flex: 1; }
.rf-chip { padding: 4px 12px; border-radius: 7px; font-size: 13px; color: var(--ink-2); transition: all .13s; line-height: 1.6; }
.rf-chip:hover { color: var(--brand); background: #f0f6ff; }
.rf-chip.active { background: var(--brand); color: #fff; font-weight: 600; }
.rf-more { display: none; }
.res-filters.expanded .rf-more { display: flex; }
.rf-toggle { display: flex; align-items: center; justify-content: center; gap: 4px; padding: 7px 0 8px; font-size: 12.5px; color: var(--brand);
  cursor: pointer; user-select: none; }
.rf-toggle svg { transition: transform .2s; }
.res-filters.expanded .rf-toggle svg { transform: rotate(180deg); }
.rf-bar { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 10px 0 12px; border-top: 1px solid #f0f3f8; flex-wrap: wrap; }
.rf-search { display: flex; align-items: center; gap: 8px; background: var(--bg); border: 1px solid var(--line); border-radius: 10px; padding: 4px 6px 4px 12px; flex: 1; max-width: 420px; color: var(--ink-4); }
.rf-search input { border: none; background: none; outline: none; font-size: 13.5px; flex: 1; min-width: 100px; }
.rf-right { display: flex; align-items: center; gap: 12px; }
.rf-clear { display: inline-flex; align-items: center; gap: 4px; font-size: 12.5px; color: var(--ink-3); }
.rf-clear:hover { color: #dc2626; }
.rf-sort { border: 1px solid var(--line); border-radius: 9px; padding: 7px 10px; font-size: 13px; color: var(--ink-2); background: #fff; outline: none; }

/* 列表（横向可滚动） */
.res-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.res-tbl { min-width: 100%; }
.res-tbl th, .res-tbl td { white-space: nowrap; }
.res-tbl thead th { position: sticky; top: 0; z-index: 2; }
.res-tbl .col-check { width: 40px; text-align: center; position: sticky; left: 0; background: #fff; z-index: 1; }
.res-tbl thead .col-check { background: #f8fafd; z-index: 3; }
.res-tbl .col-user { position: sticky; left: 40px; background: #fff; z-index: 1; min-width: 190px; max-width: 240px;
  box-shadow: 6px 0 8px -6px rgba(15,23,42,.08); }
.res-tbl thead .col-user { background: #f8fafd; z-index: 3; }
.res-tbl tr:hover .col-check, .res-tbl tr:hover .col-user { background: #fafbfe; }
.res-tbl tr.row-sel td { background: #f0f7ff !important; }
.res-tbl input[type=checkbox] { width: 16px; height: 16px; accent-color: var(--brand); cursor: pointer; }
.res-tbl .cu-click { cursor: pointer; }
.res-tbl .cu-click:hover .cu-name { color: var(--brand); }
.res-tbl .cu-name { max-width: 170px; overflow: hidden; text-overflow: ellipsis; display: flex; align-items: center; gap: 5px; }
.res-tbl .avatar { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; flex-shrink: 0; background: var(--grad-soft); }
.avatar-fallback { display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; background: var(--grad-soft);
  color: var(--brand); font-weight: 700; text-align: center; flex-shrink: 0; }
.res-tbl .th-sort { display: inline-flex; align-items: center; gap: 2px; color: inherit; }
.res-tbl .th-sort:hover { color: var(--brand); }
.res-tbl .th-sort.active { color: var(--brand); font-weight: 700; }
.res-tbl .th-sort svg { opacity: .55; }
.res-price { font-weight: 800; color: #e11d48; }
.res-tags span { display: inline-block; background: #f1f5f9; color: var(--ink-3); border-radius: 5px; padding: 1px 7px; font-size: 11.5px; margin-right: 4px; }
.res-tags .dim, td .dim { color: var(--ink-4); }
.row-acts { display: flex; gap: 4px; }
.ra-btn { width: 30px; height: 30px; border-radius: 8px; border: 1px solid var(--line); background: #fff; color: var(--ink-3);
  display: inline-flex; align-items: center; justify-content: center; cursor: pointer; transition: all .14s; font-size: 11px; font-weight: 800; }
.ra-btn:hover { border-color: var(--brand); color: var(--brand); }
.ra-btn.on { background: var(--grad-soft); border-color: var(--brand); color: var(--brand); }
.ra-btn.ra-vs { letter-spacing: .3px; }
.res-foot { padding: 6px 20px 16px; }
.res-foot .pagination { margin-top: 12px; }
.select-bar .sb-close { background: none; border: none; color: rgba(255,255,255,.7); cursor: pointer; display: flex; }
.select-bar .sb-close:hover { color: #fff; }

/* toast（资源页轻提示） */
.ymh-toast { position: fixed; top: 84px; left: 50%; transform: translateX(-50%) translateY(-8px); background: rgba(15,23,42,.92); color: #fff;
  padding: 10px 22px; border-radius: 10px; font-size: 13.5px; z-index: 600; opacity: 0; transition: all .25s; pointer-events: none; }
.ymh-toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.ymh-toast.err { background: rgba(220,38,38,.95); }

/* ============ 详情弹窗 ============ */
.rd-mask { position: fixed; inset: 0; background: rgba(15,23,42,.55); backdrop-filter: blur(4px); z-index: 300; display: none; align-items: flex-start; justify-content: center; padding: 5vh 18px; overflow-y: auto; }
.rd-mask.show { display: flex; }
.rd-modal { background: #fff; border-radius: 20px; width: 100%; max-width: 720px; position: relative; box-shadow: var(--shadow-lg); animation: modalIn .22s ease; padding: 28px; margin-bottom: 5vh; }
.rd-close { position: absolute; top: 16px; right: 16px; width: 34px; height: 34px; border-radius: 50%; border: none; background: #f1f5f9; color: var(--ink-3); cursor: pointer; display: flex; align-items: center; justify-content: center; z-index: 2; }
.rd-close:hover { background: #e2e8f0; color: var(--ink); }
.rd-loading { text-align: center; padding: 70px 0; color: var(--ink-4); }
.rd-hero { display: flex; gap: 16px; align-items: flex-start; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.rd-avatar img, .rd-avatar-fb { width: 68px; height: 68px; border-radius: 18px; object-fit: cover; background: var(--grad-soft); display: flex; align-items: center; justify-content: center; font-size: 26px; font-weight: 800; color: var(--brand); flex-shrink: 0; }
.rd-head { flex: 1; min-width: 0; }
.rd-head h2 { font-size: 20px; display: flex; align-items: center; gap: 8px; margin-bottom: 6px; }
.rd-meta { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 13px; color: var(--ink-3); margin-bottom: 8px; }
.rd-tags span { display: inline-block; background: var(--grad-soft); color: var(--brand); border-radius: 6px; padding: 2px 9px; font-size: 12px; margin: 0 5px 4px 0; font-weight: 600; }
.rd-price { text-align: right; flex-shrink: 0; }
.rd-price em { display: block; font-style: normal; font-size: 12px; color: var(--ink-4); margin-bottom: 2px; }
.rd-price b { font-size: 22px; font-weight: 800; color: #e11d48; }
.rd-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: 10px; padding: 16px 0; }
.rd-stat { background: #f8fafd; border-radius: 12px; padding: 12px 10px; text-align: center; }
.rd-stat b { display: block; font-size: 17px; font-weight: 800; color: var(--ink); margin-bottom: 2px; }
.rd-stat span { font-size: 12px; color: var(--ink-4); }
.rd-intro { font-size: 13.5px; color: var(--ink-2); line-height: 1.8; background: #fbfcfe; border-radius: 12px; padding: 12px 16px; margin-bottom: 6px; }
.rd-sec-title { font-size: 14px; font-weight: 700; margin: 14px 0 10px; }
.rd-metrics { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; max-height: 300px; overflow-y: auto; }
.rd-m { display: flex; justify-content: space-between; gap: 12px; background: #f8fafd; border-radius: 9px; padding: 9px 13px; font-size: 12.5px; }
.rd-m span { color: var(--ink-4); flex-shrink: 0; }
.rd-m b { font-weight: 600; color: var(--ink); text-align: right; word-break: break-all; }
.rd-foot { display: flex; gap: 10px; justify-content: flex-end; padding-top: 18px; margin-top: 8px; border-top: 1px solid var(--line); flex-wrap: wrap; }

/* ============ 悬浮购物车 ============ */
.fcart { position: fixed; right: 26px; bottom: 100px; z-index: 250; }
.fcart-btn { width: 54px; height: 54px; border-radius: 50%; border: none; background: var(--grad); color: #fff; cursor: pointer;
  display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 24px rgba(29,111,232,.4); transition: transform .18s; position: relative; }
.fcart-btn:hover { transform: scale(1.08); }
.fcart-badge { position: absolute; top: -4px; right: -4px; min-width: 20px; height: 20px; border-radius: 99px; background: #f97316; color: #fff;
  font-size: 11.5px; font-weight: 700; display: flex; align-items: center; justify-content: center; padding: 0 5px; border: 2px solid #fff; }
.fcart-panel { position: absolute; right: 0; bottom: 64px; width: 360px; max-width: calc(100vw - 40px); background: #fff; border-radius: 18px;
  box-shadow: var(--shadow-lg); border: 1px solid var(--line); display: none; overflow: hidden; animation: modalIn .2s ease; }
.fcart-panel.show { display: block; }
.fcart-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 18px; border-bottom: 1px solid var(--line); font-size: 15px; }
.fcart-clear { background: none; border: none; color: var(--ink-4); font-size: 12.5px; cursor: pointer; }
.fcart-clear:hover { color: #dc2626; }
.fcart-list { max-height: 320px; overflow-y: auto; }
.fcart-empty { text-align: center; padding: 44px 20px; color: var(--ink-4); font-size: 13.5px; line-height: 2; }
.fcart-item { display: flex; align-items: center; gap: 10px; padding: 10px 16px; border-bottom: 1px solid #f4f6fa; }
.fcart-item img, .fc-fb { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; background: var(--grad-soft); flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center; color: var(--brand); font-weight: 700; }
.fc-info { flex: 1; min-width: 0; }
.fc-info b { display: block; font-size: 13.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fc-info span { font-size: 11.5px; color: var(--ink-4); }
.fc-price { font-size: 13px; font-weight: 700; color: #e11d48; flex-shrink: 0; }
.fc-del { background: none; border: none; color: var(--ink-4); font-size: 17px; cursor: pointer; padding: 2px 4px; }
.fc-del:hover { color: #dc2626; }
.fcart-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 13px 16px; border-top: 1px solid var(--line); background: #fbfcfe; }
.fcart-total { font-size: 13px; color: var(--ink-3); }
.fcart-total b { font-size: 17px; color: #e11d48; font-weight: 800; }
.fcart-total small { display: block; font-size: 11px; color: var(--ink-4); }

/* ============ 悬浮对比栏 ============ */
.fvs { position: fixed; right: 26px; bottom: 170px; z-index: 249; width: 92px; background: #fff; border: 1px solid var(--line); border-radius: 16px;
  box-shadow: var(--shadow-lg); padding: 10px; text-align: center; transition: box-shadow .3s; }
.fvs.flash { box-shadow: 0 0 0 3px rgba(29,111,232,.35); }
.fvs-head { font-size: 11px; color: var(--ink-3); font-weight: 700; margin-bottom: 8px; display: flex; align-items: center; justify-content: center; gap: 3px; }
.fvs-head button { background: none; border: none; color: var(--ink-4); cursor: pointer; display: flex; padding: 0; }
.fvs-list { display: flex; flex-direction: column; gap: 6px; margin-bottom: 8px; }
.fvs-item { position: relative; width: 44px; height: 44px; margin: 0 auto; }
.fvs-item img, .fvs-item i { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; background: var(--grad-soft); font-style: normal;
  display: flex; align-items: center; justify-content: center; color: var(--brand); font-weight: 700; }
.fvs-item button { position: absolute; top: -5px; right: -5px; width: 17px; height: 17px; border-radius: 50%; border: none; background: #0f172a; color: #fff;
  font-size: 11px; line-height: 1; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.fvs-slot { width: 44px; height: 44px; margin: 0 auto; border-radius: 50%; border: 1.5px dashed var(--line); color: var(--ink-4);
  display: flex; align-items: center; justify-content: center; font-size: 17px; }
.fvs-go { width: 100%; padding: 6px 0 !important; font-size: 12px !important; }

/* ============ 达人对比页 ============ */
.vs-wrap { overflow-x: auto; }
.vs-tbl { width: 100%; border-collapse: collapse; font-size: 13.5px; min-width: 640px; }
.vs-tbl th, .vs-tbl td { padding: 12px 16px; border-bottom: 1px solid #f0f3f8; text-align: center; }
.vs-label-col { width: 130px; }
.vs-tbl .vs-label { background: #f8fafd; font-weight: 600; color: var(--ink-3); font-size: 12.5px; text-align: left; position: sticky; left: 0; }
.vs-head { padding: 20px 16px 16px !important; min-width: 150px; }
.vs-avatar img, .vs-avatar .avatar-fallback { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; margin: 0 auto 8px; font-size: 24px; }
.vs-name { font-size: 15px; font-weight: 700; }
.vs-sub { font-size: 12px; color: var(--ink-4); font-weight: 500; margin: 3px 0 10px; }
.vs-acts { display: flex; gap: 6px; justify-content: center; }
.vs-val { font-weight: 600; position: relative; }
.vs-val.best { background: #f0fdf4; color: #047857; }
.vs-val.diff { color: var(--brand); }
.vs-star { display: inline-block; margin-left: 6px; background: #059669; color: #fff; font-size: 10.5px; border-radius: 5px; padding: 1px 5px; vertical-align: 2px; }

/* ============ 登录身份选择 ============ */
.role-pick { position: fixed; inset: 0; background: rgba(15,23,42,.55); backdrop-filter: blur(4px); z-index: 400; display: flex; align-items: center; justify-content: center; padding: 20px; }
.rp-card { background: #fff; border-radius: 20px; padding: 30px 28px; width: 100%; max-width: 400px; box-shadow: var(--shadow-lg); animation: modalIn .22s; }
.rp-card h3 { font-size: 19px; text-align: center; }
.rp-card p { font-size: 13px; color: var(--ink-4); text-align: center; margin: 6px 0 20px; }
.rp-list { display: flex; flex-direction: column; gap: 10px; margin-bottom: 14px; }
.rp-item { display: flex; align-items: center; gap: 14px; padding: 14px 18px; border-radius: 14px; border: 1.5px solid var(--line); background: #fff;
  cursor: pointer; transition: all .15s; text-align: left; }
.rp-item:hover { border-color: var(--brand); background: #f5f9ff; transform: translateY(-1px); }
.rp-item .rp-ico { font-size: 24px; }
.rp-item b { font-size: 15px; display: block; }
.rp-item em { font-style: normal; font-size: 12px; color: var(--ink-4); display: block; }

/* 侧栏身份切换 */
.ps-switch { padding: 0 18px 10px; display: flex; flex-direction: column; gap: 4px; }
.ps-switch a { font-size: 12px; color: var(--brand); opacity: .85; }
.ps-switch a:hover { opacity: 1; text-decoration: underline; }

/* 支付二维码 */
.pay-qr { text-align: center; padding: 10px 0; }
.pay-qr .qr-box { width: 220px; height: 220px; margin: 14px auto; border: 1px solid var(--line); border-radius: 14px; display: flex; align-items: center; justify-content: center; padding: 10px; }
.pay-qr .qr-box svg, .pay-qr .qr-box img, .pay-qr .qr-box canvas { width: 100%; height: 100%; }
.pay-amount { font-size: 30px; font-weight: 800; color: #e11d48; }

/* ---------------- 响应式 ---------------- */
@media (max-width: 1080px) {
  .plat-grid, .feat-grid { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .stat-cards { grid-template-columns: repeat(2, 1fr); }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .hero-panel { max-width: 560px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .detail-grid { grid-template-columns: repeat(2, 1fr); }
  .svc-grid { grid-template-columns: 1fr 1fr; }
  .db-grid { grid-template-columns: repeat(3, 1fr); }
  .star-grid { grid-template-columns: repeat(3, 1fr); }
  .tm-grid { grid-template-columns: 1fr 1fr; }
  .ind-panel { grid-template-columns: 1fr; }
  .ind-side { flex-direction: row; flex-wrap: wrap; }
  .ind-num { flex: 1; min-width: 150px; }
}
@media (max-width: 860px) {
  .auth-wrap { grid-template-columns: 1fr; }
  .auth-side { display: none; }
  .portal { flex-direction: column; }
  .portal-side { width: 100%; display: flex; overflow-x: auto; padding: 10px 12px; gap: 4px; border-right: none; border-bottom: 1px solid var(--line); position: sticky; top: 68px; z-index: 50; }
  .portal-side .ps-role { display: none; }
  .portal-side a { flex-shrink: 0; margin-bottom: 0; padding: 9px 13px; }
  .portal-side .badge { display: none; }
  .portal-main { padding: 18px 16px 50px; }
}
@media (max-width: 768px) {
  .main-nav { position: fixed; top: 68px; left: 0; right: 0; bottom: 0; background: #fff; flex-direction: column; align-items: stretch;
    padding: 18px; gap: 4px; display: none; overflow: auto; z-index: 99; }
  .main-nav.open { display: flex; }
  .main-nav > a, .nav-item > a { padding: 13px 16px; font-size: 16px; }
  .nav-item .mega { position: static; transform: none; opacity: 1; visibility: visible; width: 100%; box-shadow: none; border: none;
    padding: 0 0 0 12px; display: none; }
  .nav-item.open .mega { display: block; }
  .mega-grid { grid-template-columns: 1fr 1fr; }
  .nav-toggle { display: block; }
  .header-actions .btn-outline { display: none; }
  .hero h1 { font-size: 31px; }
  .hero-inner { padding: 60px 0 70px; }
  .hero-stats { gap: 24px; }
  .section { padding: 56px 0; }
  .sec-head h2 { font-size: 26px; }
  .plat-grid, .feat-grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .stats-band { grid-template-columns: 1fr 1fr; padding: 34px 20px; }
  .role-grid { grid-template-columns: 1fr; }
  .res-list { grid-template-columns: 1fr; }
  .stat-cards { grid-template-columns: 1fr 1fr; }
  .detail-grid { grid-template-columns: 1fr; }
  .filter-row .fi { width: 100%; }
  .filter-row .fi .input { width: 100%; }
}
@media (max-width: 768px) {
  .svc-grid { grid-template-columns: 1fr; }
  .db-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .db-item b { font-size: 26px; }
  .star-grid { grid-template-columns: 1fr 1fr; }
  .tm-grid { grid-template-columns: 1fr; }
  .ind-panel { padding: 24px 20px; }
  .hp-num { font-size: 32px; }
}
@media (max-width: 480px) {
  .plat-grid, .feat-grid, .steps, .stat-cards, .stats-band { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 27px; }
  .star-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .rf-label { width: 64px; }
  .fcart { right: 14px; bottom: 84px; }
  .fvs { right: 14px; bottom: 152px; }
  .rd-modal { padding: 20px 16px; }
  .rd-metrics { grid-template-columns: 1fr; }
  .select-bar { width: calc(100vw - 24px); flex-wrap: wrap; gap: 8px; justify-content: center; border-radius: 18px; }
}

/* ===== 通用开关（portal 端：对客展示/上下架切换） ===== */
.switch { display: inline-flex; align-items: center; cursor: pointer; vertical-align: middle; }
.switch input { display: none; }
.switch .sw, .switch span { width: 36px; height: 20px; border-radius: 99px; background: #cbd5e1; position: relative; transition: background .18s; display: inline-block; }
.switch .sw::after, .switch span::after { content: ""; position: absolute; width: 16px; height: 16px; border-radius: 50%; background: #fff; top: 2px; left: 2px; transition: left .18s; box-shadow: 0 1px 3px rgba(0, 0, 0, .25); }
.switch input:checked + .sw, .switch input:checked + span { background: var(--brand); }
.switch input:checked + .sw::after, .switch input:checked + span::after { left: 18px; }

/* ===== 首页开场视频（播完再展示 Banner 内容） ===== */
.hero-video { position: absolute; inset: 0; z-index: 6; background: #07182e; display: flex; align-items: center; justify-content: center; opacity: 1; transition: opacity .85s ease; }
.hero-video video { width: 100%; height: 100%; object-fit: cover; }
.hero-video::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at center, transparent 55%, rgba(7, 24, 46, .55)); pointer-events: none; }
.hero-video.hv-out { opacity: 0; pointer-events: none; }
.hv-skip { position: absolute; right: 22px; bottom: 22px; z-index: 2; display: inline-flex; align-items: center; gap: 4px; background: rgba(255, 255, 255, .14); color: #fff; border: 1px solid rgba(255, 255, 255, .35); border-radius: 99px; padding: 7px 16px; font-size: 13px; cursor: pointer; backdrop-filter: blur(6px); transition: background .2s; }
.hv-skip:hover { background: rgba(255, 255, 255, .28); }
/* 视频模式下先隐藏 Banner 内容，视频结束后入场 */
.hero.video-mode .hero-inner,
.hero.video-mode .hero-marquee { opacity: 0; }
.hero.video-mode.revealed .hero-inner { opacity: 1; transform: none; transition: opacity .9s ease .15s, transform .9s ease .15s; }
.hero.video-mode.revealed .hero-marquee { opacity: 1; transition: opacity .9s ease .5s; }
.hero.video-mode:not(.revealed) .hero-inner { transform: translateY(18px); }
