:root{--bg: #0f1115;--panel: #141820;--line: #222836;--fg: #e8e8e8;--muted: #a0a8b5;--accent: #5cc8ff;--danger: #ff5c7a;--success: #44d17c}*{box-sizing:border-box}html,body,#root{height:100%}body{margin:0;background:var(--bg);color:var(--fg);font-family:Inter,system-ui,Segoe UI,Roboto,Arial,sans-serif}.app{display:grid;grid-template-columns:360px 1fr;gap:16px;padding:16px;height:100dvh}.panel{background:var(--panel);border:1px solid var(--line);border-radius:16px;padding:14px;overflow:hidden}.hstack{display:flex;align-items:center;gap:8px}.vstack{display:flex;flex-direction:column;gap:8px}.header{font-size:18px;font-weight:600;padding-bottom:8px;border-bottom:1px solid var(--line);margin-bottom:12px}label{font-size:12px;color:var(--muted)}input,select,textarea{width:100%;padding:10px 12px;border-radius:10px;background:#0f131b;color:var(--fg);border:1px solid #262c3a;outline:none}textarea{min-height:68px;resize:vertical}button{padding:10px 14px;border-radius:10px;border:1px solid var(--line);background:#0f131b;color:var(--fg);cursor:pointer}button.primary{background:var(--accent);color:#061018;border-color:transparent}button.danger{background:#20131a;border-color:#3a2530;color:#ff7a9b}.list{max-height:40vh;overflow:auto;border:1px dashed #283044;border-radius:10px;padding:8px}.list .row{display:grid;grid-template-columns:1fr auto;align-items:center;padding:8px;border-bottom:1px solid #1d2230;border-radius:8px}.list .row:last-child{border-bottom:none}.row .name{font-weight:600}.row .meta{color:var(--muted);font-size:12px}.videoWrap{position:relative;background:#000;height:calc(100% - 8px);border-radius:12px;overflow:hidden;border:1px solid var(--line)}.videoWrap video{width:100%;height:100%;display:block;background:#000}.overlayLayer{position:absolute;top:0;right:0;bottom:0;left:0}.overlayItem{position:absolute;display:flex;align-items:center;justify-content:center;color:#fff;border:1px dashed rgba(255,255,255,.3);border-radius:10px;padding:4px 8px;background:#0003}.overlayItem img{width:100%;height:100%;object-fit:contain;border-radius:10px}.badge{padding:2px 8px;border-radius:100px;background:#0e1c28;border:1px solid #203042;color:#9ed7ff;font-size:12px}.sep{height:1px;background:var(--line);margin:8px 0}
