/* SchalkeTOTAL – Transferzentrale (/transfers/, st-transfers.php). Vorlage: FCBinside fi-transfers.css.
 * Königsblau, Kennzahlen und Listen in Tiefblau, Neuzugänge als weiße Inseln, eckig, Handy zuerst, ab 1024 px Raster. */

.st-tr { --tr-ink: #0b1f3a; --tr-mu: #5b6b82; --tr-line: #d9e2ee; display: flex; flex-direction: column; gap: 34px; }
@media (max-width: 767px) {
	.st-main.st-tr { padding-left: var(--st-gutter); padding-right: var(--st-gutter); }
}

/* Kopf */
.st-tr-head { padding: var(--st-page-top) 0 0; }
.st .st-tr-kicker { margin: 0 0 6px; color: var(--st-text-soft); font-size: 11.5px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.st .st-tr-head h1 { margin: 0; font-size: clamp(30px, 8vw, 46px); font-weight: 800; line-height: 1.05; letter-spacing: -.01em; text-transform: uppercase; }
.st .st-tr-intro { max-width: 46em; margin: 12px 0 0; color: var(--st-text-soft); font-size: 16px; line-height: 1.55; }
.st .st-tr-empty { margin: 0; padding: 18px; background: var(--st-blue-deep); color: var(--st-text-soft); }

.st-tr-hub { display: flex; flex-direction: column; gap: 34px; }
.st-tr-block { min-width: 0; }
.st-tr-hrow { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin: 0 0 14px; }
.st-tr-hrow .st-tr-h { margin: 0; }
.st .st-tr-h { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; margin: 0 0 14px; font-size: 20px; font-weight: 800; line-height: 1.2; letter-spacing: .02em; text-transform: uppercase; }
.st .st-tr-h span { color: var(--st-text-soft); font-size: 14px; font-weight: 700; letter-spacing: .02em; }
.st .st-tr-none { display: block; margin: 0; padding: 16px; background: var(--st-blue-deep); color: var(--st-text-soft); font-size: 14.5px; }

/* Reiter: Wechselperioden (am Handy wischbar) */
.st-tr-periods { position: relative; display: flex; gap: 22px; margin: 0 calc(-1 * var(--st-gutter)); padding: 0 var(--st-gutter); overflow-x: auto; border-bottom: 1px solid var(--st-line); scrollbar-width: none; }
.st-tr-periods::-webkit-scrollbar { display: none; }
.st .st-tr-periods button { position: relative; flex: none; height: 46px; padding: 0; border: 0; background: none; color: var(--st-text-soft); font-size: 15px; font-weight: 700; white-space: nowrap; cursor: pointer; }
.st-tr-periods button::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; background: transparent; }
.st .st-tr-periods button:hover, .st .st-tr-periods button.is-on { color: #fff; }
.st-tr-periods button.is-on::after { background: #fff; }

/* Kennzahlen */
.st-tr-kpis { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; margin-top: -14px; background: var(--st-line); border: 1px solid var(--st-line); }
.st-tr-kpi { display: flex; flex-direction: column; gap: 6px; min-width: 0; padding: 14px 16px; background: var(--st-blue-deep); }
.st-tr-kpi > span { color: var(--st-text-soft); font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.st-tr-kpi b { font-size: 24px; font-weight: 800; line-height: 1.1; letter-spacing: -.01em; overflow-wrap: anywhere; font-variant-numeric: tabular-nums; }
.st-tr-kpi b.is-neg { color: #ffb3ba; }
.st-tr-kpi b.is-pos { color: #6fe39a; }

/* Spielerfotos: oben ausgerichtet; ohne Foto eine Silhouette */
.st-tr-ph { position: relative; display: block; flex: none; overflow: hidden; background: linear-gradient(180deg, #fff, #dfe9f7); }
.st .st-tr-ph img { display: block; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 50% 10%; }
.st-tr-ph.is-sm { width: 44px; height: 54px; }
.st-tr-ph.is-lg { width: 84px; height: 100%; min-height: 112px; }
.st-tr-ph.is-empty::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 50% 36%, #c9d6e8 0 17%, transparent 17.5%), radial-gradient(ellipse 46% 34% at 50% 100%, #c9d6e8 0 99%, transparent 100%); }

/* Neuzugänge: weiße Karten (am Handy wischbar) */
.st-tr-cards { display: grid; grid-auto-flow: column; grid-auto-columns: 80%; gap: 10px; margin: 0 calc(-1 * var(--st-gutter)); padding: 0 var(--st-gutter) 4px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--st-gutter); scrollbar-width: none; }
.st-tr-cards::-webkit-scrollbar { display: none; }
.st-tr-cards > .st-tr-none { grid-column: 1 / -1; }
.st-tr-card { display: grid; grid-template-columns: 84px minmax(0, 1fr); background: #fff; color: var(--tr-ink); scroll-snap-align: start; }
.st-tr-card-c { display: flex; flex-direction: column; justify-content: center; gap: 4px; min-width: 0; padding: 12px 14px; }
.st-tr-card b { font-size: 16px; font-weight: 800; line-height: 1.2; overflow-wrap: anywhere; }
.st .st-tr-card b a { color: var(--tr-ink); }
.st .st-tr-card b a:hover { color: var(--st-blue); text-decoration: underline; text-underline-offset: 3px; }
.st-tr-card small { color: var(--tr-mu); font-size: 12.5px; line-height: 1.35; }
.st-tr-card-from { display: flex; align-items: center; gap: 7px; margin-top: 4px; font-size: 13px; font-weight: 600; line-height: 1.3; }
.st .st-tr-card-from img, .st .st-tr-who small img { flex: none; width: 16px; height: 16px; object-fit: contain; }
.st .st-tr-card-from img { width: 18px; height: 18px; }
.st-tr-badge { align-self: flex-start; margin-top: 6px; padding: 4px 9px; background: var(--st-blue); color: #fff; font-size: 13px; font-weight: 800; }
.st-tr-badge.is-loan, .st-tr-badge.is-free { background: #e8eef7; color: var(--tr-ink); }

/* Listen */
.st-tr-lists { display: grid; gap: 34px; }
.st-tr-list { min-width: 0; }
.st .st-tr-list ol, .st .st-tr-rlist, .st .st-tr-loans { display: grid; gap: 1px; margin: 0; padding: 0; list-style: none; background: var(--st-line); border: 1px solid var(--st-line); }
.st .st-tr-row { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 9px 14px; background: var(--st-blue-deep); }
.st .st-tr-rlist .st-tr-row { grid-template-columns: 20px 44px minmax(0, 1fr) auto; }
.st-tr-list ol.is-cut > li:nth-child(n+7) { display: none; }
.st-tr-rank { color: #fff; font-size: 17px; font-weight: 800; text-align: center; font-variant-numeric: tabular-nums; }
.st-tr-who { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.st-tr-who b { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; font-size: 15px; font-weight: 800; line-height: 1.25; overflow-wrap: anywhere; }
.st .st-tr-who b a:hover { text-decoration: underline; text-underline-offset: 3px; }
.st-tr-who small { display: flex; align-items: center; gap: 6px; color: var(--st-text-soft); font-size: 12.5px; line-height: 1.3; }
.st-tr-tag { flex: none; padding: 2px 6px; background: rgba(255, 255, 255, .14); color: #fff; font-size: 10.5px; font-style: normal; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.st-tr-fee { font-size: 14px; font-weight: 800; text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.st-tr-list .st-tr-row:not(.is-buy) .st-tr-fee { color: var(--st-text-soft); font-weight: 700; }
.st .st-tr-more { display: block; width: 100%; height: 46px; margin-top: 10px; border: 1.5px solid rgba(255, 255, 255, .6); background: none; color: #fff; font-size: 14px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; cursor: pointer; }
.st .st-tr-more:hover { background: #fff; color: var(--st-blue); }

/* Grafik + Rekorde */
.st-tr-bottom { display: grid; gap: 34px; }
.st-tr-chart, .st-tr-rec { min-width: 0; }
.st-tr-legend { display: flex; align-items: center; gap: 6px; margin-left: auto; color: var(--st-text-soft); font-size: 12.5px; font-weight: 600; }
.st-tr-legend i { width: 10px; height: 10px; margin-left: 8px; }
.st-tr-legend .is-spent, .st-tr-pair .is-spent { background: #fff; }
.st-tr-legend .is-earned, .st-tr-pair .is-earned { background: #7fb2ff; }
.st-tr-bars { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 10px; height: 220px; margin: 0; padding: 26px 14px 0; list-style: none; background: var(--st-blue-deep); border-bottom: 1px solid var(--st-line); }
.st-tr-bars li { display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 8px; min-width: 0; }
.st-tr-pair { display: flex; align-items: flex-end; justify-content: center; gap: 4px; width: 100%; height: 100%; }
.st-tr-pair i { position: relative; width: 40%; max-width: 40px; min-height: 2px; }
.st-tr-pair em { position: absolute; left: 50%; bottom: 100%; margin-bottom: 4px; transform: translateX(-50%); color: var(--st-text-soft); font-size: 11px; font-style: normal; font-weight: 700; white-space: nowrap; }
.st-tr-bars small { padding-bottom: 10px; color: var(--st-text-soft); font-size: 12px; font-weight: 700; }
.st .st-tr-foot { margin: 8px 0 0; color: var(--st-text-soft); font-size: 12.5px; }
.st-tr-seg { display: flex; margin-left: auto; border: 1.5px solid rgba(255, 255, 255, .45); }
.st .st-tr-seg button { height: 32px; padding: 0 12px; border: 0; background: none; color: #fff; font-size: 13px; font-weight: 700; cursor: pointer; }
.st .st-tr-seg button.is-on { background: #fff; color: var(--st-blue); }

/* Verliehen */
.st .st-tr-loans li { display: flex; align-items: center; gap: 12px; padding: 9px 14px; background: var(--st-blue-deep); }

/* Transfer-News */
.st-tr-news .st-catsec-head { margin-bottom: 14px; }
.st .st-tr-stand { margin: -14px 0 0; color: var(--st-text-soft); font-size: 12.5px; }

@media (min-width: 600px) {
	.st-tr-kpis { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	.st-tr-cards { grid-auto-columns: calc((100% - 10px) / 2); }
}
@media (min-width: 768px) {
	.st-tr-periods { margin: 0; padding: 0; }
	.st-tr-cards { margin: 0; padding: 0 0 4px; }
}
@media (min-width: 1024px) {
	.st-tr, .st-tr-hub { gap: 44px; }
	.st-tr-periods { gap: 30px; }
	.st .st-tr-periods button { height: 52px; font-size: 16px; }
	.st-tr-kpis { margin-top: -22px; }
	.st-tr-kpi { padding: 20px 22px; }
	.st-tr-kpi b { font-size: 30px; }
	.st-tr-cards { grid-auto-flow: row; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-columns: auto; gap: 14px; overflow: visible; }
	.st-tr-card { grid-template-columns: 88px minmax(0, 1fr); }
	.st-tr-ph.is-lg { width: 88px; }
	.st-tr-lists, .st-tr-bottom { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; align-items: start; }
	.st-tr-bars { height: 260px; }
	.st .st-tr-loans { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.st .st-tr-stand { margin-top: -22px; }
}
