:root { --paper:#F4F0E6; --ink:#1E2528; --muted:#536066; --sky:#CEF2FB; --amber:#F3B040; --line:rgba(30,37,40,.16); --card:rgba(255,255,255,.58); }
* { box-sizing:border-box; }
body { margin:0; color:var(--ink); background:var(--paper); font-family:ui-rounded,"SF Pro Rounded","PingFang SC","Microsoft YaHei",sans-serif; }
button,input,summary { font:inherit; }
button,a { -webkit-tap-highlight-color:transparent; }
a { color:inherit; text-underline-offset:3px; }
.page-shell { width:min(1120px,calc(100% - 32px)); margin:0 auto; padding:24px 0 64px; }
.site-header { display:flex; align-items:center; justify-content:space-between; padding:8px 0 46px; border-bottom:1px solid var(--line); }
.site-header p { margin:0; color:var(--muted); font-size:.9rem; }
.brand { display:flex; align-items:center; gap:9px; font-weight:800; text-decoration:none; letter-spacing:.03em; }
.brand img { width:28px; height:28px; border-radius:7px; }
.intro { max-width:760px; padding:68px 0 36px; }
.eyebrow,.section-kicker { margin:0 0 9px; color:var(--muted); font-size:.75rem; font-weight:800; letter-spacing:.13em; text-transform:uppercase; }
h1,h2,p { margin-top:0; }
h1 { margin-bottom:18px; font-size:clamp(2.3rem,6vw,4.9rem); line-height:.98; letter-spacing:-.065em; }
h2 { margin-bottom:8px; font-size:1.25rem; letter-spacing:-.025em; }
.intro > p:last-child { max-width:650px; color:var(--muted); font-size:1.08rem; line-height:1.7; }
.card,.video-card,.method-note { border:1px solid var(--line); border-radius:20px; background:var(--card); box-shadow:0 16px 45px rgba(30,37,40,.05); }
.upload-card { display:grid; grid-template-columns:1fr auto; align-items:center; gap:22px; padding:28px; }
.muted,.file-meta { color:var(--muted); line-height:1.55; }
.file-meta { grid-column:1/-1; margin:0; font-size:.9rem; }
.file-picker,.button { display:inline-flex; align-items:center; justify-content:center; min-height:48px; border-radius:999px; border:1px solid transparent; padding:0 19px; font-weight:750; cursor:pointer; text-decoration:none; transition:transform .18s ease,background .18s ease; }
.file-picker { background:var(--ink); color:#fff; white-space:nowrap; }
.file-picker input { position:absolute; width:1px; height:1px; opacity:0; pointer-events:none; }
.workspace { margin-top:28px; }
.is-hidden { display:none !important; }
.video-card { overflow:hidden; padding:16px; }
.video-card video { width:100%; max-height:min(65vh,680px); display:block; background:#101314; border-radius:12px; }
.timeline-wrap { position:relative; padding-top:22px; }
.marker-rail { position:absolute; inset:0 8px auto; height:28px; pointer-events:none; }
.marker { position:absolute; top:-7px; width:28px; height:28px; margin-left:-14px; padding:0; border:0; border-radius:50%; background:transparent; pointer-events:auto; cursor:pointer; }
.marker::after { content:""; display:block; width:12px; height:12px; margin:auto; border:2px solid var(--ink); border-radius:50%; background:var(--amber); }
.marker:focus-visible { outline:3px solid var(--sky); outline-offset:2px; }
#timeline { display:block; width:100%; accent-color:var(--ink); cursor:pointer; }
.timeline-labels,.progress-heading,.results-heading { display:flex; justify-content:space-between; gap:16px; }
.timeline-labels { margin-top:4px; color:var(--muted); font-variant-numeric:tabular-nums; font-size:.78rem; }
.video-actions { display:flex; flex-wrap:wrap; gap:9px; padding-top:16px; }
.button-primary { color:var(--ink); background:var(--amber); }
.button-secondary { border-color:var(--line); color:var(--ink); background:transparent; }
.button:disabled { opacity:.45; cursor:not-allowed; transform:none; }
.progress-card { margin-top:18px; padding:20px 22px; }
.progress-heading { font-variant-numeric:tabular-nums; }
progress { width:100%; height:10px; margin:13px 0 9px; accent-color:var(--amber); }
.progress-card p { margin-bottom:0; font-size:.9rem; }
.results { margin-top:38px; }
.results-heading { align-items:end; }
.results-heading .muted { margin-bottom:10px; text-align:right; }
.hit-list { display:grid; grid-template-columns:repeat(auto-fill,minmax(190px,1fr)); gap:10px; margin:18px 0 0; padding:0; list-style:none; }
.hit-list button { width:100%; display:flex; align-items:center; justify-content:space-between; gap:12px; padding:14px 15px; border:1px solid var(--line); border-radius:14px; color:var(--ink); background:rgba(255,255,255,.42); cursor:pointer; text-align:left; }
.hit-number { color:var(--muted); font-size:.82rem; }
.hit-time { font-weight:800; font-variant-numeric:tabular-nums; }
.highlight-result { display:grid; grid-template-columns:minmax(210px,.58fr) 1fr; gap:22px; align-items:start; margin-top:28px; padding:22px; }
.highlight-result video { width:100%; background:#101314; border-radius:12px; }
.highlight-result .button { width:max-content; }
.method-note { margin-top:48px; padding:0; color:var(--muted); font-size:.88rem; line-height:1.65; overflow:hidden; }
.method-note summary { display:flex; align-items:center; min-height:56px; padding:0 23px; color:var(--ink); font-weight:750; cursor:pointer; list-style:none; }
.method-note summary::-webkit-details-marker { display:none; }
.method-note summary::after { content:"+"; margin-left:auto; color:var(--muted); font-size:1.35rem; font-weight:400; }
.method-note[open] summary { border-bottom:1px solid var(--line); }
.method-note[open] summary::after { content:"−"; }
.method-content { padding:18px 23px 23px; }
.method-content p:last-child { margin-bottom:0; }
@media (hover:hover) { .file-picker:hover,.button:hover { transform:translateY(-1px); } .hit-list button:hover { background:var(--sky); } }
@media (max-width:680px) { .page-shell { width:min(100% - 24px,1120px); padding-top:12px; padding-bottom:40px; } .site-header { padding-bottom:24px; } .site-header p { font-size:.82rem; } .intro { padding:42px 0 24px; } .intro > p:last-child { font-size:1rem; line-height:1.6; } .upload-card,.highlight-result { grid-template-columns:1fr; padding:20px; } .file-picker,.button { width:100%; } .video-card { padding:10px; border-radius:16px; } .timeline-wrap { padding-top:26px; } #timeline { min-height:28px; } .video-actions { display:grid; grid-template-columns:1fr; gap:10px; padding-top:14px; } .results { margin-top:30px; } .results-heading { align-items:start; flex-direction:column; gap:2px; } .results-heading .muted { text-align:left; margin-bottom:0; } .hit-list { grid-template-columns:1fr; gap:9px; } .hit-list button { min-height:52px; padding:14px 16px; } .highlight-result .button { width:100%; } .method-note { margin-top:34px; } .method-note summary { min-height:54px; padding:0 19px; } .method-content { padding:16px 19px 20px; } }
@media (prefers-reduced-motion:reduce) { * { scroll-behavior:auto !important; transition:none !important; } }
