/* Downloads belong only to the browser distribution. */
.downloads-bar{position:relative;display:-webkit-flex;display:flex;-webkit-align-items:center;align-items:center;-webkit-justify-content:space-between;justify-content:space-between;padding:12px 32px;border-bottom:1px solid rgba(255,255,255,.08);background:rgba(12,15,22,.8)}
body[data-screen="boot"] .downloads-bar{display:none}
.downloads-bar-caption{font-size:14px;color:#b5c0d0;margin-right:16px}
.downloads-open{padding:10px 16px;font-size:15px;white-space:nowrap;min-height:42px}
#downloads-dialog{width:calc(100% - 48px);max-width:890px;color-scheme:dark;max-height:calc(100vh - 48px);max-height:calc(100dvh - 48px);padding:32px;overflow:auto;background:#141923;border:1px solid #394153;border-radius:20px;color:#f4f5f7}
#downloads-dialog h2{font-size:32px;margin:12px 40px 10px 0;letter-spacing:-1px}
.downloads-description{font-size:16px;line-height:1.5;color:#b5c0d0;margin:0 0 24px}
#downloads-dialog .downloads-close{width:42px;height:42px;min-height:42px;padding:4px;line-height:1;font-size:28px;border:1px solid #43536c;border-radius:8px;background:#172232}
.downloads-cards{display:-webkit-flex;display:flex;-webkit-flex-wrap:wrap;flex-wrap:wrap;margin-right:-14px}
.downloads-card{width:calc(33.333% - 14px);margin:0 14px 14px 0;padding:20px 16px;background:#0e141e;border:1px solid #334158;border-radius:12px;min-width:0}
#downloads-dialog .downloads-card h3{margin:0 0 8px;font-size:23px;color:#fff}
.downloads-version{font-size:13px;color:#ff9db0}
.downloads-platform-description{color:#b5c0d0;font-size:14px;line-height:1.5;min-height:42px;margin:16px 0}
.downloads-notes{white-space:pre-wrap;overflow-wrap:break-word;word-wrap:break-word;font-size:13px;line-height:1.5;color:#aebbd0;margin:0 0 16px;max-height:140px;overflow:auto}
.downloads-card-actions{display:-webkit-flex;display:flex;-webkit-flex-direction:column;flex-direction:column}
.downloads-link{display:block;text-align:center;text-decoration:none;color:#fff;background:#8d233a;border:1px solid #da4262;border-radius:8px;font-size:14px;line-height:1.5;padding:12px 10px;margin-top:10px;min-height:46px;overflow-wrap:break-word;word-wrap:break-word}
.downloads-link:hover{background:#ad2b48;border-color:#ff8296}
.downloads-link:focus,#downloads-dialog button:focus,.downloads-open:focus{outline:3px solid #fff!important;outline-offset:3px;border-color:#fff;box-shadow:0 0 0 6px rgba(247,46,79,.25)}
.downloads-status{font-size:13px;line-height:1.5;color:#b5c0d0;margin:5px 0 0;min-height:20px}
#downloads-dialog.downloads-dialog-fallback[open]{position:fixed;top:50%;left:50%;right:auto;bottom:auto;margin:0;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%);z-index:25000;box-shadow:0 0 0 100vmax rgba(0,0,0,.78)}
.dal-tv-browser .downloads-bar-caption{font-size:18px}
.dal-tv-browser .downloads-open,.dal-tv-browser .downloads-link{font-size:18px}
@media(max-width:900px){.downloads-bar{padding:10px 20px}.downloads-card{width:calc(50% - 14px)}}
@media(max-width:650px){.downloads-bar{padding:10px 20px}.downloads-bar-caption{font-size:12px;max-width:130px;line-height:1.4}.downloads-open{font-size:14px;padding:10px 12px}#downloads-dialog{width:calc(100% - 24px);max-height:calc(100vh - 24px);max-height:calc(100dvh - 24px);padding:24px 18px;border-radius:14px}#downloads-dialog h2{font-size:28px}.downloads-description{font-size:14px;margin-bottom:20px}.downloads-card{width:calc(100% - 14px);padding:18px}.downloads-platform-description{min-height:0;margin:12px 0}.downloads-card-actions{display:block}.downloads-link{font-size:15px}}
@media(max-width:360px){.downloads-bar{padding:10px 12px}.downloads-bar-caption{max-width:100px;margin-right:8px}.downloads-open{padding:10px;font-size:13px}}
body .downloads-bar,body[data-screen="home"] .dal-play-downloads-bar,body[data-screen="login"] .dal-play-downloads-bar{display:none!important}
.settings-downloads-actions{display:-webkit-flex;display:flex;-webkit-flex-wrap:wrap;flex-wrap:wrap;gap:10px;margin:14px 0 6px}
@media(prefers-reduced-motion:reduce){#downloads-dialog,#downloads-dialog *{scroll-behavior:auto;transition:none!important}}
