/* Nur für status.html */
.sp { width: 100%; max-width: 880px; display: flex; flex-direction: column; gap: 20px; margin-bottom: 70px; font-family: var(--mc-font); }
.sp > * { animation: pop .7s cubic-bezier(.34, 1.56, .64, 1) backwards; }
.sp > :nth-child(2) { animation-delay: .05s; } .sp > :nth-child(3) { animation-delay: .1s; }
.sp > :nth-child(4) { animation-delay: .17s; } .sp > :nth-child(5) { animation-delay: .24s; }
.sp > :nth-child(6) { animation-delay: .3s; }  .sp > :nth-child(7) { animation-delay: .36s; }
.sp .back { color: #8c8c8c; text-decoration: none; font-size: 16px; width: fit-content; }
.sp .back:hover { color: var(--yellow); }
.sp h1 { font-size: 44px; font-weight: 400; text-shadow: 3px 3px 0 #3a3a3a; }

.banner {
  display: flex; align-items: center; gap: 16px;
  padding: 18px 22px; font-size: 20px;
  background: var(--card); border: 3px solid #333; border-radius: var(--radius);
  transition: background .3s, border-color .3s;
}
.banner .light { width: 16px; height: 16px; flex: none; background: #777; }
.banner[data-state="ok"]    { background: rgba(61,220,87,.10);  border-color: #2f9c45; }
.banner[data-state="ok"] .light    { background: #3ddc57; animation: pulse 1.8s infinite; }
.banner[data-state="down"]  { background: rgba(229,72,77,.10);  border-color: #b3363a; }
.banner[data-state="down"] .light  { background: #e5484d; }
.banner[data-state="error"] { background: rgba(255,170,0,.10);  border-color: #b57a00; }
.banner[data-state="error"] .light { background: #ffaa00; }

.grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.col { display: flex; flex-direction: column; gap: 20px; }
.col .card:last-child { flex: 1; } /* letzte Karte füllt die Höhe, keine Lücke */
.card { background: var(--card); border-radius: var(--radius); padding: 24px 26px; }
.card h2 { font-size: 14px; color: var(--yellow); text-transform: uppercase; letter-spacing: 1px; font-weight: 400; margin-bottom: 14px; }
.card[hidden] { display: none; }
.big { font-size: 46px; line-height: 1; text-shadow: 3px 3px 0 #333; }
.big small { font-size: 22px; color: #8c8c8c; }
.sub { color: #8c8c8c; font-size: 14px; margin-top: 8px; }
.rows { margin-top: 18px; display: grid; grid-template-columns: auto 1fr; gap: 8px 18px; font-size: 16px; }
.rows dt { color: #8c8c8c; } .rows dd { word-break: break-word; }
.pill { display: inline-block; padding: 3px 10px; background: #333; font-size: 14px; }
.pill[data-state="ok"] { background: #1f6b30; } .pill[data-state="down"] { background: #8a2326; }
.sp .copy { margin-top: 20px; width: 100%; }

.players { display: flex; flex-wrap: wrap; gap: 8px; }
.players span { background: #2a2a2a; padding: 6px 10px; border: 2px solid #000; font-size: 14px; }
.players .none { background: none; border: 0; padding: 0; color: #8c8c8c; font-size: 15px; }

.controls { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.countdown { flex: 1; min-width: 160px; }
.countdown .bar { height: 10px; background: #2a2a2a; border: 2px solid #000; }
.countdown i { display: block; height: 100%; width: 100%; background: repeating-linear-gradient(90deg, #55ff55 0 8px, #2fb52f 8px 16px); }
.countdown p { margin-top: 6px; font-size: 13px; color: #8c8c8c; }

@media (max-width: 760px) { .grid { grid-template-columns: 1fr; } .sp h1 { font-size: 34px; } .banner { font-size: 17px; } }
@media (prefers-reduced-motion: reduce) { .sp > * { animation: none; } }
