*{box-sizing:border-box;margin:0;padding:0}
body{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,sans-serif;background:#f4f6f9;color:#1e293b;padding-bottom:40px;min-height:100vh}
.navbar{display:flex;justify-content:space-between;align-items:center;background:rgba(255,255,255,.9);backdrop-filter:blur(12px);padding:14px 20px;position:sticky;top:0;z-index:100;border-bottom:1px solid #e2e8f0}
.nav-left{display:flex;align-items:center;gap:10px}
.nav-brand{display:flex;align-items:center;gap:10px;text-decoration:none}
.nav-logo{width:30px;height:30px;border-radius:8px}
.nav-title{font-weight:800;font-size:18px;color:#0f172a}
.nav-right{display:flex;align-items:center;gap:16px;color:#64748b}
.icon{font-size:18px;cursor:pointer}
.avatar{width:30px;height:30px;border-radius:50%;border:1px solid #e2e8f0}
.nav-icon{color:#64748b;cursor:pointer}
.tabs{display:flex;background:#fff;padding:0 20px;overflow-x:auto;white-space:nowrap;border-bottom:1px solid #e2e8f0;gap:28px}
.tab{padding:14px 0;font-size:14px;color:#64748b;text-decoration:none;font-weight:500}
.tab.active{color:#2563eb;font-weight:700;border-bottom:2px solid #2563eb}
.container{padding:20px 16px}
.card{background:#fff;border-radius:16px;padding:24px;box-shadow:0 4px 20px rgba(15,23,42,.03);border:1px solid rgba(226,232,240,.8)}
.card-label{font-size:12px;font-weight:600;color:#64748b;margin-bottom:8px;letter-spacing:1px}
.card-title{font-size:24px;font-weight:800;color:#0f172a;margin-bottom:14px}
.card-desc{font-size:14px;color:#475569;line-height:1.7;margin-bottom:24px}
.api-grid{display:grid;grid-template-columns:1fr;gap:12px;margin-top:16px}
.api-card{display:block;background:#f8fafc;border:1px solid #e2e8f0;border-radius:12px;padding:18px;text-decoration:none;transition:all .2s}
.api-card:active{background:#eff6ff;border-color:#2563eb}
.api-card-tag{display:inline-block;font-size:11px;font-weight:700;color:#2563eb;background:#eff6ff;padding:2px 8px;border-radius:4px;margin-bottom:8px}
.api-card-name{font-weight:700;font-size:16px;color:#0f172a;margin-bottom:6px}
.api-card-desc{font-size:13px;color:#64748b;margin-bottom:8px}
.api-card-path{font-family:ui-monospace,monospace;font-size:12px;color:#2563eb;background:#eff6ff;display:inline-block;padding:3px 8px;border-radius:4px}
.endpoint-box{background:#f8fafc;border:1px solid #e2e8f0;border-radius:12px;padding:20px;margin-bottom:24px}
.endpoint-header{display:flex;align-items:center;gap:8px;margin-bottom:10px}
.method{color:#2563eb;font-weight:800;font-size:14px}
.domain{background:#eff6ff;color:#2563eb;font-size:12px;padding:3px 8px;border-radius:4px;font-weight:600}
.endpoint-path{font-family:ui-monospace,monospace;font-size:14px;color:#334155;word-break:break-all}
.section-title{font-size:16px;font-weight:800;margin-bottom:12px;color:#0f172a}
.table-wrap{overflow-x:auto;border:1px solid #e2e8f0;border-radius:12px}
.param-table{width:100%;border-collapse:collapse;font-size:13px}
.param-table th{background:#f8fafc;color:#475569;font-weight:600;text-align:left;padding:12px 16px;border-bottom:1px solid #e2e8f0}
.param-table td{padding:12px 16px;border-bottom:1px solid #f1f5f9;color:#334155}
.param-table code{background:#eff6ff;color:#2563eb;padding:2px 6px;border-radius:4px;font-size:12px}
.required{color:#dc2626;font-weight:600}
.code-block{background:#1e1e2e;border-radius:12px;padding:16px;overflow-x:auto}
.code-block pre{color:#e2e8f0;font-family:ui-monospace,monospace;font-size:13px;white-space:pre-wrap;word-break:break-all}
.try-btn{width:100%;background:#2563eb;color:#fff;border:none;border-radius:10px;padding:14px;font-size:16px;font-weight:700;cursor:pointer;transition:all .2s}
.try-btn:active{background:#1d4ed8}
.back-link{display:block;text-align:center;margin-top:20px;color:#2563eb;text-decoration:none;font-weight:600;font-size:14px}
.profile-menu{position:fixed;top:70px;right:16px;width:220px;background:rgba(255,255,255,.95);backdrop-filter:blur(16px);border-radius:16px;box-shadow:0 10px 40px rgba(0,0,0,.12);border:1px solid rgba(255,255,255,.8);padding:8px 0;z-index:1000;opacity:0;visibility:hidden;transform:translateY(-10px);transition:all .25s}
.profile-menu.show{opacity:1;visibility:visible;transform:translateY(0)}
.profile-header{display:flex;align-items:center;gap:12px;padding:12px 16px;border-bottom:1px solid #f1f5f9;margin-bottom:6px}
.profile-avatar{width:36px;height:36px;border-radius:50%}
.profile-name{font-weight:700;font-size:15px;color:#0f172a}
.profile-status{font-size:12px;color:#64748b}
.profile-item{display:flex;align-items:center;gap:12px;padding:12px 16px;font-size:14px;color:#334155;cursor:pointer;text-decoration:none}
.profile-item:active{background:#f8fafc}
.profile-item.logout{color:#dc2626}
.profile-divider{height:1px;background:#f1f5f9;margin:6px 0}
.footer{margin-top:40px;padding:30px 20px;background:#fff;border-top:1px solid #e2e8f0;text-align:center}
.footer-logo{display:flex;align-items:center;justify-content:center;gap:8px;margin-bottom:16px;font-weight:800;color:#0f172a}
.footer-logo-img{width:24px;height:24px;border-radius:6px}
.footer-links{display:flex;justify-content:center;gap:20px;margin-bottom:16px}
.footer-links a{font-size:13px;color:#64748b;text-decoration:none}
.footer-copyright{font-size:12px;color:#94a3b8}
.search-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:rgba(15,23,42,.5);backdrop-filter:blur(8px);z-index:9999;display:none;align-items:flex-start;justify-content:center;padding-top:60px}
.search-overlay.show{display:flex}
.search-box{background:#fff;width:90%;max-width:400px;border-radius:16px;overflow:hidden;box-shadow:0 20px 60px rgba(0,0,0,.2)}
.search-box input{width:100%;padding:18px;border:none;outline:none;font-size:16px;border-bottom:1px solid #e2e8f0}
.search-results{max-height:300px;overflow-y:auto}
.search-item{padding:14px 18px;border-bottom:1px solid #f1f5f9;cursor:pointer;font-size:14px}
.search-item:hover{background:#f8fafc}
.test-dialog-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:rgba(15,23,42,.5);backdrop-filter:blur(4px);z-index:9998;display:flex;align-items:flex-end;justify-content:center;opacity:0;transition:opacity .3s}
.test-dialog-overlay.show{opacity:1}
.test-dialog{background:#fff;width:100%;max-width:500px;border-radius:24px 24px 0 0;padding:24px;transform:translateY(100%);transition:transform .4s;max-height:90vh;overflow-y:auto}
.test-dialog-overlay.show .test-dialog{transform:translateY(0)}
.test-dialog-header{display:flex;justify-content:space-between;align-items:center;font-weight:800;font-size:16px;color:#0f172a;margin-bottom:20px}
.test-close{cursor:pointer;font-size:18px;color:#94a3b8}
.test-input-group{margin-bottom:16px}
.test-input-group label,.test-result label{display:block;font-size:13px;font-weight:700;color:#475569;margin-bottom:8px}
.test-input-group textarea{width:100%;min-height:120px;border:1px solid #e2e8f0;border-radius:12px;padding:12px;font-family:ui-monospace,monospace;font-size:13px;background:#f8fafc;resize:vertical;outline:none}
.test-result{margin-top:20px}
.test-result pre{background:#1e1e2e;color:#e2e8f0;border-radius:12px;padding:16px;font-size:13px;white-space:pre-wrap;word-break:break-all}
body.dark-mode{background:#0f172a;color:#e2e8f0}
body.dark-mode .navbar,body.dark-mode .tabs,body.dark-mode .card,body.dark-mode .api-card,body.dark-mode .profile-menu,body.dark-mode .endpoint-box,body.dark-mode .table-wrap,body.dark-mode .footer{background:#1e293b;border-color:#334155;color:#e2e8f0}
body.dark-mode .nav-title,body.dark-mode .card-title,body.dark-mode .api-card-name,body.dark-mode .section-title,body.dark-mode .profile-name,body.dark-mode .footer-logo{color:#f8fafc}
body.dark-mode .card-desc,body.dark-mode .api-card-desc,body.dark-mode .profile-item,body.dark-mode .profile-status{color:#94a3b8}
body.dark-mode .tabs .tab{color:#94a3b8}
body.dark-mode .tabs .tab.active{color:#60a5fa;border-bottom-color:#60a5fa}
body.dark-mode .param-table th{background:#1e293b;color:#94a3b8;border-bottom-color:#334155}
body.dark-mode .param-table td{color:#cbd5e1;border-bottom-color:#334155}
body.dark-mode .param-table code{background:#0f172a;color:#60a5fa}
body.dark-mode .test-dialog{background:#1e293b}
body.dark-mode .test-input-group textarea{background:#0f172a;border-color:#334155;color:#e2e8f0}
body.dark-mode .search-box{background:#1e293b}
body.dark-mode .search-box input{background:#1e293b;color:#e2e8f0;border-bottom-color:#334155}
body.dark-mode .search-item{color:#e2e8f0;border-bottom-color:#334155}/* 价格框 */
.price-box {
    background: linear-gradient(135deg, #eff6ff, #f8fafc);
    border: 1px solid #dbeafe;
    border-radius: 12px;
    padding: 16px 20px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.price-label {
    font-size: 13px;
    color: #64748b;
    font-weight: 600;
}
.price-value {
    font-size: 20px;
    font-weight: 800;
    color: #2563eb;
}
.price-tip {
    font-size: 11px;
    color: #94a3b8;
}
body.dark-mode .price-box {
    background: #1e293b;
    border-color: #334155;
}
body.dark-mode .price-label { color: #94a3b8; }
body.dark-mode .price-value { color: #60a5fa; }