:root {
  --bg: #f4efe6;
  --panel: #fffaf2;
  --ink: #2b2620;
  --muted: #7a6f62;
  --wood: #d9b98a;
  --wood-dark: #b38b55;
  --hole: #8a6a42;
  --accent: #2e6f9e;
  --hl: #ff9f1c;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #1c1a17;
    --panel: #26231f;
    --ink: #eee6da;
    --muted: #a99d8e;
    --wood: #6b5435;
    --wood-dark: #4f3d26;
    --hole: #2d241a;
    --accent: #6fb0e0;
  }
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body {
  margin: 0; font-family: system-ui, sans-serif; background: var(--bg); color: var(--ink);
}
header { display: flex; align-items: baseline; gap: 16px; padding: 10px 16px; }
header h1 { margin: 0; font-size: 22px; }
#tableInfo { color: var(--muted); }
section { padding: 0 16px; max-width: 640px; }
button {
  font: inherit; padding: 6px 12px; border-radius: 6px; border: 1px solid var(--wood-dark);
  background: var(--panel); color: var(--ink); cursor: pointer;
}
button:hover { border-color: var(--accent); }
button.primary { background: var(--accent); color: #fff; border-color: var(--accent); }
input { font: inherit; padding: 5px 8px; border-radius: 6px; border: 1px solid var(--wood-dark); background: var(--panel); color: var(--ink); }
#inviteLink { width: 320px; max-width: 100%; }
.hint { color: var(--muted); font-size: 14px; }
/* Übersicht (Dashboard): immer dunkel, eigener Warteraum oben, die anderen als Karten darunter */
body { background: #17181b; color: #fff; }
header { display: none; }
#dash { padding: 14px 16px 40px; }
#dashTop { display: flex; flex-direction: column; align-items: center; gap: 6px; margin-bottom: 14px; }
#counters, #dashBar, .roomTags { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.chip { background: #2f3035; color: #ddd; border-radius: 6px; padding: 3px 9px; font-size: 13px; font-weight: 800; letter-spacing: .4px; }
.chip.green { background: #1f4a33; color: #7dffb0; }
.chip.red { background: #4a2a2e; color: #ff9aa5; }
.chip.orange { background: #4a3220; color: #ffb36b; }
.chip.blue { background: #1d3e52; color: #6fd0ff; }
#dash input { background: #111214; color: #fff; border-color: #55565c; }
#createBtn { background: #2f7fa8; border-color: #2f7fa8; color: #07202e; font-size: 16px; }
#lobby { background: #26272b; color: #fff; border-radius: 10px; padding: 12px; margin: 0 auto 26px; max-width: 600px; }
#lobby .roomTags { justify-content: space-around; margin-bottom: 8px; }
#lobby button { background: #1f2023; color: #fff; border-color: #1f2023; }
#lobby button:hover { border-color: #8a8b92; }
.roomGrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 28px; max-width: 1100px; margin: 0 auto; }
.room { background: #1f2023; border-radius: 10px; padding: 12px; cursor: pointer; border: 1px solid transparent; }
.room:hover { border-color: #6fd0ff; }
.room .team { background: #333437; }
.room .seat { font-size: 16px; min-height: 40px; color: #ddd; }
.roomTags.small { justify-content: flex-start; gap: 6px; margin-bottom: 6px; }
.roomTags.small .chip { font-size: 12px; padding: 3px 7px; }
.teamTitle { font-size: 11px; font-weight: 800; letter-spacing: .5px; margin: 12px 0 3px; }
.team { background: #3e3f45; border-radius: 6px; padding: 4px; }
.seat { display: flex; align-items: center; gap: 10px; padding: 5px 6px; min-height: 44px; font-size: 18px; }
.seat .who { flex: 1; }
.seat .ball { width: 28px; height: 28px; border-radius: 50%; flex: none;
  background: radial-gradient(circle at 35% 30%, #fff 0, var(--c) 30%, var(--c) 100%); box-shadow: 0 1px 3px rgba(0,0,0,.6); }
.seat .updown { display: flex; flex-direction: column; line-height: .7; }
#lobby button.icon { background: none; border: none; color: #bbb; padding: 0 6px; font-size: 16px; line-height: .8; }
#lobby button.icon:disabled { opacity: .25; cursor: default; }
#lobby button.icon.kick { color: #ff6b6b; font-size: 22px; }
#lobbyBtns { display: flex; justify-content: space-between; gap: 10px; margin-top: 8px; flex-wrap: wrap; }
#lobby #leaveBtn { background: #ff6b6b; border-color: #ff6b6b; color: #2a0b0b; }
#lobby #startBtn { background: #3f9a5c; border-color: #3f9a5c; color: #06210f; }
#lobby #startBtn:disabled { opacity: .45; cursor: not-allowed; }
.dot { width: 16px; height: 16px; border-radius: 50%; display: inline-block; border: 1px solid rgba(0,0,0,.3); }

body.playing { background: #0a0a0d; color: #eee; }
body.playing header { display: none; }
#game { display: flex; gap: 0; min-height: 100vh; }
#side { width: 330px; flex: none; padding: 14px 12px; display: flex; flex-direction: column; gap: 12px; font-size: 14px; }
#logo { font-size: 44px; font-weight: 900; letter-spacing: 4px; color: #0f3d73; -webkit-text-stroke: 1px #4aa3ff; }
#logo small { font-size: 13px; letter-spacing: 0; color: #888; -webkit-text-stroke: 0; }
#boardWrap { flex: 1; display: flex; align-items: flex-start; justify-content: center; min-width: 0; }
#boardBox { position: relative; width: 100%; max-width: calc(100vh - 4px); }
#board { width: 100%; height: auto; display: block; }
#status.acts { background: none; padding: 0; display: flex; flex-direction: column; gap: 6px; }
#status.acts button { background: #33b5f5; border-color: #33b5f5; color: #06222f; font-size: 17px; font-weight: 700; padding: 8px 12px; width: 100%; }
#status.acts button:hover { background: #6fd0ff; }
@media (max-width: 860px) {
  #game { flex-direction: column-reverse; }
  #side { width: 100%; }
  #boardBox { max-width: 100%; }
}
#status { background: #1d1d22; color: #fff; border-radius: 8px; padding: 8px 12px; text-align: center; }
#status:empty { display: none; }
.player { display: flex; align-items: center; gap: 6px; padding: 2px 0; color: #bbb; }
.player.turn { font-weight: 700; color: #fff; }
.player .meta { color: #888; margin-left: auto; font-size: 13px; }
#actions { display: flex; flex-direction: column; gap: 6px; }
#actions:empty { display: none; }
#actions button { text-align: left; background: #1d1d22; color: #fff; border-color: #3a3a44; }
#actions button.primary { background: var(--accent); }
#actions .hint { color: #999; }
#log { padding-left: 28px; color: #888; max-height: 240px; overflow: auto; margin: 0; font-size: 13px; }
#hand { display: flex; padding: 40px 0 4px; min-height: 212px; }
.card {
  position: relative; width: 112px; height: 168px; border-radius: 9px; margin-left: -72px; flex: none;
  cursor: pointer; user-select: none; box-shadow: -2px 0 6px rgba(0,0,0,.45); transition: transform .12s;
}
.card svg { display: block; width: 100%; height: 100%; }
.card:first-child { margin-left: 0; }
.card.playable:not(.sel):hover { transform: translateY(-6px); }
/* Karten sind gedämpft; hell nur, wenn man dran ist, und nur die spielbaren */
.card.dim { filter: brightness(.55); cursor: default; }
.card.only, .card.playable.only:hover { transform: translateY(-34px); }  /* vorgewählte Karte: steht wie eine angeklickte */
.card.sel { transform: translateY(-34px); }
svg text { font-family: system-ui, sans-serif; }
.field { fill: var(--hole); }
.marble { stroke: rgba(0,0,0,.35); stroke-width: 1; transition: cx 1.2s ease-in-out, cy 1.2s ease-in-out; }
.deck { transition: transform 2s ease-in-out; }
.marble.cand { stroke: var(--hl); stroke-width: 5; cursor: pointer; }
.marble.sel { stroke: #fff; stroke-width: 5; }
.target { fill: var(--hl); fill-opacity: .55; stroke: var(--hl); stroke-width: 3; cursor: pointer; }
.target:hover { fill-opacity: .9; }
#toast {
  position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%); background: #333; color: #fff;
  padding: 8px 14px; border-radius: 8px;
}
.turnglow { fill: #ffd21a; stroke: #ffd21a; stroke-width: 5; animation: turnpulse 1.2s ease-in-out infinite; }
@keyframes turnpulse { 0%, 100% { fill-opacity: .2; stroke-opacity: .55; } 50% { fill-opacity: .5; stroke-opacity: 1; } }
.player.turn { background: rgba(255, 210, 26, .18); border-radius: 6px; padding: 2px 6px; margin: 0 -6px; }
.seat .ball.pick, .palette .ball { cursor: pointer; }
.ball.pick:hover { outline: 2px solid #fff; }
.palette { display: flex; flex-wrap: wrap; gap: 14px; background: #1c1d20; border-radius: 8px; padding: 10px 16px; margin: 2px 0 4px 6px; width: fit-content; }
.palette .ball { width: 28px; height: 28px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff 0, var(--c) 30%, var(--c) 100%); box-shadow: 0 1px 3px rgba(0,0,0,.6); }
.openTable { display: flex; align-items: center; gap: 12px; padding: 8px 10px; margin: 6px 0; background: var(--panel); border-radius: 8px; }
.openTable .who { flex: 1; white-space: pre-wrap; }
.openTable .status { color: var(--muted); font-size: 14px; }
/* Anmeldung */
#login { max-width: none; display: flex; justify-content: center; padding-top: 12vh; }
#loginBox { background: #26272b; border-radius: 12px; padding: 26px 30px; text-align: center; width: 340px; max-width: 92vw; }
.bigLogo { font-size: 64px; font-weight: 900; letter-spacing: 6px; color: #0f3d73; -webkit-text-stroke: 1.5px #4aa3ff; }
#loginForm { display: flex; gap: 8px; }
#loginForm input { flex: 1; min-width: 0; background: #111214; color: #fff; border-color: #55565c; font-size: 18px; }
#loginBtn, #newRoomOk { background: #33b5f5; border-color: #33b5f5; color: #06222f; font-size: 16px; }
#meBtn { background: #111214; color: #fff; border-color: #55565c; }
/* Dialog "Neuen Spielraum erstellen" */
.overlay { position: fixed; inset: 0; background: rgba(0,0,0,.6); display: flex; align-items: center; justify-content: center; z-index: 50; }
.dialog { background: #1d1d20; border: 1px solid #3a3a40; border-radius: 12px; padding: 22px; width: 350px; max-width: 94vw; color: #fff; }
.dialogHead { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 26px; }
.dialogHead h2 { margin: 0; font-size: 20px; }
button.round { width: 46px; height: 46px; border-radius: 50%; background: none; color: #ddd; border: 1px solid #aaa; font-size: 18px; }
.seg { display: inline-flex; background: #0f0f11; border-radius: 6px; padding: 4px; margin: 0 0 16px 10px; }
.seg button { background: none; border: none; color: #bbb; padding: 4px 12px; border-radius: 4px; font-size: 16px; }
.seg button.on { background: #36373c; color: #fff; }
.seg button:disabled { color: #5c5c62; cursor: not-allowed; }
.dialog .seg { display: flex; width: fit-content; }
.dialogFoot { display: flex; justify-content: flex-end; margin-top: 14px; }
.room.mine { border-color: #7dffb0; }
.swapfly { animation: swapfly 1.8s ease-in infinite; pointer-events: none; }
@keyframes swapfly { 0% { transform: translate(0, 0); opacity: 0; } 12% { opacity: 1; } 85%, 100% { transform: translate(var(--dx), var(--dy)); opacity: 0; } }
.seat .ready { font-size: 13px; color: #a9a9b0; white-space: nowrap; }
.seat .ready.yes { color: #7dffb0; font-weight: 700; }
.dialogFoot.two { justify-content: space-between; gap: 10px; }
#endText { color: #c9c9cf; margin: 0 0 6px; }
#endQuit { background: #ff6b6b; border-color: #ff6b6b; color: #2a0b0b; font-size: 16px; }
#endAgain { background: #3f9a5c; border-color: #3f9a5c; color: #06210f; font-size: 16px; }
#gamesFrame { max-width: 1100px; margin: 34px auto 0; border-top: 1px solid #3a3a40; padding-top: 6px; }
.dashHead { font-size: 15px; letter-spacing: .5px; color: #c9c9cf; margin: 10px 0 14px; display: flex; align-items: center; gap: 8px; }
#games .room { background: #191a1d; }
.card.arrive { animation: arrive .9s ease-out backwards; }
@keyframes arrive { 0% { transform: translate(70px, -190px) rotate(14deg) scale(.6); opacity: 0; } 25% { opacity: 1; } 100% { transform: none; opacity: 1; } }
/* Verbindung unterbrochen: rotes Fenster über der ganzen Seite */
#netBox { position: fixed; inset: 0; background: rgba(90, 0, 0, .55); display: flex; align-items: center; justify-content: center; z-index: 100; }
#netCard { background: #b3261e; color: #fff; border: 2px solid #ffb4ab; border-radius: 12px; padding: 22px 26px; max-width: 92vw; width: 380px;
  display: flex; flex-direction: column; gap: 8px; text-align: center; font-size: 17px; box-shadow: 0 6px 30px rgba(0,0,0,.6); animation: turnpulse 1.2s ease-in-out infinite; }
#netCard b { font-size: 20px; }
#toast.good { background: #1f8f3a; font-weight: 700; }
/* Aussetzen (durch eine 8): roter Rahmen und Schild beim Spieler, rote Zeile in der Liste */
.skipbox { fill: #c62828; fill-opacity: .28; stroke: #ff5252; stroke-width: 5; stroke-dasharray: 14 8; }
.player.out { background: rgba(198, 40, 40, .3); border-radius: 6px; padding: 2px 6px; margin: 0 -6px; color: #fff; }
.player.out .meta { color: #ff9a9a; font-weight: 700; }
/* Narr: die Kartenstapel wandern auf dem Brett zum Nachbarn, die eigene neue Hand schiebt sich herein */
.narrfly { animation: narrfly 1.4s ease-in-out backwards; }
@keyframes narrfly { from { transform: translate(var(--dx), var(--dy)); } to { transform: none; } }
.card.narrIn { animation: narrin .9s ease-out backwards; }
@keyframes narrin { from { transform: translate(-150px, -40px) rotate(-18deg); opacity: 0; } to { transform: none; opacity: 1; } }
/* Spielerliste und Protokoll nur im Debug-Modus (?debug=1 an, ?debug=0 aus) */
body:not(.debug) #players, body:not(.debug) #log { display: none; }
/* vorgemerkte Karte, solange man nicht am Zug ist: steht hoch, bleibt aber grau */
.card.dim.can { cursor: pointer; }
.card.dim.can:not(.pre):hover { transform: translateY(-6px); }
.card.pre { transform: translateY(-34px); }
/* Teufel: eigene Karten rutschen grau nach unten, die Karten des Nachbarn erscheinen an ihrem Platz */
#ownHand { display: flex; padding: 4px 0; }
.card.lowered { animation: lowered .9s ease-in-out backwards; }
@keyframes lowered { from { transform: translateY(-240px); filter: none; } to { transform: none; filter: brightness(.55); } }
.card.devilIn { animation: devilin .9s ease-out backwards; }
@keyframes devilin { from { transform: translate(120px, -60px) rotate(12deg); opacity: 0; } to { transform: none; opacity: 1; } }
/* Statistik eines Spielers */
#statBtn { background: #111214; color: #fff; border-color: #55565c; }
.av[data-player] { cursor: pointer; }
.av[data-player]:hover { filter: drop-shadow(0 0 4px #33b5f5); }
.dialog.wide { width: 640px; max-height: 92vh; overflow: auto; }
.dialog.wide .dialogHead { margin-bottom: 14px; }
#profBody h3 { margin: 18px 0 8px; font-size: 15px; color: #c9c9cf; }
#profBody .muted { color: #a9a9b0; }
.profNums { display: flex; flex-wrap: wrap; gap: 8px; }
.profNum { flex: 1; min-width: 84px; background: #26272b; border-radius: 8px; padding: 8px 6px; text-align: center; }
.profNum b { display: block; font-size: 22px; }
.profNum span { font-size: 12px; color: #a9a9b0; }
.profRel { background: #26272b; border-radius: 8px; padding: 10px 14px; margin-top: 10px; display: grid; gap: 6px; }
.profRel div { display: flex; gap: 8px; align-items: baseline; flex-wrap: wrap; }
.profRel b { min-width: 140px; text-align: right; }
.profRel small { color: #8d8d95; }
.profCharts { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-around; margin-top: 12px; }
.profCharts .radar { width: 320px; max-width: 100%; }
.profCharts .donut { width: 170px; display: block; margin: 0 auto; }
.profLegend { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 12px; font-size: 13px; color: #c9c9cf; margin-top: 8px; }
.profLegend i { display: inline-block; width: 12px; height: 12px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; }
.profFacts { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 20px; margin-top: 12px; font-size: 14px; }
.profFacts div { display: flex; justify-content: space-between; border-bottom: 1px solid #2f3035; padding: 3px 0; color: #c9c9cf; }
.profFacts b { color: #fff; }
.profCards { display: flex; flex-wrap: wrap; gap: 6px; }
.profGames { display: grid; gap: 3px; font-size: 14px; color: #c9c9cf; }
.profGames div { display: flex; gap: 10px; padding: 4px 8px; border-radius: 6px; background: #232428; border-left: 4px solid #f1b830; }
.profGames .won { border-left-color: #6aa84f; }
.profGames .lost { border-left-color: #d9342b; }
.profGames .when { color: #8d8d95; min-width: 76px; }
.profGames b { min-width: 84px; color: #fff; }
/* Konto: Anmelden / Registrieren */
#authTabs { margin: 0 auto 14px; }
#loginForm { flex-direction: column; }
#loginForm input { flex: none; }
#authMsg { margin: 12px 0 0; font-size: 15px; line-height: 1.4; }
#authMsg.good { color: #7dffb0; }
#authMsg.bad { color: #ff9aa5; }
.linkBtn { background: none; border: none; color: #6fd0ff; text-decoration: underline; margin-top: 10px; font-size: 14px; }
#authBack { margin-top: 14px; background: #33b5f5; border-color: #33b5f5; color: #06222f; font-size: 16px; }
/* Konto-Menü auf der Übersicht */
#meWrap { position: relative; }
#meMenu { position: absolute; top: calc(100% + 6px); left: 0; z-index: 20; min-width: 230px; display: flex; flex-direction: column;
  background: #1d1d20; border: 1px solid #3a3a40; border-radius: 10px; padding: 6px; box-shadow: 0 8px 24px rgba(0,0,0,.5); }
#meMenu button { background: none; border: none; color: #fff; text-align: left; padding: 9px 12px; border-radius: 6px; font-size: 16px; }
#meMenu button:hover { background: #33343a; }
/* Brettbild etwas abdunkeln (1 = wie das Original) */
.boardbg { filter: brightness(.8); }

/* Übersicht im neuen Aufbau: Leiste oben, ein großes Feld mit auf- und zuklappbaren Bereichen */
body { background: #0a0a0d; }
#dash { padding: 0 0 40px; }
#topBar { display: flex; align-items: center; justify-content: space-between; padding: 6px 14px; border-bottom: 1px solid #2c2c31; }
#brand { font-size: 26px; font-weight: 900; letter-spacing: 3px; color: #0f3d73; -webkit-text-stroke: 1px #4aa3ff; }
#meBtn { background: none; border: none; color: #fff; font-size: 17px; display: flex; align-items: center; gap: 8px; padding: 6px 4px; }
#meBtn .meFace { font-size: 24px; line-height: 1; }
#meMenu { left: auto; right: 0; }
.chev { width: 9px; height: 9px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); margin: -4px 6px 0 8px; flex: none; }
#panel { background: #1b1b1f; border-radius: 12px; margin: 40px 12px 0; padding: 14px 14px 18px; }
#panelTitle { text-align: center; font-size: 23px; margin: 8px 0 0; }
#panelSub { text-align: center; color: #e8e8ec; margin: 38px 0 14px; }
.fold { border-bottom: 1px solid #36363c; }
.foldHead { display: flex; align-items: center; justify-content: space-between; width: 100%; background: none; border: none;
  color: #fff; font-size: 16px; font-weight: 700; padding: 17px 18px; text-align: left; border-radius: 0; }
.foldHead .chev { transform: rotate(-135deg); margin-top: 4px; transition: transform .2s; }
.fold.closed > .foldHead .chev { transform: rotate(45deg); margin-top: -4px; }
.fold.closed > .foldBody { display: none; }
.fold.empty > .foldHead { color: #77777e; cursor: default; }
.foldBody { padding: 4px 0 26px; }
#counters { margin: 6px 0 8px; }
#dashBar { margin-bottom: 18px; }
#createBtn { background: #33b5f5; border-color: #33b5f5; color: #06222f; font-size: 16px; padding: 7px 14px; }
#createBtn:hover { background: #6fd0ff; }
.roomGrid { grid-template-columns: repeat(auto-fill, minmax(240px, 244px)); justify-content: center; gap: 26px 30px; max-width: 1140px; align-items: start; }
.room { background: #242428; border-radius: 12px; padding: 10px; }
#games .room { background: #242428; }
.room .team { background: #3a3a40; border-radius: 4px; min-height: 90px; }
.room .teamTitle { font-size: 9px; margin: 14px 0 3px; }
.room .seat { min-height: 40px; }
.room .seat .av { font-size: 22px; }
.roomTags.small .chip { font-size: 13px; padding: 4px 8px; }
#gamesFrame { max-width: none; margin: 0; border-top: none; padding-top: 0; }
#noRooms { text-align: center; color: #9a9aa2; margin: 6px 0 0; }
@media (max-width: 600px) { #panel { margin: 16px 6px 0; padding: 10px 8px 14px; } #panelSub { margin-top: 18px; } }

/* zweites Feld der Übersicht: laufende Spiele als Liste zum Zusehen */
#livePanel { background: #1b1b1f; border-radius: 12px; margin: 26px auto 0; padding: 14px 14px 16px; width: 380px; max-width: calc(100% - 24px); }
#livePanel h2 { text-align: center; font-size: 23px; margin: 8px 0 0; }
#liveSub, #noGames { text-align: center; color: #e8e8ec; margin: 30px 0 14px; }
#noGames { color: #9a9aa2; margin: 26px 0 8px; }
#liveHead, .liveRow { display: grid; grid-template-columns: 1fr 1fr; gap: 0 10px; padding: 0 10px; }
#liveHead { font-weight: 800; padding-bottom: 12px; border-bottom: 1px solid #36363c; margin-right: 8px; }
#games { max-height: 300px; overflow-y: auto; scrollbar-width: thin; scrollbar-color: #33b5f5 transparent; padding-right: 2px; }
.liveRow { padding-top: 6px; padding-bottom: 6px; border-bottom: 1px solid #36363c; cursor: pointer; }
.liveRow:last-child { border-bottom: none; }
.liveRow:hover { background: #26262b; }
.liveSeat { display: flex; align-items: center; gap: 8px; min-height: 34px; min-width: 0; }
.liveSeat .av { font-size: 20px; width: 28px; text-align: center; flex: none; }
.liveSeat .who { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#status.acts .hint { color: #ffe14d; font-size: 15px; text-align: left; padding: 2px 2px 4px; }

/* Fußzeile: am unteren Bildschirmrand, bei viel Inhalt erst darunter. Am Spielbrett ist sie ausgeblendet. */
body { min-height: 100vh; display: flex; flex-direction: column; }
#foot { margin-top: auto; border-top: 1px solid #2c2c31; padding: 12px 16px; display: flex; flex-wrap: wrap; gap: 6px 22px;
  justify-content: center; color: #9a9aa2; font-size: 14px; }
#foot a { color: #c9c9cf; }
#foot a:hover { color: #fff; }
#dash { padding-bottom: 28px; }
#login { align-self: center; width: 100%; }
body.playing #foot { display: none; }

/* Konto löschen */
#deleteText { color: #c9c9cf; margin: 0 0 14px; line-height: 1.45; }
#deleteForm input { width: 100%; box-sizing: border-box; background: #111214; color: #fff; border-color: #55565c; font-size: 18px; }
#deleteOk { background: #ff6b6b; border-color: #ff6b6b; color: #2a0b0b; font-size: 16px; }
#menuDelete { color: #ff9aa5; }

/* Fehler melden / Wunsch äußern */
#feedbackKind { margin-left: 0; }
#feedbackText { width: 100%; box-sizing: border-box; background: #111214; color: #fff; border: 1px solid #55565c; border-radius: 6px;
  font: inherit; font-size: 16px; padding: 8px 10px; resize: vertical; min-height: 120px; }
#feedbackHint { color: #9a9aa2; font-size: 14px; margin: 8px 0 0; line-height: 1.4; }
#feedbackOk { background: #33b5f5; border-color: #33b5f5; color: #06222f; font-size: 16px; }
#feedbackOk:disabled { opacity: .5; }

/* Hinweis zur Testphase */
#betaNote { margin: 10px 12px 0; padding: 7px 12px; border-radius: 8px; background: #2a2416; color: #e9d9a8; font-size: 14px; text-align: center; }
#betaNote b, #betaLogin b { color: #ffcf5c; }
#betaNote .linkBtn { background: none; border: none; padding: 0; margin: 0; color: #6fd0ff; text-decoration: underline; font: inherit; cursor: pointer; }
#betaNote + #panel { margin-top: 22px; }
#betaLogin { color: #9a9aa2; font-size: 13px; margin: 16px 0 0; }

/* Sprachumschalter DE | EN */
.langSw { display: inline-flex; background: #0f0f11; border-radius: 6px; padding: 3px; margin-left: auto; margin-right: 14px; }
.langSw button { background: none; border: none; color: #9a9aa2; padding: 2px 9px; border-radius: 4px; font-size: 13px; font-weight: 700; }
.langSw button.on { background: #36373c; color: #fff; }
#loginBox .langSw { margin: 16px 0 0; }
