:root {
  color-scheme: dark;
  font-family: system-ui, sans-serif;
  color: #eff5ff;
  background: #101725;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  min-height: 100vh;
  background: radial-gradient(ellipse at 68% 0%, #233451, transparent 65%), #101725;
}
main { width: min(45rem, calc(100% - 2rem)); margin: auto; padding: clamp(3rem, 11vw, 8rem) 0 3rem; }
.brand { color: #74e6cb; font-weight: 650; }
h1 { margin: .25rem 0; font-size: clamp(3.2rem, 11vw, 6rem); line-height: 1.05; letter-spacing: -.075em; }
h2 { font-size: 1.25rem; margin: 0 0 .45rem; }
p { line-height: 1.55; }
.intro, .shortcut p { color: #b7c5db; }
.intro { margin: 1rem 0 2rem; }
.panel { background: #192437; border: 1px solid #35445a; border-radius: 1.1rem; padding: clamp(1rem, 4vw, 1.7rem); margin: 1rem 0; }
label { display: block; font-weight: 650; margin-bottom: .65rem; }
.controls, .shortcut { display: flex; gap: .75rem; }
.shortcut { justify-content: space-between; align-items: center; }
.shortcut p { margin: 0; }
input, button, .secondary { font: inherit; border-radius: .65rem; min-height: 3rem; padding: .65rem .95rem; }
input { flex: 1; min-width: 0; background: #101a2b; color: inherit; border: 1px solid #56667d; }
input::placeholder { color: #a4b2c7; }
button, .secondary { font-weight: 700; cursor: pointer; white-space: nowrap; }
button { background: #74e6cb; color: #0c3027; border: 1px solid transparent; }
button:disabled { opacity: .7; cursor: wait; }
.secondary { display: inline-flex; align-items: center; color: #9af4df; border: 1px solid #507969; text-decoration: none; }
.secondary:hover { background: #223b40; }
:focus-visible { outline: 3px solid #91abff; outline-offset: 3px; }
#status:empty { display: none; }
#status { margin: .8rem 0 0; color: #c6d6ee; }
#status.error { color: #ffc2b9; }
#results { margin-top: .75rem; }
.video-options { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem; margin: .5rem 0; }
.video-options a { color: #9af4df; }
.manual-save { color: #b7c5db; margin: .6rem 0 0; }
@media (max-width: 36rem) {
  .controls, .shortcut { flex-direction: column; align-items: stretch; }
  .shortcut .secondary { align-self: flex-start; }
}
