/* Kampf-Kopfleiste (kampf-kopf.mjs) – alle Klassen mit kk- */
.kk-kopf {position: absolute; top: 0; left: 0; right: 0; margin: 0 auto; max-width: 780px; box-sizing: border-box; padding: calc(env(safe-area-inset-top, 0px) + 6px) 6px 0; pointer-events: none; font-family: 'Segoe UI', system-ui, sans-serif; color: #fff; transition: opacity .25s, transform .25s; z-index: 2;}
.kk-kopf.kk-weg {opacity: 0; transform: translateY(-12px);}
.kk-reihe {display: grid; grid-template-columns: 1fr 1fr; gap: 0; background: linear-gradient(180deg, rgba(36,42,58,.82), rgba(20,24,34,.72)); border: 1px solid rgba(255,255,255,.10); border-radius: 12px; box-shadow: 0 4px 14px rgba(0,0,0,.35), inset 0 1px 0 rgba(255,255,255,.08); overflow: hidden; position: relative;}
.kk-reihe::after {content: ''; position: absolute; left: 50%; top: 8px; bottom: 8px; width: 1px; background: linear-gradient(180deg, transparent, rgba(255,255,255,.22), transparent);}
.kk-karte {--kk-f: #b8b8b8; display: flex; gap: clamp(5px, 1.6vw, 9px); align-items: flex-start; padding: 6px clamp(5px, 1.6vw, 10px) 6px; min-width: 0; position: relative; transition: opacity .2s;}
.kk-karte.kk-rechts {flex-direction: row-reverse; text-align: right;}
.kk-karte.kk-leer {opacity: 0; visibility: hidden;}
.kk-bild { width: clamp(40px, 12vw, 56px); height: clamp(40px, 12vw, 56px); border: 2px solid #fff; border-radius: 9px; box-sizing: border-box; background: radial-gradient(circle at 35% 30%, rgba(255,255,255,.55), transparent 60%), color-mix(in srgb, var(--kk-f) 55%, #fff); display: grid; place-items: center; overflow: hidden; box-shadow: 0 2px 6px rgba(0,0,0,.4); font-size: clamp(22px, 7vw, 32px); line-height: 1;}
.kk-bild img {width: 100%; height: 100%; object-fit: cover; display: block;}
.kk-info {flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px;}
.kk-z1 {display: flex; align-items: baseline; gap: 4px; min-width: 0;}
.kk-rechts .kk-z1 {flex-direction: row-reverse;}
.kk-name {font-weight: 900; font-style: italic; font-size: clamp(12px, 3.7vw, 17px); letter-spacing: .02em; line-height: 1.05; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; padding-right: 2px; text-shadow: 0 0 2px #10131b, 1px 1px 0 #10131b, -1px -1px 0 #10131b, 1px -1px 0 #10131b, -1px 1px 0 #10131b, 0 2px 3px rgba(0,0,0,.5);}
.kk-stern {flex: none; color: #ffe27a; font-size: .8em; text-shadow: 0 0 6px #ffd23a;}
.kk-bildbox {position: relative; flex: none; padding-bottom: 5px;}
.kk-lv {position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); white-space: nowrap; font-size: clamp(8px, 2.4vw, 10px); font-weight: 800; font-style: italic; line-height: 1; padding: 2px 5px; border-radius: 99px; background: #10131b; color: #fff; box-shadow: 0 0 0 1px rgba(255,255,255,.35);}
.kk-lv:empty {display: none;}
.kk-chips {display: flex; align-items: center; gap: 4px; min-height: 13px; min-width: 0;}
.kk-chipsin {display: flex; gap: 3px; flex-wrap: nowrap; overflow: hidden; min-width: 0;}
.kk-rechts .kk-chips, .kk-rechts .kk-chipsin {flex-direction: row-reverse;}
.kk-chip {flex: none; font-size: clamp(7.5px, 2.2vw, 9.5px); font-weight: 800; letter-spacing: .04em; line-height: 1; padding: 2px clamp(4px, 1.3vw, 6px); border-radius: 99px; background: var(--kk-c); color: #fff; text-shadow: 0 1px 1px rgba(0,0,0,.45); box-shadow: inset 0 0 0 1px rgba(255,255,255,.35), 0 1px 2px rgba(0,0,0,.3);}
.kk-chip.kk-status {box-shadow: inset 0 0 0 1px rgba(0,0,0,.35);}
.kk-balken {position: relative; height: clamp(11px, 3.2vw, 14px); border-radius: 99px; background: #262b36; box-shadow: inset 0 1px 3px rgba(0,0,0,.6), 0 0 0 1.5px rgba(10,12,18,.9); overflow: hidden;}
.kk-geist, .kk-fuell {position: absolute; top: 0; bottom: 0; left: 0; width: 100%; border-radius: 99px;}
.kk-rechts .kk-geist, .kk-rechts .kk-fuell {left: auto; right: 0;}
.kk-geist {background: #fff; transition: width .4s cubic-bezier(.3,.6,.3,1);}
.kk-fuell {transition: width .18s ease-out, background-color .3s; background: #49c45a; box-shadow: inset 0 2px 0 rgba(255,255,255,.28), inset 0 -2px 0 rgba(0,0,0,.18);}
.kk-balken[data-f="gelb"] .kk-fuell {background: #f2c432;}
.kk-balken[data-f="rot"] .kk-fuell {background: #e24a3e;}
.kk-zahl {position: absolute; top: 50%; left: 7px; transform: translateY(-50%); font-size: clamp(8px, 2.4vw, 10px); font-weight: 900; line-height: 1; color: #fff; text-shadow: 0 0 2px #10131b, 1px 1px 0 #10131b, -1px -1px 0 #10131b, 1px -1px 0 #10131b, -1px 1px 0 #10131b;}
.kk-rechts .kk-zahl {left: auto; right: 7px;}
.kk-ep {height: 2px; margin-top: -1px; border-radius: 2px; background: rgba(255,255,255,.12); overflow: hidden;}
.kk-ep i {display: block; height: 100%; width: 0; background: #6ec8ff; transition: width .5s ease-out;}
.kk-rechts .kk-ep i {margin-left: auto;}
.kk-ep[hidden], .kk-team[hidden], .kk-zusatz[hidden], .kk-stern[hidden], .kk-mitte[hidden] {display: none;}
.kk-team {display: flex; gap: clamp(2px, .9vw, 4px); margin-top: 1px;}
.kk-rechts .kk-team {flex-direction: row-reverse;}
/* Team-Punkt: eigene Form – Samenkorn mit kleinem Glanzpunkt */
.kk-punkt {position: relative; width: clamp(9px, 2.7vw, 12px); height: clamp(9px, 2.7vw, 12px); border-radius: 50% 50% 50% 12%; transform: rotate(-45deg); box-sizing: border-box; flex: none;}
.kk-rechts .kk-punkt {border-radius: 50% 12% 50% 50%; transform: rotate(45deg);}
.kk-punkt.kk-an {background: radial-gradient(circle at 40% 40%, #fff 0 22%, #e9f3d6 23% 100%); box-shadow: 0 0 0 1.2px #10131b;}
.kk-punkt.kk-aktiv {background: radial-gradient(circle at 40% 40%, #fff 0 25%, #ffe27a 26% 100%); box-shadow: 0 0 0 1.2px #10131b, 0 0 7px 1px #ffd84a;}
.kk-punkt.kk-leer {background: transparent; box-shadow: inset 0 0 0 1.4px rgba(255,255,255,.55);}
.kk-punkt.kk-ko {background: #5b606b; box-shadow: 0 0 0 1.2px #10131b;}
.kk-punkt.kk-ko::before, .kk-punkt.kk-ko::after {content: ''; position: absolute; left: 50%; top: 18%; bottom: 18%; width: 1.6px; margin-left: -.8px; background: #20242d; border-radius: 1px;}
.kk-punkt.kk-ko::after {transform: rotate(90deg);}
.kk-zusatz {font-size: clamp(8px, 2.3vw, 10px); color: #d9deea; line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;}
.kk-mitte {position: absolute; left: 50%; top: 100%; transform: translate(-50%, -6px); background: rgba(16,19,27,.88); border: 1px solid rgba(255,255,255,.16); color: #fff; font-weight: 800; font-size: clamp(10px, 2.8vw, 12px); line-height: 1; padding: 4px 10px; border-radius: 99px; white-space: nowrap; font-variant-numeric: tabular-nums; box-shadow: 0 2px 6px rgba(0,0,0,.35);}
/* Treffer: kurz weiß, dann rot */
.kk-karte.kk-blitzt {animation: kk-blitz .45s ease-out;}
@keyframes kk-blitz {0% {background: rgba(255,255,255,.55);} 35% {background: rgba(255,70,60,.38);} 100% {background: rgba(255,70,60,0);}}
.kk-karte.kk-blitzt .kk-bild {animation: kk-bildblitz .45s ease-out;}
@keyframes kk-bildblitz {0%, 30% {filter: brightness(2.2);} 100% {filter: none;}}
@media (orientation: landscape) and (max-height: 500px) {
 .kk-kopf {padding-top: calc(env(safe-area-inset-top, 0px) + 4px);}
 .kk-bild {width: 46px; height: 46px; font-size: 26px;}
 .kk-name {font-size: 15px;} .kk-chip {font-size: 9px;} .kk-balken {height: 12px;} .kk-zahl {font-size: 9.5px;} .kk-punkt {width: 10px; height: 10px;} .kk-lv {font-size: 10px;}
 .kk-karte {padding: 5px 9px;}
}
@media (prefers-reduced-motion: reduce) {
 .kk-kopf, .kk-fuell, .kk-ep i {transition: none;}
 .kk-geist {transition: width .15s linear;}
 .kk-karte.kk-blitzt {animation: kk-blitz-ruhig .45s linear;}
 .kk-karte.kk-blitzt .kk-bild {animation: none;}
 @keyframes kk-blitz-ruhig {0%, 100% {background: rgba(255,70,60,0);} 50% {background: rgba(255,70,60,.25);}}
}
