:root{color-scheme:dark;--bg:#0d0e11;--surface:#181b21;--border:#444d5b;--blue:#1252b8;--muted:#b3bdcc;--white:#fff;font-family:"Segoe UI",Arial,sans-serif;font-size:16px;line-height:1.5;background:var(--bg);color:var(--white)}
*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit;color:inherit}button{min-height:46px;border:0;border-radius:10px;padding:10px 15px;background:var(--blue);font-weight:600;cursor:pointer}button:hover:not(:disabled){filter:brightness(1.15)}button:disabled{opacity:.48;cursor:default}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #8fbdff;outline-offset:3px}input,select{width:100%;min-width:0;min-height:48px;background:var(--bg);border:1px solid var(--border);border-radius:10px;padding:11px 12px}label{display:block;font-size:15px;font-weight:600;margin:0 0 7px}h1,h2,p{margin:0}h1{font-size:23px;line-height:1.25;letter-spacing:-.4px}h2{font-size:20px;margin-bottom:12px}.app{max-width:660px;margin:auto;padding:max(20px,env(safe-area-inset-top)) max(16px,env(safe-area-inset-right)) max(24px,env(safe-area-inset-bottom)) max(16px,env(safe-area-inset-left))}.header{display:flex;align-items:center;gap:12px;margin-bottom:26px}.header img{border-radius:13px}.header div{flex:1;min-width:0}.header p{color:var(--muted);font-size:14px;margin-top:3px}.quiet{background:transparent;color:var(--muted);font-size:14px;padding:9px 10px}.views{display:grid;grid-template-columns:1fr 1.6fr;border-bottom:1px solid var(--border);gap:6px;margin-bottom:18px;padding-bottom:12px}.views button{background:var(--surface);font-size:15px}.views button[aria-current]{background:var(--blue)}.notice{font-size:15px;padding:12px 14px;background:var(--surface);border-radius:10px;color:var(--muted);margin-bottom:18px}.notice.success{color:#a9d1ff}.panel{background:var(--surface);border:1px solid var(--border);border-radius:14px;padding:17px;margin-bottom:24px}.input-row{display:flex;align-items:center;gap:8px}.input-row input{flex:1}.networks{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:5px;margin-bottom:14px}.networks button{padding:9px 4px;background:var(--surface);font-size:14px;white-space:nowrap}.networks button[aria-selected=true]{background:var(--blue)}.format{display:flex;gap:8px;margin:18px 0}.format button{flex:1;background:var(--bg);color:var(--muted)}.format button[aria-pressed=true]{background:var(--blue);color:var(--white)}.helper{color:var(--muted);font-size:14px;line-height:1.6;margin:11px 0 15px}.wide{width:100%}.error{color:#ffb1ad;font-size:14px;margin-top:12px}.error:empty{display:none}.empty{text-align:center;border:1px solid var(--border);border-radius:14px;padding:30px 16px;color:var(--muted);font-size:15px;margin:24px 0}.file-list{list-style:none;margin:0;padding:0}.file-list li{border:1px solid var(--border);background:var(--surface);border-radius:13px;padding:16px;margin:12px 0}.file-name{font-size:16px;font-weight:600;overflow-wrap:anywhere}.file-details,.file-state{font-size:14px;color:var(--muted);margin-top:6px}.file-state.local{color:#a9d1ff}.file-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:15px}.file-actions button{font-size:14px;background:#252b35;padding:10px}.file-actions .primary{background:var(--blue)}.file-actions .remove{background:transparent;color:var(--muted)}.job-progress{width:100%;height:10px;margin:16px 0 5px;accent-color:#438df5}.job-progress:not([value]){opacity:.7}footer{display:flex;align-items:center;justify-content:space-between;margin-top:28px;color:var(--muted);font-size:14px}dialog{background:var(--surface);color:var(--white);border:1px solid var(--border);border-radius:15px;width:min(620px,calc(100% - 28px));max-height:85dvh;padding:20px}dialog::backdrop{background:#000b}.dialog-top{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:18px}.dialog-top h2{font-size:18px;margin:0;overflow-wrap:anywhere}video,audio{width:100%;max-height:60dvh}video{background:#000;border-radius:10px}#player-dialog{overflow:auto}#install-instructions{color:var(--muted);line-height:1.8}.sr-only{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}[hidden]{display:none!important}@media(min-width:600px){.app{padding-top:34px}.panel{padding:24px}.file-actions{display:flex;flex-wrap:wrap}.file-actions button{min-width:108px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;animation:none!important;transition:none!important}}
.footer-actions{display:flex;align-items:center;gap:6px;flex-wrap:wrap}.contribution-qr{display:block;max-width:100%;height:auto;margin:20px auto;background:white}.contribution-link{display:flex;align-items:center;justify-content:center;min-height:48px;padding:12px 16px;border-radius:10px;background:var(--blue);color:white;text-decoration:none;font-weight:600}.contribution-link:focus-visible{outline:3px solid #8fbdff;outline-offset:3px}
