/* Fanzone „1 gegen 1“ (fi-vergleich.php) – Bühne in Bayern-Rot → Beere wie der Spielkopf, eckig, Spieler A magenta, Spieler B dunkel */
.fi-vspage { --vs-a: #e6197a; --vs-b: #0e1a33; --vs-bg: #f6f6f6; --vs-line: #eceef0; --vs-mu: #6b6f76; background: var(--vs-bg); }
.fi-vspage .fi-main { padding: 0; background: var(--vs-bg); }
.vs { color: #111; }
.vs a { text-decoration: none; }
.vs-in { max-width: 984px; margin: 0 auto; padding: 0 16px; box-sizing: border-box; }

/* ---------- Bühne ---------- */
.vs-stage { position: relative; overflow: hidden; padding: 14px 0 26px; color: #fff;
	background:
		linear-gradient(90deg, rgba(10, 0, 20, .22) 0 50%, rgba(255, 255, 255, .05) 50% 100%), /* genau in der Mitte geteilt – durch die VS-Raute */
		linear-gradient(135deg, #e10033 0%, #c4073e 45%, #9b1450 100%); }
.vs-watermark { position: absolute; left: 50%; top: 56%; color: rgba(255, 255, 255, .06); font-size: 240px; font-weight: 900; line-height: 1; letter-spacing: -.06em; transform: translate(-50%, -50%); pointer-events: none; user-select: none; }
.vs-title { position: relative; display: grid; justify-items: center; margin-bottom: 18px; text-align: center; }
.vs-back { position: absolute; left: -6px; top: 0; display: grid; place-items: center; width: 36px; height: 36px; color: #fff !important; }
.vs-title p { margin: 4px 0 0; color: rgba(255, 255, 255, .78); font-size: 11.5px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
.vs-title h1 { margin: 4px 0 0; color: #fff; font-size: 36px; font-weight: 900; line-height: 1; letter-spacing: -.01em; text-transform: uppercase; }

.vs-duel { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 64px minmax(0, 1fr); align-items: start; }
.vs-side { min-width: 0; }
.vs-player { display: flex; flex-direction: column; align-items: center; color: #fff !important; text-align: center; }
.vs-photo { display: block; width: 112px; height: 112px; overflow: hidden; background: #fff; box-shadow: 0 12px 30px rgba(40, 0, 20, .4); }
.vs-photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.vs-player.is-a .vs-photo { box-shadow: -6px 12px 30px rgba(40, 0, 20, .4), inset 0 -5px 0 var(--vs-a); }
.vs-player.is-a .vs-photo { border-bottom: 5px solid #ff7ab3; }
.vs-player.is-b .vs-photo { border-bottom: 5px solid #fff; }
.vs-player.is-empty .vs-photo { display: grid; place-items: center; background: rgba(255, 255, 255, .08); border: 2px dashed rgba(255, 255, 255, .45); box-shadow: none; color: rgba(255, 255, 255, .6); font-size: 52px; font-weight: 900; }
.vs-player.is-empty:hover .vs-photo { border-color: #fff; color: #fff; }
.vs-name { display: flex; flex-direction: column; margin: 12px 0 0; line-height: 1.1; }
.vs-name small { color: rgba(255, 255, 255, .78); font-size: 13px; }
.vs-name strong { font-size: 21px; font-weight: 900; text-transform: uppercase; overflow-wrap: anywhere; }
.vs-club { display: flex; align-items: center; justify-content: center; gap: 6px; max-width: 100%; margin: 6px 0 0; font-size: 13px; font-weight: 700; }
.vs-club img { flex: none; width: 18px; height: 18px; object-fit: contain; }
.vs-club span { overflow-wrap: anywhere; }
.vs-meta { margin: 3px 0 0; color: rgba(255, 255, 255, .75); font-size: 12px; }
.vs-change { margin-top: 10px; padding: 5px 12px; border: 1.5px solid rgba(255, 255, 255, .55); color: #fff !important; font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.vs-change:hover { background: #fff; color: #c4073e !important; }

.vs-mid { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; height: 112px; }
.vs-mark { position: relative; display: grid; place-items: center; width: 62px; height: 62px; color: #c4073e; font-size: 15px; font-weight: 900; line-height: 1; }
.vs-mark::before { content: ""; position: absolute; inset: 9px; background: #fff; box-shadow: 0 8px 22px rgba(40, 0, 20, .4); transform: rotate(45deg); }
.vs-mark { isolation: isolate; }
.vs-mark::before { z-index: -1; }
.vs-score { display: flex; align-items: baseline; gap: 4px; }
.vs-score b { font-size: 26px; font-weight: 900; line-height: 1; font-variant-numeric: tabular-nums; }
.vs-score i { font-style: normal; font-weight: 900; opacity: .55; }

.vs-verdict { position: relative; margin: 22px auto 0; padding: 12px 18px; max-width: 520px; background: #fff; color: #111; font-size: 18px; font-weight: 700; text-align: center; box-shadow: 0 10px 28px rgba(40, 0, 20, .3); }
.vs-verdict strong { color: var(--vs-a); font-weight: 900; text-transform: uppercase; }
.vs-sub { position: relative; margin: 10px 0 0; color: rgba(255, 255, 255, .8); font-size: 11.5px; font-weight: 700; letter-spacing: .08em; text-align: center; text-transform: uppercase; }

/* ---------- Inhalt ---------- */
.vs-body { padding-top: 16px; padding-bottom: 40px; }
.vs-card { margin-bottom: 14px; padding: 16px; background: #fff; border: 1px solid var(--vs-line); }
.vs-h { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 0 0 8px; color: #111; font-size: 13px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.vs-h-score { color: #9a9ea6; font-size: 13px; letter-spacing: 0; font-variant-numeric: tabular-nums; }
.vs-h-score b { color: #9a9ea6; }
.vs-h-score b.is-a { color: var(--vs-a); }
.vs-h-score b.is-b { color: var(--vs-b); }
.vs-note { margin: 10px 0 0; color: var(--vs-mu); font-size: 12.5px; line-height: 1.5; }
.vs-source { margin: 18px 0 0; color: #8a8d96; font-size: 12px; text-align: center; }

/* Werte */
.vs-stats { margin: 0; padding: 0; list-style: none; }
.vs-stat { padding: 10px 0; border-top: 1px solid var(--vs-line); }
.vs-stat:first-child { border-top: 0; }
.vs-stat-row { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 7px; }
.vs-stat-row span { color: #55565c; font-size: 13.5px; text-align: center; }
.vs-stat-row span i { color: #9a9ea6; font-style: normal; font-weight: 800; }
.vs-stat-row b { min-width: 52px; color: #8a8d96; font-size: 16px; font-weight: 700; font-variant-numeric: tabular-nums; }
.vs-stat-row b:last-child { text-align: right; }
.vs-stat-row b.is-win { color: #111; font-weight: 900; }
.vs-stat-row b:first-child.is-win { color: var(--vs-a); }
.vs-stat-bar { display: flex; gap: 3px; height: 6px; }
.vs-stat-bar i { display: block; height: 100%; background: #e3e5e8; }
.vs-stat-bar i.is-a.is-win { background: var(--vs-a); }
.vs-stat-bar i.is-b.is-win { background: var(--vs-b); }

/* Stärkenprofil */
.vs-radar-wrap { display: flex; justify-content: center; }
.vs-radar { width: 100%; max-width: 420px; height: auto; overflow: visible; }
.vs-radar .rg { fill: none; stroke: #e3e5e8; stroke-width: 1; }
.vs-radar .ra { fill: rgba(230, 25, 122, .22); stroke: var(--vs-a); stroke-width: 2.5; stroke-linejoin: round; }
.vs-radar .rb { fill: rgba(14, 26, 51, .14); stroke: var(--vs-b); stroke-width: 2.5; stroke-linejoin: round; stroke-dasharray: 6 3; }
.vs-radar text { fill: #55565c; font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .03em; }
.vs-legend { display: flex; justify-content: center; gap: 18px; margin: 6px 0 0; padding: 0; list-style: none; font-size: 13px; font-weight: 700; }
.vs-legend li { display: inline-flex; align-items: center; gap: 7px; }
.vs-legend i { width: 14px; height: 14px; }
.vs-legend i.is-a { background: rgba(230, 25, 122, .25); border: 2px solid var(--vs-a); }
.vs-legend i.is-b { background: rgba(14, 26, 51, .14); border: 2px dashed var(--vs-b); }

/* Form: je Spieler eine Reihe mit 5 Kacheln (Farbstreifen oben = Ergebnis) */
.vs-form { display: grid; gap: 16px; }
.vs-form-name { margin: 0 0 8px; font-size: 13px; font-weight: 800; }
.vs-form-row.is-a .vs-form-name { color: var(--vs-a); }
.vs-form-games { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; margin: 0; padding: 0; list-style: none; }
.vs-form-games li { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 10px 2px 8px; border-top: 3px solid #9a9ea6; background: #f6f6f8; text-align: center; }
.vs-form-games li.is-s { border-top-color: #1e9e57; }
.vs-form-games li.is-n { border-top-color: #d6283b; }
.vs-form-games img { width: 22px; height: 22px; object-fit: contain; }
.vs-form-games b { font-size: 14px; font-weight: 800; font-variant-numeric: tabular-nums; }
.vs-form-games small { color: var(--vs-mu); font-size: 11px; font-weight: 700; white-space: nowrap; }
.vs-form .vs-note { margin: 0; }

/* Auswahl */
.vs-pick { padding: 18px 16px; }
.vs-picker-title { margin: 0 0 12px; font-size: 17px; font-weight: 800; }
.vs-search { display: flex; align-items: center; gap: 0; border: 2px solid #111; background: #fff; }
.vs-search svg { flex: none; margin: 0 4px 0 12px; color: #8a8d96; }
.vs-search input { flex: 1; min-width: 0; height: 48px; padding: 0 10px; border: 0; background: none; color: #111; font: inherit; font-size: 15px; outline: none; }
.vs-search button { flex: none; height: 48px; padding: 0 18px; border: 0; background: var(--vs-a); color: #fff; font: inherit; font-size: 13px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; cursor: pointer; }
.vs-results { margin: 8px 0 0; padding: 0; list-style: none; }
.vs-results a { display: flex; align-items: center; gap: 12px; padding: 8px; border-bottom: 1px solid var(--vs-line); color: #111; }
.vs-results a:hover, .vs-results a:focus { background: #fdf2f8; }
.vs-res-ph, .vs-quick-ph { flex: none; display: block; overflow: hidden; background: #eef0f2; }
.vs-res-ph { width: 40px; height: 40px; }
.vs-res-ph img, .vs-quick-ph img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.vs-results span:last-child { display: flex; flex-direction: column; min-width: 0; line-height: 1.25; }
.vs-results b { font-size: 15px; }
.vs-results small { overflow: hidden; color: var(--vs-mu); font-size: 12.5px; text-overflow: ellipsis; white-space: nowrap; }
.vs-results .vs-empty { padding: 10px 8px; color: var(--vs-mu); font-size: 14px; }
.vs-quick-title { margin: 16px 0 8px; color: #62656d; font-size: 11.5px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.vs-quick { display: flex; flex-wrap: wrap; gap: 6px; }
.vs-quick a { display: inline-flex; align-items: center; gap: 8px; padding: 4px 12px 4px 4px; border: 1px solid #d9dbe0; color: #111; font-size: 13.5px; font-weight: 700; }
.vs-quick a:hover { border-color: var(--vs-a); color: var(--vs-a); }
.vs-quick-ph { width: 30px; height: 30px; }

@media (min-width: 640px) {
	.vs-duel { grid-template-columns: minmax(0, 1fr) 120px minmax(0, 1fr); }
	.vs-photo { width: 160px; height: 160px; }
	.vs-mid { height: 160px; }
	.vs-mark { width: 80px; height: 80px; font-size: 19px; }
	.vs-mark::before { inset: 12px; }
	.vs-score b { font-size: 38px; }
	.vs-name strong { font-size: 28px; }
	.vs-watermark { font-size: 380px; }
}

@media (min-width: 1024px) {
	.vs-stage { padding: 28px 0 34px; }
	.vs-title h1 { font-size: 48px; }
	.vs-back { display: none; }
	.vs-verdict { font-size: 22px; padding: 14px 24px; }
	.vs-body { padding-top: 24px; padding-bottom: 56px; }
	.vs-card { padding: 20px 22px; margin-bottom: 18px; }
	.vs-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
	.vs-grid .vs-card { margin-bottom: 0; }
	.vs-groups { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; align-items: start; margin-top: 18px; }
	.vs-groups .vs-card { margin-bottom: 0; }
	.vs-pick { padding: 24px 26px; }
}

/* Mitlaufende Leiste beim Scrollen: beide Spieler klein mit Namen und Gesamtstand */
.vs-pin { position: fixed; left: 0; right: 0; top: 0; z-index: 40; visibility: hidden; background: linear-gradient(90deg, #b3062f 0 50%, #a0124a 50% 100%); color: #fff; box-shadow: 0 6px 18px rgba(40, 0, 20, .3); transform: translateY(-110%); transition: transform .25s ease, visibility 0s .25s; pointer-events: none; }
.vs-pin.is-on { visibility: visible; transform: none; pointer-events: auto; transition: transform .25s ease; } /* gleitet unter dem Seitenkopf hervor */
.vs-pin-in { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 10px; max-width: 984px; height: 52px; margin: 0 auto; padding: 0 16px; box-sizing: border-box; }
.vs-pin-p { display: flex; align-items: center; gap: 8px; min-width: 0; }
.vs-pin-p.is-b { justify-content: flex-end; text-align: right; }
.vs-pin-p b { overflow: hidden; font-size: 14px; font-weight: 900; text-overflow: ellipsis; text-transform: uppercase; white-space: nowrap; }
.vs-pin-ph { flex: none; width: 34px; height: 34px; overflow: hidden; background: #fff; }
.vs-pin-ph img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.vs-pin-p.is-a .vs-pin-ph { box-shadow: inset 0 -3px 0 #ff7ab3; border-bottom: 3px solid #ff7ab3; box-sizing: border-box; }
.vs-pin-p.is-b .vs-pin-ph { border-bottom: 3px solid #fff; box-sizing: border-box; }
.vs-pin-score { font-size: 18px; font-weight: 900; font-variant-numeric: tabular-nums; }
.vs-pin-score b { padding: 0 2px; }
