/* 数银自研插件公共前台样式（2026-10-21） */
.sxo-suite-link{color:#2563eb;text-decoration:none}
.sxo-suite-link:hover{text-decoration:underline}
.sxo-suite-muted{color:#64748b;font-size:13px}
.sxo-suite-btn{display:inline-flex;align-items:center;justify-content:center;gap:6px;border:0;border-radius:10px;padding:10px 16px;background:#2563eb;color:#fff;font-size:14px;cursor:pointer;line-height:1.2}
.sxo-suite-btn:hover{background:#1d4ed8;color:#fff}
.sxo-suite-btn.ghost{background:#fff;color:#2563eb;border:1px solid #bfdbfe}
.sxo-suite-btn.ghost:hover{background:#eff6ff}

/* 信任条 */
.sxo-trust{margin:18px 0;padding:16px;border:1px solid #e2e8f0;border-radius:14px;background:#f8fafc}
.sxo-trust-title{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:12px;font-weight:700;color:#0f172a}
.sxo-trust-title small{font-weight:400}
.sxo-trust-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.sxo-trust-item{background:#fff;border:1px solid #e2e8f0;border-radius:12px;padding:12px}
.sxo-trust-item b{display:block;color:#0f172a;font-size:14px;margin-bottom:4px}
.sxo-trust-item span{display:block;color:#64748b;font-size:12px;line-height:1.5}
.sxo-trust-note{margin-top:12px;padding:10px 12px;border-left:4px solid #2563eb;background:#eff6ff;color:#1e3a8a;border-radius:0 10px 10px 0;font-size:13px;line-height:1.6}

/* 分享海报 */
.sxo-growth{margin:18px 0;padding:16px;border-radius:14px;border:1px solid #dbeafe;background:linear-gradient(135deg,#eff6ff,#ffffff)}
.sxo-growth-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;flex-wrap:wrap}
.sxo-growth-head b{font-size:16px;color:#0f172a}
.sxo-growth-head p{margin:4px 0 0;color:#64748b;font-size:13px}
.sxo-growth-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}
.sxo-growth-preview{display:none;margin-top:14px;padding:12px;background:#fff;border:1px solid #e2e8f0;border-radius:12px;text-align:center}
.sxo-growth-preview img,.sxo-growth-preview canvas{max-width:100%;border-radius:10px}
.sxo-growth-tip{margin-top:8px;color:#64748b;font-size:12px}

/* 活动横幅 */
.sxo-conversion{margin:14px 0;padding:12px 14px;border-radius:12px;background:#fff7ed;border:1px solid #fed7aa;color:#9a3412;font-size:14px;line-height:1.6}
.sxo-conversion b{color:#c2410c}

/* 精选晒单 */
.sxo-review{margin:16px 0;padding:14px;border:1px solid #e2e8f0;border-radius:14px;background:#fff}
.sxo-review-head{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:10px}
.sxo-review-head b{color:#0f172a}
.sxo-review-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.sxo-review-item{border:1px solid #eef2f7;border-radius:12px;padding:12px;background:#fcfdff}
.sxo-review-stars{color:#f59e0b;font-size:13px;letter-spacing:1px}
.sxo-review-content{margin:6px 0 8px;color:#334155;font-size:13px;line-height:1.6;word-break:break-word}
.sxo-review-imgs{display:flex;gap:6px;flex-wrap:wrap}
.sxo-review-imgs img{width:64px;height:64px;object-fit:cover;border-radius:8px;border:1px solid #e2e8f0}
.sxo-review-user{color:#94a3b8;font-size:12px}

/* 相关内容 */
.sxo-content-hub{margin:22px 0;padding-top:18px;border-top:1px solid #e2e8f0}
.sxo-content-hub h3{margin:0 0 12px;font-size:18px;color:#0f172a}
.sxo-content-hub-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.sxo-content-hub-item{display:flex;gap:10px;padding:10px;border:1px solid #e2e8f0;border-radius:12px;background:#fff;color:#0f172a;text-decoration:none}
.sxo-content-hub-item:hover{border-color:#bfdbfe;background:#f8fbff;color:#0f172a;text-decoration:none}
.sxo-content-hub-item img{width:76px;height:76px;object-fit:cover;border-radius:8px;flex:none;background:#f1f5f9}
.sxo-content-hub-item b{display:block;font-size:14px;line-height:1.45;margin-bottom:4px}
.sxo-content-hub-item span{display:block;color:#64748b;font-size:12px;line-height:1.5}

/* 会员任务 */
.sxo-tasks{margin-bottom:10px;padding:14px;border:1px solid #e2e8f0;border-radius:14px;background:linear-gradient(135deg,#f8fafc,#fff)}
.sxo-tasks-row{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
.sxo-tasks b{color:#0f172a}
.sxo-tasks p{margin:4px 0 0;color:#64748b;font-size:13px}
.sxo-tasks-points{color:#c2410c;font-weight:700}

/* 企微客服浮层 */
.sxo-wecom{position:fixed;right:18px;bottom:22px;z-index:9999;font-size:14px}
.sxo-wecom-toggle{display:flex;align-items:center;gap:8px;border:0;border-radius:999px;padding:12px 18px;background:#2563eb;color:#fff;box-shadow:0 10px 30px rgba(37,99,235,.35);cursor:pointer;font-size:14px}
.sxo-wecom-toggle:hover{background:#1d4ed8}
.sxo-wecom-panel{display:none;position:absolute;right:0;bottom:58px;width:300px;max-width:calc(100vw - 36px);background:#fff;border:1px solid #e2e8f0;border-radius:16px;box-shadow:0 18px 50px rgba(15,23,42,.18);padding:16px}
.sxo-wecom-panel.open{display:block}
.sxo-wecom-panel h4{margin:0 0 6px;font-size:16px;color:#0f172a}
.sxo-wecom-panel p{margin:0 0 10px;color:#64748b;font-size:13px;line-height:1.6}
.sxo-wecom-panel .sxo-wecom-qr{text-align:center;margin:10px 0}
.sxo-wecom-panel .sxo-wecom-qr img{max-width:180px;width:100%;border-radius:10px;border:1px solid #e2e8f0}
.sxo-wecom-panel .sxo-suite-btn{width:100%;margin-top:8px}
.sxo-wecom-close{position:absolute;right:10px;top:8px;border:0;background:transparent;color:#94a3b8;font-size:20px;cursor:pointer}

/* 银发线：更大字号、更大按钮 */
html.sxo-line-senior .sxo-trust-item b{font-size:17px}
html.sxo-line-senior .sxo-trust-item span{font-size:15px;line-height:1.7}
html.sxo-line-senior .sxo-suite-btn{font-size:18px;padding:14px 22px;border-radius:12px}
html.sxo-line-senior .sxo-wecom-toggle{font-size:18px;padding:15px 22px}
html.sxo-line-senior .sxo-tasks p,
html.sxo-line-senior .sxo-content-hub-item b{font-size:16px}
html.sxo-line-senior .sxo-content-hub-item span{font-size:14px}

@media (max-width: 768px){
    .sxo-trust-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
    .sxo-review-list,.sxo-content-hub-grid{grid-template-columns:1fr}
    .sxo-wecom{right:12px;bottom:14px}
}
