.media-downloader-route-page{background:#eef2f6!important;align-items:stretch!important;justify-content:center!important;padding:0!important;overflow:hidden!important}
.media-downloader-page-content{width:100%!important;max-width:none!important;height:100%!important;min-height:0!important;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;overflow:hidden!important;background:#eef2f6!important;box-shadow:none!important}
.media-downloader-root{height:100%;min-height:0;font-family:Inter,system-ui,-apple-system,"Segoe UI",sans-serif;color:#15202b;background:#eef2f6;overflow:hidden}
.media-dl-shell{height:100%;min-height:0;display:flex;flex-direction:column;background:#eef2f6;overflow:hidden;padding-top:max(0px,var(--android-inset-top,env(safe-area-inset-top,0px)))}
.media-dl-head{flex:0 0 66px;display:grid;grid-template-columns:44px minmax(0,1fr) 44px;align-items:center;gap:8px;padding:0 12px;background:#fff;border-bottom:1px solid #dfe5eb;box-sizing:border-box;box-shadow:0 2px 10px rgba(18,38,63,.04);z-index:5}
.media-dl-head>div{min-width:0}.media-dl-head>div>span{display:block;font-size:9px;line-height:1;font-weight:800;letter-spacing:.14em;color:#718096}.media-dl-head h1{margin:5px 0 0;font-size:19px;line-height:1.05;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.media-dl-icon{width:40px;height:40px;border:0;border-radius:12px;background:#f1f4f7;color:#1f2937;display:grid;place-items:center}.media-dl-icon .material-symbols-rounded{font-size:22px}
.media-dl-main{flex:1;min-height:0;overflow:auto;padding:14px 14px calc(28px + env(safe-area-inset-bottom));box-sizing:border-box;overscroll-behavior:contain}
.media-dl-main>*{max-width:760px;margin-left:auto;margin-right:auto}
.media-dl-hero{display:flex;align-items:center;gap:12px;padding:14px;border-radius:18px;background:linear-gradient(135deg,#142b3c,#1e4663);color:#fff;box-shadow:0 10px 28px rgba(24,59,83,.16)}.media-dl-source-mark{flex:0 0 48px;width:48px;height:48px;border-radius:15px;display:grid;place-items:center;background:rgba(255,255,255,.12)}.media-dl-source-mark .material-symbols-rounded{font-size:27px}.media-dl-hero strong{display:block;font-size:14px}.media-dl-hero p{margin:4px 0 0;color:#c9d7e2;font-size:10.5px;line-height:1.45}
.media-dl-url-card,.media-dl-result-card,.media-dl-destination-card,.media-dl-recent,.media-dl-setting-card,.media-dl-legal{margin-top:12px;background:#fff;border:1px solid #dde4ea;border-radius:18px;box-shadow:0 3px 14px rgba(23,43,77,.04)}
.media-dl-url-card{padding:14px}.media-dl-source-chip{display:inline-flex;align-items:center;gap:5px;height:28px;padding:0 9px;border-radius:999px;background:#eef3f7;color:#475569;font-size:10px;font-weight:800}.media-dl-source-chip.youtube{background:#fff0f0;color:#c72727}.media-dl-source-chip.instagram{background:#fff0f6;color:#b42571}.media-dl-source-chip .material-symbols-rounded{font-size:15px}
.media-dl-url-input{display:grid;grid-template-columns:24px minmax(0,1fr) 36px;align-items:start;gap:7px;margin-top:10px;padding:10px;border:1px solid #cfd8e2;border-radius:14px;background:#f8fafc}.media-dl-url-input>.material-symbols-rounded{font-size:19px;color:#718096;margin-top:4px}.media-dl-url-input textarea{min-width:0;resize:none;border:0;outline:0;background:transparent;color:#17202a;font:12px/1.45 inherit;padding:1px 0}.media-dl-url-input button{width:34px;height:34px;border:0;border-radius:9px;background:#e8eef4;color:#364152;display:grid;place-items:center}.media-dl-url-input button .material-symbols-rounded{font-size:18px}
.media-dl-options-row{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-top:10px}.media-dl-options-row label{display:grid;gap:5px}.media-dl-options-row label>span{font-size:9px;font-weight:800;color:#667085;text-transform:uppercase;letter-spacing:.06em}.media-dl-options-row select{width:100%;height:40px;border:1px solid #d8e0e8;border-radius:11px;background:#fff;color:#17202a;padding:0 9px;font-size:11px;outline:0}
.media-dl-resolve{width:100%;height:46px;margin-top:12px;border:0;border-radius:13px;background:#1769aa;color:#fff;display:flex;align-items:center;justify-content:center;gap:8px;font-weight:800;font-size:12px;box-shadow:0 8px 18px rgba(23,105,170,.18)}.media-dl-resolve:disabled{opacity:.55;box-shadow:none}.media-dl-resolve .material-symbols-rounded{font-size:20px}.media-dl-resolve:disabled .material-symbols-rounded{animation:mediaSpin 1s linear infinite}@keyframes mediaSpin{to{transform:rotate(360deg)}}
.media-dl-error{display:flex;align-items:flex-start;gap:7px;margin-top:10px;padding:10px;border-radius:11px;background:#fff1f1;color:#a83232;font-size:10.5px;line-height:1.4}.media-dl-error .material-symbols-rounded{font-size:17px}
.media-dl-result-card{padding:0;overflow:hidden}.media-dl-result-card>header,.media-dl-recent>header{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:12px 14px;border-bottom:1px solid #edf1f5}.media-dl-result-card>header strong,.media-dl-result-card>header small,.media-dl-recent>header strong,.media-dl-recent>header small{display:block}.media-dl-result-card>header strong,.media-dl-recent>header strong{font-size:12px}.media-dl-result-card>header small,.media-dl-recent>header small{margin-top:2px;color:#7a8795;font-size:9px}.media-dl-result-card>header button{width:34px;height:34px;border:0;border-radius:9px;background:#eef2f6}.media-dl-result-list article{display:grid;grid-template-columns:40px minmax(0,1fr) auto;align-items:center;gap:9px;padding:11px 14px;border-top:1px solid #f0f3f6}.media-dl-result-list article:first-child{border-top:0}.media-dl-result-icon{width:40px;height:40px;border-radius:11px;background:#eaf1f7;display:grid;place-items:center;color:#2d668e}.media-dl-result-copy{min-width:0}.media-dl-result-copy strong,.media-dl-result-copy small{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.media-dl-result-copy strong{font-size:11px}.media-dl-result-copy small{margin-top:2px;color:#788696;font-size:9px}.media-dl-result-copy em{display:block;margin-top:3px;font-style:normal;font-size:8px;color:#667085}.media-dl-download-option{height:38px;border:0;border-radius:10px;background:#e9f3fb;color:#155c90;padding:0 10px;display:flex;align-items:center;gap:5px;font-size:10px;font-weight:800}.media-dl-download-option .material-symbols-rounded{font-size:17px}.media-dl-progress{height:4px;background:#e6ebf0;border-radius:99px;overflow:hidden;margin-top:6px}.media-dl-progress i{display:block;height:100%;background:#1769aa}
.media-dl-destination-card{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:12px 14px}.media-dl-destination-card>div{display:flex;align-items:center;gap:9px;min-width:0}.media-dl-destination-card>div>.material-symbols-rounded{width:38px;height:38px;border-radius:11px;background:#edf4f8;color:#2d668e;display:grid;place-items:center}.media-dl-destination-card strong,.media-dl-destination-card small{display:block}.media-dl-destination-card strong{font-size:11px}.media-dl-destination-card small{margin-top:2px;color:#7c8793;font-size:8.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.media-dl-destination-card button,.media-dl-recent>header button{border:0;background:transparent;color:#1769aa;font-weight:800;font-size:10px}
.media-dl-recent{overflow:hidden}.media-dl-history-row{display:grid;grid-template-columns:38px minmax(0,1fr) 34px;align-items:center;gap:9px;padding:10px 12px;border-top:1px solid #f0f3f6}.media-dl-history-row:first-of-type{border-top:0}.media-dl-history-icon{width:38px;height:38px;border-radius:11px;background:#eef3f7;display:grid;place-items:center;color:#4b677c}.media-dl-history-icon.youtube{background:#fff0f0;color:#c72727}.media-dl-history-icon.instagram{background:#fff0f6;color:#b42571}.media-dl-history-row>div:nth-child(2){min-width:0}.media-dl-history-row strong,.media-dl-history-row small{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.media-dl-history-row strong{font-size:10.5px}.media-dl-history-row small{margin-top:2px;color:#7c8793;font-size:8.5px}.media-dl-history-row>button{width:34px;height:34px;border:0;background:transparent;color:#64748b}.media-dl-empty{display:flex;align-items:center;justify-content:center;gap:7px;padding:22px;color:#8290a0;font-size:10px}.media-dl-empty .material-symbols-rounded{font-size:20px}.media-dl-empty p{margin:0}.media-dl-empty.large{min-height:280px;flex-direction:column;text-align:center}.media-dl-empty.large .material-symbols-rounded{font-size:40px}.media-dl-empty.large strong{color:#35404c}
.media-dl-section-title{display:flex;align-items:center;justify-content:space-between;padding:4px 2px 8px}.media-dl-section-title h2{margin:0;font-size:18px}.media-dl-section-title p{margin:3px 0 0;font-size:10px;color:#7c8793}.media-dl-section-title>span{min-width:30px;height:30px;border-radius:999px;background:#dde7ef;display:grid;place-items:center;font-size:10px;font-weight:800}.media-dl-history-list{background:#fff;border:1px solid #dde4ea;border-radius:18px;overflow:hidden}
.media-dl-settings-page{padding-bottom:32px}.media-dl-setting-card{padding:14px}.media-dl-setting-card>header{display:flex;align-items:center;gap:10px}.media-dl-setting-card>header>.material-symbols-rounded{width:40px;height:40px;border-radius:12px;background:#edf4f8;color:#1769aa;display:grid;place-items:center}.media-dl-setting-card>header strong,.media-dl-setting-card>header small{display:block}.media-dl-setting-card>header strong{font-size:12px}.media-dl-setting-card>header small{margin-top:2px;color:#7c8793;font-size:9px}.media-dl-setting-path{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:12px;padding:10px;border-radius:11px;background:#f6f8fa;border:1px solid #e5e9ee}.media-dl-setting-path span{min-width:0;font-size:9.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.media-dl-setting-path em{font-style:normal;font-size:7px;font-weight:900;letter-spacing:.08em;color:#1769aa}.media-dl-setting-actions{display:flex;gap:8px;margin-top:9px}.media-dl-setting-actions button,.media-dl-save-settings{height:40px;border:0;border-radius:11px;padding:0 12px;display:flex;align-items:center;gap:6px;background:#e9f2f8;color:#155c90;font-size:10px;font-weight:800}.media-dl-setting-actions button .material-symbols-rounded,.media-dl-save-settings .material-symbols-rounded{font-size:17px}.media-dl-setting-note{margin:10px 0 0;color:#758290;font-size:9px;line-height:1.45}.media-dl-setting-field{display:grid;gap:5px;margin-top:12px}.media-dl-setting-field>span{font-size:9px;font-weight:800;color:#65717d}.media-dl-setting-field em{font-style:normal;font-weight:500;color:#9aa4ae}.media-dl-setting-field input{height:42px;border:1px solid #d7dee5;border-radius:11px;padding:0 11px;background:#fff;color:#17202a;font-size:10.5px;outline:0}.media-dl-save-settings{margin-top:11px;background:#1769aa;color:#fff}.media-dl-legal{display:flex;align-items:flex-start;gap:9px;padding:12px 14px;color:#6d7a87}.media-dl-legal .material-symbols-rounded{font-size:20px;color:#2b7d59}.media-dl-legal p{margin:0;font-size:9px;line-height:1.5}
.media-dl-sheet-scrim{position:fixed;inset:0;z-index:2500;background:rgba(10,18,28,.52);display:flex;align-items:flex-end;justify-content:center;padding:0;backdrop-filter:blur(3px)}.media-dl-action-sheet{width:100%;max-width:650px;background:#fff;border-radius:22px 22px 0 0;padding:14px 16px calc(18px + env(safe-area-inset-bottom));box-shadow:0 -20px 50px rgba(0,0,0,.18)}.media-dl-action-sheet header{display:flex;align-items:center;justify-content:space-between;gap:10px}.media-dl-action-sheet header>div{min-width:0}.media-dl-action-sheet header strong,.media-dl-action-sheet header small{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.media-dl-action-sheet header strong{font-size:12px}.media-dl-action-sheet header small{margin-top:2px;color:#7c8793;font-size:9px}.media-dl-action-sheet header button{width:36px;height:36px;border:0;border-radius:10px;background:#eff3f6}.media-dl-action-sheet>label{display:grid;gap:6px;margin-top:13px}.media-dl-action-sheet>label>span{font-size:9px;font-weight:800;color:#667085}.media-dl-action-sheet>label>div{display:grid;grid-template-columns:1fr auto;gap:7px}.media-dl-action-sheet input{height:42px;border:1px solid #d5dde5;border-radius:11px;padding:0 10px;font-size:11px;outline:0}.media-dl-action-sheet label button{border:0;border-radius:10px;background:#1769aa;color:#fff;padding:0 14px;font-weight:800}.media-dl-sheet-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:12px}.media-dl-sheet-actions button{height:44px;border:0;border-radius:12px;background:#edf3f7;color:#25475d;display:flex;align-items:center;justify-content:center;gap:6px;font-size:10px;font-weight:800}.media-dl-sheet-actions button.danger{background:#fff0f0;color:#b33434}
html[data-theme="dark"] .media-downloader-route-page,html[data-theme="dark"] .media-downloader-page-content,html[data-theme="dark"] .media-downloader-root,html[data-theme="dark"] .media-dl-shell{background:#090b0d!important;color:#f3f4f6}.dark-theme .media-downloader-route-page,.dark-theme .media-downloader-page-content,.dark-theme .media-downloader-root,.dark-theme .media-dl-shell{background:#090b0d!important;color:#f3f4f6}.dark-theme .media-dl-head,.dark-theme .media-dl-url-card,.dark-theme .media-dl-result-card,.dark-theme .media-dl-destination-card,.dark-theme .media-dl-recent,.dark-theme .media-dl-setting-card,.dark-theme .media-dl-history-list,.dark-theme .media-dl-action-sheet{background:#14171a;border-color:#2a3036;color:#f3f4f6}.dark-theme .media-dl-url-input,.dark-theme .media-dl-setting-path{background:#0f1215;border-color:#31383f}.dark-theme .media-dl-url-input textarea,.dark-theme .media-dl-options-row select,.dark-theme .media-dl-setting-field input,.dark-theme .media-dl-action-sheet input{background:#0f1215;color:#f3f4f6;border-color:#31383f}
@media(min-width:720px){.media-dl-main{padding-top:20px}.media-dl-sheet-scrim{align-items:center;padding:22px}.media-dl-action-sheet{border-radius:22px}}
.media-downloader-route-page{padding:0!important;align-items:stretch!important;justify-content:stretch!important;background:transparent!important}.media-downloader-page-content{width:100%!important;max-width:none!important;height:100%!important;max-height:none!important;margin:0!important;padding:0!important;border-radius:0!important;overflow:hidden!important;background:transparent!important}.media-downloader-root{width:100%;height:100%;min-height:0}

/* V412 — common banner is the only title; compact route body */
.media-dl-shell{padding-top:0!important}
.media-dl-main{padding-top:12px!important}
.media-dl-hero{position:relative;display:grid!important;grid-template-columns:48px minmax(0,1fr) 38px;align-items:center!important;gap:11px!important}
.media-dl-hero-copy{min-width:0}
.media-dl-hero-settings{width:38px;height:38px;border:1px solid rgba(255,255,255,.18);border-radius:12px;background:rgba(255,255,255,.10);color:#fff;display:grid;place-items:center;align-self:start}
.media-dl-hero-settings .material-symbols-rounded{font-size:20px}
.media-dl-auto-resolver{display:grid;grid-template-columns:38px minmax(0,1fr);gap:10px;align-items:center;margin-top:12px;padding:10px 11px;border-radius:12px;border:1px solid #dce6ef;background:#f6f9fc}
.media-dl-auto-resolver>.material-symbols-rounded{width:36px;height:36px;border-radius:11px;background:#e7f0fb;color:#1769aa;display:grid;place-items:center;font-size:20px}
.media-dl-auto-resolver strong,.media-dl-auto-resolver small{display:block}.media-dl-auto-resolver strong{font-size:10.5px}.media-dl-auto-resolver small{margin-top:2px;color:#6f7d8b;font-size:8.8px;line-height:1.35}
.dark-theme .media-dl-auto-resolver{background:#0f1215;border-color:#31383f}.dark-theme .media-dl-auto-resolver>.material-symbols-rounded{background:#15293a;color:#75b8e8}
@media(max-width:520px){.media-dl-main{padding-left:12px!important;padding-right:12px!important}.media-dl-hero{grid-template-columns:44px minmax(0,1fr) 36px}.media-dl-source-mark{width:44px;height:44px;flex-basis:44px}.media-dl-hero-settings{width:36px;height:36px}}
