/* Shared EN/ZH status presentation. Navigation mirrors the changelog disclosure. */
.status-page .status-topbar.tk-content-topbar { font-family:'Space Grotesk','Microsoft YaHei',sans-serif; display:flex; flex-wrap:nowrap; align-items:center; justify-content:space-between; gap:12px; overflow:visible }
.status-page .status-nav-actions { position:relative; display:flex; align-items:center; justify-content:flex-end; flex-wrap:nowrap; gap:24px; margin-inline-start:auto; min-width:0 }
.status-page .status-nav-links { display:flex; align-items:center; gap:24px; order:-1 }
.status-page .status-menu-toggle { display:none; flex:none; width:44px; height:44px; padding:0; align-items:center; justify-content:center; border:1px solid #ffffff24; border-radius:50%; color:#eee; background:#1b1b1b; cursor:pointer; transition:background .2s,border-color .2s }
.status-page .status-menu-toggle:hover { background:#292929; border-color:#ffffff45 }
.status-page .status-menu-toggle:focus-visible,.status-page .status-nav-links a:focus-visible { outline:2px solid #eee; outline-offset:3px }
.status-menu-icon { position:relative; width:18px; height:14px }
.status-menu-icon span { position:absolute; left:0; top:6px; width:18px; height:1.5px; border-radius:2px; background:currentColor; transition:transform .22s ease,opacity .18s ease }
.status-menu-icon span:first-child { transform:translateY(-5px) }
.status-menu-icon span:last-child { transform:translateY(5px) }
.status-menu-toggle[aria-expanded="true"] .status-menu-icon span:first-child { transform:rotate(45deg) }
.status-menu-toggle[aria-expanded="true"] .status-menu-icon span:nth-child(2) { opacity:0; transform:scaleX(.4) }
.status-menu-toggle[aria-expanded="true"] .status-menu-icon span:last-child { transform:rotate(-45deg) }
.status-page .status-topbar > .topbar-btn { padding:10px 16px; background:#171717; min-width:0; flex:none }
.status-page .status-topbar > .topbar-btn svg { flex:none }
.status-page .status-modules { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); column-gap:48px; row-gap:0 }
.status-module { min-width:0; padding:27px 0; border:0; border-bottom:1px solid #ffffff12; border-radius:0; background:none; box-shadow:none }
.status-module-head { display:flex; align-items:baseline; justify-content:space-between; gap:12px }
.status-module h3 { color:#f1f1f1; font-size:15px; font-weight:600; line-height:1.5; margin:0 }
.status-page .status-value { color:#aaa; font-size:11px; font-weight:500; line-height:1.5; white-space:nowrap; background:none; border:0; padding:0; letter-spacing:0 }
.status-module[data-state="operational"] .status-value { color:#eee }
.status-module[data-state="degraded"] .status-value,.status-module[data-state="down"] .status-value { color:#d5b9a2 }
.status-module-detail { min-height:40px; margin:9px 0 15px; color:#929292; font-size:12px; line-height:1.7; overflow-wrap:anywhere }
.status-ticks { display:grid; grid-template-columns:repeat(40,minmax(0,1fr)); align-items:center; height:29px; gap:clamp(3px,.55vw,7px) }
.status-ticks span { justify-self:center; width:1px; height:13px; background:#353535; transition:background-color .25s,height .25s }
.status-ticks span:nth-child(5n + 1) { height:22px }
.status-ticks span:first-child,.status-ticks span:last-child { height:27px }
.status-module[data-state="operational"] .status-ticks span { background:#e2e2e2 }
.status-module[data-state="client_side"] .status-ticks span { background:#777 }
.status-module[data-state="degraded"] .status-ticks span { background:#747474 }
.status-module[data-state="down"] .status-ticks span { background:#414141 }
.status-latency { margin-top:20px }
.status-latency[hidden] { display:none }
.status-latency-value { display:flex; align-items:baseline; justify-content:space-between; gap:12px; margin-bottom:10px; color:#999; font-size:11px }
.status-latency-value strong { color:#dedede; font-weight:500; font-variant-numeric:tabular-nums }
.status-latency-track { position:relative; height:21px; border-bottom:1px solid #ffffff12; background:repeating-linear-gradient(90deg,#777 0 1px,transparent 1px 2.5%); background-size:100% 10px; background-repeat:no-repeat; background-position:center bottom }
.status-latency-pointer { position:absolute; left:clamp(0%,var(--latency,0%),100%); bottom:0; width:2px; height:21px; transform:translateX(-50%); background:#f5f5f5; transition:left .4s ease }
.status-latency-pointer:before { content:''; position:absolute; left:-2px; top:-3px; width:6px; height:6px; border-radius:50%; background:#f5f5f5 }
.status-latency-scale { display:flex; justify-content:space-between; margin-top:9px; color:#777; font-size:10px; font-variant-numeric:tabular-nums }
.status-reading-note { color:#858585; font-size:11px; line-height:1.8; margin:22px 0 0; max-width:760px }
@media(max-width:1000px) {
 .status-page .status-hero { padding-top:12px!important }
 .status-page .status-topbar.tk-content-topbar { padding-inline:20px; gap:12px }
 .status-page .status-nav-actions { gap:8px }
 .status-page .status-menu-toggle { display:inline-flex }
 .status-page .status-topbar .status-nav-links { position:absolute; right:0; top:calc(100% + 10px); display:flex; flex-direction:column; align-items:stretch; gap:4px; width:196px; max-width:calc(100vw - 32px); padding:7px; border:1px solid #ffffff24; border-radius:16px; background:#1b1b1b; box-shadow:0 12px 32px #0008; z-index:50; visibility:hidden; opacity:0; pointer-events:none; transform:translateY(-6px) scale(.98); transform-origin:top right; transition:opacity .18s ease,transform .22s ease,visibility 0s linear .22s }
 .status-page .status-topbar .status-nav-links a { display:flex; align-items:center; min-height:44px; padding:10px 13px; border-radius:10px; color:#e7e7e7; font-size:13px; line-height:1.5; white-space:normal; overflow-wrap:anywhere; transition:background .18s,color .18s }
 .status-page .status-topbar .status-nav-links a:hover { background:#ffffff0d; color:#fff }
 .status-page .status-nav-open .status-nav-links { visibility:visible; opacity:1; pointer-events:auto; transform:none; transition-delay:0s }
}
@media(max-width:640px) {
 .status-page .status-modules { grid-template-columns:minmax(0,1fr) }
 .status-module { padding-block:24px }
 .status-module-detail { min-height:0 }
}
@media(max-width:540px) {
 .status-page .status-topbar.tk-content-topbar { padding-inline:16px; column-gap:6px }
 .status-page .status-topbar > .topbar-btn { padding:9px 8px; gap:6px; min-height:44px }
 .status-page .status-topbar > .topbar-btn span { font-size:11px!important; white-space:nowrap }
}
@media(prefers-reduced-motion:reduce) {
 .status-page .status-menu-toggle,.status-page .status-nav-links,.status-menu-icon span,.status-latency-pointer,.status-ticks span { transition:none!important }
}
/* The final service spans the full second row; history belongs to this section. */
.status-module[data-status-key="domain"] { grid-column:1 / -1 }
.status-page .status-incidents { margin-top:28px; border:0; border-top:1px solid #ffffff1a; border-bottom:1px solid #ffffff1a; border-radius:0; background:none; box-shadow:none }
.status-incidents-toggle { display:flex; align-items:center; gap:14px; min-height:68px; padding:18px 0; list-style:none; color:#aaa; cursor:pointer; transition:color .2s }
.status-incidents-toggle::-webkit-details-marker { display:none }
.status-incidents-toggle:hover,.status-incidents[open] .status-incidents-toggle { color:#eee }
.status-incidents-toggle:focus-visible { outline:1px solid #ddd; outline-offset:5px }
.status-incidents-title { font-size:13px; font-weight:600; letter-spacing:.04em }
.status-incidents-toggle #incident-count { margin-left:auto; color:#818181; font-size:11px; font-variant-numeric:tabular-nums }
.status-archive-ticks { display:flex; align-items:center; gap:4px; height:24px; color:#777 }
.status-archive-ticks i { display:block; width:1px; height:10px; background:currentColor; transition:height .22s,color .22s }
.status-archive-ticks i:nth-child(2n) { height:16px }
.status-archive-ticks i:first-child { height:22px }
.status-incidents-toggle:hover .status-archive-ticks,.status-incidents[open] .status-archive-ticks { color:#ddd }
.status-accordion-icon { position:relative; flex:none; width:16px; height:16px; margin-left:8px }
.status-accordion-icon:before,.status-accordion-icon:after { content:''; position:absolute; left:1px; top:7px; width:14px; height:1px; background:currentColor; transition:transform .22s }
.status-accordion-icon:after { transform:rotate(90deg) }
.status-incidents[data-expanded="true"] .status-accordion-icon:after { transform:rotate(0) }
.status-incidents:not([data-expanded])[open] .status-accordion-icon:after { transform:rotate(0) }
.status-page .incident-entry { padding:12px 0 28px; border:0; background:none; border-radius:0; box-shadow:none }
.status-page .incident-entry + .incident-entry { border-top:1px solid #ffffff12; padding-top:28px }
.status-page .incident-head { display:flex; align-items:flex-start; justify-content:space-between; gap:24px }
.status-page .incident-date { margin-bottom:10px; color:#888; font-size:11px }
.status-page .incident-title { font-size:17px; font-weight:600; line-height:1.5 }
.status-page .incident-summary { color:#999; font-size:12px; line-height:1.85 }
.status-page .incident-badge { padding:0; margin:0; border:0; border-radius:0; background:none; color:#bdbdbd; font-size:11px; letter-spacing:0; font-weight:400 }
.status-page .incident-badge:before { width:12px; height:1px; border-radius:0; background:#aaa; box-shadow:none }
.status-page .incident-details { gap:20px 32px; border-top:0; margin-top:24px }
.status-page .incident-detail,.status-page .incident-detail:nth-child(even) { border:0; padding:0 }
.status-page .incident-detail dt { font-size:11px; color:#888; letter-spacing:.04em }
.status-page .incident-detail dd { color:#bcbcbc; font-size:12px; line-height:1.8 }
@media(max-width:640px) {
 .status-incidents-toggle { gap:10px; min-height:64px }
 .status-incidents-title { letter-spacing:0 }
 .status-page .incident-head { gap:12px }
 .status-page .incident-badge { white-space:nowrap }
 .status-page .incident-title { font-size:15px }
 .status-page .incident-details { grid-template-columns:1fr }
 .status-incidents-toggle #incident-count { font-size:10px }
}
@media(prefers-reduced-motion:reduce) {
 .status-incidents-toggle,.status-archive-ticks i,.status-accordion-icon:before,.status-accordion-icon:after { transition:none }
}
