/* RandomSecurity24 – 72 Stunden */

.st-bereich { padding-top: 56px; }
.st-spiel { max-width: 1040px; margin: 0 auto; scroll-margin-top: 90px; }
.st-klein { font-size: .88rem; color: var(--ink-mute); }

/* Startkarte */
.st-start { padding: 32px; max-width: 720px; margin: 0 auto; }
.st-start p { color: var(--ink-soft); }
.st-start .st-klein { color: var(--ink-mute); }
.st-fakten { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 22px; }
.st-fakten div { background: var(--bg); border-radius: 12px; padding: 14px; text-align: center; }
.st-fakten b { display: block; font-size: 1.8rem; font-weight: 800; letter-spacing: -0.03em; }
.st-fakten span { font-size: .8rem; color: var(--ink-mute); }

/* Lagetafel */
.st-tafel { background: var(--navy); color: #e8ecf6; border-radius: var(--radius); padding: 18px 20px; margin-bottom: 18px; box-shadow: var(--shadow); scroll-margin-top: 90px; }
.st-tafel-oben { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 14px 28px; align-items: center; }
.st-uhr b { display: block; font-family: var(--mono); font-size: 2rem; font-weight: 700; line-height: 1.1; color: #fff; white-space: nowrap; }
.st-uhr span { font-size: .82rem; color: #aab4cc; white-space: nowrap; }
.st-werte { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px 18px; }
.st-wert-kopf { display: flex; justify-content: space-between; gap: 6px; font-size: .78rem; font-weight: 600; color: #c9d1e4; }
.st-wert-kopf b { font-family: var(--mono); color: #fff; }
.st-leiste { height: 7px; background: rgba(255, 255, 255, .14); border-radius: 4px; overflow: hidden; margin-top: 4px; }
.st-leiste div { height: 100%; background: #12b76a; border-radius: 4px; transition: width .45s, background .3s; }
.st-leiste div.mittel { background: #f5a524; }
.st-leiste div.tief { background: #ff3b55; }

.st-fristen { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 16px; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, .13); }
.st-frist {
  font: inherit; color: inherit; text-align: left; cursor: pointer; padding: 10px 12px; border-radius: 10px;
  background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .17); transition: background .2s, border-color .2s;
}
.st-frist:hover:not(:disabled) { background: rgba(255, 255, 255, .14); }
.st-frist:focus-visible, .st-drucker:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
.st-frist b { display: block; font-size: .88rem; line-height: 1.25; }
.st-frist small { display: block; font-size: .76rem; line-height: 1.3; color: #c9d1e4; margin-top: 3px; }
.st-frist.knapp { border-color: #f5a524; background: rgba(245, 165, 36, .18); }
.st-frist.vorbei { border-color: #ff3b55; background: rgba(255, 59, 85, .24); }
.st-frist.erledigt { border-color: rgba(18, 183, 106, .7); background: rgba(18, 183, 106, .16); cursor: default; }
.st-frist.spaet { border-color: #f5a524; background: rgba(245, 165, 36, .12); cursor: default; }

.st-drucker {
  font: inherit; font-size: .78rem; color: #aab4cc; background: none; border: 0; padding: 2px 0; margin-top: 4px;
  cursor: pointer; display: block; text-align: left; white-space: nowrap;
}
.st-drucker:hover:not(:disabled) { color: #fff; text-decoration: underline; }
.st-drucker:disabled { cursor: default; }

/* Spielfeld */
.st-feld { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 18px; align-items: start; }
.st-szene { padding: 24px 26px; scroll-margin-top: 90px; }
.st-absender { display: flex; align-items: center; gap: 12px; padding-bottom: 14px; margin-bottom: 14px; border-bottom: 1px solid var(--line); }
.st-avatar {
  flex: 0 0 auto; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  color: #fff; font-weight: 700; font-size: .95rem; background: linear-gradient(135deg, var(--navy-2), var(--accent-2));
}
.st-avatar.boese { background: linear-gradient(135deg, #3a0a14, var(--accent)); }
.st-absender b { display: block; line-height: 1.25; }
.st-absender span { font-size: .84rem; color: var(--ink-mute); }
.st-text p:last-child { margin-bottom: 0; }

.st-wahl { display: grid; gap: 10px; margin-top: 18px; }
.st-option {
  font: inherit; text-align: left; color: var(--ink); background: var(--bg); cursor: pointer;
  display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 12px; align-items: baseline;
  padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius-sm); transition: border-color .15s, background .15s;
}
.st-option:hover { border-color: var(--accent-2); background: #f0f4ff; }
.st-option:focus-visible, .st-weiter:focus-visible { outline: 3px solid var(--accent-2); outline-offset: 2px; }
.st-option kbd { font-family: var(--mono); font-size: .8rem; font-weight: 700; color: var(--ink-mute); }

.st-ergebnis { margin-top: 18px; padding-top: 16px; border-top: 1px dashed var(--line); }
.st-gewaehlt { font-size: .86rem; color: var(--ink-mute); margin-bottom: 8px; }
.st-chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0 0; padding: 0; list-style: none; }
.st-chips li { font-size: .78rem; font-weight: 700; padding: 3px 9px; border-radius: 999px; }
.st-chips .plus { background: #e3f8ee; color: #0a7a47; }
.st-chips .minus { background: #ffe9ec; color: #c01f38; }
.st-chips .zeit { background: var(--bg); color: var(--ink-soft); }
.st-ernst { margin-top: 14px; padding: 11px 14px; background: #fff8e8; border-left: 3px solid var(--warn); border-radius: 0 8px 8px 0; font-size: .9rem; color: #5b4510; }
.st-ernst b { color: #3e2f09; }
.st-weiter { margin-top: 16px; }

/* Lagebuch */
.st-lagebuch { padding: 16px 18px; }
.st-lagebuch h2 { font-size: 1rem; letter-spacing: 0; margin-bottom: 2px; }
.st-lagebuch > p { font-size: .78rem; color: var(--ink-mute); margin-bottom: 10px; }
.st-eintraege { list-style: none; margin: 0; padding: 0; max-height: 470px; overflow-y: auto; font-size: .82rem; line-height: 1.35; }
.st-eintraege li { display: grid; grid-template-columns: 42px minmax(0, 1fr); gap: 6px; padding: 6px 0; border-top: 1px solid var(--line); color: var(--ink-soft); }
.st-eintraege time { font-family: var(--mono); font-size: .76rem; color: var(--ink-mute); }
.st-eintraege .warn { color: #c01f38; font-weight: 600; }

/* Abschlussbericht */
.st-bericht { padding: 32px; max-width: 780px; margin: 0 auto; }
.st-stempel { display: inline-block; font-family: var(--mono); font-size: .76rem; font-weight: 700; letter-spacing: .08em; color: var(--accent); border: 2px solid var(--accent); padding: 2px 9px; border-radius: 4px; transform: rotate(-2deg); margin-bottom: 14px; }
.st-bericht h2 { margin-bottom: .3em; }
.st-bericht-lead { font-size: 1.08rem; color: var(--ink-soft); }
.st-endwerte { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 20px 0; }
.st-endwerte div { background: var(--bg); border-radius: 12px; padding: 12px; text-align: center; }
.st-endwerte b { display: block; font-size: 1.55rem; font-weight: 800; letter-spacing: -0.03em; }
.st-endwerte span { font-size: .78rem; color: var(--ink-mute); }
.st-bericht h3 { margin-top: 22px; }
.st-liste { list-style: none; margin: 0; padding: 0; }
.st-liste li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 6px; padding: 7px 0; border-top: 1px solid var(--line); font-size: .94rem; color: var(--ink-soft); }
.st-liste .gut::before { content: "✓"; color: var(--ok); font-weight: 800; }
.st-liste .schlecht::before { content: "✗"; color: var(--accent); font-weight: 800; }
.st-knoepfe { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }

/* Abschnitt zu den Fakten */
.st-echt { max-width: 820px; }
.st-echt ul { padding-left: 20px; color: var(--ink-soft); }
.st-echt li { margin-bottom: 10px; }

@media (max-width: 900px) {
  .st-feld { grid-template-columns: minmax(0, 1fr); }
  .st-eintraege { max-height: 260px; }
}
@media (max-width: 680px) {
  .st-tafel { padding: 14px; }
  .st-tafel-oben { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .st-uhr { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; }
  .st-uhr b { font-size: 1.5rem; }
  .st-drucker { margin: 0; }
  .st-werte { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 14px; }
  .st-fristen { grid-template-columns: minmax(0, 1fr); gap: 6px; margin-top: 12px; padding-top: 12px; }
  .st-frist { padding: 7px 10px; }
  .st-szene { padding: 18px; }
}
@media (max-width: 520px) {
  .st-fakten, .st-endwerte { grid-template-columns: repeat(2, 1fr); }
  .st-start, .st-bericht { padding: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  .st-leiste div, .st-frist { transition: none; }
}
