/* ClubForge v110 — durchgängiges modernes Fußball-Design */

:root {
  --bg: #07100c;
  --surface: #101b16;
  --surface-2: #16251d;
  --surface-3: #1d3025;
  --line: rgba(190, 224, 203, 0.18);
  --line-soft: rgba(190, 224, 203, 0.10);
  --text: #f4f8f5;
  --muted: #9cad9f;
  --muted-2: #708078;
  --lime: #2de078;
  --blue: #5bb8ff;
  --violet: #ad91ff;
  --coral: #ff7468;
  --gold: #f4c35c;
  --pitch-dark: #07502d;
  --pitch-light: #0d6739;
  --clubforge-shadow: 0 22px 60px rgba(0, 0, 0, 0.27);
}

html {
  color-scheme: dark;
  background: var(--bg);
}

body {
  min-width: 320px;
  background:
    radial-gradient(circle at 72% -12%, rgba(45, 224, 120, 0.10), transparent 32rem),
    linear-gradient(180deg, #07100c, #09130f 45%, #07100c);
  color: var(--text);
  font-family: "Segoe UI Variable", Inter, "Segoe UI", Arial, sans-serif;
  letter-spacing: -0.006em;
}

body::before {
  position: fixed;
  z-index: -1;
  inset: 0;
  content: "";
  pointer-events: none;
  background:
    linear-gradient(90deg, transparent 49.93%, rgba(255, 255, 255, 0.018) 50%, transparent 50.07%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.009) 0 8%, transparent 8% 16%);
  opacity: 0.58;
}

::selection {
  color: #04130a;
  background: var(--lime);
}

::-webkit-scrollbar {
  width: 9px;
  height: 9px;
}

::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.025);
}

::-webkit-scrollbar-thumb {
  border: 2px solid transparent;
  border-radius: 999px;
  background: rgba(114, 150, 127, 0.45);
  background-clip: padding-box;
}

button,
a,
select,
input,
textarea {
  transition:
    color 150ms ease,
    border-color 150ms ease,
    background-color 150ms ease,
    box-shadow 150ms ease,
    transform 150ms ease;
}

button:focus-visible,
a:focus-visible,
select:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 2px;
}

/* Login und Einstieg — eigenes Stadionmotiv statt generischer Admin-Card */

.entry-shell {
  position: relative;
  isolation: isolate;
  min-height: 100svh;
  padding: clamp(24px, 4vw, 64px);
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(3, 9, 6, 0.18), rgba(3, 9, 6, 0.74)),
    linear-gradient(180deg, rgba(2, 8, 5, 0.12), rgba(2, 8, 5, 0.72)),
    url("/assets/clubforge-stadium-night.svg") center / cover no-repeat;
}

.entry-shell::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  content: "";
  pointer-events: none;
  background:
    radial-gradient(circle at 18% 16%, rgba(255, 255, 255, 0.11), transparent 20rem),
    radial-gradient(circle at 70% 48%, rgba(45, 224, 120, 0.10), transparent 32rem);
}

.entry-shell:has(.entry-stadium-story) {
  display: grid;
  grid-template-columns: minmax(420px, 1.25fr) minmax(390px, 500px);
  align-items: stretch;
  gap: clamp(30px, 5vw, 90px);
}

.entry-stadium-story {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-width: 0;
  padding: 6px 0;
}

.entry-story-brand,
.entry-story-brand > span:last-child {
  display: flex;
  align-items: center;
}

.entry-story-brand {
  gap: 13px;
}

.entry-story-brand > span:last-child {
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
}

.entry-story-brand strong,
.entry-logo strong,
.brand strong,
.cf-admin-brand strong {
  letter-spacing: 0.105em;
  font-weight: 900;
}

.entry-story-brand small {
  color: #a7b8ae;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.entry-story-copy {
  max-width: 780px;
  margin: auto 0;
  padding: 70px 0 48px;
}

.entry-story-copy > span {
  display: block;
  margin-bottom: 16px;
  color: #65ef9e;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.18em;
}

.entry-story-copy h2 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(44px, 5.4vw, 82px);
  font-weight: 860;
  letter-spacing: -0.065em;
  line-height: 0.98;
  text-wrap: balance;
  text-shadow: 0 6px 32px rgba(0, 0, 0, 0.42);
}

.entry-story-copy p {
  max-width: 620px;
  margin: 24px 0 0;
  color: #c2cec6;
  font-size: clamp(14px, 1.2vw, 18px);
  line-height: 1.7;
}

.entry-story-features {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 30px;
}

.entry-story-features span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid rgba(214, 240, 222, 0.18);
  border-radius: 999px;
  background: rgba(4, 14, 9, 0.50);
  color: #eef8f1;
  font-size: 11px;
  font-weight: 750;
  backdrop-filter: blur(12px);
}

.entry-story-features span::before {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--lime);
  content: "";
  box-shadow: 0 0 14px rgba(45, 224, 120, 0.72);
}

.entry-match-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
  width: min(660px, 100%);
  min-height: 64px;
  padding: 11px 18px;
  border: 1px solid rgba(214, 240, 222, 0.18);
  border-radius: 14px;
  background: rgba(5, 15, 10, 0.62);
  backdrop-filter: blur(16px);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.24);
}

.entry-match-card > span,
.entry-match-card > small {
  color: #92a49a;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.entry-match-card > strong {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 12px;
  letter-spacing: 0.10em;
}

.entry-match-card i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 5px rgba(45, 224, 120, 0.12);
}

.entry-card {
  align-self: center;
  width: min(500px, 100%);
  padding: clamp(28px, 3vw, 44px);
  border: 1px solid rgba(215, 239, 222, 0.17);
  border-radius: 18px;
  background:
    linear-gradient(155deg, rgba(19, 33, 26, 0.94), rgba(7, 16, 12, 0.96));
  box-shadow: 0 36px 100px rgba(0, 0, 0, 0.48);
  backdrop-filter: blur(24px);
}

.sign-in-card {
  justify-self: end;
}

.entry-card .entry-logo {
  margin-bottom: 34px;
}

.entry-card > .eyebrow {
  margin-top: 0;
  color: #65ef9e;
}

.entry-card h1 {
  margin: 10px 0 12px;
  font-size: clamp(34px, 4vw, 50px);
  font-weight: 840;
  letter-spacing: -0.055em;
}

.entry-card p {
  color: #aebdb4;
}

.auth-tabs {
  gap: 4px;
  padding: 4px;
  border: 1px solid rgba(190, 224, 203, 0.10);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.035);
}

.auth-tabs button {
  min-height: 42px;
  border-radius: 7px;
  font-size: 11px;
}

.auth-tabs button.active {
  color: #04150b;
  background: linear-gradient(135deg, #35ec83, #20c969);
  box-shadow: 0 8px 24px rgba(45, 224, 120, 0.20);
}

.auth-form label span,
.admin-form-grid label > span,
.live-tactics-grid label > span,
.live-substitution-row label > span {
  color: #819188;
  font-weight: 850;
}

.auth-form input,
.admin-form-grid input,
.admin-form-grid select,
.standard-select,
.module-search,
.live-tactics-grid select,
.live-substitution-row select,
.finance-ledger select,
.finance-ledger input {
  border: 1px solid rgba(190, 224, 203, 0.15);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.045);
  color: var(--text);
}

.auth-form input {
  min-height: 48px;
}

.auth-form input:focus,
.admin-form-grid input:focus,
.admin-form-grid select:focus,
.standard-select:focus,
.module-search:focus-within {
  border-color: rgba(45, 224, 120, 0.72);
  box-shadow: 0 0 0 3px rgba(45, 224, 120, 0.10);
}

.entry-trust {
  border-top-color: rgba(190, 224, 203, 0.10);
}

/* App-Rahmen und Navigation */

.manager-shell {
  min-height: 100vh;
  background:
    radial-gradient(circle at 74% -10%, rgba(45, 224, 120, 0.09), transparent 34rem),
    linear-gradient(180deg, #08110d, #0a130f 48%, #07100c);
}

.sidebar {
  width: 262px;
  padding: 20px 15px 16px;
  border-right: 1px solid rgba(190, 224, 203, 0.11);
  background:
    linear-gradient(180deg, rgba(8, 24, 16, 0.97), rgba(6, 15, 10, 0.99)),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.018) 0 12.5%, transparent 12.5% 25%);
  box-shadow: 18px 0 55px rgba(0, 0, 0, 0.14);
}

.sidebar::before {
  position: absolute;
  inset: 0 0 auto;
  height: 230px;
  content: "";
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 0, rgba(45, 224, 120, 0.14), transparent 75%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.025), transparent);
}

.sidebar > * {
  position: relative;
  z-index: 1;
}

.brand {
  height: 54px;
  padding: 0 9px;
}

.brand-mark {
  position: relative;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 12px 12px 15px 15px;
  background: linear-gradient(145deg, #43f28e, #18b75d);
  color: #04140a;
  clip-path: polygon(9% 0, 91% 0, 100% 72%, 50% 100%, 0 72%);
  box-shadow: 0 8px 24px rgba(45, 224, 120, 0.22);
  transform: none;
}

.brand span {
  color: #718279;
}

.main-nav {
  gap: 3px;
  margin-top: 30px;
}

.nav-kicker,
.eyebrow {
  color: #74857c;
  font-weight: 850;
}

.nav-item {
  position: relative;
  height: 43px;
  border-radius: 8px;
  color: #9aaba1;
}

.nav-item::before {
  position: absolute;
  top: 10px;
  bottom: 10px;
  left: 0;
  width: 3px;
  border-radius: 3px;
  background: transparent;
  content: "";
}

.nav-item:hover {
  color: #f5fbf7;
  background: rgba(255, 255, 255, 0.045);
}

.nav-item.active {
  color: #eafff1;
  background: linear-gradient(90deg, rgba(45, 224, 120, 0.18), rgba(45, 224, 120, 0.055));
  box-shadow: inset 0 0 0 1px rgba(45, 224, 120, 0.14);
}

.nav-item.active::before {
  background: var(--lime);
  box-shadow: 0 0 14px rgba(45, 224, 120, 0.62);
}

.nav-item.active svg {
  color: #58ec96;
}

.nav-item em {
  color: #fff;
  background: var(--coral);
}

.club-switcher {
  min-height: 64px;
  border-color: rgba(190, 224, 203, 0.13);
  border-radius: 11px;
  background:
    radial-gradient(circle at 0 50%, rgba(45, 224, 120, 0.10), transparent 55%),
    rgba(255, 255, 255, 0.035);
}

.club-switcher:hover {
  border-color: rgba(45, 224, 120, 0.35);
}

.profile-row {
  border-top-color: rgba(190, 224, 203, 0.09);
}

.avatar,
.account-avatar,
.cf-manager-avatar {
  color: #06150b;
  background: linear-gradient(145deg, #49ed8e, #1fc969);
}

.workspace {
  width: calc(100% - 262px);
  margin-left: 262px;
}

.topbar {
  height: 66px;
  padding: 0 32px;
  border-bottom: 1px solid rgba(190, 224, 203, 0.10);
  background: rgba(7, 16, 12, 0.84);
  backdrop-filter: blur(22px) saturate(1.2);
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.12);
}

.topbar::after {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(45, 224, 120, 0.45), transparent);
  content: "";
}

.season-status {
  color: #8e9f95;
}

.season-status i {
  width: 6px;
  height: 6px;
  background: var(--lime);
  box-shadow: 0 0 12px rgba(45, 224, 120, 0.65);
}

.icon-button,
.profile-settings,
.cf-icon-button {
  border-color: rgba(190, 224, 203, 0.14);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.04);
}

.icon-button:hover,
.icon-button.active,
.profile-settings:hover,
.cf-icon-button:hover {
  border-color: rgba(45, 224, 120, 0.38);
  color: #ecfff3;
  background: rgba(45, 224, 120, 0.08);
}

.content,
.module-content {
  padding: clamp(24px, 2.6vw, 40px);
}

.content:not(.module-content) {
  width: min(1560px, 100%);
}

/* Globale Fußball-Karten, Überschriften und Aktionen */

.panel,
.match-card,
.pitch-panel,
.tactics-panel,
.roster-panel,
.squad-insight,
.development-panel,
.negotiation-layout,
.competition-hero,
.department-card,
.ai-panel,
.coach-card,
.standards-panel,
.planned-substitutions-panel,
.finance-summary-card,
.finance-ledger,
.finance-forecast,
.stadium-offer,
.stadium-project,
.stadium-match-preview,
.stadium-history,
.club-profile-squad,
.club-profile-history,
.club-profile-transfers,
.player-profile-panel,
.cf-admin-card,
.cf-system-card,
.cf-list-card,
.cf-stats-card,
.cf-stat-card,
.cf-bestof-card,
.cf-eternal-card {
  border-color: rgba(190, 224, 203, 0.11);
  background:
    linear-gradient(150deg, rgba(19, 32, 25, 0.96), rgba(12, 23, 17, 0.97));
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.13);
}

.panel,
.match-card,
.pitch-panel,
.tactics-panel,
.roster-panel,
.squad-insight,
.development-panel,
.competition-hero,
.department-card,
.ai-panel,
.finance-summary-card,
.finance-ledger,
.finance-forecast,
.stadium-offer,
.stadium-project,
.stadium-match-preview,
.stadium-history {
  border-radius: 14px;
}

.panel-head,
.match-card-head,
.finance-section-head,
.matchcenter-panel-head,
.cf-card-head,
.cf-data-head {
  border-bottom-color: rgba(190, 224, 203, 0.09);
  background: linear-gradient(90deg, rgba(45, 224, 120, 0.055), transparent 58%);
}

.module-header {
  position: relative;
  min-height: 112px;
  padding: 22px 24px;
  border: 1px solid rgba(190, 224, 203, 0.10);
  border-radius: 15px;
  background:
    linear-gradient(90deg, rgba(45, 224, 120, 0.075), transparent 45%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.012) 0 9%, transparent 9% 18%),
    rgba(13, 25, 18, 0.88);
  overflow: hidden;
}

.module-header::after {
  position: absolute;
  right: -64px;
  bottom: -112px;
  width: 290px;
  height: 220px;
  border: 1px solid rgba(231, 255, 239, 0.09);
  border-radius: 50%;
  content: "";
  box-shadow: 0 0 0 42px rgba(45, 224, 120, 0.018);
}

.module-header > * {
  position: relative;
  z-index: 1;
}

.module-header h1 {
  margin: 7px 0 5px;
  font-size: clamp(30px, 3.2vw, 46px);
  font-weight: 830;
  letter-spacing: -0.055em;
}

.module-header p {
  color: #98aa9f;
}

.primary-button,
.cf-primary,
.simulate-button,
.offer-submit,
.cf-reset-submit {
  min-height: 42px;
  border: 1px solid rgba(98, 255, 161, 0.22);
  border-radius: 9px;
  background: linear-gradient(135deg, #31e47b, #1fc765);
  color: #04150b;
  font-weight: 820;
  box-shadow: 0 10px 25px rgba(45, 224, 120, 0.16);
}

.primary-button:hover:not(:disabled),
.cf-primary:hover:not(:disabled),
.simulate-button:hover:not(:disabled),
.offer-submit:hover:not(:disabled) {
  background: linear-gradient(135deg, #49ed8d, #25d46e);
  box-shadow: 0 13px 32px rgba(45, 224, 120, 0.25);
  transform: translateY(-1px);
}

.secondary-button,
.filter-button,
.text-button,
.cf-stats-open {
  border-color: rgba(190, 224, 203, 0.13);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.035);
}

.secondary-button:hover,
.filter-button:hover,
.text-button:hover {
  border-color: rgba(45, 224, 120, 0.34);
  color: #ecfff3;
  background: rgba(45, 224, 120, 0.07);
}

.module-metrics,
.lineup-summary,
.training-overview,
.club-balance,
.transfer-stats,
.club-profile-metrics,
.player-profile-metrics,
.finance-summary-grid {
  border-color: rgba(190, 224, 203, 0.11);
  border-radius: 13px;
  background: rgba(15, 29, 21, 0.86);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.10);
}

.module-metrics > article,
.lineup-summary > div,
.training-overview > div,
.club-balance > div,
.transfer-stats > div,
.club-profile-metrics > div,
.player-profile-metrics > div {
  position: relative;
  border-color: rgba(190, 224, 203, 0.09);
}

.module-metrics > article::after,
.lineup-summary > div::after,
.training-overview > div::after,
.club-balance > div::after {
  position: absolute;
  right: 14px;
  bottom: 13px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--lime);
  content: "";
  opacity: 0.5;
}

.module-metrics strong,
.lineup-summary strong,
.training-overview strong,
.club-balance strong,
.metric > strong {
  font-weight: 850;
}

/* Dashboard — Spieltag statt Business-Dashboard */

.dashboard-hero {
  min-height: 176px;
  padding: 30px 32px;
  border-color: rgba(45, 224, 120, 0.16);
  border-radius: 16px;
  background:
    linear-gradient(90deg, rgba(7, 24, 14, 0.95), rgba(7, 24, 14, 0.64)),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.028) 0 9%, transparent 9% 18%),
    linear-gradient(145deg, #143322, #0b1c13);
}

.dashboard-hero::before {
  position: absolute;
  right: 6%;
  bottom: -60px;
  width: 380px;
  height: 190px;
  border: 1px solid rgba(238, 255, 244, 0.13);
  border-radius: 50%;
  content: "";
  transform: perspective(400px) rotateX(60deg);
}

.dashboard-hero::after {
  right: 9%;
  bottom: -145px;
  width: 330px;
  height: 330px;
  border-color: rgba(238, 255, 244, 0.09);
  box-shadow: 0 0 0 42px rgba(45, 224, 120, 0.022), 0 0 0 84px rgba(45, 224, 120, 0.012);
}

.dashboard-club-crest {
  width: 88px !important;
  height: 88px !important;
  flex: 0 0 88px;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 16px !important;
  background: rgba(255, 255, 255, 0.07);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.26);
}

.dashboard-hero h1 {
  font-weight: 850;
}

.matchweek-strip {
  min-height: 110px;
  border-color: rgba(190, 224, 203, 0.11);
  border-radius: 13px;
  background: rgba(11, 22, 15, 0.86);
}

.matchweek-title {
  border-right-color: rgba(190, 224, 203, 0.09);
  background: linear-gradient(145deg, rgba(45, 224, 120, 0.13), rgba(45, 224, 120, 0.025));
}

.matchweek-item {
  border-right-color: rgba(190, 224, 203, 0.08);
}

.matchweek-item:hover {
  background: rgba(45, 224, 120, 0.045);
}

.matchweek-item.is-next {
  background: rgba(45, 224, 120, 0.10);
  box-shadow: inset 0 3px var(--lime);
}

.metric {
  min-height: 108px;
  border: 1px solid rgba(190, 224, 203, 0.09);
  border-radius: 12px;
  background:
    radial-gradient(circle at 100% 0, rgba(45, 224, 120, 0.08), transparent 58%),
    linear-gradient(150deg, rgba(21, 37, 28, 0.96), rgba(13, 25, 18, 0.96));
}

.metric-icon {
  border-radius: 9px;
  background: rgba(45, 224, 120, 0.09);
  color: var(--lime);
}

.dashboard-grid .match-card {
  border-radius: 14px;
  background:
    radial-gradient(ellipse at 50% 53%, rgba(45, 224, 120, 0.12), transparent 44%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.012) 0 8%, transparent 8% 16%),
    linear-gradient(160deg, #13271c, #0d1c14);
}

.fixture {
  position: relative;
}

.fixture::before {
  position: absolute;
  right: 12%;
  bottom: 18px;
  left: 12%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(222, 255, 233, 0.16), transparent);
  content: "";
}

.fixture-club .crest,
.matchcenter-club .crest,
.match-detail .crest {
  filter: drop-shadow(0 12px 16px rgba(0, 0, 0, 0.28));
}

.versus,
.matchcenter-score,
.match-detail-score {
  color: #f5fff8;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.decisions-panel,
.pulse-panel,
.results-panel,
.recent-transfers-panel {
  border-radius: 14px;
  overflow: hidden;
}

/* Tabellen, Kader und Statistik — kompakt wie Spielbericht/Scouting */

.league-table,
.roster-table,
.season-table,
.cf-league-table,
.cf-player-table,
.cf-manager-table,
.cf-eternal-table,
.cf-fair-table,
.cf-venue-table,
.cf-data-table {
  border-radius: 11px;
  background: rgba(4, 12, 8, 0.30);
}

.league-table .table-header,
.roster-head,
.season-table-head,
.cf-data-head,
.cf-stats-table-head,
.club-profile-table-head {
  min-height: 34px;
  border: 0;
  border-radius: 7px;
  background: rgba(45, 224, 120, 0.085);
  color: #93a79a;
  font-weight: 850;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.league-table .table-row:not(.table-header),
.roster-row,
.season-table-rows > div,
.cf-data-row,
.cf-stats-row,
.club-profile-player,
.club-history-row,
.club-transfer-row,
.player-transfer-row,
.finance-transaction,
.manager-row:not(.head) {
  border-color: rgba(190, 224, 203, 0.075);
  background: transparent;
}

.league-table .table-row:not(.table-header):nth-child(odd),
.roster-row:nth-child(odd),
.season-table-rows > div:nth-child(even),
.cf-data-row:nth-child(even),
.cf-stats-row:nth-child(even) {
  background: rgba(255, 255, 255, 0.016);
}

.league-table .table-row:not(.table-header):hover,
.roster-row:hover,
.season-table-rows > div:hover,
.cf-data-row:hover,
.cf-stats-row:hover {
  background: rgba(45, 224, 120, 0.05);
}

.league-table .table-row {
  min-height: 44px;
}

.league-table .table-row.active,
.season-table-rows > div.own,
.manager-row.active,
.cf-data-row.is-own {
  background: linear-gradient(90deg, rgba(45, 224, 120, 0.12), rgba(45, 224, 120, 0.025));
  box-shadow: inset 3px 0 var(--lime);
}

.club-cell,
.roster-player,
.cf-club-link-with-logo {
  min-width: 0;
}

.league-table .club-logo-image,
.season-table-rows .club-logo-image,
.cf-league-table .club-logo-image,
.cf-eternal-table .club-logo-image,
.cf-venue-table .club-logo-image,
.manager-row .club-logo-image {
  width: 28px !important;
  height: 28px !important;
  object-fit: contain;
}

.mini-crest,
.club-cell > i,
.season-table-rows .cf-club-link-with-logo > i {
  width: 30px !important;
  height: 30px !important;
  flex: 0 0 30px;
  border-radius: 7px !important;
}

.roster-panel {
  overflow: hidden;
}

.roster-table {
  padding: 7px 9px 10px;
}

.roster-row {
  min-height: 52px;
  padding: 0 9px;
}

.roster-photo,
.cf-player-photo,
.cf-stats-player-photo,
.selected-player-photo,
.transfer-player-photo {
  border-color: rgba(190, 224, 203, 0.13);
  border-radius: 8px;
  background: radial-gradient(circle at 50% 32%, rgba(45, 224, 120, 0.16), rgba(9, 20, 13, 0.96) 74%);
}

.position-chip,
.cf-position,
.cf-role,
.status-label,
.manager-role {
  border: 1px solid rgba(45, 224, 120, 0.12);
  border-radius: 6px;
  color: #68eb9d;
  background: rgba(45, 224, 120, 0.08);
}

.micro-bar,
.budget-bar,
.department-progress,
.stadium-capacity-bar,
.attendance-bar,
.stadium-project-bar,
.season-progress {
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
}

.micro-bar i,
.budget-bar i,
.department-progress i,
.stadium-capacity-bar i,
.attendance-bar i,
.stadium-project-bar i,
.season-progress i {
  background: linear-gradient(90deg, #1ec864, #49ee8e);
}

.squad-insight {
  align-self: start;
}

.insight-score {
  background: radial-gradient(circle, rgba(45, 224, 120, 0.16), rgba(45, 224, 120, 0.035));
  color: #74f1a7;
}

/* Aufstellung — echtes Spielfeld mit Rasen, Linien und Spielerchips */

.lineup-layout {
  grid-template-columns: minmax(620px, 1.55fr) minmax(320px, 380px);
  gap: 18px;
}

.pitch-panel {
  position: relative;
  overflow: hidden;
  background: linear-gradient(155deg, #13251a, #0a1710);
}

.pitch-toolbar {
  min-height: 64px;
  padding: 10px 15px;
  border-bottom-color: rgba(190, 224, 203, 0.10);
  background: linear-gradient(90deg, rgba(45, 224, 120, 0.07), transparent);
}

.formation-switcher {
  border-color: rgba(190, 224, 203, 0.12);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.20);
}

.formation-switcher button {
  min-height: 34px;
  padding: 0 11px;
  border-radius: 6px;
  color: #8fa097;
  font-size: 9px;
  font-weight: 800;
}

.formation-switcher button:hover {
  color: #f1fff5;
  background: rgba(255, 255, 255, 0.04);
}

.formation-switcher button.active {
  color: #06150b;
  background: var(--lime);
  box-shadow: 0 6px 18px rgba(45, 224, 120, 0.20);
}

.football-pitch {
  isolation: isolate;
  height: 660px;
  margin: 16px;
  border: 1px solid rgba(229, 255, 238, 0.34);
  border-radius: 12px;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.08), transparent 24%, transparent 76%, rgba(0, 0, 0, 0.12)),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.035) 0 10%, rgba(0, 0, 0, 0.025) 10% 20%),
    linear-gradient(145deg, var(--pitch-light), var(--pitch-dark));
  box-shadow:
    inset 0 0 80px rgba(0, 0, 0, 0.25),
    0 18px 45px rgba(0, 0, 0, 0.22);
}

.football-pitch::before,
.football-pitch::after {
  position: absolute;
  z-index: 1;
  left: 50%;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(239, 255, 244, 0.74);
  content: "";
  transform: translateX(-50%);
  box-shadow: 0 0 0 2px rgba(7, 77, 42, 0.50);
}

.football-pitch::before {
  top: 12.5%;
}

.football-pitch::after {
  bottom: 12.5%;
}

.pitch-markings {
  z-index: 1;
  inset: 18px;
  border: 2px solid rgba(241, 255, 246, 0.48);
  border-radius: 2px;
  pointer-events: none;
}

.pitch-markings .halfway {
  border-top: 2px solid rgba(241, 255, 246, 0.45);
}

.pitch-markings .center-circle {
  width: 116px;
  height: 116px;
  border: 2px solid rgba(241, 255, 246, 0.45);
}

.pitch-markings .box {
  width: 48%;
  height: 17%;
  left: 26%;
  border: 2px solid rgba(241, 255, 246, 0.44);
}

.pitch-player {
  z-index: 3;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  grid-template-rows: auto auto;
  width: 108px;
  min-height: 66px;
  padding: 8px;
  border: 1px solid rgba(224, 245, 231, 0.24);
  border-radius: 11px;
  background: linear-gradient(150deg, rgba(5, 18, 11, 0.94), rgba(8, 27, 16, 0.88));
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(8px);
}

.pitch-player::after {
  position: absolute;
  right: 8px;
  bottom: 5px;
  left: 50px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--lime), transparent);
  content: "";
  opacity: 0.5;
}

.pitch-player > .pitch-player-photo {
  grid-row: 1 / span 2;
  width: 40px;
  height: 47px;
  border: 1px solid rgba(224, 245, 231, 0.17);
  border-radius: 8px;
  background: radial-gradient(circle at 50% 44%, rgba(45, 224, 120, 0.18), rgba(2, 11, 6, 0.88) 72%);
}

.pitch-player > .pitch-player-rating {
  top: -8px;
  left: 33px;
  width: 24px;
  height: 24px;
  border: 2px solid #082014;
  color: #04130a;
  background: linear-gradient(145deg, #5df09a, #22cb6a);
  font-size: 8px;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.26);
}

.pitch-player > strong {
  align-self: end;
  color: #f6fff8;
  font-size: 9px;
  font-weight: 850;
  white-space: nowrap;
}

.pitch-player > small {
  align-self: start;
  color: #9fb0a5;
  font-size: 7px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pitch-player:hover,
.pitch-player.selected,
.pitch-player.swap-source {
  border-color: rgba(90, 243, 152, 0.88);
  background: linear-gradient(150deg, rgba(8, 33, 19, 0.98), rgba(8, 43, 23, 0.92));
  box-shadow:
    0 0 0 3px rgba(45, 224, 120, 0.15),
    0 15px 32px rgba(0, 0, 0, 0.40);
}

.pitch-player.position-warning {
  border-color: rgba(244, 195, 92, 0.75);
}

.pitch-player.position-danger {
  border-color: rgba(255, 116, 104, 0.78);
}

.bench-strip {
  min-height: 92px;
  padding: 11px 15px 15px;
  border-top-color: rgba(190, 224, 203, 0.10);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.025), transparent),
    rgba(4, 12, 8, 0.30);
}

.bench-strip > span {
  color: #7f9286;
}

.bench-strip button {
  min-width: 104px;
  border-color: rgba(190, 224, 203, 0.13);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
}

.bench-strip button:hover,
.bench-strip button.selected,
.bench-strip button.swap-source {
  border-color: rgba(45, 224, 120, 0.50);
  background: rgba(45, 224, 120, 0.065);
}

.tactics-panel {
  background:
    linear-gradient(180deg, rgba(45, 224, 120, 0.045), transparent 160px),
    linear-gradient(150deg, rgba(19, 32, 25, 0.98), rgba(12, 23, 17, 0.98));
}

.tactics-tabs,
.segmented-control,
.cup-type-switch,
.cf-stats-modes,
.cf-stats-tabs {
  border-color: rgba(190, 224, 203, 0.11);
  background: rgba(0, 0, 0, 0.18);
}

.tactics-tabs button.active,
.segmented-control button.active,
.cup-type-switch button.active,
.cf-stats-modes button.active,
.cf-stats-tabs button.active {
  color: #04140a;
  background: var(--lime);
}

.tactic-group,
.tactic-note,
.selected-player-card,
.scout-suggestion,
.availability-overview,
.substitution-rule-note {
  border-color: rgba(190, 224, 203, 0.10);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.025);
}

/* Training und Entwicklung — moderne Trainingszentrum-Optik */

.training-day {
  border-color: rgba(190, 224, 203, 0.10);
  border-radius: 10px;
  background: linear-gradient(160deg, rgba(20, 35, 26, 0.96), rgba(10, 22, 15, 0.96));
}

.training-day:hover,
.training-day.active {
  border-color: rgba(45, 224, 120, 0.42);
  background: linear-gradient(160deg, rgba(27, 56, 37, 0.96), rgba(12, 31, 20, 0.96));
}

.focus-grid > button,
.training-effects > div,
.development-player,
.coach-card {
  border-color: rgba(190, 224, 203, 0.10);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.027);
}

.focus-grid > button:hover,
.focus-grid > button.active {
  border-color: rgba(45, 224, 120, 0.42);
  background: rgba(45, 224, 120, 0.07);
}

/* Spielzentrum und Livekonferenz — Stadion-Scoreboard */

.matchcenter-grid,
.match-detail,
.match-summary,
.match-preview {
  border-color: rgba(190, 224, 203, 0.11);
  border-radius: 14px;
  background: linear-gradient(150deg, rgba(18, 32, 24, 0.97), rgba(9, 20, 14, 0.98));
}

.matchcenter-fixture,
.cup-fixture,
.cf-fixture-row {
  border-color: rgba(190, 224, 203, 0.09);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.024);
}

.matchcenter-fixture:hover,
.cup-fixture:hover,
.cf-fixture-row:hover {
  border-color: rgba(45, 224, 120, 0.30);
  background: rgba(45, 224, 120, 0.045);
}

.fixture-state.live,
.live-label,
.match-summary.live > header > b {
  color: #06150b;
  background: var(--lime);
}

.liveticker-quickstart {
  border-color: rgba(45, 224, 120, 0.20);
  border-radius: 13px;
  background:
    linear-gradient(90deg, rgba(45, 224, 120, 0.12), transparent),
    rgba(11, 24, 16, 0.96);
}

.live-conference {
  gap: 12px;
  border-color: rgba(45, 224, 120, 0.18);
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(45, 224, 120, 0.075), transparent 180px),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.012) 0 10%, transparent 10% 20%),
    #0a1710;
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.23);
}

.live-conference-head {
  min-height: 90px;
  border-color: rgba(190, 224, 203, 0.10);
  background: linear-gradient(90deg, rgba(45, 224, 120, 0.08), transparent);
}

.live-conference-head > b {
  min-width: 130px;
  padding: 12px 16px;
  border: 1px solid rgba(45, 224, 120, 0.20);
  border-radius: 10px;
  background: #06120b;
  color: #eafff0;
  font-variant-numeric: tabular-nums;
  text-align: center;
  box-shadow: inset 0 0 22px rgba(45, 224, 120, 0.06);
}

.live-conference-head > b em {
  color: var(--lime);
}

.live-conference-checkpoints {
  gap: 8px;
  padding: 4px 0;
}

.live-conference-checkpoints span {
  border-color: rgba(190, 224, 203, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.025);
}

.live-conference-checkpoints span.active {
  color: #04140a;
  border-color: var(--lime);
  background: var(--lime);
  box-shadow: 0 8px 20px rgba(45, 224, 120, 0.18);
}

.live-conference-events {
  border-color: rgba(190, 224, 203, 0.09);
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.16);
}

.timeline-event {
  border-color: rgba(190, 224, 203, 0.075);
}

.timeline-event.goal,
.match-summary-event.goal {
  background: linear-gradient(90deg, rgba(45, 224, 120, 0.10), transparent);
}

.live-intervention-panel {
  border-color: rgba(45, 224, 120, 0.25);
  border-radius: 12px;
  background: linear-gradient(150deg, rgba(19, 43, 27, 0.98), rgba(8, 23, 14, 0.98));
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.22);
}

.live-window-meta b {
  color: #6ff2a5;
  font-variant-numeric: tabular-nums;
}

.live-window-countdown {
  height: 5px;
  background: rgba(255, 255, 255, 0.08);
}

.live-window-countdown span {
  background: linear-gradient(90deg, #1dc664, #62f2a0);
  box-shadow: 0 0 16px rgba(45, 224, 120, 0.35);
}

.live-substitution-row,
.planned-substitution-row,
.add-substitution {
  border-color: rgba(190, 224, 203, 0.10);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.025);
}

/* Transfers — Scouting- und Verhandlungszentrale */

.negotiation-layout {
  border-radius: 14px;
  overflow: hidden;
}

.conversation-list,
.offer-panel,
.negotiation-thread > header,
.deal-subject,
.message-composer {
  border-color: rgba(190, 224, 203, 0.09);
  background: rgba(10, 22, 15, 0.78);
}

.conversation-item {
  border-color: rgba(190, 224, 203, 0.08);
}

.conversation-item:hover,
.conversation-item.active {
  background: rgba(45, 224, 120, 0.055);
}

.messages {
  background-color: #0a1610;
  background-image:
    linear-gradient(rgba(45, 224, 120, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(45, 224, 120, 0.025) 1px, transparent 1px);
  background-size: 28px 28px;
}

.message p {
  border-color: rgba(190, 224, 203, 0.12);
  background: #15271d;
}

.message.mine p {
  border-color: rgba(45, 224, 120, 0.23);
  background: rgba(45, 224, 120, 0.10);
  color: #dbfbe7;
}

.money-input,
.deal-check,
.offer-secondary button,
.recent-transfer-row,
.player-transfer-row,
.club-transfer-row {
  border-color: rgba(190, 224, 203, 0.10);
  background: rgba(255, 255, 255, 0.025);
}

/* Verein, Wettbewerbe, Finanzen und Stadion */

.competition-hero,
.cup-hero,
.club-profile-hero,
.player-profile-hero,
.stadium-hero {
  position: relative;
  overflow: hidden;
  border-color: rgba(45, 224, 120, 0.15);
  background:
    linear-gradient(90deg, rgba(45, 224, 120, 0.10), transparent 52%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.013) 0 10%, transparent 10% 20%),
    linear-gradient(150deg, #142b1d, #0a1b12);
}

.competition-hero::after,
.cup-hero::after,
.club-profile-hero::after,
.player-profile-hero::after,
.stadium-hero::after {
  position: absolute;
  right: -50px;
  bottom: -95px;
  width: 280px;
  height: 210px;
  border: 1px solid rgba(237, 255, 243, 0.10);
  border-radius: 50%;
  content: "";
  box-shadow: 0 0 0 42px rgba(45, 224, 120, 0.018);
}

.club-profile-crest,
.club-identity-logo,
.player-profile-club,
.active-sponsor-logo {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.055);
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.22);
}

.club-profile-tabs,
.cup-selector,
.cf-matchday-tabs,
.league-choice-tabs {
  border-color: rgba(190, 224, 203, 0.10);
  background: rgba(0, 0, 0, 0.16);
}

.club-profile-tabs button.active,
.cup-selector button.active,
.cf-matchday-tabs button.active,
.league-choice-tabs button.active {
  color: #07150b;
  background: var(--lime);
}

.department-card {
  min-height: 236px;
}

.department-card:hover,
.sponsor-offer:hover,
.stadium-offer:hover {
  border-color: rgba(45, 224, 120, 0.28);
  transform: translateY(-2px);
}

.department-icon,
.decision-icon,
.pulse-icon {
  border: 1px solid rgba(45, 224, 120, 0.10);
  border-radius: 9px;
  background: rgba(45, 224, 120, 0.08);
}

.finance-summary-card.income,
.finance-transaction.income {
  box-shadow: inset 3px 0 rgba(45, 224, 120, 0.65);
}

.finance-summary-card.expense,
.finance-transaction.expense {
  box-shadow: inset 3px 0 rgba(255, 116, 104, 0.58);
}

.finance-transaction {
  min-height: 54px;
}

.sponsor-offer,
.active-sponsor-card,
.stadium-offer,
.stadium-project,
.stadium-match-preview,
.stadium-history {
  border-color: rgba(190, 224, 203, 0.10);
  background: linear-gradient(150deg, rgba(20, 35, 26, 0.97), rgba(10, 22, 15, 0.98));
}

.stadium-illustration {
  border-color: rgba(220, 255, 231, 0.16);
  background:
    radial-gradient(ellipse at 50% 70%, rgba(45, 224, 120, 0.25), transparent 52%),
    linear-gradient(180deg, #07130d, #0c2b1b);
}

.stadium-illustration::before {
  border-color: rgba(236, 255, 242, 0.28);
}

.cup-orbit,
.cup-champion {
  border-color: rgba(244, 195, 92, 0.26);
  background: radial-gradient(circle, rgba(244, 195, 92, 0.16), transparent 68%);
}

.cup-round {
  border-color: rgba(190, 224, 203, 0.10);
  background: rgba(255, 255, 255, 0.025);
}

/* Administration — gleiche Fußballwelt, trotzdem sachlich */

.cf-admin-workspace,
.cf-statistics-host {
  background:
    radial-gradient(circle at 75% -10%, rgba(45, 224, 120, 0.08), transparent 32rem),
    #08110d;
}

.cf-admin-topbar {
  border-bottom-color: rgba(190, 224, 203, 0.10);
  background: rgba(7, 16, 12, 0.88);
  backdrop-filter: blur(20px);
}

.cf-admin-nav {
  border-right-color: rgba(190, 224, 203, 0.10);
  background: linear-gradient(180deg, #081811, #07110c);
}

.cf-admin-nav button {
  border-radius: 8px;
  color: #98aa9f;
}

.cf-admin-nav button:hover,
.cf-admin-nav button.active {
  color: #eafff0;
  background: linear-gradient(90deg, rgba(45, 224, 120, 0.16), rgba(45, 224, 120, 0.035));
  box-shadow: inset 3px 0 var(--lime);
}

.admin-metrics article,
.world-blueprint > div,
.admin-player-list,
.admin-entity-row > button,
.row-actions button,
.admin-player-row > button,
.cf-operation-grid > *,
.cf-quick-grid > *,
.cf-engine-setting {
  border-color: rgba(190, 224, 203, 0.10);
  background: rgba(255, 255, 255, 0.028);
}

.admin-modal,
.cf-modal,
.cf-reset-dialog {
  border-color: rgba(190, 224, 203, 0.16);
  border-radius: 16px;
  background: linear-gradient(150deg, #14231a, #0b1710);
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.48);
}

.admin-modal-backdrop,
.cf-modal-backdrop,
.cf-reset-overlay,
.cf-stats-modal-backdrop {
  background: rgba(1, 8, 4, 0.78);
  backdrop-filter: blur(10px);
}

.cf-engine-setting input[type="range"],
.intensity-editor input[type="range"],
.tactic-slider-compact input[type="range"] {
  accent-color: var(--lime);
}

/* Onboarding und Vereinswahl */

.onboarding-shell,
.unassigned-shell {
  background:
    radial-gradient(circle at 68% -10%, rgba(45, 224, 120, 0.11), transparent 34rem),
    linear-gradient(180deg, #07100c, #0a1510);
}

.onboarding-head,
.unassigned-topbar {
  border-color: rgba(190, 224, 203, 0.10);
  background: rgba(7, 16, 12, 0.88);
  backdrop-filter: blur(20px);
}

.onboarding-content,
.unassigned-content {
  background:
    linear-gradient(180deg, rgba(45, 224, 120, 0.025), transparent 320px),
    transparent;
}

.club-choice-grid article,
.league-choice-section,
.unassigned-hero,
.unassigned-status,
.unassigned-note {
  border-color: rgba(190, 224, 203, 0.10);
  background: linear-gradient(150deg, rgba(20, 35, 26, 0.97), rgba(10, 22, 15, 0.98));
}

.club-choice-grid article:hover,
.club-choice-grid article.selected {
  border-color: rgba(45, 224, 120, 0.42);
  background: linear-gradient(150deg, rgba(25, 53, 35, 0.98), rgba(10, 30, 18, 0.98));
}

/* Responsive */

@media (max-width: 1180px) {
  .entry-shell:has(.entry-stadium-story) {
    grid-template-columns: minmax(360px, 1fr) minmax(360px, 440px);
    gap: 34px;
  }

  .entry-story-copy h2 {
    font-size: clamp(40px, 5vw, 60px);
  }

  .sidebar {
    width: 232px;
  }

  .workspace {
    width: calc(100% - 232px);
    margin-left: 232px;
  }

  .lineup-layout {
    grid-template-columns: 1fr;
  }

  .tactics-panel {
    width: 100%;
  }
}

@media (max-width: 900px) {
  .entry-shell:has(.entry-stadium-story) {
    grid-template-columns: 1fr;
    place-items: center;
  }

  .entry-stadium-story {
    width: min(620px, 100%);
    padding: 0;
  }

  .entry-story-copy {
    padding: 42px 0 22px;
  }

  .entry-story-copy h2 {
    font-size: clamp(38px, 9vw, 62px);
  }

  .entry-match-card {
    display: none;
  }

  .sign-in-card {
    justify-self: center;
  }

  .sidebar {
    width: min(288px, 88vw);
  }

  .workspace {
    width: 100%;
    margin-left: 0;
  }

  .dashboard-grid {
    grid-template-columns: 1fr;
  }

  .football-pitch {
    height: 610px;
  }
}

@media (max-width: 620px) {
  .entry-shell {
    padding: 18px;
    background-position: 44% center;
  }

  .entry-stadium-story {
    display: none;
  }

  .entry-shell:has(.entry-stadium-story) {
    display: grid;
    grid-template-columns: 1fr;
    place-items: center;
  }

  .entry-card {
    padding: 26px 21px;
    border-radius: 15px;
  }

  .entry-card .entry-logo {
    margin-bottom: 26px;
  }

  .content,
  .module-content {
    padding: 18px 13px 28px;
  }

  .topbar {
    height: 60px;
    padding: 0 14px;
  }

  .module-header {
    min-height: 0;
    padding: 19px 17px;
  }

  .module-header-actions {
    grid-template-columns: 1fr;
  }

  .dashboard-hero {
    padding: 22px 18px;
  }

  .dashboard-identity {
    align-items: flex-start;
    gap: 13px;
  }

  .dashboard-club-crest {
    width: 62px !important;
    height: 62px !important;
    flex-basis: 62px;
  }

  .matchweek-strip {
    grid-template-columns: 112px minmax(0, 1fr);
  }

  .metrics-grid,
  .module-metrics,
  .lineup-summary,
  .training-overview,
  .club-balance,
  .transfer-stats {
    grid-template-columns: 1fr 1fr;
  }

  .football-pitch {
    height: 540px;
    margin: 8px;
  }

  .pitch-markings {
    inset: 10px;
  }

  .pitch-player {
    grid-template-columns: 31px minmax(0, 1fr);
    width: 80px;
    min-height: 54px;
    padding: 6px;
  }

  .pitch-player > .pitch-player-photo {
    width: 30px;
    height: 36px;
  }

  .pitch-player > .pitch-player-rating {
    top: -7px;
    left: 24px;
    width: 20px;
    height: 20px;
  }

  .pitch-player::after {
    right: 6px;
    left: 39px;
  }

  .pitch-player > strong {
    font-size: 8px;
  }

  .pitch-player > small {
    font-size: 6px;
  }

  .bench-strip {
    overflow-x: auto;
  }

  .live-conference-head {
    gap: 12px;
  }

  .live-conference-head > b {
    min-width: 105px;
    font-size: 22px;
  }

  .live-conference-checkpoints {
    overflow-x: auto;
  }

  .league-table,
  .roster-panel,
  .season-table {
    overflow-x: auto;
  }
}

/* v112 Visual Upgrade: Stadionbild, Broadcast-Flächen und mehr Fußballgrafik */

:root {
  --stadium-hero-image: url("/assets/clubforge-stadium-hero-v112.png");
}

body {
  background:
    linear-gradient(180deg, rgba(3, 8, 6, 0.72), rgba(3, 8, 6, 0.96) 58%, #06100c),
    var(--stadium-hero-image) center top / 100% auto no-repeat,
    #06100c;
}

body::before {
  background:
    radial-gradient(circle at 13% 4%, rgba(210, 241, 255, 0.24), transparent 18rem),
    radial-gradient(circle at 88% 7%, rgba(210, 241, 255, 0.22), transparent 18rem),
    linear-gradient(100deg, transparent 0 22%, rgba(255, 255, 255, 0.055) 29%, transparent 39% 61%, rgba(255, 255, 255, 0.05) 71%, transparent 80%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.011) 0 7.5%, transparent 7.5% 15%);
}

.entry-shell {
  background:
    linear-gradient(90deg, rgba(3, 9, 6, 0.2), rgba(3, 9, 6, 0.82)),
    linear-gradient(180deg, rgba(2, 8, 5, 0.08), rgba(2, 8, 5, 0.88)),
    var(--stadium-hero-image) center / cover no-repeat;
}

.manager-shell {
  background:
    linear-gradient(180deg, rgba(3, 8, 6, 0.66), rgba(5, 12, 8, 0.95) 360px, #06100c),
    var(--stadium-hero-image) center top / 100% auto no-repeat,
    #06100c;
}

.content::before,
.module-content::before {
  position: fixed;
  z-index: -1;
  inset: 0;
  content: "";
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 34%, rgba(45, 224, 120, 0.08), transparent 34rem),
    linear-gradient(180deg, transparent 0 42%, rgba(6, 43, 24, 0.32) 72%, rgba(3, 13, 8, 0.82));
}

.panel,
.pitch-panel,
.tactics-panel,
.roster-panel,
.match-detail,
.fixture-board,
.season-table,
.season-command,
.offer-panel,
.stadium-hero,
.club-profile-hero,
.player-profile-hero {
  position: relative;
  overflow: hidden;
  border-color: rgba(207, 244, 219, 0.16);
  background:
    linear-gradient(180deg, rgba(9, 22, 15, 0.92), rgba(7, 16, 11, 0.94)),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: auto, 46px 46px, 46px 46px;
  box-shadow: 0 22px 52px rgba(0, 0, 0, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.045);
}

.panel::before,
.pitch-panel::before,
.match-detail::before,
.fixture-board::before {
  position: absolute;
  inset: 0 0 auto;
  height: 72px;
  content: "";
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(45, 224, 120, 0.18), transparent 55%),
    radial-gradient(circle at 18% 0, rgba(255, 255, 255, 0.12), transparent 17rem);
  opacity: 0.9;
}

.dashboard-hero {
  min-height: 230px;
  background:
    linear-gradient(90deg, rgba(3, 9, 6, 0.87), rgba(3, 9, 6, 0.38)),
    var(--stadium-hero-image) center 58% / cover no-repeat;
}

.dashboard-hero::before {
  right: 3%;
  bottom: -88px;
  width: 480px;
  height: 250px;
  border-color: rgba(238, 255, 244, 0.22);
  box-shadow: 0 0 0 28px rgba(45, 224, 120, 0.025), inset 0 0 50px rgba(45, 224, 120, 0.04);
}

.matchweek-strip,
.dashboard-results,
.recent-transfer-row,
.fixture-board .matchcenter-fixture {
  background:
    linear-gradient(90deg, rgba(4, 18, 10, 0.92), rgba(6, 28, 15, 0.74)),
    repeating-linear-gradient(90deg, rgba(45, 224, 120, 0.045) 0 12%, rgba(255, 255, 255, 0.018) 12% 24%);
}

.football-pitch,
.live-lineup-pitch {
  background:
    radial-gradient(circle at 50% 50%, transparent 0 10%, rgba(255, 255, 255, 0.22) 10.3% 10.8%, transparent 11.1%),
    linear-gradient(90deg, transparent 49.6%, rgba(255, 255, 255, 0.2) 49.8% 50.2%, transparent 50.4%),
    repeating-linear-gradient(90deg, #096135 0 10%, #0d743f 10% 20%);
  box-shadow: inset 0 0 0 2px rgba(237, 255, 241, 0.4), inset 0 0 90px rgba(0, 0, 0, 0.28);
}

.football-pitch::before,
.live-lineup-pitch::before {
  border-color: rgba(255, 255, 255, 0.42) !important;
}

.live-conference {
  background:
    linear-gradient(180deg, rgba(2, 8, 5, 0.18), rgba(2, 8, 5, 0.88)),
    var(--stadium-hero-image) center 44% / cover no-repeat;
}

.live-conference-head {
  min-height: 124px;
  padding: 18px;
  border-radius: 14px;
  background:
    linear-gradient(90deg, rgba(4, 12, 8, 0.88), rgba(4, 12, 8, 0.52)),
    radial-gradient(circle at 82% 20%, rgba(45, 224, 120, 0.22), transparent 14rem);
  backdrop-filter: blur(8px);
}

.live-conference-head > b {
  min-width: 156px;
  padding: 15px 18px;
  border-radius: 13px;
  background:
    linear-gradient(180deg, rgba(4, 13, 8, 0.98), rgba(1, 6, 3, 0.98)),
    repeating-linear-gradient(0deg, rgba(45, 224, 120, 0.12) 0 2px, transparent 2px 5px);
  color: #f2fff6;
  font-size: 42px;
  text-shadow: 0 0 18px rgba(45, 224, 120, 0.34);
}

.live-conference-events {
  max-height: 370px;
  background:
    linear-gradient(180deg, rgba(2, 10, 5, 0.78), rgba(2, 10, 5, 0.92)),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 32px);
  backdrop-filter: blur(7px);
}

.timeline-event {
  background: rgba(3, 15, 8, 0.74);
}

.timeline-event.live_action {
  border-left: 3px solid rgba(129, 199, 255, 0.85);
}

.timeline-event.goal {
  border-left: 3px solid var(--lime);
  box-shadow: inset 0 0 0 1px rgba(45, 224, 120, 0.1);
}

.timeline-event.yellow,
.timeline-event.yellow_red {
  border-left: 3px solid #ffd057;
}

.timeline-event.red {
  border-left: 3px solid #ff7468;
}

.live-control-deck {
  background:
    linear-gradient(180deg, rgba(3, 14, 8, 0.92), rgba(2, 9, 5, 0.96)),
    radial-gradient(circle at 0 0, rgba(45, 224, 120, 0.18), transparent 20rem);
  backdrop-filter: blur(8px);
}

@media (max-width: 760px) {
  body,
  .manager-shell {
    background-size: auto 360px, auto;
  }

  .dashboard-hero,
  .live-conference-head {
    min-height: 190px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
