:root {
  --rs-orange: #f07d00;
  --rs-dark: #1a1a1a;
  --rs-gray: #6b6b6b;
  --rs-bg: #fafafa;
  --rs-border: #e2e2e2;
}

* { box-sizing: border-box; }

body {
  font-family: "IBM Plex Sans", -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--rs-bg);
  color: var(--rs-dark);
  margin: 0;
  padding: 0;
}

header.rs-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 24px;
  border-bottom: 1px solid var(--rs-border);
  background: #fff;
}

/* Logo als base64-Grafik direkt im <img src> jeder Seite eingebettet (siehe HTML). */
header.rs-header img.rs-logo {
  height: 32px;
  width: auto;
}

header.rs-header .rs-title {
  font-weight: 600;
  font-size: 1.1rem;
}

header.rs-header .rs-lang-switch {
  flex: 0 0 auto;
  width: auto;
  border: 1px solid var(--rs-border);
  border-radius: 6px;
  padding: 4px 8px;
  font-family: inherit;
  font-size: 0.85rem;
  background: #fff;
  color: inherit;
}

main {
  max-width: 880px;
  margin: 0 auto;
  padding: 32px 24px;
}

h1, h2, h3 { font-weight: 600; }

.rs-card {
  background: #fff;
  border: 1px solid var(--rs-border);
  border-radius: 10px;
  padding: 20px;
  margin-bottom: 16px;
}

.rs-btn {
  background: var(--rs-orange);
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 10px 18px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
}
.rs-btn:hover { opacity: 0.9; }
.rs-btn:disabled { opacity: 0.5; cursor: not-allowed; }

.rs-btn-secondary {
  background: #fff;
  color: var(--rs-dark);
  border: 1px solid var(--rs-border);
}

input, select {
  font-family: inherit;
  padding: 8px 10px;
  border: 1px solid var(--rs-border);
  border-radius: 6px;
  font-size: 0.95rem;
  width: 100%;
}

label {
  display: block;
  font-size: 0.85rem;
  color: var(--rs-gray);
  margin-bottom: 4px;
  margin-top: 12px;
}

.rs-channel-list { list-style: none; padding: 0; margin: 0; }
.rs-channel-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--rs-border);
}

.rs-status-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--rs-gray);
  margin-right: 8px;
}
.rs-status-dot.live { background: #2ecc71; }

.rs-mono { font-family: "IBM Plex Mono", monospace; font-size: 0.85rem; color: var(--rs-gray); }
