/* 0.23 „Die Mannschaft“: Taktiktafel, Spielbericht, Rückfrage, Sanduhr, Kader und Transfermarkt */

/* --- Taktiktafel in „Heute zu tun“ --------------------------------------------------------------- */
.kader-leiste { margin: 0 0 12px; padding: 12px; border-radius: 14px; background: linear-gradient(180deg, #ecfdf5, #f0fdf4); border: 1px solid #bbf7d0; position: relative; overflow: hidden; }
.kader-leiste::before { content: ""; position: absolute; inset: 8px; border: 2px solid rgba(22, 163, 74, .18); border-radius: 10px; pointer-events: none; }
.kader-leiste::after { content: ""; position: absolute; left: 50%; top: 8px; bottom: 8px; border-left: 2px solid rgba(22, 163, 74, .14); pointer-events: none; }
.tt-kopf { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.tt-hilfe { position: relative; z-index: 1; margin: 6px 0 8px; }
.tt-personen { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 6px; }
.tt-person { display: grid; justify-items: center; gap: 2px; min-height: 48px; padding: 6px 4px; border-radius: 12px; border: 2px solid transparent; background: var(--flaeche, #fff); color: inherit; font: inherit; cursor: pointer; text-align: center; }
.tt-person b { font-size: .86rem; line-height: 1.1; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tt-person .klein { font-size: .72rem; color: var(--leise, #6b7280); }
.tt-person.aktiv { border-color: var(--akzent, #4f46e5); box-shadow: 0 0 0 3px color-mix(in srgb, var(--akzent, #4f46e5) 22%, transparent); }
.tt-person.spielt { background: #fefce8; }
.tt-person.gesperrt { opacity: .55; }
.tt-person .tt-grund { color: #b45309; }
.tt-binde { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: #facc15; color: #713f12; font-weight: 900; border: 2px solid #a16207; }
.tt-zustand { display: inline-flex; gap: 4px; align-items: center; font-size: .82rem; }
.tt-akku { display: inline-flex; gap: 1px; align-items: flex-end; height: 12px; }
.tt-akku i { display: block; width: 4px; height: 100%; border-radius: 1px; background: #d1d5db; }
.tt-akku i.an { background: #16a34a; }
.tt-knoepfe { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.tt-leer-hinweis { display: flex; gap: 10px; align-items: center; color: inherit; text-decoration: none; position: relative; z-index: 1; }
.tt-leer-hinweis span:first-child { font-size: 1.6rem; }
.tt-sterne { color: #eab308; letter-spacing: -1px; font-size: .9rem; white-space: nowrap; }
.tt-sterne .tt-leer { color: #e5e7eb; }
.tt-sterne.s1, .tt-sterne.s2 { color: #dc2626; }
.todo-trikot { display: inline-flex; align-items: center; justify-self: end; grid-column: 1 / -1; }
.todo-trikot .tt-wer { display: inline-flex; gap: 5px; align-items: center; padding: 2px 8px 2px 2px; border-radius: 99px; background: #fefce8; border: 1px solid #fde68a; font-size: .85rem; }
.todo-trikot .tt-du { padding: 1px 8px; border-radius: 99px; background: #fef9c3; color: #713f12; font-weight: 800; font-size: .78rem; border: 1px solid #fde047; }
.todo-trikot .tt-nein { font-size: .8rem; color: var(--leise, #6b7280); }
.todo.abgegeben { border-style: dashed; }
.todo.abgegeben .todo-energie { opacity: .45; }
.trikot { flex: none; }

/* --- Rückfrage, Führungsfall, Sanduhr ---------------------------------------------------------------- */
.rueckfrage-banner { display: flex; gap: 10px; align-items: center; margin: 0 0 10px; padding: 8px 10px; border-radius: 12px; background: #fefce8; border: 1px solid #fde68a; }
.rueckfrage-banner div { display: grid; }
.haken.fuehrungsfall .haken-kopf { border-bottom: 3px solid #facc15; }
.sanduhr { display: flex; gap: 8px; align-items: center; margin: 0 0 10px; }
.sanduhr-glas { font-size: 1.3rem; animation: sanduhr-dreh 3s ease-in-out infinite; }
.sanduhr-bahn { flex: 1; height: 8px; border-radius: 99px; background: #fde68a; overflow: hidden; }
.sanduhr-bahn i { display: block; height: 100%; width: calc(var(--p, 100) * 1%); background: #a16207; transition: width .5s linear; }
.sanduhr.knapp .sanduhr-bahn i { background: #dc2626; }
@keyframes sanduhr-dreh { 0%, 80% { transform: rotate(0); } 100% { transform: rotate(180deg); } }
@media (prefers-reduced-motion: reduce) { .sanduhr-glas { animation: none; } }
.sanduhr-frage { margin: 0 0 10px; padding: 10px 12px; border-radius: 12px; background: #eef2ff; border: 1px solid #c7d2fe; }
.sanduhr-frage p { margin: 0 0 8px; }

/* --- Spielbericht (Feierabend) ------------------------------------------------------------------------ */
.sb-tafel { display: grid; grid-template-columns: 1fr auto 1fr; gap: 8px; align-items: center; margin: 0 0 12px; padding: 12px 10px; border-radius: 12px; background: #111827; color: #fef08a; font-family: ui-monospace, "Cascadia Mono", monospace; text-align: center; box-shadow: inset 0 0 0 3px #374151; }
.sb-team { font-size: .78rem; text-transform: uppercase; letter-spacing: .04em; color: #e5e7eb; }
.sb-stand { font-size: 2rem; font-weight: 900; letter-spacing: .06em; }
.sb-ticker { list-style: none; margin: 0 0 10px; padding: 0; display: grid; gap: 4px; }
.sb-ticker li { display: grid; grid-template-columns: 3.4em 1fr; gap: 6px; font-size: .92rem; line-height: 1.35; }
.sb-ticker li b { font-variant-numeric: tabular-nums; color: var(--leise, #6b7280); }
.sb-ticker li.tor span { font-weight: 600; }
.sb-ticker li.eigentor span { color: #b91c1c; }
.sb-sdt { margin: 6px 0; }

/* --- Kader-Seite ---------------------------------------------------------------------------------------- */
.kader-kopf { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; }
.kader-kopf .zahl { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 99px; background: #dc2626; color: #fff; font-size: .75rem; font-weight: 800; }
.kader-raster { display: grid; gap: 12px; }
@media (min-width: 760px) { .kader-raster { grid-template-columns: 1fr 1fr; } }
.kader-akte { display: grid; gap: 8px; }
.kader-akte.schmidt { border: 2px solid #eab308; background: linear-gradient(180deg, #fffbeb, var(--flaeche, #fff) 40%); }
.kader-akte.umworben { border: 2px solid #dc2626; }
.ka-kopf { display: flex; gap: 10px; align-items: center; }
.ka-bild { flex: none; }
.ka-spruch { margin: 0; font-style: italic; }
.ka-zustand { display: flex; flex-wrap: wrap; gap: 10px; font-size: .9rem; align-items: center; }
.ka-bilanz { margin: 0; }
.ka-form i { font-style: normal; margin-right: 1px; }
.ka-form i.gut { color: #16a34a; }
.ka-form i.schlecht { color: #dc2626; }
.ka-abwerbung { padding: 8px 10px; border-radius: 10px; background: #fef2f2; border: 1px solid #fecaca; }
.ka-abwerbung p { margin: 0 0 6px; }

/* --- Transfermarkt -------------------------------------------------------------------------------------- */
.markt-kopf { display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between; align-items: center; }
.markt-hilfe summary { cursor: pointer; font-weight: 700; }
.markt-liste { display: grid; gap: 12px; }
@media (min-width: 760px) { .markt-liste { grid-template-columns: 1fr 1fr; } }
.mappe { display: grid; gap: 6px; position: relative; background: #fffdf5; border: 1px solid #e7d9a8; }
.mappe.zugesagt { border-color: #16a34a; }
.mappe.abgesagt { opacity: .7; }
.mappe-schmidt { border: 2px dashed #a16207; }
.mappe-kopf { display: flex; gap: 10px; align-items: center; }
.mappe-kopf .stempel { margin-left: auto; transform: rotate(-8deg); border: 2px solid; border-radius: 6px; padding: 1px 8px; font-weight: 900; text-transform: uppercase; font-size: .72rem; letter-spacing: .08em; }
.stempel.ok { color: #16a34a; }
.stempel.nein { color: #b91c1c; }
.mappe-spruch { margin: 0; font-style: italic; }
.mappe-zeugnis { margin: 0; font-size: .92rem; }
.mappe-preis { margin: 0; }
.mappe-auf summary, .schmidt-gespraech summary { cursor: pointer; }
.schmidt-gespraech summary { display: inline-block; list-style: none; }
.schmidt-gespraech summary::-webkit-details-marker { display: none; }
.sg-form { display: grid; gap: 10px; margin-top: 10px; }
.sg-form fieldset { border: 1px solid #e7d9a8; border-radius: 10px; padding: 8px 10px; display: grid; gap: 4px; }
.sg-form legend { font-weight: 700; padding: 0 4px; }
.markt-fuss { margin-top: 12px; }
.markt-stempel { text-align: right; color: #b91c1c; transform: rotate(-1deg); }
.hinweis-zeile { padding: 8px 10px; border-radius: 10px; background: #fef3c7; }
.mappe-auf > summary { display: flex; align-items: center; min-height: 44px; padding: 6px 10px; border-radius: 10px; background: #fef3c7; font-weight: 700; }
.schmidt-gespraech > summary { min-height: 44px; }
