:root {
  --bg: #0b1020;
  --card: #11162a;
  --text: #e6ecff;
  --muted: #8aa0c7;
  --acc: #4ea0ff;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 15px/1.4 system-ui, Segoe UI, Roboto;
}
.wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  min-height: 100vh;
  padding: 18px;
}
.card {
  background: var(--card);
  border-radius: 16px;
  padding: 18px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}
h1 {
  font-size: 20px;
  margin: 0 0 10px;
}
.muted {
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 8px;
}
.grid {
  display: grid;
  gap: 12px;
}
video {
  width: 100%;
  border-radius: 12px;
  background: #000;
  outline: none;
}
.controls {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}
input[type="file"] {
  padding: 8px;
  background: #0e152d;
  border: 1px solid #23325e;
  border-radius: 10px;
  color: var(--text);
}
input[type="number"] {
  width: 80px;
  padding: 6px;
  border-radius: 8px;
  border: 1px solid #23325e;
  background: #0e152d;
  color: var(--text);
}
button {
  cursor: pointer;
  border: 0;
  background: var(--acc);
  color: #052041;
  padding: 10px 14px;
  border-radius: 12px;
  font-weight: 700;
}
button.secondary {
  background: #223157;
  color: #cde3ff;
}
.note {
  font-size: 12px;
  color: #9bb4e5;
}
.result {
  min-height: 72vh;
  background: #0a0f20;
  border-radius: 12px;
  padding: 14px;
  border: 1px solid #23325e;
  overflow: auto;
}
table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 8px;
}
th,
td {
  padding: 10px;
  border-bottom: 1px solid #23325e;
  text-align: left;
}
.bar {
  height: 10px;
  background: #4ea0ff;
  border-radius: 6px;
}
pre,
textarea {
  width: 100%;
  background: #0a0f20;
  color: #cde3ff;
  border: 1px solid #23325e;
  border-radius: 8px;
  padding: 10px;
  overflow: auto;
}
@media (max-width: 1024px) {
  .wrap {
    grid-template-columns: 1fr;
  }
}
