:root {
  color-scheme: dark;
  font-family: system-ui, sans-serif;
  background: #101116;
  color: #f4f5f1;
  --lime: #dafa74;
  --muted: #aeb0bb;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; }
.shell { width: min(100% - 36px, 672px); margin-inline: auto; }
.top { display: flex; align-items: center; justify-content: space-between; min-height: 79px; border-bottom: 1px solid #2e303a; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 750; }
.brand span { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 9px; background: var(--lime); color: #151910; font-size: 24px; line-height: 1; }
.hero { padding: clamp(44px, 10vw, 90px) 0 29px; }
.sources { display: flex; flex-wrap: wrap; gap: 9px; }
.sources span { display: flex; gap: 7px; align-items: center; border: 1px solid #373943; border-radius: 100px; padding: 5px 11px; font-size: .82rem; }
.youtube { color: #ff5c70; }
.instagram { color: #ff9dd1; font-size: 1rem; line-height: 1; }
h1 { font-size: clamp(2.6rem, 8vw, 4.55rem); letter-spacing: -.075em; line-height: .99; margin: 19px 0 12px; }
h1 span { color: var(--lime); }
p { color: var(--muted); line-height: 1.55; margin: 0; }
.panel { padding: clamp(17px, 5vw, 30px); background: #1a1c24; border: 1px solid #353741; border-radius: 20px; }
label { display: block; margin-bottom: 9px; font-weight: 650; font-size: .9rem; }
.input-row { display: flex; gap: 7px; padding: 5px; background: #121319; border: 1px solid #3b3d48; border-radius: 11px; }
.input-row:focus-within { border-color: var(--lime); }
input, button { font: inherit; }
input { width: 100%; min-width: 0; padding: 10px; background: transparent; border: 0; color: inherit; outline: none; }
input::placeholder { color: #9497a4; }
button, .file { cursor: pointer; font-weight: 700; border-radius: 8px; padding: 9px 12px; min-height: 44px; }
.quiet { background: #262832; color: #f4f5f1; border: 1px solid #3c3e49; font-size: .85rem; white-space: nowrap; }
.primary { width: 100%; margin-top: 12px; min-height: 50px; border: 0; color: #161b0c; background: var(--lime); }
.primary span { margin-right: 4px; font-size: 1.15rem; }
.primary:disabled { cursor: wait; opacity: .65; }
button:hover:not(:disabled), .file:hover { filter: brightness(1.12); }
:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; }
#result { margin-top: 16px; }
#result[data-state="error"] p { color: #ffadb7; }
.file { display: inline-flex; align-items: center; color: var(--lime); border: 1px solid #5c6939; margin-top: 9px; text-decoration: none; }
.help { margin: 20px 0 44px; border: 1px solid #31333d; padding: 14px 16px; border-radius: 12px; font-size: .9rem; }
.help summary { cursor: pointer; font-weight: 650; }
.help p { margin-top: 12px; }
