/* Layout-Ergänzung für das vorhandene Spiel.
   Farben und Spielästhetik bleiben bewusst im ursprünglichen Cyber-Stil. */
body.game-page {
  display: block;
  min-height: 100vh;
  padding: 0 16px 28px;
  overflow-x: hidden;
}

.game-main-title {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.arcade-header {
  width: min(100%, 760px);
  min-height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 0 auto 14px;
  padding: 8px 12px;
  border-bottom: 1px solid rgba(96,165,250,.34);
}

.arcade-brand {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #60a5fa;
  text-decoration: none;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .08em;
}

.arcade-brand b { color: #e2e8f0; }
.brand-pulse, .live-status i {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 10px rgba(34,197,94,.7);
}

.live-status {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #94a3b8;
  font-size: .72rem;
  letter-spacing: .08em;
}

.pause-btn {
  min-height: 38px;
  border: 1px solid #475569;
  border-radius: 6px;
  padding: 7px 12px;
  color: #e2e8f0;
  background: #1e293b;
  cursor: pointer;
}

.game-container {
  width: min(100%, 760px) !important;
  max-width: 760px !important;
  margin: 0 auto;
  justify-content: center;
}

.mobile-controls { display: none; }

.arcade-header :focus-visible,
.game-container :focus-visible {
  outline: 3px solid #60a5fa;
  outline-offset: 3px;
}

@media (max-width: 768px) {
  body.game-page { padding: 0 6px 18px; }
  .arcade-header { min-height: 54px; margin-bottom: 8px; padding-inline: 6px; }
  .arcade-brand { font-size: .68rem; }
  .live-status { display: none; }
  .game-container { max-height: none !important; }
  .mobile-controls {
    width: min(280px, 90vw);
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 5px;
  }
  .mobile-controls button {
    min-width: 0;
    min-height: 42px;
    border: 1px solid #4b5563;
    border-radius: 6px;
    color: #fff;
    background: #374151;
  }
  .game-info { overflow: visible !important; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
}
