
:root {
  --bg: #080b0a;
  --surface: #111614;
  --surface-2: #171d1a;
  --surface-3: #202822;
  --text: #f6f8f4;
  --muted: #98a39b;
  --line: rgba(255,255,255,.09);
  --lime: #c7ff2e;
  --lime-dark: #91c900;
  --orange: #ff7a1a;
  --red: #ff4c4c;
  --gold: #ffcf45;
  --shadow: 0 24px 80px rgba(0,0,0,.34);
  --radius: 22px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background:
    radial-gradient(circle at 84% 8%, rgba(199,255,46,.08), transparent 28%),
    radial-gradient(circle at 12% 48%, rgba(255,122,26,.06), transparent 28%),
    var(--bg);
  color: var(--text);
  font-family: "Inter", sans-serif;
  min-width: 320px;
  overflow-x: hidden;
}

body.modal-open { overflow: hidden; }
button, input, select { font: inherit; }
a { color: inherit; }
img { max-width: 100%; display: block; }

.site-noise {
  position: fixed;
  inset: 0;
  opacity: .025;
  pointer-events: none;
  z-index: 20;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.6'/%3E%3C/svg%3E");
}

.site-header {
  width: min(1440px, calc(100% - 48px));
  height: 70px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 30;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.brand img { flex: 0 0 auto; }
.brand span { display: flex; flex-direction: column; }
.brand strong {
  font-family: "Barlow Condensed", sans-serif;
  text-transform: uppercase;
  letter-spacing: .04em;
  font-size: 23px;
  line-height: .9;
}
.brand small {
  color: var(--lime);
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: .24em;
  font-size: 8px;
  margin-top: 6px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 30px;
}
.main-nav a {
  color: #d9ded9;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  transition: .2s ease;
}
.main-nav a:hover { color: var(--lime); }
.main-nav .nav-cta {
  border: 1px solid rgba(199,255,46,.35);
  background: rgba(199,255,46,.08);
  color: var(--lime);
  padding: 12px 18px;
  border-radius: 999px;
}

.menu-toggle {
  display: none;
  border: 0;
  background: none;
  padding: 7px;
}
.menu-toggle span {
  display: block;
  width: 25px;
  height: 2px;
  background: white;
  margin: 5px 0;
}

.hero {
  width: min(1440px, calc(100% - 48px));
  min-height: 610px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  gap: 40px;
  padding: 22px 0 70px;
}

.eyebrow {
  color: var(--lime);
  font-family: "Barlow Condensed", sans-serif;
  font-size: 15px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .24em;
  margin: 0 0 14px;
}

.hero h1, .section-heading h2, .final-cta h2 {
  font-family: "Barlow Condensed", sans-serif;
  text-transform: uppercase;
  letter-spacing: -.025em;
  line-height: .9;
  margin: 0;
}
.hero h1 {
  font-size: clamp(62px, 7.1vw, 116px);
  max-width: 760px;
}
.hero h1 span {
  color: var(--lime);
  text-shadow: 0 0 55px rgba(199,255,46,.18);
}
.hero-text {
  color: #b3bcb5;
  font-size: 17px;
  line-height: 1.75;
  max-width: 650px;
  margin: 28px 0 0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}
.button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border-radius: 12px;
  padding: 0 22px;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: .06em;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary {
  background: var(--lime);
  color: #0a0d09;
  box-shadow: 0 12px 38px rgba(199,255,46,.13);
}
.button-secondary {
  color: white;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.035);
}

.hero-stats {
  display: flex;
  gap: 36px;
  border-top: 1px solid var(--line);
  margin-top: 48px;
  padding-top: 26px;
}
.hero-stat strong {
  display: block;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 34px;
  line-height: 1;
}
.hero-stat span {
  color: var(--muted);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.hero-visual {
  min-height: 470px;
  position: relative;
  border-radius: 38px;
  overflow: hidden;
  background:
    linear-gradient(145deg, rgba(255,255,255,.08), transparent 24%),
    radial-gradient(circle at 50% 42%, rgba(199,255,46,.19), transparent 35%),
    linear-gradient(160deg, #142018 0%, #09100c 65%);
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: var(--shadow);
}
.pitch-lines {
  position: absolute;
  inset: 0;
  opacity: .26;
  background:
    linear-gradient(90deg, transparent 49.8%, rgba(255,255,255,.26) 50%, transparent 50.2%),
    radial-gradient(circle at center, transparent 0 67px, rgba(255,255,255,.2) 68px 70px, transparent 71px),
    linear-gradient(rgba(255,255,255,.15), rgba(255,255,255,.15)) 0 18% / 100% 1px no-repeat,
    linear-gradient(rgba(255,255,255,.15), rgba(255,255,255,.15)) 0 82% / 100% 1px no-repeat;
  transform: perspective(900px) rotateX(62deg) scale(1.35);
}
.spotlight {
  width: 260px;
  height: 260px;
  position: absolute;
  left: 50%;
  top: 42%;
  transform: translate(-50%, -50%);
  background: var(--lime);
  filter: blur(110px);
  opacity: .18;
}

.hero-visual-grid {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  padding: 30px;
  display: grid;
  grid-template-columns: .82fr 1.18fr;
  grid-template-rows: 1fr auto;
  gap: 16px;
  align-content: center;
}
.hero-logo-stamp,
.hero-logo-panel,
.hero-logo-chip {
  background: rgba(12,18,14,.8);
  border: 1px solid rgba(255,255,255,.11);
  backdrop-filter: blur(16px);
  box-shadow: 0 30px 70px rgba(0,0,0,.28);
}
.hero-logo-stamp {
  grid-row: 1 / span 2;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  border-radius: 28px;
}
.hero-logo-stamp img {
  width: min(100%, 260px);
  max-height: 340px;
  object-fit: contain;
  filter: drop-shadow(0 18px 35px rgba(0,0,0,.32));
}
.hero-logo-panel {
  border-radius: 28px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hero-panel-label {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(199,255,46,.1);
  border: 1px solid rgba(199,255,46,.24);
  color: var(--lime);
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .12em;
}
.hero-fm-logo {
  width: min(100%, 470px);
  margin: 24px 0 18px;
}
.hero-logo-panel p {
  color: #c5ccc7;
  font-size: 13px;
  line-height: 1.7;
  margin: 0;
  max-width: 500px;
}
.hero-logo-chip {
  border-radius: 16px;
  min-height: 58px;
  display: flex;
  align-items: center;
  padding: 14px 18px;
  color: #f4f7f4;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.hero-chip-a { justify-self: end; }
.hero-chip-b {
  background: rgba(199,255,46,.1);
  border-color: rgba(199,255,46,.24);
  color: var(--lime);
}

.hero-card {
  position: absolute;
  z-index: 2;
  background: rgba(14,20,16,.83);
  border: 1px solid rgba(255,255,255,.11);
  box-shadow: 0 30px 70px rgba(0,0,0,.33);
  backdrop-filter: blur(18px);
}
.hero-card-main {
  width: 300px;
  height: 400px;
  left: 50%;
  top: 49%;
  transform: translate(-50%, -50%) rotate(-3deg);
  border-radius: 28px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.card-label {
  align-self: flex-start;
  color: var(--lime);
  border: 1px solid rgba(199,255,46,.26);
  background: rgba(199,255,46,.06);
  border-radius: 999px;
  padding: 7px 10px;
  text-transform: uppercase;
  font-weight: 800;
  font-size: 9px;
  letter-spacing: .12em;
}
.hero-rank {
  position: absolute;
  right: 20px;
  top: 14px;
  color: rgba(255,255,255,.07);
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 900;
  font-size: 88px;
}
.hero-card-main img {
  width: 150px;
  margin: 40px auto 18px;
  filter: drop-shadow(0 20px 30px rgba(199,255,46,.2));
}
.hero-card-main strong {
  font-family: "Barlow Condensed", sans-serif;
  text-transform: uppercase;
  text-align: center;
  font-size: 31px;
  line-height: .95;
}
.hero-card-main > span:last-child {
  color: var(--lime);
  margin-top: 10px;
  font-size: 13px;
  font-weight: 800;
}
.hero-card-small {
  width: 160px;
  border-radius: 18px;
  padding: 17px;
  display: flex;
  flex-direction: column;
}
.hero-card-small span {
  color: var(--muted);
  text-transform: uppercase;
  font-size: 9px;
  letter-spacing: .1em;
  font-weight: 700;
}
.hero-card-small strong {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 42px;
  line-height: 1;
  color: var(--lime);
  margin: 5px 0;
}
.hero-card-small small { color: #c6cdc7; font-size: 10px; }
.hero-card-a { top: 12%; right: 4%; transform: rotate(4deg); }
.hero-card-b { bottom: 12%; left: 5%; transform: rotate(-4deg); }

.section {
  width: min(1440px, calc(100% - 48px));
  margin: 0 auto;
  padding: 110px 0;
}
.ranking-section {
  width: 100%;
  padding-left: max(24px, calc((100vw - 1440px) / 2));
  padding-right: max(24px, calc((100vw - 1440px) / 2));
  background: rgba(255,255,255,.018);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 30px;
  margin-bottom: 38px;
}
.section-heading h2, .final-cta h2 {
  font-size: clamp(48px, 5vw, 82px);
}
.section-heading p:not(.eyebrow) {
  color: var(--muted);
  margin: 12px 0 0;
}
.season-badge {
  min-width: 100px;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 16px;
  padding: 14px 18px;
}
.season-badge span {
  display: block;
  color: var(--muted);
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: .1em;
}
.season-badge strong {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 27px;
}

.toolbar {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 20px;
}
.search-box {
  height: 50px;
  flex: 1;
  max-width: 520px;
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0 15px;
}
.search-box svg {
  width: 18px;
  fill: none;
  stroke: var(--muted);
  stroke-width: 2;
}
.search-box input {
  width: 100%;
  border: 0;
  outline: 0;
  color: white;
  background: transparent;
}
.search-box input::placeholder { color: #677169; }

.filter-group {
  display: flex;
  gap: 10px;
}
.filter-group select {
  height: 50px;
  min-width: 180px;
  color: #e9ece9;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0 40px 0 14px;
  outline: 0;
}

.ranking-wrap {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: rgba(10,14,12,.7);
}
.ranking-head,
.ranking-row {
  display: grid;
  grid-template-columns: 56px minmax(240px, 1.7fr) .75fr 1.35fr .55fr .75fr 42px;
  align-items: center;
  gap: 12px;
}
.ranking-head {
  min-height: 46px;
  padding: 0 22px;
  color: #7e8981;
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .1em;
  border-bottom: 1px solid var(--line);
}
.ranking-row {
  min-height: 92px;
  padding: 12px 22px;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
  transition: background .2s ease, transform .2s ease;
}
.ranking-row:last-child { border-bottom: 0; }
.ranking-row:hover {
  background: rgba(199,255,46,.035);
}
.rank-number {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 26px;
  font-weight: 800;
  color: #87918a;
}
.ranking-row[data-rank="1"] .rank-number { color: var(--gold); }
.ranking-row[data-rank="2"] .rank-number { color: #d4d9dc; }
.ranking-row[data-rank="3"] .rank-number { color: #c78d5b; }

.team-cell {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}
.team-crest {
  width: 52px;
  height: 52px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 15px;
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 900;
  font-size: 17px;
  color: #0b0d0c;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.22);
}
.team-cell-text { min-width: 0; }
.team-cell strong {
  display: block;
  font-family: "Barlow Condensed", sans-serif;
  text-transform: uppercase;
  font-size: 22px;
  line-height: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.team-cell small { color: var(--muted); font-size: 11px; }
.formation-chip,
.result-chip {
  display: inline-flex;
  width: fit-content;
  padding: 7px 10px;
  border-radius: 8px;
  background: rgba(255,255,255,.055);
  border: 1px solid var(--line);
  font-weight: 700;
  font-size: 11px;
}
.result-chip { color: #d9e0db; }
.points-cell strong {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 24px;
}
.points-cell small {
  display: block;
  color: var(--muted);
  font-size: 9px;
  text-transform: uppercase;
}
.rating-cell {
  display: flex;
  align-items: center;
  gap: 10px;
}
.rating-ring {
  --value: 75;
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: conic-gradient(var(--lime) calc(var(--value) * 1%), rgba(255,255,255,.08) 0);
  position: relative;
}
.rating-ring::after {
  content: "";
  position: absolute;
  inset: 4px;
  border-radius: 50%;
  background: var(--surface);
}
.rating-ring strong {
  position: relative;
  z-index: 1;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 19px;
}
.rating-label small {
  color: var(--muted);
  font-size: 9px;
  text-transform: uppercase;
}
.rating-label span {
  display: block;
  font-size: 11px;
  font-weight: 700;
}
.row-arrow {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,.04);
  color: var(--lime);
  font-size: 18px;
}
.empty-state { text-align: center; padding: 60px 20px; }
.empty-state strong { font-family: "Barlow Condensed"; font-size: 30px; }
.empty-state p { color: var(--muted); margin-bottom: 0; }

.teams-section { padding-bottom: 130px; }
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.team-card {
  min-height: 360px;
  position: relative;
  overflow: hidden;
  padding: 22px;
  border-radius: var(--radius);
  background:
    linear-gradient(160deg, rgba(255,255,255,.07), transparent 35%),
    var(--surface);
  border: 1px solid var(--line);
  cursor: pointer;
  transition: transform .25s ease, border-color .25s ease;
}
.team-card:hover {
  transform: translateY(-6px);
  border-color: rgba(199,255,46,.28);
}
.team-card::before {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  right: -70px;
  top: -60px;
  border-radius: 50%;
  background: var(--team-color);
  filter: blur(70px);
  opacity: .18;
}
.team-card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  position: relative;
}
.card-rank {
  font-family: "Barlow Condensed", sans-serif;
  color: rgba(255,255,255,.12);
  font-size: 62px;
  font-weight: 900;
  line-height: .8;
}
.team-card .team-crest {
  width: 66px;
  height: 66px;
  border-radius: 18px;
  font-size: 22px;
}
.team-card-body {
  position: relative;
  margin-top: 48px;
}
.team-card h3 {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 32px;
  line-height: .9;
  text-transform: uppercase;
  margin: 0;
}
.team-card .owner { color: var(--muted); font-size: 11px; margin-top: 8px; }
.team-card-meta {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-top: 24px;
}
.team-card-meta div {
  background: rgba(255,255,255,.035);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px;
}
.team-card-meta span {
  display: block;
  color: var(--muted);
  font-size: 8px;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.team-card-meta strong {
  display: block;
  font-family: "Barlow Condensed";
  font-size: 21px;
  margin-top: 3px;
}
.team-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 20px;
}
.team-card-score {
  color: var(--lime);
  font-family: "Barlow Condensed";
  font-size: 30px;
  font-weight: 800;
}
.team-card-footer small {
  color: #aab3ac;
  text-transform: uppercase;
  font-size: 9px;
  font-weight: 700;
}

.method-section {
  width: 100%;
  padding-left: max(24px, calc((100vw - 1440px) / 2));
  padding-right: max(24px, calc((100vw - 1440px) / 2));
  background: var(--lime);
  color: #0d100c;
}
.method-title .eyebrow { color: #445408; }
.method-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.method-grid article {
  position: relative;
  min-height: 310px;
  padding: 24px;
  border: 1px solid rgba(7,11,7,.13);
  border-radius: 20px;
  background: rgba(255,255,255,.25);
}
.method-grid article > span {
  position: absolute;
  right: 18px;
  top: 12px;
  color: rgba(8,13,8,.13);
  font-family: "Barlow Condensed";
  font-size: 60px;
  font-weight: 900;
}
.method-grid img { width: 52px; height: 52px; margin: 10px 0 60px; }
.method-grid h3 {
  font-family: "Barlow Condensed";
  text-transform: uppercase;
  font-size: 27px;
  line-height: 1;
  margin: 0;
}
.method-grid p { color: #394033; font-size: 13px; line-height: 1.6; }

.final-cta {
  width: min(1440px, calc(100% - 48px));
  min-height: 370px;
  margin: 100px auto;
  padding: 58px;
  border: 1px solid var(--line);
  border-radius: 30px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  background:
    linear-gradient(90deg, rgba(8,11,10,.95), rgba(8,11,10,.25)),
    radial-gradient(circle at 80% 30%, rgba(199,255,46,.3), transparent 30%),
    url("../assets/stadium-pattern.svg") center/cover;
  box-shadow: var(--shadow);
}
.final-cta h2 { max-width: 900px; font-size: clamp(45px, 5vw, 76px); }
.final-cta .button { flex: 0 0 auto; }

footer {
  width: min(1440px, calc(100% - 48px));
  margin: 0 auto;
  padding: 30px 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 10px;
}
.brand-footer { color: white; }

.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
}
.modal.is-open { display: block; }
.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.75);
  backdrop-filter: blur(7px);
}
.modal-panel {
  width: min(1180px, calc(100% - 32px));
  max-height: calc(100vh - 32px);
  overflow-y: auto;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  background: #0d120f;
  border: 1px solid rgba(255,255,255,.11);
  border-radius: 28px;
  box-shadow: 0 50px 140px rgba(0,0,0,.55);
}
.modal-close {
  width: 42px;
  height: 42px;
  position: sticky;
  top: 16px;
  float: right;
  margin: 16px 16px -58px 0;
  z-index: 5;
  border: 1px solid var(--line);
  background: rgba(0,0,0,.45);
  color: white;
  border-radius: 50%;
  font-size: 25px;
  cursor: pointer;
}
.modal-hero {
  min-height: 245px;
  display: flex;
  align-items: flex-end;
  padding: 44px;
  border-radius: 28px 28px 0 0;
  background:
    linear-gradient(90deg, rgba(7,10,8,.96), rgba(7,10,8,.4)),
    radial-gradient(circle at 85% 20%, var(--team-color), transparent 35%);
  border-bottom: 1px solid var(--line);
}
.modal-team-header {
  display: flex;
  align-items: center;
  gap: 20px;
}
.modal-team-header .team-crest {
  width: 88px;
  height: 88px;
  font-size: 28px;
  border-radius: 22px;
}
.modal-team-header h2 {
  font-family: "Barlow Condensed";
  font-size: clamp(44px, 7vw, 78px);
  line-height: .85;
  text-transform: uppercase;
  margin: 0;
}
.modal-team-header p { color: var(--muted); margin: 10px 0 0; }
.modal-body {
  display: grid;
  grid-template-columns: 1fr .9fr;
  gap: 22px;
  padding: 28px;
}
.modal-column { display: flex; flex-direction: column; gap: 22px; }
.panel {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 19px;
  background: var(--surface);
}
.panel-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  margin-bottom: 18px;
}
.panel-title h3 {
  font-family: "Barlow Condensed";
  text-transform: uppercase;
  font-size: 27px;
  margin: 0;
}
.panel-title span {
  color: var(--lime);
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}
.modal-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.modal-stat {
  background: rgba(255,255,255,.035);
  border: 1px solid var(--line);
  border-radius: 13px;
  padding: 14px;
}
.modal-stat span {
  display: block;
  color: var(--muted);
  font-size: 8px;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.modal-stat strong {
  display: block;
  font-family: "Barlow Condensed";
  font-size: 26px;
  margin-top: 5px;
}
.review-text { color: #c3cac5; line-height: 1.75; font-size: 14px; }
.review-score {
  display: flex;
  gap: 18px;
  align-items: center;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.review-score .rating-ring { width: 68px; height: 68px; }
.review-score .rating-ring strong { font-size: 26px; }
.review-score h4 { margin: 0; font-size: 15px; }
.review-score p { margin: 5px 0 0; color: var(--muted); font-size: 11px; }

.pitch {
  aspect-ratio: 3 / 4;
  min-height: 500px;
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  background:
    repeating-linear-gradient(0deg, rgba(255,255,255,.025) 0 12.5%, transparent 12.5% 25%),
    linear-gradient(#216f42, #155835);
  border: 4px solid #286f48;
}
.pitch::before {
  content: "";
  position: absolute;
  inset: 22px;
  border: 1px solid rgba(255,255,255,.42);
  background:
    linear-gradient(90deg, transparent 49.85%, rgba(255,255,255,.4) 50%, transparent 50.15%),
    radial-gradient(circle at center, transparent 0 45px, rgba(255,255,255,.42) 46px 47px, transparent 48px),
    linear-gradient(rgba(255,255,255,.4),rgba(255,255,255,.4)) top 0 left 50% / 50% 1px no-repeat;
}
.player-dot {
  width: 76px;
  position: absolute;
  transform: translate(-50%, -50%);
  text-align: center;
}
.player-shirt {
  width: 34px;
  height: 34px;
  margin: 0 auto 4px;
  display: grid;
  place-items: center;
  background: var(--team-color);
  color: var(--team-secondary-color, #000000);
  clip-path: polygon(27% 0, 40% 9%, 60% 9%, 73% 0, 100% 18%, 88% 37%, 76% 30%, 76% 100%, 24% 100%, 24% 30%, 12% 37%, 0 18%);
  font-family: "Barlow Condensed";
  font-weight: 900;
  font-size: 11px;
  filter: drop-shadow(0 5px 6px rgba(0,0,0,.3));
}
.player-name {
  display: inline-block;
  max-width: 76px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  padding: 3px 5px;
  border-radius: 5px;
  background: rgba(0,0,0,.65);
  color: white;
  font-size: 8px;
  font-weight: 700;
}
.squad-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}
.squad-player {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  padding: 10px;
  border-radius: 10px;
  background: rgba(255,255,255,.03);
}
.squad-player span:first-child {
  width: 23px;
  height: 23px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 6px;
  background: rgba(199,255,46,.1);
  color: var(--lime);
  font-family: "Barlow Condensed";
  font-size: 12px;
  font-weight: 800;
}
.squad-player div { min-width: 0; }
.squad-player strong {
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 11px;
}
.squad-player small { color: var(--muted); font-size: 8px; text-transform: uppercase; }
.video-link {
  width: 100%;
  min-height: 58px;
  margin-top: 15px;
  background: var(--lime);
  color: #090c09;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

@media (max-width: 1100px) {
  .hero { grid-template-columns: 1fr; }
  .hero-copy { padding-top: 10px; }
  .hero-visual { min-height: 520px; }
  .hero-visual-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }
  .hero-logo-stamp { grid-row: auto; min-height: 220px; }
  .hero-logo-stamp img { max-height: 220px; }
  .hero-chip-a { justify-self: stretch; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .method-grid { grid-template-columns: repeat(2, 1fr); }
  .ranking-head,
  .ranking-row { grid-template-columns: 50px minmax(220px, 1.5fr) .65fr 1fr .5fr .75fr 36px; }
  .modal-body { grid-template-columns: 1fr; }
  .pitch { min-height: 620px; aspect-ratio: 4 / 3; }
}

@media (max-width: 820px) {
  .site-header { width: calc(100% - 32px); }
  .menu-toggle { display: block; }
  .main-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 72px;
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: rgba(11,15,13,.98);
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  .main-nav.is-open { display: flex; }
  .main-nav a { padding: 8px; }
  .hero, .section, .final-cta, footer { width: calc(100% - 32px); }
  .hero { padding-top: 6px; min-height: auto; }
  .hero h1 { font-size: clamp(54px, 16vw, 88px); }
  .toolbar { flex-direction: column; }
  .search-box { max-width: none; }
  .filter-group select { min-width: 0; width: 100%; }
  .filter-group label { flex: 1; }
  .ranking-wrap { overflow-x: auto; }
  .ranking-head, .ranking-row { min-width: 920px; }
  .section-heading { align-items: flex-start; }
  .final-cta { flex-direction: column; align-items: flex-start; padding: 35px; }
  footer { flex-wrap: wrap; }
}

@media (max-width: 580px) {
  .hero-stats { gap: 20px; flex-wrap: wrap; }
  .hero-visual { min-height: 440px; }
  .hero-visual-grid { padding: 20px; }
  .hero-logo-panel { padding: 22px; }
  .hero-fm-logo { width: min(100%, 320px); }
  .hero-logo-chip { font-size: 10px; }
  .hero-card-main { width: 240px; height: 335px; }
  .hero-card-main img { width: 110px; margin-top: 32px; }
  .hero-card-small { width: 130px; padding: 12px; }
  .hero-card-a { right: -6%; }
  .hero-card-b { left: -6%; }
  .section { padding: 80px 0; }
  .ranking-section, .method-section { padding: 80px 16px; }
  .section-heading { flex-direction: column; }
  .team-grid, .method-grid { grid-template-columns: 1fr; }
  .team-card { min-height: 335px; }
  .filter-group { flex-direction: column; }
  .modal-panel { width: calc(100% - 16px); max-height: calc(100vh - 16px); }
  .modal-hero { padding: 64px 22px 28px; }
  .modal-team-header { align-items: flex-start; }
  .modal-team-header .team-crest { width: 64px; height: 64px; }
  .modal-body { padding: 14px; }
  .modal-stats { grid-template-columns: repeat(2, 1fr); }
  .pitch { min-height: 510px; aspect-ratio: 3 / 4; }
  .squad-list { grid-template-columns: 1fr; }
  .final-cta { margin: 70px auto; }
}


/* =========================================================
   FANTABALLA REDESIGN — rosso, nero, bianco, grunge sportivo
   ========================================================= */
:root {
  --bg: #050505;
  --surface: #101010;
  --surface-2: #171717;
  --surface-3: #222222;
  --text: #f8f5ef;
  --muted: #a59f99;
  --line: rgba(255,255,255,.13);
  --lime: #e30613;
  --lime-dark: #a30009;
  --orange: #f8f5ef;
  --red: #e30613;
  --gold: #f4c542;
  --shadow: 0 30px 90px rgba(0,0,0,.5);
  --radius: 8px;
}

body {
  background:
    radial-gradient(circle at 82% 4%, rgba(227,6,19,.22), transparent 27%),
    linear-gradient(rgba(255,255,255,.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.018) 1px, transparent 1px),
    #050505;
  background-size: auto, 48px 48px, 48px 48px, auto;
}

.site-noise {
  opacity: .055;
  mix-blend-mode: screen;
}

.site-header {
  width: min(1500px, calc(100% - 38px));
  height: 66px;
  position: sticky;
  top: 0;
  z-index: 60;
  padding: 0 4px;
  background: rgba(5,5,5,.88);
  border-bottom: 1px solid rgba(227,6,19,.55);
  backdrop-filter: blur(18px);
}
.site-header::after {
  content: "";
  height: 3px;
  width: 92px;
  position: absolute;
  left: 0;
  bottom: -2px;
  background: var(--red);
  transform: skewX(-22deg);
}

.brand { gap: 10px; }
.brand-badge {
  width: 47px;
  height: 47px;
  overflow: hidden;
  display: grid;
  place-items: center;
  border: 2px solid var(--red);
  border-radius: 50%;
  background: #050505;
  box-shadow: 0 0 0 3px rgba(227,6,19,.13);
}
.brand-badge img {
  width: 62px;
  max-width: none;
  transform: translateY(5px);
}
.brand-copy { display: flex; flex-direction: column; }
.brand strong {
  font-size: 24px;
  letter-spacing: -.01em;
  color: #fff;
  font-style: italic;
}
.brand small {
  color: var(--red);
  letter-spacing: .15em;
  margin-top: 4px;
}

.main-nav { gap: 8px; }
.main-nav a {
  padding: 10px 14px;
  color: #d8d3ce;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.main-nav a:hover { color: white; background: rgba(255,255,255,.05); }
.main-nav .nav-cta {
  padding: 11px 19px;
  border: 0;
  border-radius: 2px;
  background: var(--red);
  color: white;
  transform: skewX(-7deg);
  box-shadow: 7px 7px 0 rgba(255,255,255,.08);
}

.hero {
  width: min(1500px, calc(100% - 38px));
  min-height: 590px;
  grid-template-columns: 1.05fr .95fr;
  gap: 25px;
  padding: 36px 0 58px;
}
.hero-copy { position: relative; z-index: 2; padding-left: 18px; }
.hero-copy::before {
  content: "";
  width: 6px;
  height: 84%;
  position: absolute;
  left: 0;
  top: 8%;
  background: var(--red);
  transform: skewY(-12deg);
}
.eyebrow {
  color: var(--red);
  font-size: 14px;
  letter-spacing: .2em;
}
.hero h1 {
  max-width: 850px;
  font-size: clamp(62px, 7.4vw, 118px);
  line-height: .82;
  letter-spacing: -.045em;
  font-style: italic;
  text-shadow: 5px 5px 0 rgba(255,255,255,.04);
}
.hero h1 span {
  display: block;
  width: fit-content;
  margin-top: 14px;
  padding: 8px 18px 11px 10px;
  color: #fff;
  background: var(--red);
  text-shadow: none;
  clip-path: polygon(2% 0, 100% 4%, 97% 100%, 0 93%);
}
.hero-text {
  max-width: 620px;
  margin-top: 26px;
  color: #c3bdb7;
  font-size: 16px;
  line-height: 1.65;
}
.hero-actions { margin-top: 30px; }
.button {
  border-radius: 2px;
  min-height: 50px;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 15px;
  letter-spacing: .08em;
  transform: skewX(-5deg);
}
.button:hover { transform: skewX(-5deg) translateY(-3px); }
.button-primary {
  background: var(--red);
  color: white;
  box-shadow: 8px 8px 0 rgba(255,255,255,.09);
}
.button-secondary {
  color: white;
  border: 1px solid rgba(255,255,255,.35);
  background: #101010;
}
.button-black {
  background: #050505;
  color: white;
  border: 1px solid rgba(255,255,255,.22);
  box-shadow: 8px 8px 0 rgba(227,6,19,.28);
}
.button-black:hover {
  border-color: rgba(255,255,255,.5);
  background: #111;
}

.hero-stats {
  max-width: 620px;
  gap: 0;
  margin-top: 40px;
  padding-top: 0;
  border-top: 0;
  border-left: 1px solid var(--line);
}
.hero-stat {
  min-width: 150px;
  padding: 15px 21px;
  border-top: 1px solid var(--line);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,.025);
}
.hero-stat strong { color: white; font-size: 38px; }
.hero-stat span { color: #938d87; }

.hero-visual {
  min-height: 510px;
  overflow: hidden;
  border-radius: 6px;
  border: 1px solid rgba(255,255,255,.14);
  background:
    linear-gradient(135deg, transparent 0 48%, rgba(255,255,255,.025) 48% 49%, transparent 49%),
    radial-gradient(circle at 42% 38%, rgba(227,6,19,.35), transparent 34%),
    #0d0d0d;
  box-shadow: 15px 15px 0 rgba(227,6,19,.13), var(--shadow);
}
.hero-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(-25deg, transparent 0 34px, rgba(255,255,255,.025) 34px 36px);
  pointer-events: none;
}
.hero-red-slash {
  width: 42%;
  height: 140%;
  position: absolute;
  top: -22%;
  right: 11%;
  background: var(--red);
  transform: rotate(16deg) skewX(-8deg);
  box-shadow: 35px 0 0 rgba(227,6,19,.12);
}
.hero-outline-copy {
  position: absolute;
  left: -20px;
  top: 18px;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255,255,255,.12);
  font-family: "Barlow Condensed", sans-serif;
  font-size: 116px;
  font-weight: 900;
  font-style: italic;
  letter-spacing: -.06em;
  transform: rotate(-5deg);
}
.hero-approved-character {
  width: min(68%, 430px);
  position: absolute;
  left: -4%;
  bottom: -2%;
  z-index: 3;
  filter: drop-shadow(18px 18px 0 rgba(0,0,0,.35));
}
.hero-fm-lockup {
  width: 52%;
  position: absolute;
  right: 3.5%;
  top: 8%;
  z-index: 5;
  padding: 22px;
  background: rgba(3,3,3,.9);
  border: 1px solid rgba(255,255,255,.25);
  box-shadow: 8px 8px 0 rgba(0,0,0,.5);
  transform: rotate(1.5deg);
}
.hero-fm-lockup span {
  display: block;
  margin-bottom: 13px;
  color: var(--red);
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 800;
  font-size: 13px;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.hero-fm-lockup img { width: 100%; }
.hero-season-stamp {
  position: absolute;
  right: 6%;
  bottom: 20%;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 12px 15px;
  color: #0b0b0b;
  background: #fff;
  transform: rotate(-4deg);
  box-shadow: 7px 7px 0 rgba(0,0,0,.25);
}
.hero-season-stamp strong {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 55px;
  line-height: .8;
}
.hero-season-stamp span {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 14px;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
}
.hero-verdict-card {
  width: 48%;
  position: absolute;
  right: 4%;
  bottom: 5%;
  z-index: 5;
  padding: 14px 17px;
  background: #050505;
  border-left: 5px solid var(--red);
  box-shadow: 7px 7px 0 rgba(255,255,255,.08);
}
.hero-verdict-card span {
  color: #8f8984;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.hero-verdict-card strong {
  display: block;
  margin: 5px 0 2px;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 24px;
  line-height: 1;
  text-transform: uppercase;
}
.hero-verdict-card b { color: var(--red); font-size: 12px; }

.section { width: min(1500px, calc(100% - 38px)); }
.ranking-section,
.method-section {
  width: 100%;
  padding-left: max(19px, calc((100vw - 1500px) / 2));
  padding-right: max(19px, calc((100vw - 1500px) / 2));
}
.ranking-section {
  position: relative;
  background:
    linear-gradient(90deg, rgba(227,6,19,.055), transparent 28%),
    #090909;
  border-top: 4px solid var(--red);
}
.ranking-section::before {
  content: "01";
  position: absolute;
  right: 5%;
  top: 40px;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255,255,255,.06);
  font-family: "Barlow Condensed", sans-serif;
  font-size: 180px;
  font-weight: 900;
  line-height: 1;
}
.section-heading { position: relative; z-index: 2; }
.section-heading h2,
.final-cta h2 {
  font-style: italic;
  letter-spacing: -.04em;
}
.season-badge {
  border-radius: 2px;
  border: 1px solid rgba(255,255,255,.28);
  border-left: 6px solid var(--red);
  background: #050505;
  transform: skewX(-5deg);
}
.season-badge strong { color: white; }

.search-box,
.filter-group select {
  border-radius: 2px;
  background: #050505;
  border-color: rgba(255,255,255,.17);
}
.search-box:focus-within,
.filter-group select:focus { border-color: var(--red); }

.ranking-wrap {
  border-radius: 3px;
  border: 1px solid rgba(255,255,255,.17);
  box-shadow: 12px 12px 0 rgba(227,6,19,.08);
  background: #070707;
}
.ranking-head {
  color: #bbb4ae;
  background: var(--red);
  border-bottom: 0;
}
.ranking-row {
  position: relative;
  background: #0c0c0c;
  border-bottom-color: rgba(255,255,255,.095);
}
.ranking-row:nth-child(even) { background: #111; }
.ranking-row::before {
  content: "";
  width: 0;
  position: absolute;
  inset: 0 auto 0 0;
  background: var(--red);
  transition: width .2s ease;
}
.ranking-row:hover { background: #171717; }
.ranking-row:hover::before { width: 5px; }
.rank-number { font-size: 34px; color: #77716d; font-style: italic; }
.ranking-row[data-rank="1"] .rank-number,
.ranking-row[data-rank="2"] .rank-number,
.ranking-row[data-rank="3"] .rank-number { color: var(--red); }
.team-crest {
  border-radius: 3px;
  transform: skewX(-5deg);
  box-shadow: 5px 5px 0 rgba(255,255,255,.06);
}
.team-cell strong { font-size: 24px; font-style: italic; }
.formation-chip,
.result-chip {
  border-radius: 2px;
  background: #1a1a1a;
}
.rating-ring {
  background: conic-gradient(var(--red) calc(var(--value) * 1%), rgba(255,255,255,.1) 0);
}
.rating-ring::after { background: #0d0d0d; }
.row-arrow {
  border-radius: 2px;
  background: var(--red);
  color: white;
  transform: skewX(-5deg);
}

.teams-section { position: relative; }
.teams-section::after {
  content: "APPROVED";
  position: absolute;
  right: 0;
  top: 65px;
  color: transparent;
  -webkit-text-stroke: 1px rgba(227,6,19,.12);
  font-family: "Barlow Condensed", sans-serif;
  font-size: 110px;
  font-weight: 900;
  font-style: italic;
  pointer-events: none;
}
.team-grid { gap: 14px; }
.team-card {
  min-height: 370px;
  border-radius: 3px;
  border-color: rgba(255,255,255,.15);
  background:
    linear-gradient(150deg, rgba(255,255,255,.06), transparent 31%),
    repeating-linear-gradient(-25deg, transparent 0 25px, rgba(255,255,255,.015) 25px 26px),
    #0d0d0d;
  box-shadow: 8px 8px 0 rgba(255,255,255,.04);
}
.team-card:hover {
  transform: translateY(-5px) rotate(-.35deg);
  border-color: var(--red);
  box-shadow: 10px 10px 0 rgba(227,6,19,.15);
}
.team-card::after {
  content: "";
  position: absolute;
  width: 150%;
  height: 38px;
  left: -20%;
  bottom: 74px;
  background: var(--team-color);
  opacity: .16;
  transform: rotate(-7deg);
}
.card-rank {
  color: transparent;
  -webkit-text-stroke: 1px rgba(255,255,255,.16);
  font-size: 78px;
  font-style: italic;
}
.team-card h3 { font-size: 36px; font-style: italic; }
.team-card-meta div { border-radius: 2px; background: #080808; }
.team-card-score { color: var(--red); font-size: 36px; }

.method-section {
  position: relative;
  overflow: hidden;
  color: white;
  background:
    repeating-linear-gradient(-35deg, transparent 0 42px, rgba(0,0,0,.06) 42px 44px),
    var(--red);
  border-top: 8px solid #fff;
  border-bottom: 8px solid #050505;
}
.method-section::before {
  content: "FANTABALLA";
  position: absolute;
  left: -30px;
  bottom: -42px;
  color: transparent;
  -webkit-text-stroke: 2px rgba(0,0,0,.12);
  font-family: "Barlow Condensed", sans-serif;
  font-size: 185px;
  font-weight: 900;
  font-style: italic;
  white-space: nowrap;
}
.method-title .eyebrow { color: #160000; }
.method-grid { position: relative; z-index: 2; gap: 10px; }
.method-grid article {
  min-height: 330px;
  border-radius: 2px;
  border: 1px solid rgba(255,255,255,.35);
  background: #090909;
  color: white;
  box-shadow: 9px 9px 0 rgba(0,0,0,.2);
}
.method-grid article:nth-child(even) {
  background: #f6f2ec;
  color: #090909;
}
.method-grid article > span {
  color: transparent;
  -webkit-text-stroke: 1px rgba(227,6,19,.55);
  font-size: 82px;
  font-style: italic;
}
.method-grid article:nth-child(even) > span {
  -webkit-text-stroke-color: rgba(0,0,0,.2);
}
.method-grid img {
  filter: brightness(0) invert(1);
  margin-bottom: 54px;
}
.method-grid article:nth-child(even) img { filter: none; }
.method-grid h3 { font-size: 31px; font-style: italic; }
.method-grid p { color: #aaa39d; }
.method-grid article:nth-child(even) p { color: #4f4944; }

.final-cta {
  min-height: 390px;
  position: relative;
  overflow: hidden;
  border-radius: 3px;
  border: 1px solid rgba(255,255,255,.2);
  padding: 54px 54px 54px 310px;
  background:
    linear-gradient(100deg, #070707 0 63%, rgba(7,7,7,.75)),
    var(--red);
  box-shadow: 14px 14px 0 rgba(227,6,19,.15);
}
.final-cta::after {
  content: "COMMENTA";
  position: absolute;
  right: -15px;
  top: 5px;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255,255,255,.08);
  font-family: "Barlow Condensed", sans-serif;
  font-size: 105px;
  font-weight: 900;
  font-style: italic;
}
.final-cta-logo {
  width: 260px;
  position: absolute;
  left: 20px;
  bottom: -18px;
  filter: drop-shadow(15px 15px 0 rgba(0,0,0,.32));
}
.final-cta-copy { position: relative; z-index: 2; }
.final-cta-actions {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}
.final-cta .button { position: relative; z-index: 2; flex: 0 0 auto; }

footer { border-top-color: rgba(227,6,19,.45); }
.brand-footer .brand-badge { width: 42px; height: 42px; }

.modal-panel {
  border-radius: 4px;
  border-color: rgba(255,255,255,.18);
  background: #080808;
  box-shadow: 16px 16px 0 rgba(227,6,19,.15), 0 50px 140px rgba(0,0,0,.65);
}
.modal-close { border-radius: 2px; background: var(--red); border: 0; }
.modal-hero {
  border-radius: 4px 4px 0 0;
  border-bottom: 4px solid var(--red);
  background:
    linear-gradient(90deg, rgba(5,5,5,.96), rgba(5,5,5,.52)),
    radial-gradient(circle at 85% 20%, var(--team-color), transparent 35%);
}
.panel { border-radius: 3px; background: #101010; }
.video-link { background: var(--red); color: white; }

@media (max-width: 1100px) {
  .hero { grid-template-columns: 1fr; }
  .hero-visual { min-height: 540px; }
  .hero-approved-character { width: min(55%, 430px); left: 3%; }
  .hero-fm-lockup { width: 50%; }
  .final-cta { padding-left: 280px; }
}

@media (max-width: 820px) {
  .site-header { width: calc(100% - 24px); }
  .brand-copy small { display: none; }
  .main-nav { top: 66px; background: rgba(5,5,5,.98); }
  .main-nav .nav-cta { transform: none; }
  .hero, .section, .final-cta, footer { width: calc(100% - 24px); }
  .hero-copy { padding-left: 13px; }
  .hero h1 { font-size: clamp(54px, 14vw, 82px); }
  .hero h1 span { margin-top: 9px; }
  .hero-stat { flex: 1 1 33%; min-width: 120px; }
  .hero-visual { min-height: 500px; }
  .hero-outline-copy { font-size: 88px; }
  .hero-approved-character { width: min(65%, 390px); left: -8%; }
  .hero-fm-lockup { width: 58%; right: 3%; }
  .hero-season-stamp { right: 5%; bottom: 24%; }
  .hero-verdict-card { width: 56%; }
  .final-cta { padding: 42px 35px 42px 220px; }
  .final-cta-logo { width: 205px; left: 0; }
}

@media (max-width: 580px) {
  .site-header { height: 60px; }
  .brand-badge { width: 40px; height: 40px; }
  .brand strong { font-size: 21px; }
  .main-nav { top: 60px; }
  .hero { padding-top: 25px; }
  .hero h1 { font-size: clamp(49px, 15.8vw, 70px); }
  .hero-text { font-size: 14px; }
  .hero-stats { flex-wrap: wrap; }
  .hero-stat { flex: 1 1 50%; }
  .hero-visual { min-height: 490px; }
  .hero-outline-copy { font-size: 64px; top: 10px; }
  .hero-red-slash { right: 3%; width: 52%; }
  .hero-approved-character { width: 83%; left: -21%; bottom: 1%; }
  .hero-fm-lockup { width: 70%; right: 4%; top: 8%; padding: 16px; }
  .hero-season-stamp { right: 4%; bottom: 24%; }
  .hero-season-stamp strong { font-size: 43px; }
  .hero-verdict-card { width: 70%; right: 4%; }
  .section { padding: 75px 0; }
  .ranking-section, .method-section { padding: 75px 12px; }
  .section-heading h2 { font-size: 54px; }
  .ranking-section::before, .teams-section::after { display: none; }
  .method-grid article { min-height: 295px; }
  .final-cta {
    min-height: 520px;
    padding: 250px 26px 35px;
    align-items: flex-start;
  }
  .final-cta-logo { width: 245px; left: 50%; bottom: auto; top: 0; transform: translateX(-50%); }
  .final-cta-actions { width: 100%; }
  .final-cta .button { width: 100%; }
  footer { align-items: flex-start; }
}


.project-empty-card {
  grid-column: 1 / -1;
  min-height: 330px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  padding: clamp(28px, 5vw, 58px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(90deg, rgba(8,11,10,.97), rgba(8,11,10,.52)),
    radial-gradient(circle at 82% 20%, rgba(227,6,19,.42), transparent 34%),
    url("../assets/stadium-pattern.svg") center/cover;
}
.project-empty-card > span {
  display: inline-flex;
  padding: 7px 11px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 999px;
  color: var(--red);
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .12em;
}
.project-empty-card h3 {
  max-width: 720px;
  margin: 18px 0 10px;
  font-family: "Barlow Condensed", sans-serif;
  font-size: clamp(42px, 6vw, 76px);
  line-height: .92;
  text-transform: uppercase;
}
.project-empty-card p {
  max-width: 620px;
  margin: 0 0 24px;
  color: var(--muted);
  line-height: 1.65;
}
.toolbar input:disabled,
.toolbar select:disabled {
  cursor: not-allowed;
  opacity: .45;
}


/* =========================================================
   MOBILE UX PATCH — 2026
   Ottimizzazione completa per smartphone e dispositivi touch
   ========================================================= */

:root {
  --mobile-gutter: 16px;
}

html {
  scroll-padding-top: 82px;
  -webkit-text-size-adjust: 100%;
}

body {
  min-width: 0;
  overflow-wrap: anywhere;
}

button,
a,
input,
select {
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
[role="button"]:focus-visible {
  outline: 3px solid rgba(227, 6, 19, .85);
  outline-offset: 3px;
}

@media (hover: none) {
  .button:hover,
  .team-card:hover {
    transform: none;
  }
}

@media (max-width: 900px) {
  body {
    background:
      radial-gradient(circle at 92% 6%, rgba(227, 6, 19, .10), transparent 24%),
      #050505;
  }

  .site-header {
    position: sticky;
    top: 0;
    z-index: 60;
    width: 100%;
    height: 66px;
    padding: env(safe-area-inset-top) var(--mobile-gutter) 0;
    background: rgba(5, 5, 5, .94);
    border-bottom: 1px solid rgba(227, 6, 19, .32);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
  }

  .site-header::after {
    display: none;
  }

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

  .brand-badge {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
  }

  .brand-copy {
    min-width: 0;
  }

  .brand strong {
    font-size: 21px;
  }

  .brand-copy small {
    display: block;
    max-width: 190px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    letter-spacing: .12em;
  }

  .menu-toggle {
    width: 46px;
    height: 46px;
    flex: 0 0 46px;
    display: grid;
    place-content: center;
    border: 1px solid rgba(255,255,255,.13);
    border-radius: 2px;
    background: #0d0d0d;
    cursor: pointer;
  }

  .menu-toggle span {
    width: 22px;
    transition: transform .2s ease, opacity .2s ease;
  }

  .menu-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }
  .menu-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .main-nav {
    position: fixed;
    inset: 66px var(--mobile-gutter) auto;
    display: none;
    padding: 10px;
    border: 1px solid rgba(255,255,255,.14);
    border-top: 3px solid var(--red);
    border-radius: 3px;
    background: rgba(7,7,7,.985);
    box-shadow: 0 24px 70px rgba(0,0,0,.65);
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
  }

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

  .main-nav a,
  .main-nav .nav-cta {
    min-height: 48px;
    display: flex;
    align-items: center;
    padding: 0 14px;
    border: 0;
    border-radius: 2px;
    background: transparent;
    transform: none;
    font-size: 15px;
  }

  .main-nav a + a {
    border-top: 1px solid rgba(255,255,255,.08);
  }

  .main-nav .nav-cta {
    margin-top: 6px;
    justify-content: center;
    background: var(--red);
    color: white;
  }

  .hero,
  .section,
  .final-cta,
  footer {
    width: calc(100% - (var(--mobile-gutter) * 2));
  }

  .hero {
    min-height: 0;
    grid-template-columns: 1fr;
    gap: 34px;
    padding: 38px 0 58px;
  }

  .hero-copy {
    padding: 0;
  }

  .hero-copy::before {
    left: -10px;
  }

  .eyebrow {
    max-width: 100%;
    font-size: 12px;
    line-height: 1.35;
    letter-spacing: .16em;
  }

  .hero h1 {
    max-width: 100%;
    font-size: clamp(50px, 13.4vw, 78px);
    line-height: .88;
    letter-spacing: -.035em;
  }

  .hero h1 span {
    display: block;
    width: fit-content;
    max-width: 100%;
    padding: 7px 10px 9px;
    margin-top: 10px;
  }

  .hero-text {
    max-width: 680px;
    margin-top: 22px;
    font-size: 15px;
    line-height: 1.65;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 26px;
  }

  .hero-actions .button {
    width: 100%;
    min-width: 0;
    min-height: 50px;
    padding: 0 14px;
    text-align: center;
    line-height: 1.1;
  }

  .hero-actions .button-black {
    grid-column: 1 / -1;
  }

  .hero-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin-top: 26px;
    padding-top: 0;
    border: 0;
  }

  .hero-stat {
    min-width: 0;
    min-height: 86px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 12px 8px;
    border: 1px solid rgba(255,255,255,.10);
    background: #0b0b0b;
    text-align: center;
  }

  .hero-stat strong {
    font-size: 31px;
  }

  .hero-stat span {
    margin-top: 5px;
    font-size: 8px;
    line-height: 1.3;
    letter-spacing: .05em;
  }

  .hero-visual {
    width: 100%;
    min-height: 0;
    aspect-ratio: 4 / 3;
    border-radius: 3px;
  }

  .hero-approved-character {
    width: 54%;
    left: -1%;
    bottom: -4%;
  }

  .hero-outline-copy {
    top: 2%;
    right: -3%;
    font-size: clamp(52px, 16vw, 88px);
  }

  .hero-red-slash {
    right: 4%;
    width: 48%;
  }

  .hero-fm-lockup {
    width: 52%;
    top: 7%;
    right: 4%;
    padding: 14px;
  }

  .hero-season-stamp {
    right: 4%;
    bottom: 25%;
  }

  .hero-verdict-card {
    width: 57%;
    right: 4%;
    bottom: 6%;
    padding: 13px 15px;
  }

  .section {
    padding: 66px 0;
  }

  .ranking-section,
  .method-section {
    width: 100%;
    padding: 66px var(--mobile-gutter);
  }

  .section-heading {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    margin-bottom: 26px;
  }

  .section-heading > div {
    width: 100%;
  }

  .section-heading h2,
  .final-cta h2 {
    max-width: 100%;
    font-size: clamp(43px, 11.5vw, 62px);
    line-height: .9;
  }

  .section-heading p:not(.eyebrow) {
    max-width: 680px;
    font-size: 14px;
    line-height: 1.55;
  }

  .season-badge {
    width: 100%;
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    border-radius: 3px;
  }

  .season-badge strong {
    font-size: 24px;
  }

  .toolbar {
    gap: 10px;
    margin-bottom: 16px;
  }

  .search-box,
  .filter-group select {
    height: 52px;
    border-radius: 3px;
  }

  .filter-group {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
  }

  .filter-group label,
  .filter-group select {
    min-width: 0;
    width: 100%;
  }

  /* Classifica trasformata in card: nessuno scroll orizzontale */
  .ranking-wrap {
    overflow: visible;
    border: 0;
    background: transparent;
    box-shadow: none;
  }

  .ranking-head {
    display: none;
  }

  .ranking-list {
    display: grid;
    gap: 10px;
  }

  .ranking-row {
    min-width: 0;
    min-height: 0;
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr) 38px;
    grid-template-areas:
      "rank team arrow"
      "formation result result"
      "points rating rating";
    gap: 12px 10px;
    padding: 14px;
    border: 1px solid rgba(255,255,255,.13);
    border-radius: 3px;
    background: #0d0d0d;
    box-shadow: 5px 5px 0 rgba(227,6,19,.08);
  }

  .ranking-row::before {
    width: 4px;
  }

  .rank-number {
    grid-area: rank;
    align-self: center;
    font-size: 27px;
  }

  .team-cell {
    grid-area: team;
    gap: 10px;
  }

  .team-crest {
    width: 46px;
    height: 46px;
    font-size: 15px;
  }

  .team-cell strong {
    font-size: 21px;
  }

  .team-cell small {
    display: block;
    margin-top: 4px;
    font-size: 10px;
  }

  .formation-chip {
    grid-area: formation;
  }

  .formation-chip::before {
    content: "Modulo ";
    margin-right: 4px;
    color: #85807b;
    font-size: 8px;
    text-transform: uppercase;
    letter-spacing: .06em;
  }

  .result-chip {
    grid-area: result;
    min-width: 0;
    white-space: normal;
    line-height: 1.3;
  }

  .result-chip::before {
    content: "FM ";
    margin-right: 4px;
    color: #85807b;
    font-size: 8px;
    text-transform: uppercase;
    letter-spacing: .06em;
  }

  .formation-chip,
  .result-chip {
    width: 100%;
    min-height: 36px;
    align-items: center;
    padding: 8px 10px;
  }

  .points-cell {
    grid-area: points;
    align-self: center;
  }

  .points-cell strong {
    font-size: 25px;
  }

  .rating-cell {
    grid-area: rating;
    justify-self: end;
    min-width: 0;
  }

  .rating-ring {
    width: 45px;
    height: 45px;
  }

  .rating-label {
    min-width: 0;
  }

  .rating-label span {
    max-width: 150px;
    line-height: 1.2;
  }

  .row-arrow {
    grid-area: arrow;
    width: 36px;
    height: 36px;
    align-self: center;
  }

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

  .team-card {
    min-width: 0;
    min-height: 320px;
    padding: 18px;
  }

  .team-card h3 {
    font-size: clamp(28px, 7vw, 35px);
  }

  .team-card-meta {
    grid-template-columns: 1fr;
  }

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

  .method-grid article {
    min-height: 0;
    padding: 20px;
  }

  .method-grid article > span {
    font-size: 58px;
  }

  .method-grid img {
    width: 44px;
    height: 44px;
    margin: 7px 0 30px;
  }

  .method-grid h3 {
    font-size: 27px;
  }

  .final-cta {
    min-height: 0;
    margin: 62px auto;
    display: grid;
    grid-template-columns: 180px minmax(0, 1fr);
    align-items: center;
    gap: 22px;
    padding: 30px;
  }

  .final-cta-logo {
    width: 180px;
    position: static;
    transform: none;
    filter: drop-shadow(8px 8px 0 rgba(0,0,0,.30));
  }

  .final-cta-copy,
  .final-cta-actions {
    grid-column: 2;
  }

  .final-cta-actions {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: 100%;
    gap: 8px;
  }

  .final-cta .button {
    width: 100%;
    min-width: 0;
    padding: 0 10px;
    text-align: center;
    line-height: 1.1;
  }

  footer {
    padding: 26px 0 calc(28px + env(safe-area-inset-bottom));
  }

  .modal-panel {
    width: calc(100% - 16px);
    max-height: calc(100dvh - 16px);
    border-radius: 16px;
  }

  .modal-hero {
    min-height: 190px;
    padding: 62px 22px 24px;
  }

  .modal-team-header h2 {
    font-size: clamp(39px, 10vw, 58px);
  }

  .modal-body {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 14px;
  }

  .modal-column {
    gap: 14px;
  }

  .panel {
    padding: 16px;
  }

  .pitch {
    width: 100%;
    min-height: 0;
    aspect-ratio: 3 / 4;
  }

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

@media (max-width: 600px) {
  :root {
    --mobile-gutter: 12px;
  }

  html {
    scroll-padding-top: 72px;
  }

  .site-header {
    height: 62px;
  }

  .brand-copy small {
    display: none;
  }

  .main-nav {
    top: 62px;
  }

  .hero {
    gap: 26px;
    padding: 28px 0 48px;
  }

  .hero h1 {
    font-size: clamp(45px, 14vw, 62px);
  }

  .hero-text {
    font-size: 14px;
  }

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

  .hero-actions .button-black {
    grid-column: auto;
  }

  .button {
    min-height: 50px;
  }

  .hero-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
  }

  .hero-stat {
    min-height: 80px;
    padding: 10px 5px;
  }

  .hero-stat strong {
    font-size: 27px;
  }

  .hero-stat span {
    font-size: 7px;
  }

  .hero-visual {
    aspect-ratio: 1 / 1.05;
  }

  .hero-approved-character {
    width: 68%;
    left: -11%;
  }

  .hero-fm-lockup {
    width: 63%;
  }

  .hero-season-stamp {
    bottom: 27%;
  }

  .hero-season-stamp strong {
    font-size: 41px;
  }

  .hero-verdict-card {
    width: 70%;
  }

  .section,
  .ranking-section,
  .method-section {
    padding-top: 54px;
    padding-bottom: 54px;
  }

  .section-heading h2,
  .final-cta h2 {
    font-size: clamp(40px, 12vw, 52px);
  }

  .filter-group {
    grid-template-columns: 1fr;
  }

  .ranking-row {
    grid-template-columns: 33px minmax(0, 1fr) 34px;
    gap: 10px 8px;
    padding: 12px;
  }

  .rank-number {
    font-size: 24px;
  }

  .team-crest {
    width: 42px;
    height: 42px;
  }

  .team-cell strong {
    font-size: 19px;
  }

  .formation-chip,
  .result-chip {
    font-size: 10px;
  }

  .rating-label span {
    max-width: 112px;
    font-size: 10px;
  }

  .team-grid,
  .method-grid {
    grid-template-columns: 1fr;
  }

  .team-card {
    min-height: 300px;
  }

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

  .method-grid article {
    min-height: 230px;
  }

  .method-grid img {
    margin-bottom: 24px;
  }

  .final-cta {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
    margin: 48px auto;
    padding: 24px 18px 20px;
  }

  .final-cta::after {
    font-size: 68px;
  }

  .final-cta-logo {
    width: min(190px, 62vw);
    align-self: center;
  }

  .final-cta-copy,
  .final-cta-actions {
    grid-column: auto;
  }

  .final-cta-actions {
    grid-template-columns: 1fr;
  }

  footer {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 14px;
  }

  .brand-footer .brand-copy small {
    display: block;
    max-width: 210px;
  }

  .modal-panel {
    width: 100%;
    max-height: 100dvh;
    left: 0;
    right: 0;
    top: auto;
    bottom: 0;
    transform: none;
    border-radius: 18px 18px 0 0;
    border-left: 0;
    border-right: 0;
    border-bottom: 0;
    overscroll-behavior: contain;
  }

  .modal-close {
    width: 46px;
    height: 46px;
    top: 10px;
    margin: 10px 10px -56px 0;
  }

  .modal-hero {
    min-height: 168px;
    padding: 62px 16px 20px;
    border-radius: 18px 18px 0 0;
  }

  .modal-team-header {
    gap: 12px;
  }

  .modal-team-header .team-crest {
    width: 58px;
    height: 58px;
    flex: 0 0 58px;
    font-size: 20px;
  }

  .modal-team-header h2 {
    font-size: clamp(35px, 10.8vw, 48px);
  }

  .modal-team-header p {
    font-size: 11px;
    line-height: 1.4;
  }

  .modal-body {
    padding: 10px;
  }

  .panel {
    padding: 13px;
  }

  .panel-title {
    align-items: flex-start;
    margin-bottom: 13px;
  }

  .panel-title h3 {
    font-size: 23px;
  }

  .panel-title span {
    text-align: right;
  }

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

  .pitch {
    border-width: 3px;
    border-radius: 10px;
  }

  .pitch::before {
    inset: 14px;
  }

  .player-dot {
    width: 62px;
  }

  .player-shirt {
    width: 30px;
    height: 30px;
  }

  .player-name {
    max-width: 62px;
    font-size: 7px;
  }

  .squad-list {
    grid-template-columns: 1fr;
  }

  .squad-player {
    min-height: 44px;
  }

  .review-text {
    font-size: 13px;
    line-height: 1.65;
  }

  .video-link {
    min-height: 52px;
  }
}

@media (max-width: 380px) {
  .hero h1 {
    font-size: 43px;
  }

  .hero-stats {
    grid-template-columns: 1fr;
  }

  .hero-stat {
    min-height: 64px;
  }

  .hero-visual {
    aspect-ratio: .92 / 1;
  }

  .ranking-row {
    grid-template-columns: 29px minmax(0, 1fr) 32px;
  }

  .rating-label {
    display: none;
  }

  .team-card-meta {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

/* Rifiniture finali per testi lunghi e tablet */
body {
  overflow-wrap: normal;
  word-break: normal;
}

.hero h1,
.section-heading h2,
.final-cta h2,
.team-card h3,
.method-grid h3,
.panel-title h3,
.modal-team-header h2,
.rank-number,
.team-cell strong {
  font-family: "Barlow Condensed", Impact, "Arial Narrow", sans-serif;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}

@media (max-width: 900px) and (min-width: 601px) {
  .pitch {
    max-width: 560px;
    margin-inline: auto;
  }
}

@media (max-width: 600px) {
  .main-nav {
    inset: 62px var(--mobile-gutter) auto;
  }
}

@media (max-width: 380px) {
  .hero h1 {
    font-size: 40px;
  }

  .final-cta h2 {
    font-size: 36px;
  }
}

/* Fix mobile cards and ranking layout */
@media (max-width: 600px) {
  .ranking-row {
    grid-template-columns: minmax(0, 1fr) 36px;
    grid-template-areas:
      "rank arrow"
      "team team"
      "formation formation"
      "result result"
      "points rating";
    gap: 10px;
  }

  .rank-number {
    justify-self: start;
    align-self: start;
    line-height: 1;
  }

  .team-cell {
    align-items: center;
  }

  .formation-chip,
  .result-chip {
    width: 100%;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 2px;
    padding: 9px 10px;
    font-size: 13px;
    line-height: 1.25;
    white-space: normal;
  }

  .formation-chip::before,
  .result-chip::before {
    display: block;
    margin: 0;
    font-size: 8px;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: #85807b;
  }

  .formation-chip::before {
    content: "Modulo";
  }

  .result-chip::before {
    content: "Piazzamento";
  }

  .points-cell {
    justify-self: start;
  }

  .rating-cell {
    justify-self: end;
    align-self: end;
  }

  .team-card {
    display: flex;
    flex-direction: column;
    min-height: 0;
    padding: 16px;
  }

  .team-card::after {
    bottom: 86px;
    opacity: .1;
  }

  .team-card-top {
    align-items: flex-start;
  }

  .team-card-body {
    margin-top: 18px;
    flex: 1;
    display: flex;
    flex-direction: column;
  }

  .team-card h3 {
    line-height: .95;
  }

  .team-card-meta {
    grid-template-columns: 1fr;
    gap: 8px;
    margin-top: 18px;
  }

  .team-card-meta div {
    padding: 10px 12px;
  }

  .team-card-meta strong {
    font-size: 18px;
    line-height: 1.1;
  }

  .team-card-footer {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid rgba(255,255,255,.12);
    z-index: 2;
  }

  .team-card-footer small {
    display: block;
    margin-bottom: 4px;
    line-height: 1.1;
  }

  .team-card-score {
    font-size: 32px;
    line-height: 1;
  }
}

@media (max-width: 380px) {
  .ranking-row {
    grid-template-columns: minmax(0, 1fr) 32px;
  }

  .team-card h3 {
    font-size: clamp(24px, 9vw, 32px);
  }

  .team-card-score {
    font-size: 28px;
  }
}


/* Correzioni mobile: classifica e card squadra */
@media (max-width: 600px) {
  .ranking-row {
    grid-template-columns: minmax(0, 1fr) 36px;
    grid-template-areas:
      "rank arrow"
      "team team"
      "formation formation"
      "result result"
      "points rating";
    gap: 10px;
  }

  .rank-number {
    justify-self: start;
    align-self: start;
    line-height: 1;
  }

  .team-cell {
    align-items: center;
  }

  .formation-chip,
  .result-chip {
    width: 100%;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 2px;
    padding: 9px 10px;
    font-size: 13px;
    line-height: 1.25;
    white-space: normal;
  }

  .formation-chip::before,
  .result-chip::before {
    display: block;
    margin: 0;
    font-size: 8px;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: #85807b;
  }

  .formation-chip::before {
    content: "Modulo";
  }

  .result-chip::before {
    content: "Piazzamento";
  }

  .points-cell {
    justify-self: start;
  }

  .rating-cell {
    justify-self: end;
    align-self: end;
  }

  .team-card {
    display: flex;
    flex-direction: column;
    min-height: 0;
    padding: 16px;
  }

  .team-card::after {
    bottom: 86px;
    opacity: .1;
  }

  .team-card-top {
    align-items: flex-start;
  }

  .team-card-body {
    margin-top: 18px;
    flex: 1;
    display: flex;
    flex-direction: column;
  }

  .team-card h3 {
    line-height: .95;
  }

  .team-card-meta {
    grid-template-columns: 1fr;
    gap: 8px;
    margin-top: 18px;
  }

  .team-card-meta div {
    padding: 10px 12px;
  }

  .team-card-meta strong {
    font-size: 18px;
    line-height: 1.1;
  }

  .team-card-footer {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid rgba(255,255,255,.12);
    z-index: 2;
  }

  .team-card-footer small {
    display: block;
    margin-bottom: 4px;
    line-height: 1.1;
  }

  .team-card-score {
    font-size: 32px;
    line-height: 1;
  }
}

@media (max-width: 380px) {
  .ranking-row {
    grid-template-columns: minmax(0, 1fr) 32px;
  }

  .team-card h3 {
    font-size: clamp(24px, 9vw, 32px);
  }

  .team-card-score {
    font-size: 28px;
  }
}

/* Fix: nomi squadre leggermente tagliati nella classifica */
.team-cell-text {
  padding-right: 14px;
}

.team-cell strong {
  display: inline-block;
  max-width: 100%;
  line-height: 1.06;
  padding-right: 0.18em;
  overflow: visible;
  text-overflow: clip;
}

/* Fix campo formazione: linee corrette e giocatori più grandi */
.pitch {
  min-height: 590px;
  aspect-ratio: 3 / 4;
  border: 5px solid #2b7a4d;
  background:
    repeating-linear-gradient(
      180deg,
      rgba(255,255,255,.035) 0 12.5%,
      rgba(255,255,255,0) 12.5% 25%
    ),
    linear-gradient(180deg, #2a7a49 0%, #1f6a3e 100%);
}

.pitch::before {
  inset: 22px;
  border: 1.5px solid rgba(255,255,255,.48);
  background:
    /* linea di metà campo orizzontale */
    linear-gradient(rgba(255,255,255,.46), rgba(255,255,255,.46)) center / 100% 1.5px no-repeat,
    /* cerchio centrale */
    radial-gradient(circle at center, transparent 0 50px, rgba(255,255,255,.46) 51px 52.5px, transparent 53.5px),

    /* area di rigore superiore */
    linear-gradient(rgba(255,255,255,.46), rgba(255,255,255,.46)) top center / 50% 1.5px no-repeat,
    linear-gradient(rgba(255,255,255,.46), rgba(255,255,255,.46)) top left 25% / 1.5px 18% no-repeat,
    linear-gradient(rgba(255,255,255,.46), rgba(255,255,255,.46)) top right 25% / 1.5px 18% no-repeat,

    /* area piccola superiore */
    linear-gradient(rgba(255,255,255,.46), rgba(255,255,255,.46)) top center / 22% 1.5px no-repeat,
    linear-gradient(rgba(255,255,255,.46), rgba(255,255,255,.46)) top left 39% / 1.5px 8% no-repeat,
    linear-gradient(rgba(255,255,255,.46), rgba(255,255,255,.46)) top right 39% / 1.5px 8% no-repeat,

    /* area di rigore inferiore */
    linear-gradient(rgba(255,255,255,.46), rgba(255,255,255,.46)) bottom center / 50% 1.5px no-repeat,
    linear-gradient(rgba(255,255,255,.46), rgba(255,255,255,.46)) bottom left 25% / 1.5px 18% no-repeat,
    linear-gradient(rgba(255,255,255,.46), rgba(255,255,255,.46)) bottom right 25% / 1.5px 18% no-repeat,

    /* area piccola inferiore */
    linear-gradient(rgba(255,255,255,.46), rgba(255,255,255,.46)) bottom center / 22% 1.5px no-repeat,
    linear-gradient(rgba(255,255,255,.46), rgba(255,255,255,.46)) bottom left 39% / 1.5px 8% no-repeat,
    linear-gradient(rgba(255,255,255,.46), rgba(255,255,255,.46)) bottom right 39% / 1.5px 8% no-repeat;
}

.pitch::after {
  content: "";
  position: absolute;
  inset: 22px;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 50%, rgba(255,255,255,.6) 0 2px, transparent 3px),
    radial-gradient(circle at 50% 12%, rgba(255,255,255,.55) 0 2px, transparent 3px),
    radial-gradient(circle at 50% 88%, rgba(255,255,255,.55) 0 2px, transparent 3px);
}

.player-dot {
  width: 96px;
}

.player-shirt {
  width: 42px;
  height: 42px;
  margin: 0 auto 6px;
  font-size: 14px;
}

.player-name {
  max-width: 96px;
  padding: 4px 7px;
  font-size: 10px;
  line-height: 1.15;
}

@media (max-width: 900px) {
  .pitch {
    min-height: 560px;
  }

  .player-dot {
    width: 88px;
  }

  .player-shirt {
    width: 40px;
    height: 40px;
    font-size: 13px;
  }

  .player-name {
    max-width: 88px;
    font-size: 9px;
  }
}

@media (max-width: 600px) {
  .pitch {
    min-height: 520px;
  }

  .pitch::before,
  .pitch::after {
    inset: 16px;
  }

  .player-dot {
    width: 74px;
  }

  .player-shirt {
    width: 36px;
    height: 36px;
    margin-bottom: 5px;
    font-size: 12px;
  }

  .player-name {
    max-width: 74px;
    font-size: 8px;
    padding: 3px 5px;
  }
}

/* Upgrade campo più realistico + nomi giocatori completi */
.pitch {
  background:
    radial-gradient(circle at 50% 50%, rgba(255,255,255,.035), transparent 34%),
    repeating-linear-gradient(
      180deg,
      rgba(255,255,255,.05) 0 11%,
      rgba(255,255,255,0) 11% 22%
    ),
    linear-gradient(180deg, #2f8752 0%, #28794a 45%, #216d41 100%);
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,.05),
    inset 0 18px 40px rgba(255,255,255,.03),
    inset 0 -22px 35px rgba(0,0,0,.1);
}

.pitch::before {
  border: 2px solid rgba(255,255,255,.52);
  background:
    /* linea metà campo */
    linear-gradient(rgba(255,255,255,.5), rgba(255,255,255,.5)) center / 100% 2px no-repeat,
    /* cerchio centrale */
    radial-gradient(circle at center, transparent 0 50px, rgba(255,255,255,.5) 51px 53px, transparent 54px),
    /* area rigore sopra */
    linear-gradient(rgba(255,255,255,.5), rgba(255,255,255,.5)) top center / 50% 2px no-repeat,
    linear-gradient(rgba(255,255,255,.5), rgba(255,255,255,.5)) top 0 left 25% / 2px 18% no-repeat,
    linear-gradient(rgba(255,255,255,.5), rgba(255,255,255,.5)) top 0 right 25% / 2px 18% no-repeat,
    /* area piccola sopra */
    linear-gradient(rgba(255,255,255,.5), rgba(255,255,255,.5)) top center / 22% 2px no-repeat,
    linear-gradient(rgba(255,255,255,.5), rgba(255,255,255,.5)) top 0 left 39% / 2px 8% no-repeat,
    linear-gradient(rgba(255,255,255,.5), rgba(255,255,255,.5)) top 0 right 39% / 2px 8% no-repeat,
    /* area rigore sotto */
    linear-gradient(rgba(255,255,255,.5), rgba(255,255,255,.5)) bottom center / 50% 2px no-repeat,
    linear-gradient(rgba(255,255,255,.5), rgba(255,255,255,.5)) bottom 0 left 25% / 2px 18% no-repeat,
    linear-gradient(rgba(255,255,255,.5), rgba(255,255,255,.5)) bottom 0 right 25% / 2px 18% no-repeat,
    /* area piccola sotto */
    linear-gradient(rgba(255,255,255,.5), rgba(255,255,255,.5)) bottom center / 22% 2px no-repeat,
    linear-gradient(rgba(255,255,255,.5), rgba(255,255,255,.5)) bottom 0 left 39% / 2px 8% no-repeat,
    linear-gradient(rgba(255,255,255,.5), rgba(255,255,255,.5)) bottom 0 right 39% / 2px 8% no-repeat,
    /* dischetto metà campo */
    radial-gradient(circle at 50% 50%, rgba(255,255,255,.75) 0 2px, transparent 3px);
}

.pitch::after {
  content: "";
  position: absolute;
  inset: 22px;
  pointer-events: none;
  background:
    /* dischetti rigore */
    radial-gradient(circle at 50% 12%, rgba(255,255,255,.75) 0 2px, transparent 3px),
    radial-gradient(circle at 50% 88%, rgba(255,255,255,.75) 0 2px, transparent 3px),
    /* archi area di rigore */
    radial-gradient(circle at 50% 12%, transparent 0 61px, rgba(255,255,255,.42) 62px 64px, transparent 65px),
    radial-gradient(circle at 50% 88%, transparent 0 61px, rgba(255,255,255,.42) 62px 64px, transparent 65px),
    /* archi d'angolo */
    radial-gradient(circle at top left, transparent 0 11px, rgba(255,255,255,.42) 12px 13px, transparent 14px),
    radial-gradient(circle at top right, transparent 0 11px, rgba(255,255,255,.42) 12px 13px, transparent 14px),
    radial-gradient(circle at bottom left, transparent 0 11px, rgba(255,255,255,.42) 12px 13px, transparent 14px),
    radial-gradient(circle at bottom right, transparent 0 11px, rgba(255,255,255,.42) 12px 13px, transparent 14px);
}

.player-dot {
  width: 118px;
}

.player-name {
  display: block;
  max-width: 118px;
  min-width: 76px;
  margin: 0 auto;
  white-space: normal;
  overflow: visible;
  text-overflow: clip;
  line-height: 1.15;
  text-wrap: balance;
  font-size: 10px;
  padding: 4px 7px;
  border-radius: 7px;
  box-shadow: 0 3px 8px rgba(0,0,0,.25);
}

@media (max-width: 900px) {
  .player-dot {
    width: 104px;
  }

  .player-name {
    max-width: 104px;
    min-width: 70px;
    font-size: 9px;
  }
}

@media (max-width: 600px) {
  .pitch::before,
  .pitch::after {
    inset: 16px;
  }

  .player-dot {
    width: 84px;
  }

  .player-name {
    max-width: 84px;
    min-width: 64px;
    font-size: 8px;
    padding: 3px 5px;
  }
}

/* Porte viste dall'alto e ombra morbida sotto le maglie */
.pitch-goal {
  width: 23%;
  height: 20px;
  position: absolute;
  left: 50%;
  z-index: 2;
  transform: translateX(-50%);
  border-right: 2px solid rgba(255,255,255,.78);
  border-left: 2px solid rgba(255,255,255,.78);
  pointer-events: none;
  background:
    repeating-linear-gradient(90deg, rgba(255,255,255,.22) 0 1px, transparent 1px 8px),
    repeating-linear-gradient(180deg, rgba(255,255,255,.2) 0 1px, transparent 1px 7px),
    rgba(255,255,255,.025);
  filter: drop-shadow(0 3px 3px rgba(0,0,0,.28));
}

.pitch-goal-top {
  top: 22px;
  border-top: 2px solid rgba(255,255,255,.78);
}

.pitch-goal-bottom {
  bottom: 22px;
  border-bottom: 2px solid rgba(255,255,255,.78);
}

.player-dot {
  z-index: 4;
}

.player-dot::before {
  content: "";
  width: 44px;
  height: 12px;
  position: absolute;
  left: 50%;
  top: 31px;
  z-index: -1;
  transform: translateX(-50%);
  border-radius: 50%;
  background: rgba(0,0,0,.25);
  filter: blur(4px);
  pointer-events: none;
}

.player-shirt {
  position: relative;
  z-index: 1;
  filter:
    drop-shadow(0 4px 4px rgba(0,0,0,.26))
    drop-shadow(0 1px 0 rgba(255,255,255,.08));
}

@media (max-width: 600px) {
  .pitch-goal {
    width: 25%;
    height: 16px;
  }

  .pitch-goal-top {
    top: 16px;
  }

  .pitch-goal-bottom {
    bottom: 16px;
  }

  .player-dot::before {
    width: 38px;
    height: 10px;
    top: 27px;
  }
}

/* Rimuove i due cerchi completi vicino alle porte */
.pitch::after {
  background:
    radial-gradient(circle at 50% 12%, rgba(255,255,255,.75) 0 2px, transparent 3px),
    radial-gradient(circle at 50% 88%, rgba(255,255,255,.75) 0 2px, transparent 3px),
    radial-gradient(circle at top left, transparent 0 11px, rgba(255,255,255,.42) 12px 13px, transparent 14px),
    radial-gradient(circle at top right, transparent 0 11px, rgba(255,255,255,.42) 12px 13px, transparent 14px),
    radial-gradient(circle at bottom left, transparent 0 11px, rgba(255,255,255,.42) 12px 13px, transparent 14px),
    radial-gradient(circle at bottom right, transparent 0 11px, rgba(255,255,255,.42) 12px 13px, transparent 14px);
}


/* Statistiche aggiuntive: Capocannoniere e Coppa Italia */
.modal-stats {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.modal-stat .stat-yes {
  color: #5ee28a;
}

.modal-stat .stat-no {
  color: #f26b74;
}

@media (max-width: 900px) {
  .modal-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 360px) {
  .modal-stats {
    grid-template-columns: 1fr;
  }
}

/* Valutazione automatica della stagione */
.rating-breakdown {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.rating-breakdown > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-width: 0;
  padding: 9px 10px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255,255,255,.025);
}

.rating-breakdown span {
  color: var(--muted);
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: .05em;
}

.rating-breakdown strong {
  flex: 0 0 auto;
  font-family: "Barlow Condensed";
  font-size: 18px;
}

@media (max-width: 420px) {
  .rating-breakdown {
    grid-template-columns: 1fr;
  }
}

/* Classifica home: piazzamento + punti e Vittoria Coppa */
.ranking-head,
.ranking-row {
  grid-template-columns: 56px minmax(240px, 1.9fr) 1.05fr 1fr .95fr 42px;
}

.result-chip {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 1px;
  min-width: 0;
  width: fit-content;
  padding: 7px 10px;
  border-radius: 8px;
  background: rgba(255,255,255,.055);
  border: 1px solid var(--line);
  color: #d9e0db;
}

.result-chip strong {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 18px;
  line-height: 1;
}

.result-chip small {
  color: var(--muted);
  font-size: 9px;
  line-height: 1.1;
  text-transform: uppercase;
}

.cup-chip {
  display: inline-flex;
  width: fit-content;
  min-width: 48px;
  align-items: center;
  justify-content: center;
  padding: 7px 10px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.055);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.cup-chip.cup-yes {
  color: #5ee28a;
  border-color: rgba(94,226,138,.28);
  background: rgba(94,226,138,.06);
}

.cup-chip.cup-no {
  color: #f26b74;
  border-color: rgba(242,107,116,.22);
  background: rgba(242,107,116,.04);
}

@media (max-width: 900px) {
  .ranking-row {
    grid-template-columns: 38px minmax(0, 1fr) 38px;
    grid-template-areas:
      "rank team arrow"
      "result cup cup"
      "rating rating rating";
    gap: 12px 10px;
  }

  .ranking-row .rank-number { grid-area: rank; }
  .ranking-row .team-cell { grid-area: team; }
  .ranking-row .result-chip { grid-area: result; }
  .ranking-row .cup-chip { grid-area: cup; }
  .ranking-row .rating-cell { grid-area: rating; }
  .ranking-row .row-arrow { grid-area: arrow; }

  .ranking-row .result-chip,
  .ranking-row .cup-chip {
    width: 100%;
    min-height: 42px;
  }

  .ranking-row .result-chip::before {
    content: "Piazzamento";
    display: block;
    margin: 0 0 2px;
    color: #85807b;
    font-size: 8px;
    text-transform: uppercase;
    letter-spacing: .08em;
  }

  .ranking-row .cup-chip {
    position: relative;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    font-size: 13px;
  }

  .ranking-row .cup-chip::before {
    content: "Vittoria Coppa";
    display: block;
    color: #85807b;
    font-size: 8px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
  }

  .ranking-row .rating-cell {
    justify-self: end;
  }
}

@media (max-width: 520px) {
  .ranking-row {
    grid-template-columns: 38px minmax(0, 1fr) 34px;
    grid-template-areas:
      "rank team arrow"
      "result result result"
      "cup cup cup"
      "rating rating rating";
  }

  .ranking-row .result-chip,
  .ranking-row .cup-chip {
    width: 100%;
  }
}


/* =========================================================
   HOME MOBILE CLEANUP — 2026-09-03
   - Rimossa la statistica "Partite di campionato" via JS
   - Hero visual nascosta solo su smartphone
   ========================================================= */
@media (max-width: 900px) {
  .hero-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .hero-visual {
    display: none;
  }

  .hero {
    gap: 0;
    padding-bottom: 36px;
  }
}

@media (max-width: 380px) {
  .hero-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* =========================================================
   MODALE SQUADRA — MOBILE 100% RESPONSIVE — 2026-09-03
   Nessuno scroll orizzontale: campo, statistiche e rosa
   restano sempre dentro la larghezza dello smartphone.
   ========================================================= */
@media (max-width: 600px) {
  .modal,
  .modal-backdrop,
  .modal-panel,
  #modalContent {
    max-width: 100vw;
  }

  .modal-panel {
    width: 100%;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  #modalContent,
  .modal-hero,
  .modal-body,
  .modal-column,
  .panel,
  .panel-title,
  .modal-team-header,
  .modal-team-header > div,
  .modal-stats,
  .modal-stat,
  .squad-list,
  .squad-player,
  .rating-breakdown,
  .rating-breakdown > div,
  .review-score {
    min-width: 0;
    max-width: 100%;
  }

  #modalContent,
  .modal-body,
  .modal-column,
  .panel {
    width: 100%;
  }

  .modal-body {
    display: block;
    overflow-x: hidden;
  }

  .modal-column + .modal-column {
    margin-top: 10px;
  }

  .panel {
    overflow: hidden;
  }

  .panel-title {
    flex-wrap: wrap;
  }

  .panel-title h3 {
    flex: 1 1 180px;
    min-width: 0;
  }

  .panel-title span {
    flex: 0 1 auto;
    max-width: 100%;
  }

  /* Il campo prende SEMPRE la larghezza reale del pannello.
     Nessuna min-height che possa allargarlo tramite aspect-ratio. */
  .pitch {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    min-height: 0;
    height: auto;
    aspect-ratio: 3 / 4;
    margin-inline: auto;
    overflow: hidden;
  }

  /* Giocatori dimensionati per stare anche nei moduli più larghi
     (es. 5-3-2 con esterni al 12% / 88%). */
  .player-dot {
    width: min(68px, 21vw);
  }

  .player-shirt {
    width: 32px;
    height: 32px;
    font-size: 11px;
  }

  .player-name {
    width: auto;
    min-width: 0;
    max-width: min(68px, 21vw);
    padding: 3px 4px;
    font-size: clamp(7px, 2.15vw, 8px);
    line-height: 1.1;
    overflow-wrap: anywhere;
  }

  .player-dot::before {
    width: 34px;
    top: 25px;
  }

  /* Statistiche: due colonne elastiche, mai più larghe del pannello. */
  .modal-stats {
    width: 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
  }

  .modal-stat {
    width: 100%;
    padding: 11px 9px;
    overflow: hidden;
  }

  .modal-stat span,
  .modal-stat strong {
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  /* Rosa completa e dettaglio voto: nessuna larghezza intrinseca. */
  .squad-list {
    width: 100%;
    grid-template-columns: 1fr;
  }

  .squad-player {
    width: 100%;
  }

  .squad-player div {
    min-width: 0;
    flex: 1 1 auto;
  }

  .rating-breakdown {
    width: 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .rating-breakdown > div {
    width: 100%;
  }

  .rating-breakdown span {
    min-width: 0;
    overflow-wrap: anywhere;
  }

  .review-score {
    flex-wrap: wrap;
  }

  .review-score > div {
    min-width: 0;
    flex: 1 1 160px;
  }

  .video-link,
  .result-chip {
    max-width: 100%;
  }
}

@media (max-width: 420px) {
  .rating-breakdown {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 360px) {
  .modal-body {
    padding-inline: 8px;
  }

  .panel {
    padding-inline: 10px;
  }

  .player-dot {
    width: 60px;
  }

  .player-name {
    max-width: 60px;
    font-size: 7px;
  }

  .player-shirt {
    width: 29px;
    height: 29px;
    font-size: 10px;
  }

  .modal-stats {
    gap: 6px;
  }
}
