/* Verwaltung und Moderator im Basecamp-Look „Basecamp pur“: dunkel, Anton, Neon-Lime, klare Blöcke, harte Kanten. */
:root {
  --bg: #0d0d0d; --feld: #161616; --feld2: #1f1f1f; --linie: #2e2e2e; --ink: #f5f0e8; --muted: #a39d93;
  --lime: #bfff00; --pink: #ff2d78; --orange: #ff6b1a; --blau: #4d8bff; --rot: #ff4d4d; --ok: #bfff00;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.45 "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif; }
h1, h2, .anton { font-family: "Anton", Impact, sans-serif; font-weight: 400; text-transform: uppercase; letter-spacing: .01em; line-height: 1.05; margin: 0 0 .4em; }
h1 { font-size: 34px; } h2 { font-size: 24px; } h3 { font-size: 17px; font-weight: 800; margin: 0 0 .5em; }
a { color: var(--lime); }
button, .btn { font: inherit; font-weight: 800; border: 0; border-radius: 0; padding: 10px 14px; background: var(--feld2); color: var(--ink); cursor: pointer; min-height: 44px; text-decoration: none; display: inline-flex; align-items: center; justify-content: center; gap: 6px; }
button.primary, .btn.primary { background: var(--lime); color: #0d0d0d; }
button.pink, .btn.pink { background: var(--pink); color: #0d0d0d; }
button.ghost, .btn.ghost { background: transparent; border: 1px solid var(--linie); }
button.danger { background: transparent; color: var(--rot); border: 1px solid var(--linie); }
button.small, .btn.small { min-height: 36px; padding: 6px 10px; font-size: 14px; }
button:disabled { opacity: .4; cursor: default; }
input, select, textarea { font: inherit; color: var(--ink); background: var(--feld2); border: 1px solid var(--linie); border-radius: 0; padding: 10px 12px; width: 100%; min-height: 44px; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--lime); outline-offset: -1px; }
input[type=checkbox] { width: 22px; height: 22px; min-height: 0; accent-color: var(--lime); }
textarea { min-height: 80px; resize: vertical; }
label { display: block; font-size: 13px; font-weight: 800; color: var(--muted); margin: 12px 0 4px; text-transform: uppercase; letter-spacing: .04em; }
.wrap { max-width: 980px; margin: 0 auto; padding: 16px; }
.top { display: flex; align-items: center; gap: 10px; justify-content: space-between; padding: 12px 16px; border-bottom: 1px solid var(--linie); background: var(--bg); position: sticky; top: 0; z-index: 5; }
.logo { font-family: "Anton", Impact, sans-serif; font-size: 22px; text-transform: uppercase; display: inline-flex; align-items: center; gap: 8px; }
.aufkleber { background: var(--lime); color: #0d0d0d; padding: 2px 10px 0; transform: rotate(-3deg); display: inline-block; }
.logo small { font-family: "DM Sans", sans-serif; text-transform: none; font-size: 13px; color: var(--muted); font-weight: 700; }
.card { background: var(--feld); border-top: 3px solid var(--lime); padding: 16px; margin-bottom: 14px; }
.card.pink { border-top-color: var(--pink); } .card.orange { border-top-color: var(--orange); } .card.blau { border-top-color: var(--blau); }
.row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
@media (max-width: 640px) { .grid2 { grid-template-columns: 1fr; } h1 { font-size: 28px; } }
.muted { color: var(--muted); }
.pill { display: inline-block; font-size: 11px; font-weight: 800; padding: 3px 8px; background: var(--feld2); color: var(--ink); text-transform: uppercase; letter-spacing: .04em; }
.pill.lime { background: var(--lime); color: #0d0d0d; } .pill.pink { background: var(--pink); color: #0d0d0d; } .pill.orange { background: var(--orange); color: #0d0d0d; } .pill.blau { background: var(--blau); color: #fff; }
.tabs { display: flex; gap: 0; overflow-x: auto; padding: 0 8px; border-bottom: 1px solid var(--linie); background: var(--bg); position: sticky; top: 61px; z-index: 4; scrollbar-width: none; }
.tabs button { background: transparent; color: var(--muted); white-space: nowrap; border-bottom: 3px solid transparent; text-transform: uppercase; font-size: 13px; letter-spacing: .04em; }
.tabs button.on { color: var(--ink); border-bottom-color: var(--lime); }
.list { display: flex; flex-direction: column; gap: 8px; }
.item { display: flex; gap: 10px; align-items: center; padding: 12px; background: var(--feld2); border-left: 3px solid var(--linie); }
.item .grow { flex: 1; min-width: 0; }
.item .t { font-weight: 800; overflow-wrap: anywhere; }
.item .s { font-size: 13px; color: var(--muted); overflow-wrap: anywhere; }
.feier { cursor: pointer; border-left-color: var(--lime); }
.feier:hover { background: #262626; }
.feier .datum { font-family: "Anton", Impact, sans-serif; font-size: 22px; color: var(--lime); min-width: 64px; text-align: center; line-height: 1; }
.feier .datum small { display: block; font-family: "DM Sans", sans-serif; font-size: 11px; color: var(--muted); font-weight: 800; }
table { width: 100%; border-collapse: collapse; }
th, td { text-align: left; padding: 8px 6px; border-bottom: 1px solid var(--linie); vertical-align: top; font-size: 14px; }
.empty { text-align: center; padding: 28px 12px; color: var(--muted); }
.toast { position: fixed; left: 50%; bottom: calc(90px + env(safe-area-inset-bottom)); transform: translateX(-50%); background: var(--lime); color: #0d0d0d; padding: 12px 16px; font-weight: 800; z-index: 99; max-width: calc(100% - 32px); }
dialog { border: 0; border-radius: 0; padding: 0; width: min(680px, calc(100% - 16px)); background: var(--feld); color: var(--ink); border-top: 4px solid var(--lime); max-height: calc(100dvh - 24px); }
dialog::backdrop { background: rgba(0,0,0,.7); }
dialog .body { padding: 18px; max-height: calc(100dvh - 120px); overflow: auto; }
dialog .foot { padding: 12px 18px; border-top: 1px solid var(--linie); display: flex; gap: 8px; justify-content: flex-end; flex-wrap: wrap; }
.opt { display: grid; grid-template-columns: 40px 1fr; gap: 8px; align-items: center; margin-bottom: 6px; }
.opt .abc { width: 40px; height: 40px; display: grid; place-items: center; font-weight: 800; background: var(--feld2); cursor: pointer; border: 1px solid var(--linie); }
.opt .abc.on { background: var(--lime); color: #0d0d0d; }
.chips { display: flex; gap: 6px; flex-wrap: wrap; }
.chip { border: 1px solid var(--linie); padding: 8px 12px; min-height: 40px; background: var(--feld2); font-weight: 800; color: var(--ink); }
.chip.on { background: var(--lime); color: #0d0d0d; border-color: var(--lime); }
.chip .n { opacity: .6; font-weight: 700; margin-left: 4px; }
.login { max-width: 400px; margin: 12vh auto; }
.hint { font-size: 13px; color: var(--muted); margin-top: 6px; }
.warn { background: rgba(255,107,26,.12); border-left: 3px solid var(--orange); padding: 10px 12px; margin: 10px 0; font-size: 14px; }
code.link { display: block; padding: 8px 10px; background: var(--feld2); font-size: 13px; overflow-wrap: anywhere; }
.schritte { display: flex; gap: 4px; margin-bottom: 14px; }
.schritte span { flex: 1; height: 5px; background: var(--feld2); }
.schritte span.on { background: var(--lime); }
.wahl { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; }
.wahl button { flex-direction: column; align-items: flex-start; text-align: left; min-height: 72px; background: var(--feld2); border: 2px solid transparent; padding: 12px; }
.wahl button small { font-weight: 400; color: var(--muted); font-size: 13px; }
.wahl button.on { border-color: var(--lime); background: #232b0d; }
.designs { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.design { padding: 0; flex-direction: column; align-items: stretch; border: 2px solid transparent; background: var(--feld2); min-height: 0; }
.design.on { border-color: var(--lime); }
.design .vorschau { aspect-ratio: 16 / 9; display: grid; place-items: center; font-size: 20px; }
.design span { padding: 8px; font-size: 14px; }
.vorschau.retro67 { background: #f3e2bf; color: #e0612a; font-family: "Shrikhand", serif; }
.vorschau.retro67-wohnzimmer { background: #d98a3f radial-gradient(circle at 30% 30%, #b85a24 0 18%, transparent 19%) 0 0 / 40px 40px; color: #5a3118; font-family: "Shrikhand", serif; }
.vorschau.retro67-fernseher { background: #5b3418; color: #e0612a; font-family: "Shrikhand", serif; box-shadow: inset 0 0 0 10px #5b3418, inset 0 0 0 40px #f0dfbb; }
.vorschau.basecamp { background: #0d0d0d linear-gradient(90deg, #bfff00 0 40%, #ff2d78 40% 60%, #4d8bff 60% 75%, transparent 75%) 0 0 / 100% 5px no-repeat; color: #f5f0e8; font-family: "Anton", sans-serif; text-transform: uppercase; font-size: 24px; text-shadow: 2px 2px 0 #bfff00; }
.vorschau.weihnachten { background: #10382a; color: #d8343e; font-family: "Shrikhand", serif; }
.vorschau.silvester { background: #0b0d26; color: #f2c14e; font-family: "Bebas Neue", sans-serif; font-size: 26px; }
.vorschau.klassisch { background: #171a2e; color: #ff7a59; font-family: "Shrikhand", serif; }
.bilder { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 8px; }
.bildfeld { position: relative; aspect-ratio: 16 / 9; background: var(--feld2) center / cover no-repeat; border: 1px dashed var(--linie); display: grid; place-items: center; color: var(--muted); font-size: 13px; font-weight: 800; text-align: center; padding: 6px; cursor: pointer; }
.bildfeld.voll { border-style: solid; color: #fff; text-shadow: 0 1px 3px #000; }
.bildfeld button { position: absolute; top: 4px; right: 4px; min-height: 30px; padding: 2px 8px; background: rgba(0,0,0,.7); }
.vorschaurahmen { width: 100%; aspect-ratio: 16 / 9; border: 0; background: #000; display: block; }
.player { aspect-ratio: 16 / 9; background: #000; margin: 8px 0; }
.player iframe { width: 100%; height: 100%; border: 0; }

/* Moderator (Handy) */
.mod { max-width: 560px; margin: 0 auto; padding: 12px 12px 120px; }
.mod .now { background: var(--feld); border-top: 3px solid var(--lime); padding: 14px; margin-bottom: 12px; }
.mod .frage { font-size: 19px; font-weight: 800; margin: 8px 0; }
.mod .loesung { background: #232b0d; color: var(--lime); padding: 10px 12px; font-weight: 800; margin-top: 8px; }
.mod .notiz { font-size: 14px; color: var(--muted); margin-top: 8px; }
.ctrl { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-bottom: 10px; }
.ctrl button { min-height: 56px; font-size: 15px; }
.ctrl .breit { grid-column: span 3; }
.ctrl .halb { grid-column: span 3; }
.ctrl button.an { background: var(--lime); color: #0d0d0d; }
.team { display: grid; grid-template-columns: 1fr 52px 60px 52px; gap: 6px; align-items: center; padding: 8px 10px; background: var(--feld); margin-bottom: 6px; border-left: 3px solid var(--linie); }
.team.erster { border-left-color: var(--lime); }
.team .n { font-weight: 800; overflow-wrap: anywhere; }
.team .p { text-align: center; font-family: "Anton", Impact, sans-serif; font-size: 26px; }
.team button { min-height: 52px; font-size: 22px; padding: 0; }
.team input { min-height: 48px; text-align: center; font-size: 18px; grid-column: span 3; }
.team .einsatz { grid-column: span 3; display: flex; gap: 4px; }
.team .einsatz button { flex: 1; min-height: 44px; font-size: 16px; }
.team .einsatz button.an { background: var(--lime); color: #0d0d0d; }
.sounds { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin: 8px 0 14px; }
.sounds button { min-height: 54px; font-size: 14px; background: var(--feld2); border-bottom: 3px solid var(--pink); }
.status { position: fixed; top: 8px; right: 8px; font-size: 12px; font-weight: 800; padding: 4px 10px; background: var(--lime); color: #0d0d0d; z-index: 20; text-transform: uppercase; }
.status.off { background: var(--rot); color: #fff; }
.bar { position: fixed; left: 0; right: 0; bottom: 0; background: var(--bg); border-top: 1px solid var(--linie); padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); display: grid; grid-template-columns: 1fr 2fr; gap: 8px; z-index: 10; }
.bar button { min-height: 62px; font-size: 20px; }
.abschnitt { display: flex; justify-content: space-between; align-items: center; margin: 14px 0 6px; }
.abschnitt h3 { margin: 0; text-transform: uppercase; font-size: 13px; letter-spacing: .06em; color: var(--muted); }
