:root {
  --bg: #0b0b0d;
  --panel: #131317;
  --raised: #1b1b21;
  --line: #26262e;
  --line-strong: #3a3a45;
  --text: #f3f3f6;
  --dim: #9c9caa;
  --faint: #6e6e7c;
  --accent: #e2564d;
  --accent-ink: #140908;
  --good: #43c982;
  --warn: #e2a34d;
  --font: "Instrument Sans", ui-sans-serif, system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
  --radius: 4px;
  --discord: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 127 96'%3E%3Cpath d='M107.7 8.07A105.15 105.15 0 0 0 81.47 0a72.06 72.06 0 0 0-3.36 6.83 97.68 97.68 0 0 0-29.11 0A72.37 72.37 0 0 0 45.64 0a105.89 105.89 0 0 0-26.25 8.09C2.79 32.65-1.71 56.6.54 80.21a105.73 105.73 0 0 0 32.17 16.15 77.7 77.7 0 0 0 6.89-11.11 68.42 68.42 0 0 1-10.85-5.18c.91-.66 1.8-1.34 2.66-2a75.57 75.57 0 0 0 64.32 0c.87.71 1.76 1.39 2.66 2a68.68 68.68 0 0 1-10.87 5.19 77 77 0 0 0 6.89 11.1 105.25 105.25 0 0 0 32.19-16.14c2.64-27.38-4.51-51.11-18.9-72.14ZM42.45 65.69C36.18 65.69 31 60 31 53s5-12.74 11.43-12.74S54 46 53.89 53s-5.05 12.69-11.44 12.69Zm42.24 0C78.41 65.69 73.25 60 73.25 53s5-12.74 11.44-12.74S96.23 46 96.12 53s-5.04 12.69-11.43 12.69Z' fill='%23fff'/%3E%3C/svg%3E");
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }

html, body {
  margin: 0;
  height: 100%;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 14px;
  -webkit-font-smoothing: antialiased;
}

.num { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.spacer { flex: 1; }
.hint { color: var(--faint); font-size: 12.5px; }

button, input, select, textarea { font: inherit; color: inherit; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 32px;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--raised);
  color: var(--text);
  cursor: pointer;
  white-space: nowrap;
}
.btn:hover { border-color: var(--line-strong); }
.btn:disabled { opacity: 0.4; cursor: default; }
.btn.primary { background: var(--accent); border-color: var(--accent); color: #fff; font-weight: 500; }
.btn.primary:hover { filter: brightness(1.08); }
.btn.klein { height: 26px; padding: 0 10px; font-size: 12.5px; }
.btn.still { background: none; border-color: transparent; color: var(--dim); }
.btn.still:hover { color: var(--text); border-color: var(--line); }

input[type="text"], input:not([type]), select, textarea {
  height: 32px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  outline: none;
}
input:focus, select:focus, textarea:focus { border-color: var(--line-strong); }
input::placeholder { color: var(--faint); }

.bar {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 54px;
  padding: 0 16px;
  border-bottom: 1px solid var(--line);
  background: var(--panel);
}
.mark {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: var(--text);
  margin-right: 10px;
}
.mark b, .mark i {
  font-size: 17px;
  font-weight: 600;
  font-style: normal;
  letter-spacing: -0.025em;
}
.mark i { color: var(--accent); }

.ort {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--faint);
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 2px 7px;
  margin-right: 4px;
}

.bar .titel { width: 260px; }
.bar .quelle { width: 180px; }

.leer { padding: 60px 20px; text-align: center; color: var(--faint); }

.toast {
  position: fixed;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  padding: 10px 16px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--raised);
  z-index: 40;
  max-width: 80vw;
}
.toast.bad { border-color: var(--accent); }

.screen {
  position: relative;
  background: #000;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 16 / 9;
}
.screen video { width: 100%; height: 100%; display: block; object-fit: contain; }

.prompt {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 14px 18px;
  background: linear-gradient(to top, rgba(0,0,0,0.85), rgba(0,0,0,0));
  font-size: 18px;
  text-align: center;
  text-wrap: balance;
}

kbd {
  font-family: var(--mono);
  font-size: 11px;
  border: 1px solid var(--line-strong);
  border-radius: 3px;
  padding: 1px 5px;
  color: var(--dim);
}

.block {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  overflow: hidden;
}
.blockkopf {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 11px 13px;
  border-bottom: 1px solid var(--line);
  font-weight: 500;
}
.zahl {
  font-size: 11.5px;
  color: var(--faint);
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 0 6px;
}

.lauf { padding: 10px 13px; border-bottom: 1px solid var(--line); color: var(--dim); font-size: 12.5px; }
