/* Reference: api.liuliu1.com light Sinco home and document pages. */
#TH5Root{--bg:#fff;--bg-2:#f7faff;--card:#fff;--fg:#07164a;--fg-2:#40516d;--muted:#73839f;--border:#e8eef7;--accent:#0066ff;color:#24324b;background:#fff;font-family:-apple-system,BlinkMacSystemFont,'Segoe UI','PingFang SC','Microsoft YaHei',sans-serif}
#TH5Root .th5-header{position:sticky;top:0;z-index:100;background:rgba(255,255,255,.97);border-bottom:1px solid #e8eef7;box-shadow:0 4px 18px rgba(15,40,90,.06)}
#TH5Root .th5-header__inner{max-width:1220px;min-height:74px}#TH5Root .th5-header__name{color:#07164a;font-size:21px}#TH5Root .th5-header__link{color:#53627d;font-size:15px}#TH5Root .th5-header__link:hover,#TH5Root .th5-header__link.is-active{color:#06f}#TH5Root .th5-header__cta{background:#06f;color:#fff;border:0;border-radius:7px;box-shadow:0 6px 16px #0066ff30}#TH5Root .th5-header__theme{display:none}
#TH5Root .ll-categories{position:relative}#TH5Root .ll-categories__menu{display:none;position:absolute;top:100%;left:0;width:190px;max-height:360px;overflow:auto;background:#fff;border:1px solid #e8eef7;border-radius:10px;box-shadow:0 14px 28px #0f285020;padding:8px}#TH5Root .ll-categories:hover .ll-categories__menu,#TH5Root .ll-categories:focus-within .ll-categories__menu{display:block}#TH5Root .ll-categories__menu a{display:block;padding:8px 12px;color:#53627d;border-radius:6px;text-decoration:none}#TH5Root .ll-categories__menu a:hover{color:#06f;background:#f1f6ff}
#TH5Root .th5-hero-q{background:linear-gradient(180deg,#f7fbff,#fff);padding:70px 0 45px}#TH5Root .th5-hero-q__bg,#TH5Root .th5-hero-q__bg-grid{display:none}#TH5Root .th5-hero-q__copy{text-align:center;max-width:900px;margin:auto}#TH5Root .th5-hero-q__title{font-size:clamp(32px,5vw,50px);color:#07164a;letter-spacing:-.035em}#TH5Root .th5-hero-q__lead{max-width:720px;margin:14px auto 22px;color:#73839f}#TH5Root .th5-hero-q__actions{justify-content:center}#TH5Root .ll-hero-search{display:flex;max-width:690px;margin:18px auto 0;padding:6px;background:#fff;border:1px solid #dbe6f5;border-radius:10px;box-shadow:0 12px 28px #0f285014}#TH5Root .ll-hero-search input{min-width:0;flex:1;padding:10px 14px;outline:0;border:0;background:transparent;color:#24324b}#TH5Root .ll-hero-search button{padding:10px 20px;border:0;border-radius:7px;color:#fff;background:#06f;font-weight:600}#TH5Root .th5-hero-q__stats{justify-content:center;margin-top:30px;gap:14px}#TH5Root .th5-hero-q__stat{min-width:140px;border:1px solid #e8eef7;border-radius:12px;background:#fff;box-shadow:0 6px 18px #0f28500d;padding:12px 22px}#TH5Root .th5-hero-q__stat-num{color:#06f;font-size:24px}#TH5Root .th5-hero-q__stat-label{color:#73839f}
#TH5Root .th5-market-q{padding:60px 0;background:linear-gradient(#fff,#f5f6fa,#fff)}#TH5Root .th5-section-head-q{text-align:center}#TH5Root .th5-section-head-q__title{color:#07164a}#TH5Root .th5-cat-q__list{display:flex;flex-wrap:wrap;gap:8px;justify-content:center}#TH5Root .cat-tab{border-radius:999px;background:#f2f5fa;color:#53627d;padding:8px 16px}#TH5Root .cat-tab:hover,#TH5Root .cat-tab.active{background:#06f;color:#fff}#TH5Root .th5-api-grid-q{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:22px}#TH5Root .th5-api-card-q{position:relative;min-height:190px;display:flex;flex-direction:column;border:1px solid #eef2f7;border-radius:14px;background:#fff;box-shadow:0 5px 18px #0f285009;overflow:hidden;transition:transform .2s,box-shadow .2s}#TH5Root .th5-api-card-q:hover{transform:translateY(-4px);border-color:#dbe8ff;box-shadow:0 14px 28px #0f28501a}#TH5Root .th5-api-card-q__head,#TH5Root .th5-api-card-q__name,#TH5Root .th5-api-card-q__desc{margin-left:20px;margin-right:20px}#TH5Root .th5-api-card-q__name{font-size:16px;color:#07164a}#TH5Root .th5-api-card-q__desc{color:#73839f;min-height:40px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}#TH5Root .th5-api-card-q__foot{margin-top:auto;padding:12px 20px;border-top:1px solid #f1f4f9;color:#e0463c}#TH5Root .th5-api-card-q__arrow{color:#06f!important}#TH5Root .th5-page-q.th5-apis-page{background:linear-gradient(180deg,#f7fbff,#fff);padding-top:55px}#TH5Root .th5-apis-page .th5-market-q__layout{display:block}#TH5Root .th5-apis-page .th5-cat-q{width:100%;max-width:none;box-shadow:none;border:0;background:transparent;margin-bottom:24px}#TH5Root .th5-apis-page .th5-cat-q__title,#TH5Root .th5-apis-page .th5-cat-q__foot{display:none}#TH5Root .th5-apis-page .th5-market-q__main{width:100%}#TH5Root .th5-search-q{max-width:700px;margin:0 auto 28px!important;background:#fff;border:1px solid #e8eef7;border-radius:10px;padding:6px;box-shadow:0 8px 22px #0f28500d}#TH5Root .th5-search-q input{border:0;background:transparent;outline:0}
#TH5Root .th5-detail-q__hero{background:linear-gradient(180deg,#f7fbff,#fff);border:0;box-shadow:none}#TH5Root .th5-detail-q__hero-grid{display:none}#TH5Root .th5-detail-q__title-row h1{color:#07164a}#TH5Root .th5-detail-q__lead{color:#73839f}#TH5Root .th5-detail-q__chip,#TH5Root .th5-info-item{background:#f6f9fd;border:1px solid #e8eef7;color:#40516d}#TH5Root .th5-detail-q__panel,#TH5Root .th5-panel{background:#fff;border:1px solid #e8eef7;border-radius:14px;box-shadow:0 8px 24px #0f28500d}#TH5Root .th5-detail-q__panel-title{color:#07164a}#TH5Root .th5-table th{background:#f2f6fc;color:#40516d}#TH5Root .th5-table td{border-color:#edf1f7}#TH5Root pre,#TH5Root .th5-code{background:#101b30;color:#e8f0ff;border-radius:9px}#TH5Root pre code{color:#e8f0ff}#TH5Root pre .hljs-keyword,#TH5Root pre .hljs-literal{color:#c792ea}#TH5Root pre .hljs-string{color:#a5e075}#TH5Root pre .hljs-number{color:#ffcb6b}#TH5Root pre .hljs-attr{color:#82aaff}
#TH5Root .ll-card-bar{display:inline-block;width:3px;height:14px;background:#06f;border-radius:2px;margin-right:8px;vertical-align:-1px}#TH5Root .ll-card-doc{color:#06f;font-weight:600;white-space:nowrap}#TH5Root .th5-api-card-q__head{padding-top:18px}#TH5Root .th5-api-card-q__method{font-size:11px}#TH5Root .th5-api-card-q__foot{display:flex;align-items:center;justify-content:space-between;gap:6px}#TH5Root .th5-api-card-q__calls{font-weight:700;color:#e0463c;font-size:12px}#TH5Root .th5-api-card-q__tag--new{background:#e9f4ff;color:#06f}
#TH5Root .ll-detail-layout{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:26px;align-items:start}#TH5Root .ll-detail-main{min-width:0}#TH5Root .ll-detail-side{position:sticky;top:90px;min-width:0}#TH5Root .ll-detail-side .th5-panel{padding:20px}#TH5Root .ll-side-card h2{font-size:18px;margin:0 0 14px;color:#07164a}#TH5Root .ll-side-card ol{list-style:none;margin:0;padding:0}#TH5Root .ll-side-card li{display:flex;align-items:center;gap:9px;padding:10px 0;border-bottom:1px solid #edf1f7}#TH5Root .ll-side-card li span{color:#06f;font-weight:700}#TH5Root .ll-side-card li a{flex:1;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#40516d;text-decoration:none}#TH5Root .ll-side-card li small{white-space:nowrap;color:#73839f}#TH5Root .ll-side-card>a{display:block;padding:9px 0;color:#06f;text-decoration:none}#TH5Root .ll-detail-side #detailRecommend .th5-api-card-q{min-height:auto}#TH5Root .ll-detail-side #detailRecommend .th5-detail-q__rec{display:block}
/* 首页页头与参考站的居中 Hero。 */
#TH5Root .th5-header__inner{max-width:none;min-height:76px;padding-left:30px;padding-right:30px;justify-content:space-between}
#TH5Root .ll-brand-mark{width:34px;height:34px;border-radius:50%;background:#0878ed;box-shadow:none;color:#fff;font-weight:700;font-size:17px}
#TH5Root .th5-header__name{font-size:21px}
#TH5Root .th5-header__nav{margin-left:auto;margin-right:auto}
#TH5Root .th5-header__link.is-active::after{display:none}
#TH5Root .th5-header{border-bottom:1px solid #e8eef7;box-shadow:none}
#TH5Root .th5-header__link{font-size:17px}
#TH5Root .th5-detail{background:#fafcff;color:#283448;padding-top:32px}
#TH5Root .th5-detail .ll-legacy-detail-info{display:none}
#TH5Root .th5-detail .ll-doc-head{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:20px}
#TH5Root .th5-detail .ll-doc-head-main{min-width:0}
#TH5Root .th5-detail .ll-doc-head h1{font-size:24px;line-height:1.45;color:#253044;margin:0 0 6px;font-weight:700}
#TH5Root .th5-detail .ll-doc-head p{color:#40516d;line-height:1.65;margin:0 0 10px}
#TH5Root .th5-detail .ll-doc-badge,#TH5Root .th5-detail .ll-doc-category,#TH5Root .th5-detail .ll-doc-format{display:inline-block;padding:4px 9px;border-radius:5px;background:#e9f1ff;color:#1762dc;font-size:14px;font-weight:500;text-decoration:none;vertical-align:middle}
#TH5Root .th5-detail .ll-doc-category{background:#f3f5f8;color:#40516d}
#TH5Root .th5-detail .ll-doc-format{background:#e0f9ea;color:#18783a}
#TH5Root .th5-detail .ll-doc-meta{display:flex;flex-wrap:wrap;gap:10px 14px;color:#64738d;font-size:13px}
#TH5Root .th5-detail .ll-doc-meta span+span:before{content:'·';margin-right:14px;color:#b1c4df}
#TH5Root .th5-detail .ll-doc-head-actions{display:flex;gap:8px;flex-shrink:0}
#TH5Root .th5-detail .ll-doc-action{cursor:pointer;border:0;background:#eff5ff;color:#145ce0;padding:10px 13px;border-radius:8px;font-weight:600}
#TH5Root .th5-detail .ll-doc-intro{background:linear-gradient(110deg,#f1f7ff,#e1eeff);border-left:4px solid #3983ff;border-radius:0 9px 9px 0;padding:22px 24px;margin-bottom:28px;color:#40516d}
#TH5Root .th5-detail .ll-doc-intro p{margin:0 0 12px;line-height:1.65}
#TH5Root .th5-detail .ll-doc-tags{display:flex;flex-wrap:wrap;gap:8px}
#TH5Root .th5-detail .ll-doc-tags span{background:#fff;border-radius:4px;padding:5px 9px;font-size:13px;color:#285c99}
#TH5Root .th5-detail .th5-tabs{margin-top:0;border-bottom:1px solid #e2e8f3;gap:4px;overflow-x:auto;flex-wrap:nowrap}
#TH5Root .th5-detail .th5-tabs .th5-pill{border:0;border-bottom:2px solid transparent;border-radius:0;background:transparent;color:#64738d;padding:12px 18px;white-space:nowrap}
#TH5Root .th5-detail .th5-tabs .th5-pill.is-active{border-color:#3178ef;color:#1762dc}
#TH5Root .th5-detail [data-th5-panel][hidden]{display:none!important}
#TH5Root .th5-detail .ll-doc-summary{display:grid;grid-template-columns:minmax(0,2.5fr) minmax(0,1fr);gap:24px}
#TH5Root .th5-detail .ll-doc-content .th5-panel{padding:24px;border-radius:8px;box-shadow:0 3px 14px #2037690b}
#TH5Root .th5-detail .ll-doc-content h2{font-size:18px;color:#263448;margin:0 0 18px;font-weight:650}
#TH5Root .th5-detail .ll-doc-summary dl{display:grid;grid-template-columns:90px minmax(0,1fr);align-items:center;gap:15px 8px;margin:0}
#TH5Root .th5-detail .ll-doc-summary dt{color:#64738d}
#TH5Root .th5-detail .ll-doc-summary dd{min-width:0;margin:0;overflow-x:auto;overflow-y:hidden;white-space:nowrap}
#TH5Root .th5-detail .ll-doc-summary dd code{display:inline-block;max-width:none;white-space:nowrap;overflow-wrap:normal;background:#f2f5fa;color:#1556d1;padding:7px;border-radius:5px}
#TH5Root .th5-detail .ll-doc-total{display:flex;flex-direction:column;align-items:center;justify-content:center;background:#f7f9fc;padding:28px;border-radius:8px}
#TH5Root .th5-detail .ll-doc-total strong{color:#149651;font-size:26px}
#TH5Root .th5-detail .ll-doc-total span{color:#64738d;font-size:14px}
#TH5Root .th5-detail .ll-doc-section{margin-top:24px}
#TH5Root .th5-detail .ll-doc-section p{font-size:13px;color:#64738d}
#TH5Root .th5-detail .ll-doc-code{position:relative}
#TH5Root .th5-detail .ll-doc-code pre{padding:20px;overflow:auto;white-space:pre-wrap;overflow-wrap:anywhere}
#TH5Root .th5-detail .ll-doc-code button{position:absolute;right:12px;top:12px;background:#ecf2ff;border:0;border-radius:5px;color:#175fe0;padding:5px 10px;cursor:pointer}
#TH5Root .th5-detail .ll-request-example{background:#0f172a;border:1px solid #1e293b;border-radius:12px;overflow:hidden}
#TH5Root .th5-detail .ll-request-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 14px;background:#111827;border-bottom:1px solid #1f2937}
#TH5Root .th5-detail .ll-request-tag{display:inline-flex;align-items:center;padding:3px 10px;border-radius:999px;font-size:12px;font-weight:600;color:#93c5fd;background:rgba(59,130,246,.16)}
#TH5Root .th5-detail .ll-request-head button{position:static;background:transparent;color:#94a3b8;padding:6px;border-radius:8px;display:inline-flex;align-items:center}
#TH5Root .th5-detail .ll-request-head button:hover{color:#fff;background:rgba(148,163,184,.16)}
#TH5Root .th5-detail .ll-request-body{margin:0;padding:16px 18px;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:13px;line-height:1.85;white-space:pre;overflow-x:auto;color:#e2e8f0;background:#0f172a;border:0;border-radius:0}
#TH5Root .th5-detail .ll-request-body .ex-method,#TH5Root .th5-detail .ll-request-body .ex-key{color:#f87171;font-weight:700}
#TH5Root .th5-detail .ll-request-body .ex-url,#TH5Root .th5-detail .ll-request-body .ex-val{color:#4ade80}
#TH5Root .th5-detail .ll-request-body .ex-header-name{color:#f472b6}
#TH5Root .th5-detail .ll-request-body .ex-header-val{color:#86efac}
#TH5Root .th5-detail .ll-request-body .ex-eq,#TH5Root .th5-detail .ll-request-body .ex-colon{color:#94a3b8}
#TH5Root .th5-detail .ll-request-body .ex-amp,#TH5Root .th5-detail .ll-request-body .ex-comment{color:#64748b}
#TH5Root .th5-detail .ll-doc-code .ll-request-body,#TH5Root .th5-detail .th5-qs-panel .ll-request-body{margin:0;padding:16px 18px;white-space:pre;overflow-x:auto;overflow-wrap:normal;background:#0f172a;border:0;border-radius:0}
#TH5Root .th5-detail .ll-doc-section .vs-md-pre-wrap{position:relative;border:1px solid #1e293b;border-radius:12px;background:#0f172a;overflow:hidden}
#TH5Root .th5-detail .ll-doc-section .vs-md-pre-wrap:before{content:'代码示例';display:block;padding:12px 14px;border-bottom:1px solid #1f2937;background:#111827;color:#93c5fd;font-size:12px;font-weight:600}
#TH5Root .th5-detail .ll-doc-section .vs-md-pre-wrap .vs-md-pre{margin:0;padding:16px 18px;border:0;border-radius:0;background:#0f172a;white-space:pre}
#TH5Root .th5-detail .ll-doc-section .vs-md-copy-btn{top:6px;right:10px;background:transparent;border:0;color:#94a3b8}
#TH5Root .th5-detail .ll-doc-section .vs-md-copy-btn:hover{background:#263449;color:#fff}
@media(max-width:720px){#TH5Root .th5-detail .ll-doc-head{display:block}#TH5Root .th5-detail .ll-doc-head-actions{margin-top:12px;flex-wrap:wrap}#TH5Root .th5-detail .ll-doc-summary{grid-template-columns:1fr}#TH5Root .th5-detail .ll-doc-meta span+span:before{display:none}}
#TH5Root .th5-header__cta{border-radius:3px;box-shadow:none}
#TH5Root .th5-hero-q{padding:64px 0 36px;background:linear-gradient(180deg,#f8fcff,#fff)}
#TH5Root .th5-hero-q__inner{display:block;max-width:1280px}
#TH5Root .th5-hero-q__copy{width:100%;max-width:100%;text-align:center;justify-self:center}
#TH5Root .th5-hero-q__eyebrow.ll-home-slogan{display:inline-flex;gap:8px;padding:5px 10px;margin:0 0 35px;border:0;background:#f3f7ff;color:#415577;font-size:14px;font-weight:400;text-decoration:none}
#TH5Root .ll-home-slogan strong{background:#ff435b;color:#fff;border-radius:999px;padding:3px 10px;font-weight:600}
#TH5Root .ll-home-slogan span:last-child{display:inline-flex;align-items:center;justify-content:center;border-radius:50%;background:#657fa9;color:#fff;width:26px;height:26px;font-size:12px}
#TH5Root .th5-hero-q__title{font-size:clamp(36px,5vw,64px);font-style:italic;font-weight:800;color:#07164a;line-height:1.2;letter-spacing:.01em;margin:0 0 32px;text-shadow:3px 4px 3px #15276a20}
#TH5Root .th5-hero-q__lead{max-width:900px;font-size:20px;color:#182440;line-height:1.45;margin:0 auto 48px}
#TH5Root .ll-hero-search{max-width:570px;border-radius:999px;padding:5px;margin:0 auto;background:#fff;box-shadow:none}
#TH5Root .ll-hero-search input{padding:9px 24px}
#TH5Root .ll-hero-search button{border-radius:999px;background:linear-gradient(110deg,#ff8591,#ff253b);padding:12px 30px;white-space:nowrap}
#TH5Root .th5-hero-q__stats{justify-content:center;gap:14px;margin-top:30px}
#TH5Root .th5-hero-q__stat{min-width:132px;min-height:80px;padding:12px 22px;border:1px solid #e5ebf5;border-radius:12px;box-shadow:0 6px 18px #0f28500d;box-sizing:border-box}
#TH5Root .th5-hero-q__stat::before{display:none}
#TH5Root .th5-hero-q__stat-num{font-size:24px;color:#06f;line-height:1.2}
#TH5Root .th5-hero-q__stat-label{font-size:13px;color:#738bae}
#TH5Root .th5-market-q{padding-top:32px;scroll-margin-top:76px}
#TH5Root .th5-market-q .th5-section-head-q__eyebrow{display:inline-block;padding:5px 20px;border-radius:5px;background:#ebf0ff;letter-spacing:.13em}
#TH5Root .th5-market-q .th5-section-head-q__title{font-size:30px;font-weight:500;color:#07164a}
@media(max-width:767px){#TH5Root .th5-header__inner{padding-left:16px;padding-right:16px}#TH5Root .th5-hero-q{padding:48px 0 30px}#TH5Root .th5-hero-q__title{font-size:clamp(30px,8vw,48px)}#TH5Root .th5-hero-q__lead{font-size:16px;margin-bottom:26px}#TH5Root .th5-hero-q__eyebrow.ll-home-slogan{margin-bottom:22px}#TH5Root .th5-hero-q__stat{min-width:120px}}
/* 首页列表与参考站一致：分类居中横排，数量在分类下方。 */
#TH5Root .th5-market-q .ll-home-categories{display:flex;flex-direction:row;flex-wrap:wrap;justify-content:center;align-items:center;gap:8px;margin:0 auto 4px;padding:0;max-width:100%}
#TH5Root .th5-market-q .ll-home-categories .cat-tab{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;width:auto;min-height:36px;padding:8px 18px;border:0;border-radius:999px;background:#f2f5fa;color:#4a5b78;font-size:15px;line-height:1.2;text-decoration:none;white-space:nowrap}
#TH5Root .th5-market-q .ll-home-categories .cat-tab:hover{background:#e8f1ff;color:#06f}
#TH5Root .th5-market-q .ll-home-categories .cat-tab.active,#TH5Root .th5-market-q .ll-home-categories .cat-tab[aria-current="page"]{background:#06f;color:#fff}
#TH5Root .th5-market-q .ll-home-count{text-align:center;color:#738bae;font-size:14px;margin:0 0 32px}
#TH5Root .th5-market-q .ll-home-count strong{font-weight:600;color:#40516d}
#TH5Root .th5-market-q .th5-section-head-q{margin-bottom:32px}
#TH5Root .th5-market-q .th5-api-grid-q{grid-template-columns:repeat(4,minmax(0,1fr));gap:24px}
#TH5Root .th5-market-q .th5-api-card-q{min-width:0;min-height:0;height:198px;box-sizing:border-box;padding:0;overflow:hidden}
#TH5Root .th5-market-q .th5-api-card-q__head{margin:0 20px;padding:18px 0 0;min-height:27px;flex:none}
#TH5Root .th5-market-q .th5-api-card-q__name{margin:14px 20px 5px;min-width:0;font-size:16px;line-height:1.4;display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;flex:none}
#TH5Root .th5-market-q .th5-api-card-q__desc{margin:0 20px 8px;font-size:13.5px;line-height:1.55;min-height:42px;color:#738bae;flex:none}
#TH5Root .th5-market-q .th5-api-card-q__foot{margin-top:auto;padding:10px 20px 12px;border-top:1px solid #f1f4f9;min-height:38px;box-sizing:border-box}
#TH5Root .th5-market-q .th5-api-card-q__calls{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}
#TH5Root .th5-market-q .ll-card-doc{flex:none;font-size:12px}
@media(max-width:1050px){#TH5Root .th5-market-q .th5-api-grid-q{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:767px){#TH5Root .th5-market-q .th5-api-grid-q{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:560px){#TH5Root .th5-market-q .th5-api-grid-q{grid-template-columns:minmax(0,1fr)}#TH5Root .th5-market-q .ll-home-categories .cat-tab{font-size:14px;padding:7px 13px}}
/* 全部接口页也使用首页的横排分类，覆盖主题原有的侧栏纵排规则。 */
#TH5Root .th5-apis-page .th5-cat-q{position:static;padding:0}
#TH5Root .th5-apis-page .ll-apis-categories{display:flex;flex-direction:row;flex-wrap:wrap;align-items:center;justify-content:center;gap:8px;width:100%}
#TH5Root .th5-apis-page .ll-apis-categories .cat-tab{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;width:auto;min-height:36px;padding:8px 18px;border:0;border-radius:999px;background:#f2f5fa;color:#4a5b78;font-size:15px;line-height:1.2;text-align:center;text-decoration:none;white-space:nowrap}
#TH5Root .th5-apis-page .ll-apis-categories .cat-tab:hover{background:#e8f1ff;color:#06f}
#TH5Root .th5-apis-page .ll-apis-categories .cat-tab.active,#TH5Root .th5-apis-page .ll-apis-categories .cat-tab[aria-current="page"]{background:#06f;color:#fff}
@media(max-width:560px){#TH5Root .th5-apis-page .ll-apis-categories .cat-tab{font-size:14px;padding:7px 13px}}
/* 参考站详情页：1280px 容器、弹性正文与 300px 侧栏。 */
#TH5Root .ll-detail-container{width:100%;max-width:1280px;box-sizing:border-box}
#TH5Root .th5-detail .vs-syn--keyword,#TH5Root .th5-detail .vs-syn--literal{color:#c792ea}
#TH5Root .th5-detail .vs-syn--string{color:#a5e075}
#TH5Root .th5-detail .vs-syn--number,#TH5Root .th5-detail .vs-syn--key{color:#ffcb6b}
#TH5Root .th5-detail .vs-syn--attr,#TH5Root .th5-detail .vs-syn--func{color:#82aaff}
#TH5Root .th5-detail .vs-syn--comment{color:#8795aa;font-style:italic}
#TH5Root .th5-detail .ll-detail-layout{grid-template-columns:minmax(0,1fr) 300px;gap:24px}
#TH5Root .th5-detail .ll-detail-main,#TH5Root .th5-detail .ll-detail-side{min-width:0}
#TH5Root .th5-detail .ll-detail-main .th5-panel,#TH5Root .th5-detail .ll-detail-main .th5-code{max-width:100%}
@media(max-width:991px){#TH5Root .th5-detail .ll-detail-layout{grid-template-columns:minmax(0,1fr)}#TH5Root .ll-detail-side{position:static;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}#TH5Root .ll-detail-side .th5-panel{margin-top:0}}
@media(max-width:640px){#TH5Root .ll-detail-side{grid-template-columns:minmax(0,1fr)}#TH5Root .th5-detail .ll-detail-container{padding-left:16px;padding-right:16px}}
@media(max-width:1050px){#TH5Root .th5-api-grid-q{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:720px){#TH5Root .th5-api-grid-q{grid-template-columns:repeat(1,minmax(0,1fr))}#TH5Root .th5-hero-q{padding:48px 0}#TH5Root .th5-hero-q__stat{min-width:130px}#TH5Root .th5-header__inner{min-height:64px}}
/* 文档代码块：修复白底+浅色字看不清。渲染脚本会把 pre 包进 .vs-md-pre-wrap（白底），
   这里把 wrap 一并压成深色，与 #TH5Root pre 的深色设计保持一致。 */
#TH5Root .vs-md-pre-wrap{background:#101b30;border:1px solid #1e2f4d;color:#e8f0ff;box-shadow:none}
#TH5Root .vs-md-pre-wrap pre,#TH5Root .vs-md-pre-wrap pre code{color:#e8f0ff}
#TH5Root .vs-md-pre-wrap pre code{background:transparent}
/* 代码块复制按钮：深色底上用蓝色调，带 hover 与已复制态 */
#TH5Root .vs-md-copy-btn{background:#1b2c49;color:#8fb8ff;border:1px solid #2c4a78}
#TH5Root .vs-md-copy-btn:hover{background:#24406b;color:#d3e4ff;border-color:#3a5f9b}
#TH5Root .vs-md-copy-btn.is-copied{background:#14301d;color:#8fe3a1;border-color:#2f6b45}
/* 面板内的复制按钮（返回示例/参数/快捷代码）：浅色面板上原透明灰无色，统一蓝色调 */
#TH5Root .th5-panel .btn-ghost{background:#f1f6ff;border-color:#c9dcff;color:#0b6cf0}
#TH5Root .th5-panel .btn-ghost:hover{background:#0b6cf0;border-color:#0b6cf0;color:#fff}
#TH5Root .th5-detail-q__endpoint-copy{background:#e8f1ff;border-color:#bcd4ff;color:#0b6cf0}
#TH5Root .th5-detail-q__endpoint-copy:hover{background:#0b6cf0;border-color:#0b6cf0;color:#fff}
