body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  margin: 0;
  background: radial-gradient(circle at top, #020617 0, #020617 40%, #030712 70%, #020617 100%);
  color: #e5e7eb;
  line-height: 1.45;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

/* Base typography */
h1, h2, h3 {
  margin: 0 0 10px;
  letter-spacing: -0.01em;
}

p {
  margin: 0 0 10px;
}

.muted {
  color: #9ca3af;
}

/* Page header blocks (replace inline styles) */
.page-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
}

.page-title {
  margin: 0 0 4px;
  font-size: 18px;
  font-weight: 650;
}

.page-subtitle {
  margin: 0;
  font-size: 13px;
  color: #9ca3af;
}

a {
  color: #38bdf8;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

header {
  padding: 14px 22px;
  background: rgba(2, 6, 23, 0.96);
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid #020617;
  backdrop-filter: blur(10px);
}

main {
  padding: 24px;
  max-width: 1120px;
  margin: 0 auto;
}

.main-wide {
  max-width: 1400px;
}

.actions-row {
  display: flex;
  gap: 10px;
  align-items: center;
  margin: 10px 0 14px;
  flex-wrap: wrap;
}

.actions-row .hint {
  font-size: 12px;
  color: #9ca3af;
}

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

.badge {
  min-width: 32px;
  height: 32px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 0%, #22c55e, #16a34a 60%, #065f46 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  color: #ecfdf5;
  box-shadow: 0 0 25px rgba(34, 197, 94, 0.55);
}

.brand-text .title {
  font-size: 18px;
  font-weight: 600;
}

.brand-text .subtitle {
  font-size: 12px;
  color: #9ca3af;
}

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

nav .nav-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid transparent;
  color: #cbd5e1;
  white-space: nowrap;
}

nav .nav-link:hover {
  border-color: #1f2937;
  background: #020617;
  color: #e5e7eb;
}

nav .nav-link.active {
  background: #22c55e;
  color: #022c22;
  border-color: #16a34a;
  box-shadow: 0 0 18px rgba(34, 197, 94, 0.5);
}

.btn {
  display: inline-block;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  border: 1px solid transparent;
  cursor: pointer;
}

.btn:disabled,
.btn.disabled {
  opacity: 0.55;
  cursor: not-allowed;
  pointer-events: none;
}

.btn-primary {
  background: #22c55e;
  color: #022c22;
  border-color: #16a34a;
}

.btn-primary:hover {
  background: #16a34a;
}

.btn-danger {
  background: #ef4444;
  color: #fef2f2;
  border-color: #b91c1c;
}

.btn-danger:hover {
  background: #b91c1c;
}

.btn-ghost {
  background: transparent;
  color: #e5e7eb;
  border-color: #4b5563;
}

.btn-ghost:hover {
  background: #111827;
}

.card {
  background: #020617;
  border-radius: 16px;
  padding: 18px 20px;
  border: 1px solid #111827;
  box-shadow: 0 18px 38px rgba(15, 23, 42, 0.85);
}

/* Forms */
.form {
  display: grid;
  gap: 14px;
}

.row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  align-items: start;
}

@media (max-width: 900px) {
  .row {
    grid-template-columns: 1fr;
  }
}

.field {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.field label {
  font-size: 12px;
  color: #cbd5e1;
  font-weight: 600;
}

/* Touch-friendly position selector (checkbox chips) */
.pos-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

@media (max-width: 600px) {
  .pos-grid {
    grid-template-columns: 1fr;
  }
}

.pos-pill {
  display: block;
}

.pos-pill input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.pos-pill__text {
  display: block;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid #1f2937;
  background: #0b1220;
  color: #e5e7eb;
  font-size: 13px;
}

.pos-pill input:checked + .pos-pill__text {
  background: #14532d;
  border-color: #22c55e;
  color: #bbf7d0;
}

.pos-pill input:focus + .pos-pill__text {
  outline: 2px solid rgba(56, 189, 248, 0.55);
  outline-offset: 2px;
}

.field input[type="text"],
.field input[type="number"],
.field input[type="file"],
.field select,
.field textarea {
  width: 100%;
  padding: 10px 12px;
  font-size: 14px;
  color: #e5e7eb;
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid #1f2937;
  border-radius: 12px;
  outline: none;
}

.field input[type="file"] {
  padding: 9px 10px;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: rgba(56, 189, 248, 0.75);
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.18);
}

.field small {
  font-size: 12px;
  color: #94a3b8;
  line-height: 1.35;
}

.actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  align-items: center;
  margin-top: 6px;
  flex-wrap: wrap;
}

.photo-preview {
  width: 96px;
  height: 96px;
  border-radius: 14px;
  border: 1px dashed #374151;
  display: grid;
  place-items: center;
  font-size: 12px;
  color: #6b7280;
  overflow: hidden;
  background: rgba(2, 6, 23, 0.5);
}

.photo-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.photo-preview.sm {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  font-size: 11px;
}

.table-note {
  font-size: 11px;
  color: #9ca3af;
}

.w-actions {
  width: 150px;
}

.bench-name {
  font-weight: 500;
}

.bench-meta {
  font-size: 11px;
  color: #9ca3af;
}

.bench-ovr {
  font-size: 13px;
  font-weight: 600;
}

/* Print header for lineup */
.print-title {
  display: none;
}

/* PNG/Screen capture: başlığı görünür yap */
.capture-mode .print-title {
  display: block;
  margin-bottom: 10px;
}

.print-title__main {
  font-weight: 850;
  letter-spacing: -0.02em;
}

.print-title__sub {
  margin-top: 2px;
  font-size: 12px;
  color: #9ca3af;
}

.flash {
  padding: 10px 14px;
  border-radius: 10px;
  margin-bottom: 16px;
  font-size: 13px;
}

.flash-success {
  background: #022c22;
  color: #bbf7d0;
  border: 1px solid #16a34a;
}

.flash-error {
  background: #450a0a;
  color: #fecaca;
  border: 1px solid #b91c1c;
}

.table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 16px;
  background: #020617;
  border-radius: 12px;
  overflow: hidden;
}

.table th,
.table td {
  padding: 10px 12px;
  font-size: 13px;
  border-bottom: 1px solid #111827;
  text-align: left;
}

.photo-cell img {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  object-fit: cover;
  border: 1px solid #1f2937;
  background: #020617;
  display: block;
}

.table th {
  background: #020617;
  color: #9ca3af;
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 0.06em;
}

.table tr:nth-child(even),
.table tr:nth-child(odd) {
  background: #020617;
}

.table tr:hover {
  background: #030712;
}

.tag {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 11px;
  background: #1e293b;
  color: #e5e7eb;
}

.tag-gk {
  background: #f97316;
  color: #111827;
}

.tag-def {
  background: #38bdf8;
  color: #0f172a;
}

.tag-mid {
  background: #22c55e;
  color: #022c22;
}

.player-photo {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 10px;
  background: #020617;
  border: 1px solid #1f2937;
}

.overall-pill {
  font-variant-numeric: tabular-nums;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 12px;
  background: #0f172a;
  color: #e5e7eb;
  border: 1px solid #1f2937;
}

.overall-pill.strong {
  background: #14532d;
  border-color: #22c55e;
  color: #bbf7d0;
}

.empty {
  padding: 24px;
  text-align: center;
  color: #6b7280;
  font-size: 14px;
}

.grid-two {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 20px;
  align-items: flex-start;
}

/* 7v7 karşılıklı stat/pitch */
.stadium {
  background: radial-gradient(circle at 50% 10%, rgba(148, 163, 184, 0.18), rgba(2, 6, 23, 0.2) 55%, rgba(2, 6, 23, 0.55));
  border: 1px solid #111827;
  border-radius: 18px;
  padding: clamp(12px, 2.2vw, 18px) clamp(10px, 2vw, 16px) clamp(14px, 2.6vw, 22px);
}

/* PNG capture için 3D transform bazı tarayıcılarda kırpma yapabiliyor */
.capture-mode .pitch-3d {
  transform: none !important;
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.35);
}

.pitch-3d {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4; /* görseldeki gibi dik saha */
  border-radius: 18px;
  transform: perspective(1000px) rotateX(18deg);
  transform-origin: center;
  box-shadow: 0 35px 70px rgba(0, 0, 0, 0.55);
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.10), rgba(255, 255, 255, 0) 35%),
    repeating-linear-gradient(
      to bottom,
      #1a8f46 0,
      #1a8f46 22px,
      #177f3e 22px,
      #177f3e 44px
    );
  border: 1px solid rgba(226, 232, 240, 0.35);
}

.pitch-3d * {
  box-sizing: border-box;
}

.pitch-3d {
  /* daha az çakışma için kartlar biraz küçültüldü */
  /* IMPORTANT: kartlar sığmazsa kaleci/üst sıra kırpılır (overflow:hidden) */
  --card-w: clamp(58px, 9.8vw, 112px);
  --face: clamp(40px, 7vw, 70px);
  --face-border: clamp(2px, 0.5vw, 4px);
  --name-size: clamp(8.5px, 1vw, 11.5px);
  --meta-size: clamp(8.5px, 0.9vw, 10.5px);
  /* orta çizgi etrafında iki takımın asla çakışmaması için güvenli boşluk */
  --center-gap: clamp(52px, 6vw, 110px);
}

.pitch-lines {
  pointer-events: none;
  position: absolute;
  inset: 12px;
  border: 2px solid rgba(226, 232, 240, 0.75);
  border-radius: 14px;
}

.pitch-lines::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    /* orta çizgi */
    linear-gradient(to bottom, rgba(226, 232, 240, 0.9), rgba(226, 232, 240, 0.9)) 50% 0 / 3px 100% no-repeat,
    /* orta yuvarlak */
    radial-gradient(circle at 50% 50%, transparent 0 42px, rgba(226, 232, 240, 0.75) 42px 44px, transparent 44px),
    /* üst ceza sahası */
    linear-gradient(to bottom, rgba(226, 232, 240, 0.75), rgba(226, 232, 240, 0.75)) 50% 0 / 60% 2px no-repeat,
    linear-gradient(to right, rgba(226, 232, 240, 0.75), rgba(226, 232, 240, 0.75)) 20% 0 / 2px 16% no-repeat,
    linear-gradient(to right, rgba(226, 232, 240, 0.75), rgba(226, 232, 240, 0.75)) 80% 0 / 2px 16% no-repeat,
    /* alt ceza sahası */
    linear-gradient(to bottom, rgba(226, 232, 240, 0.75), rgba(226, 232, 240, 0.75)) 50% 100% / 60% 2px no-repeat,
    linear-gradient(to right, rgba(226, 232, 240, 0.75), rgba(226, 232, 240, 0.75)) 20% 84% / 2px 16% no-repeat,
    linear-gradient(to right, rgba(226, 232, 240, 0.75), rgba(226, 232, 240, 0.75)) 80% 84% / 2px 16% no-repeat;
}

.pitch-lines::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  top: 50%;
  height: var(--center-gap);
  transform: translateY(-50%);
  background: rgba(2, 6, 23, 0.18);
  border-top: 1px solid rgba(226, 232, 240, 0.25);
  border-bottom: 1px solid rgba(226, 232, 240, 0.25);
}

/* Grid-based formation: overlap-free */
.formation {
  position: absolute;
  left: 12px;
  right: 12px;
  display: grid;
  gap: clamp(8px, 1.2vw, 14px);
  justify-items: center;
  pointer-events: none; /* cards won't affect drag etc */
}

.formation-top {
  top: 12px;
  /* NOTE: Avoid division in calc() for broad browser support */
  bottom: calc(50% - (var(--center-gap) * 0.5));
  grid-template-rows: 1.1fr 1fr 1fr 1.1fr;
}

.formation-bottom {
  bottom: 12px;
  /* NOTE: Avoid division in calc() for broad browser support */
  top: calc(50% + (var(--center-gap) * 0.5));
  grid-template-rows: 1.1fr 1fr 1fr 1.1fr;
}

.formation-row {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: center;
  justify-items: center;
  gap: clamp(8px, 1vw, 14px);
}

/* Forvet satırları artık center-gap ile fiziksel olarak ayrılıyor */

.cell {
  width: 100%;
  display: flex;
  justify-content: center;
}

.cell.span-3 {
  grid-column: 1 / -1;
}

.empty-cell {
  visibility: hidden;
}

.player-card {
  pointer-events: auto;
  width: var(--card-w);
  display: grid;
  grid-template-rows: auto auto;
  gap: 3px;
  text-align: center;
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.35));
}

.player-face {
  width: var(--face);
  height: var(--face);
  margin: 0 auto;
  border-radius: 999px;
  overflow: hidden;
  border: var(--face-border) solid rgba(255, 255, 255, 0.9);
  background: rgba(15, 23, 42, 0.7);
}

.player-card.team-a .player-face {
  border-color: rgba(34, 197, 94, 0.95);
}

.player-card.team-b .player-face {
  border-color: rgba(56, 189, 248, 0.95);
}

.player-card.team-a .player-label {
  box-shadow:
    inset 0 -3px 0 rgba(34, 197, 94, 0.55),
    0 10px 18px rgba(15, 23, 42, 0.18);
}

.player-card.team-b .player-label {
  box-shadow:
    inset 0 -3px 0 rgba(56, 189, 248, 0.55),
    0 10px 18px rgba(15, 23, 42, 0.18);
}

.player-face img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.player-initials {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: clamp(16px, 2.2vw, 22px);
  color: rgba(226, 232, 240, 0.9);
  background: radial-gradient(circle at 30% 20%, rgba(56, 189, 248, 0.25), rgba(2, 6, 23, 0.6));
}

.player-label {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.985), rgba(255, 255, 255, 0.94));
  color: #0f172a;
  border-radius: 8px;
  padding: 4px 7px 5px;
  position: relative;
  border: 1px solid rgba(15, 23, 42, 0.18);
}

.captain-badge {
  position: absolute;
  top: -10px;
  right: -8px;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-weight: 900;
  font-size: 12px;
  color: #0b1220;
  background: #fbbf24; /* amber */
  border: 2px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 10px 18px rgba(0,0,0,0.25);
}

.captain-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: #fbbf24;
  color: #0b1220;
  font-weight: 900;
  font-size: 11px;
  margin-right: 6px;
}

.player-label::after {
  content: "";
  position: absolute;
  left: 50%;
  top: -7px;
  width: 14px;
  height: 14px;
  background: rgba(255, 255, 255, 0.92);
  transform: translateX(-50%) rotate(45deg);
  border-left: 1px solid rgba(15, 23, 42, 0.14);
  border-top: 1px solid rgba(15, 23, 42, 0.14);
}

.player-name {
  font-weight: 800;
  font-size: var(--name-size);
  letter-spacing: 0.01em;
  text-transform: none;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.12;
  max-height: calc(var(--name-size) * 2.35);
  color: #0b1220;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.85);
}

.player-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: var(--meta-size);
  margin-top: 3px;
  color: rgba(15, 23, 42, 0.82);
}

.player-meta .ovr {
  font-weight: 800;
  color: #0b1220;
  font-size: calc(var(--meta-size) + 1px);
}

.player-card.team-a .player-label {
  box-shadow:
    inset 0 -3px 0 rgba(34, 197, 94, 0.45),
    0 10px 18px rgba(15, 23, 42, 0.18);
}

.player-card.team-b .player-label {
  box-shadow:
    inset 0 -3px 0 rgba(56, 189, 248, 0.45),
    0 10px 18px rgba(15, 23, 42, 0.18);
}

.line {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin: 8px 0;
}

.player-chip {
  min-width: 120px;
  max-width: 150px;
  border-radius: 999px;
  padding: 4px 8px;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.6);
  font-size: 11px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #e5e7eb;
  backdrop-filter: blur(4px);
}

.player-chip span.name {
  font-weight: 500;
  margin-right: 4px;
}

.player-chip span.meta {
  font-size: 10px;
  color: #9ca3af;
}

.player-chip strong {
  font-size: 11px;
}

/* Freeform lineup (N vs N) */
.pitch-3d.freeform {
  transform: none;
  aspect-ratio: 3 / 4;
}

.freeform-wrap {
  position: absolute;
  inset: 14px;
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 10px;
  z-index: 2;
}

.freeform-team {
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
}

.freeform-team__label {
  font-size: 12px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.9);
  text-shadow: 0 2px 10px rgba(0,0,0,0.25);
}

.freeform-wrap .line {
  margin: 6px 0;
  flex-wrap: wrap;
}

.bench-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 8px;
}

.bench-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 5px 8px;
  border-radius: 10px;
  background: #020617;
  border: 1px solid #111827;
  font-size: 12px;
}

.table-wrapper {
  width: 100%;
  overflow-x: auto;
}

@media (max-width: 1100px) {
  header {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  nav {
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  main {
    padding: 16px;
  }

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

  .card {
    padding: 16px;
  }

  .pitch-3d {
    transform: none;
    aspect-ratio: 3 / 4;
  }

  .formation {
    left: 10px;
    right: 10px;
  }
}

@media (max-width: 600px) {
  .brand-text .title {
    font-size: 16px;
  }

  .brand-text .subtitle {
    font-size: 11px;
  }

  .table th,
  .table td {
    font-size: 12px;
    padding: 8px 10px;
  }

  .btn {
    padding: 7px 12px;
    font-size: 13px;
  }

  /* Mobilde menüler daha okunur + dokunması kolay */
  nav {
    gap: 8px;
  }

  nav .nav-link {
    padding: 10px 12px;
    font-size: 14px;
    color: #e5e7eb;
    background: rgba(2, 6, 23, 0.35);
    border-color: rgba(148, 163, 184, 0.18);
  }

  /* Mobilde isim okunurluğu */
  .pitch-3d {
    /* Mobilde saha dikey alanı: üst üste binmeyi engelle */
    height: min(74vh, 720px);
    aspect-ratio: auto;

    /* Mobilde saha taşmasını önlemek için kartları küçült */
    --card-w: clamp(48px, 18vw, 74px);
    --face: clamp(30px, 12vw, 44px);
    --name-size: 9.5px;
    --meta-size: 8.5px;
    --center-gap: clamp(58px, 14vw, 96px);
  }

  .pitch-lines {
    inset: 10px;
  }

  .formation {
    left: 8px;
    right: 8px;
    gap: 6px;
  }

  .formation-row {
    gap: 6px;
  }

  .player-label {
    background: rgba(255, 255, 255, 0.98);
    padding: 5px 6px 6px;
  }

  .player-name {
    font-weight: 900;
    color: #0b1220;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.9), 0 2px 10px rgba(0, 0, 0, 0.06);
    -webkit-line-clamp: 1;
    line-clamp: 1;
    max-height: none;
  }

  /* Mobilde meta'yı sadeleştir */
  .player-meta .pos {
    display: none;
  }
}

/* PRINT / PDF: tek sayfaya sığdır */
@media print {
  /* Tarayıcılarda arkaplan renk/gradient basımı için */
  * {
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
  }
  @page {
    size: A4 portrait;
    margin: 8mm;
  }

  /* Sadece saha alanını bas: */
  body {
    background: #fff !important;
    color: #000 !important;
  }

  body * {
    visibility: hidden !important;
  }

  .print-scope,
  .print-scope * {
    visibility: visible !important;
  }

  .print-scope {
    position: fixed;
    left: 8mm;
    top: 8mm;
    width: 194mm; /* A4 genişlik 210mm - 16mm margin */
    padding: 0 !important;
    margin: 0 !important;
    border: none !important;
    background: transparent !important;
  }

  .print-title {
    display: block !important;
    margin: 0 0 6mm 0;
    color: #000 !important;
  }

  .print-title__main {
    font-size: 18px;
  }

  .print-title__sub {
    font-size: 12px;
    color: rgba(0, 0, 0, 0.7) !important;
  }

  .pitch-3d {
    transform: none !important;
    box-shadow: none !important;
    width: 188mm !important;  /* güvenli alan */
    height: 244mm !important; /* başlık için üstte yer bırak */
    aspect-ratio: auto !important;
    /* Yeşil saha arkaplanını print'te de zorla */
    background:
      radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.10), rgba(255, 255, 255, 0) 35%),
      repeating-linear-gradient(
        to bottom,
        #1a8f46 0,
        #1a8f46 22px,
        #177f3e 22px,
        #177f3e 44px
      ) !important;
    --card-w: 90px;
    --face: 50px;
    --face-border: 3px;
    --name-size: 10.5px;
    --meta-size: 10px;
    --center-gap: 110px;
  }

  .pitch-lines {
    border-color: rgba(0, 0, 0, 0.45) !important;
  }

  .pitch-lines::after {
    background: rgba(0, 0, 0, 0.06) !important;
  }

  .player-label {
    background: #fff !important;
    border-color: rgba(0, 0, 0, 0.25) !important;
  }

  .player-name {
    -webkit-line-clamp: 1;
    line-clamp: 1;
  }

  .print-hide,
  header,
  nav,
  .actions-row {
    display: none !important;
  }
}


