@font-face { font-family: "Inter"; font-style: normal; font-display: swap; font-weight: 100 900;
  src: url("fonts/inter-latin-ext-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Inter"; font-style: normal; font-display: swap; font-weight: 100 900;
  src: url("fonts/inter-latin-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Oswald"; font-style: normal; font-display: swap; font-weight: 200 700;
  src: url("fonts/oswald-latin-ext-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Oswald"; font-style: normal; font-display: swap; font-weight: 200 700;
  src: url("fonts/oswald-latin-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root { --fs-red: #E10600; --fs-ink: #0E0F12; --fs-gold: #F5B301; --fs-muted: #6B7280; --fs-line: #E5E7EB; }
html, body { margin: 0; background: #F4F4F5; }
a { color: inherit; }
.fs-link { color: #111827; text-decoration: none; font-weight: 600; }
.fs-link:hover { color: var(--fs-red); text-decoration: underline; }

/* App-Bar */
.fs-appbar { border-bottom: 3px solid var(--fs-red); }
.fs-logo { display: inline-flex; align-items: baseline; text-decoration: none; font-family: Oswald, Impact, sans-serif; font-weight: 700; font-size: 1.6rem; letter-spacing: .04em; line-height: 1; margin-right: 24px; }
.fs-logo-mark { color: #fff; }
.fs-logo-side { color: var(--fs-red); }
.fs-logo-small { font-size: 1.25rem; }
.fs-nav { display: flex; gap: 4px; }
.fs-nav a { color: #D1D5DB; text-decoration: none; font-weight: 600; font-size: .92rem; padding: 8px 12px; border-radius: 6px; text-transform: uppercase; letter-spacing: .04em; }
.fs-nav a:hover, .fs-nav a.active { color: #fff; background: rgba(255,255,255,.08); }
.fs-search { max-width: 260px; }
.fs-search .mud-input-outlined-border { border-color: rgba(255,255,255,.25) !important; }
.fs-search input, .fs-search .mud-input-adornment { color: #fff !important; }
.fs-admin-tag { background: var(--fs-red); color: #fff; font-size: .7rem; font-weight: 700; padding: 2px 8px; border-radius: 4px; text-transform: uppercase; letter-spacing: .08em; }

.fs-main { max-width: 1240px; margin: 0 auto; padding: 24px 16px 48px; min-height: calc(100vh - 220px); }

/* Hero */
.fs-hero { background: linear-gradient(120deg, #0E0F12 0%, #1F1F25 60%, #3A0A08 100%); color: #fff; border-radius: 10px; padding: 32px 28px; margin-bottom: 24px; position: relative; overflow: hidden; }
.fs-hero::after { content: ""; position: absolute; right: -60px; top: -60px; width: 260px; height: 260px; border: 28px solid rgba(225,6,0,.35); border-radius: 50%; }
.fs-hero h1 { margin: 0 0 8px; font-family: Oswald, Impact, sans-serif; font-size: clamp(1.9rem, 4vw, 2.8rem); text-transform: uppercase; line-height: 1.05; position: relative; z-index: 1; }
.fs-hero p { margin: 0; color: #D1D5DB; max-width: 640px; position: relative; z-index: 1; }
.fs-hero-stats { display: flex; gap: 28px; margin-top: 20px; flex-wrap: wrap; position: relative; z-index: 1; }
.fs-hero-stats b { display: block; font-family: Oswald, Impact, sans-serif; font-size: 1.8rem; color: #fff; }
.fs-hero-stats span { color: #9CA3AF; font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; }

.fs-section-title { display: flex; align-items: center; gap: 10px; margin: 28px 0 12px; }
.fs-section-title::before { content: ""; width: 6px; height: 22px; background: var(--fs-red); border-radius: 2px; }

/* Tabellen */
.fs-table { width: 100%; border-collapse: collapse; background: #fff; }
.fs-table th { text-align: left; font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; color: var(--fs-muted); padding: 10px 12px; border-bottom: 2px solid var(--fs-line); background: #FAFAFA; white-space: nowrap; }
.fs-table td { padding: 10px 12px; border-bottom: 1px solid var(--fs-line); vertical-align: middle; }
.fs-table tr:hover td { background: #FEF2F2; }
.fs-table .num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.fs-rank { font-family: Oswald, Impact, sans-serif; font-size: 1.15rem; font-weight: 700; width: 44px; text-align: center; }
.fs-rank-1 { color: var(--fs-red); font-size: 1.4rem; }
.fs-scroll { overflow-x: auto; border-radius: 8px; box-shadow: 0 1px 2px rgba(0,0,0,.06); background: #fff; }

.fs-flag { width: 20px; height: 15px; border-radius: 2px; box-shadow: 0 0 0 1px rgba(0,0,0,.12); vertical-align: -2px; margin-right: 6px; object-fit: cover; }
.fs-nick { color: var(--fs-muted); font-style: italic; font-weight: 400; }
.fs-sub { color: var(--fs-muted); font-size: .82rem; }
.fs-record { font-variant-numeric: tabular-nums; font-weight: 700; white-space: nowrap; }
.fs-record .w { color: #15803D; } .fs-record .l { color: #B91C1C; } .fs-record .d { color: #6B7280; }
.fs-stars { color: var(--fs-gold); letter-spacing: 1px; white-space: nowrap; }
.fs-stars .off { color: #D1D5DB; }

.fs-res { display: inline-block; min-width: 26px; text-align: center; font-weight: 800; font-size: .78rem; padding: 3px 6px; border-radius: 4px; color: #fff; }
.fs-res-W { background: #15803D; } .fs-res-L { background: #B91C1C; } .fs-res-D { background: #6B7280; } .fs-res-NC { background: #9CA3AF; }
.fs-delta-up { color: #15803D; font-weight: 600; } .fs-delta-down { color: #B91C1C; font-weight: 600; }

/* Kämpferprofil */
.fs-profile-head { background: #fff; border-radius: 10px; padding: 24px; display: grid; grid-template-columns: 1fr auto; gap: 16px; border-top: 4px solid var(--fs-red); box-shadow: 0 1px 2px rgba(0,0,0,.06); }
.fs-profile-head h1 { font-family: Oswald, Impact, sans-serif; text-transform: uppercase; margin: 0; font-size: clamp(1.7rem, 4vw, 2.5rem); line-height: 1.05; }
.fs-facts { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px 20px; margin-top: 16px; }
.fs-facts div span { display: block; font-size: .7rem; text-transform: uppercase; letter-spacing: .06em; color: var(--fs-muted); }
.fs-facts div b { font-weight: 600; }
.fs-pools { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; margin-top: 16px; }
.fs-pool { background: #fff; border-radius: 8px; padding: 14px 16px; border-left: 4px solid var(--fs-ink); box-shadow: 0 1px 2px rgba(0,0,0,.06); }
.fs-pool-title { font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: var(--fs-muted); font-weight: 700; }
.fs-pool-rating { font-family: Oswald, Impact, sans-serif; font-size: 2rem; font-weight: 700; line-height: 1.1; }
.fs-pool-rating small { font-size: .9rem; color: var(--fs-muted); font-family: Inter, sans-serif; font-weight: 500; }
.fs-big-record { font-family: Oswald, Impact, sans-serif; font-size: 2.4rem; font-weight: 700; line-height: 1; text-align: right; }
.fs-big-record small { display: block; font-family: Inter, sans-serif; font-size: .75rem; color: var(--fs-muted); font-weight: 500; text-transform: uppercase; letter-spacing: .06em; margin-top: 4px; }

.fs-card { background: #fff; border-radius: 8px; padding: 16px; box-shadow: 0 1px 2px rgba(0,0,0,.06); }
.fs-grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 20px; }
.fs-filters { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; background: #fff; border-radius: 8px; padding: 12px 16px; margin-bottom: 16px; box-shadow: 0 1px 2px rgba(0,0,0,.06); }
.fs-filters .mud-input-control { min-width: 150px; max-width: 220px; }
.fs-empty { text-align: center; color: var(--fs-muted); padding: 40px 16px; background: #fff; border-radius: 8px; }
.fs-prose { max-width: 820px; background: #fff; border-radius: 8px; padding: 24px 28px; line-height: 1.65; }
.fs-prose h2 { font-family: Oswald, Impact, sans-serif; text-transform: uppercase; font-size: 1.3rem; margin: 28px 0 8px; }
.fs-prose h2:first-child { margin-top: 0; }
.fs-prose code { background: #F3F4F6; padding: 1px 5px; border-radius: 4px; }
.fs-prose table { border-collapse: collapse; margin: 8px 0 16px; }
.fs-prose td, .fs-prose th { border: 1px solid var(--fs-line); padding: 6px 10px; text-align: left; }

/* Footer */
.fs-footer { background: var(--fs-ink); color: #9CA3AF; border-top: 3px solid var(--fs-red); }
.fs-footer-inner { max-width: 1240px; margin: 0 auto; padding: 28px 16px; display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.fs-footer-claim { font-size: .85rem; margin-top: 8px; max-width: 420px; }
.fs-footer-links { display: flex; gap: 18px; flex-wrap: wrap; align-items: center; }
.fs-footer-links a { color: #D1D5DB; text-decoration: none; font-size: .88rem; }
.fs-footer-links a:hover { color: #fff; }

/* Anmeldung (statisch, ohne MudBlazor-Interaktivität) */
.fs-login-wrap { min-height: 100vh; background: var(--fs-ink); display: flex; align-items: center; justify-content: center; padding: 16px; font-family: Inter, system-ui, sans-serif; }
.fs-login { width: 100%; max-width: 400px; background: #fff; border-radius: 10px; padding: 32px; box-shadow: 0 4px 24px rgba(0,0,0,.3); border-top: 4px solid var(--fs-red); box-sizing: border-box; }
.fs-login h1 { font-family: Oswald, Impact, sans-serif; text-transform: uppercase; margin: 16px 0 4px; font-size: 1.5rem; }
.fs-login label { display: block; font-size: .82rem; font-weight: 600; margin: 14px 0 4px; }
.fs-login input { width: 100%; box-sizing: border-box; padding: 10px 12px; border: 1px solid #D1D5DB; border-radius: 6px; font-size: 1rem; font-family: inherit; }
.fs-login button { margin-top: 20px; width: 100%; padding: 11px; background: var(--fs-red); color: #fff; border: 0; border-radius: 6px; font-weight: 700; font-size: 1rem; cursor: pointer; font-family: inherit; }
.fs-login .err { background: #FEF2F2; color: #B91C1C; padding: 8px 12px; border-radius: 6px; margin-top: 12px; font-size: .9rem; }
.fs-login .fs-logo-mark { color: var(--fs-ink); }

#blazor-error-ui { background: #FEF3C7; bottom: 0; box-shadow: 0 -1px 2px rgba(0,0,0,.2); display: none; left: 0; padding: .6rem 1.25rem .7rem; position: fixed; width: 100%; z-index: 2000; }
#blazor-error-ui .dismiss { cursor: pointer; position: absolute; right: .75rem; top: .5rem; }

@media (max-width: 600px) {
  .fs-main { padding: 16px 12px 40px; }
  .fs-profile-head { grid-template-columns: 1fr; }
  .fs-big-record { text-align: left; }
  .fs-hide-sm { display: none; }
  .fs-table td, .fs-table th { padding: 8px; }
  .fs-filters .mud-input-control { max-width: none; flex: 1 1 140px; }
}

/* Sprachumschalter */
.fs-lang { display: flex; gap: 2px; margin-left: 10px; }
.fs-lang button { background: transparent; border: 1px solid rgba(255,255,255,.18); color: #9CA3AF; font: 600 .72rem Inter, system-ui, sans-serif; letter-spacing: .06em; padding: 4px 7px; border-radius: 4px; cursor: pointer; }
.fs-lang button:hover { color: #fff; border-color: rgba(255,255,255,.4); }
.fs-lang button.on { background: var(--fs-red); border-color: var(--fs-red); color: #fff; }
