:root {
  --bg: #eee5d7;
  --surface: #fcf9f4;
  --surface-strong: #ffffff;
  --text: #231f20;
  --text-rgb: 35, 31, 32;
  --muted: #566476;
  --line: rgba(var(--text-rgb), 0.12);
  --primary: #2f5fa8;
  --primary-rgb: 47, 95, 168;
  --primary-dark: #1f4179;
  --primary-deep: #224989;
  --primary-soft: #e3ecf8;
  --accent: #d7e4f4;
  --shadow: 0 18px 38px rgba(35, 31, 32, 0.09);
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 10px;
  --max-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Trebuchet MS", "Segoe UI", sans-serif;
  color: var(--text);
  padding-bottom: 108px;
  background:
    linear-gradient(rgba(var(--primary-rgb), 0.03), rgba(var(--primary-rgb), 0.03)),
    repeating-linear-gradient(
      90deg,
      rgba(var(--primary-rgb), 0.022) 0,
      rgba(var(--primary-rgb), 0.022) 1px,
      transparent 1px,
      transparent 138px
    ),
    linear-gradient(180deg, #f8f4ec 0%, var(--bg) 100%);
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.site-shell {
  min-height: 100vh;
}

.container {
  width: min(var(--max-width), calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(8px);
  background: rgba(250, 247, 242, 0.94);
  border-bottom: 1px solid rgba(var(--text-rgb), 0.1);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 78px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.brand-mark {
  width: 54px;
  height: 58px;
  flex: 0 0 auto;
  object-fit: contain;
}

.brand-copy strong,
.brand-copy span {
  display: block;
}

.brand-copy strong {
  font-size: 1.04rem;
  letter-spacing: 0.02em;
}

.brand-copy span {
  color: var(--primary-dark);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.nav-toggle {
  display: none;
  border: 0;
  background: var(--surface-strong);
  color: var(--text);
  width: 48px;
  height: 48px;
  border-radius: 14px;
  box-shadow: var(--shadow);
  cursor: pointer;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 10px;
}

.site-nav a {
  padding: 12px 14px;
  border-radius: 12px;
  color: var(--muted);
  font-weight: 700;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--primary-dark);
  background: rgba(var(--primary-rgb), 0.08);
  box-shadow: inset 0 0 0 1px rgba(var(--primary-rgb), 0.06);
  transform: translateY(-1px);
}

.page-hero {
  padding: 84px 0 40px;
}

.page-hero-compact {
  padding: 46px 0 12px;
}

.hero-card,
.panel,
.cta-band {
  background: var(--surface-strong);
  border: 1px solid rgba(var(--text-rgb), 0.08);
  box-shadow: var(--shadow);
}

.hero-card {
  border-radius: var(--radius-lg);
  padding: 42px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 28px;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-card::after,
.panel::after,
.cta-band::after {
  content: none;
}

.hero-card-compact {
  grid-template-columns: minmax(0, 1.2fr) auto;
  align-items: end;
  gap: 20px;
  padding: 30px 34px 26px;
}

.hero-card-compact h1 {
  max-width: none;
  font-size: clamp(2.9rem, 4.8vw, 4.6rem);
}

.hero-card-compact .lead {
  margin-top: 12px;
  max-width: none;
  font-size: 1rem;
  line-height: 1.62;
  white-space: nowrap;
}

.hero-card-compact .club-facts-inline {
  margin-top: 0;
  justify-content: flex-end;
  align-self: center;
  max-width: 380px;
}

.squad-page-hero {
  padding: 28px 0 4px;
}

.squad-hero-card {
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
  padding: 22px 28px 20px;
  border-radius: 28px;
}

.squad-hero-card::before {
  width: 10px;
}

.squad-hero-card h1 {
  font-size: clamp(2.3rem, 4vw, 3.4rem);
  max-width: none;
}

.squad-hero-card .eyebrow {
  margin-bottom: 8px;
}

.squad-hero-card .lead {
  margin-top: 4px;
  font-size: 0.98rem;
  line-height: 1.4;
  white-space: normal;
}

.squad-hero-copy {
  max-width: 780px;
}

.squad-hero-actions {
  align-items: center;
  gap: 14px 16px;
  margin-top: 12px;
}

.squad-hero-switcher {
  margin-top: 0;
}

.squad-hero-switcher .team-switcher-button {
  min-height: 52px;
  min-width: 172px;
  border-radius: 18px;
}

.hero-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 10px;
  background: var(--primary);
}

.eyebrow {
  display: inline-block;
  margin-bottom: 12px;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 800;
  color: var(--primary);
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.05;
}

h1 {
  font-size: clamp(2.6rem, 5vw, 5rem);
  max-width: 10ch;
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: -0.03em;
}

h2 {
  font-size: clamp(1.8rem, 3.4vw, 2.8rem);
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: -0.02em;
}

h3 {
  font-size: 1.28rem;
}

.lead {
  margin: 18px 0 0;
  max-width: 58ch;
  font-size: 1.08rem;
  line-height: 1.75;
  color: var(--muted);
}

.hero-actions,
.link-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 24px;
}

.floating-instagram-link {
  position: fixed;
  right: 28px;
  bottom: 24px;
  z-index: 30;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  min-width: 168px;
  max-width: min(182px, calc(100vw - 28px));
  padding: 9px 12px;
  border-radius: 20px;
  background: rgba(251, 253, 255, 0.98);
  border: 1px solid rgba(193, 53, 132, 0.16);
  box-shadow:
    0 12px 22px rgba(var(--text-rgb), 0.12),
    0 0 0 1px rgba(255, 255, 255, 0.55) inset;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  overflow: hidden;
}

.floating-instagram-copy {
  display: grid;
  gap: 2px;
  position: relative;
  z-index: 1;
}

.floating-instagram-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 34px rgba(19, 36, 58, 0.16);
}

.floating-instagram-link strong {
  font-size: 0.68rem;
  line-height: 1.2;
  color: var(--primary-dark);
}

.floating-instagram-kicker {
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  color: #833ab4;
  background: linear-gradient(135deg, #f58529 0%, #f56040 22%, #fd1d1d 45%, #c13584 68%, #833ab4 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.button,
.button-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  appearance: none;
  -webkit-appearance: none;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.button {
  background: linear-gradient(180deg, var(--primary), var(--primary-deep));
  color: #fff;
  box-shadow: 0 12px 24px rgba(var(--primary-rgb), 0.22);
}

.button-secondary {
  background: linear-gradient(180deg, var(--primary), var(--primary-deep));
  border: 1px solid transparent;
  color: #fff;
  box-shadow: 0 12px 24px rgba(var(--primary-rgb), 0.22);
}

.button:hover,
.button-secondary:hover {
  transform: translateY(-2px);
}

.hero-side {
  min-height: 380px;
  border-radius: 22px;
  padding: 26px;
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.12), transparent 32%),
    linear-gradient(165deg, var(--primary) 0%, var(--primary-deep) 72%);
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 24px;
  justify-content: flex-start;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.hero-logo-shell {
  width: min(188px, 46%);
  margin-top: auto;
  align-self: flex-end;
  padding: 10px;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(232, 238, 248, 0.96));
  box-shadow: 0 14px 28px rgba(9, 45, 78, 0.14);
  line-height: 0;
}

.hero-logo {
  width: 100%;
  height: auto;
  display: block;
  background: transparent;
  box-shadow: none;
}

.hero-side h3,
.hero-side p {
  color: #fff;
}

.hero-side h3 {
  margin: 0 0 12px;
  line-height: 1.15;
}

.hero-side p {
  margin: 0;
  line-height: 1.6;
}

.hero-badge {
  width: fit-content;
  padding: 8px 12px;
  margin-bottom: 20px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-weight: 700;
}

.motto {
  margin: 0 0 16px;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary-dark);
}

.stat-grid,
.card-grid,
.info-grid,
.contact-grid,
.matchcenter-grid {
  display: grid;
  gap: 18px;
}

.stat-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 22px;
}

.card-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.info-grid,
.contact-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.matchcenter-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.stat,
.card,
.panel {
  border-radius: var(--radius-md);
}

.stat,
.card {
  padding: 24px;
  background: var(--surface-strong);
  border: 1px solid var(--line);
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 140px;
  padding: 20px 10px;
}

.card,
.stat,
.panel {
  position: relative;
}

.card,
.panel {
  overflow: hidden;
}

.card::before,
.panel::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 6px;
  border-radius: calc(var(--radius-md) - 2px) calc(var(--radius-md) - 2px) 0 0;
  background: var(--primary);
}

.stat strong {
  display: block;
  font-size: clamp(1.2rem, 1.5vw, 1.55rem);
  color: var(--primary-dark);
  text-align: center;
  line-height: 1.1;
  margin: 0;
  max-width: 100%;
  width: 100%;
  letter-spacing: -0.02em;
}

.stat span,
.card p,
.panel p,
.list,
.mini-note {
  color: var(--muted);
  line-height: 1.7;
}

.stat span {
  text-align: center;
  margin-top: 6px;
  width: 100%;
  font-size: 0.95rem;
}

.section {
  padding: 28px 0 72px;
}

.section-head {
  max-width: 60ch;
  margin-bottom: 24px;
}

.squad-page-title {
  max-width: none;
  font-size: clamp(2.2rem, 3.8vw, 3.9rem);
  line-height: 1.02;
  letter-spacing: -0.035em;
  white-space: nowrap;
}

.section-head p {
  margin: 14px 0 0;
  color: var(--muted);
  line-height: 1.75;
}

.panel {
  padding: 30px;
}

.panel-topline {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.panel-action {
  flex: 0 0 auto;
}

.panel-action-calendar {
  min-height: 52px;
  padding: 0 22px;
  box-shadow: 0 4px 0 rgba(31, 36, 48, 0.14);
}

.panel-note {
  margin: -4px 0 16px;
  color: var(--muted);
  line-height: 1.65;
}

.matchcenter-overview {
  margin-bottom: 18px;
}

.matchcenter-countdown {
  margin-bottom: 18px;
}

.matchday-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 0;
  padding: 16px;
  border-radius: 12px;
  background: linear-gradient(160deg, var(--primary) 0%, var(--primary-deep) 82%);
  border: 1px solid rgba(31, 36, 48, 0.14);
  box-shadow: 0 10px 22px rgba(31, 36, 48, 0.1);
  overflow: hidden;
}

.matchday-offseason-panel {
  padding: 22px 24px;
  border-radius: 10px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.97), rgba(240, 244, 249, 0.9)),
    var(--surface-strong);
  color: var(--text);
  border: 1px solid rgba(31, 36, 48, 0.12);
  box-shadow:
    inset 5px 0 0 var(--primary),
    0 6px 16px rgba(31, 36, 48, 0.08);
}

.matchday-offseason-copy {
  max-width: 34rem;
}

.matchday-offseason-title {
  display: block;
  font-size: clamp(1.75rem, 3.4vw, 2.8rem);
  line-height: 1.04;
  letter-spacing: -0.035em;
  font-family: Georgia, "Times New Roman", serif;
  color: var(--text);
}

.matchday-spotlight {
  display: block;
  min-height: 100%;
  padding: 14px 18px 14px 14px;
  border-radius: 10px;
  background: rgba(18, 29, 49, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #fff;
  overflow: hidden;
  position: relative;
}

.matchday-spotlight::after {
  content: none;
}

.matchday-copy {
  position: relative;
  z-index: 1;
}

.matchday-status-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 12px;
}

.matchday-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #fff;
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.matchday-chip-soft {
  background: rgba(255, 255, 255, 0.18);
}

.matchday-opponent {
  display: block;
  font-size: clamp(1.8rem, 3vw, 2.7rem);
  line-height: 1.04;
  letter-spacing: -0.03em;
  font-family: Georgia, "Times New Roman", serif;
}

.matchday-live {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px 14px;
  margin: 14px 0 0;
  padding: 10px 14px;
  border-radius: 14px;
  background: rgba(var(--text-rgb), 0.22);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.matchday-live-label,
.matchday-live-note {
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.matchday-live-score {
  color: #fff;
  font-size: clamp(1.5rem, 2.2vw, 2rem);
  line-height: 1;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.matchday-live.is-live .matchday-live-label {
  color: #d8f0ff;
}

.matchday-live.is-pending .matchday-live-score {
  color: rgba(255, 255, 255, 0.86);
}

.matchday-fixture {
  margin: 8px 0 0;
  max-width: 28ch;
  color: rgba(255, 255, 255, 0.98);
  font-size: 1.06rem;
  font-weight: 700;
  line-height: 1.5;
  text-shadow: 0 1px 10px rgba(var(--text-rgb), 0.2);
}

.matchday-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 16px;
}

.matchday-route-button {
  min-width: 150px;
  justify-content: center;
}

.matchday-tippspiel-button {
  min-width: 172px;
  padding: 10px 20px;
  align-items: flex-start;
  flex-direction: column;
  gap: 2px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.06)),
    rgba(43, 79, 145, 0.34);
  color: #fff;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    0 14px 24px rgba(var(--text-rgb), 0.2);
  backdrop-filter: blur(4px);
}

.matchday-tippspiel-button span,
.matchday-tippspiel-button strong {
  display: block;
  line-height: 1.15;
}

.matchday-tippspiel-button span {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(239, 245, 255, 0.92);
}

.matchday-tippspiel-button strong {
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: -0.01em;
}

.matchday-tippspiel-button:hover {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.08)),
    rgba(43, 79, 145, 0.48);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.24),
    0 18px 28px rgba(var(--text-rgb), 0.24);
}

@keyframes matchday-ball-run {
  0% {
    transform: translateX(0) translateY(0) rotate(0deg);
  }

  20% {
    transform: translateX(120px) translateY(2px) rotate(360deg);
  }

  45% {
    transform: translateX(260px) translateY(15px) rotate(810deg);
  }

  70% {
    transform: translateX(420px) translateY(6px) rotate(1260deg);
  }

  100% {
    transform: translateX(640px) translateY(0) rotate(1800deg);
  }
}

.penalty-panel {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(0, 1.4fr);
  gap: 24px;
  align-items: center;
}

.penalty-copy h3 {
  margin-bottom: 12px;
}

.penalty-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

.penalty-status {
  margin-top: 16px;
  min-height: 28px;
  color: var(--primary-dark);
  font-weight: 700;
}

.penalty-field {
  position: relative;
  min-height: 420px;
  border-radius: 24px;
  overflow: hidden;
  background: linear-gradient(180deg, #dbe7f5 0 42%, #2f8f56 42% 100%);
  border: 1px solid rgba(var(--text-rgb), 0.08);
}

.penalty-field::before {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 58%;
  background:
    linear-gradient(rgba(255, 255, 255, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 100% 52px, 64px 100%;
  opacity: 0.35;
}

.penalty-goal {
  position: absolute;
  top: 42px;
  left: 50%;
  width: min(82%, 520px);
  height: 178px;
  transform: translateX(-50%);
  border: 8px solid #fff;
  border-bottom-width: 10px;
  border-radius: 12px 12px 0 0;
  background: rgba(255, 255, 255, 0.14);
  box-shadow: 0 18px 32px rgba(var(--text-rgb), 0.16);
}

.penalty-net {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(255, 255, 255, 0.4) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.32) 1px, transparent 1px);
  background-size: 100% 20px, 28px 100%;
  opacity: 0.85;
}

.penalty-keeper {
  position: absolute;
  left: 50%;
  bottom: 18px;
  width: 84px;
  height: 78px;
  transform: translateX(-50%);
  transition: transform 380ms ease;
  z-index: 2;
}

.penalty-keeper.is-left {
  transform: translateX(-160%);
}

.penalty-keeper.is-right {
  transform: translateX(60%);
}

.penalty-keeper-head {
  position: absolute;
  top: 0;
  left: 50%;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #ffd2b3;
  transform: translateX(-50%);
}

.penalty-keeper-body {
  position: absolute;
  left: 50%;
  top: 18px;
  width: 54px;
  height: 48px;
  border-radius: 18px 18px 8px 8px;
  background: #f6b31f;
  border: 3px solid var(--text);
  transform: translateX(-50%);
}

.penalty-keeper-body::before,
.penalty-keeper-body::after {
  content: "";
  position: absolute;
  top: 10px;
  width: 28px;
  height: 8px;
  border-radius: 999px;
  background: var(--text);
}

.penalty-keeper-body::before {
  left: -18px;
  transform: rotate(26deg);
}

.penalty-keeper-body::after {
  right: -18px;
  transform: rotate(-26deg);
}

.penalty-target {
  position: absolute;
  left: calc(var(--target-x, 50%) - 18px);
  top: calc(var(--target-y, 52%) - 18px);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.92);
  background: rgba(var(--primary-rgb), 0.44);
  box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.12);
  cursor: crosshair;
  z-index: 3;
}

.penalty-target::before,
.penalty-target::after {
  content: "";
  position: absolute;
  background: rgba(255, 255, 255, 0.92);
}

.penalty-target::before {
  inset: 50% 8px auto;
  height: 2px;
  transform: translateY(-50%);
}

.penalty-target::after {
  inset: 8px auto 8px 50%;
  width: 2px;
  transform: translateX(-50%);
}

.penalty-ball {
  position: absolute;
  left: 50%;
  bottom: 46px;
  z-index: 4;
  font-size: 2.9rem;
  line-height: 1;
  transform: translate(-50%, 0) translate(0, 0) scale(1);
  transform-origin: center;
}

.penalty-ball.is-shot {
  transition:
    transform 650ms cubic-bezier(0.2, 0.86, 0.24, 1);
  transform: translate(-50%, 0) translate(var(--shot-x, 0), var(--shot-y, 0)) scale(0.56) rotate(540deg);
}

.penalty-ball.is-resetting {
  transition: transform 260ms ease;
}

.penalty-spot {
  position: absolute;
  left: 50%;
  bottom: 62px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, 0.95);
}

.countdown-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  align-content: start;
  padding: 14px 14px 14px 18px;
  border-radius: 18px;
  background: rgba(251, 253, 255, 0.97);
  border-left: 1px solid rgba(255, 255, 255, 0.22);
}

.countdown-label {
  margin: 0 0 8px;
  color: rgba(var(--text-rgb), 0.72);
  font-size: 0.84rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.countdown-meta {
  display: block;
  line-height: 1.35;
}

.countdown-meta {
  font-size: 1rem;
  color: var(--text);
  font-weight: 700;
}

.countdown-meta-card {
  padding: 2px 0;
}

.countdown-timer {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 4px;
}

.countdown-timer.is-message {
  grid-template-columns: minmax(0, 1fr);
}

.countdown-timer span {
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(var(--primary-rgb), 0.08);
  border: 1px solid rgba(var(--primary-rgb), 0.12);
  color: var(--primary-dark);
  font-weight: 800;
  text-align: center;
}

.countdown-timer.is-message span {
  padding: 16px 18px;
  text-align: left;
  line-height: 1.6;
}

.match-weather {
  grid-column: 1 / -1;
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(var(--primary-rgb), 0.05);
  border: 1px solid rgba(var(--primary-rgb), 0.12);
}

.match-weather[hidden] {
  display: none;
}

.tip-game-card {
  grid-column: 1 / -1;
  padding: 16px;
  border-radius: 16px;
  background: rgba(var(--primary-rgb), 0.07);
  border: 1px solid rgba(var(--primary-rgb), 0.14);
}

.tip-game-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.tip-game-head h3 {
  margin: 0;
  font-size: 1.15rem;
}

.tip-game-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(var(--primary-rgb), 0.14);
  color: var(--primary-dark);
  font-size: 0.8rem;
  font-weight: 800;
}

.tip-game-fixture {
  margin: 12px 0 0;
  color: var(--primary-dark);
  font-size: 1.02rem;
  font-weight: 800;
  line-height: 1.45;
}

.tip-game-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 12px;
  align-items: end;
  margin-top: 16px;
}

.tip-score-field {
  display: grid;
  gap: 8px;
}

.tip-score-field span {
  color: rgba(var(--text-rgb), 0.72);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.tip-score-field input {
  width: 100%;
  min-height: 54px;
  padding: 0 16px;
  border: 1px solid rgba(var(--primary-rgb), 0.16);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.95);
  color: var(--primary-dark);
  font-size: 1.35rem;
  font-weight: 800;
  text-align: center;
}

.tip-score-field input:disabled {
  opacity: 0.68;
  cursor: not-allowed;
}

.tip-score-divider {
  padding-bottom: 14px;
  color: var(--primary-dark);
  font-size: 1.55rem;
  font-weight: 900;
  line-height: 1;
}

.tip-game-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 16px;
}

.tip-game-reset {
  box-shadow: inset 0 0 0 1px rgba(var(--primary-rgb), 0.22);
}

.tip-game-reset:hover,
.tip-game-reset:focus-visible {
  background: rgba(var(--primary-rgb), 0.08);
}

.tip-game-note {
  margin: 14px 0 0;
  color: var(--muted);
  line-height: 1.6;
}

.match-weather-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.match-weather-head .countdown-label {
  margin-bottom: 0;
}

.match-weather-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(var(--primary-rgb), 0.12);
  color: var(--primary-dark);
  font-size: 0.8rem;
  font-weight: 800;
}

.match-weather-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 14px;
  align-items: center;
}

.match-weather-main {
  display: grid;
  gap: 4px;
}

.match-weather-main strong {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  line-height: 1;
  color: var(--primary-dark);
  letter-spacing: -0.03em;
  font-family: Georgia, "Times New Roman", serif;
}

.match-weather-main span,
.match-weather-meta span {
  color: var(--muted);
}

.match-weather-meta {
  display: grid;
  gap: 8px;
  justify-items: end;
  text-align: right;
  font-weight: 700;
}

.widget-panel {
  padding-bottom: 22px;
}

.widget-frame {
  display: flex;
  justify-content: center;
  padding: 14px;
  border-radius: 14px;
  background: var(--surface-strong);
  border: 1px solid rgba(var(--primary-rgb), 0.12);
  overflow: auto;
}

.widget-frame > div {
  min-width: 300px;
}

.tippspiel-top-grid {
  align-items: start;
}

.tippspiel-board-grid {
  margin-top: 20px;
}

.tippspiel-panel,
.tippspiel-card {
  background:
    linear-gradient(180deg, rgba(var(--primary-rgb), 0.05), rgba(var(--primary-rgb), 0)),
    var(--surface);
}

.tippspiel-setup-panel {
  margin-bottom: 20px;
}

.tippspiel-auth-panel {
  margin-bottom: 20px;
}

.tippspiel-register-panel {
  margin-bottom: 20px;
}

.tippspiel-register-toggle {
  align-self: start;
}

.tippspiel-register-panel[hidden] {
  display: none;
}

.tippspiel-register-content {
  margin-top: 0;
}

.tippspiel-status-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(var(--primary-rgb), 0.12);
  color: var(--primary-dark);
  font-size: 0.82rem;
  font-weight: 800;
}

.tippspiel-match-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 22px;
}

.tippspiel-meta-chip {
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(var(--primary-rgb), 0.07);
  border: 1px solid rgba(var(--primary-rgb), 0.12);
}

.tippspiel-meta-chip strong,
.tippspiel-meta-chip span {
  display: block;
}

.tippspiel-meta-chip strong {
  margin-bottom: 6px;
  color: rgba(var(--text-rgb), 0.68);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.tippspiel-meta-chip span {
  color: var(--primary-dark);
  font-weight: 700;
  line-height: 1.45;
}

.tippspiel-meta-chip-wide {
  grid-column: 1 / -1;
}

.tippspiel-form {
  margin-top: 24px;
}

.tippspiel-name-row {
  margin-bottom: 16px;
}

.tippspiel-field,
.tippspiel-score-card {
  display: grid;
  gap: 8px;
}

.tippspiel-field span,
.tippspiel-score-card span {
  color: rgba(var(--text-rgb), 0.72);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.tippspiel-field input,
.tippspiel-score-card input {
  width: 100%;
  min-height: 54px;
  padding: 0 16px;
  border: 1px solid rgba(var(--primary-rgb), 0.16);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.96);
  color: var(--primary-dark);
  font: inherit;
}

.tippspiel-score-card input {
  font-size: 1.4rem;
  font-weight: 800;
  text-align: center;
}

.tippspiel-score-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 14px;
  align-items: end;
}

.tippspiel-score-divider {
  padding-bottom: 14px;
  color: var(--primary-dark);
  font-size: 1.8rem;
  font-weight: 900;
  line-height: 1;
}

.tippspiel-form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.tippspiel-feedback {
  margin: 14px 0 0;
  color: var(--muted);
  line-height: 1.6;
}

.tippspiel-feedback.is-error {
  color: #9b1c1c;
}

.tippspiel-feedback.is-success {
  color: var(--primary-dark);
}

@media (max-width: 720px) {
  .tippspiel-panel[data-tip-register-panel] .panel-topline {
    align-items: stretch;
    flex-direction: column;
    gap: 12px;
  }

  .tippspiel-register-toggle {
    width: 100%;
    justify-content: center;
  }
}

.tippspiel-field input[readonly] {
  background: rgba(var(--primary-rgb), 0.05);
  color: rgba(var(--text-rgb), 0.78);
  cursor: default;
}

.tippspiel-table-wrap {
  max-height: 26rem;
  overflow-y: auto;
  overflow-x: hidden;
  margin-top: 12px;
  padding-right: 6px;
  border-radius: 16px;
  border: 1px solid rgba(var(--primary-rgb), 0.12);
  background: rgba(255, 255, 255, 0.85);
  scrollbar-width: thin;
  scrollbar-color: rgba(var(--primary-rgb), 0.7) rgba(var(--primary-rgb), 0.1);
}

.tippspiel-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

.tippspiel-table-wrap::-webkit-scrollbar {
  width: 10px;
}

.tippspiel-table-wrap::-webkit-scrollbar-track {
  border-radius: 999px;
  background: rgba(var(--primary-rgb), 0.1);
}

.tippspiel-table-wrap::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(var(--primary-rgb), 0.72);
  border: 2px solid rgba(255, 255, 255, 0.85);
}

.tippspiel-table-wrap::-webkit-scrollbar-thumb:hover {
  background: rgba(43, 79, 145, 0.82);
}

.tippspiel-table th,
.tippspiel-table td {
  padding: 12px 14px;
  text-align: left;
  border-bottom: 1px solid rgba(var(--primary-rgb), 0.1);
  word-break: break-word;
}

.tippspiel-table th {
  position: sticky;
  top: 0;
  z-index: 1;
  background: rgba(255, 255, 255, 0.96);
  color: rgba(var(--text-rgb), 0.72);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.tippspiel-table th:nth-child(1),
.tippspiel-table td:nth-child(1) {
  width: 12%;
}

.tippspiel-table th:nth-child(2),
.tippspiel-table td:nth-child(2) {
  width: 38%;
}

.tippspiel-table th:nth-child(3),
.tippspiel-table td:nth-child(3),
.tippspiel-table th:nth-child(4),
.tippspiel-table td:nth-child(4),
.tippspiel-table th:nth-child(5),
.tippspiel-table td:nth-child(5) {
  width: 16.5%;
}

.tippspiel-table tbody tr:last-child td {
  border-bottom: 0;
}

.tippspiel-tip-list,
.tippspiel-result-list {
  display: grid;
  gap: 12px;
  margin-top: 14px;
}

.tippspiel-list-scroll {
  max-height: 34rem;
  overflow-y: auto;
  padding-right: 10px;
  scrollbar-width: thin;
  scrollbar-color: rgba(var(--primary-rgb), 0.7) rgba(var(--primary-rgb), 0.1);
}

.tippspiel-list-scroll::-webkit-scrollbar {
  width: 10px;
}

.tippspiel-list-scroll::-webkit-scrollbar-track {
  border-radius: 999px;
  background: rgba(var(--primary-rgb), 0.1);
}

.tippspiel-list-scroll::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(var(--primary-rgb), 0.72);
  border: 2px solid rgba(255, 255, 255, 0.85);
}

.tippspiel-list-scroll::-webkit-scrollbar-thumb:hover {
  background: rgba(43, 79, 145, 0.82);
}

.tippspiel-tip-item,
.tippspiel-result-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(var(--primary-rgb), 0.07);
  border: 1px solid rgba(var(--primary-rgb), 0.12);
}

.tippspiel-tip-item strong,
.tippspiel-result-item strong {
  color: var(--primary-dark);
}

.tippspiel-tip-item span,
.tippspiel-result-item span {
  color: var(--muted);
}

.tippspiel-result-item > div:first-child {
  display: grid;
  gap: 6px;
}

.tippspiel-result-score {
  display: grid;
  gap: 6px;
  justify-items: end;
  text-align: right;
}

.tippspiel-empty {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.shop-panel {
  overflow: hidden;
}

.shop-frame {
  width: 100%;
  min-height: 980px;
  border: 0;
  border-radius: 14px;
  background: var(--surface-strong);
}

.widget-fallback {
  min-height: 180px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  text-align: center;
  color: var(--muted);
  line-height: 1.6;
  padding: 22px;
}

.widget-fallback p {
  margin: 0;
  max-width: 34ch;
}

.membership-panel {
  display: grid;
  gap: 18px;
}

.membership-panel h2,
.membership-panel p {
  margin: 0;
}

.pdf-frame {
  overflow: hidden;
  min-height: 760px;
  border-radius: 16px;
  border: 1px solid rgba(var(--primary-rgb), 0.12);
  background: var(--surface-strong);
}

.pdf-frame iframe {
  width: 100%;
  min-height: 760px;
  border: 0;
  background: var(--surface-strong);
}

.social-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.social-card {
  display: grid;
  align-content: start;
  gap: 14px;
}

.social-card h3,
.social-card p {
  margin: 0;
}

.social-preview {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(var(--primary-rgb), 0.12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.social-preview-instagram {
  background: linear-gradient(135deg, #833ab4 0%, #e1306c 48%, #fcb045 100%);
}

.social-preview-facebook {
  background: #1877f2;
}

.social-preview-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  color: #fff;
  font-size: 0.88rem;
  font-weight: 700;
}

.social-preview-body {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 160px;
  padding: 22px 18px 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.05));
}

.social-preview-body img {
  width: 84px;
  height: 84px;
  object-fit: contain;
  padding: 8px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 14px 26px rgba(10, 22, 41, 0.16);
}

.social-preview-copy {
  display: grid;
  gap: 8px;
  color: #fff;
}

.social-preview-copy strong,
.social-preview-copy span {
  display: block;
}

.social-preview-copy strong {
  font-size: 1.05rem;
}

.social-preview-copy span {
  line-height: 1.5;
  opacity: 0.95;
}

.list {
  margin: 16px 0 0;
  padding-left: 18px;
}

.list li + li {
  margin-top: 10px;
}

.cta-band {
  border-radius: var(--radius-lg);
  padding: 34px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.site-footer {
  padding: 24px 0 40px;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  color: var(--muted);
}

.footer-copy {
  color: var(--muted);
  font-size: 0.95rem;
}

.text-link {
  color: var(--primary);
  font-weight: 700;
}

.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.pill {
  padding: 10px 14px;
  border-radius: 10px;
  background: var(--accent);
  color: var(--primary-dark);
  font-weight: 700;
}

.story-panel {
  background:
    linear-gradient(180deg, rgba(var(--primary-rgb), 0.05), rgba(var(--primary-rgb), 0)),
    var(--surface);
}

.story-timeline {
  display: grid;
  gap: 16px;
  margin-top: 6px;
}

.story-step {
  position: relative;
  padding: 0 0 0 22px;
}

.story-step::before {
  content: "";
  position: absolute;
  top: 7px;
  left: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 0 6px rgba(var(--primary-rgb), 0.12);
}

.story-step + .story-step {
  border-top: 1px solid rgba(var(--text-rgb), 0.08);
  padding-top: 16px;
}

.story-step strong {
  display: block;
  margin-bottom: 8px;
  color: var(--primary-dark);
  font-size: 1.02rem;
}

.story-step p,
.club-highlights li {
  margin: 0;
  color: var(--muted);
  line-height: 1.72;
}

.club-highlights {
  margin: 18px 0 0;
  padding-left: 20px;
}

.club-highlights.compact {
  margin-top: 10px;
}

.club-highlights li + li {
  margin-top: 10px;
}

.chronicle-longform {
  margin-top: 28px;
}

.club-intro-grid {
  align-items: stretch;
  margin-bottom: 34px;
}

.club-intro-panel {
  background:
    linear-gradient(180deg, rgba(var(--primary-rgb), 0.07), rgba(var(--primary-rgb), 0)),
    var(--surface);
}

.club-intro-panel .lead {
  margin: 0;
}

.club-side-card p {
  margin: 8px 0 18px;
}

.club-facts-inline {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.club-story-head {
  margin-top: 6px;
}

.chronicle-accordion summary {
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: -0.01em;
}

.chronicle-accordion p + p {
  margin-top: 14px;
}

.chronicle-gallery {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 16px;
  margin: 14px 0 20px;
}

.chronicle-gallery-anniversary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  justify-content: start;
  gap: 18px;
}

.chronicle-figure {
  margin: 0;
  display: grid;
  gap: 10px;
  width: 240px;
}

.chronicle-gallery-anniversary .chronicle-figure {
  width: auto;
}

.chronicle-figure img {
  width: 100%;
  max-width: 240px;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
  border-radius: 16px;
  border: 1px solid rgba(var(--text-rgb), 0.08);
  box-shadow: 0 12px 22px rgba(var(--text-rgb), 0.1);
  background: #f4f6f8;
}

.chronicle-figure figcaption {
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.5;
  color: var(--primary-dark);
}

.stats-table-wrapper {
  overflow: auto;
  max-height: 640px;
  margin-top: 24px;
  border-radius: 24px;
  border: 1px solid rgba(var(--text-rgb), 0.08);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 16px 34px rgba(var(--text-rgb), 0.08);
}

.stats-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}

.stats-table th {
  position: sticky;
  top: 0;
  z-index: 1;
  text-align: left;
  padding: 0.8rem 1rem;
  border-bottom: 2px solid rgba(var(--primary-rgb), 0.22);
  color: var(--primary-dark);
  font-weight: 700;
  white-space: nowrap;
  background: rgba(232, 239, 249, 0.82);
}

.stats-table td {
  padding: 0.72rem 1rem;
  border-bottom: 1px solid rgba(var(--text-rgb), 0.08);
  vertical-align: middle;
}

.stats-table tbody tr:nth-child(even) {
  background-color: rgba(247, 249, 252, 0.88);
}

.stats-table tbody tr:hover {
  background-color: rgba(238, 242, 248, 0.94);
}

.stats-table td:first-child {
  font-weight: 700;
  white-space: nowrap;
}

.sport-offer-grid {
  margin-top: 24px;
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.sport-offer-card {
  min-height: 112px;
  padding: 18px 20px;
}

.sport-offer-card h3 {
  margin: 0;
  max-width: none;
  line-height: 1.2;
}

.club-copy-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

.club-card-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.club-copy-card {
  background:
    linear-gradient(180deg, rgba(var(--primary-rgb), 0.05), rgba(var(--primary-rgb), 0)),
    var(--surface-strong);
}

.club-copy-card p {
  margin: 8px 0 0;
}

.club-copy-card .club-highlights {
  margin-top: 16px;
}

.club-copy-block p {
  margin: 0;
  color: var(--muted);
  line-height: 1.78;
}

.club-copy-block p + p {
  margin-top: 16px;
}

.footer-copy strong {
  color: var(--primary-dark);
}

.legal-copy p {
  margin: 0 0 16px;
  line-height: 1.75;
  color: var(--muted);
}

.legal-copy h1 {
  max-width: none;
  font-size: clamp(1.9rem, 3vw, 3rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.legal-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin: 24px 0 28px;
}

.legal-grid .card h3,
.legal-grid .card p {
  margin: 0;
}

.legal-grid .card {
  display: grid;
  gap: 12px;
}

.legal-accordion {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface-strong);
  padding: 0 22px;
}

.legal-accordion + .legal-accordion {
  margin-top: 14px;
}

.legal-accordion summary {
  cursor: pointer;
  list-style: none;
  padding: 20px 0;
  font-size: 1.08rem;
  font-weight: 800;
  color: var(--primary-dark);
}

.legal-accordion summary::-webkit-details-marker {
  display: none;
}

.legal-accordion[open] summary {
  padding-bottom: 12px;
}

.legal-accordion p:last-child {
  margin-bottom: 22px;
}

.squad-staff-panel {
  margin-top: 18px;
}

.squad-panel,
.squad-staff-panel {
  background: var(--surface);
}

.squad-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(var(--primary-rgb), 0.1);
  color: var(--primary-dark);
  font-weight: 800;
}

.team-switcher {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.team-switcher-section {
  margin-top: 18px;
}

.team-switcher-button {
  position: relative;
  border: 1px solid rgba(var(--primary-rgb), 0.2);
  background:
    linear-gradient(180deg, rgba(251, 247, 240, 0.98), rgba(230, 236, 245, 0.92));
  color: var(--primary-dark);
  min-height: 60px;
  min-width: 188px;
  padding: 0 24px;
  border-radius: 999px;
  font: inherit;
  font-weight: 800;
  font-size: 1rem;
  cursor: pointer;
  box-shadow: 0 4px 0 rgba(31, 36, 48, 0.12);
  transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.team-switcher-button:hover,
.team-switcher-button.is-active {
  background: linear-gradient(180deg, var(--primary), var(--primary-deep));
  color: #fff;
  border-color: rgba(var(--primary-rgb), 0.34);
  box-shadow: 0 4px 0 rgba(31, 36, 48, 0.14);
  transform: translateY(-1px);
}

.squad-panel-full {
  padding-bottom: 20px;
}

.squad-pitch {
  position: relative;
  padding: 12px 8px 8px;
  border-radius: 12px;
  background:
    linear-gradient(180deg, rgba(243, 239, 232, 0.95), rgba(248, 246, 241, 0.98));
  border: 1px solid rgba(31, 36, 48, 0.12);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35);
  overflow: hidden;
}

.squad-pitch::before,
.squad-pitch::after {
  content: none;
}

.squad-filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.squad-filter {
  border: 1px solid rgba(var(--primary-rgb), 0.18);
  background: #fff;
  color: var(--primary-dark);
  min-height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.squad-filter:hover,
.squad-filter.is-active {
  background: var(--primary);
  color: #fff;
  transform: translateY(-1px);
}

.squad-filter-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.squad-grid,
.staff-grid {
  display: grid;
  gap: 16px;
}

.squad-grid {
  position: relative;
  z-index: 1;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.staff-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.squad-card,
.staff-card {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid rgba(31, 36, 48, 0.12);
  background:
    linear-gradient(180deg, rgba(251, 247, 240, 0.98), rgba(237, 242, 248, 0.92) 24%, rgba(251, 249, 244, 0.99) 58%);
  box-shadow:
    0 10px 20px rgba(var(--text-rgb), 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.65);
}

.squad-card::before,
.staff-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(180deg, rgba(var(--primary-rgb), 0.18), rgba(31, 36, 48, 0.08));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.squad-card-media,
.staff-card-media {
  position: relative;
  min-height: 248px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
  padding: 24px 18px 0;
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.94), rgba(242, 244, 245, 0.9) 32%, rgba(126, 157, 210, 0.08) 68%, rgba(251, 253, 255, 0) 100%),
    linear-gradient(180deg, rgba(235, 239, 242, 0.92) 0%, rgba(246, 246, 243, 0.98) 56%, rgba(245, 246, 243, 0.86) 100%);
  isolation: isolate;
}

.squad-card-logo {
  position: absolute;
  top: 10px;
  right: 12px;
  width: 54px;
  aspect-ratio: 1;
  background: url("logo-brand-2026.svg?v=20260622a") center / contain no-repeat;
  opacity: 0.29;
  mix-blend-mode: multiply;
  filter: saturate(0.8) brightness(1.01);
  z-index: 1;
  pointer-events: none;
}

.squad-spotlights {
  position: absolute;
  top: 12px;
  left: 12px !important;
  right: auto !important;
  width: max-content;
  max-width: calc(100% - 24px);
  display: grid;
  justify-items: start;
  gap: 6px;
  z-index: 4;
  pointer-events: none;
}

.squad-spotlight {
  display: block;
  justify-self: start;
  max-width: min(100%, 178px);
  animation: squadYellowSpotlightFlyIn 1.3s cubic-bezier(0.16, 1, 0.3, 1) 1 both;
}

.squad-spotlight-badge {
  display: block;
  min-width: 0;
  padding: 6px 9px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid rgba(255, 255, 255, 0.42);
  color: var(--primary-dark);
  text-align: left;
  backdrop-filter: blur(7px) saturate(1.02);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.5),
    0 6px 14px rgba(var(--text-rgb), 0.07);
}

.squad-spotlight--yellow .squad-spotlight-badge {
  background: rgba(255, 252, 240, 0.62);
  border: 1px solid rgba(231, 181, 32, 0.22);
}

.squad-spotlight--goals .squad-spotlight-badge {
  background: rgba(241, 249, 255, 0.62);
  border: 1px solid rgba(12, 124, 207, 0.18);
}

.squad-spotlight--assists .squad-spotlight-badge {
  background: rgba(241, 255, 251, 0.62);
  border: 1px solid rgba(21, 154, 120, 0.18);
}

.squad-spotlight--team-of-week .squad-spotlight-badge {
  background: rgba(247, 244, 255, 0.62);
  border: 1px solid rgba(94, 67, 214, 0.18);
}

.squad-spotlight--yellow-red .squad-spotlight-badge {
  background: rgba(255, 248, 240, 0.62);
  border: 1px solid rgba(219, 83, 72, 0.18);
}

.squad-spotlight--red .squad-spotlight-badge {
  background: rgba(255, 243, 243, 0.62);
  border: 1px solid rgba(198, 59, 59, 0.18);
}

.squad-spotlight-badge strong {
  font-size: 0.64rem;
  line-height: 1.25;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.squad-spotlight-badge span {
  font-size: 0.76rem;
  font-weight: 900;
  line-height: 1.25;
}

.squad-card--yellow-leader .squad-card-media::after {
  background: radial-gradient(circle, rgba(246, 190, 37, 0.24) 0%, rgba(var(--text-rgb), 0) 74%);
}

.squad-card--goal-leader .squad-card-media::after {
  background: radial-gradient(circle, rgba(48, 169, 255, 0.26) 0%, rgba(var(--text-rgb), 0) 72%);
}

.squad-card--assist-leader .squad-card-media::after {
  background: radial-gradient(circle, rgba(68, 214, 176, 0.24) 0%, rgba(var(--text-rgb), 0) 72%);
}

.squad-card--team-of-week-leader .squad-card-media::after {
  background: radial-gradient(circle, rgba(139, 107, 255, 0.24) 0%, rgba(var(--text-rgb), 0) 72%);
}

.squad-card--yellow-red-leader .squad-card-media::after {
  background: radial-gradient(circle, rgba(235, 136, 84, 0.26) 0%, rgba(var(--text-rgb), 0) 72%);
}

.squad-card--red-leader .squad-card-media::after {
  background: radial-gradient(circle, rgba(241, 102, 102, 0.26) 0%, rgba(var(--text-rgb), 0) 72%);
}

.squad-card-media::before,
.staff-card-media::before {
  content: "";
  position: absolute;
  inset: 16px 18px 44px;
  border-radius: 30px;
  background:
    radial-gradient(circle at 50% 16%, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0) 58%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.24), rgba(9, 29, 52, 0.08)),
    var(--player-image) center 16% / cover no-repeat;
  filter: blur(20px) saturate(0.86);
  opacity: 0.28;
  transform: scale(1.08);
  z-index: 0;
}

.squad-card-media::after,
.staff-card-media::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 12px;
  width: 76%;
  height: 34px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(var(--text-rgb), 0.22) 0%, rgba(var(--text-rgb), 0) 72%);
  transform: translateX(-50%);
  z-index: 0;
}

.squad-card-media img,
.staff-card-media img {
  position: relative;
  z-index: 2;
  width: auto;
  max-width: min(100%, 250px);
  height: 242px;
  object-fit: contain;
  object-position: center bottom;
  filter:
    drop-shadow(0 12px 16px rgba(255, 255, 255, 0.44))
    drop-shadow(0 24px 24px rgba(var(--text-rgb), 0.18));
}

.squad-card--yellow-leader .squad-card-media img {
  filter:
    drop-shadow(0 12px 16px rgba(255, 255, 255, 0.44))
    drop-shadow(0 24px 24px rgba(var(--text-rgb), 0.18))
    drop-shadow(0 0 14px rgba(246, 190, 37, 0.14));
}

.squad-card-body,
.staff-card-body {
  position: relative;
  padding: 18px 18px 20px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.98)),
    rgba(255, 255, 255, 0.98);
}

.squad-card-topline {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 12px;
}

.squad-position,
.staff-role {
  margin: 0;
  color: rgba(var(--text-rgb), 0.66);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.squad-card h3,
.staff-card h3 {
  margin-top: 8px;
  font-size: 1.34rem;
  line-height: 1.05;
}

.squad-number-badge,
.squad-flag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  font-weight: 900;
}

.squad-number-badge {
  min-width: 52px;
  min-height: 52px;
  padding: 0;
  background: linear-gradient(180deg, var(--primary), var(--primary-deep));
  color: #fff;
  box-shadow: 0 4px 0 rgba(31, 36, 48, 0.14);
  font-size: 1.35rem;
}

.squad-flag {
  margin-top: 10px;
  background: rgba(var(--primary-rgb), 0.12);
  color: var(--primary-dark);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.squad-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 16px;
}

.squad-meta span,
.staff-meta span {
  display: block;
  padding: 12px 12px;
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(240, 238, 232, 0.96), rgba(232, 236, 241, 0.76));
  color: var(--muted);
  text-align: center;
  font-size: 0.92rem;
  font-weight: 700;
}

.staff-meta {
  margin-top: 16px;
}

@keyframes squadYellowSpotlightFlyIn {
  0% {
    opacity: 0;
    transform: translate(-44px, -12px) scale(0.82);
  }

  48% {
    opacity: 1;
    transform: translate(10px, 0) scale(1);
  }

  100% {
    opacity: 1;
    transform: translate(0, 0) scale(1);
  }
}

@media (max-width: 960px) {
  .hero-card,
  .card-grid,
  .stat-grid,
  .info-grid,
  .club-copy-grid,
  .contact-grid,
  .matchcenter-grid,
  .penalty-panel,
  .social-grid,
  .legal-grid,
  .staff-grid {
    grid-template-columns: 1fr;
  }

  .squad-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .countdown-grid,
  .countdown-timer,
  .match-weather-grid,
  .tip-game-form,
  .tippspiel-score-grid,
  .tippspiel-match-meta {
    grid-template-columns: 1fr;
  }

  .matchday-shell,
  .matchday-spotlight {
    grid-template-columns: 1fr;
  }

  .matchday-offseason-panel {
    padding: 18px 18px;
    border-radius: 18px;
  }

  .tippspiel-list-scroll {
    max-height: 30rem;
    padding-right: 6px;
  }

  .tippspiel-table-wrap {
    max-height: 22rem;
    padding-right: 4px;
  }

  .page-hero {
    padding-top: 54px;
  }

  .hero-card-compact {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .hero-card-compact .lead,
  .legal-copy h1 {
    white-space: normal;
  }

  .hero-card-compact .club-facts-inline {
    justify-content: flex-start;
    max-width: none;
  }

  .squad-hero-actions {
    align-items: stretch;
  }
}

@media (max-width: 760px) {
  .container {
    width: min(var(--max-width), calc(100% - 22px));
  }

  .header-inner {
    min-height: 68px;
    gap: 14px;
  }

  .brand {
    gap: 10px;
    min-width: 0;
  }

  .brand-mark {
    width: 44px;
    height: 48px;
  }

  .brand-copy strong {
    font-size: 0.96rem;
  }

  .brand-copy span {
    font-size: 0.7rem;
    letter-spacing: 0.06em;
  }

  .nav-toggle {
    display: inline-grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 10px);
    right: 16px;
    left: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    border-radius: 22px;
    background: rgba(250, 247, 240, 0.98);
    border: 1px solid rgba(16, 35, 63, 0.08);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    border-radius: 14px;
  }

  .hero-card,
  .panel,
  .cta-band {
    padding: 18px;
  }

  .page-hero {
    padding: 20px 0 12px;
  }

  .page-hero-compact {
    padding: 14px 0 4px;
  }

  .hero-card {
    gap: 14px;
    border-radius: 20px;
  }

  .hero-card::before {
    width: 10px;
  }

  .hero-card-compact {
    padding: 18px 18px 14px;
  }

  .hero-card-compact h1 {
    font-size: clamp(2.2rem, 10vw, 3.2rem);
  }

  .hero-card-compact .lead {
    margin-top: 8px;
    font-size: 0.96rem;
    line-height: 1.55;
  }

  .squad-page-hero {
    padding-top: 12px;
  }

  .squad-hero-card {
    padding: 16px 16px 14px;
    border-radius: 24px;
  }

  .squad-hero-card h1 {
    font-size: clamp(2rem, 11vw, 2.8rem);
  }

  .squad-hero-switcher .team-switcher-button {
    min-width: 0;
    width: 100%;
  }

  .pdf-frame,
  .pdf-frame iframe {
    min-height: 360px;
  }

  h1 {
    font-size: clamp(2rem, 10.4vw, 3rem);
  }

  .squad-page-title {
    font-size: clamp(2rem, 9vw, 2.9rem);
    white-space: normal;
  }

  .hero-side {
    min-height: 0;
    padding: 14px;
    gap: 10px;
    border-radius: 18px;
  }

  .hero-badge {
    margin-bottom: 8px;
    font-size: 0.88rem;
  }

  .hero-logo-shell {
    width: min(138px, 42%);
    padding: 8px;
    border-radius: 18px;
  }

  .lead {
    margin-top: 10px;
    font-size: 0.95rem;
    line-height: 1.55;
  }

  .hero-actions,
  .link-row,
  .team-switcher,
  .tippspiel-form-actions,
  .matchday-actions,
  .tip-game-actions {
    gap: 10px;
    margin-top: 16px;
  }

  .button,
  .button-secondary {
    min-height: 44px;
    padding: 0 16px;
  }

  .section {
    padding: 14px 0 28px;
  }

  .section-head {
    margin-bottom: 14px;
  }

  .section-head p {
    margin-top: 10px;
    line-height: 1.6;
  }

  .panel-topline {
    flex-direction: column;
    gap: 8px;
    margin-bottom: 10px;
  }

  .panel-note,
  .card p,
  .panel p,
  .list,
  .mini-note,
  .legal-copy p {
    line-height: 1.58;
  }

  .panel-note {
    margin: -2px 0 10px;
  }

  .matchcenter-overview,
  .matchcenter-countdown,
  .squad-staff-panel,
  .team-switcher-section {
    margin-bottom: 10px;
    margin-top: 10px;
  }

  .countdown-grid {
    gap: 8px;
    padding: 10px 12px 10px 14px;
  }

  .countdown-label {
    margin-bottom: 6px;
    font-size: 0.76rem;
  }

  .countdown-meta {
    font-size: 0.92rem;
    line-height: 1.28;
  }

  .countdown-timer {
    gap: 8px;
  }

  .countdown-timer span {
    padding: 8px 10px;
    font-size: 0.88rem;
  }

  .match-weather {
    padding: 8px 10px;
    border-radius: 14px;
  }

  .match-weather-head {
    gap: 8px;
    margin-bottom: 8px;
  }

  .match-weather-badge {
    min-height: 26px;
    padding: 4px 10px;
    font-size: 0.74rem;
  }

  .match-weather-grid {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    align-items: center;
  }

  .match-weather-main {
    gap: 2px;
  }

  .match-weather-main strong {
    font-size: clamp(1.18rem, 5vw, 1.6rem);
  }

  .match-weather-main span,
  .match-weather-meta span {
    font-size: 0.82rem;
    line-height: 1.28;
  }

  .match-weather-meta {
    gap: 4px;
    justify-items: end;
  }

  .matchday-shell {
    padding: 8px;
    border-radius: 16px;
  }

  .matchday-offseason-panel {
    padding: 14px 14px;
    border-radius: 16px;
  }

  .matchday-spotlight {
    padding: 10px;
    border-radius: 12px;
  }

  .matchday-opponent {
    font-size: clamp(1.4rem, 7vw, 2rem);
  }

  .matchday-offseason-title {
    font-size: clamp(1.4rem, 7vw, 2rem);
  }

  .matchday-status-row {
    gap: 8px;
    margin-bottom: 8px;
  }

  .matchday-chip {
    min-height: 32px;
    padding: 6px 12px;
    font-size: 0.8rem;
  }

  .matchday-live {
    gap: 8px 10px;
    margin-top: 10px;
    padding: 8px 10px;
  }

  .matchday-fixture {
    font-size: 0.92rem;
    line-height: 1.32;
  }

  .matchday-route-button,
  .matchday-tippspiel-button {
    min-width: 0;
  }

  .matchday-tippspiel-button {
    padding: 8px 14px;
  }

  .widget-frame {
    padding: 8px;
  }

  .widget-frame > div {
    min-width: 220px;
  }

  .widget-panel {
    padding-bottom: 14px;
  }

  .shop-frame {
    min-height: 620px;
  }

  .social-card {
    gap: 8px;
  }

  .social-preview-bar {
    padding: 10px 12px;
    font-size: 0.8rem;
  }

  .social-preview-body {
    min-height: 0;
    padding: 12px;
    gap: 10px;
  }

  .social-preview-body img {
    width: 68px;
    height: 68px;
    border-radius: 14px;
  }

  .social-preview-copy strong {
    font-size: 0.98rem;
  }

  .social-preview-copy span {
    line-height: 1.35;
  }

  .cta-band {
    padding: 18px 16px;
  }

  .legal-grid {
    gap: 10px;
    margin: 14px 0 16px;
  }

  .legal-grid .card {
    gap: 8px;
  }

  .legal-copy h1 {
    font-size: clamp(1.8rem, 8vw, 2.4rem);
  }

  .legal-copy p {
    margin-bottom: 12px;
  }

  .legal-accordion {
    padding: 0 14px;
  }

  .legal-accordion summary {
    padding: 14px 0;
    font-size: 1rem;
  }

  .legal-accordion[open] summary {
    padding-bottom: 10px;
  }

  .legal-accordion + .legal-accordion {
    margin-top: 10px;
  }

  .legal-accordion p:last-child {
    margin-bottom: 16px;
  }

  .story-timeline {
    gap: 10px;
  }

  .story-step {
    padding-left: 16px;
  }

  .story-step::before {
    width: 8px;
    height: 8px;
    box-shadow: 0 0 0 4px rgba(var(--primary-rgb), 0.12);
  }

  .story-step + .story-step {
    padding-top: 12px;
  }

  .story-step strong {
    margin-bottom: 6px;
    font-size: 0.96rem;
  }

  .story-step p,
  .club-highlights li,
  .club-copy-block p {
    line-height: 1.52;
  }

  .club-highlights {
    margin-top: 12px;
  }

  .club-highlights li + li,
  .club-copy-block p + p,
  .chronicle-accordion p + p {
    margin-top: 8px;
  }

  .chronicle-gallery {
    gap: 14px;
  }

  .chronicle-gallery-anniversary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .chronicle-figure img {
    max-width: 240px;
  }

  .stats-table {
    font-size: 0.8rem;
  }

  .stats-table-wrapper {
    max-height: 520px;
  }

  .stats-table th,
  .stats-table td {
    padding: 0.5rem 0.6rem;
  }

  .sport-offer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }

  .sport-offer-card {
    min-height: 104px;
  }

  .chronicle-longform {
    margin-top: 18px;
  }

  .club-intro-grid {
    margin-bottom: 18px;
  }

  .club-side-card p {
    margin: 6px 0 12px;
  }

  .club-facts-inline {
    margin-top: 14px;
  }

  .membership-panel,
  .tippspiel-top-grid,
  .tippspiel-board-grid {
    gap: 12px;
  }

  .tippspiel-board-grid {
    margin-top: 12px;
  }

  .squad-filter-row {
    gap: 8px;
    margin-bottom: 10px;
  }

  .squad-filter {
    min-height: 38px;
    padding: 0 14px;
    font-size: 0.94rem;
  }

  .squad-spotlight {
    animation: none;
    opacity: 1;
    transform: none;
  }

  .squad-spotlights {
    top: 10px;
    left: 10px !important;
    right: auto !important;
    max-width: calc(100% - 20px);
  }

  .squad-spotlight-badge {
    padding: 5px 8px;
  }

  .squad-pitch {
    padding: 6px 4px 4px;
    border-radius: 22px;
  }

  .penalty-field {
    min-height: 360px;
  }

  .penalty-goal {
    width: min(88%, 420px);
    height: 150px;
  }

  .squad-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

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

  .squad-card,
  .staff-card {
    border-radius: 22px;
  }

  .squad-card-media,
  .staff-card-media {
    min-height: 148px;
    padding: 14px 12px 0;
  }

  .squad-card-media img,
  .staff-card-media img {
    height: 154px;
  }

  .squad-card-body,
  .staff-card-body {
    padding: 12px;
  }

  .squad-card h3,
  .staff-card h3 {
    font-size: 1.06rem;
    line-height: 1.02;
  }

  .squad-position,
  .staff-role {
    font-size: 0.72rem;
    letter-spacing: 0.1em;
  }

  .squad-number-badge {
    min-width: 38px;
    min-height: 38px;
    font-size: 1rem;
  }

  .squad-meta {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
    margin-top: 10px;
  }

  .squad-meta span,
  .staff-meta span {
    padding: 8px 6px;
    font-size: 0.74rem;
    line-height: 1.3;
  }

  .tippspiel-form {
    margin-top: 14px;
  }

  .tippspiel-name-row {
    margin-bottom: 10px;
  }

  .tippspiel-score-grid {
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    gap: 8px;
    align-items: end;
  }

  .tippspiel-field input,
  .tippspiel-score-card input {
    min-height: 50px;
    padding: 0 14px;
  }

  .tippspiel-score-card input {
    font-size: 1.24rem;
  }

  .tippspiel-score-divider {
    padding-bottom: 12px;
    font-size: 1.45rem;
  }

  .tippspiel-table {
    min-width: 380px;
  }

  .tippspiel-table th,
  .tippspiel-table td {
    padding: 12px 12px;
  }

  .tippspiel-tip-item,
  .tippspiel-result-item {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
    padding: 10px 12px;
  }

  .tippspiel-result-score {
    justify-items: start;
    text-align: left;
  }

  .tippspiel-tip-list,
  .tippspiel-result-list {
    gap: 10px;
    margin-top: 12px;
  }

  .site-footer {
    padding: 14px 0 22px;
  }

  .footer-inner {
    justify-content: center;
    text-align: center;
    gap: 10px;
    padding-top: 14px;
  }

  .footer-links {
    justify-content: center;
    gap: 12px;
  }
}

@media (max-width: 480px) {
  .countdown-grid {
    padding: 8px 10px;
    gap: 6px;
  }

  .countdown-timer {
    gap: 6px;
  }

  .countdown-timer span {
    padding: 7px 8px;
    font-size: 0.82rem;
  }

  .match-weather {
    padding: 7px 8px;
  }

  .match-weather-grid {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
  }

  .match-weather-main strong {
    font-size: 1.06rem;
  }

  .match-weather-main span,
  .match-weather-meta span {
    font-size: 0.76rem;
  }

  .match-weather-badge {
    min-height: 24px;
    padding: 4px 8px;
    font-size: 0.7rem;
  }

  .container {
    width: min(var(--max-width), calc(100% - 18px));
  }

  .brand-copy span {
    display: none;
  }

  .hero-card,
  .panel,
  .cta-band {
    padding: 14px;
  }

  .page-hero {
    padding: 16px 0 8px;
  }

  .page-hero-compact {
    padding: 10px 0 2px;
  }

  .hero-card-compact {
    padding: 14px 14px 12px;
  }

  .hero-card-compact h1 {
    font-size: clamp(2rem, 11vw, 2.7rem);
  }

  .hero-side {
    padding: 12px;
  }

  .hero-logo-shell {
    width: min(112px, 40%);
    padding: 6px;
    border-radius: 16px;
  }

  .matchday-shell,
  .countdown-grid,
  .match-weather,
  .widget-frame,
  .tip-game-card {
    padding: 8px;
  }

  .section {
    padding: 10px 0 20px;
  }

  .section-head {
    margin-bottom: 10px;
  }

  .panel-topline {
    gap: 6px;
    margin-bottom: 8px;
  }

  .panel-note,
  .legal-copy p {
    margin-bottom: 10px;
  }

  .matchday-opponent {
    font-size: clamp(1.24rem, 6.8vw, 1.72rem);
  }

  .matchday-fixture,
  .lead,
  .section-head p,
  .story-step p,
  .club-highlights li,
  .club-copy-block p {
    font-size: 0.9rem;
    line-height: 1.46;
  }

  .social-preview-body {
    flex-direction: column;
    align-items: flex-start;
  }

  .social-preview-copy {
    gap: 4px;
  }

  .button,
  .button-secondary,
  .team-switcher-button {
    width: 100%;
  }

  .squad-grid {
    gap: 8px;
  }

  .squad-card-media,
  .staff-card-media {
    min-height: 132px;
    padding: 12px 10px 0;
  }

  .squad-card-media img,
  .staff-card-media img {
    height: 138px;
  }

  .squad-card-body,
  .staff-card-body {
    padding: 10px;
  }

  .squad-card h3,
  .staff-card h3 {
    font-size: 0.98rem;
  }

  .squad-meta span,
  .staff-meta span {
    padding: 7px 5px;
    font-size: 0.7rem;
  }

  .team-switcher-button {
    min-height: 50px;
    min-width: 0;
    padding: 0 16px;
    border-radius: 16px;
  }

  .tippspiel-status-pill,
  .matchday-chip,
  .squad-filter {
    font-size: 0.82rem;
  }

  .tippspiel-table {
    min-width: 340px;
  }

  .tippspiel-table th,
  .tippspiel-table td {
    padding: 10px 10px;
    font-size: 0.86rem;
  }

  .pdf-frame,
  .pdf-frame iframe {
    min-height: 300px;
  }

  .tippspiel-score-grid {
    gap: 6px;
  }

  .tippspiel-field input,
  .tippspiel-score-card input {
    min-height: 46px;
    padding: 0 10px;
  }

  .tippspiel-score-card input {
    font-size: 1.12rem;
  }

  .tippspiel-score-divider {
    padding-bottom: 10px;
    font-size: 1.2rem;
  }

  .shop-frame {
    min-height: 520px;
  }

  .floating-instagram-link {
    right: 16px;
    bottom: 16px;
    gap: 6px;
    min-width: 0;
    max-width: min(168px, calc(100vw - 20px));
    padding: 7px 8px 7px 10px;
    border-radius: 18px;
  }

  .floating-instagram-link strong {
    font-size: 0.6rem;
  }

  .floating-instagram-kicker {
    font-size: 0.7rem;
  }

}
