.oai-official-status{position:relative;display:inline-block;margin:12px 0;color:#17282b;font:13px/1.6 "Hanken Grotesk","LXGW Neo XiHei Screen",sans-serif;letter-spacing:normal;text-align:left;z-index:30}
.oai-status-trigger{display:flex;align-items:center;gap:7px;cursor:pointer;list-style:none;border:1px solid #ccd9dd;border-radius:99px;background:#f7fafb;padding:5px 12px;min-height:32px;box-sizing:border-box;white-space:nowrap}
.oai-status-trigger::-webkit-details-marker{display:none}.oai-status-dot{width:7px;height:7px;border-radius:50%;background:#8b979d;flex:none}
.oai-official-status[data-status=operational] .oai-status-dot{background:#29b790}.oai-official-status[data-status=degraded_performance] .oai-status-dot{background:#dba820}.oai-official-status[data-status=partial_outage] .oai-status-dot{background:#ee8c36}.oai-official-status[data-status=full_outage] .oai-status-dot{background:#de565e}.oai-official-status[data-status=under_maintenance] .oai-status-dot{background:#589ac9}
.oai-status-panel{position:absolute;bottom:calc(100% + 10px);right:0;width:352px;max-width:calc(100vw - 40px);box-sizing:border-box;border:1px solid #d4dfe3;border-radius:16px;background:#fcfefe;color:#17282b;box-shadow:0 10px 35px #102d3c20;padding:17px;max-height:65vh;overflow:auto}
.oai-status-panel h3{font-size:14px;font-weight:600;margin:0 0 13px;color:inherit}.oai-status-meta{display:flex;justify-content:space-between;gap:8px;font-size:12px;color:#66797d;margin:0 0 7px}.oai-status-bars{display:grid;grid-template-columns:repeat(90,minmax(0,1fr));gap:4px;width:100%;height:24px}.oai-status-bars>span{display:block;min-width:0;border-radius:3px;background:#e2e7eb}.oai-status-bars>span[data-status=operational]{background:#41b99a}.oai-status-bars>span[data-status=degraded_performance]{background:#e4ba59}.oai-status-bars>span[data-status=partial_outage]{background:#df777d}.oai-status-bars>span[data-status=full_outage]{background:#df777d}.oai-status-bars>span[data-status=under_maintenance]{background:#89a7da}.oai-status-dates{margin-top:6px}.oai-status-note{font-size:12px;color:#63777b;line-height:1.65;margin:9px 0;white-space:normal}.oai-status-foot{display:flex;justify-content:space-between;gap:8px;border-top:1px solid #dde6e8;padding-top:10px;font-size:12px;color:#63777b}.oai-status-foot a,.oai-status-incident{color:#315d78;text-decoration:none}.oai-status-foot a:hover,.oai-status-incident:hover{text-decoration:underline}.oai-status-incident{display:block;margin:8px 0;font-size:13px;white-space:normal}.oai-status-components summary{cursor:pointer;font-size:12px;color:#44636b;padding:7px 0}.oai-status-component{display:flex;justify-content:space-between;gap:12px;padding:3px 0;font-size:12px}.oai-status-trigger:focus-visible,.oai-status-panel a:focus-visible,.oai-status-components summary:focus-visible{outline:2px solid #5c9dff;outline-offset:3px}
@media(max-width:600px){.oai-status-panel{position:fixed;left:20px;right:20px;bottom:24px;width:auto;max-width:none;max-height:70vh}.oai-official-status{margin:10px 0}}

.official-status-page{min-height:65vh}.official-status-page .public-page-heading{padding-bottom:24px}.official-status-page #official-status-content{max-width:880px;padding-bottom:64px}.oai-status-page{display:block;margin:0;width:100%;z-index:1}.oai-status-page .oai-status-panel{position:static;width:100%;max-width:none;max-height:none;padding:28px;border-radius:20px;box-shadow:0 8px 26px #3459650c}.oai-status-page .oai-status-panel h3{font-size:21px;margin-bottom:20px}.oai-status-page .oai-status-meta{font-size:14px}.oai-status-page .oai-status-bars{height:42px}.oai-status-page .oai-status-note,.oai-status-page .oai-status-foot,.oai-status-page .oai-status-component,.oai-status-page .oai-status-components summary{font-size:13px}.oai-status-page .oai-status-components{margin:18px 0}.oai-status-page .oai-status-component{padding:6px 0}@media(max-width:600px){.oai-status-page .oai-status-panel{padding:20px}.oai-status-page .oai-status-panel h3{font-size:18px}.oai-status-page .oai-status-meta{font-size:12px;flex-wrap:wrap}}

/* Instant tooltip with continuous hit detection across bar gaps. */
.oai-status-chart{position:relative;touch-action:pan-y}
.oai-status-bars{cursor:pointer;outline:none}
.oai-status-bars>span{transition:filter 80ms linear;pointer-events:none}
.oai-status-bars>span.is-active{outline:2px solid #4564c8;outline-offset:2px;filter:brightness(.94)}
.oai-status-tooltip{position:fixed;z-index:1000;pointer-events:none;background:#fff;color:#253b43;border:1px solid #d3e0e5;border-radius:10px;padding:10px 13px;box-shadow:0 5px 20px #15334420;font-size:13px;line-height:1.5;white-space:nowrap}
.oai-status-tooltip[hidden]{display:none!important}
.oai-status-tooltip strong{display:block;font-size:12px;font-weight:500;color:#687a80;margin-bottom:3px}
.oai-status-tooltip span{display:block;font-weight:600}
.oai-status-tooltip[data-status=operational] span{color:#16816a}
.oai-status-tooltip[data-status=degraded_performance] span{color:#927010}
.oai-status-tooltip[data-status=partial_outage] span,.oai-status-tooltip[data-status=full_outage] span{color:#b64a32}
.oai-status-bars:focus-visible{outline:2px solid #5c9dff;outline-offset:5px;border-radius:3px}
@media(prefers-reduced-motion:reduce){.oai-status-bars>span{transition:none}}

.oai-status-page+.oai-status-page{margin-top:24px}

/* Two API sections share one card surface. */
.oai-status-combined{background:#fcfefe;border:1px solid #d4dfe3;border-radius:20px;padding:28px;box-shadow:0 8px 26px #3459650c}
.oai-status-combined .oai-status-page .oai-status-panel{padding:0;border:0;border-radius:0;background:transparent;box-shadow:none;overflow:visible}
.oai-status-combined .oai-status-page+.oai-status-page{margin-top:26px;padding-top:26px;border-top:1px solid #dde6e8}
@media(max-width:600px){.oai-status-combined{padding:20px}.oai-status-combined .oai-status-page+.oai-status-page{margin-top:22px;padding-top:22px}}

.oai-status-combined .oai-status-meta .oai-status-inline-title{font-size:14px;font-weight:600;line-height:inherit;margin:0;color:#253b43}
.oai-status-combined .oai-status-meta{align-items:baseline}

.official-status-page .official-status-overview{max-width:880px;padding-top:88px;padding-bottom:24px}
.official-status-banner{display:flex;align-items:center;gap:12px;box-sizing:border-box;padding:18px 22px;background:#f1f4f6;border:1px solid #dce3e7;color:#64748b;border-radius:14px;font-size:18px;font-weight:500;line-height:1.5;text-align:left}
.official-status-banner::before{content:"";width:9px;height:9px;flex:0 0 9px;border-radius:50%;background:#a7b4b8}
.official-status-banner[data-status=operational]{background:#edf8f3;border-color:#cce9dd;color:#16816a}
.official-status-banner[data-status=operational]::before{background:#41b99a}
.official-status-banner[data-status=outage]{background:#fff1f2;border-color:#f0d3d6;color:#b0353c}
.official-status-banner[data-status=outage]::before{background:#df777d}
.official-status-banner[data-status=degraded]{background:#fff8e8;border-color:#efdfb2;color:#927010}
.official-status-banner[data-status=degraded]::before{background:#e4ba59}
.official-status-banner[data-status=maintenance]{background:#eef3fc;border-color:#d9e3f2;color:#4564a3}
.official-status-banner[data-status=maintenance]::before{background:#89a7da}
.official-status-intro{margin:18px 0 0;color:#65757d;font-size:14px;line-height:1.8;text-align:center}
@media(max-width:600px){.official-status-page .official-status-overview{padding-top:44px;padding-bottom:20px}.official-status-banner{font-size:16px;padding:16px 18px}.official-status-intro{font-size:13px;text-align:left}}

.oai-status-bars>span[data-status=severe_disruption]{background:#df777d}.oai-status-tooltip[data-status=severe_disruption] span{color:#b64a32}

.official-status-page #official-status-content{padding-bottom:0}.official-status-page .official-status-source-note{width:calc(100% - 48px);max-width:880px;margin:16px auto 64px;padding:0;text-align:left;font-size:13px;line-height:1.6;color:#64748b}

/* Current-state rows for providers whose official page publishes no history (DeepSeek). */
.oai-status-current{list-style:none;margin:4px 0 0;padding:0}
.oai-status-current li{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:9px 0;border-top:1px solid #e6edef;font-size:13px;color:#33474d}
.oai-status-current li:first-child{border-top:0}
.oai-status-current-state{display:inline-flex;align-items:center;gap:6px;flex:none;color:#16816a}
.oai-status-current-state::before{content:"";width:7px;height:7px;border-radius:50%;background:#29b790}
.oai-status-current li[data-status=degraded_performance] .oai-status-current-state{color:#927010}.oai-status-current li[data-status=degraded_performance] .oai-status-current-state::before{background:#dba820}
.oai-status-current li[data-status=partial_outage] .oai-status-current-state{color:#a85a1b}.oai-status-current li[data-status=partial_outage] .oai-status-current-state::before{background:#ee8c36}
.oai-status-current li[data-status=full_outage] .oai-status-current-state{color:#b0353c}.oai-status-current li[data-status=full_outage] .oai-status-current-state::before{background:#de565e}
.oai-status-current li[data-status=under_maintenance] .oai-status-current-state{color:#2f6f99}.oai-status-current li[data-status=under_maintenance] .oai-status-current-state::before{background:#589ac9}
.oai-status-current li[data-status=unknown] .oai-status-current-state{color:#66797d}.oai-status-current li[data-status=unknown] .oai-status-current-state::before{background:#a7b4b8}
.oai-status-page .oai-status-nohistory{margin:6px 0 10px;font-size:12px;color:#7a8b8f}

/* Official DeepSeek API history: one aggregate chart, separate model percentages. */
.oai-status-api-uptimes{display:flex;flex-wrap:wrap;gap:6px 24px;margin:10px 0;color:#66797d;font-size:12px;line-height:1.6}
.oai-status-tooltip-components{margin-top:6px;padding-top:6px;border-top:1px solid #e6edef}
.oai-status-tooltip .oai-status-tooltip-components span{font-size:12px;line-height:1.7;font-weight:400;color:#63777b}

@media(max-width:600px){.oai-status-page .oai-status-bars{height:36px;gap:2px}}

/* 来源说明：放在厂商状态卡片底部 */
.official-status-page .oai-status-combined .official-status-source-note.is-in-card{width:auto;max-width:none;margin:16px 0 0;padding:0;border:0}
/* 宽屏下基本不撑高卡片：文字借用卡片原有的底部留白，左边与卡片内容对齐 */
@media(min-width:721px){.official-status-page .oai-status-combined .official-status-source-note.is-in-card{margin:4px 0 -18px;font-size:12px;line-height:16px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}}
