@keyframes stAtem { 0%, 100% { opacity: .55; transform: scale(1) } 50% { opacity: 1; transform: scale(1.08) } }
@keyframes stSchimmer { 0% { background-position: -220% 0 } 100% { background-position: 220% 0 } }

.st-sterne { display: inline-flex; gap: 1px; align-items: center; line-height: 1; vertical-align: -1px; flex-shrink: 0 }
.st-sterne i { font-style: normal; display: inline-block; width: 12px; height: 12px; font-size: 12px; line-height: 12px; text-align: center }
.st-sterne i::before { content: '\2605'; color: rgba(139, 148, 158, .42) }
.st-sterne i.st-an::before { color: #f5c451; text-shadow: 0 0 6px rgba(245, 196, 81, .45) }
.st-sterne-gross i { width: 26px; height: 26px; font-size: 26px; line-height: 26px }
.st-sterne-gross { gap: 3px }

.st-wurzel { display: flex; flex-direction: column; gap: 12px; min-width: 0 }

.st-tresor { position: relative; overflow: hidden; border-radius: 16px; padding: 20px 16px 16px; text-align: center;
  background: radial-gradient(120% 90% at 50% 0%, rgba(var(--jpRGB), .14) 0%, #14120c 46%, #0a0b12 100%);
  border: 1px solid rgba(var(--jpRGB), .45);
  box-shadow: 0 14px 36px rgba(0, 0, 0, .45), inset 0 1px 0 rgba(var(--jpRGB), .18) }
.st-bloom { position: absolute; left: 50%; top: -60px; width: 300px; height: 300px; margin-left: -150px; pointer-events: none;
  background: radial-gradient(circle, rgba(var(--jpRGB), .30) 0%, rgba(var(--jpRGB), .08) 45%, transparent 70%);
  animation: stAtem 4.2s ease-in-out infinite }
.st-band { position: relative; display: inline-flex; align-items: center; gap: 7px; font-size: 10.5px; font-weight: 800;
  letter-spacing: 1.3px; text-transform: uppercase; color: rgba(var(--jpRGB), .95); border: 1px solid rgba(var(--jpRGB), .3);
  border-radius: 999px; padding: 3px 11px; background: rgba(var(--jpRGB), .08) }
.st-summe { position: relative; margin-top: 8px; font-weight: 900; font-size: clamp(30px, 8vw, 44px); line-height: 1.05;
  letter-spacing: -.5px; font-variant-numeric: tabular-nums;
  background: linear-gradient(100deg, rgba(var(--jpRGB), .55) 0%, var(--jpF) 38%, #fff6d8 50%, var(--jpF) 62%, rgba(var(--jpRGB), .55) 100%);
  background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: stSchimmer 5.5s linear infinite }
.st-medaillen { position: relative; display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; margin-top: 10px }
.st-med { display: inline-flex; align-items: center; gap: 5px; font-size: 11px; font-weight: 700; color: var(--text);
  border: 1px solid var(--stF); border-radius: 999px; padding: 3px 10px; background: rgba(255, 255, 255, .04) }
.st-med b { color: var(--stF); font-variant-numeric: tabular-nums }
.st-kurz { position: relative; margin-top: 9px; font-size: 11px; color: var(--text-muted) }
.st-knopf { position: relative; width: 100%; margin-top: 12px; border: none; border-radius: 12px; padding: 12px 14px; cursor: pointer;
  font-weight: 900; font-size: 14px; color: #231a04;
  background: linear-gradient(135deg, #fff0c0, var(--jpF) 55%, rgba(var(--jpRGB), .75));
  box-shadow: 0 8px 22px rgba(var(--jpRGB), .34), inset 0 1px 0 rgba(255, 255, 255, .5);
  transition: transform .12s ease, box-shadow .12s ease }
.st-knopf:hover { transform: translateY(-1px); box-shadow: 0 12px 28px rgba(var(--jpRGB), .44) }
.st-knopf:disabled { filter: grayscale(.5); cursor: default; transform: none }

.st-reiter { display: flex; gap: 6px; flex-wrap: wrap }
.st-pille { border: 1px solid var(--border); background: var(--bg-input); color: var(--text); border-radius: 999px;
  padding: 7px 14px; font-size: 12px; font-weight: 700; cursor: pointer; display: inline-flex; align-items: center; gap: 6px;
  transition: transform .12s ease, border-color .12s ease }
.st-pille:hover { transform: translateY(-1px); border-color: rgba(245, 196, 81, .6) }
.st-pille-an { border-color: #f5c451; background: rgba(245, 196, 81, .14); color: #f5c451 }
.st-pille-klein { padding: 5px 10px; font-size: 11px }
.st-mehr { align-self: center; margin-top: 4px }

.st-info { margin: 0; font-size: 12px; color: var(--text-muted); line-height: 1.5 }
.st-leer { margin: 6px 0; font-size: 12px; color: var(--text-muted); text-align: center }

.st-raster { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; margin-top: 10px }
.st-karte { position: relative; overflow: hidden; min-width: 0; background: var(--bg-input); border: 1px solid var(--border);
  border-radius: 12px; padding: 12px 12px 11px 16px; display: flex; flex-direction: column; gap: 6px }
.st-karte::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--stF) }
.st-karte-stufe { border-color: rgba(var(--stRGB), .45); box-shadow: 0 6px 18px rgba(var(--stRGB), .12) }
.st-karte-kopf { display: flex; align-items: center; gap: 7px; min-width: 0 }
.st-kat-ico { font-size: 16px; line-height: 1; flex-shrink: 0 }
.st-kat-name { font-weight: 800; font-size: 13px; flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap }
.st-chip { display: inline-flex; align-items: center; gap: 3px; font-size: 9.5px; font-weight: 800; letter-spacing: .8px;
  text-transform: uppercase; color: var(--stF, #f5c451); background: rgba(var(--stRGB, 245, 196, 81), .14);
  border-radius: 999px; padding: 2px 8px; white-space: nowrap; flex-shrink: 0 }
.st-chip-gut { --stF: #3fb950; --stRGB: 63, 185, 80; text-transform: none; letter-spacing: 0 }
.st-chip-offen { --stF: #f5c451; --stRGB: 245, 196, 81; align-self: flex-start }
.st-chip-diag { --stF: #58a6ff; --stRGB: 88, 166, 255; text-transform: none; letter-spacing: 0; max-width: 40%; overflow: hidden; text-overflow: ellipsis }
.st-zahl { font-weight: 900; font-size: 22px; color: var(--stF); font-variant-numeric: tabular-nums; line-height: 1.1 }
.st-zahl small { font-size: 11px; font-weight: 700; color: var(--text-muted) }
.st-balken { height: 6px; border-radius: 99px; background: rgba(255, 255, 255, .07); overflow: hidden }
.st-balken i { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, rgba(var(--stRGB), .55), var(--stF)) }
.st-unter { font-size: 11px; color: var(--text-muted) }
.st-titel { font-size: 11px; color: var(--text); font-weight: 600 }

.st-filter { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin-top: 10px }
.st-auswahl { margin-left: auto; min-width: 0; max-width: 100%; padding: 6px 8px; border-radius: 8px; border: 1px solid var(--border);
  background: var(--bg-input); color: var(--text); font-size: 12px }
.st-auswahl:focus { outline: none; border-color: #f5c451 }
.st-liste { display: flex; flex-direction: column; gap: 6px; margin-top: 10px }
.st-zeile { position: relative; display: flex; align-items: center; gap: 10px; width: 100%; min-width: 0; text-align: left;
  background: var(--bg-input); border: 1px solid var(--border); border-radius: 10px; padding: 9px 11px; color: var(--text);
  cursor: pointer; transition: transform .12s ease, border-color .12s ease }
.st-zeile:hover { transform: translateY(-1px); border-color: rgba(245, 196, 81, .55) }
.st-zeile-text { display: flex; flex-direction: column; min-width: 0; flex: 1 1 auto }
.st-zeile-name { font-weight: 700; font-size: 12.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap }
.st-zeile-meta { font-size: 10.5px; color: var(--text-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap }

.st-bericht { display: flex; flex-direction: column; gap: 8px }
.st-bericht-kopf { display: flex; align-items: center; gap: 12px; padding: 4px 2px 8px; border-bottom: 1px solid var(--border); min-width: 0 }
.st-bericht-kopf > div { min-width: 0 }
.st-bericht-name { font-weight: 800; font-size: 14px; color: var(--text); overflow-wrap: anywhere }
.st-krit { position: relative; display: flex; align-items: flex-start; gap: 10px; padding: 9px 11px 9px 14px; border-radius: 10px;
  background: var(--bg-input); border: 1px solid var(--border); overflow: hidden }
.st-krit::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--kF, #6e7681) }
.st-k-ok { --kF: #3fb950 }
.st-k-nein { --kF: #e5534b }
.st-k-leer { --kF: #6e7681; opacity: .8 }
.st-krit-punkt { width: 9px; height: 9px; border-radius: 50%; margin-top: 4px; flex-shrink: 0; background: var(--kF); box-shadow: 0 0 6px var(--kF) }
.st-krit-text { display: flex; flex-direction: column; gap: 2px; flex: 1 1 auto; min-width: 0; font-size: 12px }
.st-krit-text span { color: var(--text-muted); font-size: 11.5px; line-height: 1.45; overflow-wrap: anywhere }
.st-krit-wert { font-size: 10px; font-weight: 800; letter-spacing: .6px; text-transform: uppercase; color: var(--kF); white-space: nowrap }
.st-bericht-fuss { text-align: right; font-size: 11px }

.st-hilfe { color: var(--info, #58a6ff); font-size: 10.5px; text-decoration: none; font-weight: 600 }
.st-hilfe:hover { text-decoration: underline }

.st-einsatz-box { position: relative; background: rgba(56, 139, 253, .07); border: 1px solid rgba(56, 139, 253, .3);
  border-left: 3px solid #58a6ff; border-radius: 8px; padding: 6px 10px; font-size: 11px; line-height: 1.5;
  display: flex; flex-direction: column; gap: 2px; min-width: 0 }
.st-ebox-kopf { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px }
.st-diag strong { color: var(--info, #58a6ff) }
.st-abt { color: var(--text-muted) }
.st-ebox-zeile { overflow-wrap: anywhere }
.st-ebox-fuss { text-align: right }
.st-gut { color: var(--success, #3fb950); font-weight: 700 }
.st-schlecht { color: #d29922; font-weight: 700 }
.st-modal-hinweis { display: block; margin-top: 6px; color: var(--text) }

.st-profil { position: relative; display: flex; align-items: center; gap: 10px; width: 100%; min-width: 0; margin: 0 0 12px;
  padding: 11px 14px 11px 18px; border-radius: 12px; border: 1px solid rgba(245, 196, 81, .35); color: var(--text);
  background: linear-gradient(135deg, rgba(245, 196, 81, .10), rgba(245, 196, 81, .02)); cursor: pointer; text-align: left;
  overflow: hidden; transition: transform .12s ease, box-shadow .12s ease }
.st-profil::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: #f5c451 }
.st-profil:hover { transform: translateY(-1px); box-shadow: 0 8px 20px rgba(245, 196, 81, .16) }
.st-profil-titel { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; flex-shrink: 0 }
.st-profil-werte { flex: 1 1 auto; min-width: 0; font-size: 11.5px; color: var(--text-muted); text-align: right; overflow: hidden; text-overflow: ellipsis }
.st-profil-pfeil { font-size: 18px; color: #f5c451; flex-shrink: 0; line-height: 1 }

@media (max-width: 520px) {
  .st-raster { grid-template-columns: 1fr }
  .st-auswahl { margin-left: 0; flex: 1 1 100% }
  .st-profil { flex-wrap: wrap }
  .st-profil-werte { text-align: left; flex-basis: 100%; white-space: normal }
  .st-profil-pfeil { position: absolute; right: 12px; top: 10px }
  .st-chip-diag { display: none }
}

@media (prefers-reduced-motion: reduce) {
  .st-bloom, .st-summe { animation: none !important }
  .st-summe { color: var(--jpF); -webkit-text-fill-color: var(--jpF); background: none }
  .st-knopf, .st-pille, .st-zeile, .st-profil { transition: none }
}
