*{box-sizing:border-box}
html{color-scheme:dark}
body{margin:0}
a{color:inherit;text-decoration:none}
button,input{font:inherit}
a,button,input{-webkit-tap-highlight-color:transparent}
html[lang="zh-CN"] [data-locale="en"],html[lang="en"] [data-locale="zh"]{display:none}
a:focus-visible,button:focus-visible,input:focus-visible,video:focus-visible{outline:1px solid #aaa;outline-offset:5px}
.site-header{display:flex;align-items:center;justify-content:space-between;gap:24px}
.brand{font-size:16px;font-weight:600;letter-spacing:-.03em}
.language-toggle{border:1px solid #343434;border-radius:20px;background:transparent;color:#666;padding:8px 12px;font-size:10px;cursor:pointer}
html[lang="zh-CN"] .language-zh,html[lang="en"] .language-en{color:var(--text)}
.page-main{padding-top:32px;padding-bottom:55px}
.video-frame{position:relative;width:100%;aspect-ratio:16/9;background:#090909;border:1px solid #222;overflow:hidden}
.video-element{display:block;width:100%;height:100%;object-fit:contain;background:#090909}
.player-status{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;margin:0;padding:24px;color:#888;font-size:13px;text-align:center;background:#090909e6;pointer-events:none}
.player-status[hidden]{display:none}
.video-timeline{display:grid;grid-template-columns:52px minmax(0,1fr) 52px;align-items:center;gap:17px;margin-top:12px;min-height:28px}
.current-time,.total-time{font-size:10px;color:#888;font-variant-numeric:tabular-nums}
.total-time{text-align:right}
.video-range{--progress:0%;appearance:none;-webkit-appearance:none;width:100%;height:20px;margin:0;background:transparent;cursor:pointer;touch-action:pan-y}
.video-range::-webkit-slider-runnable-track{height:2px;border-radius:2px;background:linear-gradient(to right,#ddd var(--progress),#343434 var(--progress))}
.video-range::-webkit-slider-thumb{appearance:none;-webkit-appearance:none;width:8px;height:8px;margin-top:-3px;border:0;border-radius:50%;background:#ddd}
.video-range::-moz-range-track{height:2px;background:#343434}.video-range::-moz-range-progress{height:2px;background:#ddd}.video-range::-moz-range-thumb{width:8px;height:8px;border:0;border-radius:50%;background:#ddd}
.video-range:disabled{opacity:.35;cursor:default}
.video-info{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-top:26px}
h1,p{margin:0}
h1{font-size:22px;font-weight:500;letter-spacing:-.025em;line-height:1.4}
.video-note{margin-top:11px;color:#666;font-size:11px;line-height:1.8}
.play-toggle{display:flex;align-items:center;justify-content:center;flex:0 0 48px;width:48px;height:48px;border:1px solid #444;border-radius:50%;background:transparent;color:#ddd;cursor:pointer;transition:background .18s ease,border-color .18s ease}
.play-toggle:hover:not(:disabled){background:#171717;border-color:#888}
.play-toggle:disabled{opacity:.35;cursor:default}
.play-toggle svg{width:23px;height:23px;fill:currentColor}
.play-toggle .pause-symbol,.play-toggle[aria-pressed="true"] .play-symbol{display:none}
.play-toggle[aria-pressed="true"] .pause-symbol{display:block}
@media(max-width:650px){.page-main{padding-top:26px;padding-bottom:38px}.video-timeline{grid-template-columns:39px minmax(0,1fr) 39px;gap:11px}.video-info{margin-top:22px;gap:18px}h1{font-size:19px}.play-toggle{width:44px;height:44px;flex-basis:44px}.video-note{font-size:10px}.player-status{font-size:12px}}
@media(prefers-reduced-motion:reduce){*{transition:none!important}}

/* Keep the whole desktop player in view at normal browser zoom. */
.video-navigation{position:relative;display:flex;align-items:flex-start}
.video-back{position:absolute;left:0;top:calc(100% + 10px);white-space:nowrap;display:inline-flex;align-items:center;gap:5px;min-height:20px;color:#929292;font-size:12px;line-height:20px;transition:color .18s ease}
.video-back:hover{color:var(--text)}
@media(min-width:768px){
 body[data-site-page="video"]{--video-page-width:min(896px,max(240px,calc((100svh - 244px)*1.77777778)))}
 body[data-site-page="video"] .page-main{width:min(calc(100% - 12vw),var(--video-page-width))}
 body[data-site-page="video"] .page-main{padding-top:22px;padding-bottom:24px}
 body[data-site-page="video"] .video-info{margin-top:20px}
}
