/* feat-arcade – Konsole der Mini-Spiele (Werte aus arcade_screen.dart). */

.arcade-outer {
  display: flex;
  justify-content: center;
  width: 100%;
}

/* Gehäuse: Innenabstand 14/10/14/12, Radius 22, Rand 3, Schatten 0/6 ohne Unschärfe. */
.arcade-console {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 14px 12px 14px;
  background: #2A2A33;
  border: 3px solid #15151B;
  border-radius: 22px;
  box-shadow: 0 6px 0 rgba(0, 0, 0, 0.2);
  outline: none;
  user-select: none;
  -webkit-user-select: none;
}

/* Kopfzeile: roter Punkt, 10 Abstand, Titel in Pixelschrift (Vergrösserung 2). */
.arcade-head {
  display: flex;
  align-items: center;
}
.arcade-led {
  flex: none;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #E0402A;
  margin-right: 10px;
}
.arcade-title {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
}
.arcade-pixel-label {
  display: block;
  flex: none;
  image-rendering: pixelated;
  image-rendering: crisp-edges;
}

/* Spielfläche mit dunklem Rahmen (Innenabstand 4), 8 über und 10 unter. */
.arcade-screen-frame {
  margin-top: 8px;
  padding: 4px;
  background: #0B0B10;
}
.arcade-screen {
  cursor: default;
}
.arcade-screen.arcade-hover {
  cursor: pointer;
}

/* Bedienknöpfe: Kreuz links, Hilfe, B und A rechts. */
.arcade-pad {
  margin-top: 10px;
  display: flex;
  align-items: center;
}
.arcade-arrows {
  display: flex;
  align-items: center;
  flex: none;
  margin-right: 12px;
}
.arcade-arrows-col {
  display: flex;
  flex-direction: column;
}
.arcade-arrows-col > .arcade-slot + .arcade-slot {
  margin-top: 4px;
}
.arcade-arrows[data-controls="none"] { display: none; }
.arcade-arrows[data-controls="none"] + .arcade-help { margin-left: 12px; }
.arcade-arrows[data-controls="upDown"] > .arcade-slot { display: none !important; }
.arcade-arrows[data-controls="leftRight"] > .arcade-arrows-col { display: none; }
.arcade-arrows[data-controls="leftRight"] > .arcade-slot:first-child { margin-right: 6px; }
.arcade-arrows[data-controls="dpad"] > .arcade-arrows-col { margin: 0 4px; }

.arcade-help {
  flex: 1 1 0;
  min-width: 0;
  color: #BDB8AA;
  font-family: var(--lern-font, "Fredoka", system-ui, sans-serif);
  font-size: 13px;
  line-height: 1.3;
  font-weight: 600;
}

.arcade-round-wrap {
  flex: none;
  margin-left: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.arcade-round-label {
  margin-top: 4px;
}
.arcade-key-hint {
  color: #9A96A8;
  font-family: var(--lern-font, "Fredoka", system-ui, sans-serif);
  font-size: 10.5px;
  font-weight: 700;
}

.arcade-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  padding: 0;
  margin: 0 0 3px 0;
  cursor: pointer;
  touch-action: none;
  -webkit-tap-highlight-color: transparent;
}
.arcade-btn:focus { outline: none; }
.arcade-btn.arcade-down {
  margin: 3px 0 0 0;
  box-shadow: none !important;
}
.arcade-arrow {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: #1C1C22;
  box-shadow: 0 3px 0 #000000;
}
.arcade-arrow.arcade-down { background: #101014; }
.arcade-round {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #C8281C;
  box-shadow: 0 3px 0 #6A0F09;
}
.arcade-round.arcade-down { background: #9E1B12; }
.arcade-letter {
  color: #FFFFFF;
  font-family: var(--lern-font, "Fredoka", system-ui, sans-serif);
  font-weight: 900;
  font-size: 18px;
  line-height: 1;
}
