/* SchalkeTOTAL – Spielerprofil, Kader, Suche */

.st-player-page, .st-search-page { max-width: 900px; padding-bottom: 48px; }

.st-psection { margin-top: 28px; }
.st-psection .st-section-title { display: flex; align-items: center; gap: 10px; margin: 0 0 12px !important; font-size: 21px; font-weight: 700; }
.st-count { padding: 1px 9px; background: #fff; color: var(--st-blue); font-size: 13px; font-weight: 700; }
.st-source { margin: 8px 0 0; font-size: 12px; color: var(--st-text-soft); }
.st-muted { color: var(--st-text-soft); }

/* ---------- Kopf ---------- */

.st-phero { background: linear-gradient(180deg, var(--st-blue-deep), var(--st-blue-deeper)); }
.st-phero-inner { display: flex; align-items: flex-end; gap: 18px; padding: 24px var(--st-gutter) 0; }
.st-phero-img {
	flex: none;
	display: flex;
	align-items: flex-end;
	justify-content: center;
	width: 132px;
	height: 150px;
	overflow: hidden;
	background: linear-gradient(180deg, #fff, #dfe9f7);
}
.st-phero-img img { width: 132px; height: 132px; object-fit: cover; object-position: top; }
.st-phero-text { flex: 1; min-width: 0; padding-bottom: 14px; }
.st-phero-club { display: flex; align-items: center; gap: 7px; margin: 0 0 8px; font-size: 12px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--st-text-soft); }
.st-phero-club img { width: 22px; height: 22px; object-fit: contain; }
.st-phero-name { display: flex; flex-direction: column; line-height: 1.05; }
.st-phero-no { font-size: 15px; font-weight: 700; color: var(--st-text-soft); margin-bottom: 4px; }
.st-phero-first { font-size: 20px; font-weight: 400; }
.st-phero-last { font-size: clamp(30px, 8.5vw, 46px); font-weight: 800; letter-spacing: -.02em; overflow-wrap: anywhere; }
.st-phero-pos { display: flex; align-items: center; gap: 8px; margin: 10px 0 0; font-size: 14px; font-weight: 500; }
.st-phero-pos img { width: 22px; height: 15px; object-fit: cover; box-shadow: 0 0 0 1px rgba(255, 255, 255, .3); }

/* Knopf zum 1-gegen-1 */
.st-compare-btn { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 16px var(--st-gutter) 16px; padding: 12px; background: #fff; color: var(--st-blue) !important; font-size: 14px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.st-compare-btn:hover { background: #eef3fb; }

/* Steckbrief */
.st-facts {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1px;
	margin: 0;
	background: var(--st-line);
	border-top: 1px solid var(--st-line);
}
.st-facts > div { padding: 12px var(--st-gutter); background: var(--st-blue-deeper); }
.st-facts dt { font-size: 12px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--st-text-soft); }
.st-facts dd { margin: 2px 0 0; font-size: 16px; font-weight: 600; }

/* ---------- Saison-Kacheln ---------- */

.st-player-page .st-psection { padding: 0 var(--st-gutter); }
.st-player-page .st-psection .st-list { margin: 0 calc(-1 * var(--st-gutter)); }
.st-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.st-tile { display: flex; flex-direction: column; gap: 2px; padding: 14px 12px; background: var(--st-blue-deep); }
.st-tile b { font-size: 28px; font-weight: 800; line-height: 1; font-variant-numeric: tabular-nums; }
.st-tile span { font-size: 12px; font-weight: 600; letter-spacing: .03em; text-transform: uppercase; color: var(--st-text-soft); }
.st-tile--rating { background: #fff; color: var(--st-blue); }
.st-tile--rating span { color: var(--st-blue); opacity: .7; }

/* ---------- Letzte Spiele ---------- */

.st-pgames { margin: 0 calc(-1 * var(--st-gutter)); padding: 0; list-style: none; }
.st-pgame {
	display: grid;
	grid-template-columns: 54px minmax(0, 1fr) auto;
	grid-template-areas: "date opp res" "date stats stats";
	align-items: center;
	gap: 4px 10px;
	padding: 12px var(--st-gutter);
	border-bottom: 1px solid var(--st-line);
	color: inherit;
}
a.st-pgame:hover { background: rgba(255, 255, 255, .05); }
.st-pgame-date { grid-area: date; display: flex; flex-direction: column; font-size: 14px; font-weight: 700; }
.st-pgame-date small { font-size: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: .03em; color: var(--st-text-soft); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.st-pgame-opp { grid-area: opp; display: flex; align-items: center; gap: 8px; min-width: 0; font-size: 15px; font-weight: 600; }
.st-pgame-opp img { flex: none; width: 28px; height: 28px; object-fit: contain; }
.st-pgame-opp span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.st-pgame-res { grid-area: res; min-width: 46px; padding: 3px 8px; font-size: 14px; font-weight: 800; text-align: center; background: rgba(255, 255, 255, .15); }
.st-pgame-res--s { background: #1db954; color: #062b12; }
.st-pgame-res--n { background: #e5283a; }
.st-pgame-res--u { background: #c9d3e0; color: #0b1f3a; }
.st-pgame-stats { grid-area: stats; display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--st-text-soft); }
.st-pgame-a { display: grid; place-items: center; width: 14px; height: 14px; background: #fff; color: var(--st-blue); font-size: 9px; font-weight: 800; font-style: normal; }
.st-rating { margin-left: auto; padding: 1px 7px; font-size: 13px; font-weight: 800; color: #062b12; }
.st-rating--top { background: #1db954; }
.st-rating--ok { background: #c9d3e0; color: #0b1f3a; }
.st-rating--low { background: #ff9f43; }
.st-pgame-bench { font-style: italic; }
.st-mk { display: inline-block; width: 13px; height: 13px; border-radius: 50%; background: #fff; }
.st-mk-goal { background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='10' fill='%23fff' stroke='%23000' stroke-width='2'/%3E%3Cpath d='m12 7 3.6 2.6-1.4 4.2H9.8L8.4 9.6z' fill='%23000'/%3E%3C/svg%3E") center / 100% no-repeat; }
.st-mk-yellow { width: 9px; border-radius: 1px; background: #ffd400; }

/* ---------- Transfers & Titel ---------- */

.st-transfers, .st-trophies { margin: 0 calc(-1 * var(--st-gutter)); padding: 0; list-style: none; }

/* Jeder Transfer als Karte: oben Datum + Art, darunter Von → Nach in zwei gleich breiten Spalten */
.st-transfers { display: grid; gap: 6px; }
.st-tr { padding: 14px var(--st-gutter) 16px; background: var(--st-blue-deep); border-left: 4px solid #fff; }
.st-tr--loan { border-left-color: #ffd400; }
.st-tr--back { border-left-color: #8fb3e6; }
.st-tr--free { border-left-color: #1db954; }
.st-tr-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.st-tr-head time { font-size: 13px; font-weight: 700; font-variant-numeric: tabular-nums; color: var(--st-text-soft); }
.st-tr-type { padding: 2px 9px; background: rgba(255, 255, 255, .12); font-size: 11px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.st-tr--loan .st-tr-type { background: #ffd400; color: #3a2e00; }
.st-tr--free .st-tr-type { background: #1db954; color: #062b12; }
.st-tr-route { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 10px; }
.st-tr-club { display: flex; flex-direction: column; align-items: center; gap: 6px; min-width: 0; text-align: center; }
.st-tr-logo { display: grid; place-items: center; width: 40px; height: 40px; }
.st-tr-logo img { width: 40px; height: 40px; object-fit: contain; }
.st-tr-logo:empty::before { content: ''; width: 30px; height: 30px; border: 2px dashed rgba(255, 255, 255, .3); border-radius: 50%; }
.st-tr-name { max-width: 100%; font-size: 14px; font-weight: 600; line-height: 1.25; overflow-wrap: anywhere; }
.st-tr-arrow { color: var(--st-text-soft); }

.st-legend-bar.st-tr--loan { background: #ffd400; }
.st-legend-bar.st-tr--back { background: #8fb3e6; }
.st-legend-bar.st-tr--free { background: #1db954; }
.st-legend-note { flex-basis: 100%; font-style: italic; }

.st-trophies li { display: flex; align-items: center; gap: 12px; padding: 12px var(--st-gutter); border-bottom: 1px solid var(--st-line); }
.st-trophies svg { flex: none; color: #ffd400; }
.st-trophies span { display: flex; flex-direction: column; }
.st-trophies small { font-size: 13px; color: var(--st-text-soft); }

.st-pager { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 8px; margin: 18px 0 0; font-size: 14px; }
.st-pager a, .st-pager span { padding: 8px 14px; background: var(--st-blue-deep); font-weight: 600; }
.st-pager a:hover, .st-pager .current { background: #fff; color: var(--st-blue); }
.st-pback { margin: 32px var(--st-gutter) 0; text-align: center; }
.st-pback a { display: inline-block; padding: 13px 24px; background: #fff; color: var(--st-blue); font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.st-more-btn {
	display: block;
	margin: 12px 0 0;
	padding: 14px;
	border: 2px solid #fff;
	color: #fff;
	font-weight: 800;
	letter-spacing: .06em;
	text-align: center;
	text-transform: uppercase;
	transition: background .15s, color .15s;
}
.st-more-btn:hover { background: #fff; color: var(--st-blue); }
.st-more-btn.is-loading { opacity: .6; pointer-events: none; }

/* ---------- Spielerkarten (Suche, Kader) ---------- */

.st-pcards { display: grid; gap: 6px; }
.st-pcard {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 8px 14px 8px 8px;
	background: var(--st-blue-deep);
	color: inherit;
	transition: background .15s;
}
.st-pcard:hover { background: #00428c; }
.st-pcard-img { position: relative; flex: none; width: 72px; height: 72px; background: linear-gradient(180deg, #fff, #dfe9f7); }
.st-pcard-img img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.st-pcard-no { position: absolute; left: 0; bottom: 0; min-width: 24px; padding: 1px 5px; background: var(--st-blue); font-size: 13px; font-weight: 800; text-align: center; }
.st-pcard-text { display: flex; flex-direction: column; flex: 1; min-width: 0; line-height: 1.2; }
.st-pcard-text small { font-size: 13px; color: var(--st-text-soft); }
.st-pcard-text strong { font-size: 20px; font-weight: 800; }
.st-pcard-c { display: inline-grid; place-items: center; width: 18px; height: 18px; margin-left: 4px; background: #fff; color: var(--st-blue); font-size: 11px; font-style: normal; font-weight: 800; vertical-align: 3px; }
.st-pcard-meta { display: flex; align-items: center; gap: 7px; margin-top: 4px; font-size: 13px; color: var(--st-text-soft); }
.st-pcard-meta img { width: 18px; height: 12px; object-fit: cover; }
.st-pcard-arrow { flex: none; color: var(--st-text-soft); }

/* Kader-Seite + Suche */
.st-page-head { padding: var(--st-page-top) var(--st-gutter) 6px; }
.st-page-head h1 { margin: 0; line-height: 1.1; }
.st-page-head h1 { font-size: clamp(28px, 7vw, 40px); font-weight: 800; letter-spacing: -.01em; }
.st-page-head p { margin: 6px 0 0; color: var(--st-text-soft); }
.st-player-page .st-pcards, .st-search-page .st-pcards { margin: 0 calc(-1 * var(--st-gutter)); }
.st-search-page .st-psection { padding: 0 var(--st-gutter); }
.st-search-page .st-list { margin: 0 calc(-1 * var(--st-gutter)); }
.st-search--page { padding: 22px var(--st-gutter) 0; margin: 0; max-width: none; }

@media (min-width: 640px) {
	.st-pcards { grid-template-columns: 1fr 1fr; }
	.st-facts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.st-tiles { grid-template-columns: repeat(6, minmax(0, 1fr)); }
	.st-phero-img { width: 170px; height: 190px; }
	.st-phero-img img { width: 170px; height: 170px; }
}

/* Nicht-Schalker: Status im Kopf */
.st-phero-club.is-retired, .st-phero-club.is-free { display: inline-flex; padding: 3px 10px; background: rgba(255, 255, 255, .16); font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }

/* Ablöse in der Karriere */
.st-fees { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.st-fees-total, .st-fees-top { display: grid; align-content: start; gap: 2px; padding: 16px; background: var(--st-blue-deep); }
.st-fees-total { background: #fff; color: var(--st-blue); }
.st-fees-total span, .st-fees-top span { font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; opacity: .75; }
.st-fees-total b { font-size: clamp(26px, 7vw, 34px); font-weight: 800; line-height: 1.1; }
.st-fees-top b { font-size: clamp(22px, 6vw, 28px); font-weight: 800; line-height: 1.1; }
.st-fees-total small, .st-fees-top small { font-size: 12.5px; line-height: 1.35; opacity: .8; }
.st-fees-total small { color: #0b1f3a; }
.st-fees-list { grid-column: 1 / -1; display: grid; gap: 2px; margin: 0; padding: 0; list-style: none; }
.st-fees-list li { display: flex; align-items: center; gap: 12px; padding: 10px 16px; background: var(--st-blue-deep); }
.st-fees-year { flex: none; width: 38px; font-size: 13px; font-weight: 800; color: var(--st-text-soft); font-variant-numeric: tabular-nums; }
.st-fees-move { flex: 1; min-width: 0; display: grid; gap: 6px; }
.st-fees-clubs { display: flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.st-fees-clubs img { width: 18px; height: 18px; object-fit: contain; flex: none; }
.st-fees-clubs em { padding: 0 5px; background: rgba(255, 255, 255, .14); font-size: 10.5px; font-style: normal; font-weight: 800; text-transform: uppercase; }
.st-fees-bar { display: block; height: 4px; background: rgba(255, 255, 255, .12); }
.st-fees-bar em { display: block; height: 100%; background: #fff; }
.st-fees-list b { flex: none; min-width: 78px; text-align: right; font-size: 14px; font-weight: 800; font-variant-numeric: tabular-nums; }
@media (max-width: 420px) {
	.st-fees { grid-template-columns: 1fr; }
}

/* Autorenseite / Datumsarchiv (archive.php) */
.st-authorhead { display: flex; align-items: center; gap: 18px; padding: 26px var(--st-gutter) 22px; }
.st-authorhead-img { flex: none; width: 96px; height: 96px; object-fit: cover; background: var(--st-blue-deep); }
.st .st-authorhead-kicker { margin: 0 0 4px; color: var(--st-text-soft); font-size: 11.5px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.st .st-authorhead h1 { margin: 0; font-size: clamp(28px, 7vw, 40px); font-weight: 800; line-height: 1.05; }
.st .st-authorhead-count { margin: 6px 0 0; color: var(--st-text-soft); font-size: 14px; font-weight: 700; }
.st .st-authorhead-bio { margin: 10px 0 0; max-width: 620px; font-size: 15px; line-height: 1.5; }
@media (min-width: 768px) { .st-authorhead-img { width: 112px; height: 112px; } }
