/*
 * SP Teamprofil – Kartenstil (Vault: 00 Kontext/Branding, „Designsprache Sammelkarte“; Gestaltung aus
 * „Teamprofil Prototyp.html“, von Tim am 21.11.2026 abgenommen). Bausteine der LSDB (Kiste, Kapitel-Leiste,
 * Karten, Lightbox) nachgebaut, ohne Abhängigkeit vom LSDB-CSS.
 * Jeder Block ist ein eigener Container (sptp), Maße relativ zur Blockbreite (cqi).
 */

.sptp {
	--sptp-blau: var(--wp--preset--color--accent-1, #2a7de1);
	--sptp-kiste: #387be8;
	--sptp-orange: var(--wp--preset--color--accent-2, #ffc000);
	--sptp-navy: #101129;
	--sptp-text: #e9eefb;
	--sptp-muted: #9fb3d6;
	--sptp-panel: rgba(16, 17, 41, .72);
	--sptp-linie: rgba(100, 160, 255, .3);
	--sptp-max: 1180px;
	--sptp-rand: 2rem;
	--farbe-blau: rgb(60, 160, 255);
	container: sptp / inline-size;
	color: var(--sptp-text);
	font-family: var(--wp--preset--font-family--barlow-condensed, "Barlow Condensed", sans-serif);
}
/* Abstand zwischen den Blöcken kommt aus den Modulen, nicht aus dem Layout des Inhalts */
:where(.wp-site-blocks) .sptp { margin-block-start: 0; margin-block-end: 0; }
.sptp *, .sptp *::before, .sptp *::after { box-sizing: border-box; }
.sptp a { color: #8fc0ff; }
.sptp img { max-width: 100%; height: auto; }
/* Überstand bis an den Rand (Kiste): am Wrap berechnet, damit er den schmaleren Rand am Handy mitnimmt */
.sptp-wrap { --sptp-bleed: max(var(--sptp-rand), (100cqi - var(--sptp-max)) / 2 + var(--sptp-rand)); max-width: var(--sptp-max); margin: 0 auto; padding: 0 var(--sptp-rand); }
@container sptp (max-width: 700px) { .sptp-wrap { --sptp-rand: 1rem; } }
.sptp-ablage { display: none; }

/* ---------- Schrift ---------- */
.sptp .sptp-h1, .sptp .sptp-h2, .sptp .sptp-h3 { font-family: inherit; font-weight: 700; text-transform: uppercase; letter-spacing: .02em; margin: 0; line-height: 1; color: #fff; }
.sptp .sptp-h1 { font-size: clamp(2.4rem, 6cqi, 4.4rem); overflow-wrap: anywhere; }
.sptp .sptp-h2 { font-size: 2rem; margin-bottom: 1rem; }
.sptp .sptp-h3 { font-size: 1.2rem; }
.sptp p, .sptp .sptp-text li { font-size: 1.16rem; line-height: 1.55; font-style: italic; letter-spacing: .025em; }
.sptp p { margin: 0 0 .9rem; }
.sptp .sptp-kicker { color: var(--sptp-orange); text-transform: uppercase; letter-spacing: .12em; font-size: .9rem; font-weight: 700; font-style: normal; margin: 0 0 .4rem; }
.sptp .sptp-unter { color: var(--sptp-muted); font-size: 1.3rem; margin: .3rem 0 0; }
.sptp .sptp-lead { color: var(--sptp-muted); margin-bottom: 1.2rem; }
.sptp .sptp-zwischen { margin: 2rem 0 .6rem; }
.sptp .sptp-mehr { margin: 1.2rem 0 0; }

.sptp-crumb { display: inline-flex; gap: .4rem; align-items: center; margin: 1.2rem 0 .4rem; color: #c8d6f0 !important; text-decoration: none; text-transform: uppercase; letter-spacing: .06em; font-size: .85rem; background: rgba(255, 255, 255, .06); border: 1px solid var(--sptp-linie); border-radius: 999px; padding: .35rem .9rem; }
.sptp-crumb:hover, .sptp-crumb:focus-visible { background: rgba(100, 160, 255, .18); }

.sptp-mod, #sptp-ueberblick { scroll-margin-top: calc(var(--sptp-oben, 0px) + 60px); }
.sptp-mod { padding: 3.2rem 0 1rem; }
#sptp-bilder.sptp-mod { padding-top: 2rem; }
@container sptp (max-width: 700px) { .sptp-mod { padding: 2.4rem 0 .5rem; } }

/* ---------- Bausteine ---------- */
.sptp-badge { display: inline-block; font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; font-weight: 700; padding: .18rem .55rem; border-radius: 6px; background: rgba(42, 125, 225, .22); border: 1px solid rgba(100, 160, 255, .45); color: #d6e6ff; font-style: normal; }
.sptp-badge--orange { background: transparent; border-color: var(--sptp-orange); color: var(--sptp-orange); }
.sptp-pille { display: inline-flex; align-items: center; gap: .4rem; background: rgba(255, 255, 255, .08); border: 1px solid rgba(100, 160, 255, .35); color: #e6efff !important; border-radius: 999px; padding: .5rem 1.1rem; text-transform: uppercase; letter-spacing: .06em; font-size: .85rem; text-decoration: none; font-family: inherit; }
.sptp-pille:hover, .sptp-pille:focus-visible { background: rgba(100, 160, 255, .2); }
.sptp-pille svg { width: 18px; height: 18px; flex: none; }
.sptp-rund { width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(100, 160, 255, .4); background: rgba(255, 255, 255, .06); color: #fff; font-family: inherit; }
.sptp-rund:hover, .sptp-rund:focus-visible { background: rgba(100, 160, 255, .2); }

/* Kiste: links rund, rechts bündig über den Rand */
.sptp-kiste { background: var(--sptp-kiste); border-radius: 16px 0 0 16px; margin: 0 calc(-1 * var(--sptp-bleed)) 0 0; display: flex; overflow-x: auto; scrollbar-width: none; padding: 0; }
.sptp-kiste__k { padding: .75rem 1.4rem; white-space: nowrap; display: flex; flex-direction: column; justify-content: center; margin: 0; }
.sptp-kiste__k + .sptp-kiste__k { border-left: 1px solid rgba(255, 255, 255, .35); }
.sptp-kiste__l { font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; opacity: .85; font-style: italic; margin: 0; }
.sptp-kiste__v { font-size: 1.35rem; font-weight: 700; font-style: italic; letter-spacing: .025em; margin: 0; color: #fff; }
@container sptp (max-width: 700px) { .sptp-kiste__k { padding: .6rem 1rem; } .sptp-kiste__v { font-size: 1.1rem; } }

.sptp-text > :last-child { margin-bottom: 0; }
.sptp-text a { color: #fff; text-decoration: underline; }
.sptp-text ul, .sptp-text ol { margin: 0 0 .9rem; padding-left: 1.1rem; }

/* Griff mit flachem Schein in Klingenfarbe */
.sptp-griff { position: relative; aspect-ratio: 1000 / 616; }
.sptp-griff__bild { position: relative; width: 100%; height: 100%; object-fit: contain; z-index: 1; display: block; }
.sptp-griff__glow { position: absolute; left: 8%; right: 8%; top: 34%; height: 32%; border-radius: 50%; background: linear-gradient(90deg, var(--sptp-c1), var(--sptp-c2, var(--sptp-c1))); filter: blur(18px); opacity: .95; }

/* ---------- Einblenden: nur mit JS, nur einmal ---------- */
.sptp-js .sptp-rv { opacity: 0; transform: translateY(24px); transition: opacity .45s ease, transform .45s ease; transition-delay: var(--d, 0s); }
.sptp-js .sptp-rv.sptp-in { opacity: 1; transform: none; }
/* Notfall: Skript lädt nicht → nach 2,5 s alles sichtbar */
.sptp-js:not(.sptp-bereit) .sptp-rv { animation: sptp-notfall 0s 2.5s forwards; }
@keyframes sptp-notfall { to { opacity: 1; transform: none; } }

/* ---------- Kopf ---------- */
.sptp-hero { display: grid; grid-template-columns: 1fr 1.35fr; gap: 2rem; align-items: center; padding-top: 1rem; padding-bottom: 1.6rem; }
.sptp-hero > * { min-width: 0; }
.sptp-kontakt { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.2rem; }
.sptp-socials { display: flex; flex-wrap: wrap; gap: .45rem; margin-top: .7rem; }
.sptp-social { display: grid; place-items: center; text-decoration: none !important; color: #e6efff !important; }
.sptp-social svg { width: 18px; height: 18px; }
/* Kopfbild im Kartenrahmen (wie das Choreo-Titelbild), Porträt als Plakette an der Ecke */
.sptp-cover { position: relative; margin: 0; border: 7px solid var(--sptp-blau); border-radius: 18px; background: #000; box-shadow: 0 0 34px rgba(42, 125, 225, .45), 0 18px 40px #000; }
.sptp .sptp-cover__bild { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 11px; cursor: zoom-in; }
.sptp-plakette { position: absolute; left: -26px; bottom: -26px; z-index: 2; width: 104px; height: 104px; border-radius: 50%; border: 5px solid var(--sptp-blau); overflow: hidden; background: #0b0c1e; box-shadow: 0 0 24px rgba(42, 125, 225, .5), 0 8px 20px #000; }
.sptp .sptp-plakette img { width: 100%; height: 100%; max-width: none; object-fit: cover; display: block; }
.sptp-js .sptp-hero__cover { animation: sptp-karte-rein .9s cubic-bezier(.2, .8, .2, 1) both; }
@keyframes sptp-karte-rein { from { opacity: 0; transform: translateY(20px) rotate(3deg); } }
@container sptp (max-width: 700px) {
	.sptp-hero { grid-template-columns: 1fr; gap: .6rem; }
	.sptp-hero__cover { order: -1; border-width: 5px; margin-bottom: 2rem; }
	.sptp-plakette { width: 72px; height: 72px; left: 10px; bottom: -22px; border-width: 4px; }
}

/* ---------- Kapitel-Leiste + Fortschritt (sticky unter dem mitlaufenden Seitenkopf) ---------- */
.wp-block-sp-teamprofil-kapitel { position: sticky; top: var(--sptp-oben, 0px); z-index: 9; }
.sptp-fortschritt { height: 3px; }
.sptp-fortschritt i { display: block; height: 100%; width: 0; background: var(--sptp-blau); box-shadow: 0 0 8px var(--sptp-blau); }
.sptp-kapitel { background: rgba(16, 17, 41, .82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid rgba(100, 160, 255, .18); }
.sptp-kapitel__zeile { display: flex; align-items: center; gap: .5rem; }
.sptp-kapitel__spur { position: relative; flex: 1 1 auto; min-width: 0; display: flex; gap: .35rem; overflow-x: auto; scrollbar-width: none; padding: .5rem 0; }
.sptp-kapitel a { flex: none; color: var(--sptp-muted); text-decoration: none; text-transform: uppercase; letter-spacing: .06em; font-size: .82rem; padding: .3rem .75rem; border-radius: 7px; border: 1px solid transparent; }
.sptp-kapitel a:hover, .sptp-kapitel a:focus-visible { color: #fff; }
.sptp-kapitel a[aria-current="true"] { color: #fff; background: rgba(42, 125, 225, .3); border-color: rgba(100, 160, 255, .6); }
.sptp-kapitel a.sptp-kapitel__zurueck { color: #c8d6f0; border-color: rgba(100, 160, 255, .3); background: rgba(16, 17, 41, .95); }
.sptp-kapitel a.sptp-kapitel__zurueck:hover, .sptp-kapitel a.sptp-kapitel__zurueck:focus-visible { color: #fff; background: rgba(42, 125, 225, .3); }
.sptp-kapitel__spur.sptp-rand-r { -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 28px), transparent); mask-image: linear-gradient(to right, #000 calc(100% - 28px), transparent); }
.sptp-kapitel__spur.sptp-rand-l { -webkit-mask-image: linear-gradient(to left, #000 calc(100% - 28px), transparent); mask-image: linear-gradient(to left, #000 calc(100% - 28px), transparent); }
.sptp-kapitel__spur.sptp-rand-l.sptp-rand-r { -webkit-mask-image: linear-gradient(to right, transparent, #000 28px, #000 calc(100% - 28px), transparent); mask-image: linear-gradient(to right, transparent, #000 28px, #000 calc(100% - 28px), transparent); }
@container sptp (max-width: 700px) {
	.sptp-kapitel a.sptp-kapitel__zurueck { order: -1; padding: .3rem .65rem; font-size: 1rem; line-height: 1.1; }
	.sptp-kapitel__zurueck-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}

/* ---------- Bilder: eine Reihe, letzte Kachel „+N“ ---------- */
.sptp-reihe { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: .5rem; }
.sptp-reihe__k { position: relative; display: block; aspect-ratio: 1; overflow: hidden; border-radius: 8px; background: #0b0c1e; }
/* Ohne JS stehen alle Bilder im Raster */
html:not(.sptp-js) .sptp-reihe__k[hidden] { display: block; }
.sptp-js .sptp-reihe__k[hidden] { display: none; }
.sptp .sptp-reihe__k .sptp-bild { width: 100%; height: 100%; object-fit: cover; display: block; cursor: zoom-in; transition: transform .4s; }
.sptp-reihe__k:hover .sptp-bild { transform: scale(1.06); }
.sptp-js .sptp-reihe__k--mehr::after { content: attr(data-mehr); position: absolute; inset: 0; display: grid; place-items: center; background: rgba(16, 17, 41, .72); color: #fff; font-weight: 700; font-style: italic; font-size: 2rem; pointer-events: none; }
/* Weniger Bilder als eine Reihe: mittig */
.sptp-reihe:not(:has(.sptp-reihe__k:nth-child(6))) { display: flex; justify-content: center; }
.sptp-reihe:not(:has(.sptp-reihe__k:nth-child(6))) .sptp-reihe__k { width: calc((100% - 2.5rem) / 6); }
@container sptp (max-width: 700px) {
	.sptp-reihe { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .35rem; }
	.sptp-reihe:not(:has(.sptp-reihe__k:nth-child(6))) .sptp-reihe__k { width: calc((100% - .7rem) / 3); }
}

/* ---------- Steckbrief: Fragen als Karten, Spaltensatz 3/2/1 ---------- */
.sptp-fragen { columns: 3 300px; column-gap: .7rem; }
.sptp-frage { break-inside: avoid; margin: 0 0 .7rem; padding: .8rem 1rem .3rem; background: var(--sptp-panel); border: 1px solid rgba(100, 160, 255, .18); border-left: 4px solid var(--sptp-blau); border-radius: 4px 16px 16px 4px; }
.sptp-frage .sptp-frage__f { margin: 0 0 .35rem; font-size: 1.05rem; line-height: 1.1; font-weight: 700; text-transform: uppercase; color: #fff; font-family: inherit; letter-spacing: .02em; }
.sptp-frage .sptp-text p, .sptp-frage .sptp-text li { font-size: 1rem; line-height: 1.45; margin: 0 0 .5rem; }
@container sptp (max-width: 700px) { .sptp-fragen { columns: 1; } }

/* ---------- Auf der Bühne ---------- */
.sptp-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .8rem; }
.sptp-stat { display: flex; flex-direction: column; align-items: center; text-align: center; gap: .15rem; padding: 1rem .8rem; background: var(--sptp-panel); border: 1px solid rgba(100, 160, 255, .25); border-radius: 16px; }
.sptp-stat__l { font-size: .75rem; text-transform: uppercase; letter-spacing: .1em; color: var(--sptp-muted); }
.sptp-stat__v { font-size: 2.6rem; font-weight: 700; font-style: italic; line-height: 1; color: #fff; }
.sptp-stat__u { font-style: italic; color: #c8d6f0; font-size: 1rem; }
.sptp-stat__x { font-style: italic; color: var(--sptp-orange); font-size: .9rem; }
.sptp .sptp-stat a { color: inherit; }
.sptp-stat__balken { width: 80%; height: 6px; border-radius: 3px; background: rgba(255, 255, 255, .08); margin-top: .4rem; overflow: hidden; }
.sptp-stat__balken i { display: block; height: 100%; width: var(--w); background: var(--sptp-kiste); box-shadow: 0 0 8px rgba(56, 123, 232, .8); transition: width 1s ease .3s; }
.sptp-js .sptp-stat.sptp-rv:not(.sptp-in) .sptp-stat__balken i { width: 0; }
@container sptp (max-width: 900px) { .sptp-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@container sptp (max-width: 700px) { .sptp-stat__v { font-size: 2rem; } }

/* Letzte Auftritte: Karten mit Eventbild, Link zum Eventbericht */
.sptp-events { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .8rem; }
.sptp-event { min-height: 170px; }
.sptp-event .sptp-karte__bd { justify-content: flex-end; }
.sptp-event__mehr { margin-top: .3rem; font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; color: #8fc0ff; }
@container sptp (max-width: 700px) { .sptp-events { grid-template-columns: 1fr; } .sptp-event { min-height: 130px; } }

/* Meilensteine: Linie mit Punkten */
.sptp-ms { list-style: none; margin: 0; padding: 0; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); position: relative; }
.sptp-ms::before { content: ""; position: absolute; left: 10%; right: 10%; top: 3.15rem; height: 2px; background: linear-gradient(90deg, var(--sptp-blau), rgba(42, 125, 225, .3)); }
.sptp-ms__pt { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: .1rem; padding: 0 .3rem; }
.sptp-ms__nr { font-size: 1.8rem; font-weight: 700; font-style: italic; color: #fff; line-height: 1; }
.sptp-ms__l { font-size: .7rem; text-transform: uppercase; letter-spacing: .1em; color: var(--sptp-muted); margin-bottom: .35rem; }
.sptp-ms__krone { width: 26px; height: 26px; border-radius: 50%; background: var(--sptp-navy); border: 2px solid var(--sptp-blau); box-shadow: 0 0 10px rgba(42, 125, 225, .6); display: grid; place-items: center; color: var(--sptp-orange); font-size: .55rem; letter-spacing: -.05em; position: relative; z-index: 1; overflow: hidden; }
.sptp-ms__ort { margin-top: .4rem; font-weight: 700; text-transform: uppercase; font-size: .9rem; line-height: 1.1; color: #fff; }
.sptp .sptp-ms__ort a { color: inherit; text-decoration: none; }
.sptp .sptp-ms__ort a:hover, .sptp .sptp-ms__ort a:focus-visible { text-decoration: underline; }
.sptp-ms__jahr { color: var(--sptp-orange); font-style: italic; font-weight: 700; }
.sptp-js .sptp-ms.sptp-rv { opacity: 1; transform: none; }
.sptp-js .sptp-ms.sptp-rv .sptp-ms__pt { opacity: 0; transform: translateY(10px); transition: opacity .4s ease, transform .4s ease; transition-delay: var(--d); }
.sptp-js .sptp-ms.sptp-in .sptp-ms__pt { opacity: 1; transform: none; }
@container sptp (max-width: 700px) {
	.sptp-ms { grid-auto-flow: row; grid-auto-columns: auto; gap: .6rem; }
	.sptp-ms::before { left: 13px; right: auto; top: .5rem; bottom: .5rem; width: 2px; height: auto; background: linear-gradient(var(--sptp-blau), rgba(42, 125, 225, .3)); }
	.sptp-ms__pt { display: grid; grid-template-columns: 26px 3.2rem 1fr auto; align-items: center; text-align: left; gap: .6rem; padding: 0; }
	.sptp-ms__krone { grid-column: 1; grid-row: 1; }
	.sptp-ms__nr { grid-column: 2; grid-row: 1; font-size: 1.3rem; }
	.sptp-ms__l { display: none; }
	.sptp-ms__ort { grid-column: 3; margin: 0; }
	.sptp-ms__jahr { grid-column: 4; }
}

/* ---------- Karten ---------- */
.sptp-weiter { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(260px, 100%), 1fr)); gap: 1rem; }
.sptp-karte { position: relative; background: var(--sptp-panel); border-radius: 16px; overflow: hidden; border: 1px solid rgba(100, 160, 255, .15); transition: transform .2s, border-color .2s; text-decoration: none !important; color: inherit !important; display: flex; flex-direction: column; }
a.sptp-karte:hover, a.sptp-karte:focus-visible { transform: translateY(-4px); border-color: rgba(100, 160, 255, .55); }
.sptp-karte__im { aspect-ratio: 4 / 3; background: #0b0c1e; overflow: hidden; }
.sptp .sptp-karte__im img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sptp-karte__bd { padding: .8rem 1rem 1rem; display: flex; flex-direction: column; gap: .4rem; flex: 1; align-items: flex-start; }
.sptp .sptp-karte__titel { font-size: 1.15rem; line-height: 1.1; margin: 0; font-weight: 700; text-transform: uppercase; color: #fff; font-family: inherit; }
.sptp-karte__meta { color: var(--sptp-muted); font-style: italic; font-size: .95rem; }
.sptp-karte--schwert .sptp-griff { margin: .5rem; }
.sptp-karte--db .sptp-karte__bd { justify-content: center; min-height: 160px; }
/* Karten mit abgedunkeltem Hintergrundbild */
.sptp-karte--bild { isolation: isolate; }
.sptp .sptp-karte__bg { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; z-index: -1; opacity: .35; filter: saturate(.85); transition: opacity .3s, transform .6s; }
.sptp-karte--bild::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(16, 17, 41, .2), rgba(16, 17, 41, .85)); }
.sptp-karte--bild:hover .sptp-karte__bg, .sptp-karte--bild:focus-visible .sptp-karte__bg { opacity: .55; transform: scale(1.04); }
.sptp-schwerter { margin-bottom: .4rem; }
@container sptp (max-width: 700px) {
	.sptp .sptp-karte__titel { font-size: 1rem; }
	.sptp-karte__bd { padding: .6rem .7rem .8rem; }
	.sptp-schwerter, .sptp-choreos { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .5rem; }
	.sptp-schwerter .sptp-karte__bd { padding: .5rem .6rem .7rem; }
}

/* ---------- Sammelkarten (SP-TCG) ---------- */
.sptp .sptp-h2__icon { height: 1.6em; width: auto; max-width: none; vertical-align: middle; margin: -.2em .4rem 0 -.2rem; filter: drop-shadow(0 4px 10px rgba(0, 0, 0, .5)); }
.sptp-tcg { display: grid; grid-template-columns: minmax(0, auto) minmax(0, 1fr); gap: 2rem; align-items: center; max-width: 900px; margin-bottom: 1.6rem; }
.sptp-tcg > * { min-width: 0; }
/* Stapel bleibt gleich breit, bei vielen Editionen rücken die Karten enger zusammen */
.sptp-tcg__stapel { display: flex; width: min(100%, 430px); }
.sptp-tcg__karte { margin: 0; width: 210px; flex: none; transition: transform .35s ease; transform: rotate(calc((var(--j) - (var(--n) - 1) / 2) * 5deg)); }
.sptp-tcg__karte + .sptp-tcg__karte { margin-left: min(-40px, calc((430px - 210px * var(--n)) / max(var(--n) - 1, 1))); }
.sptp .sptp-tcg__karte img { display: block; width: 100%; border-radius: 3px; box-shadow: 0 0 24px rgba(42, 125, 225, .4), 0 16px 32px #000; }
.sptp-tcg__karte:hover { transform: rotate(0) translateY(-8px) scale(1.04); position: relative; z-index: 5; }
.sptp-tcg__ed { margin-top: .5rem; text-align: center; font-size: .75rem; text-transform: uppercase; letter-spacing: .1em; color: var(--sptp-orange); font-weight: 700; }
.sptp .sptp-tcg__titel { margin: 0 0 .8rem; font-size: 1.4rem; font-weight: 700; text-transform: uppercase; color: #fff; font-family: inherit; line-height: 1; }
.sptp-tcg__nr { display: inline-block; font-size: .95rem; color: #fff; background: var(--sptp-navy); border: 2px solid var(--sptp-kiste); padding: .05rem .4rem; margin-left: .4rem; vertical-align: middle; letter-spacing: .04em; }
/* Werte wie auf der Karte: eckige blaue Felder, Label links, Wert rechts, Füllstand dezent (Tim, 21.11.2026) */
.sptp-tcg__werte dl { margin: 0; display: flex; flex-direction: column; gap: 4px; max-width: 380px; }
.sptp-tcg__w { position: relative; display: grid; grid-template-columns: 1fr auto; align-items: center; background: var(--sptp-kiste); padding: .3rem .7rem; overflow: hidden; }
.sptp-tcg__w dt { margin: 0; font-size: 1rem; letter-spacing: .02em; color: #fff; font-style: italic; position: relative; z-index: 1; }
.sptp-tcg__w dd { margin: 0; }
.sptp-tcg__w b { font-size: 1.15rem; font-style: italic; color: #fff; position: relative; z-index: 1; }
.sptp-tcg__balken { position: absolute; inset: 0; }
.sptp-tcg__balken i { display: block; height: 100%; width: var(--w); background: rgba(255, 255, 255, .16); transition: width 1s ease .3s; }
.sptp-js .sptp-tcg.sptp-rv:not(.sptp-in) .sptp-tcg__balken i { width: 0; }
@container sptp (max-width: 700px) {
	.sptp-tcg { grid-template-columns: 1fr; gap: 1rem; }
	.sptp-tcg__stapel { width: 100%; }
	.sptp-tcg__karte { width: calc(100% / (.45 + .55 * var(--n))); max-width: 170px; }
	.sptp-tcg__karte + .sptp-tcg__karte { margin-left: calc(-.45 * min(170px, 100% / (.45 + .55 * var(--n)))); }
	.sptp-tcg__werte dl { max-width: 100%; }
}

/* ---------- Weiter: Kartenband der anderen Mitglieder ---------- */
.sptp-band { display: flex; gap: .7rem; overflow-x: auto; scroll-snap-type: x proximity; padding: .2rem 0 .8rem; margin: 0 0 1.2rem; list-style: none; scrollbar-width: thin; scrollbar-color: var(--sptp-blau) transparent; }
.sptp-band li { flex: none; margin: 0; }
.sptp-mini { position: relative; display: block; width: 150px; aspect-ratio: 4 / 5; border: 4px solid var(--sptp-blau); border-radius: 12px; overflow: hidden; scroll-snap-align: start; background: #0b0c1e; text-decoration: none !important; transition: transform .2s, box-shadow .2s; }
.sptp .sptp-mini img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sptp-mini__name { position: absolute; right: -4px; bottom: .6rem; max-width: 90%; background: var(--sptp-kiste); color: #fff; font-weight: 700; text-transform: uppercase; font-style: italic; font-size: .8rem; padding: .2rem .6rem; border-radius: 9px 0 0 9px; line-height: 1.1; }
.sptp-mini:hover, .sptp-mini:focus-visible { transform: translateY(-3px); box-shadow: 0 0 18px rgba(42, 125, 225, .6); }
/* Mit der Maus ziehen, Pfeile links und rechts (JS, wie die LSDB-Regale) */
.sptp-wisch { position: relative; }
.sptp-wisch > .sptp-band { cursor: grab; }
.sptp-wisch > .sptp-zieht { cursor: grabbing; scroll-snap-type: none; user-select: none; }
.sptp-wisch > .sptp-zieht * { pointer-events: none; }
.sptp .sptp-wisch__pfeil { position: absolute; top: calc(50% - .5rem); transform: translateY(-50%); z-index: 2; width: 44px; height: 44px; padding: 0; background: rgba(16, 17, 41, .9); border-color: rgba(100, 160, 255, .6); box-shadow: 0 4px 18px rgba(0, 0, 0, .5); cursor: pointer; }
.sptp .sptp-wisch__pfeil:hover, .sptp .sptp-wisch__pfeil:focus-visible { background: rgba(42, 125, 225, .85); }
.sptp-wisch__pfeil--l { left: .5rem; }
.sptp-wisch__pfeil--r { right: .5rem; }
.sptp-wisch__pfeil[hidden], .sptp-wisch--fest .sptp-wisch__pfeil { display: none; }
@media (hover: none) and (pointer: coarse) { .sptp-wisch__pfeil { display: none; } }

/* ---------- Lightbox (per JS an body) ---------- */
.sptp-lb { position: fixed; inset: 0; z-index: 100000; background: rgba(3, 4, 12, .94); display: flex; align-items: center; justify-content: center; overflow: hidden; font-family: var(--wp--preset--font-family--barlow-condensed, "Barlow Condensed", sans-serif); }
.sptp-lb[hidden] { display: none; }
.sptp-lb img { max-width: 92vw; max-height: 84vh; border-radius: 10px; }
.sptp-lb .sptp-lb__alt { position: absolute; pointer-events: none; }
.sptp-lb button { position: absolute; background: rgba(255, 255, 255, .08); border: 1px solid rgba(100, 160, 255, .4); color: #fff; width: 46px; height: 46px; border-radius: 50%; font-size: 1.3rem; cursor: pointer; font-family: inherit; }
.sptp-lb button:hover, .sptp-lb button:focus-visible { background: rgba(100, 160, 255, .25); }
.sptp-lb__z { left: 2vw; }
.sptp-lb__w { right: 2vw; }
.sptp-lb__x { top: 2vh; right: 2vw; }
.sptp-lb__n { position: absolute; bottom: 2.5vh; color: #9fb3d6; font-style: italic; }
html.sptp-lb-offen { overflow: hidden; }

/* Hinweis im Editor (leere Module) */
.sptp-hinweis { padding: .8rem 1rem; border: 1px dashed rgba(100, 160, 255, .5); border-radius: 10px; color: #9fb3d6; font-style: italic; }

/* ---------- Bewegung reduziert ---------- */
@media (prefers-reduced-motion: reduce) {
	.sptp-js .sptp-rv, .sptp-js .sptp-ms.sptp-rv .sptp-ms__pt { opacity: 1; transform: none; transition: none; }
	.sptp-js .sptp-hero__cover { animation: none; }
	.sptp-stat__balken i, .sptp-tcg__balken i, .sptp-tcg__karte, .sptp-karte, .sptp-karte__bg, .sptp-mini, .sptp .sptp-reihe__k .sptp-bild { transition: none; }
	.sptp-karte--bild:hover .sptp-karte__bg, .sptp-reihe__k:hover .sptp-bild, a.sptp-karte:hover, .sptp-mini:hover { transform: none; }
}
