.game-shell {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}

.mobile-only-notice {
  display: none;
  max-width: 520px;
  margin: 20px auto;
  padding: 16px;
  text-align: center;
  background: rgba(15, 15, 15, 0.92);
  border: 1px solid #00cccc;
  border-radius: 8px;
  color: #e6e6e6;
}

.game-info {
  max-width: 400px;
  margin: 0 auto 30px;
  background: rgba(15, 15, 15, 0.9);
  border: 1px solid #00cccc;
  border-radius: 8px;
  padding: 12px;
  text-align: center;
  box-shadow: 0 0 10px rgba(0, 255, 255, 0.2);
}

.game-info h3 {
  margin: 0 0 6px;
  color: #00cccc;
  font-size: 1.3em;
}

.game-info p {
  margin: 0 0 10px;
  color: #a0a0a0;
  font-style: italic;
  font-size: 0.95em;
}

.game-info ul {
  list-style: disc inside;
  margin: 0;
  padding: 0;
  text-align: center;
  font-size: 0.9em;
  line-height: 1.3;
}

.game-info li {
  margin-bottom: 4px;
}

#ui-bar {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin: 20px 0;
}

#playerName {
  font: inherit;
  font-size: 1rem;
  padding: 6px 12px;
  width: 200px;
  border: 1px solid #444;
  border-radius: 4px;
  background: #111;
  color: #e6e6e6;
}

#playerName::placeholder {
  color: #555;
}

#playBtn {
  font: inherit;
  font-size: 0.9rem;
  font-weight: 700;
  padding: 8px 22px;
  border: 1px solid #00d6d6;
  border-radius: 4px;
  background: #013535;
  color: #00d6d6;
  transition: background 0.15s, color 0.15s;
}

#playBtn:hover:not(:disabled) {
  background: #00d6d6;
  color: #000;
}

.hidden {
  display: none;
}

.start-error {
  margin: -6px 0 14px;
  text-align: center;
  color: #ff9b9b;
  font-size: 0.9rem;
}

#srLbTable {
  width: 100%;
  max-width: 760px;
  margin: 18px auto 8px;
  border-collapse: collapse;
  font-size: 0.9rem;
  background: rgba(17, 17, 17, 0.92);
  border: 1px solid #00d6d6;
}

#srLbTable th,
#srLbTable td {
  padding: 8px 8px;
  border: 1px solid #013535;
  text-align: center;
}

#srLbTable th {
  background: #00d6d6;
  color: #000;
  font-weight: 700;
}

#srLbTable tr:nth-child(even) {
  background: rgba(255, 255, 255, 0.04);
}

.sr-stage {
  width: 800px !important;
  height: 600px !important;
  margin: 0 auto;
  min-height: 600px !important;
  display: block;
  position: relative;
  border: none;
  border-radius: 0;
  background: transparent;
  padding: 0;
  line-height: 0;
  cursor: inherit;
}

.sr-stage #game {
  display: block;
  width: 800px !important;
  height: 600px !important;
  max-width: 800px !important;
  max-height: 600px !important;
  cursor: inherit !important;
  border-radius: 6px;
  outline: 3px solid #00d6d6 !important;
  box-shadow: 0 0 10px rgba(0, 214, 214, 0.35);
}

@media (max-width: 900px) {
  .mobile-only-notice {
    display: block;
  }

  .desktop-game {
    display: none;
  }

  .sr-stage {
    width: 100%;
    height: auto;
    min-height: 0;
    line-height: normal;
  }

  .sr-stage #game {
    width: 100%;
    height: auto;
    max-width: 100% !important;
    max-height: none !important;
  }
}
