:root{--bg:#f6f7f5;--surface:#fff;--ink:#172b25;--muted:#68766e;--line:#dbe3dd;--accent:#266b50;--soft:#edf4ee;--danger:#a33939;--radius:14px;--motion:160ms ease;font-family:Inter,system-ui,'PingFang SC','Noto Sans SC',sans-serif;color-scheme:light dark}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink)}main{max-width:1060px;margin:auto;padding:40px 28px}.brand{font-size:12px;font-weight:750;letter-spacing:2px;color:var(--accent)}h1{font-size:36px;line-height:1.2;margin:18px 0 10px}header p,footer,#message,#detail-meta{color:var(--muted)}.toolbar{display:flex;align-items:end;gap:14px;flex-wrap:wrap;margin-top:30px}label{display:grid;gap:8px;font-size:12px;color:var(--muted)}label:first-child{flex:1;min-width:210px}input,select,button,.play{font:inherit;border:1px solid var(--line);border-radius:8px;background:var(--surface);color:var(--ink);padding:11px 14px}input,select{width:100%;min-height:44px}button,.play{cursor:pointer;transition:background var(--motion)}button:hover{background:var(--soft)}button:disabled{cursor:wait;opacity:.6}:focus-visible{outline:2px solid var(--accent);outline-offset:3px}#message{font-size:13px;min-height:20px}#videos{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.card{border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;background:var(--surface);display:flex;flex-direction:column;min-width:0}.poster{height:135px;background:var(--soft);display:grid;place-items:center;color:var(--accent);font-size:42px}.content{padding:20px;display:flex;flex-direction:column;flex:1;gap:12px}.content h2{font-size:18px;margin:0;overflow-wrap:anywhere}.meta{color:var(--muted);font-size:12px}.badge{font-size:12px;color:var(--accent);align-self:start;background:var(--soft);padding:5px 8px;border-radius:6px}.notes{font-size:13px;color:var(--muted);line-height:1.6;margin:0;overflow-wrap:anywhere}.actions{display:flex;align-items:center;gap:12px;margin-top:auto;padding-top:8px}.play{display:inline-block;background:var(--accent);color:var(--surface);border:0;text-decoration:none;font-size:13px}.actions button{font-size:12px;padding:8px;border:0}.empty-state{grid-column:1/-1;padding:50px 20px;text-align:center;border:1px dashed var(--line);border-radius:var(--radius);color:var(--muted)}footer{font-size:12px;margin-top:30px;line-height:1.7}#more{margin-top:20px}dialog{max-width:540px;width:calc(100% - 32px);border:1px solid var(--line);border-radius:var(--radius);padding:26px;background:var(--surface);color:var(--ink)}dialog::backdrop{background:#0006}.dialog-heading{display:flex;gap:20px;justify-content:space-between;align-items:start}.dialog-heading h2{margin:0;overflow-wrap:anywhere}#detail-notes{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.6}.error{color:var(--danger)!important}[hidden]{display:none!important}@media(max-width:740px){#videos{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:480px){main{padding:26px 18px}h1{font-size:30px}#videos{grid-template-columns:1fr}.poster{height:100px}.toolbar label:first-child{flex-basis:100%}.toolbar label:nth-child(2){flex:1}}@media(prefers-color-scheme:dark){:root{--bg:#131b17;--surface:#1c2821;--ink:#e2ece5;--muted:#a5b6aa;--line:#36483c;--accent:#a0d8b6;--soft:#293f32;--danger:#ffb3b3}.play{color:var(--bg)}}@media(prefers-reduced-motion:reduce){*{transition:none!important}}