/**
 * 企业信息查询系统
 *
 * 品牌方:狗凯源码库
 * 版本号:v1.0.0
 * 网址:https://bygoukai.com
 *
 * 版权所有 © 狗凯源码库,未经授权禁止复制传播
 */
/* 企业信息查询系统 - 用户端样式 */
* { margin: 0; padding: 0; box-sizing: border-box; }
html, body { font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif; background: #f5f7fa; color: #333; font-size: 14px; }
a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }
.container { width: 1180px; max-width: 96%; margin: 0 auto; }

/* ---------- 顶部导航 ---------- */
.topbar { background: #0b2a5e; color: #c8d6ee; font-size: 12px; }
.topbar .container { display: flex; justify-content: flex-end; gap: 18px; height: 34px; align-items: center; }
.topbar a:hover { color: #fff; }
.navbar { background: #fff; box-shadow: 0 2px 10px rgba(20, 60, 140, .06); position: sticky; top: 0; z-index: 100; }
.navbar .container { display: flex; align-items: center; height: 64px; gap: 36px; }
.logo { display: flex; align-items: center; gap: 8px; font-size: 22px; font-weight: 700; color: #1c7cff; white-space: nowrap; }
.logo .logo-ico { width: 34px; height: 34px; border-radius: 8px; background: linear-gradient(135deg, #1c7cff, #0e4fd8); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 18px; }
.nav-links { display: flex; gap: 30px; flex: 1; }
.nav-links a { font-size: 15px; color: #47536b; padding: 6px 2px; border-bottom: 2px solid transparent; }
.nav-links a:hover, .nav-links a.router-link-active { color: #1c7cff; border-bottom-color: #1c7cff; }
.nav-user { display: flex; align-items: center; gap: 14px; }
.nav-user .vip-tag { background: linear-gradient(135deg, #ffcf6b, #f5a623); color: #6b4600; font-size: 12px; border-radius: 10px; padding: 2px 10px; font-weight: 600; }
.avatar { width: 34px; height: 34px; border-radius: 50%; background: linear-gradient(135deg, #1c7cff, #6ea8ff); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 14px; cursor: pointer; }
.quota-chip { font-size: 12px; color: #8b96a8; }
.quota-chip b { color: #1c7cff; }

/* ---------- 页面切换过渡(路由渐入渐出,避免刷新生硬) ---------- */
.page-enter-active, .page-leave-active { transition: opacity .22s ease, transform .22s ease; }
.page-enter, .page-leave-to { opacity: 0; transform: translateY(10px); }

/* ---------- 首页 ---------- */
.hero { background: linear-gradient(135deg, #0e4fd8 0%, #1c7cff 55%, #4aa8ff 100%); background-size: 220% 100%; animation: heroFlow 14s ease-in-out infinite; padding: 70px 0 90px; position: relative; overflow: hidden; }
@keyframes heroFlow { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
.hero::after { content: ""; position: absolute; right: -120px; top: -120px; width: 420px; height: 420px; border-radius: 50%; background: rgba(255, 255, 255, .07); }
.hero::before { content: ""; position: absolute; left: -80px; bottom: -160px; width: 300px; height: 300px; border-radius: 50%; background: rgba(255, 255, 255, .05); }
.hero h1 { color: #fff; font-size: 40px; text-align: center; letter-spacing: 2px; }
.hero .sub { color: rgba(255, 255, 255, .85); text-align: center; margin-top: 14px; font-size: 16px; }
.search-box { width: 860px; max-width: 94%; margin: 44px auto 0; background: #fff; border-radius: 16px; padding: 10px; display: flex; box-shadow: 0 16px 48px rgba(6, 32, 84, .28); position: relative; z-index: 5; animation: fadeInUp .5s ease both .05s; }
.search-box input { flex: 1; border: none; outline: none; font-size: 18px; padding: 0 20px; height: 62px; }
.search-box input::placeholder { font-size: 16px; color: #a8b3c4; }
.search-box button { background: #1c7cff; color: #fff; border: none; border-radius: 12px; padding: 0 52px; font-size: 18px; font-weight: 600; letter-spacing: 2px; cursor: pointer; }
.search-box button:hover { background: #0e66e8; }
.hot-words { text-align: center; margin-top: 18px; color: rgba(255, 255, 255, .8); font-size: 13px; position: relative; z-index: 5; }
.hot-words span { margin: 0 6px; cursor: pointer; }
.hot-words span:hover { color: #fff; text-decoration: underline; }
.hero-stats { display: flex; justify-content: center; gap: 70px; margin-top: 46px; position: relative; z-index: 5; min-height: 52px; }
.hero-stats .st { text-align: center; color: #fff; }
.hero-stats .st b { font-size: 26px; display: block; font-variant-numeric: tabular-nums; }
.hero-stats .st i { font-style: normal; font-size: 13px; opacity: .8; }

/* ---------- v2.2.4 AI智能搜索(高逼格模式) ---------- */
/* 搜索模式切换胶囊(玻璃拟态) */
.search-modes { display: flex; justify-content: center; gap: 8px; margin-top: 30px; position: relative; z-index: 5; animation: fadeInUp .5s ease both; }
.search-modes span { padding: 9px 26px; border-radius: 999px; background: rgba(255, 255, 255, .13); border: 1px solid rgba(255, 255, 255, .22); color: rgba(255, 255, 255, .88); font-size: 14px; cursor: pointer; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); transition: all .28s ease; user-select: none; }
.search-modes span i { margin-right: 4px; }
.search-modes span:hover { background: rgba(255, 255, 255, .22); color: #fff; }
.search-modes span.on { background: #fff; color: #1c7cff; font-weight: 600; border-color: transparent; box-shadow: 0 6px 20px rgba(4, 26, 74, .35); }

/* 搜索框:AI模式渐变流光描边+按钮 */
.search-box .sb-ico { align-self: center; margin: 0 2px 0 14px; font-size: 20px; color: #9aa8ba; transition: color .3s; }
.search-box.ai-on { border: 2px solid transparent; background: linear-gradient(#fff, #fff) padding-box, linear-gradient(120deg, #7b5cff, #2f7bff, #22d3ee, #7b5cff) border-box; background-size: 100% 100%, 300% 300%; animation: aiBorderFlow 5s linear infinite; }
@keyframes aiBorderFlow { 0% { background-position: 0% 50%, 0% 50%; } 50% { background-position: 0% 50%, 100% 50%; } 100% { background-position: 0% 50%, 200% 50%; } }
.search-box.ai-on .sb-ico { color: #7b5cff; }
.search-box button.ai-btn { background: linear-gradient(135deg, #7b5cff, #2f7bff); background-size: 160% 160%; animation: aiBtnFlow 5s ease infinite; }
.search-box button.ai-btn:hover { filter: brightness(1.08); }
@keyframes aiBtnFlow { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }

/* AI回答卡片(渐变顶条+玻璃白卡) */
.ai-result { width: 860px; max-width: 94%; margin: 22px auto 0; position: relative; z-index: 5; animation: fadeInUp .55s ease both; text-align: left; }
.ai-card { position: relative; background: rgba(255, 255, 255, .98); border-radius: 18px; box-shadow: 0 24px 70px rgba(4, 26, 74, .4); overflow: hidden; }
.ai-card-bar { height: 4px; background: linear-gradient(90deg, #7b5cff, #2f7bff, #22d3ee, #7b5cff); background-size: 300% 100%; animation: aiBarFlow 4s linear infinite; }
@keyframes aiBarFlow { 0% { background-position: 0% 50%; } 100% { background-position: 300% 50%; } }
.ai-head { display: flex; align-items: center; gap: 12px; padding: 18px 22px 0 22px; }
.ai-avatar { width: 38px; height: 38px; border-radius: 12px; background: linear-gradient(135deg, #7b5cff, #2f7bff); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 20px; box-shadow: 0 6px 16px rgba(123, 92, 255, .35); flex-shrink: 0; }
.ai-title { display: flex; flex-direction: column; min-width: 0; }
.ai-title b { font-size: 15.5px; color: #1a2b45; letter-spacing: .5px; }
.ai-title span { font-size: 12px; color: #9aa8ba; margin-top: 2px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ai-head-r { margin-left: auto; display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.ai-tag { font-size: 12px; color: #b8860b; background: #fff7e6; border: 1px solid #ffe3a3; border-radius: 999px; padding: 3px 12px; white-space: nowrap; }
.ai-tag.ok { color: #0e9f6e; background: #e8faf3; border-color: #b9ecd8; }
.ai-copy { border: none; background: #f2f6ff; color: #2f7bff; font-size: 12px; border-radius: 999px; padding: 5px 14px; cursor: pointer; transition: all .2s; white-space: nowrap; }
.ai-copy:hover { background: #2f7bff; color: #fff; }

/* 思考中指示器 */
.ai-thinking { display: flex; align-items: center; gap: 6px; padding: 26px 24px; color: #7a8699; font-size: 14px; }
.ai-thinking i { font-style: normal; margin-left: 8px; letter-spacing: 1px; }
.ai-dot { width: 7px; height: 7px; border-radius: 50%; background: #7b5cff; animation: aiBlink 1.2s ease-in-out infinite; }
.ai-dot:nth-child(2) { animation-delay: .18s; background: #2f7bff; }
.ai-dot:nth-child(3) { animation-delay: .36s; background: #22d3ee; }
@keyframes aiBlink { 0%, 100% { opacity: .25; transform: translateY(0); } 50% { opacity: 1; transform: translateY(-3px); } }

/* AI回答正文(Markdown排版) */
.ai-body { padding: 18px 24px 22px; color: #2c3a52; font-size: 15px; line-height: 1.95; letter-spacing: .2px; word-break: break-word; }
.ai-body p { margin: 0 0 4px; }
.ai-body .ai-h { font-weight: 700; color: #16223a; margin: 14px 0 6px; }
.ai-body .ai-h:first-child { margin-top: 0; }
.ai-body .ai-h1 { font-size: 18px; }
.ai-body .ai-h2 { font-size: 17px; }
.ai-body .ai-h3 { font-size: 16px; }
.ai-body .ai-h4 { font-size: 15px; }
.ai-body b { color: #1a2b45; }
.ai-body .ai-ul, .ai-body .ai-ol { margin: 6px 0 10px; padding-left: 22px; }
.ai-body .ai-ul li, .ai-body .ai-ol li { margin: 4px 0; }
.ai-body .ai-ul li::marker { color: #7b5cff; }
.ai-body .ai-ol li::marker { color: #2f7bff; font-weight: 600; }
.ai-body .ai-quote { margin: 8px 0; padding: 8px 14px; border-left: 3px solid #7b5cff; background: #f6f5ff; border-radius: 0 8px 8px 0; color: #4d5b73; }
.ai-body .ai-ic { background: #eef2ff; color: #5b45d6; border-radius: 5px; padding: 1px 6px; font-size: 13px; font-family: Consolas, Monaco, monospace; }
.ai-body .ai-code { background: #0f172a; color: #dbe7ff; border-radius: 10px; padding: 14px 16px; overflow-x: auto; font-size: 13px; line-height: 1.7; margin: 10px 0; font-family: Consolas, Monaco, monospace; white-space: pre; }
.ai-body .ai-hr { border: none; border-top: 1px dashed #d5deee; margin: 12px 0; }
.ai-body .ai-table { border-collapse: collapse; margin: 10px 0; width: 100%; font-size: 13.5px; }
.ai-body .ai-table th { background: #f2f6ff; color: #2c3a52; font-weight: 600; }
.ai-body .ai-table th, .ai-body .ai-table td { border: 1px solid #e3eaf5; padding: 7px 12px; text-align: left; }
.ai-body .ai-table tr:nth-child(even) td { background: #fafcff; }
.ai-body a { color: #2f7bff; text-decoration: none; border-bottom: 1px dashed #9dc0ff; }
.ai-body .ai-cursor { display: inline-block; width: 2px; height: 1em; background: #7b5cff; margin-left: 2px; vertical-align: -2px; animation: aiCursorBlink .8s step-end infinite; }
@keyframes aiCursorBlink { 50% { opacity: 0; } }
.ai-body.err { color: #e6543f; background: #fff5f3; margin: 12px 22px 18px; border-radius: 10px; padding: 12px 16px; font-size: 14px; }
.ai-body.err i { margin-right: 6px; }

/* 相关企业档案卡片 */
.ai-comps { margin-top: 14px; }
.ai-comps-head { display: flex; align-items: center; gap: 8px; color: #fff; font-size: 14px; padding: 0 4px 10px; text-shadow: 0 1px 8px rgba(0, 20, 60, .3); }
.ai-comps-head i { font-size: 16px; }
.ai-comps-head b { font-size: 12px; background: rgba(255, 255, 255, .2); border-radius: 999px; padding: 1px 10px; font-weight: 600; }
.ai-comps-head span { font-size: 12px; opacity: .75; margin-left: auto; }
.ai-comp { display: flex; align-items: center; gap: 14px; background: rgba(255, 255, 255, .97); border-radius: 14px; padding: 14px 18px; margin-bottom: 10px; cursor: pointer; transition: all .22s ease; animation: fadeInUp .5s ease both; }
.ai-comp:nth-child(2) { animation-delay: .06s; }
.ai-comp:nth-child(3) { animation-delay: .12s; }
.ai-comp:nth-child(4) { animation-delay: .18s; }
.ai-comp:nth-child(5) { animation-delay: .24s; }
.ai-comp:nth-child(6) { animation-delay: .3s; }
.ai-comp:hover { transform: translateY(-3px); box-shadow: 0 14px 34px rgba(4, 26, 74, .35); }
.ai-comp-logo { width: 42px; height: 42px; border-radius: 12px; flex-shrink: 0; background: linear-gradient(135deg, #dfe9ff, #f2f6ff); color: #2f7bff; font-size: 18px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.ai-comp-main { min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.ai-comp-main b { font-size: 15px; color: #1a2b45; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ai-comp-main span { font-size: 12.5px; color: #8b96a8; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ai-comp-arrow { margin-left: auto; color: #c2ccdc; transition: all .22s; }
.ai-comp:hover .ai-comp-arrow { color: #2f7bff; transform: translateX(4px); }

/* AI搜索区移动端适配 */
@media (max-width: 768px) {
  .search-modes span { padding: 8px 18px; font-size: 13px; }
  .ai-result { width: auto; max-width: none; margin: 16px 14px 0; }
  .ai-head { flex-wrap: wrap; row-gap: 10px; padding: 14px 16px 0; }
  .ai-head-r { margin-left: 0; width: 100%; }
  .ai-title span { white-space: normal; }
  .ai-body { padding: 14px 16px 18px; font-size: 14.5px; }
  .ai-body .ai-table { display: block; overflow-x: auto; }
  .ai-body.err { margin: 12px 16px 16px; }
  .ai-comp { padding: 12px 14px; }
  .ai-comp-main span { white-space: normal; }
}

.home-section { background: #fff; padding: 46px 0; margin-top: 20px; }
.home-section h2 { font-size: 22px; margin-bottom: 6px; color: #1a2b45; }
.home-section .sec-sub { color: #8b96a8; font-size: 13px; margin-bottom: 22px; }
.comp-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.comp-card { border: 1px solid #eef2f7; border-radius: 10px; padding: 18px; cursor: pointer; transition: all .2s; animation: fadeInUp .5s ease both; }
.comp-grid .comp-card:nth-child(1) { animation-delay: .05s; }
.comp-grid .comp-card:nth-child(2) { animation-delay: .1s; }
.comp-grid .comp-card:nth-child(3) { animation-delay: .15s; }
.comp-grid .comp-card:nth-child(4) { animation-delay: .2s; }
.comp-grid .comp-card:nth-child(5) { animation-delay: .25s; }
.comp-grid .comp-card:nth-child(6) { animation-delay: .3s; }
.comp-grid .comp-card:nth-child(7) { animation-delay: .35s; }
.comp-grid .comp-card:nth-child(8) { animation-delay: .4s; }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.comp-card:hover { box-shadow: 0 8px 24px rgba(20, 60, 140, .1); transform: translateY(-2px); border-color: #cfe0ff; }
.comp-card .nm { font-size: 15px; font-weight: 600; color: #1a2b45; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.comp-card .meta { margin-top: 10px; color: #7a8699; font-size: 12.5px; line-height: 2; }
.comp-card .meta b { color: #47536b; font-weight: 500; }
.comp-card .tag { display: inline-block; margin-top: 8px; font-size: 12px; color: #1c7cff; background: #edf4ff; border-radius: 4px; padding: 2px 8px; }

.vip-banner { background: linear-gradient(120deg, #2b2100, #573f0a 45%, #8a6a1c); color: #fff; padding: 50px 0; }
.vip-banner h2 { font-size: 24px; margin-bottom: 8px; }
.vip-banner p { color: #f4d9a0; margin-bottom: 26px; }
.vip-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.vip-card { background: rgba(255, 255, 255, .97); border-radius: 14px; padding: 26px 24px; text-align: center; position: relative; transition: all .2s; }
.vip-card:hover { transform: translateY(-4px); box-shadow: 0 14px 34px rgba(0, 0, 0, .35); }
.vip-card.hot { border: 2px solid #f5a623; }
.vip-card .ribbon { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: #f5a623; color: #fff; font-size: 12px; border-radius: 20px; padding: 3px 14px; }
.vip-card h3 { font-size: 19px; color: #1a2b45; }
.vip-card .price { margin: 12px 0; color: #f04848; }
.vip-card .price b { font-size: 34px; }
.vip-card .price s { color: #9aa8ba; font-size: 14px; margin-left: 8px; font-weight: normal; }
.vip-card ul { text-align: left; color: #5a6c85; font-size: 13.5px; margin: 16px 0; line-height: 2.1; }
.vip-card ul li::before { content: "✓ "; color: #13c175; font-weight: 700; }
.vip-card .buy-btn { background: linear-gradient(135deg, #ffcf6b, #f5a623); color: #6b4600; border: none; border-radius: 22px; padding: 11px 0; width: 100%; font-size: 15px; font-weight: 600; cursor: pointer; }
.vip-card .buy-btn:hover { filter: brightness(1.05); }

/* ---------- 搜索结果页 ---------- */
.crumb { padding: 18px 0 8px; color: #8b96a8; font-size: 13px; }
.search-meta { background: #fff; border-radius: 10px; padding: 16px 20px; margin-bottom: 16px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; }
.search-meta b { color: #1c7cff; }
.result-list { background: #fff; border-radius: 10px; }
.result-item { padding: 22px 24px; border-bottom: 1px solid #f0f3f8; cursor: pointer; transition: background .15s; display: flex; gap: 16px; align-items: flex-start; }
.result-item:hover { background: #f8fbff; }
.result-item .row1 { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.list-logo { width: 52px; height: 52px; border-radius: 10px; object-fit: cover; flex-shrink: 0; background: #fff; box-shadow: 0 2px 8px rgba(26, 43, 69, .08); }
.list-logo.logo-placeholder { display: flex; align-items: center; justify-content: center; font-size: 20px; font-weight: 600; color: #fff; background: linear-gradient(135deg, #3a7afe, #6ea1ff); }
.result-main { flex: 1; min-width: 0; }
.result-item .nm { font-size: 17px; font-weight: 600; color: #1c7cff; }
.result-item .st { font-size: 12px; color: #13c175; background: #ecfaf3; border-radius: 4px; padding: 1px 8px; }
.result-item .st.bad { color: #f04848; background: #feefef; }
.result-item .row2 { display: flex; flex-wrap: wrap; gap: 34px; margin-top: 12px; color: #7a8699; font-size: 13px; }
.result-item .row2 b { color: #47536b; font-weight: 500; }
.result-item .row3 { margin-top: 10px; color: #9aa8ba; font-size: 12.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.result-item mark { background: transparent; color: #f04848; font-weight: 700; }
.empty-tip { text-align: center; color: #9aa8ba; padding: 70px 0; }

/* ---------- 详情页 ---------- */
.detail-head { background: #fff; border-radius: 10px; padding: 26px 30px; margin-bottom: 16px; }
.detail-head .row1 { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.detail-head h1 { font-size: 24px; color: #1a2b45; }
.detail-head .head-main { flex: 1; min-width: 0; }
.detail-head .head-tags { display: flex; align-items: center; gap: 8px; margin-top: 8px; flex-wrap: wrap; }
.company-logo { width: 72px; height: 72px; border-radius: 12px; object-fit: cover; background: #fff; box-shadow: 0 2px 10px rgba(26, 43, 69, .08); flex-shrink: 0; }
.company-logo.logo-placeholder { display: flex; align-items: center; justify-content: center; font-size: 28px; font-weight: 600; color: #fff; background: linear-gradient(135deg, #3a7afe, #6ea1ff); }
.claim-badge { color: #b8860b; background: linear-gradient(135deg, #fff8e1, #ffefd0); border: 1px solid #ffe08a; border-radius: 4px; padding: 2px 10px; font-size: 13px; font-weight: 600; }
.detail-head .intro { margin-top: 12px; padding: 10px 14px; background: #f7f9fc; border-radius: 8px; color: #47536b; font-size: 13.5px; line-height: 1.8; word-break: break-all; }
.detail-head .intro b { color: #1a2b45; margin-right: 6px; }
.detail-head .sub { color: #7a8699; margin-top: 12px; font-size: 13.5px; display: flex; gap: 26px; flex-wrap: wrap; }
.detail-head .sub b { color: #47536b; }
.detail-head .claim-bar { margin-top: 14px; padding-top: 14px; border-top: 1px dashed #e4eaf3; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.detail-head .claim-bar .mine-tip { color: #8a6d1a; font-size: 13px; }

/* ---------- 分析报告栏 ---------- */
.report-bar { background: linear-gradient(135deg, #f4f8ff, #eef6ff); border: 1px solid #d9e8ff; border-radius: 10px; padding: 16px 22px; margin-bottom: 16px; display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; animation: fadeInUp .5s ease both .08s; }
.report-bar .rb-left { display: flex; align-items: center; gap: 14px; }
.report-bar .rb-left > i { font-size: 34px; color: #1c7cff; }
.report-bar .rb-left b { font-size: 15.5px; color: #1a2b45; display: block; }
.report-bar .rb-left p { color: #8b96a8; font-size: 12.5px; margin-top: 3px; }
.report-bar .rb-btns { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.rb-tag { font-size: 12px; color: #1472d0; background: #e8f4ff; border-radius: 12px; padding: 3px 12px; }
.deny-body { text-align: center; padding: 8px 0 4px; }
.deny-body > i { font-size: 46px; color: #f7b500; }
.deny-body .deny-tip { color: #47536b; font-size: 14px; margin: 14px 0 4px; line-height: 1.8; }
.deny-body .deny-price { color: #8b96a8; font-size: 13px; }
.deny-body .deny-price b { color: #f04848; font-size: 17px; margin: 0 2px; }

/* ---------- 图库弹窗 ---------- */
.gallery-bar { display: flex; align-items: center; margin-bottom: 14px; }
.gallery-tip { margin-left: 12px; color: #9aa8ba; font-size: 12px; }
.gallery-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; min-height: 180px; max-height: 420px; overflow-y: auto; padding: 2px; }
.gallery-cell { position: relative; border: 2px solid #eef1f6; border-radius: 8px; cursor: pointer; overflow: hidden; background: #f5f7fa; transition: border-color .15s; }
.gallery-cell::after { content: ""; display: block; padding-top: 100%; }
.gallery-cell img { position: absolute; left: 0; top: 0; width: 100%; height: 100%; object-fit: cover; }
.gallery-cell:hover { border-color: #b9d4ff; }
.gallery-cell.active { border-color: #1c7cff; box-shadow: 0 0 0 2px rgba(28, 124, 255, .18); }
.cell-check { position: absolute; right: 6px; top: 6px; color: #1c7cff; font-size: 20px; background: #fff; border-radius: 50%; z-index: 2; }
.cell-del { position: absolute; right: 6px; bottom: 6px; color: #fff; font-size: 14px; background: rgba(0, 0, 0, .45); border-radius: 4px; padding: 4px; display: none; z-index: 2; }
.gallery-cell:hover .cell-del { display: block; }
.cell-del:hover { background: #f04848; }
.gallery-empty { grid-column: 1 / -1; text-align: center; color: #9aa8ba; padding: 60px 0; font-size: 13px; }
.detail-tabs { background: #fff; border-radius: 10px; padding: 0 30px; }
.info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 60px; padding: 26px 0; }
.info-item { display: flex; font-size: 14px; line-height: 1.9; }
.info-item .k { color: #8b96a8; min-width: 130px; }
.info-item .v { color: #333; flex: 1; word-break: break-all; }
.info-item.full { grid-column: 1 / -1; }
.locked-panel { text-align: center; padding: 56px 0; color: #8b96a8; }
.locked-panel .lock-ico { font-size: 46px; color: #c3cdd9; }
.locked-panel .tip { margin: 14px 0 20px; font-size: 14px; }
.locked-panel .vip-btn { background: linear-gradient(135deg, #ffcf6b, #f5a623); color: #6b4600; border: none; border-radius: 22px; padding: 10px 34px; font-size: 15px; font-weight: 600; cursor: pointer; }
.table-list { width: 100%; border-collapse: collapse; font-size: 13.5px; margin: 6px 0 30px; }
.table-list th { background: #f7fafd; color: #5a6c85; text-align: left; padding: 12px 14px; font-weight: 500; white-space: nowrap; }
.table-list td { padding: 12px 14px; border-bottom: 1px solid #f0f3f8; color: #47536b; }
.risk-item { border: 1px solid #f0e6e6; border-left: 3px solid #f04848; background: #fffbfb; border-radius: 6px; padding: 14px 18px; margin: 12px 0; font-size: 13.5px; }
.risk-item .rt { color: #c0392b; font-weight: 600; margin-bottom: 4px; }
.report-card { border: 1px solid #eef2f7; border-radius: 8px; padding: 18px 20px; margin: 12px 0; }
.report-card h4 { color: #1a2b45; margin-bottom: 12px; }
.report-card .rgrid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; text-align: center; }
.report-card .rgrid b { display: block; font-size: 18px; color: #1c7cff; }
.report-card .rgrid i { font-style: normal; color: #8b96a8; font-size: 12px; }

/* ---------- 鲸海数据维度抓取 ---------- */
.jh-dim-bar { display: flex; flex-wrap: wrap; gap: 8px; padding: 16px 0 6px; border-bottom: 1px dashed #eef2f7; margin-bottom: 8px; }
.jh-loading { text-align: center; color: #5a6c85; padding: 56px 0; font-size: 14px; }
.jh-loading i { font-size: 26px; color: #1c7cff; vertical-align: -6px; margin-right: 8px; }
.jh-item { border: 1px solid #eef2f7; border-radius: 8px; padding: 14px 18px; margin: 14px 0; }
.jh-item-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }
.jh-item-head b { color: #1a2b45; font-size: 14.5px; }
.jh-tag { background: #edf4ff; color: #1c7cff; border-radius: 10px; padding: 2px 10px; font-size: 12px; }
.jh-tag.err { background: #fff1f0; color: #f04848; }
.jh-error { color: #f04848; font-size: 13px; }

/* ---------- 登录注册 ---------- */
.auth-wrap { min-height: calc(100vh - 200px); display: flex; align-items: center; justify-content: center; padding: 50px 0; }
.auth-box { background: #fff; border-radius: 14px; box-shadow: 0 10px 40px rgba(20, 60, 140, .08); width: 420px; max-width: 94%; padding: 40px 44px; }
.auth-box h2 { text-align: center; font-size: 22px; margin-bottom: 26px; color: #1a2b45; }
.auth-box .to-switch { text-align: center; margin-top: 18px; font-size: 13px; color: #8b96a8; }
.auth-box .to-switch a { color: #1c7cff; }

/* ---------- 个人中心 ---------- */
.user-wrap { display: flex; gap: 16px; align-items: flex-start; padding-bottom: 40px; }
.user-side { width: 240px; background: #fff; border-radius: 10px; padding: 26px 0; text-align: center; flex-shrink: 0; }
.user-side .avatar { width: 64px; height: 64px; font-size: 24px; }
.user-side .nm { margin-top: 12px; font-size: 17px; font-weight: 600; color: #1a2b45; }
.user-side .vip-info { margin-top: 8px; font-size: 12.5px; color: #8b96a8; }
.user-side .side-nav { margin-top: 22px; text-align: left; }
.user-side .side-nav a { display: block; padding: 11px 26px; color: #47536b; font-size: 14px; border-left: 3px solid transparent; }
.user-side .side-nav a.router-link-active { color: #1c7cff; background: #f3f8ff; border-left-color: #1c7cff; font-weight: 600; }
.user-main { flex: 1; background: #fff; border-radius: 10px; padding: 24px 28px; min-height: 500px; }
.user-main h3 { font-size: 17px; color: #1a2b45; padding-bottom: 16px; border-bottom: 1px solid #f0f3f8; margin-bottom: 18px; }
.vip-status-card { background: linear-gradient(120deg, #241a00, #4d3907); border-radius: 10px; color: #fff; padding: 24px 28px; display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.vip-status-card .l b { font-size: 18px; color: #ffcf6b; }
.vip-status-card .l p { margin-top: 8px; color: #e5d5ae; font-size: 13px; }
.vip-status-card .renew { background: linear-gradient(135deg, #ffcf6b, #f5a623); border: none; color: #6b4600; border-radius: 20px; padding: 9px 26px; font-weight: 600; cursor: pointer; font-size: 14px; }

/* ---------- 支付收银台 ---------- */
.cashier-order { border: 1px solid #eef2f7; border-radius: 10px; padding: 4px 16px; margin-bottom: 18px; }
.cashier-order .row { display: flex; justify-content: space-between; align-items: center; padding: 11px 0; border-bottom: 1px solid #f5f7fa; font-size: 13.5px; color: #7a8699; }
.cashier-order .row:last-child { border-bottom: none; }
.cashier-order .row b { color: #1a2b45; font-weight: 600; }
.cashier-order .row.amt .money { color: #f04848; font-size: 22px; }
.cashier-ways .way { display: flex; align-items: center; gap: 14px; border: 2px solid #eef1f6; border-radius: 10px; padding: 14px 16px; margin-bottom: 10px; cursor: pointer; transition: all .15s; }
.cashier-ways .way:hover { border-color: #b9d4ff; }
.cashier-ways .way.active { border-color: #1c7cff; background: #f5f9ff; }
.cashier-ways .way > i:first-child { font-size: 26px; color: #1c7cff; }
.cashier-ways .way.active > i:first-child { color: #1c7cff; }
.cashier-ways .way .info { flex: 1; }
.cashier-ways .way .info b { font-size: 14.5px; color: #1a2b45; }
.cashier-ways .way .info p { margin-top: 3px; font-size: 12px; color: #9aa8ba; }
.cashier-ways .way .check { font-size: 20px; color: #1c7cff; visibility: hidden; }
.cashier-ways .way.active .check { visibility: visible; }
.cashier-ways .no-way { text-align: center; color: #9aa8ba; padding: 30px 0; font-size: 13px; }
.cashier-tip { text-align: center; color: #9aa8ba; font-size: 12px; margin-top: 6px; }
.qr-panel { text-align: center; padding: 8px 0 4px; }
.qr-panel .qr-box { display: flex; align-items: center; justify-content: center; padding: 14px; border: 1px solid #eef2f7; border-radius: 10px; width: 220px; margin: 0 auto; }
.qr-panel .qr-box img { display: block; }
.qr-panel .qr-tip { margin-top: 14px; color: #47536b; font-size: 13.5px; line-height: 1.9; }
.qr-panel .qr-poll { margin-top: 8px; color: #1c7cff; font-size: 12.5px; }

/* ---------- 个人中心-我的图库 ---------- */
.gallery-grid.page-gallery { grid-template-columns: repeat(6, 1fr); max-height: none; min-height: 200px; }
.cell-view { position: absolute; left: 6px; bottom: 6px; color: #fff; font-size: 14px; background: rgba(0, 0, 0, .45); border-radius: 4px; padding: 4px; display: none; z-index: 2; }
.gallery-cell:hover .cell-view { display: block; }
.cell-view:hover { background: #1c7cff; }
@media (max-width: 768px) { .gallery-grid.page-gallery { grid-template-columns: repeat(3, 1fr); } }

/* ---------- 通用 ---------- */
.footer { background: #0b2a5e; color: #93a7c9; padding: 30px 0; margin-top: 40px; text-align: center; font-size: 12.5px; line-height: 2.2; }
/* ---------- 友情链接(页脚顶部) ---------- */
.friend-links { background: #081f45; border-bottom: 1px solid rgba(255, 255, 255, .06); padding: 14px 0; font-size: 13px; text-align: left; }
.friend-links .container { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 16px; }
.friend-links .fl-title { color: #7d92b8; flex-shrink: 0; }
.friend-links .fl-item { color: #aebfd8; text-decoration: none; display: inline-flex; align-items: center; gap: 5px; }
.friend-links .fl-item:hover { color: #fff; }
.friend-links .fl-logo { width: 16px; height: 16px; border-radius: 3px; object-fit: cover; display: block; }
.footer-flex { display: flex; align-items: center; justify-content: space-between; gap: 20px; text-align: left; }
.footer-flex .footer-text { flex: 1; min-width: 0; }
.footer-flex .footer-text p { line-height: 2.1; word-break: break-all; }
.footer-qr { flex-shrink: 0; text-align: center; }
.footer-qr img { width: 96px; height: 96px; border-radius: 8px; background: #fff; padding: 5px; display: block; }
/* ---------- 侧边栏在线客服 ---------- */
.service-float { position: fixed; right: 18px; bottom: 130px; z-index: 90; }
.service-btn { display: flex; flex-direction: column; align-items: center; gap: 3px; width: 54px; height: 54px; border: none; border-radius: 12px; background: linear-gradient(135deg, #1c7cff, #0e4fd8); color: #fff; cursor: pointer; box-shadow: 0 6px 18px rgba(28, 124, 255, .35); transition: transform .2s, box-shadow .2s; }
.service-btn:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(28, 124, 255, .45); }
.service-btn i { font-size: 20px; line-height: 1; }
.service-btn span { font-size: 10px; line-height: 1; }
.service-panel { position: absolute; right: 66px; bottom: 0; width: 208px; background: #fff; border-radius: 12px; box-shadow: 0 12px 36px rgba(15, 45, 100, .18); padding: 18px 16px 14px; text-align: center; }
.service-panel .service-close { position: absolute; top: 8px; right: 10px; color: #9aa8ba; font-size: 15px; cursor: pointer; }
.service-panel .service-close:hover { color: #47536b; }
.service-title { font-size: 14px; font-weight: 600; color: #1a2b45; margin-bottom: 10px; }
.service-qr { width: 158px; height: 158px; border-radius: 8px; border: 1px solid #e8edf4; object-fit: cover; }
.service-tip { margin-top: 8px; font-size: 12px; color: #9aa8ba; }
.service-wx { margin-top: 8px; font-size: 12.5px; color: #47536b; display: flex; align-items: center; justify-content: center; gap: 8px; word-break: break-all; }
.service-wx a { color: #1c7cff; flex-shrink: 0; }
.service-wx a:hover { text-decoration: underline; }
.pager { display: flex; justify-content: center; padding: 30px 0; }
.mt16 { margin-top: 16px; }
.ann-item { padding: 12px 0; border-bottom: 1px dashed #e8edf4; font-size: 13.5px; }
.ann-item b { color: #1a2b45; }
.ann-item .date { color: #9aa8ba; font-size: 12px; margin-top: 4px; }
/* ---------- 移动端汉堡菜单 ---------- */
.menu-toggle { display: none; width: 40px; height: 40px; margin-left: auto; flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.menu-toggle i { display: block; width: 22px; height: 2px; border-radius: 2px; background: #47536b; transition: all .25s; }
.menu-toggle.open i:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.open i:nth-child(2) { opacity: 0; }
.menu-toggle.open i:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-menu { background: #fff; border-top: 1px solid #f0f3f8; box-shadow: 0 10px 24px rgba(20, 60, 140, .08); padding: 6px 0 10px; }
.mobile-menu a { display: block; padding: 13px 24px; color: #47536b; font-size: 15px; border-left: 3px solid transparent; }
.mobile-menu a.router-link-active { color: #1c7cff; background: #f3f8ff; border-left-color: #1c7cff; font-weight: 600; }
.mmenu-enter-active, .mmenu-leave-active { transition: all .2s ease; }
.mmenu-enter, .mmenu-leave-to { opacity: 0; transform: translateY(-8px); }

/* ---------- 手机版适配 ---------- */
@media (max-width: 768px) {
  html, body { font-size: 13px; -webkit-tap-highlight-color: transparent; }
  .container { width: 100%; max-width: 100%; padding: 0 16px; }
  .topbar .container { justify-content: center; height: 30px; }
  .navbar { backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); background: rgba(255, 255, 255, .92); }
  .navbar .container { height: 56px; gap: 10px; }
  .logo { font-size: 18px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .logo .logo-ico { width: 32px; height: 32px; font-size: 16px; border-radius: 8px; flex-shrink: 0; }
  .nav-links { display: none; }
  .menu-toggle { display: flex; }
  .nav-user { gap: 8px; }
  .nav-user .quota-chip { display: none; }

  /* 首页(高端化:深色渐变+光晕+大搜索框) */
  .hero { padding: 46px 0 60px; background: linear-gradient(150deg, #071f4d 0%, #0e4fd8 48%, #1c7cff 78%, #4aa8ff 100%); }
  .hero h1 { font-size: 27px; letter-spacing: 1.5px; font-weight: 800; text-shadow: 0 2px 18px rgba(0, 20, 60, .35); }
  .hero .sub { font-size: 14px; padding: 0 14px; opacity: .92; }
  .search-box { width: 100%; max-width: 100%; margin: 30px 14px 0; flex-direction: column; gap: 10px; padding: 12px; border-radius: 18px; background: rgba(255, 255, 255, .98); box-shadow: 0 20px 60px rgba(2, 18, 56, .45); }
  .search-box input { padding: 0 14px; height: 56px; font-size: 17px; border-radius: 12px; background: #f5f8fd; transition: box-shadow .25s ease, background .25s ease; }
  .search-box input:focus { background: #fff; box-shadow: inset 0 0 0 2px #1c7cff; }
  .search-box input::placeholder { font-size: 15px; }
  .search-box button { width: 100%; height: 54px; padding: 0; border-radius: 12px; font-size: 17px; background: linear-gradient(135deg, #1c7cff, #0e4fd8); box-shadow: 0 8px 22px rgba(28, 124, 255, .38); }
  .search-box button:active { transform: translateY(1px); }
  .hot-words { font-size: 13px; }
  .hero-stats { gap: 20px 26px; flex-wrap: wrap; margin-top: 34px; padding: 0 14px; }
  .hero-stats .st b { font-size: 21px; }
  .home-section { padding: 32px 0; }
  .home-section h2 { font-size: 19px; }
  .comp-grid { grid-template-columns: 1fr; gap: 12px; }
  .comp-card { padding: 16px; border-radius: 12px; }
  .vip-banner { padding: 34px 0; }
  .vip-cards { grid-template-columns: 1fr; gap: 16px; }
  .vip-card .price b { font-size: 30px; }

  /* 搜索结果页 */
  .crumb { padding: 12px 0 6px; font-size: 12px; }
  .search-meta { padding: 12px 14px; font-size: 12.5px; }
  .result-item { padding: 16px 14px; gap: 12px; }
  .list-logo { width: 42px; height: 42px; border-radius: 8px; }
  .result-item .nm { font-size: 15px; }
  .result-item .row2 { gap: 6px 18px; font-size: 12px; margin-top: 9px; }
  .result-item .row3 { font-size: 12px; }

  /* 详情页 */
  .detail-head { padding: 18px 14px; border-radius: 8px; }
  .detail-head h1 { font-size: 19px; }
  .company-logo { width: 56px; height: 56px; border-radius: 10px; }
  .detail-head .sub { gap: 8px 18px; font-size: 12.5px; }
  .report-bar { padding: 14px; flex-direction: column; align-items: flex-start; }
  .report-bar .rb-btns { width: 100%; }
  .report-bar .rb-btns .el-button { flex: 1; }
  .detail-tabs { padding: 0 14px; }
  .info-grid { grid-template-columns: 1fr; gap: 0; padding: 18px 0; }
  .info-item { font-size: 13px; }
  .info-item .k { min-width: 96px; }
  .table-list { display: block; overflow-x: auto; white-space: nowrap; -webkit-overflow-scrolling: touch; font-size: 12.5px; }
  .table-list th, .table-list td { padding: 10px; }
  .risk-item, .report-card { padding: 12px 14px; font-size: 13px; }
  .report-card .rgrid { grid-template-columns: repeat(2, 1fr); gap: 14px 8px; }

  /* 弹窗(覆盖 Element UI 固定宽度) */
  .el-dialog { width: 94% !important; margin-top: 8vh !important; }
  .el-dialog .el-dialog__body { padding: 15px 18px; }
  .el-dialog .el-form-item__label { font-size: 13px; }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .el-message-box { width: 92% !important; }
  .el-message { min-width: 0; width: 86%; }

  /* 登录注册 */
  .auth-wrap { padding: 30px 0; }
  .auth-box { width: 100%; max-width: 100%; padding: 28px 20px; border-radius: 10px; margin: 0 14px; }

  /* 个人中心 */
  .user-wrap { flex-direction: column; gap: 12px; padding-bottom: 24px; }
  .user-side { width: 100%; padding: 18px 0; }
  .user-side .side-nav { display: flex; overflow-x: auto; margin-top: 16px; padding-bottom: 4px; -webkit-overflow-scrolling: touch; }
  .user-side .side-nav a { padding: 8px 14px; white-space: nowrap; border-left: none; border-bottom: 2px solid transparent; }
  .user-side .side-nav a.router-link-active { border-left: none; border-bottom-color: #1c7cff; background: none; }
  .user-main { padding: 16px 14px; min-height: 320px; }
  .vip-status-card { padding: 18px; flex-direction: column; align-items: flex-start; gap: 12px; }

  /* 图库 */
  .gallery-grid.page-gallery { grid-template-columns: repeat(3, 1fr); }
  .qr-panel .qr-box { width: 190px; }

  /* 分页 */
  .pager { padding: 20px 0; }
  .pager .el-pagination { white-space: normal; }
  .pager .el-pagination .el-pager li { min-width: 30px; }

  /* 底部/在线客服(手机版) */
  .footer { padding: 24px 0; }
  .footer-flex { flex-direction: column; text-align: center; }
  .footer-flex .footer-text { text-align: center; }
  .footer-qr img { width: 82px; height: 82px; }
  .service-float { right: 12px; bottom: 90px; }
  .service-panel { right: 60px; width: 186px; }
  .service-qr { width: 140px; height: 140px; }
}

/* 平板(769-1024)两列布局 */
@media (min-width: 769px) and (max-width: 1024px) {
  .comp-grid { grid-template-columns: repeat(2, 1fr); }
  .vip-cards { grid-template-columns: repeat(2, 1fr); }
  .hero h1 { font-size: 34px; }
  .container { width: 100%; max-width: 100%; padding: 0 20px; }
  .el-dialog { width: 80% !important; }
}

/* ==================== v2.3.0 新增:公共数据/开放平台/批量查询 ==================== */

/* 开放平台接口文档块 */
.open-doc { background: #f7f9fc; border: 1px solid #e3ebf6; border-radius: 10px; padding: 16px 18px; font-size: 13px; color: #26334d; }
.open-doc p { margin: 10px 0 6px; }
.open-doc p:first-child { margin-top: 0; }
.open-doc code { background: #e8f1ff; color: #1472d0; padding: 2px 8px; border-radius: 4px; font-size: 12.5px; word-break: break-all; }
.open-doc pre { background: #1a2b45; color: #d7e4ff; border-radius: 8px; padding: 12px 14px; font-size: 12.5px; line-height: 1.8; overflow-x: auto; white-space: pre-wrap; word-break: break-all; }

/* 公共数据库说明卡片 */
.hub-card { background: linear-gradient(135deg, #f0f7ff, #e8f6ef); border: 1px solid #d5e8fa; border-radius: 10px; padding: 16px 20px; margin-bottom: 16px; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.hub-card b { font-size: 15px; color: #1a2b45; }
.hub-card p { color: #5b6b84; font-size: 13px; margin-top: 4px; }

/* ==================== v2.1.7 新增:社区圈子 + V认证徽章 ==================== */

/* V认证徽章:黄V个人 / 蓝V企业 / 红V官方 */
.v-badge { display: inline-flex; align-items: center; justify-content: center; width: 17px; height: 17px; border-radius: 50%; color: #fff; font-size: 11px; font-style: normal; font-weight: 700; line-height: 1; vertical-align: middle; margin: 0 3px; box-shadow: 0 1px 4px rgba(0,0,0,.18); flex-shrink: 0; }
.v-personal { background: linear-gradient(135deg, #f5c211, #e6a000); }   /* 黄V 个人认证 */
.v-company  { background: linear-gradient(135deg, #2f7bff, #1c56d6); }    /* 蓝V 企业认证 */
.v-official { background: linear-gradient(135deg, #ff4d4f, #d81e06); }    /* 红V 官方账号 */

/* 社区圈子头部 */
.community-head { background: linear-gradient(135deg, #f0f6ff 0%, #eef8f2 100%); border: 1px solid #d9e6f7; border-radius: 12px; padding: 16px 22px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; margin-bottom: 16px; }
.community-head h2 { margin: 0 0 4px; font-size: 18px; color: #1a2b45; display: flex; align-items: center; }
.community-head p { margin: 0; font-size: 13px; color: #5b6b84; }
.v-legend { display: flex; gap: 14px; font-size: 13px; color: #5b6b84; }
.v-legend span { display: inline-flex; align-items: center; }

/* 发帖框 */
.publish-box { background: #fff; border: 1px solid #e3ebf6; border-radius: 12px; padding: 18px 20px; margin-bottom: 18px; box-shadow: 0 2px 10px rgba(26,43,69,.04); }
.publish-title { display: flex; align-items: center; gap: 8px; font-size: 14px; margin-bottom: 12px; flex-wrap: wrap; }
.publish-title b { color: #1a2b45; }
.publish-foot { display: flex; justify-content: space-between; align-items: flex-end; gap: 14px; margin-top: 12px; flex-wrap: wrap; }
.publish-imgs { display: flex; gap: 10px; flex-wrap: wrap; }
.p-img { position: relative; width: 84px; height: 84px; }
.p-img img { width: 100%; height: 100%; object-fit: cover; border-radius: 10px; border: 1px solid #e3ebf6; }
.p-img i { position: absolute; top: -8px; right: -8px; width: 20px; height: 20px; border-radius: 50%; background: #f56c6c; color: #fff; font-size: 12px; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.p-add { width: 84px; height: 84px; border: 1px dashed #b9c9e2; border-radius: 10px; display: flex; flex-direction: column; align-items: center; justify-content: center; color: #8a99b3; font-size: 12px; cursor: pointer; transition: border-color .2s, color .2s; }
.p-add:hover { border-color: #1472d0; color: #1472d0; }
.p-add i { font-size: 20px; margin-bottom: 2px; }

/* 帖子卡片 */
.post-card { background: #fff; border: 1px solid #e3ebf6; border-radius: 12px; padding: 18px 20px; margin-bottom: 16px; box-shadow: 0 2px 10px rgba(26,43,69,.04); }
.post-head { display: flex; align-items: center; gap: 10px; }
.post-head .who b { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 2px; font-size: 14.5px; color: #1a2b45; }
.post-head .time { font-size: 12.5px; color: #93a1b5; }
.post-content { font-size: 14.5px; color: #26334d; line-height: 1.8; margin: 12px 0 10px; white-space: pre-wrap; word-break: break-word; }
.post-imgs { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 6px; }
.post-imgs img { width: 132px; height: 132px; object-fit: cover; border-radius: 10px; border: 1px solid #e3ebf6; cursor: pointer; transition: transform .2s; }
.post-imgs img:hover { transform: scale(1.03); }
.post-foot { display: flex; gap: 26px; border-top: 1px dashed #e8eef7; padding-top: 10px; margin-top: 8px; }
.post-foot span { color: #5b6b84; font-size: 13.5px; cursor: pointer; display: inline-flex; align-items: center; gap: 5px; user-select: none; }
.post-foot span:hover { color: #1472d0; }
.post-foot span i { font-size: 16px; }
.post-foot span.liked, .post-foot span.liked i { color: #f56c6c; font-weight: 700; }
.post-empty { text-align: center; color: #9aa8ba; padding: 48px 0; font-size: 14px; }

/* 评论弹层 */
.cmt-item { display: flex; gap: 10px; padding: 12px 4px; border-bottom: 1px dashed #e8eef7; font-size: 13.5px; align-items: flex-start; }
.cmt-item:last-child { border-bottom: none; }
.avatar.sm { width: 28px; height: 28px; font-size: 12px; flex-shrink: 0; }
.cmt-body { flex: 1; min-width: 0; }
.cmt-body b { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 2px; color: #1a2b45; }
.cmt-body p { margin: 4px 0; color: #26334d; line-height: 1.7; white-space: pre-wrap; word-break: break-word; }
.cmt-body .time { font-size: 12px; color: #93a1b5; }
.cmt-foot { display: flex; gap: 10px; align-items: center; }

/* ==================== v2.1.8:积分套餐卡片 + 社区分类/视频 ==================== */

/* 积分套餐购买卡片(开放平台页) */
.points-packages { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 18px; margin: 4px 0 8px; }
.points-pkg { position: relative; background: #fff; border: 1px solid #e3ebf6; border-radius: 12px; padding: 24px 16px 18px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 8px; box-shadow: 0 2px 10px rgba(26,43,69,.04); transition: transform .2s, border-color .2s, box-shadow .2s; }
.points-pkg:hover { transform: translateY(-3px); border-color: #8fb7ea; box-shadow: 0 8px 22px rgba(26,43,69,.1); }
.points-pkg.hot { border-color: #1472d0; box-shadow: 0 6px 18px rgba(20,114,208,.16); }
.points-pkg .ribbon { position: absolute; top: -11px; left: 50%; transform: translateX(-50%); background: linear-gradient(135deg, #ff7a45, #f5222d); color: #fff; font-size: 11px; padding: 2px 10px; border-radius: 10px; white-space: nowrap; box-shadow: 0 2px 8px rgba(245,34,45,.35); }
.points-pkg .pts { display: flex; align-items: baseline; gap: 3px; }
.points-pkg .pts b { font-size: 27px; color: #1a2b45; }
.points-pkg .pts span { font-size: 12px; color: #8a99b3; }
.points-pkg .calls { font-size: 12px; color: #5b6b84; }
.points-pkg .price { font-size: 21px; font-weight: 700; color: #e6532e; }
.points-pkg .buy-btn { margin-top: 6px; border: none; background: linear-gradient(135deg, #1c7cff, #0e4fd8); color: #fff; border-radius: 18px; padding: 8px 28px; font-size: 13px; cursor: pointer; transition: opacity .2s, transform .15s; }
.points-pkg .buy-btn:hover { opacity: .9; transform: scale(1.03); }
.points-pkg.hot .buy-btn { background: linear-gradient(135deg, #ff7a45, #f5222d); }

/* 社区分类tabs */
.cat-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.cat-tab { padding: 6px 14px; border-radius: 16px; background: #fff; border: 1px solid #e3ebf6; color: #5b6b84; font-size: 13px; cursor: pointer; transition: all .2s; user-select: none; }
.cat-tab:hover { color: #1472d0; border-color: #8fb7ea; }
.cat-tab.active { background: linear-gradient(135deg, #1c7cff, #0e4fd8); border-color: transparent; color: #fff; box-shadow: 0 3px 10px rgba(20,114,208,.25); }
.cat-tab .cnt { opacity: .72; font-size: 12px; margin-left: 3px; }
.post-cat { display: inline-block; font-size: 12px; color: #1472d0; background: #eef5ff; border: 1px solid #d7e8ff; border-radius: 4px; padding: 0 8px; margin-left: 6px; font-weight: 400; line-height: 18px; }

/* 社区帖子视频 */
.post-video { width: 100%; max-width: 560px; border-radius: 10px; border: 1px solid #e3ebf6; background: #000; margin: 4px 0 6px; display: block; }
.p-video { position: relative; width: 132px; height: 84px; }
.p-video video { width: 100%; height: 100%; object-fit: cover; border-radius: 10px; border: 1px solid #e3ebf6; background: #000; }
.p-video i { position: absolute; top: -8px; right: -8px; width: 20px; height: 20px; border-radius: 50%; background: #f56c6c; color: #fff; font-size: 12px; display: flex; align-items: center; justify-content: center; cursor: pointer; }

/* 手机端社区优化 */
@media (max-width: 768px) {
  .community-head { padding: 14px 16px; }
  .community-head h2 { font-size: 16px; }
  .v-legend { width: 100%; justify-content: flex-start; gap: 10px; }
  .publish-box { padding: 14px 16px; }
  .publish-foot .el-button { width: 100%; }
  .post-card { padding: 14px 16px; }
  .post-imgs img { width: 104px; height: 104px; }
  .p-img, .p-add { width: 72px; height: 72px; }
  .post-foot { gap: 16px; }
  .v-badge { width: 15px; height: 15px; font-size: 10px; margin: 0 2px; }
  .cmt-foot { flex-direction: column; align-items: stretch; }
  .points-packages { grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 10px; }
  .points-pkg { padding: 18px 10px 14px; }
  .points-pkg .pts b { font-size: 22px; }
  .post-video { max-width: 100%; }
}

/* 增值服务勾选清单(v2.2.7) */
.vas-list { background: rgba(255, 255, 255, .97); border-radius: 14px; padding: 10px 18px; }
.vas-item { display: flex; align-items: center; gap: 14px; padding: 18px 6px; border-bottom: 1px dashed #edf1f7; cursor: pointer; transition: background .15s; }
.vas-item:last-child { border-bottom: none; }
.vas-item:hover { background: #fafcff; }
.vas-item.off { cursor: default; opacity: .82; }
.vas-body { flex: 1; min-width: 0; }
.vas-name b { font-size: 15px; color: #1a2b45; }
.vas-desc { font-size: 12.5px; color: #8a99b3; margin-top: 4px; }
.vas-price { text-align: right; white-space: nowrap; }
.vas-price b { display: block; font-size: 20px; color: #e6532e; }
.vas-price i { font-style: normal; font-size: 11.5px; color: #9aa8ba; }
.vas-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 22px; background: rgba(255, 255, 255, .97); border-radius: 14px; padding: 18px 22px; flex-wrap: wrap; }
.vas-total { color: #f4d9a0; font-size: 13px; }
.vas-total .amt { font-size: 15px; margin-top: 4px; }
.vas-total .amt b { color: #ffcf6b; font-size: 24px; margin-left: 6px; }
.vas-foot .buy-btn { border: none; background: linear-gradient(135deg, #ffcf6b, #f5a623); color: #6b4600; border-radius: 22px; padding: 12px 42px; font-size: 15px; font-weight: 600; cursor: pointer; }
.vas-foot .buy-btn:hover { filter: brightness(1.05); }
.vas-foot .buy-btn:disabled { opacity: .55; cursor: not-allowed; }

/* 详情页LOGO下载按钮(v2.2.7) */
.logo-dl { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; color: #1c7cff; cursor: pointer; }
.logo-dl:hover { color: #0e4fd8; }

@media (max-width: 768px) {
  .vas-foot { flex-direction: column; align-items: stretch; text-align: center; }
  .vas-foot .buy-btn { width: 100%; }
  .vas-item { gap: 10px; padding: 14px 2px; }
}
