.jgt10-app {
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px 20px 60px;
  color: #111827;
}

.jgt10-topbar {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: flex-end;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.jgt10-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
}

.jgt10-actions button,
.jgt10-modal-actions button {
  height: 44px;
  border-radius: 10px;
  border: 1px solid #334155;
  background: #111827;
  color: #fff;
  padding: 0 16px;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, opacity 0.15s ease, box-shadow 0.15s ease;
}

.jgt10-actions button:hover,
.jgt10-modal-actions button:hover {
  transform: translateY(-1px);
  background: #1f2937;
}

.jgt10-actions button:active,
.jgt10-modal-actions button:active {
  transform: translateY(0);
}

.jgt10-stats {
  display: flex;
  gap: 18px;
  font-size: 15px;
  align-items: center;
  color: #111827;
  flex-wrap: wrap;
}

.jgt10-stats div {
  color: #111827;
  font-weight: 600;
}

#Rahmen {
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.10);
  height: 500px;
  width: 500px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  background: #ffffff;
}

.Zahl {
  position: absolute;
  width: 100px;
  height: 100px;
  transition: 0.5s ease;
  user-select: none;
  -webkit-user-drag: none;
}

.Zahl:hover {
  filter: brightness(1.03);
}

#Statistik {
  display: none;
}

.Cell {
  text-align: center;
}

.jgt10-leaderboard {
  margin-top: 50px;
}

.jgt10-leaderboard h2 {
  margin: 0 0 22px;
  color: #111827;
  font-size: 26px;
  font-weight: 600;
}

.jgt10-leaderboard-content {
  display: grid;
  gap: 18px;
}

.jgt10-leaderboard-empty {
  color: #475569;
  font-size: 15px;
  text-align: center;
  padding: 12px 0;
}

.jgt10-leaderboard-group {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  padding: 18px 22px;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.04);
}

.jgt10-leaderboard-group h3 {
  margin: 0 0 14px;
  color: #0f172a;
  font-size: 20px;
  font-weight: 600;
}

.jgt10-leaderboard-table {
  width: 100%;
  border-collapse: collapse;
}

.jgt10-leaderboard-table th,
.jgt10-leaderboard-table td {
  text-align: left;
  padding: 12px 8px;
  font-size: 14px;
  color: #334155;
  border-bottom: 1px solid #e2e8f0;
}

.jgt10-leaderboard-table th {
  color: #0f172a;
  font-weight: 700;
}

.jgt10-leaderboard-table tr:last-child td {
  border-bottom: 0;
}

.jgt10-rank {
  font-weight: 700;
  color: #0f172a;
}

.jgt10-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
}

.jgt10-modal.hidden {
  display: none !important;
}

.jgt10-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 6, 23, 0.68);
  backdrop-filter: blur(6px);
}

.jgt10-modal-content {
  position: relative;
  z-index: 2;
  max-width: 560px;
  margin: 120px auto 0;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  color: #111827;
  border-radius: 24px;
  padding: 32px;
  box-shadow:
    0 24px 80px rgba(2, 6, 23, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(148, 163, 184, 0.18);
}

.jgt10-modal-content h3 {
  margin: 0 0 14px;
  font-size: 24px;
  line-height: 1.15;
  font-weight: 700;
  color: #0f172a;
}

.jgt10-modal-content p {
  margin: 0 0 24px;
  line-height: 1.6;
  font-size: 16px;
  color: #334155;
}

.jgt10-modal-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.jgt10-modal-actions button {
  min-width: 140px;
  height: 48px;
  border-radius: 14px;
  border: 1px solid transparent;
  padding: 0 18px;
  font-size: 15px;
  font-weight: 600;
}

#jgt10ScoreNo,
#jgt10ScoreNoMore,
#jgt10CancelScoreBtn {
  background: #e2e8f0;
  color: #0f172a;
  border-color: #cbd5e1;
}

#jgt10ScoreNo:hover,
#jgt10ScoreNoMore:hover,
#jgt10CancelScoreBtn:hover {
  background: #cbd5e1;
  box-shadow: 0 10px 24px rgba(148, 163, 184, 0.24);
}

#jgt10ScoreYes,
#jgt10SaveScoreBtn {
  background: linear-gradient(180deg, #0f172a 0%, #111827 100%);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.06);
}

#jgt10ScoreYes:hover,
#jgt10SaveScoreBtn:hover {
  background: linear-gradient(180deg, #1e293b 0%, #0f172a 100%);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.28);
}

.jgt10-input-label {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 600;
  color: #0f172a;
}

#jgt10PlayerName {
  width: 100%;
  height: 44px;
  box-sizing: border-box;
  border-radius: 10px;
  border: 1px solid #cbd5e1;
  background: #fff;
  color: #111827;
  padding: 0 14px;
  margin-bottom: 12px;
  font-size: 16px;
}

#jgt10PlayerName:focus {
  outline: none;
  border-color: #94a3b8;
  box-shadow: 0 0 0 3px rgba(148, 163, 184, 0.18);
}

.jgt10-checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 16px 0 20px;
  color: #334155;
  font-size: 14px;
}

.jgt10-checkbox-row input {
  width: auto;
  height: auto;
  margin-top: 2px;
}

.hidden {
  display: none !important;
}

@media (max-width: 700px) {
  .jgt10-topbar {
    flex-direction: column;
    align-items: flex-start;
  }

  #Rahmen {
    width: 350px;
    height: 350px;
  }

  .Zahl {
    width: 70px;
    height: 70px;
  }

  .jgt10-modal-content {
    margin: 80px 16px 0;
    padding: 24px;
    border-radius: 20px;
  }

  .jgt10-modal-actions {
    flex-direction: column;
  }

  .jgt10-modal-actions button {
    width: 100%;
    min-width: 0;
  }

  .jgt10-stats {
    gap: 12px;
  }

  .jgt10-leaderboard-group {
    padding: 16px;
    overflow-x: auto;
  }

  .jgt10-leaderboard-table {
    min-width: 620px;
  }
}