:root {
    color-scheme: dark;
    font-family: system-ui, sans-serif;
    background: #11151e;
    color: #f0f3fa;
    accent-color: #9ddcff;
}

* { box-sizing: border-box; }
body { margin: 0; }
a { color: #a4deff; }
header { padding: 1.35rem max(1.25rem, 5vw); border-bottom: 1px solid #303749; }
header a { color: inherit; font-weight: 750; text-decoration: none; }
header span { color: #a4deff; margin-right: .4rem; }
main { width: min(100% - 2rem, 38rem); margin: clamp(2rem, 9vw, 7rem) auto; }
main.watch { width: min(100% - 2rem, 64rem); }
h1 { font-size: clamp(2rem, 7vw, 3.5rem); letter-spacing: -.055em; margin: 0 0 .5rem; }
p, small { color: #bac4d6; }
form, section { padding: clamp(1rem, 5vw, 2rem); margin-top: 1.5rem; background: #1b2230; border: 1px solid #303749; border-radius: 1rem; }
label { display: block; font-weight: 650; margin-bottom: .65rem; }
input { max-width: 100%; font: inherit; }
input[type="file"], input[type="url"] { width: 100%; padding: .75rem; border: 1px solid #526079; border-radius: .55rem; background: #11151e; }
small { display: block; margin: .6rem 0 1.25rem; }
button { border: 0; border-radius: .55rem; background: #a4deff; color: #101a26; padding: .75rem 1rem; font: inherit; font-weight: 700; cursor: pointer; }
button:disabled { opacity: .6; cursor: wait; }
button:focus-visible, a:focus-visible, input:focus-visible { outline: 2px solid #a4deff; outline-offset: 3px; }
progress { display: block; width: 100%; margin-top: 1rem; }
[hidden] { display: none !important; }
[role="status"]:empty { display: none; }
.link-row { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1rem; }
.link-row input { flex: 1 1 12rem; min-width: 0; }
video { display: block; width: 100%; max-height: 75vh; background: #000; border-radius: .75rem; }
