* { box-sizing: border-box; }
:root { color-scheme: dark; font-family: Inter, Segoe UI, Arial, sans-serif; }
body { margin: 0; min-height: 100vh; background: #101113; color: #f4f4f5; }
main { max-width: 1000px; margin: 0 auto; padding: 28px 20px 48px; }
header { display: flex; align-items: center; gap: 14px; margin-bottom: 28px; }
.mark { display: grid; place-items: center; width: 48px; height: 48px; border: 1px solid #ef233c; border-radius: 12px; font-weight: 900; letter-spacing: -2px; font-size: 22px; }
h1 { font-size: clamp(24px, 4vw, 34px); margin: 0; letter-spacing: -.6px; }
h1 span { color: #f12b43; }
.sub { margin: 5px 0 0; color: #a5a5ab; font-size: 14px; }
.panel { background: #191a1e; border: 1px solid #303137; border-radius: 18px; padding: 20px; margin-bottom: 16px; }
.row { display: flex; gap: 12px; flex-wrap: wrap; align-items: end; }
.actions, .settings { margin-top: 14px; }
.actions button { flex: 0 0 auto; }
.field { flex: 1; min-width: 180px; }
label { display: block; color: #b7b7bf; font-size: 13px; margin-bottom: 8px; }
input, select, button { font: inherit; }
input, select { width: 100%; background: #0f1012; color: white; border: 1px solid #41424a; border-radius: 10px; padding: 12px; }
button { border: 0; border-radius: 10px; padding: 12px 16px; font-weight: 700; cursor: pointer; background: #ed233d; color: white; }
button.secondary { background: #303138; }
button:disabled { opacity: .45; cursor: not-allowed; }
button:focus-visible, input:focus-visible, select:focus-visible { outline: 2px solid #ff6678; outline-offset: 2px; }
.status { color: #b8b8c0; font-size: 14px; margin-top: 12px; min-height: 20px; }
.status.ok { color: #83e2ac; } .status.error { color: #ff7d89; }
video { display: block; width: 100%; max-height: 68vh; object-fit: contain; background: #050506; border-radius: 14px; }
.hint { color: #a8a8b0; line-height: 1.55; font-size: 14px; }
.pill { display: inline-block; border: 1px solid #3b3c44; border-radius: 999px; padding: 5px 9px; color: #c9c9d0; font-size: 12px; margin: 3px 4px 3px 0; }
footer { color: #777982; font-size: 12px; margin-top: 24px; }
@media (max-width: 560px) {
  main { padding: 20px 14px 36px; }
  .panel { padding: 16px; }
  .row > button { flex: 1 1 100%; }
  .actions button { flex-basis: 100%; }
  .field { min-width: 100%; }
}
