/* SchalkeTOTAL – Fanzone „EA FC 27“ (st-eafc.php). Vorlage: FCBinside fi-eafc.css.
 * Bühne im Fanzone-Blau, Filter in Tiefblau, Steckbrief und Werte als weiße Inseln, eckig. */

.st-eafc { --ea-ink: #0b1f3a; --ea-mu: #5b6b82; --ea-line: #e3eaf4; }
.st-eafc a { text-decoration: none; }

/* ---------- Bühne ---------- */
.st-eafc-stage {
	position: relative;
	overflow: hidden;
	padding: 12px var(--st-gutter) 22px;
	color: #fff;
	background:
		radial-gradient(120% 80% at 100% 0%, rgba(61, 139, 255, .45) 0%, transparent 60%),
		linear-gradient(160deg, #0a56c2 0%, #003a7a 100%);
}
.st-eafc-stage::after { content: ""; position: absolute; right: -60px; bottom: -120px; width: 320px; height: 320px; border: 46px solid rgba(255, 255, 255, .05); transform: rotate(45deg); pointer-events: none; }
.st .st-eafc-back { position: relative; z-index: 1; display: grid; place-items: center; width: 36px; height: 36px; margin-left: -6px; color: #fff; }
.st-eafc-hero { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 16px; align-items: end; margin-top: 8px; }
.st .st-eafc-kicker { margin: 0; color: var(--st-text-soft); font-size: 12px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; }
.st .st-eafc-hero h1 { margin: 4px 0 0; font-size: clamp(34px, 10vw, 56px); font-weight: 800; line-height: 1; letter-spacing: -.01em; text-transform: uppercase; }
.st .st-eafc-lead { margin: 8px 0 0; color: rgba(255, 255, 255, .85); font-size: 15px; line-height: 1.4; }
.st .st-eafc-count { display: flex; flex-direction: column; align-items: flex-end; margin: 0; line-height: 1; }
.st-eafc-count b { font-size: 60px; font-weight: 800; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.st-eafc-count small { margin-top: 4px; color: var(--st-text-soft); font-size: 11.5px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }

/* ---------- Filter ---------- */
.st-eafc-bar { position: sticky; top: var(--st-header-h, 61px); z-index: 30; padding: 10px 0; background: var(--st-blue-deeper); border-bottom: 1px solid var(--st-line); }
.st-eafc-chips { display: flex; align-items: center; gap: 6px; padding: 0 var(--st-gutter); overflow-x: auto; scrollbar-width: none; }
.st-eafc-chips::-webkit-scrollbar { display: none; }
.st-eafc-chips + .st-eafc-chips { margin-top: 8px; }
.st .st-eafc-chips button { flex: none; padding: 7px 12px; border: 1.5px solid rgba(255, 255, 255, .35); background: none; color: #fff; font-size: 13px; font-weight: 800; line-height: 1.1; cursor: pointer; }
.st .st-eafc-chips button:hover { border-color: #fff; }
.st .st-eafc-chips button.is-on { background: #fff; border-color: #fff; color: var(--st-blue); }
.st-eafc-chips-lbl { flex: none; margin-right: 4px; color: var(--st-text-soft); font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.st .st-eafc-chips.is-sort button { padding: 5px 10px; font-size: 12px; }

/* ---------- Raster ---------- */
.st-eafc-body { padding: 18px var(--st-gutter) 10px; }
.st .st-eafc-h { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 0 0 12px; font-size: 18px; font-weight: 800; line-height: 1.2; letter-spacing: .04em; text-transform: uppercase; }
.st-eafc-h small { color: var(--st-text-soft); font-size: 16px; font-weight: 800; letter-spacing: 0; font-variant-numeric: tabular-nums; }
.st-eafc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px 8px; }
.st-eafc-tile { position: relative; display: block; min-width: 0; color: #fff; transition: transform .15s; }
.st .st-eafc-tile img { display: block; width: 100%; height: auto; aspect-ratio: 5 / 7; object-fit: contain; filter: drop-shadow(0 6px 10px rgba(0, 10, 30, .35)); }
.st-eafc-tile:hover { transform: translateY(-3px); }
.st-eafc-tile[hidden] { display: none; }
.st-eafc-tile-tag { display: block; margin-top: 4px; color: #7fb2ff; font-size: 10px; font-weight: 800; letter-spacing: .06em; line-height: 1.2; text-align: center; text-transform: uppercase; }
.st .st-eafc-none, .st .st-eafc-empty { margin: 18px var(--st-gutter); padding: 18px; background: var(--st-blue-deep); color: var(--st-text-soft); text-align: center; }
.st .st-eafc-body .st-eafc-none, .st .st-eafc-vals .st-eafc-empty { margin: 18px 0; }
.st .st-eafc-note { margin: 22px 0 0; color: var(--st-text-soft); font-size: 12.5px; text-align: center; }

/* ---------- Einzelansicht ---------- */
.st-eafc-stage.is-card { padding-bottom: 26px; }
.st-eafc-nav { position: relative; z-index: 1; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 8px; }
.st .st-eafc-nav-title { color: #fff; font-size: 14px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.st-eafc-pager { display: flex; align-items: center; gap: 2px; }
.st-eafc-pager b { min-width: 58px; font-size: 14px; font-weight: 800; text-align: center; font-variant-numeric: tabular-nums; }
.st .st-eafc-pager a { display: grid; place-items: center; width: 34px; height: 34px; border: 1.5px solid rgba(255, 255, 255, .45); color: #fff; }
.st .st-eafc-pager a:hover { background: #fff; color: var(--st-blue); }
.st-eafc-show { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; margin-top: 10px; text-align: center; }
.st .st-eafc-show-card { display: block; width: 230px; height: auto; filter: drop-shadow(0 18px 30px rgba(0, 12, 35, .5)); }
.st .st-eafc-show h1 { margin: 12px 0 0; font-size: 30px; font-weight: 800; line-height: 1.05; letter-spacing: -.01em; text-transform: uppercase; overflow-wrap: anywhere; }
.st .st-eafc-show-sub { margin: 6px 0 0; color: rgba(255, 255, 255, .85); font-size: 15px; font-weight: 600; }

.st-eafc-detail { display: grid; gap: 24px; padding-bottom: 24px; }
.st-eafc-col { display: grid; gap: 24px; align-content: start; min-width: 0; }
.st-eafc-col > section { min-width: 0; }
.st .st-eafc-facts { margin: 0; background: #fff; color: var(--ea-ink); }
.st-eafc-facts > div { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 12px 14px; border-top: 1px solid var(--ea-line); }
.st-eafc-facts > div:first-child { border-top: 0; }
.st-eafc-facts dt { color: var(--ea-mu); font-size: 14px; }
.st-eafc-facts dd { margin: 0; font-size: 15px; font-weight: 800; text-align: right; }
.st-eafc-nation { display: flex; align-items: center; gap: 8px; }
.st .st-eafc-nation img { width: 22px; height: auto; }
.st-eafc-stars { display: inline-flex; gap: 3px; vertical-align: middle; }
.st-eafc-stars i { width: 16px; height: 16px; background: #d9e2ee; clip-path: polygon(50% 0, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%); }
.st-eafc-stars i.is-on { background: #f5b301; }
.st .st-eafc-btn { display: block; margin-top: 10px; padding: 13px; border: 1.5px solid #fff; color: #fff; font-size: 13px; font-weight: 800; letter-spacing: .08em; text-align: center; text-transform: uppercase; }
.st .st-eafc-btn:hover { background: #fff; color: var(--st-blue); }

.st-eafc-styles { display: grid; gap: 1px; margin: 0; padding: 0; list-style: none; background: var(--st-line); border: 1px solid var(--st-line); }
.st-eafc-styles li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 12px; align-items: start; padding: 12px 14px; background: var(--st-blue-deep); }
.st-eafc-style-ico { display: grid; place-items: center; width: 44px; height: 44px; background: var(--st-blue-deeper); }
.st .st-eafc-style-ico img { width: 36px; height: 36px; object-fit: contain; }
.st-eafc-styles li.is-plus .st-eafc-style-ico { background: linear-gradient(135deg, #3d8bff, #0a3f94); }
.st-eafc-styles b { display: block; font-size: 15px; font-weight: 800; line-height: 1.25; }
.st-eafc-styles b em { margin-left: 6px; padding: 1px 6px; background: #fff; color: var(--st-blue); font-size: 10.5px; font-style: normal; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; vertical-align: 2px; }
.st-eafc-styles small { display: block; margin-top: 3px; color: var(--st-text-soft); font-size: 13px; line-height: 1.4; }
.st-eafc-others { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }

.st-eafc-stats { margin: 0; padding: 6px 14px; background: #fff; color: var(--ea-ink); list-style: none; }
.st-eafc-stats li { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 30px; align-items: center; gap: 12px; padding: 7px 0; }
.st-eafc-stats span { font-size: 14px; line-height: 1.25; }
.st-eafc-stats i { position: relative; height: 6px; background: #e8eef7; }
.st-eafc-stats i::before { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--v); background: var(--t); }
.st-eafc-stats b { color: var(--t); font-size: 16px; font-weight: 800; text-align: right; font-variant-numeric: tabular-nums; }
.st-eafc-stats .is-top { --t: #16a34a; }
.st-eafc-stats .is-good { --t: #65a30d; }
.st-eafc-stats .is-mid { --t: #d08c00; }
.st-eafc-stats .is-low { --t: #ea580c; }

@media (min-width: 768px) {
	.st-eafc-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px 14px; }
	.st-eafc-body { padding-left: 0; padding-right: 0; }
	.st-eafc-chips { flex-wrap: wrap; }
	.st-eafc-stage { margin-top: var(--st-page-top); }
}

@media (min-width: 1024px) {
	.st-eafc-stage { padding: 18px 28px 30px; }
	.st .st-eafc-hero h1 { font-size: 64px; }
	.st .st-eafc-lead { font-size: 17px; }
	.st-eafc-count b { font-size: 88px; }
	.st-eafc-bar { top: var(--st-header-h, 68px); }
	.st-eafc-chips { padding: 0 20px; }
	.st-eafc-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 24px 18px; }
	.st-eafc-body { padding-top: 26px; }

	.st-eafc-stage.is-card { padding-bottom: 34px; }
	.st-eafc-show { display: grid; grid-template-columns: auto auto; justify-content: center; align-items: center; column-gap: 40px; margin-top: 4px; text-align: left; }
	.st .st-eafc-show-card { grid-row: 1 / 3; width: 270px; }
	.st .st-eafc-show h1 { align-self: end; margin: 0; font-size: 48px; }
	.st .st-eafc-show-sub { align-self: start; margin-top: 10px; font-size: 18px; }
	.st-eafc-detail { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 28px; align-items: start; }
	.st-eafc-vals { display: block; columns: 2; column-gap: 18px; } /* fließend, damit kurze Gruppen (Tempo) keine Lücken lassen */
	.st-eafc-vals .st-eafc-sec { break-inside: avoid; margin-bottom: 22px; }
	.st-eafc-vals .st-eafc-sec:last-child { margin-bottom: 0; }
	.st-eafc-others { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
