/* ---------- Büro Soccer (Fußball) ---------- */
.sp-fb { width: 100%; display: flex; justify-content: center; align-items: center; }
.sp-fb-cv { display: block; width: 100%; height: auto; aspect-ratio: 8 / 5; background: #2a2e37; border-radius: 14px; cursor: none; outline: none;
	image-rendering: pixelated; image-rendering: crisp-edges; user-select: none; -webkit-user-select: none; touch-action: none;
	box-shadow: 0 0 0 3px #fff, 0 0 0 6px #bbf7d0, 0 30px 60px -28px rgba(20, 83, 45, .85); }
.sp-fb-cv:focus-visible { box-shadow: 0 0 0 3px #fff, 0 0 0 6px #22c55e, 0 30px 60px -28px rgba(20, 83, 45, .85); }
.sp-shell:fullscreen .sp-fb { height: 100%; }
.sp-shell:-webkit-full-screen .sp-fb { height: 100%; }
.sp-shell:fullscreen .sp-fb-cv { border-radius: 0; }

.sp-ov-card.sp-fb-wide { width: min(860px, 100%); }
.sp-fb-sub { text-align: center; margin: 0 0 14px; color: var(--sp-ink-2); }
.sp-fb-warn { text-align: center; margin: 0 0 14px; padding: 10px 12px; border-radius: 12px; background: #fef3c7; color: #92400e; font-weight: 600; }
.sp-fb-big { text-align: center; font-size: 1.15rem; font-weight: 800; margin: 0 0 14px; }
.sp-fb-next { text-align: center; margin: 0 0 14px; font-size: 1.05rem; }

.sp-fb-teams { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.sp-fb-team { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 10px 6px; border: 2px solid #e2e8f0; border-radius: 14px;
	background: linear-gradient(170deg, #f0fdf4, #fff); cursor: pointer; font: inherit; color: var(--sp-ink); transition: transform .12s, border-color .12s; }
.sp-fb-team:hover:not(:disabled), .sp-fb-team:focus-visible { border-color: #22c55e; transform: translateY(-2px); }
.sp-fb-team:disabled { opacity: .35; cursor: not-allowed; }
.sp-fb-tn { font-weight: 750; font-size: .92rem; }
.sp-fb-st { color: #f59e0b; font-size: .8rem; letter-spacing: 1px; }
.sp-fb-st span { color: #cbd5e1; }
.sp-fb-kit { display: inline-flex; flex-direction: column; width: 18px; vertical-align: middle; margin-right: 6px; }
.sp-fb-team .sp-fb-kit { width: 30px; margin: 0; }
.sp-fb-kit i { display: block; height: 13px; border-radius: 4px 4px 1px 1px; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .18); }
.sp-fb-kit b { display: block; height: 6px; margin: 0 2px; border-radius: 0 0 3px 3px; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .18); }
.sp-fb-team .sp-fb-kit i { height: 20px; }
.sp-fb-team .sp-fb-kit b { height: 9px; margin: 0 3px; }

.sp-fb-vs { display: flex; align-items: center; justify-content: center; gap: 10px; flex-wrap: wrap; font-size: 1.15rem; margin: 0 0 12px; }
.sp-fb-vs span { color: var(--sp-muted); font-size: .9rem; }
.sp-fb-vs .sp-fb-kit { width: 30px; margin: 0; }
.sp-fb-vs .sp-fb-kit i { height: 20px; }
.sp-fb-vs .sp-fb-kit b { height: 9px; }
.sp-fb-keys { list-style: none; padding: 12px 14px !important; margin: 0 0 14px !important; background: #f1f5f9; border-radius: 12px; font-size: .92rem; }
.sp-fb-keys li { margin: .25em 0; }
.sp-fb-keys kbd { display: inline-block; min-width: 1.6em; padding: 1px 5px; border: 1px solid #cbd5e1; border-bottom-width: 3px; border-radius: 6px; background: #fff; font: 700 .85em system-ui; text-align: center; }

.sp-fb-groups { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.sp-fb-grp { background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 12px; padding: 8px 10px; }
.sp-fb-grp > b { display: block; margin-bottom: 4px; color: #15803d; }
.sp-fb-grp table { width: 100%; border-collapse: collapse; font-size: .86rem; }
.sp-fb-grp th { font-weight: 600; color: var(--sp-muted); text-align: right; padding: 2px 4px; }
.sp-fb-grp td { padding: 3px 4px; text-align: right; border-top: 1px solid #e2e8f0; white-space: nowrap; }
.sp-fb-grp td:first-child { text-align: left; }
.sp-fb-grp tr.is-q td { background: #f0fdf4; }
.sp-fb-grp tr.is-me td { font-weight: 800; color: #0f172a; }
.sp-fb-ko { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 10px; font-size: .86rem; }
.sp-fb-ko > div { background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 12px; padding: 8px 10px; }
.sp-fb-ko b { color: #15803d; }
.sp-fb-ko p { margin: 4px 0; }
.sp-fb-tm.is-me { font-weight: 800; }

@media (max-width: 640px) {
	.sp-fb-cv { border-radius: 8px; box-shadow: 0 0 0 2px #fff, 0 0 0 4px #bbf7d0; }
	.sp-fb-teams { grid-template-columns: repeat(2, 1fr); }
	.sp-fb-groups, .sp-fb-ko { grid-template-columns: 1fr; }
}
