.stp-wrapper {
  max-width: 100%;
  box-sizing: border-box;
}
/* === Form === */
.stp-form {
  margin-bottom: 20px;
  width: 100%;
}
.stp-form input[type="number"] {
  padding: 6px;
  width: 100%;
  font-size: 1.2rem;
  box-sizing: border-box;
  margin-bottom: 8px;
  background: #222;
  color: #fff;
  border: 1px solid #444;
}

.stp-form button {
  padding: 8px 14px;
  background: #0073aa;
  color: #fff;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}
.stp-form button:hover {
  background: #005f8d;
}

/* === Result === */
.stp-result {
  width: 100%;
}
.stp-server-info {
  margin-bottom: 1.5em;
  font-size: 1rem;
}

.stp-alert {
  padding: 1em;
  border-radius: 8px;
  border: 1px solid #ccc;
  background: #f8f8f8;
  line-height: 1.6;
}

.stp-demo-notice {
  border-left: 5px solid #e67e22;
  background: #fffaf4;
  color: #8a5200;
}

.stp-live-notice {
  border-left: 5px solid #2ecc71;
  background: #f4fff9;
  color: #25643a;
}

/* === Timeline === */
.stp-timeline {
  margin-top: 20px;
}
.stp-timeline h3 {
  margin-top: 25px;
  font-size: 20px;
  background: #0073aa;
  padding: 10px 12px;
  border-radius: 4px;
  color: #fff;
}

/* === Event === */
.stp-event {
  position: relative;
  padding: 16px 12px 12px;
  margin: 12px 0;
  border-left: 4px solid var(--stp-event-border-color, #666);
  border-radius: 4px;
  background: #111;
  color: #eee;
}
.stp-event strong {
  font-size: 16px;
}
.stp-event-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.stp-day-badge {
  position: relative;
  padding: 4px 10px;
  border-radius: 10px;
  font-size: 16px;
  white-space: nowrap;
  font-weight: 500;
}
.stp-event-separator {
  height: 1px;
  width: 30%;
  margin: 12px auto; /* wyśrodkowanie poziome + marginesy góra/dół */
  border-radius: 1px;
  background-color: #666; /* nadpisywane inline */
  opacity: 0.6; /* subtelniejszy wygląd */
  transition: background-color 0.3s ease;
}

/* Zielone: odblokowane */
.stp-day-unlocked {
  background: #2e7d32; /* zielony */
  color: #fff;
}

/* Czerwone: przyszłe */
.stp-day-upcoming {
  background: #c62828; /* czerwony */
  color: #fff;
}


.stp-day-maybe {
  background-color: #f39c12; /* pomarańczowy */
}

/* === Note === */
.stp-note {
  margin-top: 6px;
  font-style: italic;
  color: #aaa;
}

/* === Hero Grid === */
.stp-heroes {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 10px;
  padding: 8px;
  background: #222;
  border-radius: 6px;
}
.stp-hero {
  display: block;
  width: 80px;
  text-align: center;
  text-decoration: none;
  font-size: 13px;
  color: #fff;
}
.stp-hero img {
  width: 100%;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.4);
  margin-bottom: 4px;
}
.stp-hero:hover {
  color: #0cf;
  transform: scale(1.03);
  transition: 0.2s ease;
}

/* === Error Box === */
.stp-error {
  padding: 10px;
  background: #400;
  border: 1px solid #a00;
  color: #fff;
  border-radius: 6px;
  font-weight: bold;
}
