:root {
  --bg: #0b0c10;
  --card: #12141a;
  --text: #e6e6e6;
  --muted: #a0a3aa;
  --accent: #66fcf1;
  --accent-2: #45a29e;
  --border: #242733;
}
:root:not(.dark) {
  --bg: #f7f8fb;
  --card: #ffffff;
  --text: #1b1f2a;
  --muted: #5b6270;
  --accent: #2563eb;
  --accent-2: #1d4ed8;
  --border: #e5e7eb;
}
*{ box-sizing: border-box; font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial; }
html,body{ margin:0; padding:0; background: var(--bg); color: var(--text); }
.topbar{ display:flex; justify-content:space-between; align-items:center; padding:12px 16px; position:sticky; top:0; backdrop-filter: blur(8px); border-bottom:1px solid var(--border); }
.brand{ display:flex; align-items:center; gap:10px; font-weight:600; }
.actions button{ margin-left:8px; }
.container{ max-width:1100px; margin:24px auto; padding:0 16px; display:grid; gap:24px; }
.card{ background: var(--card); border:1px solid var(--border); border-radius:16px; padding:16px; box-shadow: 0 10px 30px rgba(0,0,0,.05); }
h2{ margin:0 0 12px 0; font-size:18px; }
.grid{ display:grid; grid-template-columns: repeat(auto-fit, minmax(220px,1fr)); gap:12px; }
label{ display:flex; flex-direction:column; gap:6px; font-size:14px; color: var(--muted); }
input, select, textarea, button, a.button{
  border:1px solid var(--border); background:transparent; color:var(--text); padding:10px 12px; border-radius:10px; outline:none;
}
textarea{ min-height:80px; }
button{ cursor:pointer; }
button:hover, a.button:hover{ border-color: var(--accent); }
.row{ display:flex; align-items:center; gap:10px; }
.right{ justify-content:flex-end; }
.list{ display:flex; flex-direction:column; gap:10px; margin-top:12px; }
.item{ display:flex; justify-content:space-between; align-items:center; border:1px solid var(--border); border-radius:12px; padding:12px; }
.item .row a{ text-decoration:none; }
.modal{ position:fixed; inset:0; background: rgba(0,0,0,.4); display:flex; align-items:center; justify-content:center; }
.modal.hidden{ display:none; }
.modal-content{ background: var(--card); padding:12px; border-radius:12px; border:1px solid var(--border); }
video{ width: 80vw; max-width: 560px; border-radius: 12px; border:1px solid var(--border); }
a{ color: var(--accent); }
.topbar .actions button{ background: var(--accent-2); color: #fff; border-color: transparent; }
.topbar .actions button#toggleTheme{ background: var(--accent); }
