/* ============================================================
   SaaS 扩展页样式：我的(wode) / 多模型协作(chatduo) 深色
   开放平台(op) / 代理商中心(ag) 浅色
   ============================================================ */

body.wode-mode .header, body.wode-mode .footer, body.wode-mode .serv-fab,
body.chatduo-mode .header, body.chatduo-mode .footer, body.chatduo-mode .serv-fab,
body.apihome-mode .header, body.apihome-mode .footer, body.apihome-mode .serv-fab,
body.apisquare-mode .header, body.apisquare-mode .footer, body.apisquare-mode .serv-fab,
body.apiconsole-mode .header, body.apiconsole-mode .footer, body.apiconsole-mode .serv-fab,
body.apidoc-mode .header, body.apidoc-mode .footer, body.apidoc-mode .serv-fab,
body.apirank-mode .header, body.apirank-mode .footer, body.apirank-mode .serv-fab,
body.agent-mode .header, body.agent-mode .footer, body.agent-mode .serv-fab { display: none !important; }

/* ------------------------------- 我的（深色） ------------------------------- */
.wd { display: flex; min-height: 100vh; background: #0f0f12; color: #e8e8ec; font-family: 'PingFang SC', 'Microsoft YaHei', sans-serif; }
.wd * { box-sizing: border-box; }
.wd a { color: inherit; text-decoration: none; }
.wd button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
.wd-main { flex: 1; min-width: 0; padding: 18px 24px 40px; }
.wd-head { display: flex; align-items: center; gap: 14px; }
.wd-back { width: 30px; height: 30px; border-radius: 8px; background: rgba(255,255,255,.06); font-size: 16px; }
.wd-head h1 { font-size: 18px; margin: 0; }
.wd-tabs { display: flex; gap: 4px; margin-left: 8px; }
.wd-tabs button { padding: 6px 14px; border-radius: 8px; font-size: 12.5px; color: #9aa0aa; background: rgba(255,255,255,.04); }
.wd-tabs button.on { color: #06231f; background: #2ee6d6; font-weight: 600; }
.wd-date { margin-left: auto; font-size: 12.5px; color: #9aa0aa; padding: 6px 12px; border: 1px solid rgba(255,255,255,.09); border-radius: 8px; }
.wd-batch { font-size: 12.5px; color: #cdd3da; padding: 6px 14px; background: rgba(255,255,255,.06); border-radius: 8px; }
.wd-tip { margin-top: 14px; font-size: 12px; color: #f0b35c; background: rgba(240,179,92,.06); border: 1px solid rgba(240,179,92,.22); border-radius: 10px; padding: 9px 14px; }
.wd-tip b { color: #ff7a7a; }
.wd-tip i { float: right; font-style: normal; cursor: pointer; color: #9aa0aa; }
.wd-grid { margin-top: 18px; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
.wd-loading, .wd-empty { grid-column: 1/-1; text-align: center; color: #6b7280; padding: 80px 0; font-size: 13px; line-height: 2; }
.wd-item { position: relative; background: #16161b; border: 1px solid rgba(255,255,255,.06); border-radius: 13px; overflow: hidden; }
.wd-item:hover { border-color: rgba(46,230,214,.35); }
.wd-item-m { aspect-ratio: 16/9; background: #000; }
.wd-item-m img, .wd-item-m video { width: 100%; height: 100%; object-fit: cover; display: block; }
.wd-vtag { position: absolute; top: 8px; left: 8px; font-style: normal; font-size: 10px; color: #06231f; background: #2ee6d6; border-radius: 6px; padding: 2px 7px; font-weight: 700; }
.wd-item-b { padding: 9px 12px; }
.wd-item-b b { display: block; font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wd-item-b span { font-size: 10.5px; color: #8a919c; }
.wd-dl { position: absolute; right: 8px; bottom: 8px; width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; background: rgba(0,0,0,.55); color: #fff; font-size: 12px; opacity: 0; transition: opacity .15s; }
.wd-item:hover .wd-dl { opacity: 1; }

.wd-side { width: 300px; flex: 0 0 300px; border-left: 1px solid rgba(255,255,255,.06); padding: 18px 16px; display: flex; flex-direction: column; gap: 14px; overflow: auto; }
.wd-card { background: #16161b; border: 1px solid rgba(255,255,255,.06); border-radius: 16px; padding: 16px; }
.wd-card h3 { margin: 0 0 14px; font-size: 14px; }
.wd-user { display: flex; align-items: center; gap: 10px; }
.wd-avatar { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-size: 19px; font-weight: 700; color: #06231f; background: linear-gradient(135deg, #2ee6d6, #14b8a6); }
.wd-name { font-size: 14.5px; font-weight: 600; flex: 1; }
.wd-edit { color: #8a919c; font-size: 13px; }
.wd-edit:hover { color: #fff; }
.wd-balance { display: flex; justify-content: space-between; align-items: center; margin: 16px 0 10px; font-size: 13px; color: #9aa0aa; }
.wd-balance b { font-size: 17px; color: #2ee6d6; font-family: ui-monospace, monospace; }
.wd-switch { display: flex; gap: 10px; align-items: flex-start; cursor: pointer; padding: 4px 0 12px; }
.wd-switch input { display: none; }
.wd-switch i { width: 34px; height: 19px; flex: 0 0 34px; border-radius: 999px; background: #3a3a42; position: relative; transition: background .15s; }
.wd-switch i::after { content: ''; position: absolute; top: 2px; left: 2px; width: 15px; height: 15px; border-radius: 50%; background: #fff; transition: left .15s; }
.wd-switch input:checked + i { background: #2ee6d6; }
.wd-switch input:checked + i::after { left: 17px; }
.wd-switch-t b { display: block; font-size: 12.5px; }
.wd-switch-t span { font-size: 10.5px; color: #8a919c; line-height: 1.5; }
.wd-accmgr { width: 100%; text-align: left; padding: 10px 12px; border-radius: 10px; background: rgba(255,255,255,.05); font-size: 12.5px; }
.wd-accmgr em { float: right; font-style: normal; color: #8a919c; }
.wd-acc-list { display: flex; flex-direction: column; gap: 2px; margin-top: 6px; }
.wd-acc-list a { font-size: 12px; color: #9aa0aa; padding: 7px 12px; border-radius: 8px; }
.wd-acc-list a:hover { background: rgba(255,255,255,.05); color: #fff; }
.wd-feats { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.wd-feat { display: flex; align-items: center; gap: 9px; padding: 10px; border-radius: 12px; background: rgba(255,255,255,.035); border: 1px solid rgba(255,255,255,.04); }
.wd-feat:hover { border-color: rgba(46,230,214,.3); }
.wd-feat i { font-style: normal; font-size: 17px; width: 34px; height: 34px; flex: 0 0 34px; display: grid; place-items: center; border-radius: 10px; background: rgba(46,230,214,.1); }
.wd-feat span b { display: block; font-size: 12px; font-weight: 600; }
.wd-feat span em { font-style: normal; font-size: 9.5px; color: #8a919c; }
.wd-logout { width: 100%; margin-top: 12px; padding: 9px; border-radius: 10px; color: #f87171; background: rgba(248,113,113,.08); font-size: 12.5px; }

/* ------------------------------- 多模型协作（深色） ------------------------------- */
.cd { display: flex; min-height: 100vh; background: radial-gradient(900px 500px at 50% -10%, rgba(250, 190, 60, .06), transparent 60%), #0f0f12; color: #e8e8ec; font-family: 'PingFang SC', 'Microsoft YaHei', sans-serif; }
.cd * { box-sizing: border-box; }
.cd button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
.cd-side { width: 190px; flex: 0 0 190px; border-right: 1px solid rgba(255,255,255,.06); padding: 18px 12px; }
.cd-side > b { font-size: 12.5px; color: #cdd3da; display: block; margin-bottom: 12px; }
.cd-h { display: block; width: 100%; text-align: left; font-size: 11.5px; color: #9aa0aa; padding: 8px 9px; border-radius: 8px; }
.cd-h:hover { background: rgba(255,255,255,.05); }
.cd-hint { font-size: 11px; color: #5c6470; padding: 8px; display: block; }
.cd-main { flex: 1; min-width: 0; max-width: 880px; margin: 0 auto; padding: 16px 22px 20px; display: flex; flex-direction: column; }
.cd-new { align-self: flex-start; padding: 8px 16px; border-radius: 999px; background: linear-gradient(135deg, #f7b733, #f59e0b); color: #231a02; font-weight: 700; font-size: 13px; box-shadow: 0 4px 16px rgba(245, 158, 11, .3); }
.cd-hero { text-align: center; padding: 30px 10px 10px; }
.cd-hero-ic { width: 52px; height: 52px; margin: 0 auto 12px; border-radius: 50%; display: grid; place-items: center; font-size: 24px; color: #f7b733; background: rgba(247, 183, 51, .1); box-shadow: 0 0 30px rgba(247, 183, 51, .2); }
.cd-hero h1 { font-size: 27px; margin: 0 0 8px; }
.cd-hero h1 em { font-style: normal; color: #f7b733; }
.cd-hero p { color: #9aa0aa; font-size: 13px; margin: 0 0 24px; }
.cd-feats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; max-width: 640px; margin: 0 auto 24px; }
.cd-feats > div { display: flex; align-items: center; gap: 10px; text-align: left; background: rgba(255,255,255,.035); border: 1px solid rgba(255,255,255,.06); border-radius: 14px; padding: 13px 15px; }
.cd-feats i { font-style: normal; font-size: 20px; width: 40px; height: 40px; flex: 0 0 40px; display: grid; place-items: center; border-radius: 12px; background: rgba(247, 183, 51, .1); }
.cd-feats b { display: block; font-size: 13px; }
.cd-feats span { font-size: 10.5px; color: #8a919c; }
.cd-quick { font-size: 12px; color: #f7b733; display: flex; align-items: center; justify-content: center; gap: 8px; flex-wrap: wrap; }
.cd-quick button { font-size: 11.5px; color: #cdd3da; background: rgba(255,255,255,.05); padding: 5px 12px; border-radius: 999px; }
.cd-quick button:hover { color: #fff; }
.cd-thread { flex: 1; overflow: auto; padding: 10px 0; }
.cd-q { align-self: flex-end; max-width: 70%; background: rgba(247, 183, 51, .12); border: 1px solid rgba(247, 183, 51, .25); padding: 10px 14px; border-radius: 14px 14px 4px 14px; font-size: 13px; margin: 12px 0 12px auto; width: fit-content; margin-left: auto; }
.cd-answers { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 16px; }
.cd-a { background: #16161b; border: 1px solid rgba(255,255,255,.07); border-radius: 14px; padding: 12px 14px; }
.cd-a b { font-size: 12px; color: #f7b733; display: flex; align-items: center; gap: 8px; }
.cd-a b em { font-style: normal; font-size: 10px; color: #5c6470; font-weight: 400; }
.cd-a-t { font-size: 12.5px; color: #cdd3da; line-height: 1.75; margin-top: 8px; white-space: pre-wrap; word-break: break-word; }
.cd-a.fusion { grid-column: 1/-1; border-color: rgba(247, 183, 51, .35); background: linear-gradient(135deg, rgba(247,183,51,.06), rgba(255,255,255,.02)); }
.cd-a.err { border-color: rgba(248, 113, 113, .3); }
.cd-input { background: #16161b; border: 1px solid rgba(255,255,255,.08); border-radius: 18px; padding: 10px 12px; margin-top: 8px; }
.cd-input-t { display: flex; gap: 8px; align-items: flex-end; }
.cd-up { font-size: 11.5px; color: #9aa0aa; background: rgba(255,255,255,.05); padding: 6px 10px; border-radius: 8px; white-space: nowrap; }
.cd-gear { color: #9aa0aa; font-size: 15px; padding: 4px; }
.cd-input textarea { flex: 1; background: none; border: none; outline: none; resize: none; color: #e8e8ec; font-size: 13.5px; line-height: 1.6; }
.cd-input textarea::placeholder { color: #5c6470; }
.cd-send { width: 38px; height: 38px; flex: 0 0 38px; border-radius: 12px; background: #2ee6d6; color: #06231f; font-size: 16px; display: grid; place-items: center; }
.cd-input-b { display: flex; align-items: center; gap: 8px; margin-top: 8px; flex-wrap: wrap; }
.cd-mini { font-size: 11px; color: #9aa0aa; background: rgba(255,255,255,.05); padding: 5px 10px; border-radius: 8px; }
.cd-models { display: flex; gap: 5px; flex-wrap: wrap; }
.cd-m { font-size: 11px; color: #8a919c; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.07); padding: 4px 10px; border-radius: 999px; }
.cd-m.on { color: #06231f; background: #2ee6d6; border-color: #2ee6d6; font-weight: 600; }
.cd-float { position: fixed; right: 22px; bottom: 26px; display: flex; flex-direction: column; gap: 8px; z-index: 10; }
.cd-float > div { display: flex; align-items: center; gap: 8px; background: #16161b; border: 1px solid rgba(255,255,255,.08); border-radius: 12px; padding: 9px 13px; font-size: 12px; }
.cd-float i { font-style: normal; }
.cd-float em { font-style: normal; color: #f7b733; font-size: 10.5px; }

/* ------------------------------- 开放平台（浅色） ------------------------------- */
.op { min-height: 100vh; background: #f8f9fa; color: #101828; font-family: 'PingFang SC', 'Microsoft YaHei', sans-serif; }
.op * { box-sizing: border-box; }
.op a { color: inherit; text-decoration: none; }
.op button { font: inherit; cursor: pointer; }
.op-top { display: flex; align-items: center; gap: 26px; padding: 14px 28px; background: #fff; border-bottom: 1px solid #eef0f3; position: sticky; top: 0; z-index: 20; }
.op-logo { font-size: 15px; font-weight: 700; display: flex; align-items: center; gap: 7px; }
.op-logo-ic { color: #175cd3; }
.op-logo em { font-style: normal; font-weight: 400; color: #667085; font-size: 12px; }
.op-top nav { display: flex; gap: 4px; flex: 1; }
.op-top nav a { font-size: 13.5px; color: #475467; padding: 7px 13px; border-radius: 9px; }
.op-top nav a:hover { background: #f2f4f7; }
.op-top nav a.on { color: #101828; font-weight: 600; background: #f2f4f7; }
.op-top-r { display: flex; align-items: center; gap: 14px; font-size: 12.5px; color: #475467; }
.op-avatar { min-width: 30px; height: 30px; padding: 0 8px; border-radius: 999px; display: grid; place-items: center; background: linear-gradient(135deg, #175cd3, #7a5af8); color: #fff; font-weight: 700; font-size: 12.5px; }

.op-hero { display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center; padding: 70px 7vw 60px; background: radial-gradient(800px 400px at 20% 0%, #eaf2ff, transparent 60%); }
.op-badge { display: inline-block; font-size: 11.5px; color: #175cd3; background: #eaf2ff; border: 1px solid #c9dcff; padding: 4px 12px; border-radius: 999px; }
.op-hero h1 { font-size: 44px; line-height: 1.2; margin: 18px 0 14px; letter-spacing: .01em; }
.op-hero h1 em { font-style: normal; background: linear-gradient(90deg, #175cd3, #7a5af8); -webkit-background-clip: text; background-clip: text; color: transparent; }
.op-hero p { color: #475467; font-size: 14.5px; line-height: 1.8; max-width: 460px; }
.op-hero-btns { display: flex; gap: 10px; margin-top: 26px; }
.op-btn { display: inline-flex; align-items: center; gap: 6px; padding: 11px 20px; border-radius: 11px; font-size: 13.5px; font-weight: 600; border: 1px solid #d0d5dd; color: #344054; background: #fff; }
.op-btn.primary { background: linear-gradient(135deg, #2e90fa, #175cd3); border: none; color: #fff; box-shadow: 0 6px 18px rgba(23, 92, 211, .28); }
.op-btn.ghost { background: transparent; border-color: #e4e7ec; }
.op-codecard { background: #fff; border: 1px solid #eaecf0; border-radius: 18px; box-shadow: 0 18px 50px rgba(16, 24, 40, .08); padding: 16px 18px; font-size: 12px; }
.op-cc-tabs { display: flex; gap: 4px; border-bottom: 1px solid #f2f4f7; padding-bottom: 8px; }
.op-cc-tabs span { padding: 3px 10px; font-size: 11px; color: #98a2b3; border-radius: 6px; }
.op-cc-tabs span.on { color: #101828; background: #f2f4f7; font-weight: 600; }
.op-cc-tabs em { margin-left: auto; font-style: normal; font-size: 10.5px; color: #12b76a; }
.op-cc-line { padding: 10px 0 4px; font-family: ui-monospace, monospace; font-size: 12px; color: #344054; }
.op-post { font-style: normal; color: #039855; background: #ecfdf3; padding: 2px 7px; border-radius: 5px; font-size: 10.5px; font-weight: 700; }
.op-cc-sec { font-size: 9.5px; letter-spacing: .14em; color: #98a2b3; margin: 12px 0 5px; }
.op-codecard pre { margin: 0; font-family: ui-monospace, monospace; font-size: 11.5px; line-height: 1.7; color: #344054; background: #f9fafb; border-radius: 10px; padding: 10px 12px; overflow: auto; }
.op-cc-foot { display: flex; justify-content: space-between; margin-top: 10px; font-size: 10px; color: #98a2b3; }
.op-cc-foot i { font-style: normal; font-weight: 700; }

.op-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding: 34px 7vw; border-top: 1px solid #eef0f3; }
.op-stats div { text-align: center; }
.op-stats b { font-size: 30px; font-weight: 800; display: block; }
.op-stats span { font-size: 12.5px; color: #667085; }
.op-feats { padding: 50px 7vw 40px; }
.op-feats h2, .op-baseurl h2 { font-size: 26px; margin: 0 0 6px; }
.op-feats-sub, .op-baseurl p { color: #667085; font-size: 13.5px; }
.op-feat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 26px; }
.op-feat { background: #fff; border: 1px solid #eaecf0; border-radius: 16px; padding: 20px; }
.op-feat em { font-style: normal; font-size: 12px; color: #175cd3; font-weight: 700; }
.op-feat h3 { margin: 10px 0 7px; font-size: 15.5px; }
.op-feat p { font-size: 12.5px; color: #667085; line-height: 1.7; }
.op-feat-tags { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 10px; }
.op-feat-tags span { font-size: 10.5px; background: #f2f4f7; padding: 3px 9px; border-radius: 999px; color: #475467; }
.op-feat-bar { height: 8px; background: #f2f4f7; border-radius: 999px; margin-top: 14px; }
.op-feat-bar i { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, #2e90fa, #7a5af8); }
.op-feat-steps { display: flex; align-items: center; gap: 6px; margin-top: 14px; font-size: 10.5px; color: #475467; }
.op-feat-steps span { background: #f2f4f7; padding: 3px 9px; border-radius: 999px; }
.op-baseurl { text-align: center; padding: 50px 7vw 70px; }
.op-url { display: inline-flex; align-items: center; gap: 12px; margin-top: 18px; background: #101828; color: #7df0dd; padding: 13px 20px; border-radius: 12px; font-size: 14px; }
.op-copy { background: rgba(255,255,255,.1); color: #fff; border: none; padding: 5px 12px; border-radius: 8px; font-size: 11.5px; }
.mono { font-family: ui-monospace, monospace; }

/* 开放平台 · 模型广场 */
.op-sq-head { text-align: center; padding: 46px 20px 30px; background: radial-gradient(700px 300px at 50% 0%, #eaf2ff, transparent 65%); }
.op-sq-crumb { font-size: 12px; color: #667085; }
.op-sq-crumb b { color: #175cd3; }
.op-sq-head h1 { font-size: 36px; margin: 8px 0; }
.op-sq-sub { color: #667085; font-size: 14px; }
.op-sq-search { display: flex; max-width: 620px; margin: 22px auto 0; background: #fff; border: 1.5px solid #d0d5dd; border-radius: 999px; overflow: hidden; }
.op-sq-search input { flex: 1; border: none; outline: none; padding: 13px 20px; font-size: 13.5px; }
.op-sq-search button { border: none; background: linear-gradient(135deg, #2e90fa, #175cd3); color: #fff; padding: 0 26px; font-size: 13px; font-weight: 600; }
.op-sq-body { display: flex; gap: 22px; padding: 10px 4vw 50px; align-items: flex-start; }
.op-sq-filter { width: 230px; flex: 0 0 230px; background: #fff; border: 1px solid #eaecf0; border-radius: 16px; padding: 16px; position: sticky; top: 76px; }
.op-f-head { display: flex; justify-content: space-between; align-items: center; font-size: 13.5px; }
.op-f-head button { border: none; background: none; color: #667085; font-size: 12px; }
.op-f-tip { font-size: 11px; color: #98a2b3; margin: 6px 0 12px; }
.op-f-sec { margin-bottom: 14px; }
.op-f-sec > b { font-size: 12px; display: block; margin-bottom: 7px; }
.op-f-sec button { display: flex; justify-content: space-between; width: 100%; border: none; background: none; font-size: 12px; color: #475467; padding: 6px 9px; border-radius: 8px; text-align: left; }
.op-f-sec button em { font-style: normal; color: #98a2b3; font-size: 10.5px; }
.op-f-sec button:hover { background: #f2f4f7; }
.op-f-sec button.on { background: #eaf2ff; color: #175cd3; font-weight: 600; }
.op-sq-grid { flex: 1; min-width: 0; }
.op-sq-loading { display: flex; justify-content: center; padding: 60px; }
.op-sq-loading .mj-spin { border-color: #d0d5dd; border-top-color: #175cd3; }
.op-sq-tabs { display: flex; gap: 6px; align-items: center; margin-bottom: 16px; flex-wrap: wrap; }
.op-sq-tabs button { border: none; background: #fff; border: 1px solid #eaecf0; padding: 7px 14px; border-radius: 999px; font-size: 12.5px; color: #475467; }
.op-sq-tabs button.on { background: #101828; color: #fff; border-color: #101828; }
.op-sq-tabs button em { font-style: normal; font-size: 10.5px; opacity: .65; }
.op-sq-total { margin-left: auto; font-size: 12px; color: #667085; }
.op-sq-total b { font-size: 15px; color: #101828; }
.op-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 14px; }
.op-card { background: #fff; border: 1px solid #eaecf0; border-radius: 16px; padding: 16px; transition: box-shadow .15s; }
.op-card:hover { box-shadow: 0 10px 30px rgba(16, 24, 40, .08); }
.op-card-h { display: flex; gap: 10px; align-items: center; }
.op-card-ic { width: 36px; height: 36px; flex: 0 0 36px; border-radius: 11px; display: grid; place-items: center; color: #fff; font-size: 15px; font-weight: 700; }
.op-card-t { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.op-card-t b { font-size: 14px; }
.op-card-t em { font-style: normal; font-size: 10.5px; color: #98a2b3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.op-card-type { font-style: normal; font-size: 10px; color: #175cd3; background: #eaf2ff; padding: 2px 8px; border-radius: 999px; }
.op-card-price { display: flex; align-items: center; gap: 8px; margin: 12px 0 8px; font-size: 11px; color: #667085; }
.op-card-price b { color: #b54708; font-size: 13px; }
.op-card-price b small { font-weight: 400; color: #98a2b3; font-size: 10px; }
.op-card-price .op-card-off { color: #98a2b3; }
.op-card-rate { margin-left: auto; font-style: normal; font-size: 10.5px; color: #98a2b3; }
.op-card-rate.ok { color: #12b76a; }
.op-card-desc { font-size: 12px; color: #667085; line-height: 1.65; min-height: 40px; margin: 0 0 10px; }
.op-card-f { display: flex; align-items: center; gap: 8px; }
.op-card-tag { font-size: 10.5px; color: #475467; background: #f2f4f7; padding: 3px 9px; border-radius: 999px; }
.op-card-test { margin-left: auto; border: none; background: #eaf2ff; color: #175cd3; font-size: 11px; padding: 5px 11px; border-radius: 8px; font-weight: 600; }
.op-card-more { font-size: 11px; color: #175cd3; }
.op-empty { text-align: center; color: #98a2b3; padding: 60px 0; font-size: 13px; }

/* 开放平台 · 控制台 */
.opc { display: flex; min-height: calc(100vh - 59px); }
.opc-side { width: 218px; flex: 0 0 218px; background: #fff; border-right: 1px solid #eef0f3; padding: 14px 10px; overflow: auto; }
.opc-sec { font-size: 10.5px; color: #98a2b3; letter-spacing: .06em; margin: 14px 10px 6px; }
.opc-item { display: block; font-size: 13px; color: #475467; padding: 8px 11px; border-radius: 9px; margin-bottom: 1px; }
.opc-item:hover { background: #f2f4f7; }
.opc-item.on { background: #eaf2ff; color: #175cd3; font-weight: 600; }
.opc-main { flex: 1; min-width: 0; padding: 24px 28px 50px; overflow: auto; }
.opc-title h1 { font-size: 20px; margin: 0 0 4px; display: flex; align-items: center; gap: 12px; }
.opc-guide { font-size: 11px; color: #175cd3; background: #eaf2ff; padding: 3px 10px; border-radius: 999px; font-weight: 500; }
.opc-sub { font-size: 12.5px; color: #667085; margin: 0 0 14px; }
.opc-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.opc-card { background: #fff; border: 1px solid #eaecf0; border-radius: 16px; padding: 18px; grid-column: span 2; }
.opc-card.wide { grid-column: span 4; }
.opc-card.wide2 { grid-column: span 4; }
.opc-card-h { display: flex; align-items: center; justify-content: space-between; font-size: 13.5px; margin-bottom: 10px; }
.opc-card-h > div { display: flex; gap: 12px; align-items: center; font-size: 11.5px; color: #667085; }
.opc-btn-sm { border: 1px solid #d0d5dd; background: #fff; padding: 5px 11px; border-radius: 8px; font-size: 11.5px; color: #344054; }
.opc-card h2 { font-size: 17px; margin: 4px 0; }
.opc-steps { display: flex; flex-direction: column; gap: 8px; margin-top: 14px; }
.opc-step { display: flex; align-items: center; gap: 12px; background: #f9fafb; border: 1px solid #eef0f3; border-radius: 12px; padding: 11px 14px; }
.opc-step i { width: 24px; height: 24px; flex: 0 0 24px; border-radius: 50%; border: 1.5px solid #d0d5dd; display: grid; place-items: center; font-style: normal; font-size: 12px; color: #98a2b3; }
.opc-step.done i { background: #12b76a; border-color: #12b76a; color: #fff; }
.opc-step span { flex: 1; display: flex; flex-direction: column; }
.opc-step span b { font-size: 13px; }
.opc-step span em { font-style: normal; font-size: 11px; color: #98a2b3; }
.opc-step a { color: #98a2b3; font-size: 17px; }
.opc-pre { background: #101828; color: #b2ddff; border-radius: 12px; padding: 13px 15px; font-size: 11.5px; line-height: 1.7; overflow: auto; margin: 0; }
.opc-health { display: flex; flex-direction: column; gap: 6px; margin-top: 12px; font-size: 12px; color: #475467; }
.opc-health b { margin-left: auto; float: right; }
.opc-health div { display: flex; align-items: center; gap: 8px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: #d0d5dd; }
.dot.ok { background: #12b76a; }
.opc-link { display: flex; flex-direction: column; gap: 2px; padding: 11px 12px; border-radius: 11px; font-size: 13px; font-weight: 600; color: #344054; }
.opc-link:hover { background: #f9fafb; }
.opc-link span { font-size: 11px; color: #98a2b3; font-weight: 400; }
.opc-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 10px; }
.opc-kpis > div { background: #f9fafb; border-radius: 12px; padding: 14px; display: flex; flex-direction: column; gap: 3px; }
.opc-kpis span { font-size: 11px; color: #667085; }
.opc-kpis b { font-size: 21px; font-family: ui-monospace, monospace; }
.opc-kpis em { font-style: normal; font-size: 10px; color: #98a2b3; }
.opc-card.balance { background: linear-gradient(135deg, #f0f7ff, #fff); }
.opc-tag { font-size: 10.5px; color: #12b76a; }
.opc-bal { font-size: 30px; font-weight: 800; font-family: ui-monospace, monospace; margin: 6px 0; }
.opc-table { width: 100%; border-collapse: collapse; font-size: 12.5px; }
.opc-table th { text-align: left; color: #98a2b3; font-weight: 500; font-size: 11.5px; padding: 8px 10px; border-bottom: 1px solid #f2f4f7; }
.opc-table td { padding: 10px; border-bottom: 1px solid #f9fafb; color: #344054; }
.opc-del { border: none; background: none; color: #f04438; font-size: 12px; }
.opc-st { font-size: 10.5px; padding: 2px 9px; border-radius: 999px; }
.opc-st.succeeded, .opc-st.paid { background: #ecfdf3; color: #039855; }
.opc-st.failed { background: #fef3f2; color: #f04438; }
.opc-st.running, .opc-st.pending { background: #fffaeb; color: #b54708; }

/* ------------------------------- 代理商中心（浅色） ------------------------------- */
.ag { min-height: 100vh; background: #f5f6f8; color: #101828; font-family: 'PingFang SC', 'Microsoft YaHei', sans-serif; display: grid; grid-template-columns: 218px 1fr; grid-template-rows: 56px 1fr; }
.ag * { box-sizing: border-box; }
.ag a { color: inherit; text-decoration: none; }
.ag button { font: inherit; cursor: pointer; }
.ag-top { grid-column: 1/-1; display: flex; align-items: center; gap: 16px; background: #fff; border-bottom: 1px solid #eef0f3; padding: 0 20px; }
.ag-brand { font-size: 14.5px; font-weight: 700; display: flex; align-items: center; gap: 7px; }
.ag-brand i { color: #175cd3; font-style: normal; }
.ag-crumb { font-size: 12.5px; color: #667085; }
.ag-top-r { margin-left: auto; display: flex; align-items: center; gap: 14px; font-size: 13px; }
.ag-withdraw { background: linear-gradient(135deg, #2e90fa, #175cd3); color: #fff; padding: 7px 16px; border-radius: 9px; font-size: 12.5px; font-weight: 600; }
.ag-user { color: #344054; font-weight: 600; }
.ag-side { background: #fff; border-right: 1px solid #eef0f3; padding: 14px 10px; overflow: auto; }
.ag-g { margin-bottom: 8px; }
.ag-g > b { display: flex; font-size: 12px; color: #667085; padding: 8px 10px 5px; }
.ag-g a { display: block; font-size: 12.5px; color: #475467; padding: 7px 11px 7px 22px; border-radius: 8px; }
.ag-g a:hover { background: #f2f4f7; }
.ag-g a.on { background: #eaf2ff; color: #175cd3; font-weight: 600; }
.ag-tutorial { margin: 16px 6px 6px; background: #101828; border-radius: 13px; padding: 13px; color: #fff; }
.ag-tutorial b { font-size: 12px; display: block; }
.ag-tutorial span { font-size: 10.5px; color: #98a2b3; }
.ag-main { padding: 22px 26px 50px; overflow: auto; }
.ag-title { display: flex; align-items: baseline; gap: 12px; margin-bottom: 16px; }
.ag-title h1 { font-size: 20px; margin: 0; }
.ag-title p { color: #667085; font-size: 12.5px; margin: 0; }
.ag-refresh { margin-left: auto; border: 1px solid #d0d5dd; background: #fff; padding: 6px 14px; border-radius: 9px; font-size: 12px; color: #344054; }
.ag-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 14px; }
.ag-kpis.five { grid-template-columns: repeat(5, 1fr); }
.ag-kpi { background: #fff; border: 1px solid #eaecf0; border-left: 3px solid #d0d5dd; border-radius: 13px; padding: 14px 16px; display: flex; flex-direction: column; gap: 4px; }
.ag-kpi span { font-size: 11.5px; color: #667085; }
.ag-kpi b { font-size: 21px; font-family: ui-monospace, monospace; }
.ag-kpi em { font-style: normal; font-size: 10.5px; color: #98a2b3; }
.ag-kpi em a { color: #175cd3; }
.ag-kpi.c-green { border-left-color: #12b76a; }
.ag-kpi.c-blue { border-left-color: #2e90fa; }
.ag-kpi.c-cyan { border-left-color: #06aed4; }
.ag-kpi.c-orange { border-left-color: #f79009; }
.ag-kpi.c-purple { border-left-color: #7a5af8; }
.ag-kpi.c-gold { border-left-color: #eab308; }
.ag-kpi.c-teal { border-left-color: #14b8a6; }
.ag-filter-bar { text-align: center; font-size: 11.5px; color: #98a2b3; margin: 16px 0 10px; }
.ag-periods { display: flex; gap: 6px; justify-content: center; flex-wrap: wrap; margin-bottom: 8px; }
.ag-periods button { border: none; background: #fff; border: 1px solid #eaecf0; padding: 6px 15px; border-radius: 9px; font-size: 12px; color: #475467; }
.ag-periods button.on { background: #175cd3; color: #fff; border-color: #175cd3; }
.ag-p-note { text-align: center; font-size: 11px; color: #98a2b3; margin-bottom: 14px; }
.ag-btn-sm { border: 1px solid #d0d5dd; background: #fff; padding: 3px 10px; border-radius: 7px; font-size: 10.5px; color: #475467; }
.ag-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 12px; }
.ag-card { background: #fff; border: 1px solid #eaecf0; border-radius: 13px; padding: 16px; }
.ag-card > b { font-size: 13.5px; display: block; margin-bottom: 10px; }
.ag-card-h { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; font-size: 13px; }
.ag-card-h span { color: #98a2b3; font-size: 11.5px; }
.ag-bars { display: flex; align-items: flex-end; gap: 3px; height: 96px; padding-top: 6px; }
.ag-bars i { flex: 1; background: linear-gradient(180deg, #2e90fa, #175cd3); border-radius: 3px 3px 0 0; min-height: 3px; }
.ag-empty-sm { text-align: center; color: #98a2b3; font-size: 12px; padding: 22px 0; line-height: 1.8; }
.ag-funnel div { background: linear-gradient(90deg, #2e90fa33, #2e90fa); color: #fff; font-size: 11px; padding: 7px 12px; border-radius: 8px; margin-bottom: 6px; }
.ag-split { margin-top: 14px; font-size: 12px; color: #667085; }
.ag-split-bar { height: 8px; background: #f2f4f7; border-radius: 999px; margin: 7px 0; }
.ag-split-bar i { display: block; height: 100%; border-radius: 999px; background: #12b76a; }
.ag-split-t { font-size: 11px; color: #98a2b3; }
.ag-table { width: 100%; border-collapse: collapse; font-size: 12.5px; }
.ag-table th { text-align: left; color: #98a2b3; font-weight: 500; font-size: 11.5px; padding: 8px 10px; border-bottom: 1px solid #f2f4f7; }
.ag-table td { padding: 9px 10px; border-bottom: 1px solid #f9fafb; color: #344054; }
.ag-plus { color: #039855; font-weight: 600; }
.ag-notice { border-top: 1px solid #f2f4f7; padding: 10px 0; }
.ag-notice span { font-size: 10.5px; color: #98a2b3; }
.ag-notice b { display: block; font-size: 12.5px; margin: 4px 0; }
.ag-notice p { font-size: 11.5px; color: #667085; margin: 0; line-height: 1.6; }
.ag-withdraw-form { display: flex; gap: 10px; }
.ag-withdraw-form input { flex: 1; border: 1px solid #d0d5dd; border-radius: 9px; padding: 9px 12px; font-size: 13px; outline: none; }
.ag-withdraw-form input:focus { border-color: #2e90fa; }
.ag-coming { text-align: center; padding: 50px 20px; color: #667085; }
.ag-coming b { display: block; font-size: 16px; color: #101828; margin: 10px 0 6px; }
.ag-coming p { font-size: 12.5px; margin: 4px 0; }
.ag-hint { color: #98a2b3; font-size: 11px !important; }

@media (max-width: 1100px) {
  .wd-side { display: none; }
  .op-hero { grid-template-columns: 1fr; }
  .op-feat-grid { grid-template-columns: 1fr 1fr; }
  .ag { grid-template-columns: 1fr; }
  .ag-side { display: none; }
  .ag-kpis, .ag-kpis.five { grid-template-columns: 1fr 1fr; }
  .cd-side { display: none; }
}

/* ------------------------------- API 文档站（深色） ------------------------------- */
.dc { min-height: 100vh; background: #0f0f12; color: #e8e8ec; font-family: 'PingFang SC', 'Microsoft YaHei', sans-serif; }
.dc * { box-sizing: border-box; }
.dc a { color: inherit; text-decoration: none; }
.dc button { font: inherit; cursor: pointer; }
.dc-top { padding: 30px 6vw 20px; border-bottom: 1px solid rgba(255,255,255,.07); }
.dc-back { font-size: 12.5px; color: #8a919c; }
.dc-top h1 { font-size: 26px; margin: 12px 0 14px; }
.dc-top h1 em { font-style: normal; font-size: 13px; color: #5c6470; margin-left: 10px; letter-spacing: .06em; }
.dc-base { display: inline-flex; align-items: center; gap: 10px; font-size: 11px; letter-spacing: .1em; color: #8a919c; background: #16161b; border: 1px solid rgba(255,255,255,.08); padding: 8px 14px; border-radius: 10px; }
.dc-base code { font-size: 13px; color: #2ee6d6; }
.dc-base button { background: rgba(255,255,255,.07); color: #cdd3da; border: none; padding: 4px 10px; border-radius: 7px; font-size: 11px; }
.dc-actions { display: flex; gap: 10px; margin-top: 14px; }
.dc-actions a { font-size: 12.5px; color: #2ee6d6; border: 1px solid rgba(46,230,214,.3); padding: 7px 14px; border-radius: 9px; }
.dc-body { display: flex; padding: 0 6vw 60px; }
.dc-side { width: 170px; flex: 0 0 170px; padding: 22px 0; display: flex; flex-direction: column; gap: 3px; position: sticky; top: 20px; align-self: flex-start; }
.dc-cat { text-align: left; background: none; border: none; color: #8a919c; font-size: 13px; padding: 9px 13px; border-radius: 9px; }
.dc-cat:hover { color: #e8e8ec; background: rgba(255,255,255,.04); }
.dc-cat.on { color: #2ee6d6; background: rgba(46,230,214,.08); }
.dc-main { flex: 1; min-width: 0; padding: 22px 0 0 30px; }
.dc-main h2 { font-size: 19px; margin: 0 0 16px; }
.dc-item { background: #16161b; border: 1px solid rgba(255,255,255,.07); border-radius: 14px; padding: 16px 18px; margin-bottom: 12px; }
.dc-item-h { display: flex; align-items: center; gap: 10px; font-size: 14px; }
.dc-m { font-style: normal; font-size: 10px; font-weight: 700; color: #06231f; background: #2ee6d6; padding: 2px 7px; border-radius: 5px; }
.dc-item p { font-size: 12.5px; color: #9aa0aa; line-height: 1.7; }
.dc-item .opc-pre { margin-top: 10px; }

/* ------------------------------- 控制台数据看板 / 排行榜 ------------------------------- */
.opc-kpi-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 14px; }
.opc-kpi-row > div { background: #fff; border: 1px solid #eaecf0; border-radius: 14px; padding: 16px; display: flex; flex-direction: column; gap: 3px; }
.opc-kpi-row span { font-size: 11.5px; color: #667085; }
.opc-kpi-row b { font-size: 22px; font-family: ui-monospace, monospace; }
.opc-kpi-row em { font-style: normal; font-size: 10.5px; color: #98a2b3; }
.opc-chart { display: flex; align-items: flex-end; gap: 6px; height: 150px; padding-top: 12px; }
.opc-bar { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 5px; }
.opc-bar i { width: 100%; max-width: 26px; background: linear-gradient(180deg, #2e90fa, #175cd3); border-radius: 4px 4px 0 0; }
.opc-bar span { font-size: 9.5px; color: #98a2b3; }
.opc-inline-bar { display: block; height: 8px; background: #f2f4f7; border-radius: 999px; overflow: hidden; }
.opc-inline-bar i { display: block; height: 100%; background: linear-gradient(90deg, #2e90fa, #7a5af8); border-radius: 999px; }
.op-rank-sec { background: #fff; border: 1px solid #eaecf0; border-radius: 16px; padding: 16px; margin-bottom: 14px; }
.op-rank-h { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 10px; }
.op-rank-h b { font-size: 15px; }
.op-rank-h span { font-size: 11.5px; color: #98a2b3; }
.op-rank-row { display: flex; align-items: center; gap: 12px; padding: 9px 6px; border-bottom: 1px solid #f9fafb; font-size: 13px; }
.op-rank-row > i { font-style: normal; width: 20px; color: #98a2b3; font-size: 12px; text-align: center; }
.op-rank-ic { width: 28px; height: 28px; flex: 0 0 28px; border-radius: 8px; display: grid; place-items: center; background: linear-gradient(135deg, #2e90fa, #7a5af8); color: #fff; font-size: 13px; font-weight: 700; }
.op-rank-t { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.op-rank-t b { font-size: 13px; }
.op-rank-t em { font-style: normal; font-size: 10.5px; color: #98a2b3; }
.op-rank-r { font-size: 11.5px; color: #667085; }
.op-rank-r b { color: #039855; }
.op-rank-p { width: 130px; text-align: right; font-size: 12.5px; color: #b54708; font-weight: 600; }
