.gasps-playback-options { display: grid; gap: 12px; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line, #ffffff38); }
.gasps-playback-options label { display: grid; gap: 6px; font-size: 13px; }
.gasps-playback-options select, .gasps-playback-options button { color: var(--text, #fff); background: var(--surface, #333039); border: 1px solid var(--line-strong, #ffffff50); border-radius: 8px; min-height: 44px; padding: 8px; font: inherit; max-width: 100%; box-sizing: border-box; }
.gasps-playback-options a { display: inline-flex; align-items: center; min-height: 44px; padding-inline: 8px; color: var(--text, #fff); text-decoration: underline; }
.gasps-playback-options [hidden] { display: none; }
.gasps-preparation { font-size: 13px; line-height: 1.5; margin: 10px 0; }
.player-settings-menu { max-height: min(480px, calc(100% - 16px)); overflow-y: auto; }
.gasps-downloads { width: 100%; max-width: 880px; margin-inline: auto; padding: 24px; box-sizing: border-box; }
.page .gasps-downloads, .content .gasps-downloads { padding: 0; }
.gasps-downloads > header { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: 12px; }
.gasps-downloads > header h1 { flex: 1 1 160px; font-size: 26px; line-height: 1.2; margin: 0; }
.gasps-downloads p { line-height: 1.6; }
.gasps-downloads a { display: inline-flex; align-items: center; min-height: 44px; box-sizing: border-box; padding-inline: 8px; color: inherit; text-decoration: underline; }
.gasps-downloads button { font: inherit; color: inherit; background: transparent; border: 1px solid var(--line-strong, #888); min-height: 44px; box-sizing: border-box; padding: 9px 16px; border-radius: 999px; cursor: pointer; }
.gasps-downloads button:disabled { opacity: .55; cursor: wait; }
.gasps-downloads .btn { border: 1px solid var(--line-strong, #888); border-radius: 999px; padding: 9px 16px; font-size: 13px; text-decoration: none; }
.gasps-downloads .btn.primary { background: var(--accent, #c1c1c4); border-color: transparent; color: var(--accent-ink, #121212); }
.gasps-downloads .btn.danger { color: var(--danger, #ffb2cc); }
.gasps-downloads .download-intro { color: var(--text-2, #d4ccd5); font-size: 14px; margin: 0; }
.gasps-downloads .download-help { color: var(--text-3, #c1b8c4); font-size: 13px; }
.gasps-downloads .download-help summary { box-sizing: border-box; min-height: 44px; line-height: 24px; padding-block: 10px; list-style-position: inside; cursor: pointer; }
.gasps-downloads .download-help p { margin-top: 4px; }
.gasps-downloads > p[role="status"]:empty { display: none; }
.gasps-download-list { display: grid; gap: 16px; margin-block: 16px 24px; }
.gasps-download-list article { padding: 18px; border: 1px solid var(--line, #8886); border-radius: 16px; background: var(--surface, #2c292f); overflow-wrap: anywhere; }
.gasps-download-list h2 { font-size: 18px; font-weight: 700; margin: 0 0 10px; }
.gasps-download-list article > p { color: var(--text-2, #d4ccd5); font-size: 13px; margin-block: 8px 16px; }
.gasps-download-list progress { display: block; width: 100%; height: 6px; border: 0; border-radius: 999px; overflow: hidden; accent-color: var(--accent, #c1c1c4); }
.gasps-download-list progress::-webkit-progress-bar { background: var(--line, #8886); border-radius: 999px; }
.gasps-download-list progress::-webkit-progress-value { background: var(--accent, #c1c1c4); border-radius: 999px; }
.gasps-download-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 16px; }
.gasps-download-actions > * { max-width: 100%; }
.gasps-download-list .gasps-download-error { color: var(--danger, #ffb2cc); }
.gasps-download-list video { width: 100%; max-height: 75vh; background: #000; }
.gasps-download-list.player-shell { overflow: hidden; }
.gasps-offline-shell { margin: 0; min-height: 100svh; font: 16px/1.5 system-ui, sans-serif; color: #f2f2f2; background: #121212; color-scheme: dark; --surface: #1b1b1b; --line: #38383c; --line-strong: #7b7b80; --text-2: #d7d7da; --text-3: #c1c1c4; --accent: #d7d7da; --accent-ink: #121212; --danger: #d7d7da; }
.gasps-offline-shell [hidden] { display: none !important; }
.gasps-offline-shell .privacy-cover button { font: inherit; min-width: 88px; min-height: 44px; color: #f2f2f2; background: #5c5c60; border: 1px solid #c1c1c4; border-radius: 8px; }
@media(max-width: 760px) { .gasps-downloads { padding: 16px; } .gasps-download-list article { padding: 16px; } }
