/* Graphite download sheet; no change to player controls or title rating. */
:root body .room-download{display:inline-flex;align-items:center;gap:9px;flex-shrink:0;min-height:42px;padding:8px 14px;border:1px solid #ffffff25;border-radius:12px;background:#ffffff06;color:#e9e9e7;font:inherit;font-size:14px;cursor:pointer}
:root body .room-download:hover{background:#ffffff10;border-color:#ffffff60}
:root body .room-download svg{width:19px;height:19px}
:root body .room-download[hidden]{display:none}
:root body dialog.download-dialog{width:min(480px,calc(100vw - 28px));max-height:calc(100dvh - 32px);overflow:auto;padding:25px;border:1px solid #ffffff29;border-radius:22px;background:#1a1b1c;color:#eeeeec;box-shadow:0 24px 90px #0009}
.download-dialog::backdrop{background:#0009}
.download-dialog header{display:flex;align-items:center;justify-content:space-between;gap:16px}
:root body .download-dialog h2{font-size:24px;letter-spacing:-.4px;margin:0}
:root body .download-dialog .download-close{display:grid;place-items:center;width:38px;height:38px;border-radius:50%;border:1px solid #ffffff25;background:transparent;color:inherit;font-size:26px;cursor:pointer}
.download-dialog .download-title{font-size:15px;color:#b9bab9;line-height:1.55;margin:12px 0 24px;overflow-wrap:anywhere}
.download-fields{display:grid;grid-template-columns:minmax(0,1fr) 120px;gap:14px}
.download-fields label{display:grid;gap:8px;font-size:14px;color:#c6c7c5}
:root body .download-fields select{width:100%;min-width:0;min-height:46px;padding:10px;border:1px solid #ffffff24;border-radius:11px;background:#111213;color:#eeeeec;font:inherit;color-scheme:dark}
.download-dialog .download-info{font-size:13px;color:#a6a7a5;margin:14px 0}
.download-dialog .download-status{font-size:15px;line-height:1.5;margin:16px 0 10px;overflow-wrap:anywhere}
.download-dialog .download-note{font-size:14px;line-height:1.55;color:#b9bab9;margin:12px 0}
.download-dialog p:empty{display:none}
.download-dialog progress{display:block;width:100%;height:7px;border:0;border-radius:8px;overflow:hidden;accent-color:#e5e5e1;background:#ffffff18}
.download-dialog progress::-webkit-progress-bar{background:#ffffff18;border-radius:8px}
.download-dialog progress::-webkit-progress-value{background:#e5e5e1;border-radius:8px}
.download-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:22px;align-items:center}
:root body .download-actions .button{display:inline-flex;align-items:center;justify-content:center;min-height:46px;border-radius:12px;padding:10px 18px;text-decoration:none;font:inherit;font-size:15px}
:root body .download-actions .primary{background:#e8e8e4;color:#161717;border:1px solid #e8e8e4}
:root body .download-actions .primary:disabled{opacity:.4;cursor:default}
:root body .download-actions .secondary{background:#ffffff08;border:1px solid #ffffff26;color:#eeeeec}
:root body .download-actions .download-external{flex-basis:100%;font-size:14px;color:#c5c6c4;text-decoration:underline;text-underline-offset:4px;padding:7px 0}
:root body .download-dialog [hidden]{display:none}
@media(max-width:520px){:root body dialog.download-dialog{padding:21px}.download-fields{grid-template-columns:minmax(0,1fr) 100px;gap:10px}:root body .room-download{font-size:13px;padding:8px 10px}.download-dialog .download-actions .button{flex:1}}

:root body .download-actions .download-external.primary{flex-basis:auto;text-decoration:none;color:#161717;padding:10px 18px}
