body {
  background: #1a1a1a;
  color: #fff;
  font-family: sans-serif;
  margin: 0;
  padding: 2rem;
}

h1 {
  text-align: center;
  margin-bottom: 2rem;
  font-size: 1.6rem;
}

/* ========== STAT-KARTEN-GRID ========== */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  max-width: 1400px;
  margin: 0 auto;
  padding: 20px;
}

/* Mobile: 1 Spalte */
@media (max-width: 699px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }
  .stat-card.wide {
    grid-column: span 1;
  }
}

/* Tablet: 2 Spalten */
@media (min-width: 700px) and (max-width: 1023px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .stat-card.wide {
    grid-column: span 2;
  }
  /* Allgemein alle Texte neben Icons */
  .icon-grid div,
  .rocket-grid div,
  .reward-title,
  .reward-description,
  .team-grid div,
  .stat-card h3,
  .stat-card p,
  .reward-entry,
  .reward-grid div,
  .lure-entry,
  .showcase-entry,
  .kecleon-entry,
  .pokestop-entry,
  .route-entry,
  .raid-entry {
    font-size: 1.5rem !important;
    line-height: 1.4;
  }

  /* Optional: Buttons oder spezielle Texte */
  button,
  .btn,
  .legend-label {
    font-size: 1.3rem !important;
  }

  /* Uhrzeit-Element z. B. bei #stat-time */
  #stat-time {
    font-size: 2.2rem !important;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0.6rem;
    text-align: center;
  }

  #stat-time span {
    font-size: inherit !important;
  }

  #stat-time .icon {
    margin-right: 0.2rem;
  }
.reward-entry {
  gap: 20px;
  padding: 14px 0;
  border-bottom: 1px solid #444;
}

.reward-title {
  font-size: 1.4rem;
}

.reward-description {
  font-size: 1.3rem;
  margin-top: 6px;
}
}

/* Desktop: 4 Spalten */
@media (min-width: 1024px) {
  .stats-grid {
    grid-template-columns: repeat(4, 1fr) !important;
  }
  .stat-card.wide {
    grid-column: span 4 !important;
  }
}

/* ========== STAT-KARTEN-STIL ========== */
.stat-card {
  background: #2b2b2b;
  padding: 1.2rem;
  border-radius: 12px;
  box-shadow: 0 0 6px rgba(0,0,0,0.3);
  transition: transform 0.2s ease;
}
.stat-card h3 {
  margin: 0.6rem 0 0.2rem;
  font-size: 1.1rem;
  color: #00d0ff;
}
.stat-card p {
  margin: 0.2rem 0 0.6rem;
  font-size: 0.95rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.stat-card img {
  vertical-align: middle;
  margin-right: 8px;
}

/* ========== ZENTRIERTE UHR ========== */
#stat-time {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  text-align: center;
  font-size: 1rem;
  margin-bottom: 2rem;
}

/* ========== ROCKET GRID ========== */
.rocket-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
}
.rocket-grid div {
  display: flex;
  align-items: center;
  gap: 4px;
  width: calc(33.333% - 12px);
  white-space: nowrap;
}

/* ========== REWARD GRID (NEU STRUKTURIERT) ========== */
.reward-entry {
  display: flex;
  align-items: center;
  gap: 16px;
}

.reward-icon {
  flex-shrink: 0;
  height: 80px;
  width: auto;
}

.reward-texts {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.reward-title {
  font-weight: bold;
  font-size: 1.1rem;
  color: #fff;
}

.reward-description {
  font-size: 1rem;
  color: #ccc;
  margin-top: 4px;
}
.reward-entry {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px solid #444;
}

.reward-icon {
  flex-shrink: 0;
  height: 70px;
  width: auto;
}

.reward-texts {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.reward-title {
  font-weight: bold;
  font-size: 1.1rem;
  color: #fff;
}

.reward-description {
  font-size: 1rem;
  color: #ccc;
  margin-top: 4px;
}
/* ========== ICON GRID ========== */
.icon-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 8px;
  align-items: center;
}
.icon-grid div {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.icon-grid img {
  height: 20px;
  width: auto;
}

/* ========== MOBIL-OPTIMIERUNG ========== */
@media (max-width: 699px) {
  html {
    font-size: 14px;
  }

  body {
    padding: 1rem;
  }

  h1 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
  }

  .stat-card {
    padding: 0.8rem;
    border-radius: 10px;
  }

  .stat-card h3 {
    font-size: 1rem;
    margin: 0.5rem 0;
  }

  .stat-card p {
    font-size: 0.85rem;
    margin: 0.2rem 0;
  }

  #stat-time {
    font-size: 0.9rem;
    flex-direction: column;
    gap: 0.3rem;
  }

  .rocket-grid div {
    width: calc(50% - 8px); /* 2 pro Zeile auf Mobil */
  }

  .reward-grid div {
    width: 100%; /* 1 pro Zeile auf Mobil */
  }

  .icon-grid div {
    font-size: 13px;
  }
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px 12px;
}

.team-grid div {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.95rem;
  white-space: nowrap;
}