:root { --ink:#183c38; --paper:#f8f5ec; --accent:#b7562b; --line:#d4dace; --muted:#5a6e65; --surface:#fffdf7; }
* { box-sizing:border-box; }
[hidden] { display:none !important; }
body { margin:0; color:var(--ink); font-family:"Noto Serif CJK SC","Songti SC",Georgia,serif; background:radial-gradient(ellipse at 90% 8%,#dce7d0 0,transparent 42%),linear-gradient(135deg,#f5ebd9,var(--paper) 65%); }
button,input,select,textarea { font:inherit; }
button { border:1px solid var(--ink); border-radius:4px; padding:12px 18px; background:var(--ink); color:var(--surface); cursor:pointer; }
button.secondary { background:transparent; color:var(--ink); }
button:hover:not(:disabled) { background:var(--accent); color:white; border-color:var(--accent); }
button:disabled { opacity:.5; cursor:wait; }
a { color:inherit; text-underline-offset:4px; }
.masthead { display:flex; align-items:center; gap:24px; margin:0 auto; max-width:1280px; padding:24px 30px; border-bottom:1px solid var(--line); }
.masthead a { font-size:26px; font-weight:bold; text-decoration:none; }
.masthead span { font:12px Georgia,serif; letter-spacing:3px; }
.masthead button { margin-left:auto; }
main { max-width:1280px; margin:auto; padding:28px 30px 40px; }
.intro { padding:25px 0 38px; max-width:850px; animation:reveal .65s ease-out both; }
.eyebrow { color:var(--accent); letter-spacing:2px; font-size:13px; margin:0 0 18px; }
h1 { font-size:clamp(38px,6vw,74px); line-height:1.16; font-weight:500; letter-spacing:-2px; margin:0 0 24px; }
h1 em { font-style:normal; color:var(--accent); }
p { line-height:1.8; }
.intro>p:last-child { color:var(--muted); }
h2 { font-weight:500; font-size:28px; margin:0 0 18px; }
.panel { border:1px solid var(--line); border-top:3px solid var(--ink); padding:28px; background:var(--surface); box-shadow:0 16px 34px #183c3809; }
#oc-auth { max-width:720px; }
label { display:block; margin:16px 0; font-size:14px; }
input,textarea,select { display:block; width:100%; margin-top:8px; padding:12px; border:1px solid var(--line); color:var(--ink); background:#fff; border-radius:2px; }
textarea { resize:vertical; min-height:100px; }
input:focus,textarea:focus,select:focus,button:focus-visible { outline:2px solid var(--accent); outline-offset:3px; }
.actions { display:flex; gap:12px; flex-wrap:wrap; }
.status { margin:24px 0; padding:15px 18px; background:#e7eddc; border-left:3px solid var(--ink); overflow-wrap:anywhere; }
.status[data-error=true] { background:#f8e5da; border-color:var(--accent); }
.workbench { display:grid; grid-template-columns:minmax(0, .85fr) minmax(0, 1.15fr); gap:24px; }
.dropzone { border:1px dashed var(--muted); padding:18px; background:#f3f5ea; }
.dropzone span { display:block; margin-top:10px; color:var(--muted); font-size:12px; line-height:1.7; overflow-wrap:anywhere; }
video { display:block; width:100%; max-height:420px; margin:16px 0; background:#183c38; border-radius:3px; }
.feed-heading { display:flex; justify-content:space-between; align-items:center; gap:14px; flex-wrap:wrap; }
.hint { font-size:12px; color:var(--muted); overflow-wrap:anywhere; }
.video-card { padding:20px 0; border-top:1px solid var(--line); overflow-wrap:anywhere; }
.video-card h3 { font-size:18px; margin:0 0 10px; white-space:pre-wrap; }
.video-card .actions { margin-top:14px; }
.boundary { margin-top:28px; border:1px solid var(--line); padding:20px 24px; background:#f0ecdc; }
.boundary p { margin-bottom:0; font-size:13px; }
footer { border-top:1px solid var(--line); padding:24px 30px; font-size:12px; color:var(--muted); text-align:center; }
@keyframes reveal { from { opacity:0; transform:translateY(12px); } to { opacity:1; transform:translateY(0); } }
@media(max-width:760px) { .workbench { grid-template-columns:1fr; } .masthead { gap:10px; padding:18px; flex-wrap:wrap; } main { padding:22px 18px 32px; } .panel { padding:22px 18px; } .intro { padding:12px 0 22px; } .masthead span { font-size:10px; } .masthead button { padding:9px; font-size:12px; } }
@media(prefers-reduced-motion:reduce) { .intro { animation:none; } }
