
.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0rem 2.65rem;
  border-bottom: none;
  background-color: transparent;
  border-bottom: 1.5px solid #3a3a3a;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.logo-img {
  height: 140px; /* kleiner & besser integriert */
}

/* Verhindert Unterstrich beim Logo */
.logo-link {
  text-decoration: none;
  border: none;
  pointer-events: auto; /* Link bleibt klickbar */
}

/* Optional: explizit keine Hover-Grafik */
.logo-link:hover {
  border: none;
}

.tipp-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem; /* Abstand zwischen den Karten */
  margin: 2rem auto; /* oben/unten 2rem Abstand, zentriert */
}

.spiel-header {
  font-size: 0.9rem;
  color: #37434B;
  text-align: center;
  margin-top: -0.5rem;
  margin-bottom: -0.75rem;
}

.teams-grid {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 1.5rem;
  text-align: center;
  margin-bottom: 1rem;
}

.team {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  color: #37434B;
}

.team img {
  width: 40px;
  height: 40px;
  margin-top: 0.25rem;
}

.vs {
  font-family: "Bebas Neue", sans-serif;
  font-size: 1.5rem;
  color: #37434B;
  align-self: center;
  margin-top: 0.6rem;
}

.tipp-form {
  display: flex;
  justify-content: center;
  margin-top: 0.5rem;
}

.tipp-form.readonly em {
  font-size: 0.8rem;
  color: #888;
  margin-left: 0.5rem;
}

.ergebnis {
  font-family: "Bebas Neue", sans-serif;
  font-size: 1rem;
  text-align: center;
  letter-spacing: 0.5px;
  color: #a8e6a3;
  background-color: #1a1a1a;
  padding: 0.4rem 0.75rem;
  border-radius: 4px;
  display: inline-block;
  margin: 0 auto;
}

/* Ergebnisbutton */
.match-extra {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.5rem;
}

.ft-label {
  display: block; /* eigene Zeile */
  font-size: 0.75rem; /* kleiner als der Score */
  font-weight: normal; /* nicht fett */
  color: #37434B; /* leicht grau */
  opacity: 0.675;
  text-align: center; /* zentriert */
  margin-bottom: -0.5rem;
}

.ergebnis-button {
  display: inline-block;
  justify-content: center;
  align-items: center;
  color: #37434B;
  font-weight: bold;
  font-size: 1.5rem;
  padding: 0.2rem 0.5rem;
  border-radius: 6px;
  margin-top: -2.5rem;
  font-family: "Bebas Neue", sans-serif;
  letter-spacing: 0.5px;
  margin-bottom: 1rem;
}

.ergebnis-row {
  display: flex;
  justify-content: center; /* mittig ausrichten */
  align-items: center;
  gap: 1rem; /* Abstand zwischen Ergebnis und Badge */
  margin-top: -1rem;
}

.ergebnis-noch-offen {
  font-family: "Bebas Neue", sans-serif;
  font-size: 1rem;
  text-align: center;
  letter-spacing: 0.5px;
  color: #a0a0a0;
  background-color: #1a1a1a;
  padding: 0.4rem 0.75rem;
  border-radius: 8px;
  display: inline-block;
  margin-top: 0.5rem;
  font-style: italic;
}

/* Punkte als Badge */
.ergebnis-punkte {
  display: inline-block;
  margin-left: 0.5rem;
}

.ergebnis-punkte .punkte-badge-klein {
  font-size: 2rem;
  text-align: right;
}

.admin-form {
  margin-top: 0.5rem;
}

.team span {
  font-family: "Bebas Neue", sans-serif;
  font-size: 1.2rem;
  letter-spacing: 0.5px;
  text-transform: uppercase; /* optional für mehr Sport-Style */
}

.tabs {
  display: flex;
  gap: 2rem; /* Abstand zwischen den Tabs */
  margin-bottom: 0rem;
  padding-bottom: 0.5rem;
}

.tabs a {
  text-decoration: none;
  color: #fafafa;
  font-weight: 600;
  padding-bottom: 0.2rem;
  border-radius: 2px;
  transition: border-bottom 0.1s linear, color 0.1s linear;
}

.tabs a.active {
  border-bottom: 2px solid #a8e6a3;
  border-radius: 2px; /* Neon-Grün für aktiven Tab */
}

.tabs a:hover {
  border-bottom: 2px solid #a8e6a3;
  border-radius: 2px;
}



.match-card.gespielt {
  background-color: #343434; /* oder etwas dunkler */
  opacity: 1;
  pointer-events: none; /* verhindert Interaktion */
  cursor: default;
}

.zusatz-info {
  margin-top: 1rem;
  color: #a8e6a3;
}

.zusatzpunkte {
  margin-top: 0.5rem;
  font-weight: bold;
}

.zusatzpunkte.richtig {
  color: #a8e6a3;
}

.zusatzpunkte.falsch {
  color: #e57373;
}

.container {
  padding-top: 1rem;
  padding-left: 5rem;
  padding-right: 5rem;
  margin: 0 auto;
}

.tipp-form {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  margin-top: 0.5rem;
}

.tippinfo {
  font-size: 0.85rem;
  color: #888;
  text-align: center;
}

/* css für zusatzfrage */

.teams {
  font-family: "Bebas Neue", sans-serif;
  font-size: 1.5rem;
  letter-spacing: 0.5px;
  text-transform: uppercase; /* optional für mehr Sport-Style */
}

.zusatzfrage {
  font-family: "Bebas Neue", sans-serif;
  font-size: 1.5rem;
  letter-spacing: 0.75px;
  text-transform: uppercase; /* optional für mehr Sport-Style */
  margin-bottom: -1rem;
}

/* Zahlengraue Box ohne + / - */
.number-control.disabled {
  background: transparent; /* dunkelgrün transparent */
  border: 2px solid #37434B;
}

.number-control.disabled .btn {
  visibility: hidden; /* +/- ausblenden */
}

.number-control.disabled .value {
  color: #37434B; /* neutraler, grauer Text */
}

.linksbuendig {
  text-align: left;
  margin-left: 0rem;
}

.aktion button {
  background: none;
  color: #fafafa;
  border: none;
  font-family: "Lato", sans-serif;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  padding: 0.3rem 0.5rem;
  border-bottom: 2px solid transparent;
  transition: border-bottom 0.2s ease-in-out, color 0.2s ease-in-out;
  border: 1px solid #a8e6a3;
}

.aktion button:hover {
  border-bottom: 2px solid #a8e6a3;
}

.abgegebener-tipp {
  padding: 0.3rem;
  text-align: center;
  color: #fafafa;
  font-weight: bold;
  margin-top: 1rem;
}

/* css für mein profil */

.logout-button {
  background: none;
  color: #fafafa;
  border: none;
  font-family: "Lato", sans-serif;
  font-size: 0.825rem;
  font-weight: 500;
  cursor: pointer;
  padding: 0.3rem 0.5rem;
  border-bottom: 2px solid transparent;
  transition: border-bottom 0.2s ease-in-out, color 0.2s ease-in-out;
  border: 1px solid #e57373;
  margin-top: 1rem;
}

.logout-button:hover {
  border-bottom: 2px solid #e57373;
}

.delete-button {
  background: #3a3a3a;
  color: #fafafa;
  border: none;
  font-family: "Lato", sans-serif;
  font-size: 0.825rem;
  font-weight: 500;
  cursor: pointer;
  padding: 0.3rem 0.5rem;
  border-bottom: 2px solid transparent;
  transition: border-bottom 0.2s ease-in-out, color 0.2s ease-in-out;
  border: 1px solid #fafafa;
  margin-top: 1rem;
  border-radius: 4px;
}

.delete-button:hover {
  border-bottom: 2px solid #fafafa;
}

/* rangliste */


/* Rang-Zelle */
.platz-zelle {
  width: 60px;
  padding-left: 12px;     /* 👈 Abstand zum linken Rand */
  padding-right: 0;
  text-align: left;       /* 👈 ENTSCHEIDEND */
  vertical-align: middle;
}

/* Medaille */
.medaille-icon {
  width: 24px;
  height: 24px;
  display: inline-block;
  vertical-align: middle;
}

/* Platznummer */
.platz-nr {
  display: inline-block;
  min-width: 36px;
  text-align: left;
  padding-left: 8px;
  font-family: "Bebas Neue", sans-serif;
  color: #37434B;
}

.punkte-zelle {
  text-align: left;
  padding-left: 1rem;
}

.punkte-zelle.rechts {
  text-align: right;
  padding-right: 1rem;
}

.punkte-header {
  text-align: right;
  padding-right: 1rem;
}

.punktwert {
  color: #37434B;
  font-family: "Bebas Neue", sans-serif;
  font-size: 1.125rem;
  border-radius: 8px;
  display: inline-block;
  font-weight: 600;
}

.punkte-badge-klein {
  display: inline-block;
  font-family: "Bebas Neue", sans-serif;
  font-size: 1.25rem;
  padding: 2px 8px;
  padding-top: 3px;
  padding-bottom: 0px;
  border-radius: 6px;
  font-weight: bold;
  line-height: 1;
  vertical-align: middle;
}

/* Farben */
.punkte-badge-klein.punkte-0 {
  background-color: #b5b1b1; /* Grau */
  color: #37434B;
}
.punkte-badge-klein.punkte-1 {
  background-color: #a8e6a3; /* sehr helles Grün */
  color: #1a1a1a;
}
.punkte-badge-klein.punkte-2 {
  background-color: #a8e6a3; /* sehr helles Grün */
  color: #1a1a1a;
}
.punkte-badge-klein.punkte-3 {
  background-color: #a8e6a3; /* mittleres Grün */
  color: #1a1a1a;
}
.punkte-badge-klein.punkte-4 {
  background-color: #a8e6a3; /* kräftiges, dunkleres Grün */
  color: #37434B;
}
.punkte-badge-klein.punkte-6 {
  background-color: #a8e6a3; /* kräftiges, dunkleres Grün */
  color: #1a1a1a;
}
.punkte-badge-klein.punkte-8 {
  background-color: #a8e6a3; /* kräftiges, dunkleres Grün */
  color: #1a1a1a;
}
.punkte-badge-klein.punkte-10 {
  background-color: #a8e6a3; /* sehr dunkles Grün */
  color: #37434B; /* Weißer Text für Kontrast */
}



.dashboard-invite {
  margin-top: 1.5rem;
  text-align: left;
}

.share-button {
  background-color: #a8e6a3;
  color: black;
  padding: 0.5rem 1rem;
  font-weight: bold;
  border-radius: 6px;
  border: none;
  cursor: pointer;
}

.share-button:hover {
  background-color: #66cc66;
}

.logo-list {
  list-style: none;
  padding-left: 0;
}

.logo-list li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 0.5rem;
}

.logo-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.1rem;
  width: 1.3rem;
  height: 1.3rem;
  background-image: url("/img/icon/egg_ball_icon_(1024x1024px).png");
  background-size: contain;
  background-repeat: no-repeat;
}

.punkte-regeln {
  display: inline-block;
  background-color: #111;
  color: #a8e6a3; /* grün wie Hoverfarbe */
  font-weight: bold;
  padding: 3px 8px;
  border-radius: 6px;
  margin-left: 0.5rem;
  font-family: "Bebas Neue", sans-serif;
  font-size: 1.05rem;
  letter-spacing: 0.5px;
}

.regel-titel {
  margin-top: 1.5rem;
}

.punkte-wrapper {
  position: relative;
  display: inline-block;
}

.zusatz-icon {
  position: absolute;
  top: -0.4rem;
  right: -1.2rem;
  opacity: 0;
  transition: opacity 0.2s ease;
  font-weight: bold;
  font-size: 1.2rem;
  pointer-events: none;
}

.punkte-wrapper:hover .zusatz-icon {
  opacity: 1;
}

.zusatz-icon.gruen {
  color: #a8e6a3;
}

.zusatz-icon.rot {
  color: #e78d8d;
}

/* Pot */
.pot-liste {
  list-style: none;
  padding-left: 0;
}

.pot-liste li {
  display: flex;
  align-items: center;
  margin-bottom: 0.5rem;
  font-size: 1rem;
}

.pot-icon {
  font-size: 1.6rem;
  margin-right: 0.75rem;
}

.rangliste-suchfeld {
  text-align: left;
  margin-top: 1.5rem;
  display: flex;         /* Ermöglicht gap */
  gap: 0.5rem;           /* Horizontaler Abstand Desktop */
  align-items: center;   /* Zentriert Button zum Input */
  flex-wrap: wrap;       /* Erlaubt Umbruch, falls Platz nicht reicht */
}

/* 📱 Speziell für kleine Smartphones */
@media (max-width: 480px) {
  .rangliste-suchfeld {
    flex-direction: column;   /* Stapelt Elemente */
    align-items: flex-start;  /* Behält die Breite (nicht volle Breite) */
    margin-top: 1.5rem;
    gap: 0.5rem;             /* Der exakte vertikale Abstand zwischen Input und Button */
  }
}





/* File-Upload Eingabe wie unsere Buttons */

/* Button "Datei auswählen" */
.file-upload::-webkit-file-upload-button {
  background: transparent;
  color: #d0d0d0; /* Grün */
  border: 1.5px solid #d0d0d0;
  cursor: pointer;
  border-radius: 8px;
  padding: 0.35rem 0.75rem;
  position: relative;
  font-weight: 600;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s ease;
  overflow: hidden;
  font-size: 0.725rem;
  letter-spacing: 0.75px;
  font-family: "Lato", sans-serif;
  gap: 0.4rem;
  align-items: center;
  display: inline-flex;
  margin: 0.5rem;
  margin-bottom: 0rem;
  margin-top: 1rem;
}

.file-upload::-webkit-file-upload-button:hover {
  background: #b0b0b0; /* Hover-Grün */
  color: #202020;
}

form label {
  color: #fafafa;
  font-weight: bold;
  margin-bottom: -0.75rem;
  display: block;
}

.form-login {
  max-width: 250px;
}

/* Tippabgabe */
.status-label {
  font-size: 1rem;
  font-weight: normal;
  border-radius: 8px;
  display: inline-block;
}

/* nicht getippt */
.status-label.neutral {
  color: #37434B;
  background-color: transparent;
  font-weight: normal;
}

/* getippt */
.status-label.permanent {
  color: #37434B;
  font-weight: bold;
  background-color: transparent;
}

/* Tipp angepasst (kurzzeitig sichtbar) */
.status-label.temp {
  color: #37434B;
  background-color: transparent;
  animation: fadeOut 2s forwards;
}

@keyframes fadeOut {
  0% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    opacity: 1;
  } /* sichtbar, kein Verschwinden */
}

.icon-status-img {
  vertical-align: middle;
  margin-right: 0.25rem; /* oder z. B. 4px */
  height: 16px;
  width: 16px;
}

.select-antwort {
  background-color: #111;
  color: #fafafa;
  border: 1.5px solid #444;
  border-radius: 6px;
  padding: 0.4rem 0.6rem;
  font-size: 1rem;
  margin-bottom: 1rem;
  appearance: none; /* entfernt Standard-Styling (Browser) */
  -webkit-appearance: none;
  -moz-appearance: none;
  cursor: pointer;
}

/* Home */
.moodboard-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0.6rem;
  grid-auto-rows: 180px;
  margin: 2rem 0;
  margin-top: 8rem;
}

.grid-item {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.grid-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%);
  transition: filter 0.3s ease;
}

.grid-item img:hover {
  filter: grayscale(20%);
}

.grid-item.tall {
  grid-row: span 2;
}

.grid-item.wide {
  grid-column: span 2;
}
.grid-item.big {
  grid-row: span 2;
  grid-column: span 2;
}

.flagge {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}

.button-row {
  display: flex;
  gap: 1rem; /* Abstand zwischen den Buttons */
  margin-top: 1rem;
  flex-wrap: wrap; /* Buttons umbrechen bei kleiner Breite */
}

.button.support {
  background-color: #a8e6a3;
  color: #111;
  border: none;
}

.button.support:hover {
  background-color: #5faa61;
}

.custom-select-wrapper {
  position: relative;
  width: 220px;
  margin: 1rem 0;
  user-select: none;
}

.custom-select-trigger {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: #121212;
  color: #fafafa;
  padding: 0.6rem 1rem;
  border: 1.5px solid #444;
  border-radius: 6px;
  cursor: pointer;
}

/* ✅ wenn ein Team ausgewählt ist */
.custom-select-trigger.selected {
  border-color: #fafafa; /* weißer Rand */
}

.custom-select-trigger img {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  object-fit: cover;
}

.custom-options {
  display: none;
  position: absolute;
  top: 110%;
  left: 0;
  width: 100%;
  background: #121212;
  border: 1px solid #333;
  border-radius: 6px;
  z-index: 10;
  max-height: 200px;
  overflow-y: auto;
}

.custom-option {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem 1rem;
  cursor: pointer;
  color: #fafafa;
}

.custom-option:hover {
  background: #a8e6a3;
  color: #202020;
}

.custom-option img {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  object-fit: cover;
}

.site-footer {
  padding: 1rem;
  text-align: center;
  font-size: 0.85rem;
  color: #888;
  border-top: 1px solid #333;
}



.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.modal-box {
  background: #1e1e1e;
  padding: 1.5rem;
  border-radius: 0.75rem;
  text-align: center;
  color: #fafafa;
}

.button-secondary {
  margin-left: 0.5rem;
  border: 2px solid #999;
  color: #999;
}

/* pulsierender Live-Button */
.live-indikator {
  display: inline-block;
  width: 8px;
  height: 8px;
  background-color: #e57373;
  border-radius: 50%;
  margin-left: 0rem;
  animation: pulsieren 2s infinite ease-in-out;
  box-shadow: 0 0 0 #e57373;
}

@keyframes pulsieren {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 #e57373;
  }
  70% {
    transform: scale(0.8);
    box-shadow: 0 0 0 6px rgba(255, 0, 0, 0);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(255, 0, 0, 0);
  }
}

/* ==========================================================================
   PHASEN NAVIGATION (Desktop & Common)
   ========================================================================== */

/* Container für Desktop-Buttons */
.phase-tabs {
  margin: 1rem 0;
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

/* Der Button-Style (Desktop) */
.phase-tab {
  background: rgba(240, 244, 248, 0.6);
  color: #37434B;
  border: 1.75px solid #37434B;
  border-radius: 6px;
  padding: 0.45rem 1rem;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: "Lato", sans-serif;
  outline: none;
  appearance: none;
  white-space: nowrap;
}

.phase-tab:hover {
  background: #F2F3F5;
}

.phase-tab.active {
  background: #4CAF71;
  color: #F2F3F5;
  border-color: #4CAF71;
}

/* Sichtbarkeit Steuerung */
.is-mobile { display: none; }
.is-desktop { display: flex; }


/* ==========================================================================
   MOBILE OPTIMIERUNG (max-width: 768px)
   ========================================================================== */

@media (max-width: 768px) {
  /* Sichtbarkeit umschalten */
  .is-mobile { display: block; }
  .is-desktop { display: none; }

  /* Styled Dropdown */
  .phase-dropdown {
    width: 100%;
    max-width: 100%; /* Auf Handy lieber volle Breite nutzen */
    padding: 0.65rem 1rem;
    font-size: 1rem;
    font-family: "Lato", sans-serif;
    color: #37434B;
    background-color: #F2F3F5;
    border: 1.75px solid #37434B;
    border-radius: 8px;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2337434B' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1em;
    cursor: pointer;
  }

  .phase-dropdown:focus {
    border-color: none;
    outline: none;
  }
}


/* Tippübersicht */

.live-label {
  color: #e57373;
  font-weight: bold;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-family: "Bebas Neue", sans-serif;
}

.live-dot {
  width: 8px;
  height: 8px;
  background-color: #e57373;
  border-radius: 50%;
  animation: pulse 1.75s infinite;
}

@keyframes pulse {
  0% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.5;
    transform: scale(1.3);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

.live-label-meine-tipps {
  font-family: "Bebas Neue", sans-serif;
  font-size: 1rem;
  text-align: center;
  letter-spacing: 0.5px;
  color: #e57373;
  padding: 0.4rem 0.75rem;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 0 auto;
  font-weight: bold;
}

.tipp-tabelle th,
.tipp-tabelle td {
  border: none;
  text-align: left;
  padding: 0.25rem 0.5rem;
}

.trennlinie {
  border-bottom: 1px solid #888;
  margin: 0.25rem 0;
}

/* Navigation überarbeitet */
.dropdown {
  position: relative;
}

.dropdown-toggle {
  cursor: pointer;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #121212;
  padding: 0.5rem 0;
  list-style: none;
  display: none; /* WICHTIG */
  min-width: 160px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.dropdown:hover .dropdown-menu {
  display: block; /* wird erst hier angezeigt */
}

.dropdown-menu li a {
  display: block;
  padding: 0.4rem 1rem;
  color: #fafafa;
  white-space: nowrap;
}

.dropdown-menu li a:hover {
  background-color: #2c2c2c;
}

/* Register */
.checkbox-zeile {
  max-width: none;
  white-space: nowrap;
  overflow: auto;
}

.checkbox-label {
  display: inline-flex;
  min-width: 100%;
}

/* Layout */
html,
body {
  height: 100%;
  margin: 0;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh; /* dein Wert */
}

main {
  flex: 1;
}

/* Tippübersicht */
.team-code {
  font-size: 0.75rem; /* kleiner als Standardtext */
  font-weight: 600; /* etwas leichter als bold */
  color: #ccc;
}

#countdown-container {
  text-align: center;
  margin: 2rem 0;
  padding: 1rem 2rem;
  border: 1.5px solid #fafafa;
  border-radius: 8px;
  max-width: 400px;
  background: #202020;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.5);
}

#countdown-container h2 {
  font-family: "Bebas Neue", sans-serif;
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: #fafafa;
  letter-spacing: 1px;
  margin-top: 0rem;
}

#countdown {
  font-family: "Bebas Neue", sans-serif;
  font-size: 1.5rem;
  font-weight: bold;
  color: #a8e6a3; /* grün wie deine Buttons */
  letter-spacing: 2px;
}

#countdown span {
  display: inline-block;
  min-width: 2ch;
}

/* Error */
.error-box {
  padding: 1rem 1.5rem;
  max-width: 500px;
  border: 1.5px solid #e57373;
  border-radius: 8px;
  background: #121212;
}



/* Info */
.info-box {
  padding: 1rem 1.5rem;
  max-width: 500px;
  border: 1.5px solid #fafafa; /* hellblau als Rahmen */
  border-radius: 8px;
  background: #121212; /* gleicher Hintergrund wie Error */
  margin: 1rem 0; /* etwas Abstand nach oben/unten */
}



/* Success */
.success-box {
  padding: 1rem 1.5rem;
  max-width: 500px;
  border: 1.5px solid #a8e6a3; /* grün */
  border-radius: 8px;
  background: #121212; /* wie error/info */
  margin: 1rem 0;
}





.egg-icon {
  font-size: 1.2em;
  filter: grayscale(100%);
  transition: filter 0.3s, transform 0.3s;
}

.eggstra-btn.active .egg-icon {
  filter: grayscale(0%);
  transform: scale(1.2);
}

/* Mini-Version für Summary-Panel */
.eggstra-mini {
  display: inline-block;
  font-family: "Bebas Neue", sans-serif;
  font-style: italic;
  font-weight: bold;
  font-size: 1rem;
  letter-spacing: 0.5px;
  padding: 1.5px 10px;
  padding-left: 9px;
  padding-bottom: 0.5px;
  border-radius: 30px;
  cursor: default;
  transition: transform 0.2s, box-shadow 0.2s, background 0.3s;
}

/* aktiv → gold */
.eggstra-mini.active {
  background: linear-gradient(
    90deg,
    #F2D27A,  /* helles Gold */
    #D4AF37,  /* klassisches Gold */
    #B8962E   /* dunkles Gold */
  );
  color: #37434B;
  box-shadow: 0 0 4px rgba(212, 175, 55, 0.45);
  text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.45);
}

/* inaktiv → grau */
.eggstra-mini.inactive {
  background: linear-gradient(90deg, #F2F4F7, #F2F4F7);
  color: #37434B;
  border: #37434B solid 1px;
  opacity: 0.675;
}

/* Abstand FT ↔ Panel kompakter */
.summary-row {
  display: flex;
  justify-content: center; /* alles zentriert */
  align-items: center;
  flex-wrap: nowrap;
  gap: 1.25rem;
  margin-top: -0.75rem;

  background: transparent; /* dezentes Dunkelgrau */
  border: 2px solid #37434B; /* feiner Rand */
  border-radius: 999px;
  padding: 0.35rem 1rem;
  width: fit-content; /* passt sich automatisch an Inhalt an */
  margin-left: auto;
  margin-right: auto; /* zentriert das Panel */
}

/* Items – gleich hoch, optisch mittig */
.summary-item {
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

/* Punkt-Badge leicht optisch ausbalanciert */
.summary-item.punkte .punkte-badge-klein {
  vertical-align: middle;
  margin-top: -1px;
  margin-right: 8px;
}

.summary-item.stats {
  font-family: "Bebas Neue", sans-serif;
  font-size: 1rem; /* etwas kleiner */
  letter-spacing: 0px;
  text-transform: uppercase;
  color: #37434B;
  transition: transform 0.2s, opacity 0.2s;
  text-decoration: none;
  margin-top: 0.1rem;
  font-style: italic;
  margin-right: 3px;
}

.summary-item.stats:hover {
  opacity: 1;
  transform: scale(1.05);
  color: #37434B; /* dezenter grüner Hover-Akzent */
}

.form-badge {
  display: inline-block;
  font-family: "Bebas Neue", sans-serif;
  font-size: 0.8rem;
  padding: 2px 0px;
  border-radius: 6px;
  font-weight: bold;
  line-height: 1;
  vertical-align: middle;
  min-width: 20px;
  text-align: center;
}

/* Farben für Form */
.form-badge.w {
  background-color: #a8e6a3; /* kräftig grün */
  color: #1a1a1a;
  text-shadow: 0 0 2px rgba(255, 255, 255, 0.6); /* heller Glow für bessere Lesbarkeit */
}
.form-badge.d {
  background-color: #f7b267; /* gelb/orange für Unentschieden */
  color: #1a1a1a;
  text-shadow: 0 0 2px rgba(255, 255, 255, 0.6); /* heller Glow für bessere Lesbarkeit */
}
.form-badge.l {
  background-color: #e57373; /* rot für Niederlage */
  color: #1a1a1a;
  text-shadow: 0 0 2px rgba(255, 255, 255, 0.6); /* heller Glow für bessere Lesbarkeit */
}


.tipp-feedback {
  margin-top: -1.25rem; /* Abstand nach oben */
  text-align: center; /* optional mittig */
  margin-bottom: 0.375rem;
}

/* Stats */
.event-timeline {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  font-family: "Lato", sans-serif;
  font-size: 0.85rem;
}

.event-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: 100%;
}

.event-left {
  text-align: left;
  color: #37434B;
}

.event-right {
  text-align: right;
  color: #37434B;
}

.halftime-line {
  display: block;           /* wichtig für abgerundete Form */
  text-align: center;
  color: #37434B;
  font-family: "Bebas Neue", sans-serif;
  letter-spacing: 0.5px;
  font-size: 0.875rem;

  padding: 0.175rem 0.75rem;         /* innen Abstand */
  margin: 0.6rem auto;

  border: 1px solid #37434B;        /* Rahmen statt Linien */
  border-radius: 999px;             /* pill / kapsel */
  opacity: 0.9;
}

.minute {
  color: #37434B;
  opacity: 0.8;
}

.sub-out {
  opacity: 0.7;
  color: #37434B;
  font-weight: 400;
}

.score-badge {
  display: inline-block;
  padding: 2px 8px;
  margin: 0 2px;
  border: 2px solid #4CAF71;
  border-radius: 6px;
  color: #37434B;
  background: transparent;
  font-family: "Bebas Neue", sans-serif;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  line-height: 1;
}

.event-left {
  text-align: left;
}

.event-right {
  text-align: right;
}

.minute-left {
  margin-left: -5px; /* nach rechts einrücken */
  margin-right: 10px;
  display: inline-block;
  min-width: 32px; /* sorgt für saubere Vertikale */
  text-align: right;
  font-size: 0.7rem;
}

.minute-right {
  margin-left: 10px; /* nach links einrücken */
  margin-right: -5px;
  display: inline-block;
  min-width: 32px;
  text-align: left;
  font-size: 0.7rem;
}

/* Allgemeines Symbol-Styling */
.ev-icon {
  width: 16px;
  height: 16px;
  display: inline-block;
  vertical-align: middle;
  transform: translateY(-1px);
}

/* PADDING links (Heimteam) */
.event-left .ev-icon {
  padding-right: 6px; /* Abstand nach rechts */
}

/* PADDING rechts (Auswärtsteam) */
.event-right .ev-icon {
  padding-left: 6px; /* Abstand nach links */
}

.event-row {
  margin-bottom: 0.25rem;
}

.event-timeline {
  font-size: 0.75rem; /* Standard: 1rem → also 10% kleiner */
}

/* Ab bestimmter Breite Events komplett ausblenden */
@media (max-width: 1000px) {
  .event-timeline {
    display: none !important;
  }
}

/* Tipp-Statistik */

.stats-container {
  margin-top: 2rem;
}

.stat-row {
  display: grid;
  grid-template-columns: 150px 1fr 50px;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.2rem;
}

.stat-row .label {
  font-weight: 600;
  font-size: 0.95rem;
  color: #fafafa;
}

.bar {
  width: 100%;
  height: 12px;
  background: #333;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
}

.bar-fill {
  height: 100%;
  border-radius: 8px;
  transition: width 0.4s ease, transform 0.2s ease;
}

.bar-fill:hover {
  transform: scaleY(1.4);
}

/* Farben */
.bar-team1 {
  background: #a8e6a3; /* dein Dashboard-Grün */
}

.bar-team2 {
  background: #7bcf8a; /* etwas dunkleres Grün, harmonisch */
}

.bar-draw {
  background: #666; /* sehr neutrales Dunkelgrau */
}

/* Prozent rechts */
.stat-row .percent {
  font-size: 0.9rem;
  font-weight: bold;
  color: #fafafa;
}

















/* Testen */

