:root {
  --bg: #0f172a;      /* slate-900 */
  --panel: #111827;   /* gray-900 */
  --muted: #94a3b8;   /* slate-400 */
  --accent: #22c55e;  /* green-500 */
  --accent-2: #3b82f6;/* blue-500 */
  --danger: #ef4444;  /* red-500 */
  --text: #e5e7eb;    /* gray-200 */
  --text-2: #cbd5e1;  /* slate-300 */
}
* { box-sizing: border-box; }
body {
  margin: 0; padding: 24px;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Inter, Arial, sans-serif;
  background: radial-gradient(1100px 600px at 80% -10%, #0b1224 0%, var(--bg) 40%, #0a1020 100%);
  color: var(--text);
}
.wrap {
  max-width: 1100px; margin: 0 auto; display: grid; gap: 16px;
  grid-template-columns: 380px 1fr;
}
@media (max-width: 920px) { .wrap { grid-template-columns: 1fr; } }
.card {
  background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.03));
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px; padding: 16px; backdrop-filter: blur(6px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.35);
}
h1 { margin: 0 0 12px; font-weight: 700; letter-spacing: .2px; }
.sub { color: var(--muted); font-size: 14px; margin-bottom: 16px; }

.row { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.row + .row { margin-top: 10px; }

input[type="text"]{
  flex: 1 1 220px;
  background: #0b1326; color: var(--text);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 12px; padding: 10px 12px; outline: 0;
}

button {
  border: 1px solid rgba(255,255,255,0.12);
  background: #0b1326; color: var(--text);
  padding: 10px 14px; border-radius: 12px; cursor: pointer;
  transition: transform .08s ease, background .15s ease, border-color .15s ease, opacity .15s ease;
}
button:hover { background: #0f1a33; border-color: rgba(255,255,255,0.22); transform: translateY(-1px); }
button:disabled { opacity: .5; cursor: not-allowed; transform: none; }
.btn-primary   { background: linear-gradient(180deg, #1f7aee, #1559d1); border-color: transparent; }
.btn-primary:hover { background: linear-gradient(180deg, #2b86f7, #1b62db); }
.btn-accept    { background: linear-gradient(180deg, #27c05b, #199a47); border-color: transparent; }
.btn-accept:hover { background: linear-gradient(180deg, #31d467, #1faa52); }
.btn-danger    { background: linear-gradient(180deg, #ee4343, #c52d2d); border-color: transparent; }
.btn-danger:hover { background: linear-gradient(180deg, #f35555, #d33737); }

.video-area { aspect-ratio: 16/9; width: 100%; border-radius: 16px; overflow: hidden;
              background: #0b1326; border: 1px solid rgba(255,255,255,0.1);
              display: grid; place-items: center; }
.video-area video { width: 100%; height: 100%; object-fit: cover; display: block; }
.hint { font-size: 13px; color: var(--muted); margin-top: 8px; }
pre { background: #0b1326; border: 1px solid rgba(255,255,255,0.1);
      border-radius: 12px; padding: 10px; max-height: 220px; overflow: auto; }
.badge { padding: 3px 8px; border-radius: 20px; font-size: 12px; color: #0b1326; background: #a7f3d0; }
.pill  { padding: 3px 8px; border-radius: 20px; font-size: 12px; color: #0b1326; background: #bfdbfe; }
