/* Shadowless Studios · AI Video Downloader · Minimal White UI v0.2.0 */
:root{font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;color:#17191d;background:#fff;font-synthesis:none;--ink:#17191d;--muted:#777d87;--soft:#f6f7f8;--line:#e8eaed;--accent:#16191e;--good:#167b5c;--radius:18px;--safe:env(safe-area-inset-bottom,0px)}
*,*::before,*::after{box-sizing:border-box}html{min-height:100%;scroll-behavior:smooth}body{margin:0;min-height:100dvh;background:#fff;color:var(--ink);overflow-x:hidden;-webkit-font-smoothing:antialiased}button,input{font:inherit}button{cursor:pointer;-webkit-tap-highlight-color:transparent}button:focus-visible,input:focus-visible{outline:2px solid #5b6676;outline-offset:3px}[hidden]{display:none!important}.ambient{display:none}
.shell{max-width:1060px;margin:auto;min-height:100dvh;padding:0 clamp(20px,4.3vw,46px) calc(118px + var(--safe))}
.header{height:85px;display:flex;align-items:center;justify-content:space-between;gap:14px;border-bottom:1px solid var(--line)}
.brand{display:flex;align-items:center;gap:11px;min-width:0}.brand-icon{width:37px;height:37px;object-fit:contain;border-radius:9px;background:#fff;padding:1px}.brand-label{display:flex;flex-direction:column;gap:3px;min-width:0}.brand-label strong{font-size:15px;font-weight:740;letter-spacing:-.045em;white-space:nowrap}.brand-label strong span{color:#17191d}.brand-label small{color:#9b9fa6;font-size:9px;font-weight:600;letter-spacing:.08em;text-transform:uppercase}
.connection{display:inline-flex;align-items:center;gap:8px;border:1px solid var(--line);padding:9px 13px;border-radius:100px;color:#757b84;background:#fff;font-size:11px;white-space:nowrap}.pulse{width:7px;height:7px;background:#a2a6aa;border-radius:50%}.pulse.online{background:#32a67e}
.page{display:none}.page.active{display:block;animation:entry .25s ease both}@keyframes entry{from{opacity:.5;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}
.hero{text-align:center;padding:78px 0 35px}.kicker,.eyebrow{font-size:10px;font-weight:760;color:#90959d;letter-spacing:.16em}.kicker{display:inline-block;background:#f5f6f7;border-radius:100px;padding:9px 16px}.spark{display:none}
.hero h1{margin:26px 0 15px;font-size:clamp(45px,7.3vw,76px);font-weight:740;letter-spacing:-.076em;line-height:1.08}.hero h1 em{font-style:normal;color:#989da5}.hero p{font-size:clamp(14px,2vw,16px);line-height:1.7;max-width:430px;margin:auto;color:#818791}
.panel{border:1px solid var(--line);border-radius:20px;background:#fff;box-shadow:0 13px 38px rgba(12,21,36,.035)}
.composer{max-width:700px;padding:30px;margin:0 auto}.panel-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:25px}.panel-heading h2,.section-heading h2{margin:0;font-size:17px;letter-spacing:-.04em;font-weight:710}.step-chip{font-size:11px;color:#9298a0;border:1px solid var(--line);background:#fff;border-radius:100px;padding:6px 10px}
.field-label{display:block;font-size:10px;color:#8c929b;letter-spacing:.12em;font-weight:720;margin:0 0 10px 2px}
.url-field{display:flex;align-items:center;gap:12px;min-height:62px;background:#f8f9fa;border:1px solid #ebedf0;border-radius:12px;padding:7px 9px 7px 15px;transition:border-color .2s}.url-field:focus-within{border-color:#888e98}.url-field svg{width:22px;height:22px;color:#aaaeb5;flex-shrink:0}.url-field input{border:0;outline:0;min-width:0;flex:1;background:transparent;color:#17191d;font-size:14px}.url-field input::placeholder{color:#a0a5ad}.paste{border:1px solid #e4e7eb;border-radius:9px;padding:10px 13px;color:#5f6670;font-size:12px;font-weight:670;background:#fff}.paste:hover{border-color:#c7cbd0}
.primary{display:flex;align-items:center;justify-content:center;gap:12px;min-height:53px;width:100%;border:1px solid #17191d;border-radius:12px;background:#181b20;color:#fff;font-weight:710;font-size:14px;transition:background .16s}.primary svg{height:19px;width:19px}.primary:not(:disabled):hover{background:#343940}.primary:disabled{opacity:.55;cursor:wait}.composer .primary{margin-top:15px}.field-hint{font-size:11px;line-height:1.6;color:#a0a6af;text-align:center;margin:15px 0 0}
.analysis-live{display:flex;align-items:center;justify-content:center;gap:10px;margin:18px 0 0;color:#606874;font-size:12px;min-height:25px}.analysis-spinner{width:17px;height:17px;border:2px solid #e8eaed;border-top-color:#22272f;border-radius:50%;animation:spin .8s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}
.supported{max-width:700px;margin:21px auto 59px;display:flex;align-items:center;justify-content:center;gap:13px;flex-wrap:wrap}.supported>span{font-size:10px;color:#acb0b6;letter-spacing:.13em;font-weight:700}.supported>div{display:flex;gap:7px;flex-wrap:wrap;justify-content:center}.supported b{border:1px solid #ebedf0;border-radius:99px;padding:7px 11px;background:#fff;color:#8a8f98;font-size:11px;font-weight:580}
.section{max-width:700px;margin:34px auto 0}.section-heading{display:flex;justify-content:space-between;align-items:end;gap:12px;margin-bottom:18px}.section-heading h2{margin-top:7px;font-size:22px}.quick-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}
.quick-card{min-height:146px;display:flex;align-items:start;flex-direction:column;position:relative;text-align:left;padding:20px;border:1px solid #e9ecef;background:#fff;border-radius:16px;color:var(--ink);transition:background .15s,border-color .15s}.quick-card:hover{background:#fafafa;border-color:#d6dade}.quick-icon{width:37px;height:37px;display:grid;place-items:center;border-radius:10px;font-size:22px;background:#f5f6f7;color:#383e47;margin-bottom:13px}.quick-card strong{font-size:14px;font-weight:690}.quick-card small{font-size:12px;color:#a0a5ad;margin-top:4px}.chevron{position:absolute;top:20px;right:20px;font-size:16px;color:#a9aeb5}.recent-section{margin-top:38px}.text-action{border:0;background:none;color:#707783;font-size:12px;font-weight:670}
.list{display:grid;gap:10px}.empty{text-align:center;background:#fafbfb;border:1px dashed #e5e8eb;border-radius:14px;padding:29px 15px;font-size:13px;color:#a2a7ae;line-height:1.6}.item{display:flex;align-items:center;gap:12px;padding:14px;border:1px solid #ebedf0;border-radius:14px;background:#fff;min-width:0}.item-icon{display:grid;place-items:center;width:36px;height:36px;flex-shrink:0;border-radius:10px;background:#f4f5f6;color:#5a626d;font-size:17px}.item-info{flex:1;min-width:0}.item-info strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px;font-weight:700}.item-info small{color:#9097a1;display:block;font-size:11px;margin-top:6px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.item-actions{display:flex;gap:6px}.small-btn,.outlined-button{border:1px solid #e4e7eb;border-radius:9px;background:#fff;color:#555e69;font-size:12px;padding:9px 12px}.small-btn:hover,.outlined-button:hover{background:#f7f8f9}.danger{color:#bb5555}.download-tools{display:flex;gap:10px;justify-content:flex-end;margin:0 auto 16px;max-width:700px;flex-wrap:wrap}.progress-bar{width:100%;height:4px;background:#edf0f2;border-radius:8px;overflow:hidden;margin-top:9px}.progress-bar>span{display:block;height:100%;background:#262d36;transition:width .3s}.download-detail{color:#9299a2;font-size:11px;margin-top:4px}
.section-top{max-width:700px;margin:75px auto 27px}.section-top h1{font-size:44px;letter-spacing:-.065em;margin:10px 0}.section-top p{color:#8e949d;line-height:1.7;font-size:14px;max-width:560px}.page>.list,.info-panel,.legal-note{max-width:700px;margin-left:auto;margin-right:auto}.info-panel{padding:10px 24px}.info-row{display:flex;justify-content:space-between;align-items:center;padding:19px 0;gap:16px;border-bottom:1px solid var(--line);font-size:13px}.info-row:last-child{border:0}.info-row span{color:#969ca5}.info-row strong{text-align:right;font-weight:670}.legal-note{color:#a0a5ad;line-height:1.7;font-size:12px;margin-top:21px}
.nav{position:fixed;z-index:10;left:50%;bottom:max(15px,var(--safe));transform:translateX(-50%);width:min(460px,calc(100% - 28px));display:flex;justify-content:space-between;align-items:center;padding:7px;background:rgba(255,255,255,.96);border:1px solid #e7e9ec;box-shadow:0 10px 35px #16233312;border-radius:17px;backdrop-filter:blur(15px)}.nav button{flex:1;display:flex;flex-direction:column;gap:4px;align-items:center;border:0;background:transparent;color:#a0a5ad;padding:8px 4px;font-size:10px;font-weight:630;border-radius:11px}.nav button.active{background:#f3f4f5;color:#20242a}.nav-icon{font-size:21px;line-height:1}
.modal-backdrop{position:fixed;inset:0;z-index:30;background:#15192270;display:grid;place-items:end center;padding:12px 12px max(12px,var(--safe));overflow-y:auto}.modal{max-height:90dvh;overflow-y:auto;width:min(100%,570px);padding:24px;border-radius:23px}.modal-open{overflow:hidden}.modal-head{display:flex;justify-content:space-between;align-items:start;gap:12px}.modal-head h2{font-size:22px;letter-spacing:-.04em;margin:8px 0}.close{width:35px;height:35px;border:0;border-radius:10px;background:#f1f2f4;color:#5a616b;font-size:23px}.modal-subtitle{line-height:1.6;color:#969ca6;font-size:13px}.candidate-list{display:grid;gap:9px;overflow-y:auto;max-height:48dvh}.candidate{display:flex;align-items:start;gap:12px;padding:15px;border:1px solid #e7e9ee;background:#fff;border-radius:12px;cursor:pointer}.candidate.selected{border-color:#333941;background:#fafbfc}.candidate input{accent-color:#22262b;margin-top:4px}.candidate strong{display:block;font-size:13px;font-weight:680}.candidate small{display:block;font-size:11px;color:#949ba3;margin-top:6px}.modal-actions{display:grid;grid-template-columns:1fr 1.2fr;gap:10px;margin-top:18px}.secondary{border:1px solid #e1e3e7;border-radius:12px;background:#fff;color:#40454c;font-weight:650}.toast{position:fixed;z-index:40;left:50%;bottom:101px;transform:translateX(-50%);background:#1c2229;color:#fff;border-radius:12px;padding:13px 16px;max-width:min(520px,calc(100% - 28px));box-shadow:0 12px 35px #0002;font-size:13px;line-height:1.5;width:max-content}
@media(max-width:480px){.shell{padding-left:17px;padding-right:17px}.header{height:73px}.brand-label strong{font-size:13px}.brand-icon{width:36px;height:36px}.connection{font-size:10px;padding:8px 11px}.hero{padding:55px 0 31px}.hero h1{font-size:clamp(43px,10.4vw,55px);margin-top:23px}.hero p{max-width:300px}.composer{padding:20px}.url-field{gap:7px;padding-left:10px}.url-field input{font-size:12px}.paste{padding:9px 10px}.supported{margin-bottom:42px}.quick-card{padding:15px;min-height:140px}.modal-actions{grid-template-columns:1fr}.secondary{min-height:46px}.section-top{margin-top:47px}.section-top h1{font-size:38px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important}}


/* Compact details actions: MP3 export must not add a tall column of buttons. */
.details-modal .modal-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}
.details-modal .modal-actions button{min-width:0;min-height:38px;padding:9px 6px;font-size:12px}
@media(max-width:480px){.details-modal .modal-actions{grid-template-columns:repeat(2,minmax(0,1fr))}}
